]> git.ipfire.org Git - thirdparty/glibc.git/blame_incremental - ChangeLog
PowerPC: Add fenv macros for long double
[thirdparty/glibc.git] / ChangeLog
... / ...
CommitLineData
12014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2
3 * sysdeps/powerpc/fpu/fenv_private.h
4 (libc_feholdexcept_setroundl_ctx): Define to
5 libc_feholdexcept_setround_ppc_ctx.
6 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
7 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
8 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
9 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
10
112014-04-17 Ian Bolton <ian.bolton@arm.com>
12
13 * sysdeps/aarch64/math-tests.h: New file.
14
152014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
16
17 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
18 New.
19 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20 Check and set bit_AVX2_Usable.
21 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
22 macro.
23 (bit_AVX2): Likewise.
24 (index_AVX2_Usable): Likewise.
25 (CPUID_AVX2): Likewise.
26 (HAS_AVX2): Likewise.
27
282014-04-17 Will Newton <will.newton@linaro.org>
29
30 * manual/setjmp.texi (System V contexts): Add note that
31 calling setcontext on a context created by a call to a
32 signal handler is undefined. Update text to note that
33 setcontext from a signal handler is possible but not
34 recommended.
35
36 [BZ #16629]
37 * stdlib/tst-setcontext.c: Include signal.h.
38 (main): Check that the signal stack before and
39 after swapcontext is the same.
40
41 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
42 Re-implement to restore registers in user code and avoid
43 rt_sigreturn system call.
44
452014-04-17 Wilco <wdijkstr@arm.com>
46
47 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
48 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
49 * math/test-fenv.c: Skip exception trap tests on targets which only
50 support non-stop mode.
51
522014-04-17 Ian Bolton <ian.bolton@arm.com>
53 Wilco Dijkstra <wilco.dijkstra@arm.com>
54
55 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
56 (libc_feholdsetround_aarch64_ctx)
57 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
58 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
59 (libc_feresetround_ctx, libc_feresetroundf_ctx)
60 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
61 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
62 (libc_feresetround_noexl_ctx): Define.
63
642014-04-16 Richard Henderson <rth@redhat.com>
65
66 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
67
68 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
69 unwind tables.
70
71 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
72 const from the non-libc, non-ldso copy.
73
74 * sysdeps/alpha/libm-test-ulps: Regenerate.
75
762014-04-16 Ian Bolton <ian.bolton@arm.com>
77 Wilco Dijkstra <wilco.dijkstra@arm.com>
78
79 * sysdeps/aarch64/fpu/math_private.h: New file.
80
812014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
82
83 * sysdeps/aarch64/libm-test-ulps: Regenerate.
84
852014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
86
87 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
88 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
89 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
90 Intel MPX bound registers before _dl_profile_fixup.
91 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
92 registers after _dl_profile_fixup. Save and restore bound
93 registers bnd0/bnd1 when calling _dl_call_pltexit.
94 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
95 (LR_BND_OFFSET): Likewise.
96 (LRV_BND0_OFFSET): Likewise.
97 (LRV_BND1_OFFSET): Likewise.
98
992014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
100
101 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
102 to...
103 * sysdeps/mach/hurd/i386/tls.h: ... here.
104 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
105 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
106 fields.
107
1082014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
109
110 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
111
1122014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
113
114 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
115
1162014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
117
118 [BZ #14770]
119 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
120 * sysdeps/s390/configure: Regenerate.
121
1222014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
123
124 [BZ #16824]
125 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
126 Set round-to-nearest internally to reduce error accumulation.
127
1282014-04-16 Alan Modra <amodra@gmail.com>
129
130 [BZ #16740]
131 [BZ #16619]
132 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
133 * math/libm-test.inc (frexp_test_data): Add tests.
134 * NEWS: Update fixed bug list.
135
1362014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
137
138 * benchtests/Makefile: Depend on libraries in build directory.
139 (bench-math): Separate out math tests.
140 (bench-pthread): Separate out pthread tests.
141 (bench): Include math and pthread tests.
142
1432014-04-14 Carlos O'Donell <carlos@redhat.com>
144
145 [BZ #16831]
146 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
147 _dl_debug_initialize.
148
1492014-04-14 Carlos O'Donell <carlos@redhat.com>
150
151 * configure.ac: Remove SELinux header check.
152 * configure: Regenerate.
153 * nscd/selinux.c (perms): Array of const char* to permission names.
154 (nscd_request_avc_has_perm): Call security_deny_unknown to find
155 default policy. Call string_to_security_class and string_to_av_perm to
156 translate strings. Enforce default policy and call avs_has_perm with
157 results of translated strings.
158
1592014-04-13 David S. Miller <davem@davemloft.net>
160
161 * sysdeps/sparc/fpu/libm-test-ulps: Update.
162
1632014-04-12 Allan McRae <allan@archlinux.org>
164
165 [BZ #16838]
166 * manual/string.texi (Collation Functions): Fix qsort argument
167 order in example.
168 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
169
1702014-04-11 Chris Metcalf <cmetcalf@tilera.com>
171
172 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
173 Make the test a no-op if there are no exceptions defined.
174
1752014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
176
177 * elf/Makefile (tests): make tst-dlopen-aout conditional on
178 enable-hardcoded-path-in-tests
179
1802014-04-11 Will Newton <will.newton@linaro.org>
181
182 * benchtests/Makefile (extra-objs): Add json-lib.o.
183 (bench-func): Tidy up JSON output.
184 * benchtests/bench-skeleton.c: Include json-lib.h.
185 (main): Use JSON library functions to do output of
186 benchmark results.
187 * benchtests/bench-timing-type.c (main): Output the
188 timing type simply, leaving formatting to the user.
189 * benchtests/json-lib.c: New file.
190 * benchtests/json-lib.h: Likewise.
191
1922014-04-11 Torvald Riegel <triegel@redhat.com>
193
194 [BZ #15215]
195 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
196 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
197 memory barriers. Add comments.
198 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
199 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
200 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
201 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
202 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
203 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
204
2052014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
206
207 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
208 * sysdeps/s390/s390-64/configure.ac: ... this ...
209 * sysdeps/s390/configure.ac: ... to here.
210 * sysdeps/s390/s390-32/configure: Delete file.
211 * sysdeps/s390/s390-64/configure: Delete file.
212 * sysdeps/s390/configure: Regenerate.
213
2142014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
215
216 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
217
2182014-04-11 Will Newton <will.newton@linaro.org>
219
220 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
221 to zero if it is not defined elsewhere. (mtrim): Test
222 the value of MALLOC_DEBUG with #if rather than #ifdef.
223
2242014-04-10 Torvald Riegel <triegel@redhat.com>
225
226 * benchtests/pthread_once-inputs: New file.
227 * benchtests/pthread_once-source.c: New file.
228 * benchtests/README: Update documentation.
229
2302014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
231 H.J. Lu <hongjiu.lu@intel.com>
232
233 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
234 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
235 * sysdeps/x86_64/configure: Regenerated.
236 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
237 macro.
238 (REGISTER_SAVE_RAX): Likewise.
239 (REGISTER_SAVE_RCX): Likewise.
240 (REGISTER_SAVE_RDX): Likewise.
241 (REGISTER_SAVE_RSI): Likewise.
242 (REGISTER_SAVE_RDI): Likewise.
243 (REGISTER_SAVE_R8): Likewise.
244 (REGISTER_SAVE_R9): Likewise.
245 (REGISTER_SAVE_BND0): Likewise.
246 (REGISTER_SAVE_BND1): Likewise.
247 (REGISTER_SAVE_BND2): Likewise.
248 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
249 bound registers when calling _dl_fixup.
250
2512014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
252
253 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
254 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead of its
255 definition.
256 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
257 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
258 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
259 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
260 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
261 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
262 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
263
2642014-04-09 Peter Brett <peter@peter-b.co.uk>
265
266 [BZ #15514]
267 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
268 pathconf(_PC_NAME_MAX).
269
2702014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
271
272 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
273 Remove macro usage.
274 (__PTHREAD_SPINS): Move definition to ...
275 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
276 (__PTHREAD_SPINS): ... here.
277 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
278 (__PTHREAD_SPIN): Likewise.
279 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
280 (__PTHREAD_SPIN): Likewise.
281 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
282 (__PTHREAD_SPIN): Likewise.
283 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
284 (__PTHREAD_SPIN): Likewise.
285 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
286 (__PTHREAD_SPIN): Likewise.
287 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
288 (__PTHREAD_SPIN): Likewise.
289 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
290 (__PTHREAD_SPIN): Likewise.
291 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
292 (__PTHREAD_SPIN): Likewise.
293 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
294 (__PTHREAD_SPIN): Likewise.
295 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
296 (__PTHREAD_SPIN): Likewise.
297 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
298 (__PTHREAD_SPIN): Likewise.
299 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
300 (__PTHREAD_SPIN): Likewise.
301
3022014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
303
304 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
305 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
306 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
307 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
308 imply folder.
309 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
310 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
311 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
312 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
313 correct imply path.
314 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
315 strlen symbol for non multi-arch builds.
316 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
317 missing hidden_def and weak_alias.
318
3192014-04-08 Carlos O'Donell <carlos@redhat.com>
320
321 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
322
3232014-04-07 Will Newton <will.newton@linaro.org>
324
325 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
326 and contents. [!_LIBC] Remove #ifndef and contents.
327 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
328 * string/memccpy.c (__memccpy): Use ANSI prototype.
329 * string/memfrob.c (memfrob): Likewise.
330 * string/strcoll.c (STRCOLL): Likewise.
331 * string/strlen.c (strlen): Likewise.
332 * string/strtok.c (STRTOK): Likewise.
333 * string/strcat.c: Remove unused #include of memcopy.h.
334 (strcat): Use ANSI prototype.
335 * string/strchr.c: Remove unused #include of memcopy.h.
336 (strchr): Use ANSI prototype.
337 * string/strcmp.c: Remove unused #include of memcopy.h.
338 (strcmp): Use ANSI prototype.
339 * string/strcpy.c: Remove unused #include of memcopy.h.
340 (strcpy): Use ANSI prototype.
341
3422014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
343
344 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
345 * config.make.in (config-extra-cppflags): Set it from
346 libc_extra_cppflags.
347 * configure.ac (libc_extra_cflags): Make it accumulate over
348 configure fragments.
349 (libc_extra_cppflags): New flag.
350 * configure. Regenerate.
351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
352 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does not set
353 _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
355
3562014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
357
358 [BZ #16815]
359 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
360 result for FE_DOWNWARD rounding mode.
361 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
362 Likewise.
363 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
364
3652014-04-04 Chris Metcalf <cmetcalf@tilera.com>
366
367 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
368 in function argument name.
369
3702014-04-03 David Svoboda <svoboda@cert.org>
371
372 [BZ #5666]
373 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
374 explicitly.
375
3762014-04-03 Roland McGrath <roland@hack.frob.com>
377
378 * elf/dl-unmap-segments.h: New file.
379 * sysdeps/generic/ldsodefs.h
380 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
381 * elf/dl-close.c: Include <dl-unmap-segments.h>.
382 * elf/dl-fptr.c: Likewise.
383 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
384 * sysdeps/aarch64/tlsdesc.c: Likewise.
385 * sysdeps/arm/tlsdesc.c: Likewise.
386 * sysdeps/i386/tlsdesc.c: Likewise.
387 * sysdeps/tile/dl-runtime.c: Likewise.
388 * sysdeps/x86_64/tlsdesc.c: Likewise.
389 * elf/dl-load.h: New file.
390 * elf/dl-load.c: Include it.
391 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
392 Macros moved to dl-load.h.
393 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
394 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
395 Use _dl_unmap_segments in place of __munmap.
396 Break out segment-mapping loop into ...
397 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
398
3992014-04-03 Will Newton <will.newton@linaro.org>
400
401 * elf/dl-lookup.c (do_lookup_x): Remove comment
402 referring to nested function and move variable
403 declarations down to before first use.
404
4052014-04-02 Joseph Myers <joseph@codesourcery.com>
406
407 [BZ #16799]
408 [BZ #16800]
409 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
410 with 0 numerator.
411 * math/s_catanf.c (__catanf): Likewise.
412 * math/s_catanh.c (__catanh): Likewise.
413 * math/s_catanhf.c (__catanhf): Likewise.
414 * math/s_catanhl.c (__catanhl): Likewise.
415 * math/s_catanl.c (__catanl): Likewise.
416 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
417 by positive zero when computing -Inf result.
418 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
419 (catanh_test): Likewise.
420 * sysdeps/i386/fpu/libm-test-ulps: Update.
421 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
422
423 [BZ #16789]
424 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
425 instead of using underflowing value in computing result.
426 * math/s_clog10.c (__clog10): Likewise.
427 * math/s_clog10f.c (__clog10f): Likewise.
428 * math/s_clog10l.c (__clog10l): Likewise.
429 * math/s_clogf.c (__clogf): Likewise.
430 * math/s_clogl.c (__clogl): Likewise.
431 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
432 (clog10_test): Likewise.
433 * sysdeps/i386/fpu/libm-test-ulps: Update.
434 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
435
4362014-04-02 Alan Modra <amodra@gmail.com>
437
438 [BZ #16739]
439 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
440 output when value is near a power of two. Use int64_t for lx and
441 remove casts. Use decimal rather than hex exponent constants.
442 Don't use long double multiplication when double will suffice.
443 * math/libm-test.inc (nextafter_test_data): Add tests.
444 * NEWS: Add 16739 and 16786 to bug list.
445
4462014-04-02 Alan Modra <amodra@gmail.com>
447
448 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
449
4502014-04-02 Alan Modra <amodra@gmail.com>
451
452 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
453
4542014-04-01 Will Newton <will.newton@linaro.org>
455
456 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
457 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
458
4592014-04-01 Florian Weimer <fweimer@redhat.com>
460
461 [BZ #13347]
462 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
463 * nptl/tst-setuid2.c: New file.
464 * nptl/Makefile (xtests): Add tst-setuid2.
465
4662014-04-01 Alan Modra <amodra@gmail.com>
467
468 [BZ #16786]
469 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
470
4712014-03-31 Joseph Myers <joseph@codesourcery.com>
472
473 [BZ #6803]
474 [BZ #6804]
475 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
476 set errno as appropriate.
477 * math/w_scalbf.c (__scalbf): Likewise.
478 * math/w_scalbl.c (__scalbl): Likewise.
479 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
480 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
481 * math/libm-test.inc (scalb_test_data): Add errno expectations.
482 Add more NaN tests.
483
484 [BZ #16349]
485 * math/w_atan2.c: Include <errno.h>.
486 (__atan2): Set errno for result underflowing to zero.
487 * math/w_atan2f.c: Include <errno.h>.
488 (__atan2f): Set errno for result underflowing to zero.
489 * math/w_atan2l.c: Include <errno.h>.
490 (__atan2l): Set errno for result underflowing to zero.
491 * math/auto-libm-test-in: Don't allow missing errno for some atan2
492 tests.
493 * math/auto-libm-test-out: Regenerated.
494
4952014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
496
497 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
498 Encode instruction correctly in little endian.
499 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
500 Likewise.
501 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
502 Likewise.
503 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
504 Likewise.
505 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
506 Likewise.
507
5082014-03-31 Joseph Myers <joseph@codesourcery.com>
509
510 [BZ #9894]
511 * sysdeps/unix/sysv/linux/kernel-features.h
512 [__sparc__ && !__arch64__ && !__sparc_v9__]
513 (__ASSUME_SET_ROBUST_LIST): Do not define.
514 [__sparc__ && !__arch64__ && !__sparc_v9__]
515 (__ASSUME_FUTEX_LOCK_PI): Likewise.
516 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
517 Likewise.
518 * sysdeps/unix/sysv/linux/arm/kernel-features.h
519 (__ASSUME_FUTEX_LOCK_PI): Undefine.
520 (__ASSUME_REQUEUE_PI): Likewise.
521 (__ASSUME_SET_ROBUST_LIST): Likewise.
522 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
523 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
524 Undefine.
525 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
526 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
527 Likewise.
528 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
529 Likewise.
530 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
531 Likewise.
532 * sysdeps/unix/sysv/linux/mips/kernel-features.h
533 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
534 Undefine.
535 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
536 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
537 Likewise.
538
539 [BZ #16648]
540 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
541 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
542 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
543
5442014-03-31 Will Newton <will.newton@linaro.org>
545
546 * benchtests/Makefile (bench): Add ffs and ffsll to list
547 of tests.
548 * benchtests/ffs-inputs: New file.
549 * benchtests/ffsll-inputs: Likewise.
550
5512014-03-29 Joseph Myers <joseph@codesourcery.com>
552
553 [BZ #16770]
554 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
555 too large before casting to int.
556 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
557 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
558 * math/libm-test.inc (scalb_test_data): Add more tests.
559
5602014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
561
562 * benchtests/Makefile (DETAILED_OPT): New make option.
563 (bench-func): Run benchmark program with -d if DETAILED_OPT is
564 set.
565 * benchtests/bench-skeleton.c: Include stdbool.h.
566 (main): Store and print timings per input.
567 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
568 member to each argument value.
569 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
570 (_print_arg_data): Initialize per-input timing to 0.
571
572 * benchtests/Makefile (timing-type): New binary.
573 (bench-clean): Also remove bench-timing-type.
574 (bench): New target for timing-type.
575 (bench-func): Print output in JSON format.
576 * benchtests/bench-skeleton.c (main): Print output in JSON
577 format.
578 * benchtests/bench-timing-type.c: New file.
579 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
580 (TIMING_PRINT_STATS): Remove.
581 * benchtests/scripts/bench.py (_print_arg_data): Store variant
582 name separately.
583
584 * benchtests/bench-modf.c: Remove.
585 * benchtests/modf-inputs: New inputs file.
586
5872014-03-28 Joseph Myers <joseph@codesourcery.com>
588
589 [BZ #16362]
590 * math/s_clog10.c (M_PI_LOG10E): New macro.
591 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
592 imaginary parts are 0.
593 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
594 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
595 imaginary parts are 0.
596 * math/s_clog10l.c (M_PI_LOG10El): New macro.
597 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
598 imaginary parts are 0.
599 * math/libm-test.inc (clog10_test_data): Update expected results
600 for when real and imaginary parts are 0.
601
6022014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
603
604 * elf/dl-load.c: Finish conversion of __builtin_expect into
605 __glibc_{un}likely.
606
6072014-03-27 Joseph Myers <joseph@codesourcery.com>
608
609 [BZ #16348]
610 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
611 1+x for argument with exponent below -67.
612 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
613 Likewise.
614 * math/auto-libm-test-in: Add more tests of exp.
615 * math/auto-libm-test-out: Regenerated.
616
6172014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
618
619 [BZ #16759]
620 * inet/getnetgrent_r.c (get_nonempty_val): New function.
621 (nscd_getnetgrent): Use it.
622
623 [BZ #16760]
624 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
625 of stpcpy.
626
6272014-03-27 Andi Kleen <ak@linux.intel.com>
628
629 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock,
630 lll_robust_lock, lll_cond_lock, lll_timedlock, lll_robust_cond_lock,
631 lll_robust_timedlock, lll_unlock, lll_robust_unlock):
632 Remove out of line section. Use cfi intrinsics.
633 (LLL_STUB_UNWIND_INFO*): Remove.
634 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock,
635 lll_robust_lock, lll_cond_lock, lll_timedlock, lll_robust_cond_lock,
636 lll_robust_timedlock, lll_unlock, lll_robust_unlock):
637 Remove out of line section. Use cfi intrinsics.
638 (LLL_STUB_UNWIND_INFO*): Remove.
639
6402014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
641
642 [BZ #16758]
643 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
644 blank values.
645
6462014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
647
648 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
649
6502014-03-26 Joseph Myers <joseph@codesourcery.com>
651
652 [BZ #16198]
653 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
654 fnstenv.
655 * math/test-fenv-preserve.c: New file.
656 * math/Makefile (tests): Add test-fenv-preserve.
657
6582014-03-26 Will Newton <will.newton@linaro.org>
659
660 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
661
6622014-03-25 Roland McGrath <roland@hack.frob.com>
663
664 * scripts/versionlist.awk: Partition the version sets and emit all
665 GLIBC_* (sorted) before all others (sorted).
666
6672014-03-25 Joseph Myers <joseph@codesourcery.com>
668
669 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
670 GLIBC_2.2.5 version.
671
6722014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
673
674 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
675 calls.
676
6772014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
678
679 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
680 previous change.
681
6822014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
683
684 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
685
6862014-03-25 Andreas Schwab <schwab@suse.de>
687
688 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
689 label to be used after in6ailist is initialized.
690
6912014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
692
693 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
694 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
695
6962014-03-25 Joseph Myers <joseph@codesourcery.com>
697
698 [BZ #16357]
699 [BZ #16599]
700 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
701 min_plus_half.
702 (fp_formats): Update initializers.
703 (init_fp_formats): Initialize new field.
704 (output_for_one_input_case): Allow underflow for results up to
705 min_plus_half.
706 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
707 * math/auto-libm-test-in: Don't mark some underflows from asin and
708 atanh as spurious.
709 * math/auto-libm-test-out: Regenerated.
710 * sysdeps/i386/fpu/libm-test-ulps: Update.
711 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
712
7132014-03-25 Andreas Schwab <schwab@suse.de>
714
715 * libio/Makefile (tst-ftell-partial-wide-ENV)
716 (tst-ftell-active-handler-ENV): Define.
717
7182014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
719
720 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
721
7222014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
723
724 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
725
7262014-03-24 Joseph Myers <joseph@codesourcery.com>
727
728 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
729 * sysdeps/x86_64/fpu/multiarch/e_exp.c
730 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
731
7322014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
733
734 [BZ #16634]
735 * elf/dl-load.c (open_verify): Add mode parameter.
736 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
737 (open_path): Change from boolean 'secure' to complete flag 'mode'
738 (_dl_map_object): Adjust.
739 * elf/Makefile (tests): Add tst-dlopen-aout.
740 * elf/tst-dlopen-aout.c: New test.
741
7422014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
743
744 [BZ #16714]
745 * sysdeps/unix/sysv/linux/s390/bits/stat.h
746 (struct stat): Rename member pad0 to __glibc_reserved0.
747
7482014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
749
750 [BZ #16712]
751 * sysdeps/s390/s390-32/bits/wordsize.h
752 (__WORDSIZE32_SIZE_ULONG): New define.
753 * sysdeps/s390/s390-64/bits/wordsize.h
754 (__WORDSIZE32_SIZE_ULONG): Likewise.
755 * sysdeps/generic/stdint.h (SIZE_MAX):
756 Define as UL if __WORDSIZE32_SIZE_ULONG.
757
7582014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
759
760 [BZ #16713]
761 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
762 (__glibc_reserved0): New variable.
763 (sa_flags): Change type to int.
764
7652014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
766
767 * posix/Makefile (before-compile): Use += before-compile instead
768 of a :=.
769
7702014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
771
772 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
773 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
774
7752014-03-20 Andreas Schwab <schwab@suse.de>
776
777 [BZ #16743]
778 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
779 non-matching result from nscd.
780
7812014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
782
783 * scripts/bench.py: Moved to ...
784 * benchtests/scripts/bench.py: ... here.
785 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
786
7872014-03-24 Andreas Schwab <schwab@suse.de>
788
789 [BZ #16002]
790 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
791 alloca_account and account alloca use for struct in6ailist.
792
7932014-03-24 Joseph Myers <joseph@codesourcery.com>
794
795 [BZ #16284]
796 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
797 rounding mode to recompute results that overflow to infinity or
798 underflow to zero.
799 * math/auto-libm-test-in: Don't mark tests as expected to fail for
800 bug 16284.
801 * math/auto-libm-test-out: Regenerated.
802 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
803 (ccosh_test): Likewise.
804 (csin_test_data): Use plus_oflow.
805 (csin_test): Use ALL_RM_TEST.
806 (csinh_test_data): Use plus_oflow.
807 (csinh_test): Use ALL_RM_TEST.
808 * sysdeps/i386/fpu/libm-test-ulps: Update.
809 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
810
8112014-03-21 Joseph Myers <joseph@codesourcery.com>
812
813 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
814 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
815 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
816
817 [BZ #16731]
818 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
819 when x - 1 is zero.
820 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
821 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
822 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
823 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
824 argument is 1.
825 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
826 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
827 zero.
828 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
829 * sysdeps/i386/fpu/libm-test-ulps: Update.
830 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
831
8322014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
833
834 * scripts/bench.pl: Remove file.
835 * scripts/bench.py: New benchmark script.
836 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
837 * benchtests/README: Mention python dependency.
838 * scripts/pylintrc: New file.
839 * scripts/pylint: New file.
840
841 * bits/mathdef.h: Use #ifdef instead of #if.
842 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
843 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
844 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
845 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
846 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
847 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
848
8492014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
850 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
851
852 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
853 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
854 and strpbrk-ppc64 objects.
855 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
856 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
857 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
858 multiarch strpbrk for POWER7.
859 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
860 multiarch strpbrk for PPC64.
861 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
862 ifunc selector.
863 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
864 strpbrk for POWER7.
865
8662014-03-20 Joseph Myers <joseph@codesourcery.com>
867
868 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
869 (atan_test): Likewise.
870 (atanh_test_data): Use NO_TEST_INLINE for two tests.
871 (atanh_test): Use ALL_RM_TEST.
872 (atan2_test_data): Likewise.
873 (cabs_test): Likewise.
874 (cacosh_test): Likewise.
875 (carg_test): Likewise.
876 (casin_test): Likewise.
877 (casinh_test): Likewise.
878 (cbrt_test): Likewise.
879 (csqrt_test): Likewise.
880 (erf_test): Likewise.
881 (erfc_test): Likewise.
882 (pow10_test): Likewise.
883 (exp2_test): Likewise.
884 (hypot_test): Likewise.
885 (j0_test): Likewise.
886 (j1_test): Likewise.
887 (lgamma_test): Likewise.
888 (gamma_test): Likewise.
889 (sincos_test): Likewise.
890 (tanh_test): Likewise.
891 (y0_test): Likewise.
892 (y1_test): Likewise.
893 * sysdeps/i386/fpu/libm-test-ulps: Update.
894 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
895
8962014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
897
898 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
899 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
900 and strcspn-ppc64 objects.
901 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
902 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
903 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
904 multiarch strcspn for POWER7.
905 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
906 multiarch strcspn for PPC64.
907 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
908 ifunc selector.
909 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
910 strcspn for POWER7.
911
9122014-03-20 Joseph Myers <joseph@codesourcery.com>
913
914 * math/gen-libm-test.pl (generate_testfile): Expect only function
915 name as argument to AUTO_TESTS_* and pass results for all rounding
916 modes to parse_args.
917 (parse_auto_input): Separate inputs of automatic tests from
918 outputs before storing in %auto_tests.
919 * math/libm-test.inc (acos_test_data): Update call to
920 AUTO_TESTS_f_f.
921 (acos_test): Use ALL_RM_TEST.
922 (acos_tonearest_test_data): Remove.
923 (acos_test_tonearest): Likewise.
924 (acos_towardzero_test_data): Likewise.
925 (acos_test_towardzero): Likewise.
926 (acos_downward_test_data): Likewise.
927 (acos_test_downward): Likewise.
928 (acos_upward_test_data): Likewise.
929 (acos_test_upward): Likewise.
930 (acosh_test_data): Update call to AUTO_TESTS_f_f.
931 (asin_test_data): Likewise.
932 (asin_test): Use ALL_RM_TEST.
933 (asin_tonearest_test_data): Remove.
934 (asin_test_tonearest): Likewise.
935 (asin_towardzero_test_data): Likewise.
936 (asin_test_towardzero): Likewise.
937 (asin_downward_test_data): Likewise.
938 (asin_test_downward): Likewise.
939 (asin_upward_test_data): Likewise.
940 (asin_test_upward): Likewise.
941 (asinh_test_data): Update call to AUTO_TESTS_f_f.
942 (atan_test_data): Likewise.
943 (atanh_test_data): Likewise.
944 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
945 (cabs_test_data): Update call to AUTO_TESTS_c_f.
946 (carg_test_data): Likewise.
947 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
948 (ccos_test_data): Update call to AUTO_TESTS_c_c.
949 (ccosh_test_data): Likewise.
950 (cexp_test_data): Likewise.
951 (clog_test_data): Likewise.
952 (clog10_test_data): Likewise.
953 (cos_test_data): Update call to AUTO_TESTS_f_f.
954 (cos_test): Use ALL_RM_TEST.
955 (cos_tonearest_test_data): Remove.
956 (cos_test_tonearest): Likewise.
957 (cos_towardzero_test_data): Likewise.
958 (cos_test_towardzero): Likewise.
959 (cos_downward_test_data): Likewise.
960 (cos_test_downward): Likewise.
961 (cos_upward_test_data): Likewise.
962 (cos_test_upward): Likewise.
963 (cosh_test_data): Update call to AUTO_TESTS_f_f.
964 (cosh_test): Use ALL_RM_TEST.
965 (cosh_tonearest_test_data): Remove.
966 (cosh_test_tonearest): Likewise.
967 (cosh_towardzero_test_data): Likewise.
968 (cosh_test_towardzero): Likewise.
969 (cosh_downward_test_data): Likewise.
970 (cosh_test_downward): Likewise.
971 (cosh_upward_test_data): Likewise.
972 (cosh_test_upward): Likewise.
973 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
974 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
975 (ctan_test_data): Likewise.
976 (ctan_test): Use ALL_RM_TEST.
977 (ctan_tonearest_test_data): Remove.
978 (ctan_test_tonearest): Likewise.
979 (ctan_towardzero_test_data): Likewise.
980 (ctan_test_towardzero): Likewise.
981 (ctan_downward_test_data): Likewise.
982 (ctan_test_downward): Likewise.
983 (ctan_upward_test_data): Likewise.
984 (ctan_test_upward): Likewise.
985 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
986 (ctanh_test): Use ALL_RM_TEST.
987 (ctanh_tonearest_test_data): Remove.
988 (ctanh_test_tonearest): Likewise.
989 (ctanh_towardzero_test_data): Likewise.
990 (ctanh_test_towardzero): Likewise.
991 (ctanh_downward_test_data): Likewise.
992 (ctanh_test_downward): Likewise.
993 (ctanh_upward_test_data): Likewise.
994 (ctanh_test_upward): Likewise.
995 (erf_test_data): Update call to AUTO_TESTS_f_f.
996 (erfc_test_data): Likewise.
997 (exp_test_data): Likewise.
998 (exp_test): Use ALL_RM_TEST.
999 (exp_tonearest_test_data): Remove.
1000 (exp_test_tonearest): Likewise.
1001 (exp_towardzero_test_data): Likewise.
1002 (exp_test_towardzero): Likewise.
1003 (exp_downward_test_data): Likewise.
1004 (exp_test_downward): Likewise.
1005 (exp_upward_test_data): Likewise.
1006 (exp_test_upward): Likewise.
1007 (exp10_test_data): Update call to AUTO_TESTS_f_f.
1008 (exp10_test): Use ALL_RM_TEST.
1009 (exp10_tonearest_test_data): Remove.
1010 (exp10_test_tonearest): Likewise.
1011 (exp10_towardzero_test_data): Likewise.
1012 (exp10_test_towardzero): Likewise.
1013 (exp10_downward_test_data): Likewise.
1014 (exp10_test_downward): Likewise.
1015 (exp10_upward_test_data): Likewise.
1016 (exp10_test_upward): Likewise.
1017 (exp2_test_data): Update call to AUTO_TESTS_f_f.
1018 (expm1_test_data): Likewise.
1019 (expm1_test): Use ALL_RM_TEST.
1020 (expm1_tonearest_test_data): Remove.
1021 (expm1_test_tonearest): Likewise.
1022 (expm1_towardzero_test_data): Likewise.
1023 (expm1_test_towardzero): Likewise.
1024 (expm1_downward_test_data): Likewise.
1025 (expm1_test_downward): Likewise.
1026 (expm1_upward_test_data): Likewise.
1027 (expm1_test_upward): Likewise.
1028 (fma_test_data): Update call to AUTO_TESTS_fff_f.
1029 (fma_test): Use ALL_RM_TEST.
1030 (fma_towardzero_test_data): Remove.
1031 (fma_test_towardzero): Likewise.
1032 (fma_downward_test_data): Likewise.
1033 (fma_test_downward): Likewise.
1034 (fma_upward_test_data): Likewise.
1035 (fma_test_upward): Likewise.
1036 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
1037 (j0_test_data): Update call to AUTO_TESTS_f_f.
1038 (j1_test_data): Likewise.
1039 (jn_test_data): Update call to AUTO_TESTS_if_f.
1040 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
1041 (log_test_data): Update call to AUTO_TESTS_f_f.
1042 (log10_test_data): Likewise.
1043 (log1p_test_data): Likewise.
1044 (log2_test_data): Likewise.
1045 (pow_test_data): Update call to AUTO_TESTS_ff_f.
1046 (pow_tonearest_test_data): Likewise.
1047 (sin_test_data): Update call to AUTO_TESTS_f_f.
1048 (sin_test): Use ALL_RM_TEST.
1049 (sin_tonearest_test_data): Remove.
1050 (sin_test_tonearest): Likewise.
1051 (sin_towardzero_test_data): Likewise.
1052 (sin_test_towardzero): Likewise.
1053 (sin_downward_test_data): Likewise.
1054 (sin_test_downward): Likewise.
1055 (sin_upward_test_data): Likewise.
1056 (sin_test_upward): Likewise.
1057 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
1058 (sinh_test_data): Update call to AUTO_TESTS_f_f.
1059 (sinh_test): Use ALL_RM_TEST.
1060 (sinh_tonearest_test_data): Remove.
1061 (sinh_test_tonearest): Likewise.
1062 (sinh_towardzero_test_data): Likewise.
1063 (sinh_test_towardzero): Likewise.
1064 (sinh_downward_test_data): Likewise.
1065 (sinh_test_downward): Likewise.
1066 (sinh_upward_test_data): Likewise.
1067 (sinh_test_upward): Likewise.
1068 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
1069 (sqrt_test): Use ALL_RM_TEST.
1070 (sqrt_tonearest_test_data): Remove.
1071 (sqrt_test_tonearest): Likewise.
1072 (sqrt_towardzero_test_data): Likewise.
1073 (sqrt_test_towardzero): Likewise.
1074 (sqrt_downward_test_data): Likewise.
1075 (sqrt_test_downward): Likewise.
1076 (sqrt_upward_test_data): Likewise.
1077 (sqrt_test_upward): Likewise.
1078 (tan_test_data): Update call to AUTO_TESTS_f_f.
1079 (tan_test): Use ALL_RM_TEST.
1080 (tan_tonearest_test_data): Remove.
1081 (tan_test_tonearest): Likewise.
1082 (tan_towardzero_test_data): Likewise.
1083 (tan_test_towardzero): Likewise.
1084 (tan_downward_test_data): Likewise.
1085 (tan_test_downward): Likewise.
1086 (tan_upward_test_data): Likewise.
1087 (tan_test_upward): Likewise.
1088 (tanh_test_data): Update call to AUTO_TESTS_f_f.
1089 (tgamma_test_data): Likewise.
1090 (y0_test_data): Likewise.
1091 (y1_test_data): Likewise.
1092 (yn_test_data): Update call to AUTO_TESTS_if_f.
1093 (main): Do not call removed functions.
1094
10952014-03-19 Joseph Myers <joseph@codesourcery.com>
1096
1097 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
1098 (ldexp_test_data): Remove.
1099 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
1100 scalbn_test_data.
1101 (scalb_test): Use ALL_RM_TEST.
1102
11032014-03-19 Andreas Schwab <schwab@suse.de>
1104
1105 * nscd/nscd.service: Also invalidate netgroup cache on reload.
1106
11072014-03-19 Joseph Myers <joseph@codesourcery.com>
1108
1109 [BZ #16649]
1110 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1111 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
1112 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
1113 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1114 (__ASSUME_PREADV): Undefine.
1115 (__ASSUME_PWRITEV): Likewise.
1116
11172014-03-18 Roland McGrath <roland@hack.frob.com>
1118
1119 * bits/mman-linux.h: Add comment about non-Linux use.
1120 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
1121 bits/mman-linux.h resting place.
1122
1123 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
1124 * bits/mman-linux.h: ... here.
1125
11262014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1127
1128 * conform/conformtest.pl: Add standard definition when calling C
1129 preprocessor on data files.
1130 (checknamespace): Remove unused variable.
1131
11322014-03-18 Joseph Myers <joseph@codesourcery.com>
1133
1134 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
1135 minus_oflow, plus_uflow and minus_uflow in expected results.
1136 * math/libm-test.inc (scalbn_test_data): Add more tests of
1137 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
1138 minus_uflow.
1139 (scalbn_test): Use ALL_RM_TEST.
1140 (scalbln_test_data): Add more tests of negative arguments. Use
1141 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
1142 (scalbln_test): Use ALL_RM_TEST.
1143
11442014-03-18 Roland McGrath <roland@hack.frob.com>
1145
1146 * scripts/abilist.awk: Ignore symbols marked with .hidden.
1147
11482014-03-18 Will Newton <will.newton@linaro.org>
1149
1150 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
1151 inaccurate comment.
1152
11532014-03-18 Joseph Myers <joseph@codesourcery.com>
1154
1155 * Makerules [!subdir] (check-abi): Exit with error status if a
1156 test failed.
1157
11582014-03-17 Joseph Myers <joseph@codesourcery.com>
1159
1160 * math/libm-test.inc (nearbyint_test_data): Include all tests used
1161 for rint. Include results for all rounding modes.
1162 (nearbyint_test): Use ALL_RM_TEST.
1163 (rint_test_data): Include all tests used for nearbyint.
1164
11652014-03-17 Will Newton <will.newton@linaro.org>
1166
1167 * nptl/sysdeps/pthread/pthread.h: Revert previous
1168 change.
1169
1170 * sysdeps/generic/ldsodefs.h: Revert previous
1171 change.
1172
1173 * libio/genops.c: Revert previous change.
1174 * libio/libioP.h: Likewise.
1175 * stdio-common/vfprintf.c: Likewise.
1176
1177 * sysdeps/generic/math_private.h: Revert previous
1178 change.
1179
1180 * sysdeps/generic/math_private.h: Check whether
1181 HAVE_RM_CTX is defined with #ifdef rather
1182 than #if.
1183
1184 * argp/argp-fmtstream.h: Check whether
1185 __STRICT_ANSI__ is defined with #ifdef rather
1186 than #if.
1187 * argp/argp.h: Likewise.
1188
1189 * libio/genops.c: Check whether
1190 _IO_JUMPS_OFFSET is defined with #ifdef rather
1191 than #if.
1192 * libio/libioP.h: Likewise.
1193 * stdio-common/vfprintf.c: Likewise.
1194
1195 * sysdeps/generic/ldsodefs.h: Check whether
1196 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
1197 than #if.
1198
1199 * nptl/sysdeps/pthread/pthread.h: Check
1200 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
1201 its value.
1202
12032014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1204
1205 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
1206 setting O_APPEND.
1207 * libio/tst-ftell-active-handler.c (do_append_test): Add a
1208 test case.
1209
1210 [BZ #16680]
1211 * libio/fileops.c (_IO_file_open): Seek to end of file but
1212 don't cache the offset.
1213 (get_file_offset): Remove function.
1214 (do_ftell): Use cached offset when available.
1215 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
1216 don't cache the offset.
1217 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
1218 case.
1219 (do_one_test): Call it.
1220 (do_ftell_test): Fix up expected old offset for a+ mode.
1221 * libio/wfileops.c (do_ftell_wide): Used cached offset when
1222 available.
1223
1224 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
1225 up test status with function return status.
1226 (do_write_test): Likewise.
1227 (do_append_test): Likewise.
1228
1229 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
1230 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
1231 Remove.
1232
12332014-03-17 Joseph Myers <joseph@codesourcery.com>
1234
1235 * math/gen-libm-test.pl (parse_args): Handle results specified for
1236 each rounding mode separately.
1237 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
1238 tests and results from lrint_tonearest_test_data,
1239 lrint_towardzero_test_data, lrint_downward_test_data and
1240 lrint_upward_test_data.
1241 (lrint_test): Use ALL_RM_TEST.
1242 (lrint_tonearest_test_data): Remove.
1243 (lrint_test_tonearest): Likewise.
1244 (lrint_towardzero_test_data): Likewise.
1245 (lrint_test_towardzero): Likewise.
1246 (lrint_downward_test_data): Likewise.
1247 (lrint_test_downward): Likewise.
1248 (lrint_upward_test_data): Likewise.
1249 (lrint_test_upward): Likewise.
1250 (llrint_test_data): Merge in per-rounding-mode tests and results
1251 from llrint_tonearest_test_data, llrint_towardzero_test_data,
1252 llrint_downward_test_data and llrint_upward_test_data.
1253 (llrint_test): Use ALL_RM_TEST.
1254 (llrint_tonearest_test_data): Remove.
1255 (llrint_test_tonearest): Likewise.
1256 (llrint_towardzero_test_data): Likewise.
1257 (llrint_test_towardzero): Likewise.
1258 (llrint_downward_test_data): Likewise.
1259 (llrint_test_downward): Likewise.
1260 (llrint_upward_test_data): Likewise.
1261 (llrint_test_upward): Likewise.
1262 (rint_test_data): Merge in per-rounding-mode tests and results
1263 from rint_tonearest_test_data, rint_towardzero_test_data,
1264 rint_downward_test_data and rint_upward_test_data. Add
1265 per-rounding-mode results for tests not in those arrays.
1266 (rint_test): Use ALL_RM_TEST.
1267 (rint_tonearest_test_data): Remove.
1268 (rint_test_tonearest): Likewise.
1269 (rint_towardzero_test_data): Likewise.
1270 (rint_test_towardzero): Likewise.
1271 (rint_downward_test_data): Likewise.
1272 (rint_test_downward): Likewise.
1273 (rint_upward_test_data): Likewise.
1274 (rint_test_upward): Likewise.
1275 (main): Don't call removed functions.
1276
12772014-03-14 Roland McGrath <roland@hack.frob.com>
1278
1279 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
1280 "Compiled on ..." crapola. It is anti-useful.
1281
12822014-03-14 Joseph Myers <joseph@codesourcery.com>
1283
1284 * scripts/evaluate-test.sh: Handle fourth argument to determine
1285 whether test run should stop on failure.
1286 * Makeconfig (stop-on-test-failure): New variable.
1287 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
1288 $(stop-on-test-failure).
1289 * Makefile (tests): Give a summary of results from testing and
1290 exit with failure status if they include an ERROR or FAIL.
1291 (xtests): Likewise.
1292 * manual/install.texi (Configuring and compiling): Mention
1293 stop-on-test-failure=y.
1294 * INSTALL: Regenerated.
1295
12962014-03-14 Roland McGrath <roland@hack.frob.com>
1297
1298 * scripts/versionlist.awk: New file.
1299 * Makerules [$(build-shared) = yes]
1300 (postclean-generated): Add Versions.def, not Versions.def.v and
1301 Versions.def.v.i.
1302 ($(common-objpfx)Versions.def.v.i): Target removed.
1303 ($(common-objpfx)Versions.def): New target.
1304 ($(common-objpfx)Versions.all): Depend on that rather that
1305 $(common-objpfx)Versions.def.v.
1306 * Versions.def: File removed.
1307
1308 * Makeconfig (+gccwarn): Add -Wundef.
1309 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
1310 a dl-sysdep.h breaking its contract.
1311 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
1312 * include/stackinfo.h: New file.
1313 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
1314 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
1315 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
1316 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
1317 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
1318 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
1319 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1320 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1321 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1322 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1323 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1324 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
1325 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1326 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1327 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1328
13292014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1330
1331 [BZ #16707]
1332 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
1333 implementation.
1334 * math/libm-test.inc (round_test_data): Add more tests.
1335
13362014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1337
1338 [BZ #16706]
1339 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
1340 implementation.
1341 * math/libm-test.inc (nearbyint_test_data): Add more tests.
1342
13432014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1344
1345 [BZ #16701]
1346 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
1347 implementation.
1348 * math/libm-test.inc (ceil_test_data): Add more tests.
1349
13502014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1351
1352 * math/libm-test.inc (trunc_test_data): Add more tests related to
1353 BZ#16414.
1354
13552014-03-14 Roland McGrath <roland@hack.frob.com>
1356
1357 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
1358 with #if rather than #ifdef.
1359 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
1360
13612014-03-14 H.J. Lu <hongjiu.lu@intel.com>
1362
1363 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
1364 first. Disable AVX-512 GCC support if assembler doesn't support
1365 it.
1366 * sysdeps/x86_64/configure: Regenerated.
1367
13682014-03-13 Carlos O'Donell <carlos@redhat.com>
1369
1370 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
1371 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
1372 (__old_pthread_attr_setstack): Likewise.
1373 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
1374 [!_STACK_GROWS_DOWN]: Likewise.
1375
13762014-03-13 Mike Frysinger <vapier@gentoo.org>
1377
1378 * config.make.in (have-bash2): Delete.
1379 * configure.ac (libc_cv_have_bash2): Delete.
1380 * configure: Regenerate.
1381 * elf/Makefile (common-ldd-rewrite): Rename to ...
1382 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
1383 (sh-ldd-rewrite): Delete.
1384 (bash-ldd-rewrite): Delete.
1385 (have-bash2): Delete checks.
1386 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to ldd-rewrite.
1387
13882014-03-13 Mike Frysinger <vapier@gentoo.org>
1389
1390 * config.make.in (have-ksh): Delete.
1391 (KSH): Delete.
1392 * configure.ac (libc_cv_have_ksh): Delete.
1393 * configure: Regenerate.
1394
13952014-03-13 Mike Frysinger <vapier@gentoo.org>
1396
1397 * elf/Makefile: Delete $(have-ksh) check.
1398 ($(objpfx)sotruss): Change KSH to BASH.
1399 * elf/sotruss.ksh: Rename to ...
1400 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
1401 function style to match POSIX. Drop ksh vim mode setting.
1402
14032014-03-13 Mike Frysinger <vapier@gentoo.org>
1404
1405 * manual/time.texi (Specifying the Time Zone with TZ): Change
1406 Tuesday to Thursday.
1407
14082014-03-13 Mike Frysinger <vapier@gentoo.org>
1409
1410 * debug/tst-longjmp_chk2.c: Update header comment.
1411 (stackoverflow_handler): Add comment. Call assert on pass value.
1412
14132014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
1414
1415 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
1416 (HAVE_AVX512_ASM_SUPPORT): Likewise.
1417 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
1418 (La_x86_64_vector): Add zmm.
1419 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
1420 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
1421 ($(objpfx)tst-audit10): New target.
1422 ($(objpfx)tst-audit10.out): Likewise.
1423 (tst-audit10-ENV): New.
1424 (AVX512-CFLAGS): Likewise.
1425 (CFLAGS-tst-audit10.c): Likewise.
1426 (CFLAGS-tst-auditmod10a.c): Likewise.
1427 (CFLAGS-tst-auditmod10b.c): Likewise.
1428 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
1429 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
1430 * sysdeps/x86_64/configure: Regenerated.
1431 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
1432 AVX-512 zmm register support.
1433 (_dl_x86_64_save_sse): Likewise.
1434 (_dl_x86_64_restore_sse): Likewise.
1435 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
1436 size vector registers.
1437 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
1438 (ZMM_SIZE): Likewise.
1439 * sysdeps/x86_64/tst-audit10.c: New file.
1440 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
1441 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
1442
14432014-03-13 Roland McGrath <roland@hack.frob.com>
1444
1445 * configure.ac (HAVE_EHDR_START): New check.
1446 * configure: Regenerated.
1447 * config.h.in (HAVE_EHDR_START): New #undef.
1448 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
1449 assuming the lowest-addressed segment maps the start of the file.
1450
14512014-03-13 Joseph Myers <joseph@codesourcery.com>
1452
1453 * INSTALL: Regenerated.
1454
14552014-03-13 Will Newton <will.newton@linaro.org>
1456
1457 * manual/setjmp.texi (System V contexts): Improve
1458 clarity and grammar of documentation.
1459
14602014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
1461
1462 [BZ #16381]
1463 * elf/Makefile (tests): Add tst-pie2.
1464 (tests-pie): Add tst-pie2.
1465 * elf/tst-pie2.c: New file.
1466 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
1467 for ET_EXEC.
1468 * elf/rtld.c (map_doit): Load executable as lt_executable.
1469 (dl_main): Likewise.
1470
14712014-03-12 Joseph Myers <joseph@codesourcery.com>
1472
1473 [BZ #16642]
1474 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1475 (__ASSUME_PSELECT): Undefine.
1476
14772014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1478
1479 [BZ #16689]
1480 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
1481 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
1482 static build.
1483 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
1484 selector for static builds.
1485
14862014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1487
1488 [BZ #16695]
1489 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
1490 key in the buffer.
1491
14922014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1493
1494 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build IFUNC
1495 selector for static builds.
1496
14972014-03-11 Joseph Myers <joseph@codesourcery.com>
1498
1499 * sysdeps/mips/math_private.h [__mips_hard_float]
1500 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
1501 libc_feresetround_mips_ctx.
1502 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
1503 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
1504 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
1505
1506 [BZ #16677]
1507 * math/s_nextafter.c (__nextafter): Do not return value from
1508 overflowing computation.
1509 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
1510 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
1511 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
1512 Likewise.
1513 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
1514 Likewise.
1515 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
1516 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
1517
15182014-03-11 Roland McGrath <roland@hack.frob.com>
1519
1520 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
1521 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
1522 Move sfi_sp use from the load-multiple (that no longer sets sp) to
1523 the new mov targetting sp.
1524
15252014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1526
1527 [BZ #16683]
1528 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
1529 Define it for static builds as well.
1530 (NO_BZERO_IMPL): Likewise.
1531
15322014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1533
1534 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
1535 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
1536 multiarch strspn for PPC64.
1537 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
1538 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
1539 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1540 (__libc_ifunc_impl_list): Likewise.
1541 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
1542 multiarch optimizations
1543 * string/strspn.c (strspn): Using macro to redefine symbol name.
1544
15452014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1546 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1547
1548 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
1549 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
1550 multiarch strncat for PPC64.
1551 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
1552 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
1553 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1554 (__libc_ifunc_impl_list): Likewise.
1555 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
1556 multiarch optimizations
1557
15582014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1559
1560 [BZ #16639]
1561 * nscd/nscd.service: Make service type forking.
1562
15632014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1564
1565 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
1566 sign in non default rounding modes.
1567 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
1568
15692014-03-08 Joseph Myers <joseph@codesourcery.com>
1570
1571 * math/libm-test.inc (ALL_RM_TEST): New macro.
1572 (ceil_test): Use ALL_RM_TEST.
1573 (cimag_test): Likewise.
1574 (conj_test): Likewise.
1575 (copysign_test): Likewise.
1576 (cproj_test): Likewise.
1577 (creal_test): Likewise.
1578 (fabs_test): Likewise.
1579 (floor_test): Likewise.
1580 (fmax_test): Likewise.
1581 (fmin_test): Likewise.
1582 (fmod_test): Likewise.
1583 (fpclassify_test): Likewise.
1584 (frexp_test): Likewise.
1585 (ilogb_test): Likewise.
1586 (isfinite_test): Likewise.
1587 (finite_test): Likewise.
1588 (isgreater_test): Likewise.
1589 (isgreaterequal_test): Likewise.
1590 (isinf_test): Likewise.
1591 (isless_test): Likewise.
1592 (islessequal_test): Likewise.
1593 (islessgreater_test): Likewise.
1594 (isnan_test): Likewise.
1595 (isnormal_test): Likewise.
1596 (issignaling_test): Likewise.
1597 (isunordered_test): Likewise.
1598 (logb_test): Likewise.
1599 (logb_downward_test_data): Remove.
1600 (logb_test_downward): Likewise.
1601 (lround_test): Use ALL_RM_TEST.
1602 (llround_test): Likewise.
1603 (modf_test): Likewise.
1604 (nexttoward_test): Likewise.
1605 (remainder_test): Likewise.
1606 (drem_test): Likewise.
1607 (remainder_tonearest_test_data): Likewise.
1608 (remainder_test_tonearest): Likewise.
1609 (drem_test_tonearest): Likewise.
1610 (remainder_towardzero_test_data): Likewise.
1611 (remainder_test_towardzero): Likewise.
1612 (drem_test_towardzero): Likewise.
1613 (remainder_downward_test_data): Likewise.
1614 (remainder_test_downward): Likewise.
1615 (drem_test_downward): Likewise.
1616 (remainder_upward_test_data): Likewise.
1617 (remainder_test_upward): Likewise.
1618 (drem_test_upward): Likewise.
1619 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
1620 (round_test): Use ALL_RM_TEST.
1621 (signbit_test): Likewise.
1622 (trunc_test): Likewise.
1623 (significand_test): Likewise.
1624 (main): Don't call removed functions.
1625
16262014-03-07 Joseph Myers <joseph@codesourcery.com>
1627
1628 [BZ #16674]
1629 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
1630 || __USE_XOPEN2K8].
1631 (ILL_ILLOPN): Likewise.
1632 (ILL_ILLADR): Likewise.
1633 (ILL_ILLTRP): Likewise.
1634 (ILL_PRVOPC): Likewise.
1635 (ILL_PRVREG): Likewise.
1636 (ILL_COPROC): Likewise.
1637 (ILL_BADSTK): Likewise.
1638 (FPE_INTDIV): Likewise.
1639 (FPE_INTOVF): Likewise.
1640 (FPE_FLTDIV): Likewise.
1641 (FPE_FLTOVF): Likewise.
1642 (FPE_FLTUND): Likewise.
1643 (FPE_FLTRES): Likewise.
1644 (FPE_FLTINV): Likewise.
1645 (FPE_FLTSUB): Likewise.
1646 (SEGV_MAPERR): Likewise.
1647 (SEGV_ACCERR): Likewise.
1648 (BUS_ADRALN): Likewise.
1649 (BUS_ADRERR): Likewise.
1650 (BUS_OBJERR): Likewise.
1651 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1652 (TRAP_TRACE): Likewise.
1653 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1654 __USE_XOPEN2K8].
1655 (CLD_KILLED): Likewise.
1656 (CLD_DUMPED): Likewise.
1657 (CLD_TRAPPED): Likewise.
1658 (CLD_STOPPED): Likewise.
1659 (CLD_CONTINUED): Likewise.
1660 (POLL_IN): Likewise.
1661 (POLL_OUT): Likewise.
1662 (POLL_MSG): Likewise.
1663 (POLL_ERR): Likewise.
1664 (POLL_PRI): Likewise.
1665 (POLL_HUP): Likewise.
1666 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
1667 Likewise.
1668 (ILL_ILLOPN): Likewise.
1669 (ILL_ILLADR): Likewise.
1670 (ILL_ILLTRP): Likewise.
1671 (ILL_PRVOPC): Likewise.
1672 (ILL_PRVREG): Likewise.
1673 (ILL_COPROC): Likewise.
1674 (ILL_BADSTK): Likewise.
1675 (FPE_INTDIV): Likewise.
1676 (FPE_INTOVF): Likewise.
1677 (FPE_FLTDIV): Likewise.
1678 (FPE_FLTOVF): Likewise.
1679 (FPE_FLTUND): Likewise.
1680 (FPE_FLTRES): Likewise.
1681 (FPE_FLTINV): Likewise.
1682 (FPE_FLTSUB): Likewise.
1683 (SEGV_MAPERR): Likewise.
1684 (SEGV_ACCERR): Likewise.
1685 (BUS_ADRALN): Likewise.
1686 (BUS_ADRERR): Likewise.
1687 (BUS_OBJERR): Likewise.
1688 (BUS_MCEERR_AR): Likewise.
1689 (BUS_MCEERR_AO): Likewise.
1690 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1691 (TRAP_TRACE): Likewise.
1692 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1693 __USE_XOPEN2K8].
1694 (CLD_KILLED): Likewise.
1695 (CLD_DUMPED): Likewise.
1696 (CLD_TRAPPED): Likewise.
1697 (CLD_STOPPED): Likewise.
1698 (CLD_CONTINUED): Likewise.
1699 (POLL_IN): Likewise.
1700 (POLL_OUT): Likewise.
1701 (POLL_MSG): Likewise.
1702 (POLL_ERR): Likewise.
1703 (POLL_PRI): Likewise.
1704 (POLL_HUP): Likewise.
1705 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
1706 (ILL_ILLOPN): Likewise.
1707 (ILL_ILLADR): Likewise.
1708 (ILL_ILLTRP): Likewise.
1709 (ILL_PRVOPC): Likewise.
1710 (ILL_PRVREG): Likewise.
1711 (ILL_COPROC): Likewise.
1712 (ILL_BADSTK): Likewise.
1713 (FPE_INTDIV): Likewise.
1714 (FPE_INTOVF): Likewise.
1715 (FPE_FLTDIV): Likewise.
1716 (FPE_FLTOVF): Likewise.
1717 (FPE_FLTUND): Likewise.
1718 (FPE_FLTRES): Likewise.
1719 (FPE_FLTINV): Likewise.
1720 (FPE_FLTSUB): Likewise.
1721 (SEGV_MAPERR): Likewise.
1722 (SEGV_ACCERR): Likewise.
1723 (BUS_ADRALN): Likewise.
1724 (BUS_ADRERR): Likewise.
1725 (BUS_OBJERR): Likewise.
1726 (BUS_MCEERR_AR): Likewise.
1727 (BUS_MCEERR_AO): Likewise.
1728 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1729 (TRAP_TRACE): Likewise.
1730 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1731 __USE_XOPEN2K8].
1732 (CLD_KILLED): Likewise.
1733 (CLD_DUMPED): Likewise.
1734 (CLD_TRAPPED): Likewise.
1735 (CLD_STOPPED): Likewise.
1736 (CLD_CONTINUED): Likewise.
1737 (POLL_IN): Likewise.
1738 (POLL_OUT): Likewise.
1739 (POLL_MSG): Likewise.
1740 (POLL_ERR): Likewise.
1741 (POLL_PRI): Likewise.
1742 (POLL_HUP): Likewise.
1743 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
1744 Likewise.
1745 (ILL_ILLOPN): Likewise.
1746 (ILL_ILLADR): Likewise.
1747 (ILL_ILLTRP): Likewise.
1748 (ILL_PRVOPC): Likewise.
1749 (ILL_PRVREG): Likewise.
1750 (ILL_COPROC): Likewise.
1751 (ILL_BADSTK): Likewise.
1752 (ILL_BADIADDR): Likewise.
1753 (ILL_BREAK): Likewise.
1754 (FPE_INTDIV): Likewise.
1755 (FPE_INTOVF): Likewise.
1756 (FPE_FLTDIV): Likewise.
1757 (FPE_FLTOVF): Likewise.
1758 (FPE_FLTUND): Likewise.
1759 (FPE_FLTRES): Likewise.
1760 (FPE_FLTINV): Likewise.
1761 (FPE_FLTSUB): Likewise.
1762 (FPE_DECOVF): Likewise.
1763 (FPE_DECDIV): Likewise.
1764 (FPE_DECERR): Likewise.
1765 (FPE_INVASC): Likewise.
1766 (FPE_INVDEC): Likewise.
1767 (SEGV_MAPERR): Likewise.
1768 (SEGV_ACCERR): Likewise.
1769 (SEGV_PSTKOVF): Likewise.
1770 (BUS_ADRALN): Likewise.
1771 (BUS_ADRERR): Likewise.
1772 (BUS_OBJERR): Likewise.
1773 (BUS_MCEERR_AR): Likewise.
1774 (BUS_MCEERR_AO): Likewise.
1775 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1776 (TRAP_TRACE): Likewise.
1777 (TRAP_BRANCH): Likewise.
1778 (TRAP_HWBKPT): Likewise.
1779 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1780 __USE_XOPEN2K8].
1781 (CLD_KILLED): Likewise.
1782 (CLD_DUMPED): Likewise.
1783 (CLD_TRAPPED): Likewise.
1784 (CLD_STOPPED): Likewise.
1785 (CLD_CONTINUED): Likewise.
1786 (POLL_IN): Likewise.
1787 (POLL_OUT): Likewise.
1788 (POLL_MSG): Likewise.
1789 (POLL_ERR): Likewise.
1790 (POLL_PRI): Likewise.
1791 (POLL_HUP): Likewise.
1792 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
1793 (ILL_ILLOPN): Likewise.
1794 (ILL_ILLADR): Likewise.
1795 (ILL_ILLTRP): Likewise.
1796 (ILL_PRVOPC): Likewise.
1797 (ILL_PRVREG): Likewise.
1798 (ILL_COPROC): Likewise.
1799 (ILL_BADSTK): Likewise.
1800 (FPE_INTDIV): Likewise.
1801 (FPE_INTOVF): Likewise.
1802 (FPE_FLTDIV): Likewise.
1803 (FPE_FLTOVF): Likewise.
1804 (FPE_FLTUND): Likewise.
1805 (FPE_FLTRES): Likewise.
1806 (FPE_FLTINV): Likewise.
1807 (FPE_FLTSUB): Likewise.
1808 (SEGV_MAPERR): Likewise.
1809 (SEGV_ACCERR): Likewise.
1810 (BUS_ADRALN): Likewise.
1811 (BUS_ADRERR): Likewise.
1812 (BUS_OBJERR): Likewise.
1813 (BUS_MCEERR_AR): Likewise.
1814 (BUS_MCEERR_AO): Likewise.
1815 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1816 (TRAP_TRACE): Likewise.
1817 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1818 __USE_XOPEN2K8].
1819 (CLD_KILLED): Likewise.
1820 (CLD_DUMPED): Likewise.
1821 (CLD_TRAPPED): Likewise.
1822 (CLD_STOPPED): Likewise.
1823 (CLD_CONTINUED): Likewise.
1824 (POLL_IN): Likewise.
1825 (POLL_OUT): Likewise.
1826 (POLL_MSG): Likewise.
1827 (POLL_ERR): Likewise.
1828 (POLL_PRI): Likewise.
1829 (POLL_HUP): Likewise.
1830 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
1831 (ILL_ILLOPN): Likewise.
1832 (ILL_ILLADR): Likewise.
1833 (ILL_ILLTRP): Likewise.
1834 (ILL_PRVOPC): Likewise.
1835 (ILL_PRVREG): Likewise.
1836 (ILL_COPROC): Likewise.
1837 (ILL_BADSTK): Likewise.
1838 (FPE_INTDIV): Likewise.
1839 (FPE_INTOVF): Likewise.
1840 (FPE_FLTDIV): Likewise.
1841 (FPE_FLTOVF): Likewise.
1842 (FPE_FLTUND): Likewise.
1843 (FPE_FLTRES): Likewise.
1844 (FPE_FLTINV): Likewise.
1845 (FPE_FLTSUB): Likewise.
1846 (SEGV_MAPERR): Likewise.
1847 (SEGV_ACCERR): Likewise.
1848 (BUS_ADRALN): Likewise.
1849 (BUS_ADRERR): Likewise.
1850 (BUS_OBJERR): Likewise.
1851 (BUS_MCEERR_AR): Likewise.
1852 (BUS_MCEERR_AO): Likewise.
1853 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1854 (TRAP_TRACE): Likewise.
1855 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1856 __USE_XOPEN2K8].
1857 (CLD_KILLED): Likewise.
1858 (CLD_DUMPED): Likewise.
1859 (CLD_TRAPPED): Likewise.
1860 (CLD_STOPPED): Likewise.
1861 (CLD_CONTINUED): Likewise.
1862 (POLL_IN): Likewise.
1863 (POLL_OUT): Likewise.
1864 (POLL_MSG): Likewise.
1865 (POLL_ERR): Likewise.
1866 (POLL_PRI): Likewise.
1867 (POLL_HUP): Likewise.
1868 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
1869 (ILL_ILLOPN): Likewise.
1870 (ILL_ILLADR): Likewise.
1871 (ILL_ILLTRP): Likewise.
1872 (ILL_PRVOPC): Likewise.
1873 (ILL_PRVREG): Likewise.
1874 (ILL_COPROC): Likewise.
1875 (ILL_BADSTK): Likewise.
1876 (FPE_INTDIV): Likewise.
1877 (FPE_INTOVF): Likewise.
1878 (FPE_FLTDIV): Likewise.
1879 (FPE_FLTOVF): Likewise.
1880 (FPE_FLTUND): Likewise.
1881 (FPE_FLTRES): Likewise.
1882 (FPE_FLTINV): Likewise.
1883 (FPE_FLTSUB): Likewise.
1884 (SEGV_MAPERR): Likewise.
1885 (SEGV_ACCERR): Likewise.
1886 (BUS_ADRALN): Likewise.
1887 (BUS_ADRERR): Likewise.
1888 (BUS_OBJERR): Likewise.
1889 (BUS_MCEERR_AR): Likewise.
1890 (BUS_MCEERR_AO): Likewise.
1891 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1892 (TRAP_TRACE): Likewise.
1893 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1894 __USE_XOPEN2K8].
1895 (CLD_KILLED): Likewise.
1896 (CLD_DUMPED): Likewise.
1897 (CLD_TRAPPED): Likewise.
1898 (CLD_STOPPED): Likewise.
1899 (CLD_CONTINUED): Likewise.
1900 (POLL_IN): Likewise.
1901 (POLL_OUT): Likewise.
1902 (POLL_MSG): Likewise.
1903 (POLL_ERR): Likewise.
1904 (POLL_PRI): Likewise.
1905 (POLL_HUP): Likewise.
1906 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
1907 (ILL_ILLOPN): Likewise.
1908 (ILL_ILLADR): Likewise.
1909 (ILL_ILLTRP): Likewise.
1910 (ILL_PRVOPC): Likewise.
1911 (ILL_PRVREG): Likewise.
1912 (ILL_COPROC): Likewise.
1913 (ILL_BADSTK): Likewise.
1914 (ILL_DBLFLT): Likewise.
1915 (ILL_HARDWALL): Likewise.
1916 (FPE_INTDIV): Likewise.
1917 (FPE_INTOVF): Likewise.
1918 (FPE_FLTDIV): Likewise.
1919 (FPE_FLTOVF): Likewise.
1920 (FPE_FLTUND): Likewise.
1921 (FPE_FLTRES): Likewise.
1922 (FPE_FLTINV): Likewise.
1923 (FPE_FLTSUB): Likewise.
1924 (SEGV_MAPERR): Likewise.
1925 (SEGV_ACCERR): Likewise.
1926 (BUS_ADRALN): Likewise.
1927 (BUS_ADRERR): Likewise.
1928 (BUS_OBJERR): Likewise.
1929 (BUS_MCEERR_AR): Likewise.
1930 (BUS_MCEERR_AO): Likewise.
1931 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1932 (TRAP_TRACE): Likewise.
1933 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1934 __USE_XOPEN2K8].
1935 (CLD_KILLED): Likewise.
1936 (CLD_DUMPED): Likewise.
1937 (CLD_TRAPPED): Likewise.
1938 (CLD_STOPPED): Likewise.
1939 (CLD_CONTINUED): Likewise.
1940 (POLL_IN): Likewise.
1941 (POLL_OUT): Likewise.
1942 (POLL_MSG): Likewise.
1943 (POLL_ERR): Likewise.
1944 (POLL_PRI): Likewise.
1945 (POLL_HUP): Likewise.
1946 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
1947 (ILL_ILLOPN): Likewise.
1948 (ILL_ILLADR): Likewise.
1949 (ILL_ILLTRP): Likewise.
1950 (ILL_PRVOPC): Likewise.
1951 (ILL_PRVREG): Likewise.
1952 (ILL_COPROC): Likewise.
1953 (ILL_BADSTK): Likewise.
1954 (FPE_INTDIV): Likewise.
1955 (FPE_INTOVF): Likewise.
1956 (FPE_FLTDIV): Likewise.
1957 (FPE_FLTOVF): Likewise.
1958 (FPE_FLTUND): Likewise.
1959 (FPE_FLTRES): Likewise.
1960 (FPE_FLTINV): Likewise.
1961 (FPE_FLTSUB): Likewise.
1962 (SEGV_MAPERR): Likewise.
1963 (SEGV_ACCERR): Likewise.
1964 (BUS_ADRALN): Likewise.
1965 (BUS_ADRERR): Likewise.
1966 (BUS_OBJERR): Likewise.
1967 (BUS_MCEERR_AR): Likewise.
1968 (BUS_MCEERR_AO): Likewise.
1969 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1970 (TRAP_TRACE): Likewise.
1971 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1972 __USE_XOPEN2K8].
1973 (CLD_KILLED): Likewise.
1974 (CLD_DUMPED): Likewise.
1975 (CLD_TRAPPED): Likewise.
1976 (CLD_STOPPED): Likewise.
1977 (CLD_CONTINUED): Likewise.
1978 (POLL_IN): Likewise.
1979 (POLL_OUT): Likewise.
1980 (POLL_MSG): Likewise.
1981 (POLL_ERR): Likewise.
1982 (POLL_PRI): Likewise.
1983 (POLL_HUP): Likewise.
1984 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
1985 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
1986
1987 [BZ #16670]
1988 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
1989 before #include of <time.h>.
1990 [!__USE_XOPEN2K] (__need_timespec): Likewise.
1991 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
1992 (test-xfail-UNIX98/sched.h/conform): Likewise.
1993
19942014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
1995
1996 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
1997 error absence of trapping exception support.
1998 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
1999
20002014-03-07 Joseph Myers <joseph@codesourcery.com>
2001
2002 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
2003 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
2004 * timezone/Makefile (testdata): Move definition above include of
2005 Rules.
2006 (test-zones): New variable.
2007 (tests-special): Add zone files.
2008 (build-testdata): Use $(evaluate-test).
2009
2010 * elf/Makefile (tests-special): Rename tests to end with .out.
2011 ($(objpfx)noload-mem): Likewise.
2012 ($(objpfx)tst-leaks1-mem): Likewise.
2013 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
2014 * iconv/Makefile (xtests-special): Change test-iconvconfig to
2015 $(objpfx)test-iconvconfig.out.
2016 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
2017 set -e inside subshell and redirect output to file.
2018 * iconvdata/Makefile (generated): Rename tests to end with .out.
2019 Correct type.
2020 (tests-special): Rename tests to end with .out.
2021 ($(objpfx)mtrace-tst-loading): Likewise.
2022 * intl/Makefile (generated): Likewise.
2023 (tests-special): Likewise.
2024 ($(objpfx)mtrace-tst-gettext): Likewise.
2025 * misc/Makefile (generated): Likewise.
2026 (tests-special): Likewise.
2027 ($(objpfx)tst-error1-mem): Likewise.
2028 * nptl/Makefile (tests-special): Likewise.
2029 ($(objpfx)tst-stack3-mem): Likewise.
2030 (generated): Likewise.
2031 * posix/Makefile (generated): Likewise.
2032 (tests-special): Likewise.
2033 (xtests-special): Likewise.
2034 ($(objpfx)tst-fnmatch-mem): Likewise.
2035 ($(objpfx)bug-regex2-mem): Likewise.
2036 ($(objpfx)bug-regex14-mem): Likewise.
2037 ($(objpfx)bug-regex21-mem): Likewise.
2038 ($(objpfx)bug-regex31-mem): Likewise.
2039 ($(objpfx)tst-vfork3-mem): Likewise.
2040 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
2041 ($(objpfx)tst-pcre-mem): Likewise.
2042 ($(objpfx)tst-boost-mem): Likewise.
2043 ($(objpfx)bug-ga2-mem): Likewise.
2044 ($(objpfx)bug-glob2-mem): Likewise.
2045 * resolv/Makefile (generate): Likewise.
2046 (tests-special): Likewise.
2047 (xtests-special): Likewise.
2048 (generated): Likewise.
2049 ($(objpfx)mtrace-tst-leaks): Likewise.
2050 ($(objpfx)mtrace-tst-leaks2): Likewise.
2051
2052 * scripts/merge-test-results.sh: New file.
2053 * Makefile (tests-special-notdir): New variable.
2054 (tests): Run merge-test-results.sh.
2055 (xtests): Likewise.
2056 * Rules (tests-special-notdir): New variable.
2057 (xtests-special-notdir): Likewise.
2058 (tests): Run merge-test-results.sh
2059 (xtests): Likewise.
2060
2061 * Makeconfig (test-xfail-name): New variable.
2062 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
2063 compute variable name for expected failures.
2064 * conform/Makefile (conformtest-headers-data): New variable.
2065 (conformtest-standards): Likewise.
2066 (conformtest-headers-ISO): Likewise.
2067 (conformtest-headers-ISO99): Likewise.
2068 (conformtest-headers-ISO11): Likewise.
2069 (conformtest-headers-POSIX): Likewise.
2070 (conformtest-headers-XPG3): Likewise.
2071 (conformtest-headers-XPG4): Likewise.
2072 (conformtest-headers-UNIX98): Likewise.
2073 (conformtest-headers-XOPEN2K): Likewise.
2074 (conformtest-headers-POSIX2008): Likewise.
2075 (conformtest-headers-XOPEN2K8): Likewise.
2076 (conformtest-header-list-base): Likewise.
2077 (conformtest-header-list-tests): Likewise.
2078 (conformtest-header-base): Likewise.
2079 (conformtest-header-tests): Likewise.
2080 (tests-special): Add $(conformtest-header-list-tests). If
2081 [$(fast-check) && !$(cross-compiling)], add
2082 $(conformtest-header-tests) instead of
2083 $(objpfx)run-conformtest.out.
2084 (generated): Add $(conformtest-header-list-base). If
2085 [$(fast-check) && !$(cross-compiling)], add
2086 $(conformtest-header-base). Remove previous setting.
2087 ($(conformtest-header-list-tests)): New target.
2088 (test-xfail-run-conformtest): Remove variable.
2089 ($(objpfx)run-conformtest.out): Remove target.
2090 (test-xfail-ISO11/complex.h/conform): New variable.
2091 (test-xfail-ISO11/stdalign.h/conform): Likewise.
2092 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
2093 (test-xfail-XPG3/varargs.h/conform): Likewise.
2094 (test-xfail-XPG4/varargs.h/conform): Likewise.
2095 (test-xfail-UNIX98/varargs.h/conform): Likewise.
2096 (test-xfail-XPG4/ndbm.h/conform): Likewise.
2097 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
2098 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
2099 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
2100 (test-xfail-XPG3/fcntl.h/conform): Likewise.
2101 (test-xfail-XPG3/ftw.h/conform): Likewise.
2102 (test-xfail-XPG3/grp.h/conform): Likewise.
2103 (test-xfail-XPG3/langinfo.h/conform): Likewise.
2104 (test-xfail-XPG3/limits.h/conform): Likewise.
2105 (test-xfail-XPG3/pwd.h/conform): Likewise.
2106 (test-xfail-XPG3/search.h/conform): Likewise.
2107 (test-xfail-XPG3/signal.h/conform): Likewise.
2108 (test-xfail-XPG3/stdio.h/conform): Likewise.
2109 (test-xfail-XPG3/stdlib.h/conform): Likewise.
2110 (test-xfail-XPG3/string.h/conform): Likewise.
2111 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
2112 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
2113 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
2114 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
2115 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
2116 (test-xfail-XPG3/sys/types.h/conform): Likewise.
2117 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
2118 (test-xfail-XPG3/termios.h/conform): Likewise.
2119 (test-xfail-XPG3/time.h/conform): Likewise.
2120 (test-xfail-XPG3/unistd.h/conform): Likewise.
2121 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
2122 (test-xfail-XPG4/fcntl.h/conform): Likewise.
2123 (test-xfail-XPG4/langinfo.h/conform): Likewise.
2124 (test-xfail-XPG4/netdb.h/conform): Likewise.
2125 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
2126 (test-xfail-XPG4/signal.h/conform): Likewise.
2127 (test-xfail-XPG4/stdio.h/conform): Likewise.
2128 (test-xfail-XPG4/stdlib.h/conform): Likewise.
2129 (test-xfail-XPG4/stropts.h/conform): Likewise.
2130 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
2131 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
2132 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
2133 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
2134 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
2135 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
2136 (test-xfail-XPG4/sys/time.h/conform): Likewise.
2137 (test-xfail-XPG4/sys/types.h/conform): Likewise.
2138 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
2139 (test-xfail-XPG4/termios.h/conform): Likewise.
2140 (test-xfail-XPG4/ucontext.h/conform): Likewise.
2141 (test-xfail-XPG4/unistd.h/conform): Likewise.
2142 (test-xfail-XPG4/utmpx.h/conform): Likewise.
2143 (test-xfail-POSIX/sched.h/conform): Likewise.
2144 (test-xfail-POSIX/signal.h/conform): Likewise.
2145 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
2146 (test-xfail-POSIX/tar.h/conform): Likewise.
2147 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
2148 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
2149 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
2150 (test-xfail-UNIX98/netdb.h/conform): Likewise.
2151 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
2152 (test-xfail-UNIX98/sched.h/conform): Likewise.
2153 (test-xfail-UNIX98/signal.h/conform): Likewise.
2154 (test-xfail-UNIX98/stdio.h/conform): Likewise.
2155 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
2156 (test-xfail-UNIX98/stropts.h/conform): Likewise.
2157 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
2158 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
2159 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
2160 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
2161 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
2162 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
2163 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
2164 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
2165 (test-xfail-UNIX98/unistd.h/conform): Likewise.
2166 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
2167 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
2168 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
2169 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
2170 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
2171 (test-xfail-XOPEN2K/math.h/conform): Likewise.
2172 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
2173 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
2174 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
2175 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
2176 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
2177 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
2178 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
2179 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
2180 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
2181 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
2182 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
2183 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
2184 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
2185 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
2186 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
2187 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
2188 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
2189 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
2190 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
2191 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
2192 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
2193 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
2194 (test-xfail-POSIX2008/signal.h/conform): Likewise.
2195 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
2196 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
2197 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
2198 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
2199 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
2200 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
2201 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
2202 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
2203 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
2204 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
2205 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
2206 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
2207 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
2208 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
2209 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
2210 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
2211 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
2212 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
2213 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
2214 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
2215 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
2216 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
2217 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
2218 (conformtest-cc-flags): Likewise.
2219 ($(conformtest-header-tests): New target.
2220 * conform/check-header-lists.sh: New file.
2221 * conform/run-conformtest.sh: Remove.
2222
2223 * conform/conformtest.pl: Allow ' and \ in values given for
2224 constants.
2225 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
2226 inclusion.
2227 [POSIX] (sys/types.h): Likewise.
2228 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
2229 inclusion.
2230 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
2231 inclusion.
2232 * conform/data/signal.h-data (SIGIO): Remove expectation.
2233 [XPG3] (SIGBUS): Do not expect.
2234 [POSIX || XPG3] (SIGPOLL): Likewise.
2235 [POSIX || XPG3] (SIGPROF): Likewise.
2236 [POSIX || XPG3] (SIGSYS): Likewise.
2237 [XPG3] (SIGTRAP): Likewise.
2238 [POSIX || XPG3] (SIGURG): Likewise.
2239 [POSIX || XPG3] (SIGVTALRM): Likewise.
2240 [POSIX || XPG3] (SIGXCPU): Likewise.
2241 [POSIX || XPG3] (SIGXFSZ): Likewise.
2242 [POSIX] (SA_SIGINFO): Expect.
2243 [XPG3] (siginfo_t): Do not expect type or contents.
2244 [POSIX] (si_pid): Do not expect element.
2245 [POSIX] (si_uid): Likewise.
2246 [POSIX] (si_addr): Likewise.
2247 [POSIX] (si_status): Likewise.
2248 [POSIX] (si_band): Likewise.
2249 [XPG4] (si_value): Likewise.
2250 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
2251 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
2252 [POSIX || XPG3] (ILL_ILLADR): Likewise.
2253 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
2254 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
2255 [POSIX || XPG3] (ILL_PRVREG): Likewise.
2256 [POSIX || XPG3] (ILL_COPROC): Likewise.
2257 [POSIX || XPG3] (ILL_BADSTK): Likewise.
2258 [POSIX || XPG3] (FPE_INTDIV): Likewise.
2259 [POSIX || XPG3] (FPE_INTOVF): Likewise.
2260 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
2261 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
2262 [POSIX || XPG3] (FPE_FLTUND): Likewise.
2263 [POSIX || XPG3] (FPE_FLTRES): Likewise.
2264 [POSIX || XPG3] (FPE_FLTINV): Likewise.
2265 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
2266 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
2267 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
2268 [POSIX || XPG3] (BUS_ADRALN): Likewise.
2269 [POSIX || XPG3] (BUS_ADRERR): Likewise.
2270 [POSIX || XPG3] (BUS_OBJERR): Likewise.
2271 [POSIX || XPG3] (CLD_EXITED): Likewise.
2272 [POSIX || XPG3] (CLD_KILLED): Likewise.
2273 [POSIX || XPG3] (CLD_DUMPED): Likewise.
2274 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
2275 [POSIX || XPG3] (CLD_STOPPED): Likewise.
2276 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
2277 [POSIX || XPG3] (POLL_IN): Likewise.
2278 [POSIX || XPG3] (POLL_OUT): Likewise.
2279 [POSIX || XPG3] (POLL_MSG): Likewise.
2280 [POSIX || XPG3] (POLL_ERR): Likewise.
2281 [POSIX || XPG3] (POLL_PRI): Likewise.
2282 [POSIX || XPG3] (POLL_HUP): Likewise.
2283 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
2284 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
2285 (SIG*): Do not allow.
2286 [XPG3] (si_*): Likewise.
2287 [XPG3] (SI_*): Likewise.
2288 [XPG3 || XPG4] (sigev_*): Likewise.
2289 [XPG3 || XPG4] (SIGEV_*): Likewise.
2290 [XPG3 || XPG4] (sival_*): Likewise.
2291 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
2292 [POSIX || XPG3] (BUS_*): Likewise.
2293 [POSIX || XPG3] (CLD_*): Likewise.
2294 [POSIX || XPG3] (FPE_*): Likewise.
2295 [POSIX || XPG3] (ILL_*): Likewise.
2296 [POSIX || XPG3] (POLL_*): Likewise.
2297 [POSIX || XPG3] (SEGV_*): Likewise.
2298 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
2299 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
2300 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
2301 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
2302 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
2303 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
2304 Specify type and value.
2305 (TVERSLEN): Likewise.
2306 (REGTYPE): Likewise.
2307 (AREGTYPE): Likewise.
2308 (LNKTYPE): Likewise.
2309 (SYMTYPE): Likewise.
2310 (CHRTYPE): Likewise.
2311 (BLKTYPE): Likewise.
2312 (DIRTYPE): Likewise.
2313 (FIFOTYPE): Likewise.
2314 (CONTTYPE): Likewise.
2315 (TSUID): Likewise.
2316 (TSGID): Likewise.
2317 (TSVTX): Likewise.
2318 (TUREAD): Likewise.
2319 (TUWRITE): Likewise.
2320 (TUEXEC): Likewise.
2321 (TGREAD): Likewise.
2322 (TGWRITE): Likewise.
2323 (TGEXEC): Likewise.
2324 (TOREAD): Likewise.
2325 (TOWRITE): Likewise.
2326 (TOEXEC): Likewise.
2327 [POSIX] (TSVTX): Expect constant.
2328
23292014-03-06 Joseph Myers <joseph@codesourcery.com>
2330
2331 * Makefile (tests): Change dependencies to ....
2332 (tests-special): ... additions to this variable.
2333 (tests): Depend on $(tests-special).
2334 * Makerules (check-abi-list): New variable.
2335 (check-abi): Depend on $(check-abi-list).
2336 [$(subdir) = elf] (tests-special): Add
2337 $(objpfx)check-abi-libc.out.
2338 [$(build-shared) = yes && subdir] (tests-special): Add
2339 $(check-abi-list).
2340 [$(build-shared) = yes && subdir] (tests): Do not depend on
2341 check-abi.
2342 * Rules (tests): Depend on $(tests-special).
2343 (xtests): Depend on $(xtests-special).
2344 * catgets/Makefile (tests): Change dependencies to ....
2345 (tests-special): ... additions to this variable.
2346 * conform/Makefile (tests): Change dependencies to ....
2347 (tests-special): ... additions to this variable.
2348 * elf/Makefile (tests): Change dependencies to ....
2349 (tests-special): ... additions to this variable.
2350 * grp/Makefile (tests): Change dependencies to ....
2351 (tests-special): ... additions to this variable.
2352 * iconv/Makefile (xtests): Change dependencies to ....
2353 (xtests-special): ... additions to this variable.
2354 * iconvdata/Makefile (tests): Change dependencies to ....
2355 (tests-special): ... additions to this variable.
2356 * intl/Makefile (tests): Change dependencies to ....
2357 (tests-special): ... additions to this variable. Also add
2358 $(objpfx)tst-gettext.out.
2359 * io/Makefile (tests): Change dependencies to ....
2360 (tests-special): ... additions to this variable.
2361 * libio/Makefile (tests): Change dependencies to ....
2362 (tests-special): ... additions to this variable.
2363 * malloc/Makefile (tests): Change dependencies to ....
2364 (tests-special): ... additions to this variable.
2365 * misc/Makefile (tests): Change dependencies to ....
2366 (tests-special): ... additions to this variable.
2367 * nptl/Makefile (tests): Change dependencies to ....
2368 (tests-special): ... additions to this variable.
2369 * nptl_db/Makefile (tests): Change dependencies to ....
2370 (tests-special): ... additions to this variable.
2371 * posix/Makefile (tests): Change dependencies to ....
2372 (tests-special): ... additions to this variable.
2373 (xtests): Change dependencies to ....
2374 (xtests-special): ... additions to this variable.
2375 * resolv/Makefile (tests): Change dependencies to ....
2376 (tests-special): ... additions to this variable.
2377 (xtests): Change dependencies to ....
2378 (xtests-special): ... additions to this variable.
2379 * stdio-common/Makefile (tests): Change dependencies to ....
2380 (tests-special): ... additions to this variable.
2381 (do-tst-unbputc): Remove target.
2382 (do-tst-printf): Likewise.
2383 * stdlib/Makefile (tests): Change dependencies to ....
2384 (tests-special): ... additions to this variable.
2385 * string/Makefile (tests): Change dependencies to ....
2386 (tests-special): ... additions to this variable.
2387 * sysdeps/x86/Makefile (tests): Change dependencies to ....
2388 (tests-special): ... additions to this variable.
2389
2390 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
2391 whole file.
2392 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
2393 whole file.
2394 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
2395 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
2396
2397 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
2398 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
2399 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
2400 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
2401 * conform/data/libgen.h-data [XPG3]: Likewise.
2402 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
2403 * conform/data/ndbm.h-data [XPG3]: Likewise.
2404 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
2405 * conform/data/netdb.h-data [XPG3]: Likewise.
2406 * conform/data/netinet/in.h-data [XPG3]: Likewise.
2407 * conform/data/poll.h-data [XPG3]: Likewise.
2408 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
2409 * conform/data/strings.h-data [XPG3]: Likewise.
2410 * conform/data/stropts.h-data [XPG3]: Likewise.
2411 * conform/data/sys/mman.h-data [XPG3]: Likewise.
2412 * conform/data/sys/resource.h-data [XPG3]: Likewise.
2413 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
2414 Likewise.
2415 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
2416 * conform/data/sys/time.h-data [XPG3]: Likewise.
2417 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
2418 * conform/data/sys/uio.h-data [XPG3]: Likewise.
2419 * conform/data/sys/un.h-data [XPG3]: Likewise.
2420 * conform/data/syslog.h-data [XPG3]: Likewise.
2421 * conform/data/ucontext.h-data [XPG3]: Likewise.
2422 * conform/data/utmpx.h-data [XPG3]: Likewise.
2423 * conform/data/varargs.h-data [UNIX98]: Enable file.
2424
2425 * manual/Makefile (INSTALL_INFO): Remove variable setting.
2426
2427 * math/libm-test.inc (struct test_f_f_data): Move expected results
2428 into structure for each rounding mode.
2429 (struct test_ff_f_data): Likewise.
2430 (struct test_ff_f_data_nexttoward): Likewise.
2431 (struct test_fi_f_data): Likewise.
2432 (struct test_fl_f_data): Likewise.
2433 (struct test_if_f_data): Likewise.
2434 (struct test_fff_f_data): Likewise.
2435 (struct test_c_f_data): Likewise.
2436 (struct test_f_f1_data): Likewise.
2437 (struct test_fF_f1_data): Likewise.
2438 (struct test_ffI_f1_data): Likewise.
2439 (struct test_c_c_data): Likewise.
2440 (struct test_cc_c_data): Likewise.
2441 (struct test_f_i_data): Likewise.
2442 (struct test_ff_i_data): Likewise.
2443 (struct test_f_l_data): Likewise.
2444 (struct test_f_L_data): Likewise.
2445 (struct test_fFF_11_data): Likewise.
2446 (RM_): New macro.
2447 (RM_FE_DOWNWARD): Likewise.
2448 (RM_FE_TONEAREST): Likewise.
2449 (RM_FE_TOWARDZERO): Likewise.
2450 (RM_FE_UPWARD): Likewise.
2451 (RUN_TEST_LOOP_f_f): Update references to expected results.
2452 (RUN_TEST_LOOP_2_f): Likewise.
2453 (RUN_TEST_LOOP_fff_f): Likewise.
2454 (RUN_TEST_LOOP_c_f): Likewise.
2455 (RUN_TEST_LOOP_f_f1): Likewise.
2456 (RUN_TEST_LOOP_fF_f1): Likewise.
2457 (RUN_TEST_LOOP_fI_f1): Likewise.
2458 (RUN_TEST_LOOP_ffI_f1): Likewise.
2459 (RUN_TEST_LOOP_c_c): Likewise.
2460 (RUN_TEST_LOOP_cc_c): Likewise.
2461 (RUN_TEST_LOOP_f_i): Likewise.
2462 (RUN_TEST_LOOP_f_i_tg): Likewise.
2463 (RUN_TEST_LOOP_ff_i_tg): Likewise.
2464 (RUN_TEST_LOOP_f_b): Likewise.
2465 (RUN_TEST_LOOP_f_b_tg): Likewise.
2466 (RUN_TEST_LOOP_f_l): Likewise.
2467 (RUN_TEST_LOOP_f_L): Likewise.
2468 (RUN_TEST_LOOP_fFF_11): Likewise.
2469 * math/gen-libm-test.pl (parse_args): Output four copies of
2470 expected results for each test.
2471
2472 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2473 (__ASSUME_UTIMES): Remove.
2474 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2475 (__ASSUME_UTIMES): Likewise.
2476
2477 * math/gen-auto-libm-tests.c: Update comment on output format.
2478 (output_for_one_input_case): Generate before-rounding and
2479 after-rounding information as conditions on output flags not
2480 floating-point format.
2481 * math/auto-libm-test-out: Regenerated.
2482 * math/gen-libm-test.pl (cond_value): New function.
2483 (or_cond_value): Use cond_value.
2484 (generate_testfile): Handle conditional exceptions.
2485
24862014-03-05 Joseph Myers <joseph@codesourcery.com>
2487
2488 * math/libm-test.inc (max_valid_error): New variable.
2489 (init_max_error): Take new argument specifying whether function
2490 results are exactly determined. Set max_valid_error and bound
2491 other variables for errors based on this argument.
2492 (set_max_error): Do not record results above max_valid_error.
2493 (check_float_internal): Only accept errors of up to 0.5ulps if
2494 also at most max_valid_error.
2495 (START): Take new argument EXACT and pass it to init_max_error.
2496 (acos_test): Update call to START.
2497 (acos_test_tonearest): Likewise.
2498 (acos_test_towardzero): Likewise.
2499 (acos_test_downward): Likewise.
2500 (acos_test_upward): Likewise.
2501 (acosh_test): Likewise.
2502 (asin_test): Likewise.
2503 (asin_test_tonearest): Likewise.
2504 (asin_test_towardzero): Likewise.
2505 (asin_test_downward): Likewise.
2506 (asin_test_upward): Likewise.
2507 (asinh_test): Likewise.
2508 (atan_test): Likewise.
2509 (atanh_test): Likewise.
2510 (atan2_test): Likewise.
2511 (cabs_test): Likewise.
2512 (cacos_test): Likewise.
2513 (cacosh_test): Likewise.
2514 (carg_test): Likewise.
2515 (casin_test): Likewise.
2516 (casinh_test): Likewise.
2517 (catan_test): Likewise.
2518 (catanh_test): Likewise.
2519 (cbrt_test): Likewise.
2520 (ccos_test): Likewise.
2521 (ccosh_test): Likewise.
2522 (ceil_test): Likewise.
2523 (cexp_test): Likewise.
2524 (cimag_test): Likewise.
2525 (clog_test): Likewise.
2526 (clog10_test): Likewise.
2527 (conj_test): Likewise.
2528 (copysign_test): Likewise.
2529 (cos_test): Likewise.
2530 (cos_test_tonearest): Likewise.
2531 (cos_test_towardzero): Likewise.
2532 (cos_test_downward): Likewise.
2533 (cos_test_upward): Likewise.
2534 (cosh_test): Likewise.
2535 (cosh_test_tonearest): Likewise.
2536 (cosh_test_towardzero): Likewise.
2537 (cosh_test_downward): Likewise.
2538 (cosh_test_upward): Likewise.
2539 (cpow_test): Likewise.
2540 (cproj_test): Likewise.
2541 (creal_test): Likewise.
2542 (csin_test): Likewise.
2543 (csinh_test): Likewise.
2544 (csqrt_test): Likewise.
2545 (ctan_test): Likewise.
2546 (ctan_test_tonearest): Likewise.
2547 (ctan_test_towardzero): Likewise.
2548 (ctan_test_downward): Likewise.
2549 (ctan_test_upward): Likewise.
2550 (ctanh_test): Likewise.
2551 (ctanh_test_tonearest): Likewise.
2552 (ctanh_test_towardzero): Likewise.
2553 (ctanh_test_downward): Likewise.
2554 (ctanh_test_upward): Likewise.
2555 (erf_test): Likewise.
2556 (erfc_test): Likewise.
2557 (exp_test): Likewise.
2558 (exp_test_tonearest): Likewise.
2559 (exp_test_towardzero): Likewise.
2560 (exp_test_downward): Likewise.
2561 (exp_test_upward): Likewise.
2562 (exp10_test): Likewise.
2563 (exp10_test_tonearest): Likewise.
2564 (exp10_test_towardzero): Likewise.
2565 (exp10_test_downward): Likewise.
2566 (exp10_test_upward): Likewise.
2567 (pow10_test): Likewise.
2568 (exp2_test): Likewise.
2569 (expm1_test): Likewise.
2570 (expm1_test_tonearest): Likewise.
2571 (expm1_test_towardzero): Likewise.
2572 (expm1_test_downward): Likewise.
2573 (expm1_test_upward): Likewise.
2574 (fabs_test): Likewise.
2575 (fdim_test): Likewise.
2576 (floor_test): Likewise.
2577 (fma_test): Likewise.
2578 (fma_test_towardzero): Likewise.
2579 (fma_test_downward): Likewise.
2580 (fma_test_upward): Likewise.
2581 (fmax_test): Likewise.
2582 (fmin_test): Likewise.
2583 (fmod_test): Likewise.
2584 (fpclassify_test): Likewise.
2585 (frexp_test): Likewise.
2586 (hypot_test): Likewise.
2587 (ilogb_test): Likewise.
2588 (isfinite_test): Likewise.
2589 (finite_test): Likewise.
2590 (isgreater_test): Likewise.
2591 (isgreaterequal_test): Likewise.
2592 (isinf_test): Likewise.
2593 (isless_test): Likewise.
2594 (islessequal_test): Likewise.
2595 (islessgreater_test): Likewise.
2596 (isnan_test): Likewise.
2597 (isnormal_test): Likewise.
2598 (issignaling_test): Likewise.
2599 (isunordered_test): Likewise.
2600 (j0_test): Likewise.
2601 (j1_test): Likewise.
2602 (jn_test): Likewise.
2603 (ldexp_test): Likewise.
2604 (lgamma_test): Likewise.
2605 (gamma_test): Likewise.
2606 (lrint_test): Likewise.
2607 (lrint_test_tonearest): Likewise.
2608 (lrint_test_towardzero): Likewise.
2609 (lrint_test_downward): Likewise.
2610 (lrint_test_upward): Likewise.
2611 (llrint_test): Likewise.
2612 (llrint_test_tonearest): Likewise.
2613 (llrint_test_towardzero): Likewise.
2614 (llrint_test_downward): Likewise.
2615 (llrint_test_upward): Likewise.
2616 (log_test): Likewise.
2617 (log10_test): Likewise.
2618 (log1p_test): Likewise.
2619 (log2_test): Likewise.
2620 (logb_test): Likewise.
2621 (logb_test_downward): Likewise.
2622 (lround_test): Likewise.
2623 (llround_test): Likewise.
2624 (modf_test): Likewise.
2625 (nearbyint_test): Likewise.
2626 (nextafter_test): Likewise.
2627 (nexttoward_test): Likewise.
2628 (pow_test): Likewise.
2629 (pow_test_tonearest): Likewise.
2630 (pow_test_towardzero): Likewise.
2631 (pow_test_downward): Likewise.
2632 (pow_test_upward): Likewise.
2633 (remainder_test): Likewise.
2634 (drem_test): Likewise.
2635 (remainder_test_tonearest): Likewise.
2636 (drem_test_tonearest): Likewise.
2637 (remainder_test_towardzero): Likewise.
2638 (drem_test_towardzero): Likewise.
2639 (remainder_test_downward): Likewise.
2640 (drem_test_downward): Likewise.
2641 (remainder_test_upward): Likewise.
2642 (drem_test_upward): Likewise.
2643 (remquo_test): Likewise.
2644 (rint_test): Likewise.
2645 (rint_test_tonearest): Likewise.
2646 (rint_test_towardzero): Likewise.
2647 (rint_test_downward): Likewise.
2648 (rint_test_upward): Likewise.
2649 (round_test): Likewise.
2650 (scalb_test): Likewise.
2651 (scalbn_test): Likewise.
2652 (scalbln_test): Likewise.
2653 (signbit_test): Likewise.
2654 (sin_test): Likewise.
2655 (sin_test_tonearest): Likewise.
2656 (sin_test_towardzero): Likewise.
2657 (sin_test_downward): Likewise.
2658 (sin_test_upward): Likewise.
2659 (sincos_test): Likewise.
2660 (sinh_test): Likewise.
2661 (sinh_test_tonearest): Likewise.
2662 (sinh_test_towardzero): Likewise.
2663 (sinh_test_downward): Likewise.
2664 (sinh_test_upward): Likewise.
2665 (sqrt_test): Likewise.
2666 (sqrt_test_tonearest): Likewise.
2667 (sqrt_test_towardzero): Likewise.
2668 (sqrt_test_downward): Likewise.
2669 (sqrt_test_upward): Likewise.
2670 (tan_test): Likewise.
2671 (tan_test_tonearest): Likewise.
2672 (tan_test_towardzero): Likewise.
2673 (tan_test_downward): Likewise.
2674 (tan_test_upward): Likewise.
2675 (tanh_test): Likewise.
2676 (tgamma_test): Likewise.
2677 (trunc_test): Likewise.
2678 (y0_test): Likewise.
2679 (y1_test): Likewise.
2680 (yn_test): Likewise.
2681 (significand_test): Likewise.
2682
2683 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
2684 individual tests in comment.
2685 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
2686 (prev_max_error): New variable.
2687 (prev_real_max_error): Likewise.
2688 (prev_imag_max_error): Likewise.
2689 (compare_ulp_data): Don't refer to test names in comment.
2690 (find_test_ulps): Remove function.
2691 (find_function_ulps): Likewise.
2692 (find_complex_function_ulps): Likewise.
2693 (init_max_error): Take function name as argument. Look up ulps
2694 for that function.
2695 (print_ulps): Remove function.
2696 (print_max_error): Use prev_max_error instead of calling
2697 find_function_ulps.
2698 (print_complex_max_error): Use prev_real_max_error and
2699 prev_imag_max_error instead of calling find_complex_function_ulps.
2700 (check_float_internal): Take max_ulp parameter instead of calling
2701 find_test_ulps. Don't call print_ulps.
2702 (check_float): Update call to check_float_internal.
2703 (check_complex): Update calls to check_float_internal.
2704 (START): Pass argument to init_max_error.
2705 * math/gen-libm-test.pl (%results): Don't include "kind"
2706 information.
2707 (parse_ulps): Don't handle ulps of individual tests.
2708 (print_ulps_file): Likewise.
2709 (output_ulps): Likewise.
2710 * math/README.libm-test: Update.
2711 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
2712 individual tests.
2713 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
2714 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
2715 * sysdeps/arm/libm-test-ulps: Likewise.
2716 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
2717 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
2718 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
2719 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
2720 * sysdeps/microblaze/libm-test-ulps: Likewise.
2721 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
2722 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2723 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2724 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
2725 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2726 * sysdeps/sh/libm-test-ulps: Likewise.
2727 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2728 * sysdeps/tile/libm-test-ulps: Likewise.
2729 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2730
27312014-03-04 Joseph Myers <joseph@codesourcery.com>
2732
2733 * math/libm-test.inc (print_complex_max_error): Check separately
2734 whether real and imaginary errors are within allowed range and
2735 pass 0 to print_complex_function_ulps instead of value within
2736 allowed range.
2737
27382014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2739
2740 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
2741 formatting.
2742 (get_handles_fopen): Likewise.
2743 (do_write_test): Likewise.
2744
2745 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
2746
2747 * libio/fileops.c (do_ftell): Use cached offset when
2748 available.
2749 * libio/iofwide.c (do_ftell_wide): Likewise.
2750 * libio/iofdopen.c (_IO_new_fdopen): Don't use
2751 _IO_file_attach.
2752 * libio/wfileops.c (_IO_fwide): Don't cache offset.
2753
2754 [BZ #16532]
2755 * libio/libioP.h (get_file_offset): New function.
2756 * libio/fileops.c (get_file_offset): Likewise.
2757 (do_ftell): Likewise.
2758 (_IO_new_file_seekoff): Split out ftell logic.
2759 * libio/wfileops.c (do_ftell_wide): Likewise.
2760 (_IO_wfile_seekoff): Split out ftell logic.
2761 * libio/tst-ftell-active-handler.c: New test case.
2762 * libio/Makefile (tests): Add it.
2763
27642014-03-03 Roland McGrath <roland@hack.frob.com>
2765
2766 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
2767 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
2768
27692014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2770
2771 [BZ #16639]
2772 * nscd/connections.c (nscd_init): Call do_exit.
2773 (start_threads): Call do_exit and notify_parent.
2774 (begin_drop_privileges): Call do_exit.
2775 (finish_drop_privileges): Likewise.
2776 * nscd/selinux.c (preserve_capabilities): Likewise.
2777 (install_real_capabilities): Likewise.
2778 (nscd_selinux_enabled): Likewise.
2779 (avc_create_thread): Likewise.
2780 (avc_alloc_lock): Likewise.
2781 (nscd_avc_init): Likewise.
2782 * nscd/nscd.c (parent_fd): New static variable.
2783 (main): Create a pipe between parent and child processes.
2784 Skip closing parent_fd.
2785 (monitor_child): New function.
2786 (do_exit): Likewise.
2787 (notify_parent): Likewise.
2788 * nscd/nscd.h (notify_parent): Likewise.
2789 (do_exit): Likewise.
2790
27912014-03-03 Carlos O'Donell <carlos@redhat.com>
2792
2793 * malloc/malloc.c (__libc_calloc): Revert last change.
2794
27952014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2796
2797 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2798
27992014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2800
2801 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
2802 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
2803 implementation.
2804 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2805 (__libc_ifunc_impl_list): Likewise.
2806 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
2807 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
2808 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
2809 * string/strrchr.c: Define STRRCHR.
2810
28112014-02-28 Ondřej Bílka <neleai@seznam.cz>
2812
2813 * benchtest/bench-strtok.c (simple_strtok): Delete.
2814 (strtok_string): Use as benchmark.
2815 * string/strtok (STRTOK): New macro.
2816
28172014-02-28 Carlos O'Donell <carlos@redhat.com>
2818
2819 * manual/threads.texi: Add header and standard comments to all
2820 functions.
2821
2822 * elf/dl-lookup.c (check_match): New function.
2823 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
2824 (do_lookup_x): Remove nested function check_match. Use non-nested
2825 function check_match.
2826
28272014-02-28 Roland McGrath <roland@hack.frob.com>
2828
2829 * csu/Makefile (generated, before-compile): Use += rather than =.
2830 * catgets/Makefile (generated, generated-dirs): Likewise.
2831 * debug/Makefile (generated): Likewise.
2832 * dlfcn/Makefile (generated): Likewise.
2833 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
2834 * iconvdata/Makefile (before-compile, generated): Likewise.
2835 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
2836 * libio/Makefile (generated): Likewise.
2837 * malloc/Makefile (generated): Likewise.
2838 * manual/Makefile (generated, generated-dirs): Likewise.
2839 * misc/Makefile (generated): Likewise.
2840 * posix/Makefile (generated): Likewise.
2841 * resolv/Makefile (generated): Likewise.
2842 * sunrpc/Makefile (generated, generated-dirs): Likewise.
2843 * timezone/Makefile (generated, generated-dirs): Likewise.
2844
2845 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
2846
28472014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2848
2849 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround power8
2850 implementation.
2851 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New file:
2852 POWER8 llround ifunc implementation.
2853 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c (__lllround): Add
2854 POWER8 implementation.
2855 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
2856 POWER8 llround implementation.
2857
28582014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2859
2860 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint power8
2861 implementation.
2862 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New file:
2863 POWER8 llrint ifunc implementation.
2864 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint): Add
2865 POWER8 implementation.
2866 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
2867 POWER8 llrint implementation.
2868
28692014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2870
2871 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite power8
2872 implementation.
2873 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New file:
2874 POWER8 finite ifunc implementation.
2875 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite): Add
2876 POWER8 implementation.
2877 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
2878 Likewise.
2879 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
2880 POWER8 finite implementation.
2881 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
2882
28832014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2884
2885 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf power8
2886 implementation.
2887 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New file:
2888 POWER8 isinf ifunc implementation.
2889 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
2890 POWER8 implementation.
2891 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
2892 Likewise.
2893 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file:
2894 POWER8 isinf implementation.
2895 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
2896
28972014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2898
2899 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h (INIT_ARCH):
2900 Add hwcap2 initialization.
2901 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan power8
2902 implementation.
2903 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New file:
2904 POWER8 isnan ifunc implementation.
2905 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
2906 POWER8 implementation.
2907 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
2908 Likewise.
2909 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file:
2910 POWER8 isnan implementation.
2911 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
2912
29132014-02-27 Joey Ye <joey.ye@arm.com>
2914
2915 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
2916 (_FP_NANFRAC_Q): Set to zero.
2917
29182014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2919
2920 [BZ #16623]
2921 * math/auto-libm-test-in: New test inputs.
2922 * math/auto-libm-test-out: Regenerate.
2923 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
2924 and DA.
2925 (__cos): Likewise.
2926 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
2927
29282014-02-27 Joseph Myers <joseph@codesourcery.com>
2929
2930 * scripts/evaluate-test.sh: Take new argument indicating whether
2931 failure is expected.
2932 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
2933 indicating whether failure is expected.
2934 * conform/Makefile (test-xfail-run-conformtest): New variable.
2935 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
2936 level.
2937 * posix/Makefile (test-xfail-annexc): New variable.
2938 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
2939
29402014-02-26 Joseph Myers <joseph@codesourcery.com>
2941
2942 * argp/Makefile: Include Makeconfig immediately after defining
2943 subdir.
2944 * assert/Makefile: Likewise.
2945 * benchtests/Makefile: Likewise.
2946 * catgets/Makefile: Likewise.
2947 * conform/Makefile: Likewise.
2948 * crypt/Makefile: Likewise.
2949 * csu/Makefile: Likewise.
2950 (all): Remove target.
2951 * ctype/Makefile: Include Makeconfig immediately after defining
2952 subdir.
2953 * debug/Makefile: Likewise.
2954 * dirent/Makefile: Likewise.
2955 * dlfcn/Makefile: Likewise.
2956 * gmon/Makefile: Likewise.
2957 * gnulib/Makefile: Likewise.
2958 * grp/Makefile: Likewise.
2959 * gshadow/Makefile: Likewise.
2960 * hesiod/Makefile: Likewise.
2961 * hurd/Makefile: Likewise.
2962 (all): Remove target.
2963 * iconvdata/Makefile: Include Makeconfig immediately after
2964 defining subdir.
2965 * inet/Makefile: Likewise.
2966 * intl/Makefile: Likewise.
2967 * io/Makefile: Likewise.
2968 * libio/Makefile: Likewise.
2969 (all): Remove target.
2970 * locale/Makefile: Include Makeconfig immediately after defining
2971 subdir.
2972 * login/Makefile: Likewise.
2973 * mach/Makefile: Likewise.
2974 (all): Remove target.
2975 * malloc/Makefile: Include Makeconfig immediately after defining
2976 subdir.
2977 (all): Remove target.
2978 * manual/Makefile: Include Makeconfig immediately after defining
2979 subdir.
2980 * math/Makefile: Likewise.
2981 * misc/Makefile: Likewise.
2982 * nis/Makefile: Likewise.
2983 * nss/Makefile: Likewise.
2984 * po/Makefile: Likewise.
2985 (all): Remove target.
2986 * posix/Makefile: Include Makeconfig immediately after defining
2987 subdir.
2988 * pwd/Makefile: Likewise.
2989 * resolv/Makefile: Likewise.
2990 * resource/Makefile: Likewise.
2991 * rt/Makefile: Likewise.
2992 * setjmp/Makefile: Likewise.
2993 * shadow/Makefile: Likewise.
2994 * signal/Makefile: Likewise.
2995 * socket/Makefile: Likewise.
2996 * soft-fp/Makefile: Likewise.
2997 * stdio-common/Makefile: Likewise.
2998 * stdlib/Makefile: Likewise.
2999 * streams/Makefile: Likewise.
3000 * string/Makefile: Likewise.
3001 * sunrpc/Makefile: Likewise.
3002 (all): Remove target.
3003 * sysvipc/Makefile: Include Makeconfig immediately after defining
3004 subdir.
3005 * termios/Makefile: Likewise.
3006 * time/Makefile: Likewise.
3007 * timezone/Makefile: Likewise.
3008 (all): Remove target.
3009 * wcsmbs/Makefile: Include Makeconfig immediately after defining
3010 subdir.
3011 * wctype/Makefile: Likewise.
3012
30132014-02-26 Steve Ellcey <sellcey@mips.com>
3014
3015 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
3016 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
3017 (libc_feholdexcept_setround_mips): Ditto.
3018 (libc_feholdsetround): New.
3019 (libc_feholdsetroundf): New.
3020 (libc_feholdsetroundl): New.
3021 (libc_feupdateenv_test_mips): New.
3022 (libc_feupdateenv_test): New.
3023 (libc_feupdateenv_testf): New.
3024 (libc_feupdateenv_testl): New.
3025 (libc_feresetround): New.
3026 (libc_feresetroundf): New.
3027 (libc_feresetroundl): New.
3028 (libc_fetestexcept_mips): New.
3029 (libc_fetestexcept): New.
3030 (libc_fetestexceptf): New.
3031 (libc_fetestexceptl): New.
3032 (HAVE_RM_CTX): New.
3033 (libc_feholdexcept_setround_mips_ctx): New.
3034 (libc_feholdexcept_setround_ctx): New.
3035 (libc_feholdexcept_setroundf_ctx): New.
3036 (libc_feholdexcept_setroundl_ctx): New.
3037 (libc_fesetenv_mips_ctx): New.
3038 (libc_fesetenv_ctx): New.
3039 (libc_fesetenv_ctxf): New.
3040 (libc_fesetenv_ctxl): New.
3041 (libc_feupdateenv_mips_ctx): New.
3042 (libc_feupdateenv_ctx): New.
3043 (libc_feupdateenvf_ctx): New.
3044 (libc_feupdateenvl_ctx): New.
3045 (libc_feholdsetround_mips_ctx): New.
3046 (libc_feholdsetround_ctx): New.
3047 (libc_feholdsetroundf_ctx): New.
3048 (libc_feholdsetroundl_ctx): New.
3049 (libc_feresetround_mips_ctx): New.
3050 (libc_feresetround_ctx): New.
3051 (libc_feresetroundf_ctx): New.
3052 (libc_feresetroundl_ctx): New.
3053
30542014-02-26 Carlos O'Donell <carlos@redhat.com>
3055
3056 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
3057
3058 * manual/ipc.texi: New file.
3059 * manual/Makefile (chapters): Add ipc.
3060 * manual/job.texi: Add "Inter-Process Communication" to next.
3061 * manual/process.texi: Add "Inter-Process Communication" to prev.
3062
30632014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3064
3065 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3066
30672014-02-26 Ondřej Bílka <neleai@seznam.cz>
3068
3069 * malloc/malloc.c (__libc_calloc): Simplify implementation.
3070
3071 * manual/arith.texi: Fix spaces after sentences.
3072 * manual/charset.texi: Likewise.
3073 * manual/errno.texi: Likewise.
3074 * manual/install.texi: Likewise.
3075 * manual/llio.texi: Likewise.
3076 * manual/locale.texi: Likewise.
3077 * manual/maint.texi: Likewise.
3078 * manual/math.texi: Likewise.
3079 * manual/memory.texi: Likewise.
3080 * manual/message.texi: Likewise.
3081 * manual/probes.texi: Likewise.
3082 * manual/resource.texi: Likewise.
3083 * manual/signal.texi: Likewise.
3084 * manual/socket.texi: Likewise.
3085 * manual/stdio.texi: Likewise.
3086 * manual/string.texi: Likewise.
3087 * manual/time.texi: Likewise.
3088 * manual/users.texi: Likewise.
3089
30902014-02-25 Carlos O'Donell <carlos@redhat.com>
3091
3092 [BZ #16632]
3093 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
3094 _DEFAULT_SOURCE is defined.
3095
30962014-02-25 Ulrich Drepper <drepper@gmail.com>
3097 Carlos O'Donell <carlos@redhat.com>
3098
3099 [BZ #16613]
3100 * elf/dl-tls.c (_dl_count_modids): New function.
3101 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
3102 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
3103 audit library and increment generation counter.
3104 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
3105 * elf/tst-audit9.c: New file.
3106 * elf/tst-auditmod9a.c: New file.
3107 * elf/tst-auditmod9b.c: New file.
3108 * elf/Makefile: Add rules to build and run tst-audit9.
3109
31102014-02-25 Florian Weimer <fweimer@redhat.com>
3111
3112 [BZ #15347]
3113 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
3114
31152014-02-25 Will Newton <will.newton@linaro.org>
3116
3117 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
3118 (__longjmp): Restore sp and lr before restoring callee
3119 saved registers. Add longjmp and longjmp_target
3120 SystemTap probe point.
3121 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
3122 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
3123 Define to zero to match jmpbuf layout.
3124 * sysdeps/arm/setjmp.S: Include stap-probe.h.
3125 (__sigsetjmp): Save sp and lr before saving callee
3126 saved registers. Add setjmp SystemTap probe point.
3127
31282014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
3129
3130 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3131
31322014-02-24 Andreas Schwab <schwab@suse.de>
3133
3134 [BZ #15804]
3135 * elf/pldd.c (wait_for_ptrace_stop): New function.
3136 (main): Call it after attaching.
3137
31382014-02-22 Roland McGrath <roland@hack.frob.com>
3139
3140 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
3141 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
3142 Versions files is now verboten.
3143 * hurd/Versions (libc: GLIBC_2.0):
3144 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
3145 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
3146 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
3147 * mach/Versions: Likewise.
3148
3149 * csu/Versions: Remove unused %include.
3150 * resolv/Versions: Likewise.
3151
31522014-02-21 Joseph Myers <joseph@codesourcery.com>
3153
3154 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
3155 ($(objpfx)check-local-headers.out): Likewise.
3156 ($(objpfx)begin-end-check.out): Likewise.
3157 * Makerules (check-abi-%.out): Likewise.
3158 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
3159 ($(objpfx)test2.cat): Likewise.
3160 ($(objpfx)de/libc.cat): Likewise.
3161 ($(objpfx)test-gencat.out): Likewise.
3162 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
3163 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
3164 ($(objpfx)noload-mem): Likewise.
3165 ($(objpfx)tst-pathopt.out): Likewise.
3166 ($(objpfx)tst-rtld-load-self.out): Likewise.
3167 ($(objpfx)tst-array1-cmp.out): Likewise.
3168 ($(objpfx)tst-array1-static-cmp.out): Likewise.
3169 ($(objpfx)tst-array2-cmp.out): Likewise.
3170 ($(objpfx)tst-array3-cmp.out): Likewise.
3171 ($(objpfx)tst-array4-cmp.out): Likewise.
3172 ($(objpfx)tst-array5-cmp.out): Likewise.
3173 ($(objpfx)tst-array5-static-cmp.out): Likewise.
3174 ($(objpfx)check-textrel.out): Likewise.
3175 ($(objpfx)check-execstack.out): Likewise.
3176 ($(objpfx)check-localplt.out): Likewise.
3177 ($(objpfx)order2-cmp.out): Likewise.
3178 ($(objpfx)tst-leaks1-mem): Likewise.
3179 ($(objpfx)tst-leaks1-static-mem): Likewise.
3180 ($(objpfx)tst-initorder-cmp.out): Likewise.
3181 ($(objpfx)tst-initorder2-cmp.out): Likewise.
3182 ($(objpfx)tst-unused-dep.out): Likewise.
3183 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
3184 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
3185 * iconv/Makefile (test-iconvconfig): Likewise.
3186 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
3187 ($(objpfx)iconv-test.out): Likewise.
3188 ($(objpfx)tst-tables.out): Likewise.
3189 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
3190 ($(objpfx)tst-gettext.out): Likewise.
3191 ($(objpfx)tst-translit.out): Likewise.
3192 ($(objpfx)tst-gettext2.out): Likewise.
3193 ($(objpfx)tst-gettext4.out): Likewise.
3194 ($(objpfx)tst-gettext6.out): Likewise.
3195 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
3196 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
3197 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
3198 ($(objpfx)tst-fopenloc-mem.out): Likewise.
3199 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
3200 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
3201 * posix/Makefile ($(objpfx)globtest.out): Likewise.
3202 ($(objpfx)wordexp-tst.out): Likewise.
3203 ($(objpfx)annexc.out): Likewise.
3204 ($(objpfx)tst-fnmatch-mem): Likewise.
3205 ($(objpfx)bug-regex2-mem): Likewise.
3206 ($(objpfx)bug-regex14-mem): Likewise.
3207 ($(objpfx)bug-regex21-mem): Likewise.
3208 ($(objpfx)bug-regex31-mem): Likewise.
3209 ($(objpfx)tst-vfork3-mem): Likewise.
3210 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
3211 ($(objpfx)tst-pcre-mem): Likewise.
3212 ($(objpfx)tst-boost-mem): Likewise.
3213 ($(objpfx)tst-getconf.out): Likewise.
3214 ($(objpfx)bug-ga2-mem): Likewise.
3215 ($(objpfx)bug-glob2-mem): Likewise.
3216 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
3217 ($(objpfx)mtrace-tst-leaks2): Likewise.
3218 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
3219 ($(objpfx)tst-printf.out): Likewise.
3220 ($(objpfx)tst-setvbuf1.out): Likewise.
3221 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
3222 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
3223 ($(objpfx)tst-fmtmsg.out): Likewise.
3224 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
3225 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
3226
3227 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
3228 * bits/sigaction.h [__USE_MISC]: Likewise.
3229 * bits/waitstatus.h: Update #endif comments.
3230 * ctype/ctype.h: Likewise.
3231 * dirent/dirent.h: Likewise.
3232 [__USE_MISC]: Remove redundant conditionals.
3233 * grp/grp.h: Update #endif comments.
3234 [__USE_GNU]: Remove redundant conditionals.
3235 [__USE_MISC]: Likewise.
3236 * inet/netinet/in.h [__USE_GNU]: Likewise.
3237 * io/sys/stat.h [__USE_MISC]: Likewise.
3238 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
3239 * libio/bits/stdio.h: Update #endif comments.
3240 [__USE_MISC]: Remove redundant conditionals.
3241 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
3242 * libio/stdio.h: Update #endif comments.
3243 [__USE_MISC]: Remove redundant conditionals.
3244 * math/bits/math-finite.h [__USE_MISC]: Likewise.
3245 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
3246 * math/math.h: Update #else and #endif comments.
3247 [__USE_MISC]: Remove redundant conditionals.
3248 * misc/sys/uio.h: Update #endif comments.
3249 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
3250 * posix/glob.h [__USE_MISC]: Likewise.
3251 * posix/sys/types.h: Update #endif comments.
3252 [__USE_MISC]: Remove redundant conditionals.
3253 * posix/sys/wait.h: Update #endif comments.
3254 [__USE_MISC]: Remove redundant conditionals.
3255 * posix/unistd.h: Update #endif comments.
3256 [__USE_MISC]: Remove redundant conditionals.
3257 * pwd/pwd.h [__USE_GNU]: Likewise.
3258 [__USE_MISC]: Likewise.
3259 * resolv/netdb.h [__USE_GNU]: Likewise.
3260 * signal/signal.h: Update #endif comments.
3261 [__USE_MISC]: Remove redundant conditionals.
3262 * stdlib/stdlib.h: Update #else and #endif comments.
3263 [__USE_MISC]: Remove redundant conditionals.
3264 [__USE_GNU]: Likewise.
3265 * string/bits/string2.h [__USE_MISC]: Likewise.
3266 * string/string.h: Update #endif comments.
3267 [__USE_MISC]: Remove redundant conditionals.
3268 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
3269 Likewise.
3270 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
3271 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
3272 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
3273 Likewise.
3274 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
3275 Likewise.
3276 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
3277 comments.
3278 [__USE_MISC]: Remove redundant conditionals.
3279 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
3280 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
3281 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
3282 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
3283 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
3284 Likewise.
3285 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
3286 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
3287 Likewise.
3288 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
3289 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
3290 Likewise.
3291 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
3292 Likewise.
3293 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
3294 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
3295 Likewise.
3296 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
3297 Likewise.
3298 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
3299 * sysdeps/x86/bits/string.h: Update #endif comments.
3300 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
3301 conditionals.
3302 * time/sys/time.h: Update #endif comments.
3303 * time/time.h: Likewise.
3304 [__USE_MISC]: Remove redundant conditionals.
3305
33062014-02-21 Yury Gribov <y.gribov@samsung.com>
3307
3308 [BZ #16600]
3309 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
3310
33112014-02-21 Andreas Schwab <schwab@linux-m68k.org>
3312
3313 * Versions.def (librt): Add GLIBC_2.17.
3314
33152014-02-21 Adam Conrad <adconrad@0c3.net>
3316
3317 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
3318 synonym for _SYS_AUXV_H to allow direct inclusion.
3319 * sysdeps/sparc/bits/hwcap.h: Likewise.
3320 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
3321 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
3322 * sysdeps/sparc/sysdep.h: Likewise.
3323
33242014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3325
3326 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
3327
33282014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3329
3330 * benchtests/bench-strrchr.c: Print length instead of position.
3331
33322014-02-20 Joseph Myers <joseph@codesourcery.com>
3333
3334 [BZ #16611]
3335 * sysdeps/unix/sysv/linux/kernel-features.h
3336 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
3337 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
3338 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
3339 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
3340 Likewise.
3341 [__i386__ || __powerpc__ || __sh__ || __sparc__]
3342 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3343 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
3344 (__ASSUME_SENDMMSG): Define instead of using previous
3345 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
3346 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3347 (__ASSUME_SENDMMSG_SYSCALL): Define.
3348 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3349 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
3350 Likewise.
3351 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3352 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3353 Likewise.
3354 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3355 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3356 Likewise.
3357 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
3358 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
3359 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
3360 [__ASSUME_SENDMMSG]: Change conditionals to
3361 [__ASSUME_SENDMMSG_SOCKETCALL].
3362 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3363 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
3364 Define.
3365 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3366 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
3367 Likewise.
3368 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
3369 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
3370 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
3371 [!__ASSUME_SENDMMSG]: Change conditional to
3372 [!__ASSUME_SENDMMSG_SOCKETCALL].
3373 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3374 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3375 Define.
3376
3377 [BZ #16610]
3378 * sysdeps/unix/sysv/linux/kernel-features.h
3379 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
3380 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
3381 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
3382 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
3383 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3384 [__i386__ || __sparc__]
3385 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3386 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
3387 (__ASSUME_RECVMMSG): Define instead of using previous
3388 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
3389 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3390 (__ASSUME_RECVMMSG_SYSCALL): Define.
3391 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3392 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3393 Likewise.
3394 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3395 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3396 Likewise.
3397 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3398 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3399 Likewise.
3400 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
3401 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
3402 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
3403 [__ASSUME_RECVMMSG]: Change condition to
3404 [__ASSUME_RECVMMSG_SOCKETCALL].
3405 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3406 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3407 Define.
3408 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3409 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3410 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3411 Likewise.
3412 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
3413 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
3414 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
3415 [!__ASSUME_RECVMMSG]: Change condition to
3416 [!__ASSUME_RECVMMSG_SOCKETCALL].
3417 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3418 (__ASSUME_RECVMMSG_SYSCALL): Define.
3419
3420 [BZ #16609]
3421 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
3422 __powerpc__ || __s390__ || __sh__ || __sparc__]
3423 (__ASSUME_SOCKETCALL): Define.
3424 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
3425 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
3426 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
3427 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
3428 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3429 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
3430 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
3431 (__ASSUME_ACCEPT4): Define instead of using previous
3432 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
3433 __powerpc__ || __sparc__ || __s390__)] condition.
3434 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3435 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
3436 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
3437 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
3438 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
3439 [!__ASSUME_ACCEPT4]: Change condition to
3440 [!__ASSUME_ACCEPT4_SOCKETCALL].
3441 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3442 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
3443 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
3444 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3445 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
3446 __ASSUME_ACCEPT4_SYSCALL.
3447 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
3448 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
3449 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3450 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
3451 __ASSUME_ACCEPT4_SYSCALL.
3452 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
3453 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
3454 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
3455 [__ASSUME_ACCEPT4]: Change condition to
3456 [__ASSUME_ACCEPT4_SOCKETCALL].
3457 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3458 (__ASSUME_SOCKETCALL): Define.
3459 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
3460 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3461 (__ASSUME_SOCKETCALL): Define.
3462 (__ASSUME_ACCEPT4): Remove.
3463 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
3464 Define.
3465 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3466 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
3467 Likewise.
3468 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3469 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
3470
3471 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
3472 macro.
3473 (HWCAP_ARM_LPAE): Likewise.
3474 (HWCAP_ARM_EVTSTRM): Likewise.
3475 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
3476 Add vpfd32, lpae and evtstrm.
3477 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
3478 Increase to 22.
3479
34802014-02-19 Joseph Myers <joseph@codesourcery.com>
3481
3482 * math/auto-libm-test-in: Add tests of clog10.
3483 * math/auto-libm-test-out: Regenerated.
3484 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
3485 * sysdeps/i386/fpu/libm-test-ulps: Update.
3486 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3487
34882014-02-18 Andreas Schwab <schwab@suse.de>
3489
3490 [BZ #16574]
3491 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
3492 Store non-zero if the second buffer was newly allocated.
3493 (send_dg): Likewise.
3494 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
3495 to send_vc and send_dg.
3496 (res_nsend): Pass NULL for ansp2_malloced.
3497 * resolv/res_query.c (__libc_res_nquery): Add parameter
3498 answerp2_malloced and pass it down to __libc_res_nsend.
3499 (res_nquery): Pass additional NULL to __libc_res_nquery.
3500 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
3501 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
3502 second answer buffer if answerp2_malloced was set.
3503 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
3504 (__libc_res_nquerydomain): Add parameter
3505 answerp2_malloced and pass it down to __libc_res_nquery.
3506 (res_nquerydomain): Pass additional NULL to
3507 __libc_res_nquerydomain.
3508 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
3509 additional NULL to __libc_res_nsend and __libc_res_nquery.
3510 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
3511 additional NULL to __libc_res_nsearch.
3512 (_nss_dns_gethostbyname4_r): Revert last change. Use new
3513 parameter of __libc_res_nsearch to check for separately allocated
3514 second buffer.
3515 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
3516 __libc_res_nquery.
3517 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
3518 additional NULL to __libc_res_nquery.
3519 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
3520 __libc_res_nsearch.
3521 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
3522 * include/resolv.h: Update prototypes of __libc_res_nquery,
3523 __libc_res_nsearch, __libc_res_nsend.
3524
35252014-02-18 Joseph Myers <joseph@codesourcery.com>
3526
3527 * math/auto-libm-test-in: Add tests of fma.
3528 * math/auto-libm-test-out: Regenerated.
3529 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
3530 (fma_towardzero_test_data): Likewise.
3531 (fma_downward_test_data): Likewise.
3532 (fma_upward_test_data): Likewise.
3533 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
3534 mpc_mode.
3535 (rounding_modes): Add values for new field.
3536 (func_calc_method): Add value mpfr_fff_f.
3537 (func_calc_desc): Add mpfr_fff_f union field.
3538 (test_function): Add field exact_args.
3539 (FUNC): Add macro argument EXACT_ARGS.
3540 (FUNC_mpfr_f_f): Update call to FUNC.
3541 (FUNC_mpfr_f_f): Likewise.
3542 (FUNC_mpfr_ff_f): Likewise.
3543 (FUNC_mpfr_if_f): Likewise.
3544 (FUNC_mpc_c_f): Likewise.
3545 (FUNC_mpc_c_c): Likewise.
3546 (test_functions): Add fma. Update calls to FUNC.
3547 (handle_input_arg): Add argument exact_args.
3548 (add_test): Update call to handle_input_arg.
3549 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
3550 (output_for_one_input_case): Update call to calc_generic_results.
3551 Recalculate exact zero results in each rounding mode.
3552
3553 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
3554 non-negative before setting low bit.
3555 * math/auto-libm-test-in: Mark one asin test possibly having
3556 spurious underflow.
3557 * math/auto-libm-test-out: Regenerated.
3558 * sysdeps/i386/fpu/libm-test-ulps: Update.
3559 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3560
35612014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
3562
3563 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
3564 * sysdeps/unix/sysv/linux/microblaze: Move directory from
3565 ports/sysdeps/unix/sysv/linux/microblaze.
3566 * README: Add missing listing for microblaze*-*-linux-gnu.
3567
35682014-02-16 Mike Frysinger <vapier@gentoo.org>
3569
3570 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
3571 * sysdeps/unix/sysv/linux/ia64: Move directory from
3572 ports/sysdeps/unix/sysv/linux/ia64.
3573 * README: Update listing for ia64-*-linux-gnu.
3574
35752014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
3576 Joseph Myers <joseph@codesourcery.com>
3577
3578 * Makeconfig (test-name): New variable.
3579 (evaluate-test): Likewise.
3580 * Makerules (do-test-clean): Remove .test-result files.
3581 (common-mostlyclean): Likewise.
3582 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
3583 * scripts/evaluate-test.sh: New file.
3584
35852014-02-14 Joseph Myers <joseph@codesourcery.com>
3586
3587 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
3588 separate $(objpfx)tst-fopenloc-cmp.out and
3589 $(objpfx)tst-fopenloc-mem.out targets.
3590 (tests): Update dependencies.
3591 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
3592 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
3593 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
3594 (tst-rxspencer-no-utf8-ARGS): New variable.
3595 (tst-rxspencer-no-utf8-ENV): Likewise.
3596 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
3597 instead of $(objpfx)tst-rxspencer-mem.
3598 ($(objpfx)tst-rxspencer-mem): Change target to
3599 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
3600 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
3601 * posix/tst-rxspencer-no-utf8.c: New file.
3602
3603 * elf/Makefile ($(objpfx)order.out): Remove rule.
3604 [$(run-built-tests) = yes] (tests): Depend on
3605 $(objpfx)order-cmp.out.
3606 ($(objpfx)order-cmp.out): New rule.
3607 [$(run-built-tests) = yes] (tests): Depend on
3608 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
3609 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
3610 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
3611 $(objpfx)tst-array5-static-cmp.out.
3612 ($(objpfx)tst-array1.out): Remove rule.
3613 ($(objpfx)tst-array1-cmp.out): New rule.
3614 ($(objpfx)tst-array1-static.out): Remove rule.
3615 ($(objpfx)tst-array1-static-cmp.out): New rule.
3616 ($(objpfx)tst-array2.out): Remove rule.
3617 ($(objpfx)tst-array2-cmp.out): New rule.
3618 ($(objpfx)tst-array3.out): Remove rule.
3619 ($(objpfx)tst-array3-cmp.out): New rule.
3620 ($(objpfx)tst-array4.out): Remove rule.
3621 ($(objpfx)tst-array4-cmp.out): New rule.
3622 ($(objpfx)tst-array5.out): Remove rule.
3623 ($(objpfx)tst-array5-cmp.out): New rule.
3624 ($(objpfx)tst-array5-static.out): Remove rule.
3625 ($(objpfx)tst-array5-static-cmp.out): New rule.
3626 [$(run-built-tests) = yes] (tests): Depend on
3627 $(objpfx)order2-cmp.out.
3628 ($(objpfx)order2.out): Remove rule.
3629 ($(objpfx)order2-cmp.out): New rule.
3630 ($(objpfx)tst-initorder.out): Remove rule.
3631 [$(run-built-tests) = yes] (tests): Depend on
3632 $(objpfx)tst-initorder-cmp.out.
3633 ($(objpfx)tst-initorder-cmp.out): New rule.
3634 ($(objpfx)tst-initorder2.out): Remove rule.
3635 [$(run-built-tests) = yes] (tests): Depend on
3636 $(objpfx)tst-initorder2-cmp.out.
3637 ($(objpfx)tst-initorder2-cmp.out): New rule.
3638 [$(run-built-tests) = yes] (tests): Depend on
3639 $(objpfx)tst-unused-dep-cmp.out.
3640 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
3641 ($(objpfx)tst-unused-dep-cmp.out): New rule.
3642 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
3643 on $(objpfx)tst-setvbuf1-cmp.out.
3644 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
3645 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
3646 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
3647 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
3648 ($(objpfx)tst-svc.out): Remove rule.
3649 ($(objpfx)tst-svc-cmp.out): New rule.
3650
36512014-02-13 Joseph Myers <joseph@codesourcery.com>
3652
3653 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
3654 * ctype/ctype.h [__USE_MISC]: Likewise.
3655 * dirent/dirent.h [__USE_MISC]: Likewise.
3656 * grp/grp.h [__USE_MISC]: Likewise.
3657 * io/fcntl.h [__USE_MISC]: Likewise.
3658 * io/sys/stat.h [__USE_MISC]: Likewise.
3659 * libio/stdio.h [__USE_MISC]: Likewise.
3660 * posix/unistd.h [__USE_MISC]: Likewise.
3661 * pwd/pwd.h [__USE_MISC]: Likewise.
3662 * stdlib.h [__USE_MISC]: Likewise.
3663 * string/bits/string2.h [__USE_MISC]: Likewise.
3664 * string/string.h [__USE_MISC]: Likewise.
3665 * time/time.h [__USE_MISC]: Likewise.
3666
36672014-02-13 Andreas Schwab <schwab@suse.de>
3668
3669 [BZ #16574]
3670 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
3671 second answer buffer if it was separately allocated.
3672
36732014-02-12 Joseph Myers <joseph@codesourcery.com>
3674
3675 * sysdeps/mips/math-tests.h: Include <features.h>.
3676 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
3677 (ROUNDING_TESTS_long_double): Do not define.
3678 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
3679 (EXCEPTION_TESTS_long_double): Likewise.
3680 * sysdeps/mips/mips64/libm-test-ulps: Update.
3681
3682 * include/features.h (__USE_BSD): Remove macro definitions.
3683 (__USE_SVID): Likewise.
3684 (_BSD_SOURCE): Likewise.
3685 (_SVID_SOURCE): Likewise.
3686 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
3687 from definition of _DEFAULT_SOURCE.
3688 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
3689 [_DEFAULT_SOURCE].
3690 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
3691 * bits/mman.h [__USE_BSD]: Likewise.
3692 * bits/termios.h [__USE_BSD]: Likewise.
3693 * bits/waitstatus.h [__USE_BSD]: Likewise.
3694 * ctype/ctype.h [__USE_SVID]: Likewise.
3695 * dirent/dirent.h [__USE_BSD]: Likewise.
3696 * grp/grp.h [__USE_SVID]: Likewise.
3697 [__USE_BSD]: Likewise.
3698 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
3699 * io/fcntl.h [__USE_BSD]: Likewise.
3700 * io/ftw.h [__USE_BSD]: Likewise.
3701 * io/sys/stat.h [__USE_BSD]: Likewise.
3702 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
3703 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
3704 * libio/stdio.h [__USE_SVID]: Likewise.
3705 [__USE_BSD]: Likewise.
3706 * math/math.h [__USE_SVID]: Likewise.
3707 [__USE_BSD]: Likewise.
3708 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
3709 * misc/bits/syslog.h [__USE_BSD]: Likewise.
3710 * misc/search.h [__USE_SVID]: Likewise.
3711 * misc/sys/mman.h [__USE_BSD]: Likewise.
3712 * misc/sys/syslog.h [__USE_BSD]: Likewise.
3713 * misc/sys/uio.h [__USE_BSD]: Likewise.
3714 * posix/bits/unistd.h [__USE_BSD]: Likewise.
3715 * posix/glob.h [__USE_BSD]: Likewise.
3716 * posix/regex.h [__USE_BSD]: Likewise.
3717 * posix/sys/types.h [__USE_BSD]: Likewise.
3718 [__USE_SVID]: Likewise.
3719 * posix/sys/utsname.h [__USE_SVID]: Likewise.
3720 * posix/sys/wait.h [__USE_BSD]: Likewise.
3721 [__USE_SVID]: Likewise.
3722 * posix/unistd.h [__USE_BSD]: Likewise.
3723 [__USE_SVID]: Likewise.
3724 * pwd/pwd.h [__USE_SVID]: Likewise.
3725 * resolv/netdb.h [__USE_BSD]: Likewise.
3726 * setjmp/setjmp.h [__USE_BSD]: Likewise.
3727 * signal/signal.h [__USE_BSD]: Likewise.
3728 [__USE_SVID]: Likewise.
3729 * socket/sys/socket.h [__USE_BSD]: Likewise.
3730 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
3731 * stdlib/stdlib.h [__USE_BSD]: Likewise.
3732 [__USE_SVID]: Likewise.
3733 * string/bits/string2.h [__USE_BSD]: Likewise.
3734 [__USE_SVID]: Likewise.
3735 * string/bits/string3.h [__USE_BSD]: Likewise.
3736 * string/endian.h [__USE_BSD]: Likewise.
3737 * string/string.h [__USE_SVID]: Likewise.
3738 [__USE_BSD]: Likewise.
3739 * string/strings.h [__USE_BSD]: Likewise.
3740 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
3741 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
3742 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
3743 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
3744 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
3745 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
3746 Likewise.
3747 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
3748 Likewise.
3749 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
3750 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
3751 Likewise.
3752 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
3753 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
3754 Likewise.
3755 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
3756 Likewise.
3757 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
3758 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
3759 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
3760 Likewise.
3761 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
3762 Likewise.
3763 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
3764 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
3765 * termios/termios.h [__USE_BSD]: Likewise.
3766 * time/sys/time.h [__USE_BSD]: Likewise.
3767 * time/time.h [__USE_BSD]: Likewise.
3768 [__USE_SVID]: Likewise.
3769
3770 * Makefile (subdir_targets): Remove subdir_lint.out.
3771
3772 * stdio-common/Makefile (do-tst-unbputc): Remove target.
3773 (do-tst-printf): Likewise.
3774 (tests): Depend directly on $(objpfx)tst-unbputc.out and
3775 $(objpfx)tst-printf.out.
3776
3777 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
3778
3779 * Makerules (check-abi-%): Change target to
3780 $(objpfx)check-abi-%.out.
3781 (check-abi target): Update dependencies.
3782 (check-abi-pattern variable): Redirect output of diff to $@.
3783 (check-abi variable): Likewise.
3784 * elf/Makefile (check-abi): Update dependencies.
3785
3786 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
3787 unused.
3788 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
3789 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
3790 subnormal range.
3791 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
3792 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
3793 value has largest subnormal exponent.
3794 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
3795 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
3796 * sysdeps/aarch64/soft-fp/sfp-machine.h
3797 (_FP_TININESS_AFTER_ROUNDING): New macro.
3798 * sysdeps/alpha/soft-fp/sfp-machine.h
3799 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3800 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3801 Likewise.
3802 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
3803 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3804 * sysdeps/mips/soft-fp/sfp-machine.h
3805 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3806 * sysdeps/powerpc/soft-fp/sfp-machine.h
3807 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3808 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3809 Likewise.
3810 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
3811 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3812 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
3813 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3814 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3815 Likewise.
3816
38172014-02-12 Dylan Alex Simon <dylan@dylex.net>
3818
3819 [BZ #16545]
3820 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
3821 model 1.
3822
38232014-02-12 Richard Henderson <rth@redhat.com>
3824
3825 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
3826 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
3827 * sysdeps/unix/sysv/linux/alpha: Move directory from
3828 ports/sysdeps/unix/sysv/linux/alpha.
3829 * README: Update listing for alpha-*-linux-gnu.
3830
38312014-02-11 Joseph Myers <joseph@codesourcery.com>
3832
3833 * include/features.h: Update comment documenting feature test
3834 macros.
3835 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
3836 _DEFAULT_SOURCE.
3837 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
3838 (_SVID_SOURCE): Likewise.
3839 (_DEFAULT_SOURCE): Update description of default features.
3840 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
3841 with _GNU_SOURCE.
3842 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
3843 (S_ISVTX): Likewise.
3844 * manual/math.texi (Mathematical Constants): Likewise.
3845 * manual/signal.texi (Interrupted Primitives): Likewise.
3846 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
3847 * math/test-matherr.c (_SVID_SOURCE): Do not define.
3848 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
3849 Don't refer to _SVID_SOURCE in warning text.
3850
3851 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3852
3853 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
3854 already defined.
3855 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
3856 * sysdeps/mips/dl-lookup.c: Remove.
3857 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
3858
38592014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3860
3861 [BZ #16447]
3862 * math/auto-libm-test-in: Add testcase for expl.
3863 * math/auto-libm-test-out: Regenerate.
3864 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
3865 calculation of unsafe.
3866 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
3867
38682014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
3869
3870 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
3871 * sysdeps/unix/sysv/linux/aarch64: Move directory from
3872 ports/sysdeps/unix/sysv/linux/aarch64.
3873 * README: Update listing for aarch64*-*-linux-gnu.
3874
38752014-02-11 Will Newton <will.newton@linaro.org>
3876
3877 * manual/probes.texi (Mathematical Function Probes): Use
3878 "triggered" instead of "hit".
3879
38802014-02-11 Will Newton <will.newton@linaro.org>
3881
3882 * manual/probes.texi (Internal Probes): Add documentation
3883 of setjmp, longjmp and longjmp_target probes.
3884
38852014-02-11 Will Newton <will.newton@linaro.org>
3886
3887 * include/stap-probe.h: Add comment about probe argument
3888 format.
3889
38902014-02-11 Will Newton <will.newton@linaro.org>
3891
3892 * malloc/mtrace.c (attribute_hidden): Remove unused macro
3893 definition. (tr_where, tr_freehook, tr_mallochook,
3894 tr_reallochook, tr_memalignhook): Use ANSI protoype.
3895
38962014-02-11 David S. Miller <davem@davemloft.net>
3897
3898 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
3899 processing int_tests.
3900
39012014-02-10 Joseph Myers <joseph@codesourcery.com>
3902
3903 * sysdeps/mips: Move directory from ports/sysdeps/mips.
3904 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
3905 * sysdeps/unix/sysv/linux/mips: Move directory from
3906 ports/sysdeps/unix/sysv/linux/mips.
3907 * README: Update listing for mips-*-linux-gnu and
3908 mips64-*-linux-gnu.
3909
39102014-02-10 Andreas Schwab <schwab@linux-m68k.org>
3911
3912 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
3913 * sysdeps/unix/sysv/linux/m68k: Move directory from
3914 ports/sysdeps/unix/sysv/linux/m68k.
3915 * README: Update listing for m68k-*-linux-gnu.
3916
39172014-02-10 Chris Metcalf <cmetcalf@tilera.com>
3918
3919 * sysdeps/tile: Move directory from ports/sysdeps/tile.
3920 * sysdeps/unix/sysv/linux/generic: Move directory from
3921 ports/sysdeps/unix/sysv/linux/generic.
3922 * sysdeps/unix/sysv/linux/tile: Move directory from
3923 ports/sysdeps/unix/sysv/linux/tile.
3924 * README: Update listing for tile*-*-linux-gnu.
3925
39262014-02-10 Ondřej Bílka <neleai@seznam.cz>
3927
3928 * assert/assert.c (__assert_fail_base): Use glibc_likely instead __builtin_expect.
3929 * benchtests/bench-memmem.c (simple_memmem): Likewise.
3930 * catgets/open_catalog.c (__open_catalog): Likewise.
3931 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
3932 * debug/confstr_chk.c: Likewise.
3933 * debug/fread_chk.c (__fread_chk): Likewise.
3934 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
3935 * debug/getgroups_chk.c: Likewise.
3936 * debug/mbsnrtowcs_chk.c: Likewise.
3937 * debug/mbsrtowcs_chk.c: Likewise.
3938 * debug/mbstowcs_chk.c: Likewise.
3939 * debug/memcpy_chk.c: Likewise.
3940 * debug/memmove_chk.c: Likewise.
3941 * debug/mempcpy_chk.c: Likewise.
3942 * debug/memset_chk.c: Likewise.
3943 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
3944 * debug/strcat_chk.c (__strcat_chk): Likewise.
3945 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
3946 * debug/strncat_chk.c (__strncat_chk): Likewise.
3947 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
3948 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
3949 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
3950 * debug/wcpncpy_chk.c: Likewise.
3951 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
3952 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
3953 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
3954 * debug/wcsncpy_chk.c: Likewise.
3955 * debug/wcsnrtombs_chk.c: Likewise.
3956 * debug/wcsrtombs_chk.c: Likewise.
3957 * debug/wcstombs_chk.c: Likewise.
3958 * debug/wmemcpy_chk.c: Likewise.
3959 * debug/wmemmove_chk.c: Likewise.
3960 * debug/wmempcpy_chk.c: Likewise.
3961 * debug/wmemset_chk.c: Likewise.
3962 * dirent/scandirat.c (SCANDIRAT): Likewise.
3963 * dlfcn/dladdr1.c (dladdr1): Likewise.
3964 * dlfcn/dladdr.c (dladdr): Likewise.
3965 * dlfcn/dlclose.c (dlclose_doit): Likewise.
3966 * dlfcn/dlerror.c (__dlerror): Likewise.
3967 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
3968 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
3969 * dlfcn/dlopen.c (dlopen_doit): Likewise.
3970 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
3971 * dlfcn/dlsym.c (dlsym_doit): Likewise.
3972 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
3973 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
3974 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
3975 Likewise.
3976 * elf/dl-conflict.c: Likewise.
3977 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
3978 * elf/dl-dst.h: Likewise.
3979 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
3980 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
3981 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
3982 * elf/dl-init.c (call_init, _dl_init): Likewise.
3983 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
3984 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths,
3985 _dl_map_object_from_fd, open_verify, open_path,
3986 _dl_map_object): Likewise.
3987 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
3988 Likewise.
3989 * elf/dl-minimal.c (__libc_memalign): Likewise.
3990 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
3991 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
3992 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
3993 * elf/dl-sym.c (do_sym): Likewise.
3994 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr, __tls_get_addr,
3995 _dl_tls_get_addr_soft): Likewise.
3996 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
3997 * elf/dl-writev.h (_dl_writev): Likewise.
3998 * elf/ldconfig.c (search_dir): Likewise.
3999 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload,
4000 dl_main): Likewise.
4001 * elf/setup-vdso.h (setup_vdso): Likewise.
4002 * grp/compat-initgroups.c (compat_call): Likewise.
4003 * grp/fgetgrent.c (fgetgrent): Likewise.
4004 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
4005 * grp/putgrent.c (putgrent): Likewise.
4006 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
4007 Likewise.
4008 * hurd/hurdinit.c: Likewise.
4009 * iconvdata/8bit-gap.c (struct): Likewise.
4010 * iconvdata/ansi_x3.110.c : Likewise.
4011 * iconvdata/big5.c : Likewise.
4012 * iconvdata/big5hkscs.c : Likewise.
4013 * iconvdata/cp1255.c: Likewise.
4014 * iconvdata/cp1258.c : Likewise.
4015 * iconvdata/cp932.c : Likewise.
4016 * iconvdata/euc-cn.c: Likewise.
4017 * iconvdata/euc-jisx0213.c : Likewise.
4018 * iconvdata/euc-jp.c: Likewise.
4019 * iconvdata/euc-jp-ms.c : Likewise.
4020 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
4021 * iconvdata/gb18030.c : Likewise.
4022 * iconvdata/gbbig5.c (const): Likewise.
4023 * iconvdata/gbgbk.c: Likewise.
4024 * iconvdata/gbk.c : Likewise.
4025 * iconvdata/ibm1364.c : Likewise.
4026 * iconvdata/ibm930.c : Likewise.
4027 * iconvdata/ibm932.c: Likewise.
4028 * iconvdata/ibm933.c : Likewise.
4029 * iconvdata/ibm935.c : Likewise.
4030 * iconvdata/ibm937.c : Likewise.
4031 * iconvdata/ibm939.c : Likewise.
4032 * iconvdata/ibm943.c: Likewise.
4033 * iconvdata/iso_11548-1.c: Likewise.
4034 * iconvdata/iso-2022-cn.c : Likewise.
4035 * iconvdata/iso-2022-cn-ext.c : Likewise.
4036 * iconvdata/iso-2022-jp-3.c: Likewise.
4037 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
4038 * iconvdata/iso-2022-kr.c : Likewise.
4039 * iconvdata/iso646.c (gconv_end): Likewise.
4040 * iconvdata/iso_6937-2.c : Likewise.
4041 * iconvdata/iso_6937.c : Likewise.
4042 * iconvdata/iso8859-1.c: Likewise.
4043 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
4044 * iconvdata/shift_jisx0213.c : Likewise.
4045 * iconvdata/sjis.c : Likewise.
4046 * iconvdata/t.61.c : Likewise.
4047 * iconvdata/tcvn5712-1.c : Likewise.
4048 * iconvdata/tscii.c: Likewise.
4049 * iconvdata/uhc.c : Likewise.
4050 * iconvdata/unicode.c (gconv_end): Likewise.
4051 * iconvdata/utf-16.c (gconv_end): Likewise.
4052 * iconvdata/utf-32.c (gconv_end): Likewise.
4053 * iconvdata/utf-7.c (base64): Likewise.
4054 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
4055 * iconv/gconv_close.c (__gconv_close): Likewise.
4056 * iconv/gconv_open.c (__gconv_open): Likewise.
4057 * iconv/gconv_simple.c (internal_ucs4_loop_single, ucs4_internal_loop,
4058 ucs4_internal_loop_unaligned, ucs4_internal_loop_single,
4059 internal_ucs4le_loop_single, ucs4le_internal_loop,
4060 ucs4le_internal_loop_unaligned, ucs4le_internal_loop_single): Likewise.
4061 * iconv/iconv.c (iconv): Likewise.
4062 * iconv/iconv_close.c: Likewise.
4063 * iconv/loop.c (SINGLE): Likewise.
4064 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
4065 * include/atomic.h: Likewise.
4066 * inet/inet6_option.c (option_alloc): Likewise.
4067 * intl/bindtextdom.c (set_binding_values): Likewise.
4068 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
4069 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
4070 * intl/localealias.c (read_alias_file): Likewise.
4071 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
4072 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap,
4073 _IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
4074 * libio/fmemopen.c (fmemopen): Likewise.
4075 * libio/iofgets.c (_IO_fgets): Likewise.
4076 * libio/iofgets_u.c (fgets_unlocked): Likewise.
4077 * libio/iofgetws.c (fgetws): Likewise.
4078 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
4079 * libio/iogetdelim.c (_IO_getdelim): Likewise.
4080 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap,
4081 adjust_wide_data, _IO_wfile_seekoff): Likewise.
4082 * locale/findlocale.c (_nl_find_locale): Likewise.
4083 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
4084 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
4085 Likewise.
4086 * locale/setlocale.c (setlocale): Likewise.
4087 * login/programs/pt_chown.c (main): Likewise.
4088 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
4089 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
4090 * malloc/memusage.c (update_data, malloc, realloc, calloc, free,
4091 mmap, mmap64, mremap, munmap): Likewise.
4092 * math/e_exp2l.c: Likewise.
4093 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
4094 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
4095 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
4096 * math/s_catan.c (__catan): Likewise.
4097 * math/s_catanf.c (__catanf): Likewise.
4098 * math/s_catanh.c (__catanh): Likewise.
4099 * math/s_catanhf.c (__catanhf): Likewise.
4100 * math/s_catanhl.c (__catanhl): Likewise.
4101 * math/s_catanl.c (__catanl): Likewise.
4102 * math/s_ccosh.c (__ccosh): Likewise.
4103 * math/s_ccoshf.c (__ccoshf): Likewise.
4104 * math/s_ccoshl.c (__ccoshl): Likewise.
4105 * math/s_cexp.c (__cexp): Likewise.
4106 * math/s_cexpf.c (__cexpf): Likewise.
4107 * math/s_cexpl.c (__cexpl): Likewise.
4108 * math/s_clog10.c (__clog10): Likewise.
4109 * math/s_clog10f.c (__clog10f): Likewise.
4110 * math/s_clog10l.c (__clog10l): Likewise.
4111 * math/s_clog.c (__clog): Likewise.
4112 * math/s_clogf.c (__clogf): Likewise.
4113 * math/s_clogl.c (__clogl): Likewise.
4114 * math/s_csin.c (__csin): Likewise.
4115 * math/s_csinf.c (__csinf): Likewise.
4116 * math/s_csinh.c (__csinh): Likewise.
4117 * math/s_csinhf.c (__csinhf): Likewise.
4118 * math/s_csinhl.c (__csinhl): Likewise.
4119 * math/s_csinl.c (__csinl): Likewise.
4120 * math/s_csqrt.c (__csqrt): Likewise.
4121 * math/s_csqrtf.c (__csqrtf): Likewise.
4122 * math/s_csqrtl.c (__csqrtl): Likewise.
4123 * math/s_ctan.c (__ctan): Likewise.
4124 * math/s_ctanf.c (__ctanf): Likewise.
4125 * math/s_ctanh.c (__ctanh): Likewise.
4126 * math/s_ctanhf.c (__ctanhf): Likewise.
4127 * math/s_ctanhl.c (__ctanhl): Likewise.
4128 * math/s_ctanl.c (__ctanl): Likewise.
4129 * math/w_pow.c: Likewise.
4130 * math/w_powf.c: Likewise.
4131 * math/w_powl.c: Likewise.
4132 * math/w_scalb.c (sysv_scalb): Likewise.
4133 * math/w_scalbf.c (sysv_scalbf): Likewise.
4134 * math/w_scalbl.c (sysv_scalbl): Likewise.
4135 * misc/error.c (error_tail): Likewise.
4136 * misc/pselect.c (__pselect): Likewise.
4137 * nis/nis_callback.c (__nis_create_callback): Likewise.
4138 * nis/nis_call.c (__nisfind_server): Likewise.
4139 * nis/nis_creategroup.c (nis_creategroup): Likewise.
4140 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
4141 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
4142 * nis/nis_getservlist.c (nis_getservlist): Likewise.
4143 * nis/nis_lookup.c (nis_lookup): Likewise.
4144 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
4145 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry,
4146 nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
4147 * nis/nis_xdr.c (xdr_endpoint): Likewise.
4148 * nis/nss_compat/compat-grp.c (getgrent_next_file, internal_getgrnam_r,
4149 internal_getgrgid_r): Likewise.
4150 * nis/nss_compat/compat-initgroups.c (add_group, internal_getgrent_r):
4151 Likewise.
4152 * nis/nss_compat/compat-pwd.c (getpwent_next_file, internal_getpwnam_r,
4153 internal_getpwuid_r): Likewise.
4154 * nis/nss_compat/compat-spwd.c (getspent_next_file,
4155 internal_getspnam_r): Likewise.
4156 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r,
4157 _nss_nis_getaliasbyname_r): Likewise.
4158 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r,
4159 _nss_nis_getntohost_r): Likewise.
4160 * nis/nss_nis/nis-grp.c (internal_nis_setgrent,
4161 internal_nis_getgrent_r, _nss_nis_getgrnam_r, _nss_nis_getgrgid_r):
4162 Likewise.
4163 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent,
4164 internal_nis_gethostent_r, internal_gethostbyname2_r,
4165 _nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r,
4166 _nss_nis_gethostbyname4_r): Likewise.
4167 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r,
4168 initgroups_netid): Likewise.
4169 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
4170 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
4171 _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
4172 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r,
4173 _nss_nis_getprotobynumber_r): Likewise.
4174 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey,
4175 _nss_nis_getsecretkey): Likewise.
4176 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent,
4177 internal_nis_getpwent_r, _nss_nis_getpwnam_r, _nss_nis_getpwuid_r):
4178 Likewise.
4179 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
4180 _nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
4181 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r,
4182 _nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
4183 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent, internal_nis_getspent_r,
4184 _nss_nis_getspnam_r): Likewise.
4185 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
4186 Likewise.
4187 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
4188 _nss_nisplus_getntohost_r): Likewise.
4189 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r,
4190 _nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
4191 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r,
4192 _nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r): Likewise.
4193 * nis/nss_nisplus/nisplus-initgroups.c (_nss_nisplus_initgroups_dyn):
4194 Likewise.
4195 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
4196 _nss_nisplus_getnetbyaddr_r): Likewise.
4197 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r,
4198 _nss_nisplus_getprotobynumber_r): Likewise.
4199 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r,
4200 _nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
4201 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
4202 Likewise.
4203 * nis/nss_nisplus/nisplus-service.c (internal_nisplus_getservent_r,
4204 _nss_nisplus_getservbyname_r, _nss_nisplus_getservbyport_r): Likewise.
4205 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r,
4206 _nss_nisplus_getspnam_r): Likewise.
4207 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist): Likewise.
4208 * nscd/aicache.c (addhstaiX): Likewise.
4209 * nscd/cache.c (cache_search, prune_cache): Likewise.
4210 * nscd/connections.c (register_traced_file, send_ro_fd, handle_request,
4211 nscd_run_prune, nscd_run_worker, fd_ready, main_loop_epoll): Likewise.
4212 * nscd/grpcache.c (addgrbyX): Likewise.
4213 * nscd/hstcache.c (addhstbyX): Likewise.
4214 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4215 * nscd/mem.c (gc, mempool_alloc): Likewise.
4216 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX, addinnetgrX):
4217 Likewise.
4218 * nscd/nscd-client.h (__nscd_acquire_maplock, __nscd_drop_map_ref):
4219 Likewise.
4220 * nscd/nscd_getai.c (__nscd_getai): Likewise.
4221 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
4222 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
4223 Likewise.
4224 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
4225 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
4226 * nscd/nscd_helper.c (__readvall, open_socket,
4227 __nscd_get_mapping, __nscd_get_map_ref): Likewise.
4228 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
4229 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr): Likewise.
4230 * nscd/pwdcache.c (addpwbyX): Likewise.
4231 * nscd/selinux.c (preserve_capabilities): Likewise.
4232 * nscd/servicescache.c (addservbyX): Likewise.
4233 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
4234 * posix/fnmatch.c (fnmatch): Likewise.
4235 * posix/getopt.c (_getopt_internal_r): Likewise.
4236 * posix/glob.c (glob, glob_in_dir): Likewise.
4237 * posix/wordexp.c (exec_comm_child): Likewise.
4238 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r, getanswer_r,
4239 gaih_getanswer_slice): Likewise.
4240 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
4241 * resolv/res_init.c: Likewise.
4242 * resolv/res_mkquery.c (res_nmkquery): Likewise.
4243 * resolv/res_query.c (__libc_res_nquery): Likewise.
4244 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
4245 Likewise.
4246 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
4247 * stdio-common/perror.c (perror): Likewise.
4248 * stdio-common/printf_fp.c (___printf_fp): Likewise.
4249 * stdio-common/tmpnam.c (tmpnam): Likewise.
4250 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
4251 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
4252 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): Likewise.
4253 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
4254 * stdlib/putenv.c (putenv): Likewise.
4255 * stdlib/setenv.c (__add_to_environ): Likewise.
4256 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
4257 * stdlib/strtol_l.c (INTERNAL): Likewise.
4258 * string/memmem.c (memmem): Likewise.
4259 * string/strerror.c (strerror): Likewise.
4260 * string/strnlen.c (__strnlen): Likewise.
4261 * string/test-memmem.c (simple_memmem): Likewise.
4262 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
4263 * sunrpc/pm_getport.c (__get_socket): Likewise.
4264 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
4265 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
4266 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup,
4267 elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
4268 Likewise.
4269 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
4270 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
4271 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
4272 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
4273 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
4274 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1): Likewise.
4275 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn): Likewise.
4276 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
4277 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
4278 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4279 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
4280 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
4281 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
4282 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
4283 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
4284 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
4285 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
4286 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
4287 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
4288 Likewise.
4289 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
4290 Likewise.
4291 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
4292 Likewise.
4293 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
4294 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4295 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
4296 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
4297 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
4298 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
4299 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
4300 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
4301 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
4302 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
4303 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
4304 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4305 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
4306 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
4307 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4308 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Likewise.
4309 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
4310 Likewise.
4311 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
4312 Likewise.
4313 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
4314 Likewise.
4315 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4316 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4317 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
4318 Likewise.
4319 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
4320 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
4321 * sysdeps/posix/opendir.c (__opendirat): Likewise.
4322 * sysdeps/posix/sleep.c: Likewise.
4323 * sysdeps/posix/tempname.c: Likewise.
4324 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
4325 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4326 Likewise.
4327 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup,
4328 elf_machine_rela): Likewise.
4329 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
4330 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4331 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
4332 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
4333 Likewise.
4334 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
4335 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup,
4336 elf_machine_rela, elf_machine_lazy_rel): Likewise.
4337 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup,
4338 elf_machine_rela, elf_machine_lazy_rel): Likewise.
4339 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
4340 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
4341 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
4342 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4343 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
4344 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
4345 elf_machine_lazy_rel): Likewise.
4346 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
4347 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
4348 elf_machine_lazy_rel): Likewise.
4349 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
4350 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
4351 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
4352 * sysdeps/unix/grantpt.c (grantpt): Likewise.
4353 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
4354 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
4355 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
4356 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4357 Likewise.
4358 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
4359 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
4360 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
4361 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
4362 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
4363 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
4364 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
4365 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
4366 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
4367 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
4368 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
4369 Likewise.
4370 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
4371 (__posix_fallocate64_l64): Likewise.
4372 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
4373 (posix_fallocate): Likewise.
4374 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): Likewise.
4375 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4376 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request,
4377 getifaddrs_internal): Likewise.
4378 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
4379 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
4380 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
4381 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
4382 * sysdeps/unix/sysv/linux/posix_fallocate64.c
4383 (__posix_fallocate64_l64): Likewise.
4384 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
4385 Likewise.
4386 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
4387 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
4388 Likewise.
4389 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
4390 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
4391 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
4392 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4393 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4394 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
4395 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
4396 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
4397 Likewise.
4398 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
4399 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
4400 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
4401 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
4402 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
4403 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
4404 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
4405 Likewise.
4406 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4407 (posix_fallocate): Likewise.
4408 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4409 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
4410 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
4411 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup,
4412 elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
4413 Likewise.
4414 * time/asctime.c (asctime_internal): Likewise.
4415 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
4416 * time/tzset.c (__tzset_parse_tz): Likewise.
4417 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
4418 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
4419 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
4420 * wcsmbs/wcsmbsload.h: Likewise.
4421
44222014-02-10 Ondřej Bílka <neleai@seznam.cz>
4423
4424 [BZ #15894]
4425 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
4426
44272014-02-10 Ondřej Bílka <neleai@seznam.cz>
4428
4429 * malloc/arena.c (grow_heap, get_free_list, reused_arena,
4430 arena_get2): Remove THREAD_STATS conditionals.
4431 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free,
4432 __malloc_stats, int): Likewise.
4433
44342014-02-08 Mike Frysinger <vapier@gentoo.org>
4435
4436 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
4437 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
4438
44392014-02-08 Mike Frysinger <vapier@gentoo.org>
4440
4441 * manual/setjmp.texi: Fix typos/grammar errors.
4442
44432014-02-08 Mike Frysinger <vapier@gentoo.org>
4444
4445 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
4446 Only return early when n is <= 0. Delete unused return statement.
4447
44482014-02-08 Mike Frysinger <vapier@gentoo.org>
4449
4450 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
4451 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
4452 * debug/tst-longjmp_chk3.c: New file.
4453
44542014-02-08 Mike Frysinger <vapier@gentoo.org>
4455
4456 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
4457 (test_main): Replace code with set_fortify_handler call.
4458 * debug/test-strcpy_chk.c: Likewise.
4459 * debug/tst-chk1.c: Likewise.
4460 * debug/tst-longjmp_chk.c: Likewise.
4461 * test-skeleton.c: Include fcntl.h & paths.h
4462 (set_fortify_handler): Define.
4463
44642014-02-08 Mike Frysinger <vapier@gentoo.org>
4465
4466 * debug/tst-longjmp_chk.c: Add header comment and include
4467 ../test-skeleton.c.
4468 (do_test): Mark static.
4469 (TEST_FUNCTION): Define.
4470
44712014-02-08 Mike Frysinger <vapier@gentoo.org>
4472
4473 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
4474 (IP_PMTUDISC_INTERFACE): Likewise.
4475 (IP_MULTICAST_IF): Likewise.
4476 (IP_MULTICAST_TTL): Likewise.
4477 (IP_MULTICAST_LOOP): Likewise.
4478 (IP_ADD_MEMBERSHIP): Likewise.
4479 (IP_DROP_MEMBERSHIP): Likewise.
4480 (IP_UNBLOCK_SOURCE): Likewise.
4481 (IP_BLOCK_SOURCE): Likewise.
4482 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
4483 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
4484 (IP_MSFILTER): Likewise.
4485 (MCAST_JOIN_GROUP): Likewise.
4486 (MCAST_BLOCK_SOURCE): Likewise.
4487 (MCAST_UNBLOCK_SOURCE): Likewise.
4488 (MCAST_LEAVE_GROUP): Likewise.
4489 (MCAST_JOIN_SOURCE_GROUP): Likewise.
4490 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
4491 (MCAST_MSFILTER): Likewise.
4492 (IP_MULTICAST_ALL): Likewise.
4493 (IP_UNICAST_IF): Likewise.
4494
44952014-02-08 Mike Frysinger <vapier@gentoo.org>
4496
4497 * timezone/Makefile: Delete $(have-ksh) check.
4498 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
4499 * timezone/tzselect.ksh: Add +x mode bits.
4500
45012014-02-08 Mike Frysinger <vapier@gentoo.org>
4502
4503 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
4504 (ANON_INODE_FS_MAGIC): Likewise.
4505 (BDEVFS_MAGIC): Likewise.
4506 (BINFMTFS_MAGIC): Likewise.
4507 (BTRFS_TEST_MAGIC): Likewise.
4508 (CRAMFS_MAGIC_WEND): Likewise.
4509 (DEBUGFS_MAGIC): Likewise.
4510 (ECRYPTFS_SUPER_MAGIC): Likewise.
4511 (EXT3_SUPER_MAGIC): Likewise.
4512 (EXT4_SUPER_MAGIC): Likewise.
4513 (FUTEXFS_SUPER_MAGIC): Likewise.
4514 (HOSTFS_SUPER_MAGIC): Likewise.
4515 (HUGETLBFS_MAGIC): Likewise.
4516 (MINIX3_SUPER_MAGIC): Likewise.
4517 (MTD_INODE_FS_MAGIC): Likewise.
4518 (NILFS_SUPER_MAGIC): Likewise.
4519 (OPENPROM_SUPER_MAGIC): Likewise.
4520 (PIPEFS_MAGIC): Likewise.
4521 (PSTOREFS_MAGIC): Likewise.
4522 (QNX6_SUPER_MAGIC): Likewise.
4523 (RAMFS_MAGIC): Likewise.
4524 (REISERFS_SUPER_MAGIC_STRING): Likewise.
4525 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
4526 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
4527 (SECURITYFS_MAGIC): Likewise.
4528 (SELINUX_MAGIC): Likewise.
4529 (SMACK_MAGIC): Likewise.
4530 (SOCKFS_MAGIC): Likewise.
4531 (SQUASHFS_MAGIC): Likewise.
4532 (STACK_END_MAGIC): Likewise.
4533 (TMPFS_MAGIC): Likewise.
4534 (USBDEVICE_SUPER_MAGIC): Likewise.
4535 (V9FS_MAGIC): Likewise.
4536 (XENFS_SUPER_MAGIC): Likewise.
4537 (CRAMFS_MAGIC): Fix typo in comment.
4538 (EXT2_SUPER_MAGIC): Update comment.
4539 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
4540
45412014-02-08 Joseph Myers <joseph@codesourcery.com>
4542
4543 * sysdeps/arm: Move directory from ports/sysdeps/arm.
4544 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
4545 * sysdeps/unix/sysv/linux/arm: Move directory from
4546 ports/sysdeps/unix/sysv/linux/arm.
4547 * README: Update listing for arm-*-linux-gnueabi.
4548
4549 * README: Remove mention of am33.
4550
45512014-02-07 Roland McGrath <roland@hack.frob.com>
4552
4553 * bits/sigset.h (__sigemptyset): Use a statement expression rather
4554 than the comma operator, to avoid "rhs of comma has no effect"
4555 compiler warnings.
4556 (__sigfillset, __sigandset, __sigorset): Likewise.
4557 * include/signal.h (__sigemptyset): Likewise.
4558 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
4559
45602014-02-07 Allan McRae <allan@archlinux.org>
4561
4562 * version.h (RELEASE): Set to "development".
4563 (VERSION): Set to "2.19.90"
4564 * NEWS: Add 2.20 section.
4565
45662014-02-06 Carlos O'Donell <carlos@redhat.com>
4567
4568 [BZ #16529]
4569 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
4570
45712014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4572
4573 * manual/contrib.texi: Update entry for Carlos O'Donell,
4574 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
4575
45762014-02-05 Carlos O'Donell <carlos@rehdat.com>
4577
4578 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
4579
4580 * sysdeps/unix/sysv/linux/kernel-features.h
4581 [__LINUX_KERNEL_VERSION >= 0x020621]
4582 (__ASSUME_PROC_PID_TASK_COMM): Define.
4583
45842014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4585
4586 [BZ #16398]
4587 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
4588 conversion when destination buffer does not have enough space.
4589 * libio/tst-ftell-partial-wide.c: New test case.
4590 * libio/Makefile (tests): Add tst-ftell-partial-wide.
4591
4592 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
4593 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
4594 Leonard and Allan McRae.
4595
45962014-02-04 David S. Miller <davem@davemloft.net>
4597
4598 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
4599 32-bit.
4600
46012014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4602
4603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
4604 file
4605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
4606 New file
4607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
4608 file.
4609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
4610 file.
4611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
4612 New file.
4613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
4614 file.
4615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
4616 file.
4617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
4618 New file.
4619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
4620 New file.
4621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
4622 New file.
4623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
4624 New file.
4625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
4626 New file.
4627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
4628 New file.
4629
46302014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4631
4632 * nptl/shlib-versions: Change powerpc*le start to 2.17.
4633 * shlib-versions: Likewise.
4634
46352014-02-04 Roland McGrath <roland@hack.frob.com>
4636 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4637
4638 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
4639 (abilist-pattern): New variable, set to %-le.abilist.
4640
4641 * Makerules (abilist-pattern): New variable.
4642 (vpath): Use $(abilist-pattern) in place of %.abilist.
4643 (check-abi-% pattern rule): Likewise.
4644 (check-abi, update-abi): Likewise.
4645
46462014-02-04 Eric Wong <normalperson@yhbt.net>
4647
4648 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4649
46502014-02-04 Eric Wong <normalperson@yhbt.net>
4651
4652 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4653
46542014-02-03 Carlos O'Donell <carlos@redhat.com>
4655
4656 * manual/startup.texi: Add next, previous, and top entries for
4657 the `Program Arguments' and `Environment Variables' nodes.
4658
46592014-02-03 Alexandre Oliva <aoliva@redhat.com>
4660
4661 * manual/macros.texi: Add comments before MTASC-safety macros.
4662
4663 * manual/users.texi: Document MTASC-safety properties.
4664
4665 * manual/threads.texi (pthread_key_create, pthread_key_delete,
4666 pthread_getspecific, pthread_setspecific): Format with
4667 @deftypefun, and add @safety note.
4668 * manual/signal.texi: Move comments that analyze the above
4669 functions to their home place.
4670
46712014-02-03 Allan McRae <allan@archlinux.org>
4672
4673 * po/sl.po: Update Slovenian translation from translation project.
4674
46752014-02-02 Alexandre Oliva <aoliva@redhat.com>
4676
4677 * manual/time.texi (timegm): Add missing blank after @c.
4678 Reported by Joseph Myers <joseph@codesourcery.com>.
4679
46802014-02-01 Alexandre Oliva <aoliva@redhat.com>
4681
4682 * manual/check-safety.sh: New.
4683 * manual/Makefile ($(objpfx)stamp-summary): Run it.
4684
4685 * manual/terminal.texi: Document MTASC-safety properties.
4686
4687 * manual/filesys.texi: Document MTASC-safety properties.
4688
4689 * manual/errno.texi: Document MTASC-safety properties.
4690
4691 * manual/intro.texi: Document safety identifiers and
4692 conditionals.
4693
4694 * manual/string.texi (wcstok): Fix prototype.
4695 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
4696
4697 * manual/time.texi: Document MTASC-safety properties.
4698
4699 * manual/string.texi: Document MTASC-safety properties.
4700
4701 * manual/threads.texi: Document MTASC-safety properties.
4702
4703 * manual/stdio.texi: Document MTASC-safety properties.
4704
4705 * manual/syslog.texi: Document MTASC-safety properties.
4706
4707 * manual/sysinfo.texi: Document MTASC-safety properties.
4708
4709 * manual/startup.texi: Document MTASC-safety properties.
4710
4711 * manual/socket.texi: Document MTASC-safety properties.
4712
4713 * manual/signal.texi: Document MTASC-safety properties.
4714
47152014-01-31 Alexandre Oliva <aoliva@redhat.com>
4716
4717 * manual/setjmp.texi: Document MTASC-safety properties.
4718
4719 * manual/search.texi: Document MTASC-safety properties.
4720
4721 * manual/resource.texi: Document MTASC-safety properties.
4722
4723 * manual/process.texi: Document MTASC-safety properties.
4724
4725 * manual/platform.texi: Document MTASC-safety properties.
4726
4727 * manual/pipe.texi: Document MTASC-safety properties.
4728
4729 * manual/pattern.texi: Document MTASC-safety properties.
4730
4731 * manual/message.texi: Document MTASC-safety properties.
4732
4733 [BZ #12751]
4734 * manual/memory.texi: Document MTASC-safety properties.
4735
4736 * manual/math.texi: Document MTASC-safety properties.
4737
4738 * manual/locale.texi: Document MTASC-safety properties.
4739
4740 * manual/llio.texi: Document MTASC-safety properties.
4741
4742 * manual/libdl.texi: New.
4743
4744 * manual/lang.texi: Document MTASC-safety properties.
4745
4746 * manual/job.texi: Document MTASC-safety properties.
4747
4748 * manual/getopt.texi: Document MTASC-safety properties.
4749
4750 * manual/ctype.texi: Document MTASC-safety properties.
4751
47522014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
4753
4754 [BZ #16046]
4755 * csu/libc-tls.c (static_map): Remove variable.
4756 (__libc_setup_tls): Use main executable's link map for TLS data.
4757 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
4758 casing for LM_ID_BASE and GL(dl_nns).
4759 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
4760 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
4761 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
4762 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
4763 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
4764 member.
4765 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
4766 l_phnum members.
4767
47682014-01-30 Alexandre Oliva <aoliva@redhat.com>
4769
4770 * manual/debug.texi: Document MTASC-safety properties.
4771
47722014-01-29 H.J. Lu <hongjiu.lu@intel.com>
4773
4774 [BZ #16510]
4775 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
4776 of __x86_64__ when disabling x87 inline functions.
4777
47782014-01-29 Alexandre Oliva <aoliva@redhat.com>
4779
4780 * manual/charset.texi: Document MTASC-safety properties.
4781
4782 * manual/crypt.texi: Document MTASC-safety properties.
4783
4784 * manual/conf.texi: Document MTASC-safety properties.
4785
4786 * manual/arith.texi: Document MTASC-safety properties.
4787
4788 * manual/argp.texi: Document MTASC-safety properties.
4789
4790 * manual/macros.texi: Introduce macros to document multi
4791 thread, asynchronous signal and asynchronous cancellation
4792 safety properties.
4793 * manual/intro.texi: Introduce the properties themselves.
4794
47952014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4796
4797 * sysdeps/sh/sh4/Makefile: New file.
4798
47992014-01-27 Andreas Schwab <schwab@linux-m68k.org>
4800
4801 * math/gen-libm-test.pl ($srcdir): New variable.
4802 ($auto_input): Use it.
4803
48042014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4805
4806 [BZ #16506]
4807 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
4808 access beyond array bounds when parsing netgroups file.
4809
4810 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
4811 the old buffer before realloc.
4812
48132014-01-27 Allan McRae <allan@archlinux.org>
4814
4815 * po/fr.po: Update French translation from translation project.
4816
48172014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4818
4819 * sysdeps/sh/libm-test-ulps: Regenerate.
4820
48212014-01-24 David S. Miller <davem@davemloft.net>
4822
4823 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
4824
48252014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4826
4827 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
4828 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
4829
48302013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4831
4832 [BZ #16474]
4833 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
4834 string pointers after reallocation.
4835
48362014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4837
4838 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
4839 __SH4A__ instead of __SH_FPU_ANY__.
4840
48412014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4842
4843 * sysdeps/sh/fpu_control.h: New file.
4844 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
4845 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
4846 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
4847 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
4848 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
4849 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
4850 * sysdeps/sh/sys/ucontext.h: Remove.
4851 * sysdeps/sh/sys: Remove directory.
4852
48532014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4854
4855 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
4856 s390/sys/ucontext.h.
4857 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
4858 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
4859
48602014-01-20 H.J. Lu <hongjiu.lu@intel.com>
4861
4862 [BZ #15605]
4863 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
4864
48652014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4866
4867 [BZ#16431]
4868 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
4869 Adjust the vDSO correctly for internal calls.
4870 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
4871
48722014-01-20 Allan McRae <allan@archlinux.org>
4873
4874 * po/ca.po: Update Catalan translation from translation project.
4875
48762014-01-16 Mike Frysinger <vapier@gentoo.org>
4877
4878 * sysdeps/s390/sotruss-lib.c: New file.
4879
48802014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4881
4882 [BZ#16430]
4883 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
4884 (__GI___gettimeofday): Alias for a different internal symbol to avoid
4885 local calls issues by not having a PLT stub required for IFUNC calls.
4886 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
4887
48882014-01-16 Joseph Myers <joseph@codesourcery.com>
4889
4890 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
4891 * math/test-fpucw-static.c: Likewise.
4892
48932013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4894
4895 [BZ #16453]
4896 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
4897
48982014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4899
4900 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
4901 implementation for powerpc.
4902
49032014-01-15 Ondřej Bílka <neleai@seznam.cz>
4904
4905 [BZ #14782]
4906 * sysdeps/posix/system.c (__libc_system): Do not enable
4907 asynchronous cancellation.
4908
49092014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4910
4911 [BZ #16427]
4912 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
4913 handling only for numbers special also in the IEEE case.
4914
49152014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4916
4917 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4918
49192014-01-11 Allan McRae <allan@archlinux.org>
4920
4921 * po/bg.po: Update Bulgarian translation from translation project.
4922
4923 * po/de.po: Update German translation from translation project.
4924
49252014-01-10 Roland McGrath <roland@hack.frob.com>
4926
4927 * sysdeps/generic/gcc-compat.h: New file.
4928
49292014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4930
4931 * benchtests/asin-inputs: Correct slow inputs.
4932 * benchtests/acos-inputs: Likewise.
4933
49342014-01-10 Allan McRae <allan@archlinux.org>
4935
4936 * po:sv.po: Update Swedish translation from translation project.
4937
4938 * po/vi.po: Update Vietnamese translation from translation project.
4939
4940 * po/eo.po: Update Esperanto translation from translation project.
4941
4942 * po/cs.po: Update Czech translation from translation project.
4943
4944 * po/nl.po: Update Dutch translation from translation project.
4945
4946 * po/pl.po: Update Polish translation from translation project.
4947
4948 * po/ru.po: Update Russian translation from translation project.
4949
4950 * po/uk.po: Update Ukrainian translation from translation project.
4951
49522014-01-08 Brooks Moses <bmoses@google.com>
4953
4954 * elf/dl-load.c: Fix comment typo.
4955
49562014-01-08 Carlos O'Donell <carlos@redhat.com>
4957
4958 * po/header.pot: Rename to...
4959 * po/pot.header: ... this.
4960 * po/Makefile: Use pot.header.
4961
49622014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
4963 Maxim Kuvyrkov <maxim@kugelworks.com>
4964
4965 [BZ #16394]
4966 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
4967 SRC and DEST against LEN.
4968
49692014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4970
4971 [BZ #16414]
4972 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
4973 implementation.
4974 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
4975
49762014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4977
4978 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4979
49802014-01-08 Joseph Myers <joseph@codesourcery.com>
4981
4982 [BZ #16408]
4983 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
4984 for large positive arguments.
4985
49862014-01-07 Joseph Myers <joseph@codesourcery.com>
4987
4988 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4989
4990 * math/auto-libm-test-in: Mark various tests with
4991 xfail-rounding:ldbl-128ibm.
4992 * math/auto-libm-test-out: Regenerated.
4993
4994 [BZ #16407]
4995 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
4996 Increase overflow threshold.
4997
49982014-01-07 Ondřej Bílka <neleai@seznam.cz>
4999
5000 [BZ #14286]
5001 * stdio-common/vfprintf.c: Check for integer overflow.
5002
50032014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5004
5005 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
5006 the first argument and return value of __tls_get_addr_internal.
5007
50082014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5009
5010 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
5011 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
5012
50132014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5014
5015 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
5016 * sysdeps/s390/rtld-global-offsets.sym: New file.
5017 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
5018 GLIBC_2.19 symbol.
5019 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
5020 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
5021 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
5022 ... this.
5023 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
5024 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
5025 ... this.
5026 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5027 Regenerate.
5028 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5029 Regenerate.
5030 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
5031 halfs of GPRs for high_gprs contexts.
5032 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
5033 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
5034 field.
5035 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
5036 uc_flags field.
5037 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
5038 64 bit versions:
5039 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
5040 for high GPRs (uc_high_gprs) and for future extensions
5041 (__reserved).
5042 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
5043 for future extensions (__reserved).
5044 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
5045 64 bit versions:
5046 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
5047 SC_HIGHGPRS offset definition.
5048 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
5049 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
5050
50512014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5052
5053 * Versions.def: Add GLIBC_2.19 for libpthread.
5054 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
5055 siglongjmp for libpthread with GLIBC_2.19 symver.
5056 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
5057 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
5058 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
5059 * sysdeps/s390/__longjmp.c: New file.
5060 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
5061 * sysdeps/s390/longjmp.c: New file.
5062 * sysdeps/s390/setjmp.S: New file.
5063 * sysdeps/s390/sigjmp.S: New file.
5064 * sysdeps/s390/v1-longjmp.c: New file.
5065 * sysdeps/s390/v1-setjmp.h: New file.
5066 * sysdeps/s390/v1-sigjmp.c: New file.
5067 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
5068 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
5069 GLIBC_2.19 version.
5070 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
5071 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
5072 versioned symbols for ____longjmp_chk.
5073 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
5074 Likewise.
5075 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5076 Regenerate.
5077 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5078 Regenerate.
5079 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5080 Regenerate.
5081 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5082 Regenerate.
5083 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
5084 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
5085 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
5086 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
5087 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
5088 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
5089 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
5090 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
5091 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
5092 * sysdeps/s390/rtld-__longjmp.c: New file.
5093 * sysdeps/s390/rtld-setjmp.S: New file.
5094
50952014-01-06 Joseph Myers <joseph@codesourcery.com>
5096
5097 [BZ #16400]
5098 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5099 Return -__logl (x) for small positive arguments without evaluating
5100 a polynomial.
5101
51022014-01-06 Mike Frysinger <vapier@gentoo.org>
5103
5104 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
5105 Rename to ...
5106 (__ptrace_peeksiginfo_args): ... this.
5107 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5108 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5109 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5110
51112014-01-06 Allan McRae <allan@archlinux.org>
5112
5113 * inet/netinet/in.h: Fix typo in comment.
5114
51152014-01-05 Andreas Jaeger <aj@suse.de>
5116
5117 * sysdeps/i386/fpu/libm-test-ulps: Update.
5118
51192014-01-05 Allan McRae <allan@archlinux.org>
5120
5121 * po/libc.pot: Regenerated.
5122
5123 * malloc/memusagestat.c: Fix gettext call formatting.
5124
51252014-01-04 Sami Kerola <kerolasa@iki.fi>
5126
5127 * nscd/nscd.c: Improve usage() output.
5128
51292014-01-04 Mike Frysinger <vapier@gentoo.org>
5130
5131 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
5132 * sysdeps/unix/sysv/linux/configure: Regenerated.
5133 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
5134 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
5135
51362014-01-03 Joseph Myers <joseph@codesourcery.com>
5137
5138 [BZ #16390]
5139 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
5140 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
5141
51422014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5143
5144 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
5145 extra tokens at end of #undef directive.
5146 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
5147 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
5148 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
5149
51502014-01-03 Joseph Myers <joseph@codesourcery.com>
5151
5152 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5153
5154 * math/auto-libm-test-in: Mark various tests with
5155 xfail-rounding:ldbl-128ibm.
5156 * math/auto-libm-test-out: Regenerated.
5157
51582014-01-02 Joseph Myers <joseph@codesourcery.com>
5159
5160 [BZ #16386]
5161 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
5162 numbers with subnormal high part when calculating exponent.
5163
5164 [BZ #16385]
5165 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
5166 fabs.
5167
5168 [BZ #16384]
5169 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
5170 M_LN2l.
5171 (__ieee754_acoshl): Use __log1pl not __log1p.
5172
51732013-01-02 Ondřej Bílka <neleai@seznam.cz>
5174
5175 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
5176 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
5177 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
5178 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
5179 Convert to GNU style.
5180 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
5181 mem2mem_check, mem2chunk_check, top_check, realloc_check,
5182 memalign_check, __malloc_set_state): Likewise.
5183 * malloc/mallocbug.c (main): Likewise.
5184 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
5185 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
5186 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
5187 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
5188 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
5189 * malloc/malloc.h: Likewise.
5190 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
5191 memalignhook, reallochook, mabort): Likewise.
5192 * malloc/mcheck.h: Likewise.
5193 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
5194 mmap64, mremap, munmap, dest): Likewise.
5195 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
5196 * malloc/morecore.c (__default_morecore): Likewise.
5197 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
5198 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
5199 _obstack_allocated_p, obstack_free, _obstack_memory_used,
5200 print_and_abort): Likewise.
5201 * malloc/obstack.h: Likewise.
5202 * malloc/set-freeres.c (__libc_freeres): Likewise.
5203 * malloc/tst-mallocstate.c (main): Likewise.
5204 * malloc/tst-mtrace.c (main): Likewise.
5205 * malloc/tst-realloc.c (do_test): Likewise.
5206
52072013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5208
5209 [BZ #16366]
5210 * nscd/netgroupcache.c (do_notfound): New function.
5211 (addgetnetgrentX): Use it.
5212
5213 [BZ # 16365]
5214 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
5215 NSS_STATUS_NOTFOUND.
5216
52172014-01-01 Joseph Myers <joseph@codesourcery.com>
5218
5219 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
5220 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5221
52222014-01-01 Allan McRae <allan@archlinux.org>
5223
5224 * scripts/update-copyrights: Update configure input file suffix.
5225
5226 * NEWS: Update copyright year.
5227 * catgets/gencat.c: Likewise.
5228 * csu/version.c: Likewise.
5229 * debug/catchsegv.sh: Likewise.
5230 * debug/pcprofiledump.c: Likewise.
5231 * debug/xtrace.sh: Likewise.
5232 * elf/ldconfig.c: Likewise.
5233 * elf/ldd.bash.in: Likewise.
5234 * elf/pldd.c: Likewise.
5235 * elf/sotruss.ksh: Likewise.
5236 * elf/sprof.c: Likewise.
5237 * iconv/iconv_prog.c: Likewise.
5238 * iconv/iconvconfig.c: Likewise.
5239 * locale/programs/locale.c: Likewise.
5240 * locale/programs/localedef.c: Likewise.
5241 * login/programs/pt_chown.c: Likewise.
5242 * malloc/memusage.sh: Likewise.
5243 * malloc/memusagestat.c: Likewise.
5244 * malloc/mtrace.pl: Likewise.
5245 * manual/libc.texinfo: Likewise.
5246 * nscd/nscd.c: Likewise.
5247 * nss/getent.c: Likewise.
5248 * nss/makedb.c: Likewise.
5249 * posix/getconf.c: Likewise.
5250 * scripts/test-installation.pl: Likewise.
5251
5252 * All files with FSF copyright notices: Update copyright dates
5253 using scripts/update-copyrights.
5254 * intl/plural.c: Regenerated.
5255 * locale/programs/charmap-kw.h: Likewise.
5256 * locale/programs/locfile-kw.h: Likewise.
5257
52582013-12-31 Mike Frysinger <vapier@gentoo.org>
5259
5260 * sysdeps/unix/sysv/linux/configure: Regenerated.
5261 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
5262 the linux/fanotify.h header.
5263 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
5264 HAVE_LINUX_FANOTIFY_H is defined.
5265
52662013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5267
5268 * benchtests/cos-inputs: New inputs.
5269 * benchtests/sin-inputs: Likewise.
5270
5271 * benchtests/atan-inputs: New inputs. Fix name of multiple
5272 precision fallback inputs.
5273
5274 * benchtests/atanh-inputs: New inputs.
5275 * benchtests/tanh-inputs: Likewise.
5276
5277 * benchtests/acosh-inputs: New inputs.
5278 * benchtests/asinh-inputs: Likewise.
5279
5280 * benchtests/cosh-inputs: New inputs.
5281 * benchtests/sinh-inputs: Likewise.
5282
5283 * benchtests/acos-inputs: Add more inputs.
5284 * benchtests/asin-inputs: Likewise.
5285
52862013-12-30 Ville Skytta <ville.skytta@iki.fi>
5287
5288 [BZ #16375]
5289 * manual/arith.texi: Fix spelling.
5290 * manual/charset.texi: Likewise.
5291 * manual/errno.texi: Likewise.
5292 * manual/filesys.texi: Likewise.
5293 * manual/lang.texi: Likewise.
5294 * manual/llio.texi: Likewise.
5295 * manual/locale.texi: Likewise.
5296 * manual/message.texi: Likewise.
5297 * manual/resource.texi: Likewise.
5298 * manual/search.texi: Likewise.
5299 * manual/setjmp.texi: Likewise.
5300 * manual/stdio.texi: Likewise.
5301 * manual/string.texi: Likewise.
5302 * manual/sysinfo.texi: Likewise.
5303 * manual/time.texi: Likewise.
5304
53052013-12-27 Carlos O'Donell <carlos@redhat.com>
5306
5307 * po/sl.po: New file.
5308
53092013-12-27 Mike Frysinger <vapier@gentoo.org>
5310
5311 * .gitignore: Add core/.gdbinit/.gdb_history.
5312
53132013-12-27 Allan McRae <allan@archlinux.org>
5314
5315 [BZ #16369]
5316 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
5317 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
5318
53192013-12-24 Brooks Moses <bmoses@google.com>
5320
5321 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
5322 all compilers that claim C++98 compliance, not just GCC.
5323 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
5324 Likewise.
5325
53262013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
5327
5328 * NEWS: Restore accidentally deleted bug-fix entries.
5329
53302013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
5331 Ondřej Bílka <neleai@seznam.cz>
5332
5333 [BZ #15073]
5334 * malloc/malloc.c (_int_free): Perform sanity check only if we
5335 have_lock.
5336
53372013-12-23 Ondřej Bílka <neleai@seznam.cz>
5338
5339 [BZ #12986]
5340 * manual/stdio.texi (String Input Conversions): Clarify that character
5341 classes are not supported.
5342
53432013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5344
5345 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5346
53472013-12-22 Joseph Myers <joseph@codesourcery.com>
5348
5349 [BZ #16337]
5350 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5351 Calculate results for small negative arguments directly rather
5352 than using reflection formula with special underflow handling.
5353
5354 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
5355 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
5356 sysdeps/unix/bsd/bsd4.4/syscalls.list.
5357 (fchflags): Likewise.
5358 (revoke): Likewise.
5359 (setlogin): Likewise.
5360 (sigaltstack): Likewise.
5361 (wait4): Likewise.
5362 (sigblock): Remove.
5363 (sigsetmask): Likewise.
5364 (wait3): Likewise.
5365 (waitpid): Likewise.
5366 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
5367 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
5368 file.
5369 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
5370 * sysdeps/unix/bsd/Makefile: ... here.
5371 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
5372 * sysdeps/unix/bsd/Versions: ... here.
5373 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
5374 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
5375 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
5376 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
5377 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
5378 * sysdeps/unix/bsd/sigblock.c: ... here.
5379 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
5380 * sysdeps/unix/bsd/sigsetmask.c: ... here.
5381 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
5382 * sysdeps/unix/bsd/sigvec.c: ... here.
5383 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
5384 * sysdeps/unix/bsd/tcdrain.c: ... here.
5385 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
5386 * sysdeps/unix/bsd/tcgetattr.c: ... here.
5387 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
5388 * sysdeps/unix/bsd/tcsetattr.c: ... here.
5389 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
5390 * sysdeps/unix/bsd/wait.c: ... here.
5391 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
5392 * sysdeps/unix/bsd/wait3.c: ... here.
5393 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
5394 * sysdeps/unix/bsd/waitpid.c: ... here.
5395
53962013-12-21 Joseph Myers <joseph@codesourcery.com>
5397
5398 [BZ #16356]
5399 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
5400 round-to-nearest for [!USE_AS_EXPM1L].
5401 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
5402 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
5403 more tests of exp and exp10. Expect some exp10 tests to miss
5404 exceptions or fail in directed rounding modes.
5405 * math/auto-libm-test-out: Regenerated.
5406 * math/libm-test.inc (exp10_tonearest_test_data): New array.
5407 (exp10_test_tonearest): New function.
5408 (exp10_towardzero_test_data): New array.
5409 (exp10_test_towardzero): New function.
5410 (exp10_downward_test_data): New array.
5411 (exp10_test_downward): New function.
5412 (exp10_upward_test_data): New array.
5413 (exp10_test_upward): New function.
5414 (main): Call the new functions.
5415 * sysdeps/i386/fpu/libm-test-ulps: Update.
5416 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5417
54182013-12-20 Joseph Myers <joseph@codesourcery.com>
5419
5420 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
5421 asinh, atan, atan2, atanh, cbrt, cos and cosh.
5422 * math/auto-libm-test-out: Regenerated.
5423 * math/libm-test.inc (acosh_test_data): Add more tests.
5424 (atanh_test_data): Likewise.
5425 (ceil_test_data): Likewise.
5426 (copysign_test_data): Likewise.
5427 * sysdeps/i386/fpu/libm-test-ulps: Update.
5428 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5429
5430 * timezone/checktab.awk: Update from tzcode 2013i.
5431 * timezone/private.h: Likewise.
5432 * timezone/scheck.c: Likewise.
5433 * timezone/tzfile.h: Likewise.
5434 * timezone/tzselect.ksh: Likewise.
5435 * timezone/zdump.c: Likewise.
5436 * timezone/zic.c: Likewise.
5437
5438 * math/auto-libm-test-in: Add tests of cpow.
5439 * math/auto-libm-test-out: Regenerated.
5440 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
5441 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
5442 mpc_cc_c.
5443 (func_calc_desc): Add mpc_cc_c union field.
5444 (test_functions): Add cpow.
5445 (special_fill_2pi): New function.
5446 (special_real_inputs): Add 2pi.
5447 (calc_generic_results): Handle mpc_cc_c.
5448 * sysdeps/i386/fpu/libm-test-ulps: Update.
5449 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5450
5451 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
5452 csqrt, ctan and ctanh.
5453 * math/auto-libm-test-out: Regenerated.
5454 * math/libm-test.inc (TEST_COND_x86_64): New macro.
5455 (TEST_COND_x86): Likewise.
5456 (ccos_test_data): Use AUTO_TESTS_c_c.
5457 (ccosh_test_data): Likewise.
5458 (cexp_test_data): Likewise.
5459 (clog_test_data): Likewise.
5460 (csqrt_test_data): Likewise.
5461 (ctan_test_data): Likewise.
5462 (ctan_tonearest_test_data): Likewise.
5463 (ctan_towardzero_test_data): Likewise.
5464 (ctan_downward_test_data): Likewise.
5465 (ctan_upward_test_data): Likewise.
5466 (ctanh_test_data): Likewise.
5467 (ctanh_tonearest_test_data): Likewise.
5468 (ctanh_towardzero_test_data): Likewise.
5469 (ctanh_downward_test_data): Likewise.
5470 (ctanh_upward_test_data): Likewise.
5471 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5472 mpc_c_c.
5473 (func_calc_desc): Add mpc_c_c union field.
5474 (FUNC_mpc_c_c): New macro.
5475 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
5476 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
5477 ctanh.
5478 (special_fill_min_subnorm_p120): New function.
5479 (special_real_inputs): Add min_subnorm_p120.
5480 (calc_generic_results): Handle mpc_c_c.
5481 * sysdeps/i386/fpu/libm-test-ulps: Update.
5482 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5483
54842013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5485
5486 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
5487 do_sin_slow): New functions.
5488 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
5489 cslow2, csloww1, csloww2): Use the new functions.
5490
5491 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
5492 Use M to change sign of result instead of X. Assume X is
5493 positive.
5494 (csloww1): Likewise.
5495 (__sin): Adjust.
5496 (__cos): Adjust.
5497
5498 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
5499 arguments A and DA.
5500 (__sin): Adjust.
5501 (__cos): Likewise.
5502
5503 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
5504 (__cos): Likewise.
5505 (sloww1): Don't adjust sign of DX.
5506 (csloww1): Likewise.
5507 (sloww2): Use X directly and don't adjust sign of DX.
5508 (csloww2): Likewise.
5509
55102013-12-19 Joseph Myers <joseph@codesourcery.com>
5511
5512 * math/auto-libm-test-in: Add tests of cabs and carg.
5513 * math/auto-libm-test-out: Regenerated.
5514 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
5515 (carg_test_data): Likewise.
5516 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5517 mpc_c_f.
5518 (func_calc_desc): Add mpc_c_f union field.
5519 (test_functions): Add cabs and carg.
5520 (calc_generic_results): Handle mpc_c_f.
5521
5522 * sysdeps/powerpc/powerpc32/libgcc-compat.S
5523 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
5524 as a macro and a compat symbol.
5525 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
5526 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
5527 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
5528 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
5529 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
5530 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
5531 not use .hidden.
5532 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
5533 Likewise.
5534 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
5535 Likewise.
5536 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
5537 Likewise.
5538 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
5539 Likewise.
5540 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
5541 Likewise.
5542 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
5543 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
5544 from GLIBC_2.3.2.
5545
55462013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5547
5548 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5549
55502013-12-19 Joseph Myers <joseph@codesourcery.com>
5551
5552 * manual/texinfo.tex: Update to version 2013-11-26.10 with
5553 trailing whitespace removed.
5554 * scripts/config.guess: Update to version 2013-11-29.
5555 * scripts/config.sub: Update to version 2013-10-01.
5556
5557 * math/auto-libm-test-in: Add tests of sincos.
5558 * math/auto-libm-test-out: Regenerated.
5559 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
5560 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5561 mpfr_f_11.
5562 (func_calc_desc): Add mpfr_f_11 union field.
5563 (test_functions): Add sincos.
5564 (calc_generic_results): Handle mpfr_f_11.
5565 * sysdeps/i386/fpu/libm-test-ulps: Update.
5566 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5567
55682013-12-19 Andreas Schwab <schwab@suse.de>
5569
5570 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
5571 CALL_MCOUNT.
5572 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
5573 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
5574 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
5575
55762013-12-19 Joseph Myers <joseph@codesourcery.com>
5577
5578 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
5579 * sysdeps/i386/fpu/libm-test-ulps: Update.
5580 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5581
5582 [BZ #16293]
5583 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
5584 round-to-nearest mode when using frndint.
5585 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
5586 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
5587 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
5588 Likewise.
5589 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
5590 sinh test to fail.
5591 * math/auto-libm-test-out: Regenerated.
5592 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
5593 (TEST_COND_x86): Likewise.
5594 (expm1_tonearest_test_data): New array.
5595 (expm1_test_tonearest): New function.
5596 (expm1_towardzero_test_data): New array.
5597 (expm1_test_towardzero): New function.
5598 (expm1_downward_test_data): New array.
5599 (expm1_test_downward): New function.
5600 (expm1_upward_test_data): New array.
5601 (expm1_test_upward): New function.
5602 (main): Run the new test functions.
5603 * sysdeps/i386/fpu/libm-test-ulps: Update.
5604 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5605
5606 * include/features.h: Update comment documenting feature test
5607 macros. Mention _DEFAULT_SOURCE in comment.
5608 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
5609 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
5610 _BSD_SOURCE and _SVID_SOURCE.
5611 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
5612 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
5613 !_SVID_SOURCE]: Likewise.
5614 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5615 (__USE_POSIX_IMPLICITLY): Define.
5616 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5617 (_POSIX_SOURCE): Undefine and redefine.
5618 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5619 (_POSIX_C_SOURCE): Likewise.
5620 * manual/creature.texi (_DEFAULT_SOURCE): Document.
5621 (Feature Test Macros): Update documentation of default features.
5622
56232013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5624
5625 * benchtests/Makefile: Add bench-strtok.
5626 * benchtests/bench-strtok.c: New file: strtok benchtest.
5627
56282013-12-19 Allan McRae <allan@archlinux.org>
5629
5630 * manual/install.texi: Suppress menu for plain text output.
5631 * INSTALL: Regenerated.
5632
56332013-12-18 Brooks Moses <bmoses@google.com>
5634
5635 [BZ #15846]
5636 * misc/getauxval.c: Include errno.h.
5637 (__getauxval): Set errno to ENOENT if the requested type is not
5638 found.
5639 * misc/sys/auxv.h (getauxval): Document that it may set errno;
5640 don't declare with __attribute_const__.
5641 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
5642 * manual/startup.texi: Document that getauxval sets errno.
5643
56442013-12-18 Joseph Myers <joseph@codesourcery.com>
5645
5646 * math/auto-libm-test-in: Add tests of jn and yn.
5647 * math/auto-libm-test-out: Regenerated.
5648 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
5649 (yn_test_data): Likewise.
5650 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5651 mpfr_if_f.
5652 (func_calc_desc): Add mpfr_if_f union field.
5653 (FUNC_mpfr_if_f): New macro.
5654 (test_functions): Add jn and yn.
5655 (calc_generic_results): Assert type of second input for
5656 mpfr_ff_f. Handle mpfr_if_f.
5657 (output_for_one_input_case): Disable all checking for arguments
5658 fitting floating-point types in case of an integer argument.
5659 * sysdeps/i386/fpu/libm-test-ulps: Update.
5660 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5661
5662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
5663 Don't expect fegetround reference in libm.so.
5664
56652013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5666
5667 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
5668 $(config-cflags-nofma).
5669
56702013-12-18 Joseph Myers <joseph@codesourcery.com>
5671
5672 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
5673 * math/auto-libm-test-out: Regenerated.
5674
5675 [BZ #16338]
5676 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
5677 to determine exponent and adjust argument to have exponent of -1.
5678 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
5679 log2.
5680 * math/auto-libm-test-out: Regenerated.
5681 * sysdeps/i386/fpu/libm-test-ulps: Update.
5682 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5683
56842013-12-18 Ondřej Bílka <neleai@seznam.cz>
5685
5686 * manual/probes.texi: Remove cases when per-thread arenas are
5687 disabled.
5688
56892013-12-18 Andreas Schwab <schwab@suse.de>
5690
5691 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
5692 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
5693 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
5694 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
5695 * sysdeps/i386/i686/multiarch/Makefile: Update.
5696 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
5697
56982013-12-17 Joseph Myers <joseph@codesourcery.com>
5699
5700 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
5701 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
5702
57032013-12-17 Paul Eggert <eggert@cs.ucla.edu>
5704
5705 [BZ #15968]
5706 Support TZ transition times < 00:00:00.
5707 This is needed for version-3 tz-format files; it supports time
5708 stamps past 2037 for America/Godthab (the only entry in the tz
5709 database for which this change is relevant).
5710 * manual/time.texi (TZ Variable): Document transition times
5711 from -167:59:59 through -00:00:01.
5712 * time/tzset.c (tz_rule): Time of day is now signed.
5713 (__tzset_parse_tz): Parse negative time of day.
5714
5715 Document TZ transition times >= 25:00:00.
5716 * manual/time.texi (TZ Variable): Document transition times from
5717 25:00:00 through 167:59:59. These are already supported, and this
5718 support will help with version-3 tz-format files.
5719
5720 * manual/time.texi (TZ Variable): Modernize North America example
5721 to reflect current (i.e., 2007-and-later) daylight saving rules.
5722
5723 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
5724
57252013-12-17 Joseph Myers <joseph@codesourcery.com>
5726
5727 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
5728 * sysdeps/unix/bsd/bits/stat.h: Likewise.
5729 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
5730 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
5731 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
5732 * sysdeps/unix/bsd/bsdstat.h: Likewise.
5733 * sysdeps/unix/bsd/clock.c: Likewise.
5734 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
5735 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
5736 * sysdeps/unix/bsd/init-posix.c: Likewise.
5737 * sysdeps/unix/bsd/poll.c: Likewise.
5738 * sysdeps/unix/bsd/ptsname.c: Likewise.
5739 * sysdeps/unix/bsd/seekdir.c: Likewise.
5740 * sysdeps/unix/bsd/setegid.c: Likewise.
5741 * sysdeps/unix/bsd/seteuid.c: Likewise.
5742 * sysdeps/unix/bsd/setgid.c: Likewise.
5743 * sysdeps/unix/bsd/setrgid.c: Likewise.
5744 * sysdeps/unix/bsd/setruid.c: Likewise.
5745 * sysdeps/unix/bsd/setsid.c: Likewise.
5746 * sysdeps/unix/bsd/setuid.c: Likewise.
5747 * sysdeps/unix/bsd/sigaction.c: Likewise.
5748 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
5749 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
5750 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
5751 * sysdeps/unix/bsd/telldir.c: Likewise.
5752 * sysdeps/unix/bsd/times.c: Likewise.
5753 * sysdeps/unix/bsd/usleep.c: Likewise.
5754
5755 * misc/Makefile (install-lib): Remove libbsd-compat.a.
5756 ($(objpfx)libbsd-compat.a): Remove rule.
5757
5758 * include/features.h (__FAVOR_BSD): Do not define.
5759 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
5760 features conflicting with POSIX.
5761 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
5762 (_BSD_SOURCE): Remove description of not being a subset of other
5763 feature test macros.
5764 * manual/job.texi (getpgrp): Do not document BSD version.
5765 (getpgid): Do not document by reference to BSD getpgrp.
5766 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
5767 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
5768 * signal/signal.h [__FAVOR_BSD]: Likewise.
5769 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
5770 instead of making contents conditional on [__FAVOR_BSD].
5771 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
5772
57732013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5774
5775 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5776
57772013-12-17 Joseph Myers <joseph@codesourcery.com>
5778
5779 [BZ #16314]
5780 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
5781 values below 2**-450, not 2**-500.
5782 * math/auto-libm-test-in: Don't allow spurious underflow from
5783 hypot.
5784 * math/auto-libm-test-out: Regenerated.
5785
5786 [BZ #16316]
5787 [BZ #16330]
5788 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
5789 values of ha and hb and sort them after adjusting subnormal
5790 arguments.
5791 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
5792 Likewise.
5793 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
5794 values of ea and eb and sort them after adjusting subnormal
5795 arguments.
5796 * math/auto-libm-test-in: Do not expect some hypot tests of
5797 subnormals to fail. Add more hypot tests.
5798 * math/auto-libm-test-out: Regenerated.
5799
58002013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5801
5802 [BZ #13304]
5803 * sysdeps/sh/s_fma.c: New file.
5804 * sysdeps/sh/s_fmaf.c: New file.
5805 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
5806 version.
5807 * sysdeps/sh/Implies: Add sh/soft-fp.
5808
58092013-12-16 Roland McGrath <roland@hack.frob.com>
5810
5811 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
5812 level of indirection to members `objname', `errstring', `malloced'.
5813 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
5814 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
5815 it as the __longjmp argument (just pass 1 instead).
5816 (_dl_catch_error): Initialize C with argument pointers and address of
5817 volatile local ERRCODE rather than copying values out of C at return.
5818
58192013-12-16 Joseph Myers <joseph@codesourcery.com>
5820
5821 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
5822 * math/auto-libm-test-out: Regenerated.
5823 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
5824 (hypot_test_data): Likewise.
5825 (pow_test_data): Likewise.
5826 (pow_tonearest_test_data): Likewise.
5827 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5828 mpfr_ff_f.
5829 (func_calc_desc): Add mpfr_ff_f union field.
5830 (FUNC_mpfr_ff_f): New macro.
5831 (test_functions): Add atan2, hypot and pow.
5832 (special_fill_min): New function.
5833 (special_fill_minus_min): Likewise.
5834 (special_fill_min_subnorm): Likewise.
5835 (special_fill_minus_min_subnorm): Likewise.
5836 (special_real_inputs): Add min, -min, min_subnorm and
5837 -min_subnorm.
5838 (calc_generic_results): Handle mpfr_ff_f.
5839 * sysdeps/i386/fpu/libm-test-ulps: Update.
5840 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5841
58422013-12-16 Will Newton <will.newton@linaro.org>
5843
5844 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
5845 (Aligned Memory Blocks): Add documentation for aligned_alloc
5846 and suggest it as an alternative to posix_memalign.
5847 (Hooks for Malloc): Document __memalign_hook is also called
5848 for aligned_alloc. (Summary of Malloc): Add summary for
5849 aligned alloc. Document __memalign_hook is also called
5850 for aligned_alloc.
5851
58522013-12-16 Will Newton <will.newton@linaro.org>
5853
5854 * manual/memory.texi (Malloc Examples): Clarify default
5855 alignment documentation. Suggest posix_memalign rather
5856 than memalign or valloc.
5857 (Aligned Memory Blocks): Remove suggestion to use memalign
5858 or valloc. Remove obsolete comment about BSD.
5859 Document memalign errno values and mark the function obsolete.
5860 Document posix_memalign returned error codes. Mark valloc
5861 as obsolete. (Hooks for Malloc): __memalign_hook is also
5862 called for posix_memalign and valloc.
5863 (Summary of Malloc): Add posix_memalign to function summary.
5864 __memalign_hook is also called for posix_memalign and valloc.
5865
58662013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5867
5868 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
5869 TAYLOR_SIN.
5870 (__sin): Adjust.
5871 (__cos): Likewise.
5872 (sloww): Use mynumber union. Expand ternary operator into
5873 if-else statements.
5874 (cslow): use mynumber union.
5875
58762013-12-16 Allan McRae <allan@archlinux.org>
5877
5878 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
5879 * configure: Regenerated.
5880
5881 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
5882
5883 [BZ #14120]
5884 * configure.ac: Added --enable-maintainer-mode. Check for
5885 autoconf when enabled.
5886 * configure: Regenerated.
5887
5888 * nscd/nscd.service: New file.
5889 * nscd/nscd.tmpfiles: New file.
5890
58912013-12-14 Ondřej Bílka <neleai@seznam.cz>
5892
5893 [BZ #12100]
5894 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
5895 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
5896 * sysdeps/x86_64/multiarch/strstr.c: ... here.
5897 (strstr): Add __strstr_sse2_unaligned ifunc.
5898 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
5899 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
5900 (strcasestr): Remove __strcasestr_sse42 ifunc.
5901 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
5902 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
5903 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
5904
59052013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5906
5907 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
5908 * sysdeps/sh/bits/fenv.h: ... here.
5909 * sysdeps/sh/sh4/fpu/bits: Remove directory.
5910
59112013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5912
5913 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
5914
59152013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5916
5917 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
5918 hypotf multiarch implementations.
5919 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
5920 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
5921 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
5922 multiarch hypot for PPC64.
5923 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
5924 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
5925 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
5926 multiarch hypotf for PPC64.
5927
59282013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5929
5930 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
5931 modff multiarch implementations.
5932 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
5933 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
5934 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
5935 multiarch modf for PPC64.
5936 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
5937 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
5938 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
5939 multiarch modff for PPC64.
5940
59412013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5942
5943 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
5944 and logl multiarch implementations.
5945 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
5946 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
5947 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
5948 multiarch logb for PPC64.
5949 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
5950 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
5951 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
5952 multiarch logb for PPC64.
5953 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
5954 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
5955 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
5956 multiarch logb for PPC64.
5957
59582013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5959
5960 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
5961 isinff multiarch implementation.
5962 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
5963 file.
5964 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
5965 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
5966 multiarch isinf for PPC64.
5967 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
5968 file.
5969 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
5970 multiarch isinff for PPC64.
5971
59722013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5973
5974 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
5975 finitef multiarch implementation.
5976 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
5977 file.
5978 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
5979 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
5980 multiarch finite for PPC64.
5981 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
5982 file.
5983 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
5984 multiarch finitef for PPC64.
5985
59862013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5987
5988 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
5989 lrint multiarch implementation.
5990 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
5991 file.
5992 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
5993 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
5994 multiarch llrint for PPC64.
5995 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
5996 multiarch lrint for PPC64.
5997
59982013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5999
6000 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
6001 copysignf multiarch implementation.
6002 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
6003 file.
6004 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
6005 file.
6006 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
6007 multiarch copysign for PPC64.
6008 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
6009 multiarch copysignf for PPC64.
6010
60112013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6012
6013 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
6014 multiarch implementation.
6015 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
6016 file.
6017 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
6018 file.
6019 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
6020 file.
6021 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
6022 file.
6023 multiarch llround for PPC64.
6024 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
6025 multiarch trunc for PPC64.
6026 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
6027 multiarch truncf for PPC64.
6028
60292013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6030
6031 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
6032 multiarch implementation.
6033 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
6034 file.
6035 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
6036 file.
6037 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
6038 file.
6039 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
6040 file.
6041 multiarch llround for PPC64.
6042 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
6043 multiarch round for PPC64.
6044 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
6045 multiarch roundf for PPC64.
6046
60472013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6048
6049 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
6050 multiarch implementation.
6051 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
6052 file.
6053 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
6054 file.
6055 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
6056 file.
6057 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
6058 file.
6059 multiarch llround for PPC64.
6060 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
6061 multiarch floor for PPC64.
6062 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
6063 multiarch floorf for PPC64.
6064
60652013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6066
6067 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
6068 multiarch implementation.
6069 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
6070 file.
6071 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
6072 file.
6073 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
6074 file.
6075 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
6076 file.
6077 multiarch llround for PPC64.
6078 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
6079 multiarch ceil for PPC64.
6080 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
6081 multiarch ceilf for PPC64.
6082
60832013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6084
6085 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
6086 multiarch implementation.
6087 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
6088 file.
6089 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
6090 file.
6091 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
6092 file.
6093 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
6094 multiarch llround for PPC64.
6095 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
6096 multiarch lround for PPC64.
6097
60982013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6099
6100 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
6101 multiarch implementation.
6102 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
6103 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
6104 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
6105 file.
6106 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
6107 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
6108 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
6109 multiarch isnan for PPC64.
6110 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
6111 multiarch isnanf for PPC64.
6112
61132013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6114
6115 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
6116 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
6117 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
6118 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
6119 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
6120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
6121
61222013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6123
6124 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
6125 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6126 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6127 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6128
61292013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6130
6131 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
6132 multiarch implementations.
6133 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6134 (__libc_ifunc_impl_list): Likewise.
6135 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
6136 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
6137 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
6138 multiarch stpcpy for PPC64.
6139
61402013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6141
6142 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
6143 multiarch implementations.
6144 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6145 (__libc_ifunc_impl_list): Likewise.
6146 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
6147 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
6148 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
6149 multiarch strcpy for PPC64.
6150
61512013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6152
6153 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
6154 redefine function name.
6155 (_wordcopy_fwd_dest_aligned): Likewise.
6156 (_wordcopy_bwd_aligned): Likewise.
6157 (_wordcopy_bwd_dest_aligned): Likewise.
6158 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
6159 multiarch implementations.
6160 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6161 (__libc_ifunc_impl_list): Likewise.
6162 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
6163 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
6164 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
6165 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
6166 multiarch wcscpy for PPC64.
6167
61682013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6169
6170 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
6171 multiarch implementations.
6172 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6173 (__libc_ifunc_impl_list): Likewise.
6174 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
6175 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
6176 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
6177 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
6178 multiarch wcscpy for PPC64.
6179
61802013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6181
6182 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
6183 multiarch implementations.
6184 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6185 (__libc_ifunc_impl_list): Likewise.
6186 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
6187 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
6188 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
6189 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
6190 multiarch wcsrchr for PPC64.
6191
61922013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6193
6194 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
6195 multiarch implementations.
6196 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6197 (__libc_ifunc_impl_list): Likewise.
6198 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
6199 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
6200 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
6201 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
6202 multiarch wcschr for PPC64.
6203
62042013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6205
6206 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
6207 multiarch implementations.
6208 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6209 (__libc_ifunc_impl_list): Likewise.
6210 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
6211 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
6212 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
6213 multiarch strchrnul for PPC64.
6214
62152013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6216
6217 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
6218 implementations.
6219 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6220 (__libc_ifunc_impl_list): Likewise.
6221 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
6222 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
6223 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
6224 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
6225 strchr for PPC64.
6226
62272013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6228
6229 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
6230 implementations.
6231 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6232 (__libc_ifunc_impl_list): Likewise.
6233 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
6234 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
6235 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
6236 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
6237 strncmp for PPC64.
6238
62392013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6240
6241 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
6242 multiarch implementations.
6243 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6244 (__libc_ifunc_impl_list): Likewise.
6245 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
6246 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
6247 strncasecmp for PPC64.
6248 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
6249 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
6250 multiarch strncasecmp_l for PPC64.
6251
62522013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6253
6254 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
6255 multiarch implementations.
6256 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6257 (__libc_ifunc_impl_list): Likewise.
6258 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
6259 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
6260 multiarch strcasecmp for PPC64.
6261 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
6262 file.
6263 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
6264 multiarch strcasecmp_l for PPC64.
6265
62662013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6267
6268 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
6269 implementations.
6270 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6271 (__libc_ifunc_impl_list): Likewise.
6272 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
6273 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
6274 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
6275 strnlen for PPC64.
6276
62772013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6278
6279 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
6280 implementations.
6281 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6282 (__libc_ifunc_impl_list): Likewise.
6283 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
6284 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
6285 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
6286 strlen for PPC64.
6287
62882013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6289
6290 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
6291 implementations.
6292 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6293 (__libc_ifunc_impl_list): Likewise.
6294 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
6295 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
6296 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
6297 rawmemrchr for PPC64.
6298
62992013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6300
6301 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
6302 implementation.
6303 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6304 (__libc_ifunc_impl_list): Likewise.
6305 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
6306 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
6307 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
6308 memrchr for PPC64.
6309
63102013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6311
6312 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
6313 implementation.
6314 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6315 (__libc_ifunc_impl_list): Likewise.
6316 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
6317 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
6318 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
6319 memchr for PPC64.
6320
63212013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6322
6323 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
6324 implementation.
6325 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6326 (__libc_ifunc_impl_list): Likewise.
6327 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
6328 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
6329 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
6330 mempcpy for PPC64.
6331
63322013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6333
6334 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
6335 avoid cretion of __bzero symbol.
6336 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
6337 Likewise.
6338 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
6339 Likewise.
6340 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
6341 Likewise.
6342 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
6343 multiarch implementations.
6344 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6345 (__libc_ifunc_impl_list): Likewise.
6346 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
6347 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
6348 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
6349 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
6350 bzero for PPC32.
6351 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
6352 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
6353 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
6354 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
6355 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
6356 memset for PPC64.
6357 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
6358
63592013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6360
6361 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
6362 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
6363 implementations.
6364 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6365 (__libc_ifunc_impl_list): Likewise.
6366 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
6367 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
6368 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
6369 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
6370 memcmp for PPC64.
6371
63722013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6373
6374 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
6375 multiarch for POWER/PPC64.
6376 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
6377 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
6378 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
6379 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
6380 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
6381 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
6382 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
6383 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
6384 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
6385 memcpy for PPC64.
6386
63872013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6388
6389 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
6390 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
6391 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
6392 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
6393 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
6394 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
6395 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
6396 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
6397 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
6398 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
6399 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
6400 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
6401 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
6402 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
6403 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
6404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
6405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
6406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
6407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
6408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
6409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
6410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
6411
64122013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6413
6414 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
6415
64162013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6417
6418 * benchtests/Makefile (bench): Add exp2 and log2.
6419 (LDLIBS-bench-exp2): Add -lm.
6420 (LDLIBS-bench-log2): Likewise.
6421 * benchtests/exp2-inputs: New inputs file.
6422 * benchtests/log2-inputs: New inputs file.
6423 * benchtests/log-inputs: Add new inputs.
6424 * benchtests/tan-inputs: Likewise.
6425
64262013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6427
6428 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
6429 definition...
6430 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
6431 csloww1, csloww2): ... from here.
6432
6433 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
6434 instead of structures.
6435 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
6436 (POLYNOMIAL): Likewise.
6437 (TAYLOR_SLOW): Likewise.
6438 (__sin): Likewise.
6439 (__cos): Likewise.
6440 (slow1): Likewise.
6441 (slow2): Likewise.
6442 (sloww): Likewise.
6443 (sloww1); Likewise.
6444 (sloww2): Likewise.
6445 (bsloww1): Likewise.
6446 (bsloww2): Likewise.
6447 (cslow2): Likewise.
6448 (csloww): Likewise.
6449 (csloww1): Likewise.
6450 (csloww2): Likewise.
6451
64522013-12-10 Ondřej Bílka <neleai@seznam.cz>
6453
6454 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
6455 (__malloc_assert, __libc_realloc, __libc_calloc,
6456 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
6457 memcpy and memset.
6458 * malloc/hooks.c (realloc_check): Likewise.
6459
64602013-12-10 Ondřej Bílka <neleai@seznam.cz>
6461
6462 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
6463 * malloc/arena.c: Remove PER_THREAD conditional.
6464 [!PER_THREAD]: Remove code.
6465 (ptmalloc_unlock_all2): Likewise.
6466 (ptmalloc_init): Likewise.
6467 (_int_new_arena): Likewise.
6468 (arena_get2): Likewise.
6469 * malloc/hooks.c (__malloc_get_state): Likewise.
6470 (__malloc_set_state): Likewise.
6471 * malloc/malloc.c: Likewise.
6472 (struct malloc_state): Likewise.
6473 (struct malloc_par): Likewise.
6474 (__libc_realloc): Likewise.
6475 (__libc_mallopt): Likewise.
6476
64772013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6478
6479 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
6480
64812013-12-09 Ondřej Bílka <neleai@seznam.cz>
6482
6483 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
6484 macro to a function. Check for zero perturb_byte.
6485 (_int_malloc, _int_free): Remove zero perturb_byte checks.
6486
64872013-12-09 Ondřej Bílka <neleai@seznam.cz>
6488
6489 * malloc/malloc.c: (force_reg): Remove.
6490 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
6491 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
6492 force_reg by atomic_forced_read.
6493 * malloc/arena.c (ptmalloc_init): Likewise.
6494 * malloc/hooks.c (top_check): Likewise.
6495
64962013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6497
6498 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6499
65002013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
6501
6502 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6503
65042013-12-08 Joseph Myers <joseph@codesourcery.com>
6505
6506 * math/auto-libm-test-in: Add tests of lgamma.
6507 * math/auto-libm-test-out: Regenerated.
6508 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
6509 (M_LOG_2_SQRT_PIl): Likewise.
6510 (lgamma_test_data): Use AUTO_TESTS_f_f1.
6511 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6512 mpfr_f_f1.
6513 (func_calc_desc): Add mpfr_f_f1 union field.
6514 (ARGS1): New macro.
6515 (ARGS2): Likewise.
6516 (ARGS3): Likewise.
6517 (ARGS4): Likewise.
6518 (RET1): Likewise.
6519 (RET2): Likewise.
6520 (CALC): Likewise.
6521 (FUNC): Likewise.
6522 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
6523 (test_functions): Add lgamma.
6524 (calc_generic_results): Handle mpfr_f_f1.
6525 * sysdeps/i386/fpu/libm-test-ulps: Update.
6526 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6527
65282013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6529
6530 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
6531 __mpn_add_n for PowerPC64/POWER7.
6532 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
6533 __mpn_sub_n for PowerPC64/POWER7.
6534
65352013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6536
6537 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
6538 __mpn_addmul_1 for PowerPC64.
6539 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
6540 __mpn_submul_1 for PowerPC64.
6541 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
6542 for PowerPC64.
6543 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
6544 for PowerPC64.
6545
65462013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
6547
6548 [BZ #15089]
6549 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
6550
65512013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6552
6553 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
6554
65552013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6556
6557 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
6558 add multiarch folders.
6559 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
6560 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
6561 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
6562 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
6563 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
6564 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
6565 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
6566 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
6567 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
6568 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
6569 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
6570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
6571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
6572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
6573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
6574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
6575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
6576
65772013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6578
6579 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
6580 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
6581 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
6582 New file.
6583 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
6584 New file.
6585 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
6586 multiarch __ieee754_hypot for PowerPC32.
6587 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
6588 New file.
6589 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
6590 New file.
6591 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
6592 multiarch __ieee754_hypotf for PowerPC32.
6593
65942013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6595
6596 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
6597 long_double_symbol only if __logbl is defined.
6598 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
6599 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
6600 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
6601 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
6602 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
6603 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
6604 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
6605 path for implementation.
6606 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
6607 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
6608 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
6609 logb, and logbl multiarch implementations for PowerPC32.
6610 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
6611 file.
6612 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
6613 file.
6614 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
6615 multiarch logb for PowerPC32.
6616 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
6617 file.
6618 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
6619 file.
6620 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
6621 multiarch logbf for PowerPC32.
6622 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
6623 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
6624 file.
6625 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
6626 multiarch logbl implementation for PowerPC32.
6627
66282013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6629
6630 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
6631 and modff multiarch implementations.
6632 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
6633 New file.
6634 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
6635 New file.
6636 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
6637 multiarch modf for PowerPC32.
6638 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
6639 New file.
6640 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
6641 New file.
6642 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
6643 multiarch modff for PowerPC32.
6644
66452013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6646
6647 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
6648 and lrintf multiarch implementations.
6649 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
6650 New file.
6651 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
6652 New file.
6653 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
6654 multiarch lrint for PowerPC32.
6655 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
6656 file: multiarch lrintf for PowerPC32.
6657
66582013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6659
6660 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
6661 and lroundf multiarch implementations.
6662 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
6663 New file.
6664 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
6665 New file.
6666 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
6667 New file.
6668 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
6669 multiarch lround for PowerPC32.
6670 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
6671 file: multiarch lroundf for PowerPC32.
6672
66732013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6674
6675 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
6676 copysign and copysignf multiarch implementations.
6677 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
6678 New file.
6679 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
6680 New file.
6681 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
6682 file: multiarch copysign for PowerPC32.
6683 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
6684 file: multiarch copysignf for PowerPC32.
6685
66862013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6687
6688 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
6689 and truncf multiarch implementations.
6690 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
6691 New file.
6692 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
6693 file.
6694 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
6695 multiarch trunc for PowerPC32.
6696 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
6697 New file.
6698 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
6699 New file.
6700 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
6701 multiarch truncf for PowerPC32.
6702
67032013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6704
6705 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
6706 and roundf multiarch implementations.
6707 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
6708 New file.
6709 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
6710 file.
6711 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
6712 multiarch round for PowerPC32.
6713 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
6714 New file.
6715 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
6716 New file.
6717 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
6718 multiarch roundf for PowerPC32.
6719
67202013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6721
6722 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
6723 and floorf multiarch implementations.
6724 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
6725 New file.
6726 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
6727 file.
6728 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
6729 multiarch floor for PowerPC32.
6730 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
6731 New file.
6732 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
6733 New file.
6734 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
6735 multiarch floorf for PowerPC32.
6736
67372013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6738
6739 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
6740 and ceilf multiarch implementations.
6741 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
6742 New file.
6743 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
6744 file.
6745 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
6746 multiarch ceil for PowerPC32.
6747 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
6748 New file.
6749 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
6750 file.
6751 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
6752 multiarch ceilf for PowerPC32.
6753
67542013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6755
6756 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
6757 is defined.
6758 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
6759 FINITEF is defined.
6760 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
6761 and finitef multiarch implementations.
6762 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
6763 New file.
6764 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
6765 file.
6766 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
6767 multiarch finite for PowerPC32.
6768 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
6769 New file.
6770 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
6771 file: multiarch finitef for PowerPC32.
6772
67732013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6774
6775 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
6776 and isinff multiarch implementations.
6777 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
6778 file.
6779 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
6780 file.
6781 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
6782 multiarch isinf for PowerPC32.
6783 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
6784 New file.
6785 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
6786 multiarch isinff for PowerPC32.
6787
67882013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6789
6790 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
6791 alias when __isnan is defined.
6792 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
6793 and isnanf multiarch implementations.
6794 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
6795 file.
6796 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
6797 file.
6798 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
6799 file.
6800 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
6801 file.
6802 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
6803 multiarch isnan for PowerPC32.
6804 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
6805 New file.
6806 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
6807 New file.
6808 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
6809 multiarch isnanf for PowerPC32.
6810
68112013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6812
6813 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
6814 and sqrtf multiarch implementations.
6815 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
6816 file.
6817 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
6818 file.
6819 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
6820 multiarch sqrt for PowerPC32.
6821 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
6822 file.
6823 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
6824 file.
6825 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
6826 multiarch sqrtf for PowerPC32.
6827
68282013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6829
6830 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
6831 and llroundf multiarch implementations.
6832 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
6833 New file.
6834 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
6835 New file.
6836 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
6837 New file.
6838 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
6839 file: multiarch llround for PowerPC32.
6840 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
6841 file: multiarch llroundf for PowerPC32.
6842
68432013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6844
6845 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
6846 multiarch PowerPC32 fpu implementations.
6847 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
6848 New file.
6849 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
6850 New file.
6851 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
6852 multiarch llrint for PowerPC32.
6853 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
6854 New file.
6855 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
6856 New file.
6857 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
6858 file.
6859
68602013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6861
6862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
6863
68642013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6865
6866 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
6867 file.
6868 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
6869 file.
6870 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
6871 file.
6872 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
6873 multiarch wordcopy for PPC32.
6874 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
6875 wordcopy objects.
6876 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6877 (__libc_ifunc_impl_list): Likewise.
6878 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
6879 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
6880 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
6881 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
6882 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
6883 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
6884
68852013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6886
6887 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
6888 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
6889 file.
6890 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
6891 file.
6892 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
6893 file.
6894 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
6895 multiarch wcscpy for PPC32.
6896 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
6897 multiarch objects.
6898 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6899 (__libc_ifunc_impl_list): Likewise.
6900 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
6901 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
6902 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
6903 sysdeps/powerpc/power6/wcscpy.c.
6904
69052013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6906
6907 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
6908 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
6909 file.
6910 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
6911 file.
6912 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
6913 file.
6914 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
6915 multiarch wcsrchr for PPC32.
6916 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
6917 multiarch objects.
6918 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6919 (__libc_ifunc_impl_list): Likewise.
6920 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
6921 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
6922 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
6923 sysdeps/powerpc/power6/wcsrchr.c.
6924
69252013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6926
6927 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
6928 file.
6929 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
6930 file.
6931 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
6932 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
6933 multiarch wcschr for PPc32.
6934 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
6935 multiarch objects.
6936 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6937 (__libc_ifunc_impl_list): Likewise.
6938 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
6939 * sysdeps/powerpc/power6/wcschr.c: ... to here.
6940 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
6941 sysdeps/powerpc/power6/wcschr.c.
6942
69432013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6944
6945 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
6946 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
6947 file.
6948 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
6949 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
6950 file: multiarch strchr for PPC32.
6951 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
6952 multiarch objects.
6953 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6954 (__libc_ifunc_impl_list): Likewise.
6955
69562013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6957
6958 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
6959 name.
6960 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
6961 file.
6962 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
6963 file.
6964 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
6965 multiarch strchrnul for PPC32.
6966 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
6967 multiarch objects.
6968 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6969 (__libc_ifunc_impl_list): Likewise.
6970
69712013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6972
6973 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
6974 file.
6975 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
6976 multiarch strncasecmp for PPC32.
6977 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
6978 file.
6979 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
6980 multiarch strncasecmp_l for PPC32.
6981 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
6982 strncasecmp multiarch objects.
6983 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6984 (__libc_ifunc_impl_list): Likewise.
6985
69862013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6987
6988 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
6989 file.
6990 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
6991 multiarch strncasecmp for PPC32.
6992 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
6993 New file.
6994 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
6995 multiarch strcasecmp_l for PPC32.
6996 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
6997 multiarch objects.
6998 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6999 (__libc_ifunc_impl_list): Likewise.
7000
70012013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7002
7003 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
7004 file.
7005 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
7006 file.
7007 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
7008 multiarch strncmp for PPC32.
7009 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
7010 multiarch objects.
7011 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7012 (__libc_ifunc_impl_list): Likewise.
7013
70142013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7015
7016 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
7017 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
7018 file.
7019 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
7020 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
7021 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
7022 multiarch objects.
7023 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7024 (__libc_ifunc_impl_list): Likewise.
7025
70262013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7027
7028 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
7029 file.
7030 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
7031 file.
7032 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
7033 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
7034 multiarch objects.
7035 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7036 (__libc_ifunc_impl_list): Likewise.
7037
70382013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7039
7040 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
7041 file.
7042 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
7043 file.
7044 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
7045 multiarch rawmemchr for PPC32.
7046 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
7047 multiarch objects.
7048 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7049 (__libc_ifunc_impl_list): Likewise.
7050
70512013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7052
7053 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
7054 file.
7055 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
7056 file.
7057 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
7058 file: memrchr multiarch for PPC32.
7059 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
7060 multiarch objects.
7061 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7062 (__libc_ifunc_impl_list): Likewise.
7063
70642013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7065
7066 * string/memchr.c (__memchr): Using macro to redefine symbol name.
7067 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
7068 file.
7069 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
7070 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
7071 multiarch memchr for PPC32.
7072 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
7073 multiarch objects.
7074 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7075 (__libc_ifunc_impl_list): Likewise.
7076
70772013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7078
7079 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
7080 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
7081 file.
7082 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
7083 file.
7084 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
7085 file: multiarch mempcpy for PPC32.
7086 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
7087 multiarch objects.
7088 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7089 (__libc_ifunc_impl_list): Likewise.
7090
70912013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7092
7093 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
7094 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
7095 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
7096 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
7097 multiarch bzero for PPC32.
7098 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
7099 file.
7100 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
7101 file.
7102 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
7103 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
7104 file: multiarch memset for PPC32.
7105 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
7106 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
7107 memset multiarch objects.
7108 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7109 (__libc_ifunc_impl_list): Likewise.
7110
71112013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7112
7113 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
7114 file.
7115 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
7116 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
7117 memcmp for PPC32.
7118 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
7119 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
7120 multiarch objects.
7121 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7122 (__libc_ifunc_impl_list): Likewise.
7123
71242013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7125
7126 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
7127 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
7128 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
7129 file.
7130 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
7131 file.
7132 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
7133 file.
7134 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
7135 multiarch memcpy for PPC32.
7136 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
7137 multiarch objects.
7138 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7139 (__libc_ifunc_impl_list): Likewise.
7140
71412013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7142
7143 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
7144 support multiarch for POWER/PPC32.
7145 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
7146 Likewise.
7147 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
7148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
7149 Implies file to make multiarch folder appers before the fpu and
7150 default folder for power4 configuration.
7151
71522013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
7153
7154 * scripts/bench.pl: Append volatile keyword to type.
7155
71562013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7157
7158 * sysdeps/sh/sotruss-lib.c: New file.
7159 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
7160
71612013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7162
7163 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7164
71652013-12-05 Joseph Myers <joseph@codesourcery.com>
7166
7167 [BZ #6810]
7168 * math/w_tgamma.c: Include <errno.h>.
7169 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
7170 * math/w_tgammaf.c: Include <errno.h>.
7171 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
7172 * math/w_tgammal.c: Include <errno.h>.
7173 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
7174 * math/auto-libm-test-in: Do not allow missing errno on tgamma
7175 underflow. Add more tgamma tests.
7176 * math/auto-libm-test-out: Regenerated.
7177 * sysdeps/i386/fpu/libm-test-ulps: Update.
7178 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7179
7180 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
7181 sin, sinh, tan, tanh, tgamma, y0 and y1.
7182 * math/auto-libm-test-out: Regenerated.
7183 * math/libm-test.inc (TEST_COND_x86_64): New macro.
7184 (TEST_COND_x86): Likewise.
7185 (M_E2l): Remove macro.
7186 (M_E3l): Likewise.
7187 (M_2_SQRT_PIl): Likewise.
7188 (M_SQRT_PIl): Likewise.
7189 (M_1_DIV_El): Likewise.
7190 (log_test_data): Use AUTO_TESTS_f_f.
7191 (log10_test_data): Likewise.
7192 (log1p_test_data): Likewise.
7193 (log2_test_data): Likewise.
7194 (sin_test_data): Likewise.
7195 (sin_tonearest_test_data): Likewise.
7196 (sin_towardzero_test_data): Likewise.
7197 (sin_downward_test_data): Likewise.
7198 (sin_upward_test_data): Likewise.
7199 (sinh_test_data): Likewise.
7200 (sinh_tonearest_test_data): Likewise.
7201 (sinh_towardzero_test_data): Likewise.
7202 (sinh_downward_test_data): Likewise.
7203 (sinh_upward_test_data): Likewise.
7204 (tan_test_data): Likewise.
7205 (tan_tonearest_test_data): Likewise.
7206 (tan_towardzero_test_data): Likewise.
7207 (tan_downward_test_data): Likewise.
7208 (tan_upward_test_data): Likewise.
7209 (tanh_test_data): Likewise.
7210 (tgamma_test_data): Likewise.
7211 (y0_test_data): Likewise.
7212 (y1_test_data): Likewise.
7213 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
7214 (special_real_inputs): Add pi/4.
7215 * sysdeps/i386/fpu/libm-test-ulps: Update.
7216 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7217
72182013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7219
7220 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
7221 "longjmp_target" static probes.
7222 (__longjmp): Rename to __longjmp_symbol.
7223 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7224 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
7225 on which longjmp to generate.
7226 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
7227 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
7228 probe.
7229 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7230 (__sigjmp_save): Rename to __sigjmp_save_symbol.
7231 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
7232 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
7233 and __sigjmp_save_symbol based on which sigsetjmp to generated.
7234 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
7235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
7236 __longjmp_symbol based on which __longjmp to generate.
7237 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
7238 probe.
7239 (setjmp): Rename to setjmp_symbol.
7240 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7241 (_setjmp): Rename to _setjmp_symbol.
7242 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7243 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
7244 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
7245 which setjmp to generate.
7246 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
7247 "longjmp_target" static probes.
7248
72492013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7250
7251 * benchtests/README: Add note about output arguments.
7252 * benchtests/bench-sincos.c: Remove file.
7253 * benchtests/sincos-inputs: New file.
7254 * scripts/bench.pl: Identify output arguments and define
7255 static variables for them.
7256
7257 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
7258
7259 [BZ #15941]
7260 * Makefile (INSTALL): Add install-plain.texi as the primary
7261 dependency.
7262 * manual/install-plain.texi: New file.
7263 * manual/install.texi: Include node directive only for
7264 non-plaintext output.
7265
72662013-12-04 Joseph Myers <joseph@codesourcery.com>
7267
7268 * stdlib/longlong.h: Update from GCC.
7269
7270 [BZ #6807]
7271 [BZ #15901]
7272 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
7273 * math/w_j0f.c (y0f): Likewise.
7274 * math/w_j0l.c (__y0l): Likewise.
7275 * math/w_j1.c (y1): Likewise.
7276 * math/w_j1f.c (y1f): Likewise.
7277 * math/w_j1l.c (__y1l): Likewise
7278 * math/w_jn.c (yn): Likewise.
7279 * math/w_jnf.c (ynf): Likewise.
7280 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
7281 Bessel function pole errors in _POSIX_ mode. Use NAN as return
7282 value for Bessel function domain errors outside _SVID_ mode.
7283 Adjust sign of return value for yn (negative integer, 0).
7284 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
7285 by zero in return for negative x and set sign appropriately for
7286 negative n.
7287 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
7288 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
7289 * math/libm-test.inc (y0_test_data): Add more tests and adjust
7290 expectations in error cases.
7291 (y1_test_data): Likewise.
7292 (yn_test_data): Likewise.
7293 * sysdeps/i386/fpu/libm-test-ulps: Update.
7294 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7295
72962013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7297
7298 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
7299 "64" to "64-v1". Add "64-v2".
7300 (abi-64-options): Rename to ...
7301 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
7302 (abi-64-condition): Rename to ...
7303 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
7304 (abi-64-ld-soname): Rename to ...
7305 (abi-64-v1-ld-soname): ... this.
7306 (abi-64-v2-options): Define.
7307 (abi-64-v2-condition): Likewise.
7308 (abi-64-v2-ld-soname): Likewise.
7309 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
7310 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
7311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
7312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
7313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
7314
73152013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7316 Alan Modra <amodra@gmail.com>
7317
7318 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
7319 New versions for use with the ELFv2 ABI.
7320 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
7321 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
7322 declaration.
7323 (struct La_ppc64v2_retval): Likewise.
7324 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
7325 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
7326 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
7327 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
7328 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
7329 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
7330 Do not save or restore CR.
7331 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
7332 (_dl_profile_resolve): Do no save or restore CR. Support extended
7333 return values for ELFv2 ABI. Fix location of FPR return registers.
7334 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
7335 updated values for _CALL_ELF == 2.
7336 (La_regs, La_retval, int_retval): Likewise.
7337
73382013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7339
7340 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
7341 (FRAME_MIN_SIZE_PARM): Likewise.
7342 (FRAME_BACKCHAIN): Likewise.
7343 (FRAME_CR_SAVE): Likewise.
7344 (FRAME_LR_SAVE): Likewise.
7345 (FRAME_TOC_SAVE): Likewise.
7346 (FRAME_PARM_SAVE): Likewise.
7347 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
7348 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
7349 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
7350 (call_mcount_parm_offset): New macro.
7351 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
7352 (PROF): Use symbolic stack frame offsets.
7353 (TAIL_CALL_SYSCALL_ERROR): Likewise.
7354 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
7355 Redefine in terms of FRAME_MIN_SIZE.
7356 (_dl_runtime_resolve): Use symbolic stack frame offsets.
7357 (_dl_profile_resolve): Likewise. Update comment.
7358 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
7359 symbols stack frame offsets.
7360 (__sigsetjmp): Likewise.
7361 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
7362 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
7363 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
7364 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
7365
7366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
7367 (FRAME_BACKCHAIN): Remove.
7368 (FRAME_CR_SAVE): Likewise.
7369 (FRAME_LR_SAVE): Likewise.
7370 (FRAME_COMPILER_DW): Likewise.
7371 (FRAME_LINKER_DW): Likewise.
7372 (FRAME_TOC_SAVE): Likewise.
7373 (FRAME_PARM_SAVE): Likewise.
7374 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
7375 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
7376 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
7377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
7378 (CHECK_SP): Use symbolic stack frame offsets.
7379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
7380 zone" instead of caller's parameter save area for temp storage.
7381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
7382 Likewise. Also, use symbolic stack frame offsets.
7383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
7384 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
7385 our own stack frame instead of the caller's.
7386 (__socket): Use symbolic stack frame offsets.
7387
73882013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7389 Alan Modra <amodra@gmail.com>
7390
7391 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
7392 Define.
7393 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
7394 PPC64_LOCAL_ENTRY_OFFSET): Define.
7395 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
7396 New function.
7397 (elf_machine_fixup_plt): Call it.
7398 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
7399 reloc arguments.
7400 (elf_machine_rela): Update call to elf_machine_plt_conflict.
7401 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
7402 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
7403 r2 before calling target.
7404
74052013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7406 Alan Modra <amodra@gmail.com>
7407
7408 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
7409 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
7410 versions of macros to support ELFv2 ABI.
7411 (LOCALENTRY): New macro.
7412 (ENTRY, EALIGN): Use it.
7413 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
7414 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
7415 fall through into ENTRY entry point.
7416 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
7417 Only define if _CALL_ELF != 2.
7418
7419 (elf_machine_matches_host): Verify ABI version matches.
7420 (RTLD_START): Use LOCALENTRY.
7421 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
7422 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
7423 (PLT_ENTRY_WORDS): New macro.
7424 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
7425 (elf_machine_runtime_setup): Support ELFv2 ABI.
7426 (elf_machine_fixup_plt): Likewise.
7427 (elf_machine_plt_conflict): Likewise.
7428 (resolve_ifunc): Likewise.
7429 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
7430 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
7431 Likewise.
7432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
7433 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
7434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7435 (makecontext): Support ELFv2 ABI.
7436 * elf/elf.h (EF_PPC64_ABI): Define.
7437
74382013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7439
7440 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
7441 New assembler macro.
7442 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
7443 [ASSEMBLER] (ENTRY): ... but instead here ...
7444 [ASSEMBLER] (EALIGN): ... and here.
7445 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
7446 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
7447 [!ASSEMBLER] (ENTRY_2): Use it.
7448 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
7449 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
7450 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
7451 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
7452 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
7453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
7454 Use PPC64_LOAD_FUNCPTR.
7455
74562013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7457
7458 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
7459
74602013-12-04 Alan Modra <amodra@gmail.com>
7461
7462 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
7463 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
7464 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
7465 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
7466
7467 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
7468 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
7469 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
7470 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
7471 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
7472 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
7473
74742013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7475
7476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7477 (__makecontext): Fix incorrect CFI when backtracing out of
7478 context created via makecontext.
7479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
7480 (__setcontext): Fix incorrect CFI during switch to new context.
7481 (__novec_setcontext): Likewise.
7482
74832013-12-04 Ondřej Bílka <neleai@seznam.cz>
7484
7485 [BZ #4772]
7486 * time/strptime_l.c (__strptime_internal): Allow modifiers
7487 in strptime.
7488 * time/tst-strptime.c (day_tests): Add testcase.
7489
7490
74912013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7492
7493 * scripts/bench.pl: Skip over blank lines.
7494
74952013-12-04 Paul Eggert <eggert@cs.ucla.edu>
7496
7497 [BZ #926]
7498 * manual/time.texi (Calendar Time): Clarify what timezone functions
7499 use.
7500
75012013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7502
7503 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7504
75052013-12-04 Ondřej Bílka <neleai@seznam.cz>
7506
7507 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
7508 implementation.
7509 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
7510 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
7511 * debug/memset_chk.c (__memset_chk): Likewise.
7512 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
7513 * debug/strncpy_chk.c: Likewise.
7514
75152013-12-03 Joseph Myers <joseph@codesourcery.com>
7516
7517 [BZ #15268]
7518 [BZ #15425]
7519 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
7520 (__ieee754_exp): For possibly underflowing results, check size of
7521 result and force underflow exception if required.
7522 * math/auto-libm-test-in: Add more tests of exp.
7523 * math/auto-libm-test-out: Regenerated.
7524 * sysdeps/i386/fpu/libm-test-ulps: Update.
7525 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7526
7527 [BZ #16283]
7528 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
7529 * math/w_exp2f.c (__exp2f): Likewise.
7530 * math/w_exp2l.c (__exp2l): Likewise.
7531 * math/auto-libm-test-in: Do not allow missing errno on exp2
7532 underflow.
7533 * math/auto-libm-test-out: Regenerated.
7534
75352013-12-03 Ondřej Bílka <neleai@seznam.cz>
7536
7537 [BZ #16274]
7538 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
7539 handle filename validation.
7540 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
7541 (do_open): Delete.
7542
75432013-12-03 Joseph Myers <joseph@codesourcery.com>
7544
7545 [BZ #6786]
7546 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
7547 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
7548 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
7549 <float.h>.
7550 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
7551 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
7552 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7553 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
7554 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7555 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
7556 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7557 * math/auto-libm-test-in: Don't allow missing errno from erfc.
7558 Add more erfc tests.
7559 * math/auto-libm-test-out: Regenerated.
7560 * sysdeps/i386/fpu/libm-test-ulps: Update.
7561 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7562
7563 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
7564 exp2, expm1, j0 and j1.
7565 * math/auto-libm-test-out: Regenerated.
7566 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
7567 (erfc_test_data): Likewise.
7568 (exp_test_data): Likewise.
7569 (exp_tonearest_test_data): Likewise.
7570 (exp_towardzero_test_data): Likewise.
7571 (exp_downward_test_data): Likewise.
7572 (exp_upward_test_data): Likewise.
7573 (exp10_test_data): Likewise.
7574 (exp2_test_data): Likewise.
7575 (expm1_test_data): Likewise.
7576 (j0_test_data): Likewise.
7577 (j1_test_data): Likewise.
7578 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
7579 (input_flag_type): Add flag_xfail_rounding.
7580 (input_flags): Add xfail-rounding.
7581 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
7582 (output_for_one_input_case): Handle flag_xfail_rounding.
7583 * sysdeps/i386/fpu/libm-test-ulps: Update.
7584 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7585
75862013-12-03 Aurelien Jarno <aurelien@aurel32.net>
7587
7588 [BZ #16289]
7589 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
7590 division by 0.
7591
75922013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7593
7594 [BZ #16195]
7595 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
7596 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
7597 (STAP_PROBE0): New macro.
7598 (STAP_PROBE1): Likewise.
7599 (STAP_PROBE2): Likewise.
7600 (STAP_PROBE3): Likewise.
7601 (STAP_PROBE4): Likewise.
7602
76032013-12-02 Ondřej Bílka <neleai@seznam.cz>
7604
7605 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
7606
76072013-12-02 Steve Ellcey <sellcey@mips.com>
7608
7609 * benchtests/Makefile (bench): Add sqrt.
7610 (LDLIBS-bench-sqrt): New.
7611 * benchtests/sqrt-input: New.
7612
76132013-12-02 Pavel Simerda <psimerda@redhat.com>
7614
7615 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
7616 (GAIH_EAI): Likewise.
7617 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
7618 (gaih_inet): Likewise.
7619 (getaddrinfo): Don't use GAIH_EAI.
7620
7621 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
7622 (struct gaih): Remove definition.
7623
76242013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7625
7626 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
7627 Use HERRNOP directly.
7628
76292013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7630
7631 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7632
76332013-11-30 Joseph Myers <joseph@codesourcery.com>
7634
7635 * math/gen-auto-libm-tests.c (test_functions): Add more
7636 single-argument functions.
7637 (special_fill_pi_2): New function.
7638 (special_fill_minus_pi_2): Likewise.
7639 (special_fill_pi_6): Likewise.
7640 (special_fill_minus_pi_6): Likewise.
7641 (special_fill_pi_3): Likewise.
7642 (special_fill_2pi_3): Likewise.
7643 (special_fill_e): Likewise.
7644 (special_fill_1_e): Likewise.
7645 (special_fill_e_minus_1): Likewise.
7646 (special_real_inputs): Add more special inputs.
7647 (output_for_one_input_case): Do not require ERANGE on underflow to
7648 zero if round-to-nearest result does not underflow to zero, unless
7649 exact results required.
7650 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
7651 atan, atanh, cbrt, cos and cosh.
7652 * math/auto-libm-test-out: Regenerated.
7653 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
7654 (acos_tonearest_test_data): Likewise.
7655 (acos_towardzero_test_data): Likewise.
7656 (acos_downward_test_data): Likewise.
7657 (acos_upward_test_data): Likewise.
7658 (acosh_test_data): Likewise.
7659 (asin_test_data): Likewise.
7660 (asin_tonearest_test_data): Likewise.
7661 (asin_towardzero_test_data): Likewise.
7662 (asin_upward_test_data): Likewise.
7663 (asinh_test_data): Likewise.
7664 (atan_test_data): Likewise.
7665 (atanh_test_data): Likewise.
7666 (cbrt_test_data): Likewise.
7667 (cos_test_data): Likewise.
7668 (cos_tonearest_test_data): Likewise.
7669 (cos_towardzero_test_data): Likewise.
7670 (cos_downward_test_data): Likewise.
7671 (cos_upward_test_data): Likewise.
7672 (cosh_test_data): Likewise.
7673 (cosh_tonearest_test_data): Likewise.
7674 (cosh_towardzero_test_data): Likewise.
7675 (cosh_downward_test_data): Likewise.
7676 (cosh_upward_test_data): Likewise.
7677 * sysdeps/i386/fpu/libm-test-ulps: Update.
7678 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7679
76802013-11-29 Joseph Myers <joseph@codesourcery.com>
7681
7682 [BZ #6787]
7683 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
7684 * math/w_exp10f.c (__exp10f): Likewise.
7685 * math/w_exp10l.c (__exp10l): Likewise.
7686 * math/libm-test.inc (exp10_test_data): Add more tests and expect
7687 errno settings in existing tests.
7688
7689 [BZ #14032]
7690 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
7691 precision control set to double precision.
7692 * sysdeps/i386/fpu/w_sqrt.c: New file.
7693 * math/auto-libm-test-in: Add more tests.
7694 * math/auto-libm-test-out: Update.
7695
7696 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
7697 (sqrt_test_tonearest): New function.
7698 (sqrt_towardzero_test_data): New variable.
7699 (sqrt_test_towardzero): New function.
7700 (sqrt_downward_test_data): New variable.
7701 (sqrt_test_downward): New function.
7702 (sqrt_upward_test_data): New variable.
7703 (sqrt_test_upward): New function.
7704 (main): Call the new functions.
7705
7706 * math/gen-auto-libm-tests.c: New file.
7707 * math/auto-libm-test-in: Likewise.
7708 * math/auto-libm-test-out: New generated file.
7709 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
7710 variables.
7711 (%beautify): Add generated representations of zero.
7712 (top level): Set $auto_input and call parse_auto_input.
7713 (beautify): Remove trailing "f" from hex float constants.
7714 (parse_args): Handle XFAIL_TEST.
7715 (convert_condition): New function.
7716 (or_value): Likewise.
7717 (or_cond_value): Likewise.
7718 (generate_testfile): Handle AUTO_TESTS_* lines.
7719 (parse_auto_input): New function.
7720 * math/libm-test.inc (XFAIL_TEST): New macro.
7721 (ERRNO_UNCHANGED): Update value.
7722 (ERRNO_EDOM): Likewise.
7723 (ERRNO_ERANGE): Likewise.
7724 (IGNORE_RESULT): Likewise.
7725 (TEST_COND_flt_32): New macro.
7726 (TEST_COND_dbl_64): Likewise.
7727 (TEST_COND_ldbl_96_intel): Likewise.
7728 (TEST_COND_ldbl_96_m68k): Likewise.
7729 (TEST_COND_ldbl_128): Likewise.
7730 (TEST_COND_ldbl_128ibm): Likewise.
7731 (TEST_COND_long32): Likewise.
7732 (TEST_COND_long64): Likewise.
7733 (TEST_COND_before_rounding): Likewise.
7734 (TEST_COND_after_rounding): Likewise.
7735 (enable_test): Handle XFAIL_TEST flag.
7736 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
7737 with finite results.
7738 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
7739 auto-libm-test-out.
7740
77412013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7742 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7743
7744 [BZ #16214]
7745 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
7746 __tls_get_addr_internal instead of __tls_get_offset in order to
7747 avoid GOT pointer dependency. Make rtld export
7748 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
7749 __tls_get_addr since we are a __tls_get_offset platform.
7750 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
7751 GOT pointer being set up before.
7752 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
7753
77542013-11-28 Joseph Myers <joseph@codesourcery.com>
7755
7756 * manual/math.texi (Errors in Math Functions): Document accuracy
7757 goals.
7758
7759 [BZ #15004]
7760 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
7761 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
7762 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7763 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7764 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7765 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7766 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7767 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
7768 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
7769 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7770 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7771 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7772 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7773 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7774 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7775 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
7776
7777 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
7778 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
7779 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
7780 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
7781 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
7782 Likewise.
7783 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
7784 Likewise.
7785 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
7786 Likewise.
7787 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
7788 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
7789 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
7790 atomic-feupdateenv and flt-rounds.
7791 * sysdeps/powerpc/nofpu/Versions (libc): Add
7792 __atomic_feholdexcept, __atomic_feclearexcept,
7793 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
7794 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
7795 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
7796 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
7797 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
7798 here.
7799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
7800 Update.
7801
7802 * manual/arith.texi (FP Exceptions): Document that exceptions may
7803 not be raised when matherr is used.
7804 (Math Error Reporting): Document overflow in directed rounding
7805 modes. Document that errno may not be set when finite values are
7806 returned on overflow. Document intent to set errno on underflow
7807 only for underflow to zero.
7808
7809 [BZ #16271]
7810 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
7811 round-to-nearest then adjust result for other rounding modes.
7812 * include/fenv.h (fegetround): Use libm_hidden_proto.
7813 * math/fegetround.c (fegetround): Use libm_hidden_def.
7814 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
7815 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
7816 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
7817 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
7818 Likewise.
7819 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
7820 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7821 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
7822 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
7823
78242013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7825
7826 [BZ #16077]
7827 * nss/Versions (libnss_files): Add
7828 _nss_files_gethostbyname3_r.
7829 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
7830 New function.
7831 (HOST_DB_LOOKUP): Remove macro.
7832 (_nss_files_gethostbyname_r): Implement function without the
7833 HOST_DB_LOOKUP macro.
7834 (_nss_files_gethostbyname2_r): Likewise.
7835
78362013-11-28 Ondřej Bílka <neleai@seznam.cz>
7837
7838 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
7839
78402013-11-26 Uros Bizjak <ubizjak@gmail.com>
7841
7842 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
7843 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
7844 warning.
7845
78462013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7847
7848 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
7849 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
7850 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
7851 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
7852 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
7853 __fe_nomask_env_priv and attribute_hidden.
7854 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
7855 (libc_feupdateenv_test_ppc): Likewise.
7856 (libc_feresetround_ppc): Likewise.
7857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7858 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
7859 compat_symbol macro.
7860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7861 (__fe_nomask_env): Likewise.
7862 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
7863
78642013-11-26 Ondřej Bílka <neleai@seznam.cz>
7865
7866 * string/Makefile: Remove ifunc tests.
7867 * string/test-string.h: Define TEST_IFUNC.
7868 * string/test-bcopy-ifunc.c: Remove.
7869 * string/test-bzero-ifunc.c: Likewise.
7870 * string/test-memccpy-ifunc.c: Likewise.
7871 * string/test-memchr-ifunc.c: Likewise.
7872 * string/test-memcmp-ifunc.c: Likewise.
7873 * string/test-memcpy-ifunc.c: Likewise.
7874 * string/test-memmem-ifunc.c: Likewise.
7875 * string/test-memmove-ifunc.c: Likewise.
7876 * string/test-mempcpy-ifunc.c: Likewise.
7877 * string/test-memrchr-ifunc.c: Likewise.
7878 * string/test-memset-ifunc.c: Likewise.
7879 * string/test-rawmemchr-ifunc.c: Likewise.
7880 * string/test-stpcpy-ifunc.c: Likewise.
7881 * string/test-stpncpy-ifunc.c: Likewise.
7882 * string/test-strcasecmp-ifunc.c: Likewise.
7883 * string/test-strcasestr-ifunc.c: Likewise.
7884 * string/test-strcat-ifunc.c: Likewise.
7885 * string/test-strchr-ifunc.c: Likewise.
7886 * string/test-strchrnul-ifunc.c: Likewise.
7887 * string/test-strcmp-ifunc.c: Likewise.
7888 * string/test-strcpy-ifunc.c: Likewise.
7889 * string/test-strcspn-ifunc.c: Likewise.
7890 * string/test-strlen-ifunc.c: Likewise.
7891 * string/test-strncasecmp-ifunc.c: Likewise.
7892 * string/test-strncat-ifunc.c: Likewise.
7893 * string/test-strncmp-ifunc.c: Likewise.
7894 * string/test-strncpy-ifunc.c: Likewise.
7895 * string/test-strnlen-ifunc.c: Likewise.
7896 * string/test-strpbrk-ifunc.c: Likewise.
7897 * string/test-strrchr-ifunc.c: Likewise.
7898 * string/test-strspn-ifunc.c: Likewise.
7899 * string/test-strstr-ifunc.c: Likewise.
7900
79012013-11-26 Ondřej Bílka <neleai@seznam.cz>
7902
7903 * benchtests/Makefile: Remove ifunc tests.
7904 * benchtests/bench-string.h: Define TEST_IFUNC.
7905 * benchtests/bench-bcopy-ifunc.c: Remove.
7906 * benchtests/bench-bzero-ifunc.c: Likewise.
7907 * benchtests/bench-memccpy-ifunc.c: Likewise.
7908 * benchtests/bench-memchr-ifunc.c: Likewise.
7909 * benchtests/bench-memcmp-ifunc.c: Likewise.
7910 * benchtests/bench-memcpy-ifunc.c: Likewise.
7911 * benchtests/bench-memmem-ifunc.c: Likewise.
7912 * benchtests/bench-memmove-ifunc.c: Likewise.
7913 * benchtests/bench-mempcpy-ifunc.c: Likewise.
7914 * benchtests/bench-memrchr-ifunc.c: Likewise.
7915 * benchtests/bench-memset-ifunc.c: Likewise.
7916 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
7917 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
7918 * benchtests/bench-stpcpy-ifunc.c: Likewise.
7919 * benchtests/bench-stpncpy-ifunc.c: Likewise.
7920 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
7921 * benchtests/bench-strcasestr-ifunc.c: Likewise.
7922 * benchtests/bench-strcat-ifunc.c: Likewise.
7923 * benchtests/bench-strchr-ifunc.c: Likewise.
7924 * benchtests/bench-strchrnul-ifunc.c: Likewise.
7925 * benchtests/bench-strcmp-ifunc.c: Likewise.
7926 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
7927 * benchtests/bench-strcpy-ifunc.c: Likewise.
7928 * benchtests/bench-strcspn-ifunc.c: Likewise.
7929 * benchtests/bench-strlen-ifunc.c: Likewise.
7930 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
7931 * benchtests/bench-strncat-ifunc.c: Likewise.
7932 * benchtests/bench-strncmp-ifunc.c: Likewise.
7933 * benchtests/bench-strncpy-ifunc.c: Likewise.
7934 * benchtests/bench-strnlen-ifunc.c: Likewise.
7935 * benchtests/bench-strpbrk-ifunc.c: Likewise.
7936 * benchtests/bench-strrchr-ifunc.c: Likewise.
7937 * benchtests/bench-strsep-ifunc.c: Likewise.
7938 * benchtests/bench-strspn-ifunc.c: Likewise.
7939 * benchtests/bench-strstr-ifunc.c: Likewise.
7940
79412013-11-26 Ondřej Bílka <neleai@seznam.cz>
7942
7943 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
7944
79452013-11-26 Ondřej Bílka <neleai@seznam.cz>
7946
7947 * resolv/netdb.h: Use __glibc_reserved instead __unused.
7948 * rt/aio.h: Likewise.
7949 * sysdeps/gnu/bits/utmp.h: Likewise.
7950 * sysdeps/gnu/bits/utmpx.h: Likewise.
7951 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
7952 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
7953 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
7954 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
7955 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
7956 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
7957 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
7958 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
7959 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
7960 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
7961 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
7962 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
7963 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
7964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
7965 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
7966 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
7967 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
7968 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
7969 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
7970 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
7971 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
7972 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
7973 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
7974 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
7975 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
7976 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7977 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
7978 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
7979 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
7980 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
7981 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
7982 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
7983 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
7984 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
7985 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
7986 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
7987 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
7988 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
7989 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
7990 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
7991 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
7992 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
7993
79942013-11-25 Carlos O'Donell <carlos@redhat.com>
7995
7996 [BZ #16245]
7997 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
7998 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
7999
80002013-11-25 Joseph Myers <joseph@codesourcery.com>
8001
8002 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
8003 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
8004 Likewise.
8005
80062013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8007
8008 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
8009 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
8010 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
8011 (__fesetround): Remove define.
8012 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
8013 rounding and exceptions handling.
8014 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
8015 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
8016 (__fe_nomask_env): Likewise.
8017 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
8018 __fegetround instead of fegetround.
8019 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
8020 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
8021
80222013-11-21 Roland McGrath <roland@hack.frob.com>
8023
8024 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
8025 it's there.
8026
8027 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
8028
80292013-11-21 Meador Inge <meadori@codesourcery.com>
8030
8031 [BZ #11157]
8032 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
8033 (encrypt_r): Likewise.
8034 * malloc/obstack.h (obstack_free): Likewise.
8035 * posix/unistd.h (encrypt): Likewise.
8036
80372013-11-21 Guy Martin <gmsoft@tuxicoman.be>
8038
8039 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
8040 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
8041 DL_CALL_DT_FINI() that call the functions directly.
8042 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
8043 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
8044 * elf/dl-fini.c: Likewise.
8045
80462013-11-20 Ondřej Bílka <neleai@seznam.cz>
8047
8048 * malloc/hooks.c (memalign_check): Add alignment rounding.
8049 * malloc/malloc.c (_mid_memalign): New function.
8050 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
8051 Implement by calling _mid_memalign.
8052 * manual/probes.texi (Memory Allocation Probes): Remove
8053 memory_valloc_retry and memory_pvalloc_retry.
8054
80552013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8056
8057 * locale/programs/locarchive.c (open_archive): Add const
8058 qualifier to ARCHIVEFNAME and copy default fname to
8059 DEFAULT_FNAME.
8060
8061 [BZ #15601]
8062 * libio/tst-widetext.input: Rename Oriya to Odia.
8063 * locale/iso-639.def: Likewise.
8064
8065 * manual/probes.texi (Mathematical Function Probes): Add
8066 documentation for sin, cos, asin and acos probes.
8067 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
8068 (__sin32): Add slowasin probe.
8069 (__cos32): Add slowacos probe.
8070 (__mpsin): Add slowsin probe.
8071 (__mpcos): Add slowcos probe.
8072
80732013-11-19 Joseph Myers <joseph@codesourcery.com>
8074
8075 [BZ #15483]
8076 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
8077 thread-local __sim_exceptions_thread and global
8078 __sim_exceptions_global.
8079 (__sim_disabled_exceptions): Change to thread-local
8080 __sim_disabled_exceptions_thread and global
8081 __sim_disabled_exceptions_global.
8082 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
8083 and global __sim_round_mode_global.
8084 (__simulate_exceptions): Use thread-local floating-point state and
8085 set global state from it as needed.
8086 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
8087 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
8088 __sim_round_mode_thread.
8089 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
8090 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
8091 and global __sim_exceptions_global.
8092 (__sim_disabled_exceptions): Change to thread-local
8093 __sim_disabled_exceptions_thread and global
8094 __sim_disabled_exceptions_global.
8095 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
8096 and global __sim_round_mode_global.
8097 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
8098 (SIM_SET_GLOBAL): Likewise.
8099 * sysdeps/powerpc/soft-fp/sfp-machine.h
8100 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
8101 __sim_round_mode_thread.
8102 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
8103 __sim_disabled_exceptions_thread.
8104 (__sim_exceptions): Change to __sim_exceptions_thread.
8105 (__sim_disabled_exceptions): Change to
8106 __sim_disabled_exceptions_thread.
8107 (__sim_round_mode): Change to __sim_round_mode_thread.
8108 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
8109 thread-local floating-point state and set global state from it as
8110 needed.
8111 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
8112 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
8113 (__sim_disabled_exceptions): Remove extern declaration.
8114 (feenableexcept): Use thread-local floating-point state and set
8115 global state from it as needed.
8116 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
8117 extern declaration.
8118 (__sim_disabled_exceptions): Likewise.
8119 (__sim_round_mode): Likewise.
8120 (__fegetenv): Use thread-local floating-point state.
8121 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
8122 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
8123 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
8124 floating-point state and set global state from it as needed.
8125 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
8126 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
8127 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
8128 Likewise.
8129 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
8130 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
8131 Likewise.
8132 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
8133 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
8134 Use __sim_round_mode_thread.
8135 * math/test-fenv-tls.c: New file.
8136 * math/Makefile (tests): Add test-fenv-tls.
8137 ($(objpfx)test-fenv-tls): Depend on
8138 $(common-objpfx)nptl/libpthread.so.
8139
81402013-11-19 Andreas Schwab <schwab@suse.de>
8141
8142 * locale/programs/locale.c (show_info): Decode wordarray elements.
8143 * locale/categories.def (LC_MONETARY): Add element for
8144 _NL_MONETARY_CRNCYSTR.
8145 * locale/C-monetary.c (conversion_rate): New variable.
8146 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
8147 element.
8148
81492013-11-18 Chris Metcalf <cmetcalf@tilera.com>
8150
8151 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
8152 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
8153
81542013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
8155
8156 * elf/Makefile (tst-auxv): New test.
8157 * elf/tst-auxv.c: New
8158 * elf/rtld.c (dl_main): Adjust AT_EXECFN
8159
81602013-11-18 Joseph Myers <joseph@codesourcery.com>
8161
8162 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
8163 (hidden_proto): Caller changed.
8164 (hidden_tls_proto): New macro.
8165 (libc_hidden_tls_proto): Likewise.
8166 (rtld_hidden_tls_proto): Likewise.
8167 (libm_hidden_tls_proto): Likewise.
8168 (libresolv_hidden_tls_proto): Likewise.
8169 (librt_hidden_tls_proto): Likewise.
8170 (libdl_hidden_tls_proto): Likewise.
8171 (libnss_files_hidden_tls_proto): Likewise.
8172 (libnsl_hidden_tls_proto): Likewise.
8173 (libnss_nisplus_hidden_tls_proto): Likewise.
8174 (libutil_hidden_tls_proto): Likewise.
8175
81762013-11-18 Ondřej Bílka <neleai@seznam.cz>
8177
8178 [BZ #10253]
8179 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
8180 (decompose_rpath): Defer expansion to fillin_rpath.
8181 (_dl_init_paths): Pass linkmap to fillin_rpath.
8182
81832013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8184
8185 * benchtests/Makefile: Add strsep.
8186 * benchtests/bench-strsep.c: New file: strsep benchtest.
8187 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
8188
81892013-11-18 Andreas Schwab <schwab@suse.de>
8190
8191 * locale/programs/locale.c (show_info) [case byte]: Check for
8192 '\377' instead of '\177'.
8193 * locale/C-monetary.c (not_available): Always use "\377".
8194 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
8195 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
8196 detect unavailable sign_posn locale elements.
8197 * locale/localeconv.c (__localeconv): For grouping and
8198 mon_grouping handle "\177" and "\377" like no grouping.
8199 (INT_ELEM): New macro. Use it to set all numeric members.
8200 * locale/programs/ld-monetary.c (monetary_read)
8201 <tok_mon_grouping>: Normalize single -1 to the empty string.
8202 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
8203 Likewise.
8204
82052013-11-07 Ondřej Bílka <neleai@seznam.cz>
8206
8207 [BZ #16055]
8208 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
8209 when we match (nil).
8210 * stdio-common/tst-sscanf.c (struct test): Add testcase.
8211
82122013-11-16 Joseph Myers <joseph@codesourcery.com>
8213
8214 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
8215 (NO_TEST_INLINE): Update value.
8216 (ERRNO_UNCHANGED): Likewise.
8217 (ERRNO_EDOM): Likewise.
8218 (ERRNO_ERANGE): Likewise.
8219 (IGNORE_RESULT): Likewise.
8220 (check_float_internal): Check signs of NaN results if
8221 TEST_NAN_SIGN used.
8222 (check_complex): Pass TEST_NAN_SIGN flag through to second
8223 check_float_internal call.
8224 (copysign_test_data): Add tests with quiet NaNs as second
8225 argument. Use TEST_NAN_SIGN.
8226 (fabs_test_data): Add test of negative quiet NaN argument. Use
8227 TEST_NAN_SIGN.
8228 (signbit_test_data): Add tests of quiet NaN argument.
8229 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
8230
8231 * math/gen-libm-test.pl (show_exceptions): Take extra argument
8232 $ignore_result.
8233 (parse_args): Handle function results specified as IGNORE.
8234 * math/libm-test.inc (IGNORE_RESULT): New macro.
8235 (check_float_internal): Do not check numerical result if flag
8236 IGNORE_RESULT set.
8237 (check_complex): Pass through IGNORE_RESULT to second
8238 check_float_internal call.
8239 (check_int): Do not check numerical result if flag IGNORE_RESULT
8240 set.
8241 (check_long): Likewise.
8242 (check_bool): Likewise.
8243 (check_longlong): Likewise.
8244 (lrint_test_data): Add tests of infinite and NaN arguments.
8245 (lrint_tonearest_test_data): Likewise.
8246 (lrint_towardzero_test_data): Likewise.
8247 (lrint_downward_test_data): Likewise.
8248 (lrint_upward_test_data): Likewise.
8249 (llrint_test_data): Likewise.
8250 (llrint_tonearest_test_data): Likewise.
8251 (llrint_towardzero_test_data): Likewise.
8252 (llrint_downward_test_data): Likewise.
8253 (llrint_upward_test_data): Likewise.
8254 (lround_test_data): Likewise.
8255 (llround_test_data): Likewise.
8256
8257 * math/libm-test.inc (NO_TEST_INLINE): New macro.
8258 (ERRNO_UNCHANGED): Update value.
8259 (ERRNO_EDOM): Likewise.
8260 (ERRNO_ERANGE): Likewise.
8261 (NO_TEST_INLINE_FLOAT): New macro.
8262 (NO_TEST_INLINE_DOUBLE): Likewise.
8263 (enable_test): New function.
8264 (RUN_TEST_f_f): Check enable_test before running test.
8265 (RUN_TEST_2_f): Likewise.
8266 (RUN_TEST_fff_f): Likewise.
8267 (RUN_TEST_c_f): Likewise.
8268 (RUN_TEST_f_f1): Likewise.
8269 (RUN_TEST_fF_f1): Likewise.
8270 (RUN_TEST_fI_f1): Likewise.
8271 (RUN_TEST_ffI_f1): Likewise.
8272 (RUN_TEST_c_c): Likewise.
8273 (RUN_TEST_cc_c): Likewise.
8274 (RUN_TEST_f_i): Likewise.
8275 (RUN_TEST_f_i_tg): Likewise.
8276 (RUN_TEST_ff_i_tg): Likewise.
8277 (RUN_TEST_f_b): Likewise.
8278 (RUN_TEST_f_b_tg): Likewise.
8279 (RUN_TEST_f_l): Likewise.
8280 (RUN_TEST_f_L): Likewise.
8281 (RUN_TEST_fFF_11): Likewise.
8282 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
8283 conditionals.
8284 (cosh_test_data): Likewise.
8285 (exp_test_data): Likewise.
8286 (expm1_test_data): Likewise.
8287 (hypot_test_data): Likewise.
8288 (pow_test_data): Likewise.
8289 (sinh_test_data): Likewise.
8290 (tanh_test_data): Likewise.
8291 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
8292 flags argument.
8293
8294 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
8295 tests with quiet NaN input and output.
8296 (acosh_test_data): Likewise.
8297 (asin_test_data): Likewise.
8298 (asinh_test_data): Likewise.
8299 (atan_test_data): Likewise.
8300 (atanh_test_data): Likewise.
8301 (atan2_test_data): Likewise.
8302 (cbrt_test_data): Likewise.
8303 (cos_test_data): Likewise.
8304 (cosh_test_data): Likewise.
8305 (erf_test_data): Likewise.
8306 (erfc_test_data): Likewise.
8307 (exp_test_data): Likewise.
8308 (exp10_test_data): Likewise.
8309 (exp2_test_data): Likewise.
8310 (expm1_test_data): Likewise.
8311 (hypot_test_data): Likewise.
8312 (j0_test_data): Likewise.
8313 (j1_test_data): Likewise.
8314 (jn_test_data): Likewise.
8315 (lgamma_test_data): Likewise.
8316 (log_test_data): Likewise.
8317 (log10_test_data): Likewise.
8318 (log1p_test_data): Likewise.
8319 (log2_test_data): Likewise.
8320 (pow_test_data): Likewise.
8321 (scalb_test_data): Likewise.
8322 (sin_test_data): Likewise.
8323 (sincos_test_data): Likewise.
8324 (sinh_test_data): Likewise.
8325 (tan_test_data): Likewise.
8326 (tanh_test_data): Likewise.
8327 (tgamma_test_data): Likewise.
8328 (y0_test_data): Likewise.
8329 (y1_test_data): Likewise.
8330 (yn_test_data): Likewise.
8331
8332 [BZ #16167]
8333 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
8334 argument being NaN and avoid computations with second argument in
8335 that case.
8336 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8337 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
8338 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
8339
83402013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
8341
8342 * locale/iso-639.def: Add Chitwani Tharu (the).
8343
83442013-11-14 Andreas Schwab <schwab@suse.de>
8345
8346 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
8347 word instead of empty string.
8348
83492013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8350
8351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8352 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
8353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8354 (__fe_nomask_env): Likewise.
8355
83562013-11-13 Steve Ellcey <sellcey@mips.com>
8357
8358 * benchtests/bench-timing.h: Include time.h.
8359
83602013-11-13 H.J. Lu <hongjiu.lu@intel.com>
8361
8362 [BZ #15997]
8363 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
8364 to 3.4.0 for x32.
8365 * sysdeps/unix/sysv/linux/configure: Regenerated.
8366
83672013-11-13 Joseph Myers <joseph@codesourcery.com>
8368
8369 [BZ #16151]
8370 * stdlib/strtod_l.c (round_and_return): Do not consider
8371 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
8372 exponent one less than half the least subnormal exponent.
8373 * stdlib/test-strtod-round-data: Add more tests.
8374 * stdlib/tst-strtod-round.c (tests): Regenerated.
8375
83762013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8377
8378 [BZ #14143]
8379 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
8380 (__fe_mask_env): Likewise.
8381 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
8382 libm_hidden_proto and add function prototype.
8383 (__fe_mask_env): Add function prototype.
8384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8385 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
8386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
8387 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
8388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8389 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
8390
83912013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8392
8393 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
8394 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
8395
83962013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8397
8398 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
8399 of htab_find_slot().
8400
84012013-11-11 David S. Miller <davem@davemloft.net>
8402
8403 [BZ #16150]
8404 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
8405 symbol in the non-vis3 case in static builds.
8406 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
8407 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
8408 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
8409 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
8410
84112013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8412
8413 [BZ #387]
8414 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
8415 it is empty.
8416
84172013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8418
8419 * benchtests/Makefile: Add bench-strtod.
8420 * benchtests/bench-strtod.c: New file: strtod benchtest
8421
84222013-11-11 Andreas Schwab <schwab@suse.de>
8423
8424 [BZ #16153]
8425 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
8426 terminating NUL in key length.
8427
84282013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8429
8430 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
8431 Add artificial ODP entry for vDSO symbol for PPC64.
8432 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
8433 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
8434
84352013-11-07 Ondřej Bílka <neleai@seznam.cz>
8436
8437 [BZ #15374]
8438 * nss/getent.c (services_keys): Recognize services starting with digit.
8439
84402013-11-06 David S. Miller <davem@davemloft.net>
8441
8442 [BZ #15985]
8443 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
8444 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
8445
84462013-11-06 Will Newton <will.newton@linaro.org>
8447
8448 * manual/memory.texi (Malloc Examples): Remove register
8449 keyword from examples.
8450
84512013-11-04 Chris Leonard <cjl@sugarlabs.org>
8452
8453 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
8454
84552013-11-04 Joseph Myers <joseph@codesourcery.com>
8456
8457 [BZ #6981]
8458 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
8459 depending on [__GCC_IEC_559 > 0].
8460 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
8461 depending on [__GCC_IEC_559_COMPLEX > 0].
8462
84632013-11-03 Chris Leonard <cjl@sugarlabs.org>
8464
8465 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
8466 to iso-639.def.
8467
84682013-11-03 Ondřej Bílka <neleai@seznam.cz>
8469
8470 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
8471
84722013-11-01 Ondřej Bílka <neleai@seznam.cz>
8473
8474 [BZ #16112]
8475 * malloc/malloc (malloc_info): Do not handle first bin as
8476 special case.
8477
84782013-11-01 Chris Leonard <cjl@sugarlabs.org>
8479
8480 * locale/iso-639.def: Add Central Nahuatl (nhn).
8481
84822013-11-01 Bruno Haible <bruno@clisp.org>
8483
8484 [BZ #7003]
8485 * manual/math.texi (BSD Random): Specify range upper bound as
8486 in POSIX.
8487
84882013-10-31 Chris Leonard <cjl@sugarlabs.org>
8489
8490 * locale/iso-639.def: Add Meadow Mari (mhr).
8491
84922013-10-31 Ondřej Bílka <neleai@seznam.cz>
8493
8494 [BZ #14752], [BZ #15763]
8495 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
8496 Validate name.
8497 * rt/tst_shm.c: Add test for escaping directory.
8498
84992013-10-31 Andreas Schwab <schwab@suse.de>
8500
8501 [BZ #15917]
8502 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
8503 followed by 'x' as part of digit sequence.
8504 * stdio-common/tst-sscanf.c (double_tests2): New tests.
8505
85062013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
8507
8508 [BZ #16037]
8509 * configure.ac: allow GNU Make 4.0 and greater.
8510 * configure: Regenerated.
8511
85122013-10-30 Will Newton <will.newton@linaro.org>
8513
8514 [BZ #16038]
8515 * malloc/hooks.c (memalign_check): Limit alignment to the
8516 maximum representable power of two.
8517 * malloc/malloc.c (__libc_memalign): Likewise.
8518 * malloc/tst-memalign.c (do_test): Add test for very
8519 large alignment values.
8520 * malloc/tst-posix_memalign.c (do_test): Likewise.
8521
85222013-10-30 Ondřej Bílka <neleai@seznam.cz>
8523
8524 [BZ #11087]
8525 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
8526 (munmap_chunk): Likewise.
8527 (mremap_chunk): Likewise.
8528
85292013-10-30 Ondřej Bílka <neleai@seznam.cz>
8530
8531 [BZ #15799]
8532 * stdlib/div.c (div): Remove obsolete code.
8533 * stdlib/ldiv.c (ldiv): Likewise.
8534 * stdlib/lldiv.c (lldiv): Likewise.
8535
85362013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8537
8538 [BZ #16071]
8539 * nss/nss_files/files-XXX.c (get_contents_ret): New
8540 enumerator.
8541 (get_contents): New function.
8542 (internal_getent): Use it. Expand size of LINEBUFLEN.
8543
85442013-10-30 Mike Frysinger <vapier@gentoo.org>
8545
8546 * configure.in: Moved to ...
8547 * configure.ac: ... here. Change reference to configure.in
8548 to configure.ac.
8549 * sysdeps/arm/preconfigure.ac: ... here.
8550 configure.in to configure.ac.
8551 * sysdeps/gnu/configure.in: Moved to ...
8552 * sysdeps/gnu/configure.ac: ... here.
8553 * sysdeps/i386/configure.in: Moved to ...
8554 * sysdeps/i386/configure.ac: ... here.
8555 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
8556 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
8557 * sysdeps/mach/configure.in: Moved to ...
8558 * sysdeps/mach/configure.ac: ... here.
8559 * sysdeps/mach/hurd/configure.in: Moved to ...
8560 * sysdeps/mach/hurd/configure.ac: ... here.
8561 * sysdeps/powerpc/configure.in: Moved to ...
8562 * sysdeps/powerpc/configure.ac: ... here.
8563 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
8564 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
8565 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
8566 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
8567 * sysdeps/s390/s390-32/configure.in: Moved to ...
8568 * sysdeps/s390/s390-32/configure.ac: ... here.
8569 * sysdeps/s390/s390-64/configure.in: Moved to ...
8570 * sysdeps/s390/s390-64/configure.ac: ... here.
8571 * sysdeps/sh/configure.in: Moved to ...
8572 * sysdeps/sh/configure.ac: ... here.
8573 * sysdeps/sparc/configure.in: Moved to ...
8574 * sysdeps/sparc/configure.ac: ... here.
8575 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
8576 * sysdeps/unix/sysv/linux/configure.ac: ... here.
8577 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
8578 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
8579 * sysdeps/x86_64/configure.in: Moved to ...
8580 * sysdeps/x86_64/configure.ac: ... here.
8581 * sysdeps/x86_64/preconfigure.in: Moved to ...
8582 * sysdeps/x86_64/preconfigure.ac: ... here.
8583 * aclocal.m4: Change reference to configure.in to configure.ac.
8584 * config.h.in: Likewise.
8585 * manual/install.texi: Likewise.
8586 * manual/maint.texi: Likewise.
8587 * Makefile: Likewise.
8588 * malloc/Makefile: Likewise.
8589 * nscd/Makefile: Likewise.
8590 * Makeconfig: Change reference to configure.in and
8591 preconfigure.in to configure.ac and preconfigure.ac
8592 respectively.
8593 * INSTALL: Regenerated.
8594 * configure: Likewise.
8595 * sysdeps/gnu/configure: Likewise.
8596 * sysdeps/i386/configure: Likewise.
8597 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
8598 * sysdeps/mach/configure: Likewise.
8599 * sysdeps/mach/hurd/configure: Likewise.
8600 * sysdeps/powerpc/configure: Likewise.
8601 * sysdeps/powerpc/powerpc32/configure: Likewise.
8602 * sysdeps/powerpc/powerpc64/configure: Likewise.
8603 * sysdeps/s390/s390-32/configure: Likewise.
8604 * sysdeps/s390/s390-64/configure: Likewise.
8605 * sysdeps/sh/configure: Likewise.
8606 * sysdeps/sparc/configure: Likewise.
8607 * sysdeps/unix/sysv/linux/configure: Likewise.
8608 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
8609 * sysdeps/x86_64/configure: Likewise.
8610 * sysdeps/x86_64/preconfigure: Likewise.
8611
86122013-10-29 Andreas Schwab <schwab@suse.de>
8613
8614 * stdio-common/Makefile (tst-swscanf-ENV): Define.
8615
86162013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8617
8618 * benchtests/pow-inputs: Add new inputs.
8619
8620 * benchtests/exp-inputs: Add new inputs.
8621
8622 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
8623 conditional check for return value.
8624 (__cos32): Likewise.
8625
86262013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8627
8628 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
8629 to provide a boost for large inputs with word alignment.
8630 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
8631 implementation based on optimized PPC64 strcpy.
8632 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
8633 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
8634 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
8635 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
8636
86372013-10-25 Ondřej Bílka <neleai@seznam.cz>
8638
8639 [BZ #2801]
8640 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
8641
86422013-10-25 Ondřej Bílka <neleai@seznam.cz>
8643
8644 [BZ #14876]
8645 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
8646 * time/tst-strptime.c (day_tests): Add testcase.
8647
86482013-10-25 Ondřej Bílka <neleai@seznam.cz>
8649
8650 [BZ #14029]
8651 * manual/pattern.texi: Acknowledge that fnmatch can fail.
8652
86532013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
8654
8655 [BZ #16074]
8656 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
8657 MAP_FAILED on error.
8658
86592013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8660
8661 [BZ #16072]
8662 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
8663 heap for large requests.
8664
86652013-10-25 Aurelien Jarno <aurelien@aurel32.net>
8666
8667 [BZ #9954]
8668 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
8669 result if the result has no associated interface.
8670 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
8671 interface for all 127.X.Y.Z addresses.
8672
86732013-10-24 Chris Leonard <cjl@sugarlabs.org>
8674
8675 * locale/iso-639.def: Add Ligurian (lij)
8676
86772013-10-21 Ondřej Bílka <neleai@seznam.cz>
8678
8679 [BZ #15825]
8680 * sunrpc/rpc_main.c: Document rpcgen -5.
8681
86822013-10-19 Michael Stahl <mstahl@redhat.com>
8683
8684 * elf/rtld.c (do_preload): Print the reason why preloading failed.
8685
86862013-10-19 Ondřej Bílka <neleai@seznam.cz>
8687
8688 [BZ #10278]
8689 * posix/glob.c: Match only directories when trailing slash is present.
8690 * posix/tst-gnuglob.c (my_opendir): Do not open files.
8691 (main): Add testcase.
8692
86932013-10-19 Ondřej Bílka <neleai@seznam.cz>
8694
8695 [BZ #15670]
8696 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
8697
86982013-10-18 Carlos O'Donell <carlos@redhat.com>
8699
8700 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
8701 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
8702 AUTH_DES and cindex for FIPS 140-2.
8703 (DES Encryption): Add cindex FIPS 46-3.
8704
8705 * locale/locarchive.h (struct locarhandle): Add fname.
8706 * locale/programs/localedef.c (main): Pass ARGV[remaining]
8707 if an optional argument was specified to --list-archive,
8708 otherwise NULL.
8709 * locale/programs/locarchive.c (show_archive_content): Take new
8710 argument fname and pass it via ah.fname to open_archive.
8711 * locale/programs/localedef.h: Update decl.
8712 (open_archive): If AH->fname is non-null, open that file
8713 rather than the default file name, and don't ignore ENOENT.
8714 (create_archive): Set AH.fname to NULL.
8715 (delete_locales_from_archive): Likewise.
8716 (add_locales_to_archive): Likewise.
8717 * locale/programs/locfile.c (write_all_categories): Likewise.
8718
87192013-10-18 Joseph Myers <joseph@codesourcery.com>
8720 Aldy Hernandez <aldyh@redhat.com>
8721
8722 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
8723 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
8724 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
8725 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
8726 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
8727 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
8728 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
8729 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
8730 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
8731 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
8732 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
8733 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
8734 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
8735 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
8736 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
8737 Likewise.
8738 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
8739 Likewise.
8740 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
8741 Likewise.
8742 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
8743 Likewise.
8744 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
8745 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
8746 Likewise.
8747 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
8748 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
8749 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
8750 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
8751 Likewise.
8752 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
8753 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
8754 * sysdeps/powerpc/preconfigure: Likewise.
8755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
8756 Likewise.
8757 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
8758 Replace contents of file by #include of <fenv_libc.h>.
8759 * sysdeps/powerpc/soft-fp/sfp-machine.h
8760 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
8761 and <sys/prctl.h>.
8762 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
8763 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
8764 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
8765 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
8766 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
8767 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
8768 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
8769 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
8770 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
8771 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
8772 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
8773 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
8774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8775 Allow copysignl PLT reference to be missing.
8776
87772013-10-18 Richard Sandiford <richard@codesourcery.com>
8778 Joseph Myers <joseph@codesourcery.com
8779
8780 [BZ #15948]
8781 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
8782 single character.
8783 (add_to_tablewc): Assert sequence of wide characters is nonempty.
8784
87852013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8786
8787 * elf/tst-tls-dlinfo.c: Don't include tls.h.
8788 * elf/tst-tls1.c: Likewise.
8789 * elf/tst-tls10.h: Likewise.
8790 * elf/tst-tls14.c: Likewise.
8791 * elf/tst-tls2.c: Likewise.
8792 * elf/tst-tls3.c: Likewise.
8793 * elf/tst-tls4.c: Likewise.
8794 * elf/tst-tls5.c: Likewise.
8795 * elf/tst-tls6.c: Likewise.
8796 * elf/tst-tls7.c: Likewise.
8797 * elf/tst-tls8.c: Likewise.
8798 * elf/tst-tls9.c: Likewise.
8799 * elf/tst-tlsmod1.c: Likewise.
8800 * elf/tst-tlsmod13.c: Likewise.
8801 * elf/tst-tlsmod13a.c: Likewise.
8802 * elf/tst-tlsmod14a.c: Likewise.
8803 * elf/tst-tlsmod16a.c: Likewise.
8804 * elf/tst-tlsmod16b.c: Likewise.
8805 * elf/tst-tlsmod2.c: Likewise.
8806 * elf/tst-tlsmod3.c: Likewise.
8807 * elf/tst-tlsmod4.c: Likewise.
8808 * elf/tst-tlsmod5.c: Likewise.
8809 * elf/tst-tlsmod6.c: Likewise.
8810
88112013-10-18 Ondřej Bílka <neleai@seznam.cz>
8812
8813 [BZ #12486]
8814 * malloc/malloc.c: remove checks for statistics.
8815
88162013-10-17 Ondřej Bílka <neleai@seznam.cz>
8817
8818 [BZ #15277]
8819 * inet/inet_net.c (inet_network): Detect additional invalid strings.
8820 * inet/tst-network.c: Add testcase.
8821
88222013-10-17 Andreas Schwab <schwab@suse.de>
8823
8824 [BZ #15218]
8825 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
8826 to determine canonical name.
8827
88282013-10-17 Ondřej Bílka <neleai@seznam.cz>
8829
8830 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
8831 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
8832 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8833 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8834 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8835 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8836 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8837 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8838 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8839 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8840 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
8841 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8842 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8843 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8844 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8845 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8846 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8847 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8848 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8849 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8850 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8851 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8852 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8853 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
8854 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
8855 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8856 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8857 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
8858 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8859 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
8860 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8861 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8862 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8863 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8864 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8865 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8866 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8867 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8868 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8869 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8870 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8871 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8872 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
8873 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8874 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8875 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8876 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8877 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8878 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
8879 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8880 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
8881 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8882 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8883 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
8884 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8885 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8886 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8887 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8888
88892013-10-17 Joseph Myers <joseph@codesourcery.com>
8890
8891 [BZ #16041]
8892 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
8893 make result into a quiet NaN.
8894
88952013-10-16 Joseph Myers <joseph@codesourcery.com>
8896
8897 * soft-fp/adddf3.c: Fix horizontal whitespace.
8898 * soft-fp/addsf3.c: Likewise.
8899 * soft-fp/addtf3.c: Likewise.
8900 * soft-fp/divdf3.c: Likewise.
8901 * soft-fp/divsf3.c: Likewise.
8902 * soft-fp/divtf3.c: Likewise.
8903 * soft-fp/double.h: Likewise.
8904 * soft-fp/eqdf2.c: Likewise.
8905 * soft-fp/eqsf2.c: Likewise.
8906 * soft-fp/eqtf2.c: Likewise.
8907 * soft-fp/extenddftf2.c: Likewise.
8908 * soft-fp/extended.h: Likewise.
8909 * soft-fp/extendsfdf2.c: Likewise.
8910 * soft-fp/extendsftf2.c: Likewise.
8911 * soft-fp/extendxftf2.c: Likewise.
8912 * soft-fp/fixdfdi.c: Likewise.
8913 * soft-fp/fixdfsi.c: Likewise.
8914 * soft-fp/fixdfti.c: Likewise.
8915 * soft-fp/fixsfdi.c: Likewise.
8916 * soft-fp/fixsfsi.c: Likewise.
8917 * soft-fp/fixsfti.c: Likewise.
8918 * soft-fp/fixtfdi.c: Likewise.
8919 * soft-fp/fixtfsi.c: Likewise.
8920 * soft-fp/fixtfti.c: Likewise.
8921 * soft-fp/fixunsdfdi.c: Likewise.
8922 * soft-fp/fixunsdfsi.c: Likewise.
8923 * soft-fp/fixunsdfti.c: Likewise.
8924 * soft-fp/fixunssfdi.c: Likewise.
8925 * soft-fp/fixunssfsi.c: Likewise.
8926 * soft-fp/fixunssfti.c: Likewise.
8927 * soft-fp/fixunstfdi.c: Likewise.
8928 * soft-fp/fixunstfsi.c: Likewise.
8929 * soft-fp/fixunstfti.c: Likewise.
8930 * soft-fp/floatdidf.c: Likewise.
8931 * soft-fp/floatdisf.c: Likewise.
8932 * soft-fp/floatditf.c: Likewise.
8933 * soft-fp/floatsidf.c: Likewise.
8934 * soft-fp/floatsisf.c: Likewise.
8935 * soft-fp/floatsitf.c: Likewise.
8936 * soft-fp/floattidf.c: Likewise.
8937 * soft-fp/floattisf.c: Likewise.
8938 * soft-fp/floattitf.c: Likewise.
8939 * soft-fp/floatundidf.c: Likewise.
8940 * soft-fp/floatundisf.c: Likewise.
8941 * soft-fp/floatunditf.c: Likewise.
8942 * soft-fp/floatunsidf.c: Likewise.
8943 * soft-fp/floatunsisf.c: Likewise.
8944 * soft-fp/floatunsitf.c: Likewise.
8945 * soft-fp/floatuntidf.c: Likewise.
8946 * soft-fp/floatuntisf.c: Likewise.
8947 * soft-fp/floatuntitf.c: Likewise.
8948 * soft-fp/fmadf4.c: Likewise.
8949 * soft-fp/fmasf4.c: Likewise.
8950 * soft-fp/fmatf4.c: Likewise.
8951 * soft-fp/gedf2.c: Likewise.
8952 * soft-fp/gesf2.c: Likewise.
8953 * soft-fp/getf2.c: Likewise.
8954 * soft-fp/ledf2.c: Likewise.
8955 * soft-fp/lesf2.c: Likewise.
8956 * soft-fp/letf2.c: Likewise.
8957 * soft-fp/muldf3.c: Likewise.
8958 * soft-fp/mulsf3.c: Likewise.
8959 * soft-fp/multf3.c: Likewise.
8960 * soft-fp/negdf2.c: Likewise.
8961 * soft-fp/negsf2.c: Likewise.
8962 * soft-fp/negtf2.c: Likewise.
8963 * soft-fp/op-1.h: Likewise.
8964 * soft-fp/op-2.h: Likewise.
8965 * soft-fp/op-4.h: Likewise.
8966 * soft-fp/op-8.h: Likewise.
8967 * soft-fp/op-common.h: Likewise.
8968 * soft-fp/quad.h: Likewise.
8969 * soft-fp/single.h: Likewise.
8970 * soft-fp/soft-fp.h: Likewise.
8971 * soft-fp/sqrtdf2.c: Likewise.
8972 * soft-fp/sqrtsf2.c: Likewise.
8973 * soft-fp/sqrttf2.c: Likewise.
8974 * soft-fp/subdf3.c: Likewise.
8975 * soft-fp/subsf3.c: Likewise.
8976 * soft-fp/subtf3.c: Likewise.
8977 * soft-fp/truncdfsf2.c: Likewise.
8978 * soft-fp/trunctfdf2.c: Likewise.
8979 * soft-fp/trunctfsf2.c: Likewise.
8980 * soft-fp/trunctfxf2.c: Likewise.
8981 * soft-fp/unorddf2.c: Likewise.
8982 * soft-fp/unordsf2.c: Likewise.
8983 * soft-fp/unordtf2.c: Likewise.
8984
89852013-10-15 Joseph Myers <joseph@codesourcery.com>
8986
8987 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
8988 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
8989
89902013-10-15 Ondřej Bílka <neleai@seznam.cz>
8991
8992 * elf/dl-libc.c: Clear initfini list after freeing.
8993
89942013-10-14 Joseph Myers <joseph@codesourcery.com>
8995
8996 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
8997 * soft-fp/addsf3.c: Likewise.
8998 * soft-fp/addtf3.c: Likewise.
8999 * soft-fp/divdf3.c: Likewise.
9000 * soft-fp/divsf3.c: Likewise.
9001 * soft-fp/divtf3.c: Likewise.
9002 * soft-fp/double.h: Likewise.
9003 * soft-fp/eqdf2.c: Likewise.
9004 * soft-fp/eqsf2.c: Likewise.
9005 * soft-fp/eqtf2.c: Likewise.
9006 * soft-fp/extenddftf2.c: Likewise.
9007 * soft-fp/extended.h: Likewise.
9008 * soft-fp/extendsfdf2.c: Likewise.
9009 * soft-fp/extendsftf2.c: Likewise.
9010 * soft-fp/extendxftf2.c: Likewise.
9011 * soft-fp/fixdfdi.c: Likewise.
9012 * soft-fp/fixdfsi.c: Likewise.
9013 * soft-fp/fixdfti.c: Likewise.
9014 * soft-fp/fixsfdi.c: Likewise.
9015 * soft-fp/fixsfsi.c: Likewise.
9016 * soft-fp/fixsfti.c: Likewise.
9017 * soft-fp/fixtfdi.c: Likewise.
9018 * soft-fp/fixtfsi.c: Likewise.
9019 * soft-fp/fixtfti.c: Likewise.
9020 * soft-fp/fixunsdfdi.c: Likewise.
9021 * soft-fp/fixunsdfsi.c: Likewise.
9022 * soft-fp/fixunsdfti.c: Likewise.
9023 * soft-fp/fixunssfdi.c: Likewise.
9024 * soft-fp/fixunssfsi.c: Likewise.
9025 * soft-fp/fixunssfti.c: Likewise.
9026 * soft-fp/fixunstfdi.c: Likewise.
9027 * soft-fp/fixunstfsi.c: Likewise.
9028 * soft-fp/fixunstfti.c: Likewise.
9029 * soft-fp/floatdidf.c: Likewise.
9030 * soft-fp/floatdisf.c: Likewise.
9031 * soft-fp/floatditf.c: Likewise.
9032 * soft-fp/floatsidf.c: Likewise.
9033 * soft-fp/floatsisf.c: Likewise.
9034 * soft-fp/floatsitf.c: Likewise.
9035 * soft-fp/floattidf.c: Likewise.
9036 * soft-fp/floattisf.c: Likewise.
9037 * soft-fp/floattitf.c: Likewise.
9038 * soft-fp/floatundidf.c: Likewise.
9039 * soft-fp/floatundisf.c: Likewise.
9040 * soft-fp/floatunsidf.c: Likewise.
9041 * soft-fp/floatunsisf.c: Likewise.
9042 * soft-fp/floatuntidf.c: Likewise.
9043 * soft-fp/floatuntisf.c: Likewise.
9044 * soft-fp/floatuntitf.c: Likewise.
9045 * soft-fp/fmadf4.c: Likewise.
9046 * soft-fp/fmasf4.c: Likewise.
9047 * soft-fp/fmatf4.c: Likewise.
9048 * soft-fp/gedf2.c: Likewise.
9049 * soft-fp/gesf2.c: Likewise.
9050 * soft-fp/getf2.c: Likewise.
9051 * soft-fp/ledf2.c: Likewise.
9052 * soft-fp/lesf2.c: Likewise.
9053 * soft-fp/letf2.c: Likewise.
9054 * soft-fp/muldf3.c: Likewise.
9055 * soft-fp/mulsf3.c: Likewise.
9056 * soft-fp/multf3.c: Likewise.
9057 * soft-fp/negdf2.c: Likewise.
9058 * soft-fp/negsf2.c: Likewise.
9059 * soft-fp/negtf2.c: Likewise.
9060 * soft-fp/op-1.h: Likewise.
9061 * soft-fp/op-2.h: Likewise.
9062 * soft-fp/op-4.h: Likewise.
9063 * soft-fp/op-8.h: Likewise.
9064 * soft-fp/op-common.h: Likewise.
9065 * soft-fp/quad.h: Likewise.
9066 * soft-fp/single.h: Likewise.
9067 * soft-fp/soft-fp.h: Likewise.
9068 * soft-fp/sqrtdf2.c: Likewise.
9069 * soft-fp/sqrtsf2.c: Likewise.
9070 * soft-fp/sqrttf2.c: Likewise.
9071 * soft-fp/subdf3.c: Likewise.
9072 * soft-fp/subsf3.c: Likewise.
9073 * soft-fp/subtf3.c: Likewise.
9074 * soft-fp/truncdfsf2.c: Likewise.
9075 * soft-fp/trunctfdf2.c: Likewise.
9076 * soft-fp/trunctfsf2.c: Likewise.
9077 * soft-fp/trunctfxf2.c: Likewise.
9078 * soft-fp/unorddf2.c: Likewise.
9079 * soft-fp/unordsf2.c: Likewise.
9080 * soft-fp/unordtf2.c: Likewise.
9081
90822013-10-14 Ondřej Bílka <neleai@seznam.cz>
9083
9084 [BZ #15672]
9085 * misc/error.c (error_tail): Fix possible buffer overflow.
9086
90872013-10-14 Aurelien Jarno <aurelien@aurel32.net>
9088
9089 [BZ #13028]
9090 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
9091 address.
9092
90932013-10-14 P. J. McDermott <pj@pehjota.net>
9094
9095 [BZ #832]
9096 * elf/ldd.bash.in (try_trace): New function. Delete previous code
9097 testing pipefail option.
9098
90992013-10-12 Joseph Myers <joseph@codesourcery.com>
9100
9101 * soft-fp/double.h: Indent preprocessor directives inside #if.
9102 * soft-fp/extended.h: Likewise.
9103 * soft-fp/op-2.h: Likewise.
9104 * soft-fp/op-4.h: Likewise.
9105 * soft-fp/op-common.h: Likewise.
9106 * soft-fp/quad.h: Likewise.
9107 * soft-fp/single.h: Likewise.
9108 * soft-fp/soft-fp.h: Likewise.
9109
91102013-10-12 Yuri Chornoivan <yurchor@ukr.net>
9111
9112 * iconv/iconv_prog.c: Fix typos.
9113 * stdio-common/psiginfo-data.h: Likewise.
9114
91152013-10-12 Reuben Thomas <rrt@sc3d.org>
9116
9117 [BZ #15764]
9118 * locale/setlocale.c: Fix typo.
9119
91202013-10-12 Joseph Myers <joseph@codesourcery.com>
9121
9122 [BZ #16036]
9123 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
9124 signaling NaN arguments.
9125 * soft-fp/unordsf2.c (__unordsf2): Likewise.
9126 * soft-fp/unordtf2.c (__unordtf2): Likewise.
9127
9128 [BZ #14910]
9129 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
9130 unordered operands.
9131 * soft-fp/gesf2.c (__gesf2): Likewise.
9132 * soft-fp/getf2.c (__getf2): Likewise.
9133 * soft-fp/ledf2.c (__ledf2): Likewise.
9134 * soft-fp/lesf2.c (__lesf2): Likewise.
9135 * soft-fp/letf2.c (__letf2): Likewise.
9136
9137 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
9138 * soft-fp/eqsf2.c (__eqsf2): Likewise.
9139 * soft-fp/eqtf2.c (__eqtf2): Likewise.
9140 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
9141 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
9142 * soft-fp/fixdfti.c (__fixdfti): Likewise.
9143 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
9144 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
9145 * soft-fp/fixsfti.c (__fixsfti): Likewise.
9146 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
9147 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
9148 * soft-fp/fixtfti.c (__fixtfti): Likewise.
9149 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
9150 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
9151 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
9152 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
9153 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
9154 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
9155 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
9156 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
9157 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
9158 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
9159 * soft-fp/floatdisf.c (__floatdisf): Likewise.
9160 * soft-fp/floatsisf.c (__floatsisf): Likewise.
9161 * soft-fp/floattidf.c (__floattidf): Likewise.
9162 * soft-fp/floattisf.c (__floattisf): Likewise.
9163 * soft-fp/floattitf.c (__floattitf): Likewise.
9164 * soft-fp/floatundidf.c (__floatundidf): Likewise.
9165 * soft-fp/floatundisf.c (__floatundisf): Likewise.
9166 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
9167 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
9168 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
9169 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
9170 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
9171 * soft-fp/gesf2.c (__gesf2): Likewise.
9172 * soft-fp/getf2.c (__getf2): Likewise.
9173 * soft-fp/ledf2.c (__ledf2): Likewise.
9174 * soft-fp/lesf2.c (__lesf2): Likewise.
9175 * soft-fp/letf2.c (__letf2): Likewise.
9176
9177 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
9178 Undefine and redefine.
9179 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
9180 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
9181 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
9182 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
9183 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9184 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
9185 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9186 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
9187 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9188 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
9189 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9190 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
9191 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9192 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
9193 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9194
9195 [BZ #16032]
9196 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
9197 without decrementing exponent if mantissa >= that for the
9198 denominator, not >.
9199 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
9200 denominator, not >. Decrement exponent in < case instead of
9201 incrementing in >= case.
9202 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
9203 without decrementing exponent if mantissa >= that for the
9204 denominator, not >.
9205
9206 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
9207 computing saturated result for unsigned overflow.
9208
92092013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9210 Jeff Law <law@redhat.com>
9211
9212 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
9213 (atan2Mp): Add systemtap probe marker.
9214 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
9215 (__ieee754_log): Add systemtap probe marker.
9216 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
9217 (atanMp): Add systemtap probe marker.
9218 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
9219 (tanMp): Add systemtap probe marker.
9220 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
9221 (__slowexp): Add systemtap probe marker.
9222 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
9223 (__slowpow): Add systemtap probe marker.
9224 * manual/probes.texi: Document probes.
9225
92262013-10-11 Eric Biggers <ebiggers3@gmail.com>
9227
9228 [BZ #15362]
9229 * libio/fileops.c (_IO_new_file_write): Return count of bytes
9230 written.
9231 (_IO_new_file_xsputn): Don't return EOF if nothing has been
9232 written.
9233 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
9234 written to buffer but not flushed.
9235 * libio/iofwrite_u.c: Likewise.
9236 * libio/iopadn.c: Return bytes returned even if EOF was
9237 encountered.
9238 * libio/iowpadn.c: Likewise.
9239 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
9240 if _IO_padn does not write the whole buffer.
9241 [!COMPILE_WPRINTF] (PAD): Likewise.
9242
92432013-10-10 David S. Miller <davem@davemloft.net>
9244
9245 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
9246 directory block.
9247
92482013-10-10 Joseph Myers <joseph@codesourcery.com>
9249
9250 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
9251 instead of FSF address.
9252 * soft-fp/fixdfti.c: Likewise.
9253 * soft-fp/fixsfti.c: Likewise.
9254 * soft-fp/fixtfti.c: Likewise.
9255 * soft-fp/fixunsdfti.c: Likewise.
9256 * soft-fp/fixunssfti.c: Likewise.
9257 * soft-fp/fixunstfti.c: Likewise.
9258 * soft-fp/floattidf.c: Likewise.
9259 * soft-fp/floattisf.c: Likewise.
9260 * soft-fp/floattitf.c: Likewise.
9261 * soft-fp/floatuntidf.c: Likewise.
9262 * soft-fp/floatuntisf.c: Likewise.
9263 * soft-fp/floatuntitf.c: Likewise.
9264 * soft-fp/trunctfxf2.c: Likewise.
9265
9266 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
9267 * soft-fp/fixdfti.c: Likewise.
9268 * soft-fp/fixsfti.c: Likewise.
9269 * soft-fp/fixtfti.c: Likewise.
9270 * soft-fp/fixunsdfti.c: Likewise.
9271 * soft-fp/fixunssfti.c: Likewise.
9272 * soft-fp/fixunstfti.c: Likewise.
9273 * soft-fp/floattidf.c: Likewise.
9274 * soft-fp/floattisf.c: Likewise.
9275 * soft-fp/floattitf.c: Likewise.
9276 * soft-fp/floatuntidf.c: Likewise.
9277 * soft-fp/floatuntisf.c: Likewise.
9278 * soft-fp/floatuntitf.c: Likewise.
9279 * soft-fp/trunctfxf2.c: Likewise.
9280
92812013-10-10 David S. Miller <davem@davemloft.net>
9282
9283 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9284
92852013-10-10 Joseph Myers <joseph@codsourcery.com>
9286
9287 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
9288 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
9289 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
9290 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
9291 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
9292 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
9293 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
9294
9295 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
9296 for NaNs before doing comparisons on argument.
9297 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
9298 Likewise.
9299
93002013-10-10 Will Newton <will.newton@linaro.org>
9301
9302 * malloc/hooks.c (memalign_check): Ensure the value of bytes
9303 passed to _int_memalign does not overflow.
9304
93052013-10-10 Torvald Riegel <triegel@redhat.com>
9306
9307 * scripts/bench.pl: Add include-sources directive.
9308 * benchtests/README: Update documentation.
9309
93102013-10-10 Joseph Myers <joseph@codesourcery.com>
9311
9312 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
9313 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
9314 instead of FP_INIT_ROUNDMODE.
9315 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
9316 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
9317
9318 [BZ #16034]
9319 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
9320 copy class of input value.
9321 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
9322 not handle exceptions.
9323 * soft-fp/negsf2.c (__negsf2): Likewise.
9324 * soft-fp/negtf2.c (__negtf2): Likewise.
9325 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
9326
93272013-10-09 Joseph Myers <joseph@codesourcery.com>
9328
9329 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
9330 semicolon. From Linux kernel.
9331
93322013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
9333
9334 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
9335
93362013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
9337
9338 [BZ #156]
9339 * manual/socket.texi: Added statement about buffer
9340 for gethostbyname2_r.
9341
93422013-10-08 Ondřej Bílka <neleai@seznam.cz>
9343
9344 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
9345 Use .p2align directive instead, throughout.
9346 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9347 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
9348 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
9349 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9350 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9351 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
9352 * sysdeps/x86_64/strchr.S: Likewise.
9353 * sysdeps/x86_64/strrchr.S: Likewise.
9354
93552013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9356
9357 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
9358
9359 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
9360
9361 * sysdeps/generic/math_private.h (__mpsin1): Remove
9362 declaration.
9363 (__mpcos1): Likewise.
9364 (__mpsin): New argument __range_reduce.
9365 (__mpcos): Likewise.
9366 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9367 (slow): Use __mpsin and __mpcos.
9368 (slow1): Likewise.
9369 (slow2): Likewise.
9370 (sloww): Likewise.
9371 (sloww1): Likewise.
9372 (sloww2): Likewise.
9373 (bsloww): Likewise.
9374 (bsloww1): Likewise.
9375 (bsloww2): Likewise.
9376 (cslow2): Likewise.
9377 (csloww): Likewise.
9378 (csloww1): Likewise.
9379 (csloww2): Likewise.
9380 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
9381 range_reduce. Merge in __mpsin1.
9382 (__mpcos): Likewise.
9383 (__mpsin1): Remove.
9384 (__mpcos1): Likewise.
9385
93862013-10-07 Joseph Myers <joseph@codesourcery.com>
9387
9388 * locale/loadlocale.c (_nl_intern_locale_data): Use
9389 LOCFILE_ALIGNED_P.
9390 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
9391 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
9392 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
9393 obstack data is appropriately aligned.
9394 (obstack_int32_grow_fast): Likewise.
9395 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
9396 * locale/programs/locfile.c (add_locale_uint32): Likewise.
9397 (add_locale_uint32_array): Likewise.
9398
93992013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9400
9401 * benchtests/Makefile: Remove ARGLIST and RET variables.
9402 ($(objpfx)bench-%.c): Pass only function name to the script.
9403 * benchtests/README: Update documentation.
9404 * benchtests/acos-inputs: Add new directives.
9405 * benchtests/acosh-inputs: Likewise.
9406 * benchtests/asin-inputs: Likewise.
9407 * benchtests/asinh-inputs: Likewise.
9408 * benchtests/atan-inputs: Likewise.
9409 * benchtests/atanh-inputs: Likewise.
9410 * benchtests/cos-inputs: Likewise.
9411 * benchtests/cosh-inputs: Likewise.
9412 * benchtests/exp-inputs: Likewise.
9413 * benchtests/log-inputs: Likewise.
9414 * benchtests/pow-inputs: Likewise.
9415 * benchtests/rint-inputs: Likewise.
9416 * benchtests/sin-inputs: Likewise.
9417 * benchtests/sinh-inputs: Likewise.
9418 * benchtests/tan-inputs: Likewise.
9419 * benchtests/tanh-inputs: Likewise.
9420 * scripts/bench.pl: Add support for new directives.
9421
94222013-10-07 Alan Modra <amodra@gmail.com>
9423
9424 * README: Fix careless merge.
9425
94262013-10-05 Alan Modra <amodra@gmail.com>
9427
9428 * NEWS: Mention powerpc64le support and bugs fixed.
9429 * README: Both big-endian and little-endian powerpc64 supported.
9430
94312013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
9432
9433 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
9434 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
9435 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
9436 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
9437
94382013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
9439
9440 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
9441 match prototype.
9442
94432013-10-04 Joseph Myers <joseph@codesourcery.com>
9444
9445 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
9446 Move -mhard-float appending from
9447 ports/sysdeps/powerpc/powerpc32/Makefile.
9448 [$(with-fp) = yes] (ASFLAGS): Likewise.
9449 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
9450 * sysdeps/powerpc/nofpu: Move directory from
9451 ports/sysdeps/powerpc/nofpu.
9452 * sysdeps/powerpc/soft-fp: Move directory from
9453 ports/sysdeps/powerpc/soft-fp.
9454 * sysdeps/powerpc/powerpc32/405: Move directory from
9455 ports/sysdeps/powerpc/powerpc32/405.
9456 * sysdeps/powerpc/powerpc32/440: Move directory from
9457 ports/sysdeps/powerpc/powerpc32/440.
9458 * sysdeps/powerpc/powerpc32/464: Move directory from
9459 ports/sysdeps/powerpc/powerpc32/464.
9460 * sysdeps/powerpc/powerpc32/476: Move directory from
9461 ports/sysdeps/powerpc/powerpc32/476.
9462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
9463 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
9464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
9465 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
9466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
9467 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
9468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
9469 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
9470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
9471 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
9472 * README: Update for powerpc-*-linux-gnu software floating point
9473 support in libc.
9474
9475 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
9476 case to powerpc/powerpc32*.
9477 * sysdeps/unix/sysv/linux/configure: Regenerated.
9478
9479 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
9480 (_FPU_MASK_OM): Define as 0x04.
9481 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
9482 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
9483 0x00c10080.
9484 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
9485 0x0000003c.
9486 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
9487
9488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
9489 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9490 getcontext_e500.
9491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
9492 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9493 setcontext_e500.
9494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
9495 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
9496 and setcontext_e500.
9497
94982013-10-04 Chris Leonard <cjl@sugarlabs,.org>
9499
9500 * locale/iso-3166.def: Update iso-1366.def and related occurrences
9501
95022013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9503
9504 * manual/threads.texi (Default Thread Attributes): Fix typo.
9505
95062013-10-04 Will Newton <will.newton@linaro.org>
9507
9508 * malloc/Makefile: Add tst-memalign.
9509 * malloc/tst-memalign.c: New file.
9510
9511 * malloc/tst-posix_memalign.c: Add comments.
9512 (do_test): Add comments and call free on all potentially
9513 allocated pointers. Add space after cast.
9514
9515 * malloc/tst-pvalloc.c: Add comments.
9516 (do_test): Add comments and call free on all potentially
9517 allocated pointers. Remove duplicate check for NULL pointer.
9518 Add space after cast.
9519
9520 * malloc/tst-valloc.c: Add comments.
9521 (do_test): Add comments and call free on all potentially
9522 allocated pointers. Remove duplicate check for NULL pointer.
9523 Add space after cast.
9524
95252013-10-04 Alan Modra <amodra@gmail.com>
9526
9527 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9528 Use stdint types in rather than __attribute__((mode())).
9529 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9530
95312013-10-04 Alan Modra <amodra@gmail.com>
9532
9533 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9534 Correct handling of unaligned relocs for little-endian.
9535 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9536
95372013-10-04 Alan Modra <amodra@gmail.com>
9538
9539 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
9540 * configure: Regenerate.
9541 * nptl/shlib-versions: Powerpc*le starts at 2.18.
9542 * shlib-versions: Likewise.
9543
95442013-10-04 Alan Modra <amodra@gmail.com>
9545
9546 * string/tester.c (test_memrchr): Increment reported test cycle.
9547
95482013-10-04 Alan Modra <amodra@gmail.com>
9549
9550 * string/test-memcpy.c (do_one_test): When reporting errors, print
9551 string address and don't overrun end of string.
9552
95532013-10-04 Alan Modra <amodra@gmail.com>
9554
9555 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
9556 insrdi. Make better use of reg selection to speed exit slightly.
9557 Schedule entry path a little better. Remove useless "are we done"
9558 checks on entry to main loop. Handle wrapping around zero address.
9559 Correct main loop count. Handle single left-over word from main
9560 loop inline rather than by using loop_small. Remove extra word
9561 case in loop_small caused by wrong loop count. Add little-endian
9562 support.
9563 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
9564 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
9565 cache hint.
9566 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
9567 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
9568 support. Avoid rlwimi.
9569 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
9570
95712013-10-04 Alan Modra <amodra@gmail.com>
9572
9573 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
9574 insrdi. Formatting.
9575 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
9576 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
9577 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
9578 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
9579 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
9580 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
9581
95822013-10-04 Alan Modra <amodra@gmail.com>
9583
9584 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
9585 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9586 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
9587 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
9588 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
9589 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9590 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9591 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
9592 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
9593 use of regs. Use power7 mtocrf. Tidy function tails.
9594
95952013-10-04 Alan Modra <amodra@gmail.com>
9596
9597 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
9598 Formatting. Consistently use rXXX register defines or rN defines.
9599 Use early exit labels that avoid restoring unused non-volatile regs.
9600 Make cr field use more consistent with rWORDn compares. Rename
9601 regs used as shift registers for unaligned loop, using rN defines
9602 for short lifetime/multiple use regs.
9603 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9604 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
9605 addi 1,1,64 to pop stack frame. Simplify return value code.
9606 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9607
96082013-10-04 Alan Modra <amodra@gmail.com>
9609
9610 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
9611 support. Correct typos, formatting. Optimize tail. Use insrdi
9612 rather than rlwimi.
9613 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
9614 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
9615 little-endian support. Correct typos.
9616 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
9617 rather than rlwimi.
9618 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
9619 in loop and entry code to keep "and." results.
9620 (strchr): Add little-endian support. Comment. Move cntlzd
9621 earlier in tail.
9622 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
9623
96242013-10-04 Alan Modra <amodra@gmail.com>
9625
9626 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
9627 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
9628 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
9629 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
9630
96312013-10-04 Alan Modra <amodra@gmail.com>
9632
9633 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
9634 (rTMP): Define as r11.
9635 (strcmp): Add little-endian support. Optimise tail.
9636 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
9637 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9638 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
9639 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9640 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
9641 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9642 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9643
96442013-10-04 Alan Modra <amodra@gmail.com>
9645
9646 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
9647 little-endian support. Remove unnecessary "are we done" tests.
9648 Handle "s" wrapping around zero and extremely large "size".
9649 Correct main loop count. Handle single left-over word from main
9650 loop inline rather than by using small_loop. Correct comments.
9651 Delete "zero" tail, use "end_max" instead.
9652 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
9653
96542013-10-04 Alan Modra <amodra@gmail.com>
9655
9656 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
9657 support. Don't branch over align.
9658 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
9659 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
9660 support. Rearrange tmp reg use to suit. Comment.
9661 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
9662
96632013-10-04 Alan Modra <amodra@gmail.com>
9664
9665 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
9666
96672013-10-04 Alan Modra <amodra@gmail.com>
9668
9669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
9670 conditional form of branch and link when obtaining pc.
9671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
9672
96732013-10-04 Alan Modra <amodra@gmail.com>
9674
9675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
9676 HIWORD/LOWORD.
9677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
9678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
9679
96802013-10-04 Alan Modra <amodra@gmail.com>
9681
9682 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
9683 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
9684 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
9685 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
9686 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9687 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
9688 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
9689 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
9690 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
9691 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
9692
96932013-10-04 Anton Blanchard <anton@au1.ibm.com>
9694 Alistair Popple <alistair@ozlabs.au.ibm.com>
9695 Alan Modra <amodra@gmail.com>
9696
9697 [BZ #15723]
9698 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
9699 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
9700 _dl_hwcap access for little-endian.
9701 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
9702 destroy vmx regs when saving unaligned.
9703 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
9704 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
9705 destroy vmx regs when saving unaligned.
9706
97072013-10-04 Alan Modra <amodra@gmail.com>
9708
9709 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
9710 Don't use a union to pack hi/low value.
9711
97122013-10-04 Anton Blanchard <anton@au1.ibm.com>
9713
9714 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
9715 for little-endian.
9716 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
9717 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
9718 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
9719 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
9720 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
9721
97222013-10-04 Alan Modra <amodra@gmail.com>
9723
9724 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
9725 constants to usual value for .cst8 section, and remove redundant
9726 high address load.
9727 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
9728 constant for 0x1p52. Load little-endian words of double from
9729 correct stack offsets.
9730
97312013-10-04 Alan Modra <amodra@gmail.com>
9732
9733 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
9734 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
9735 words of double from correct stack offsets.
9736 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
9737 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
9738 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
9739 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
9740 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
9741 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
9742 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
9743 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
9744 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
9745 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
9746 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
9747 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
9748 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9749 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9750 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9751 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
9752 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
9753
97542013-10-04 Alan Modra <amodra@gmail.com>
9755
9756 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
9757 64-bit int/double union.
9758 (_FPU_SETCW): Likewise.
9759 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
9760 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
9761
97622013-10-04 Alan Modra <amodra@gmail.com>
9763
9764 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
9765 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
9766
97672013-10-04 Alan Modra <amodra@gmail.com>
9768
9769 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
9770 use vector int constants.
9771 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
9772
97732013-10-04 Anton Blanchard <anton@au1.ibm.com>
9774
9775 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
9776 array with long long.
9777 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
9778 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
9779 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
9780 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
9781 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
9782 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
9783 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
9784 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
9785 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
9786 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
9787 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
9788 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
9789 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
9790
97912013-10-04 Anton Blanchard <anton@au1.ibm.com>
9792
9793 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
9794 (__signbit): Likewise. Correct for little-endian.
9795 (__signbitl): Call __signbit.
9796 (lrint): Correct for little-endian.
9797 (lrintf): Call lrint.
9798
97992013-10-04 Alan Modra <amodra@gmail.com>
9800
9801 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
9802 union 32-bit int array member with 64-bit int array.
9803 (t515, tm256): Double rather than long double.
9804 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
9805
98062013-10-04 Alan Modra <amodra@gmail.com>
9807
9808 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
9809 Delete.
9810 (IEEE854_LONG_DOUBLE_BIAS): Delete.
9811 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
9812 version of math_ldbl.h.
9813
98142013-10-04 Alan Modra <amodra@gmail.com>
9815
9816 [BZ #15734], [BZ #15735]
9817 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
9818 all uses of ieee875 long double macros and unions. Simplify test
9819 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
9820 ldbl_extract_mantissa value for ix,iy exponents. Properly
9821 normalize after ldbl_extract_mantissa, and don't add hidden bit
9822 already handled. Don't treat low word of ieee854 mantissa like
9823 low word of IBM long double and mask off bit when testing for
9824 zero.
9825 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
9826 all uses of ieee875 long double macros and unions. Simplify tests
9827 for 0.0L and inf. Correct double adjustment of k. Delete dead code
9828 adjusting ha,hb. Simplify code setting kld. Delete two600 and
9829 two1022, instead use their values. Recognise that tests for large
9830 "a" and small "b" are mutually exclusive. Rename vars. Comment.
9831 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
9832 Rewrite all uses of ieee875 long double macros and unions. Simplify
9833 test for 0.0L and nan. Correct negation.
9834 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
9835 ieee875 long double macros and unions. Correct output for large
9836 magnitude x. Correct absolute value calculation.
9837 (__erfcl): Likewise.
9838 * math/libm-test.inc: Add tests for errors discovered in IBM long
9839 double versions of fmodl, remainderl, erfl and erfcl.
9840
98412013-10-04 Alan Modra <amodra@gmail.com>
9842
9843 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
9844 all uses of ieee854 long double macros and unions. Simplify tests
9845 for long doubles that are fully specified by the high double.
9846 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9847 Likewise.
9848 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
9849 Remove dead code too.
9850 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
9851 (__ieee754_ynl): Likewise.
9852 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
9853 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
9854 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
9855 Remove dead code too.
9856 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
9857 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
9858 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
9859 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
9860 Simplify.
9861 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
9862 Simplify.
9863 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
9864 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
9865 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
9866 Comment on variable precision.
9867 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
9868 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
9869 Likewise.
9870 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
9871 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9872 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9873 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
9874 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
9875
98762013-10-04 Alan Modra <amodra@gmail.com>
9877
9878 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
9879 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
9880 all uses of ieee854 long double macros and unions.
9881 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
9882 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
9883 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
9884 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
9885 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
9886 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
9887 Likewise.
9888 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
9889 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
9890 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
9891 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
9892 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
9893 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
9894 Simplify sign and nan test too.
9895 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
9896 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
9897 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
9898 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
9899 Likewise.
9900 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
9901 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
9902 Likewise.
9903 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9904 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
9905 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
9906 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
9907 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
9908 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
9909
99102013-10-04 Alan Modra <amodra@gmail.com>
9911
9912 * stdio-common/printf_size.c (__printf_size): Don't use
9913 union ieee854_long_double in fpnum union.
9914 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
9915 signbit macro to retrieve sign from long double.
9916 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
9917 retrieve sign from long double.
9918 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
9919 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
9920 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
9921 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
9922 * math/test-misc.c (main): Don't use union ieee854_long_double.
9923
99242013-10-04 Alan Modra <amodra@gmail.com>
9925
9926 [BZ #15680]
9927 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
9928 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
9929 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
9930 calculation. Remove unnecessary test for denormal exponent.
9931 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
9932 Correct handling of denormals. Avoid undefined shift behaviour.
9933 Correct normalisation of low mantissa when low double is denormal.
9934 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
9935 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
9936 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
9937 Correct normalisation of low mantissa. Test for overflow of high
9938 mantissa and normalise.
9939 (ldbl_nearbyint): Use more readable constant for two52.
9940 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
9941 (__mpn_construct_long_double): Fix test for overflow of high
9942 mantissa and correct normalisation. Avoid undefined shift.
9943
99442013-10-04 Alan Modra <amodra@gmail.com>
9945
9946 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
9947 (union ibm_extended_long_double): Define as an array of ieee754_double.
9948 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
9949 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
9950 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
9951 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
9952 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9953 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
9954 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9955 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
9956 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
9957 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
9958 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
9959
99602013-10-03 Joseph Myers <joseph@codesourcery.com>
9961
9962 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
9963 page size instead of calling getpagesize.
9964
9965 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
9966 (LOCFILE_ALIGN_MASK): Likewise.
9967 (LOCFILE_ALIGN_UP): Likewise.
9968 (LOCFILE_ALIGNED_P): Likewise.
9969 * locale/programs/ld-collate.c (collate_output): Use the new
9970 macros instead of __alignof__ (int32_t).
9971 * locale/weight.h (findidx): Likewise.
9972
99732013-10-03 Ondřej Bílka <neleai@seznam.cz>
9974
9975 [BZ #431]
9976 * manual/string.texi: Fix strncat and wcsncat.
9977
99782013-10-03 Brooks Moses <bmoses@google.com>
9979
9980 [BZ #15915]
9981 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
9982 * Makerules: ...here, and adjust associated comments.
9983
99842013-10-02 Will Newton <will.newton@linaro.org>
9985
9986 * malloc/Makefile: Add tst-pvalloc.
9987 * malloc/tst-pvalloc.c: New file.
9988
99892013-10-02 Will Newton <will.newton@linaro.org>
9990
9991 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
9992 improve test coverage.
9993
99942013-10-02 Will Newton <will.newton@linaro.org>
9995
9996 * malloc/Makefile: Add tst-posix_memalign.
9997 * malloc/tst-posix_memalign.c: New file.
9998
99992013-10-01 Eric Blake <eblake@redhat.com>
10000
10001 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
10002 Use __THROWNL rather than __THROW on static functions.
10003
100042013-09-30 Petr Machata <pmachata@redhat.com>
10005
10006 * elf/elf.h (R_AARCH64_ABS16): New macro.
10007 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
10008 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
10009 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
10010 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
10011 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
10012 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
10013 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
10014 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
10015 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
10016 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
10017 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
10018 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
10019 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
10020 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
10021 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
10022 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
10023 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
10024 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
10025 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
10026 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
10027 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
10028 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
10029 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
10030 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
10031 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
10032 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
10033 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
10034 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
10035 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
10036 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
10037 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
10038 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
10039 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
10040 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
10041 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
10042 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
10043 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
10044 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
10045 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
10046 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
10047 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
10048 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
10049 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
10050 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
10051 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
10052 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
10053 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
10054 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
10055 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
10056 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
10057 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
10058 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
10059 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
10060 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
10061 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
10062 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
10063 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
10064 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
10065 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
10066 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
10067 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
10068 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
10069 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
10070 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
10071 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
10072 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
10073 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
10074 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
10075 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
10076 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
10077 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
10078 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
10079 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
10080 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
10081 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
10082 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
10083 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
10084 (R_AARCH64_TLSDESC_LDR): Likewise.
10085 (R_AARCH64_TLSDESC_ADD): Likewise.
10086 (R_AARCH64_TLSDESC_CALL): Likewise.
10087
100882013-09-30 Andreas Schwab <schwab@suse.de>
10089
10090 [BZ #15048]
10091 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
10092 the nss database lookup.
10093 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10094 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10095
100962013-09-28 Mike Frysinger <vapier@gentoo.org>
10097
10098 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
10099
101002013-09-28 P. J. McDermott <pj@pehjota.net>
10101
10102 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
10103 ${Bash-specific parameter/pattern/string} parameter expansion.
10104 * sysdeps/unix/make-syscalls.sh: Likewise.
10105
101062013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10107
10108 * sysdeps/sh/stackguard-macros.h: New file.
10109
101102013-09-26 Ondřej Bílka <neleai@seznam.cz>
10111
10112 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
10113 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
10114 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
10115 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
10116 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10117 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
10118
101192013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10120
10121 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
10122 Fix thread ID register.
10123
101242013-09-25 Joseph Myers <joseph@codesourcery.com>
10125
10126 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
10127 [POSIX || UNIX98]: Require rather than permitting all symbols from
10128 <time.h>.
10129 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
10130 element of struct sched_param.
10131 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
10132 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
10133 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
10134 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
10135 constant.
10136
101372013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
10138
10139 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
10140 argument calculation.
10141
101422013-09-24 Joseph Myers <joseph@codesourcery.com>
10143
10144 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
10145 Expect macro.
10146 [POSIX] (pthread_attr_t): Do not require type.
10147 [POSIX] (pthread_cond_t): Likewise.
10148 [POSIX] (pthread_condattr_t): Likewise.
10149 [POSIX] (pthread_key_t): Likewise.
10150 [POSIX] (pthread_mutex_t): Likewise.
10151 [POSIX] (pthread_mutexattr_t): Likewise.
10152 [POSIX] (pthread_once_t): Likewise.
10153 [POSIX] (pthread_t): Likewise.
10154 [POSIX-based standards] (pthread_atfork): Expect function.
10155
101562013-09-24 Joseph Myers <joseph@codesourcery.com>
10157 Richard Sandiford <richard@codesourcery.com>
10158
10159 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
10160 (swap_endianness_p): New extern variable.
10161 (set_big_endian): New inline function.
10162 (maybe_swap_uint32): Likewise.
10163 (maybe_swap_uint32_array): Likewise.
10164 (maybe_swap_uint32_obstack): Likewise.
10165 * locale/programs/locfile.c: Include <stdbool.h>.
10166 (swap_endianness_p): New variable.
10167 (add_locale_uint32): Call maybe_swap_uint32.
10168 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
10169 (write_locale_data): Call maybe_swap_uint32_array.
10170 * locale/programs/ld-collate.c (obstack_int32_grow): Call
10171 maybe_swap_uint32.
10172 (obstack_int32_grow_fast): Likewise.
10173 (output_weightwc): Call maybe_swap_uint32_obstack.
10174 (collate_output): Likewise.
10175 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
10176 (OPT_LITTLE_ENDIAN): Likewise.
10177 (options): Add --little-endian and --big-endian options.
10178 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
10179 * locale/programs/locarchive.c: Include "locfile.h".
10180 (GET): New macro.
10181 (SET): Likewise.
10182 (INC): Likewise.
10183 (create_archive): Use the new macros to access fields of
10184 structures directly mapped from or written to locale archives.
10185 (oldlocrecentcmp): Likewise.
10186 (enlarge_archive): Likewise.
10187 (insert_name): Likewise.
10188 (add_alias): Likewise.
10189 (add_locale): Likewise.
10190 (delete_locales_from_archive): Likewise.
10191 (show_archive_content): Likewise.
10192 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
10193 locale data.
10194
101952013-09-24 Roland McGrath <roland@hack.frob.com>
10196
10197 * manual/freemanuals.texi: Updated from (newly) canonical copy at
10198 http://www.gnu.org/doc/freemanuals.texi.
10199 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
10200
102012013-09-24 Will Newton <will.newton@linaro.org>
10202
10203 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
10204 macro.
10205
102062013-09-23 Joseph Myers <joseph@codesourcery.com>
10207
10208 * locale/hashval.h (compute_hashval): Interpret bytes of key as
10209 unsigned char.
10210
102112013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
10212
10213 * manual/threads.texi (POSIX Threads): Fix a typo.
10214
102152013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10216
10217 [BZ #14547]
10218 * string/tst-strcoll-overflow.c: New test case.
10219 * string/Makefile (xtests): Add tst-strcoll-overflow.
10220 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
10221 cache if string sizes may cause integer overflow.
10222
10223 [BZ #14547]
10224 * string/strcoll_l.c (coll_seq): New members rule, idx,
10225 save_idx and back_us.
10226 (get_next_seq_nocache): New function.
10227 (do_compare_nocache): New function.
10228 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
10229 when malloc fails.
10230
102312013-09-23 Carlos O'Donell <carlos@redhat.com>
10232
10233 [BZ #15754]
10234 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
10235 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
10236 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
10237
10238 [BZ #15754]
10239 * elf/Makefile (tests): Add tst-ptrguard1.
10240 (tests-static): Add tst-ptrguard1-static.
10241 (tst-ptrguard1-ARGS): Define.
10242 (tst-ptrguard1-static-ARGS): Define.
10243 * elf/tst-ptrguard1.c: New file.
10244 * elf/tst-ptrguard1-static.c: New file.
10245 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
10246 * sysdeps/i386/stackguard-macros.h: Likewise.
10247 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
10248 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
10249 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
10250 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
10251 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
10252 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
10253
102542013-09-23 Hector Marco <hecmargi@upv.es>
10255 Ismael Ripoll <iripoll@disca.upv.es>
10256 Carlos O'Donell <carlos@redhat.com>
10257
10258 [BZ #15754]
10259 * sysdeps/generic/stackguard-macros.h: Define
10260 __pointer_chk_guard_local and POINTER_CHK_GUARD.
10261 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
10262 Define __pointer_chk_guard_local.
10263 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
10264 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
10265
102662013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
10267
10268 [BZ #15859]
10269 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
10270
102712013-09-20 Andreas Schwab <schwab@linux-m68k.org>
10272
10273 * include/string.h (__ffs): Declare as hidden.
10274 * string/ffs.c (__ffs): Define as hidden.
10275 * sysdeps/i386/ffs.c (__ffs): Likewise.
10276 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
10277 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
10278 * sysdeps/s390/ffs.c (__ffs): Likewise.
10279 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
10280
102812013-09-20 Alexandre Oliva <aoliva@redhat.com>
10282
10283 * NEWS: Mention malloc probes.
10284
10285 * malloc/arena.c (new_heap): New memory_heap_new probe.
10286 (grow_heap): New memory_heap_more probe.
10287 (shrink_heap): New memory_heap_less probe.
10288 (heap_trim): New memory_heap_free probe.
10289 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
10290 (systrim): New memory_sbrk_less probe.
10291 * manual/probes.texi: Document them.
10292
10293 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
10294 * manual/probes.texi: Document it.
10295
10296 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
10297 (__libc_realloc): Add memory_realloc_retry probe.
10298 (__libc_memalign): Add memory_memalign_retry probe.
10299 (__libc_valloc): Add memory_valloc_retry probe.
10300 (__libc_pvalloc): Add memory_pvalloc_retry probe.
10301 (__libc_calloc): Add memory_calloc_retry probe.
10302 * manual/probes.texi: Document them.
10303
10304 * malloc/arena.c (get_free_list): Add probe
10305 memory_arena_reuse_free_list.
10306 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
10307 and memory_arena_reuse.
10308 (arena_get2) [!PER_THREAD]: Likewise.
10309 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
10310 memory_arena_reuse_realloc.
10311 * manual/probes.texi: Document them.
10312
10313 * malloc/malloc.c (__libc_free): Add
10314 memory_mallopt_free_dyn_thresholds probe.
10315 (__libc_mallopt): Add multiple memory_mallopt probes.
10316 * manual/probes.texi: Document them.
10317
10318 * malloc/malloc.c: Include stap-probe.h.
10319 (__libc_mallopt): Add memory_mallopt probe.
10320 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
10321 * manual/probes.texi: New.
10322 * manual/Makefile (chapters): Add probes.
10323 * manual/threads.texi: Set next node.
10324
103252013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
10326
10327 [BZ #15963, #13985]
10328 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
10329 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
10330 Add `Chinese' to `nan' entry name.
10331
103322013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10333
10334 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
10335 (POLYNOMIAL): Likewise.
10336 (TAYLOR_SINCOS): Likewise.
10337 (TAYLOR_SLOW): Likewise.
10338 (__sin): Use TAYLOR_SINCOS.
10339 (__cos): Likewise.
10340 (slow): Use TAYLOR_SLOW.
10341 (sloww): Likewise.
10342 (bsloww): Likewise.
10343 (csloww): Likewise.
10344
103452013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10346
10347 * stdlib/strtod_l.c: Fix buffer overrun.
10348
103492013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10350
10351 * benchtests/Makefile (bench): Add sincos.
10352 * benchtests/bench-sincos.c: New file.
10353
10354 * math/libm-test.inc (cos_test_data): New test inputs.
10355 (sin_test_data): Likewise.
10356
10357 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
10358 macro.
10359 (__sin): Use it.
10360 (__cos): Likewise.
10361 (slow1): Likewise.
10362 (slow2): Likewise.
10363 (sloww1): Likewise.
10364 (sloww2): Likewise.
10365 (bsloww1): Likewise.
10366 (bsloww2): Likewise.
10367 (cslow2): Likewise.
10368 (csloww1): Likewise.
10369 (csloww2): Likewise.
10370
10371 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
10372 function.
10373 (__sin): Use it.
10374 (__cos): Likewise.
10375
10376 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
10377 gotos.
10378 (__cos): Likewise.
10379
103802013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
10381
10382 * config.h.in (HAVE_MIPS_NAN2008): New macro.
10383 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
10384 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
10385 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
10386 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
10387 * elf/cache.c (print_entry): Handle the new cache flags.
10388
103892013-09-18 Joseph Myers <joseph@codesourcery.com>
10390 Aldy Hernandez <aldyh@redhat.com>
10391
10392 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
10393 Change condition to [_SOFT_FLOAT].
10394 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
10395 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
10396 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
10397 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
10398 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
10399 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
10400 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
10401 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
10402 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
10403 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
10404 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
10405 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
10406 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
10407 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
10408 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
10409 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
10410 declaration.
10411
104122013-09-18 Joseph Myers <joseph@codesourcery.com>
10413
10414 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
10415 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10416 (__longjmp): Use LOAD_GP to load saved GPRs.
10417 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
10418 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10419 (__sigsetjmp): Use SAVE_GP to save GPRs.
10420
10421 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
10422 Do not append -msoft-float.
10423 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
10424
104252013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10426
10427 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
10428
104292013-09-17 Joseph Myers <joseph@codesourcery.com>
10430
10431 [BZ #15966]
10432 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
10433 (_FPU_GETCW): Use initial "__" on variable and field names but not
10434 on macro parameter name.
10435 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
10436 parentheses around reference to macro parameter.
10437
104382013-09-13 Richard Sandiford <richard@codesourcery.com>
10439
10440 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
10441 prototype.
10442 (ctype_startup): Use uint32_t in cast and sizeof for
10443 ctype->charnames.
10444
104452013-09-11 Jia Liu <proljc@gmail.com>
10446
10447 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
10448 __daddr_t_defined.
10449 [__FreeBSD__]: Likewise.
10450
104512013-09-11 Ondřej Bílka <neleai@seznam.cz>
10452
10453 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10454 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
10455 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
10456 (strchr): Remove __strchr_sse42 ifunc selection.
10457 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
10458 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
10459
104602013-09-11 Will Newton <will.newton@linaro.org>
10461
10462 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
10463 parameter to RES. Remove hardcoded 1000 value.
10464 * benchtests/bench-skeleton.c (main): Pass RES parameter
10465 to TIMING_INIT and multiply result by 1000.
10466
104672013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10468
10469 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10470
104712013-09-11 Andreas Schwab <schwab@suse.de>
10472
10473 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
10474 if not defined.
10475 (O_TMPFILE) [__USE_GNU]: Define.
10476 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
10477 Define.
10478
104792013-09-11 Will Newton <will.newton@linaro.org>
10480
10481 [BZ #15857]
10482 * malloc/malloc.c (__libc_memalign): Check the value of bytes
10483 does not overflow.
10484
104852013-09-11 Will Newton <will.newton@linaro.org>
10486
10487 [BZ #15856]
10488 * malloc/malloc.c (__libc_valloc): Check the value of bytes
10489 does not overflow.
10490
104912013-09-11 Will Newton <will.newton@linaro.org>
10492
10493 [BZ #15855]
10494 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
10495 does not overflow.
10496
104972013-09-10 Ondřej Bílka <neleai@seznam.cz>
10498
10499 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
10500 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10501 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10502 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10503 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10504
105052013-09-10 Allan McRae <allan@archlinux.org>
10506
10507 [BZ #15748]
10508 * manual/arith.texi (Parsing of Floats): Clarify
10509 cross-reference.
10510
10511 [BZ #15849]
10512 * manual/install.texi (Running make install): Mention
10513 --enable-pt-chown.
10514 * INSTALL: Regenerated.
10515
105162013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
10517
10518 * csu/init-first.c (_init): Remove the !SHARED condition around
10519 FPU control word initialization.
10520 * elf/dl-support.c (_dl_fpu_control): New variable.
10521 (_dl_aux_init) <AT_FPUCW>: Initialize it.
10522 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
10523 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
10524 * math/test-fpucw-static.c: New file.
10525 * math/test-fpucw-ieee.c: New file.
10526 * math/test-fpucw-ieee-static.c: New file.
10527 * math/Makefile (tests): Add `test-fpucw-ieee' and
10528 `$(tests-static)'.
10529 (tests-static): New variable.
10530 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
10531 dependency to...
10532 [($(build-shared),yes)]
10533 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
10534 ... this.
10535 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
10536 New dependency.
10537
105382013-09-09 Allan McRae <allan@archlinux.org>
10539
10540 [BZ #15939]
10541 * manual/string.texi (Collation Functions): Fix typo in
10542 strcoll example.
10543 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
10544
10545 [BZ #15893]
10546 * stdlib/isomac.c (get_null_defines): Fix memory leak.
10547
10548 [BZ #15892]
10549 * libio/memstream.c (open_memstream): Fix memory leak.
10550 * libio/wmemstream.c (open_wmemstream): Likewise.
10551
10552 [BZ #15895]
10553 * nscd/netgroupcache.c: Fix nesting of ifdefs.
10554
105552013-09-09 Will Newton <will.newton@linaro.org>
10556
10557 * malloc/Makefile: Add tst-realloc to tests.
10558 * malloc/tst-realloc.c: New file.
10559
105602013-09-09 Allan McRae <allan@archlinux.org>
10561
10562 [BZ #15844]
10563 * COPYING: Update from GNU website to fix FSF address.
10564 * COPYING.LIB: Likewise.
10565
105662013-09-06 David S. Miller <davem@davemloft.net>
10567
10568 * po/zh_TW.po: Update Chinese (traditional) translation from
10569 translation project.
10570
105712013-09-06 Richard Sandiford <richard@codesourcery.com>
10572 Joseph Myers <joseph@codesourcery.com>
10573
10574 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
10575 "localeinfo.h".
10576 (obstack_chunk_alloc): New macro.
10577 (obstack_chunk_free): Likewise.
10578 (record_offset): New function.
10579 (init_locale_data): Likewise.
10580 (align_locale_data): Likewise.
10581 (add_locale_empty): Likewise.
10582 (add_locale_raw_data): Likewise.
10583 (add_locale_raw_obstack): Likewise.
10584 (add_locale_string): Likewise.
10585 (add_locale_wstring): Likewise.
10586 (add_locale_uint32): Likewise.
10587 (add_locale_uint32_array): Likewise.
10588 (add_locale_char): Likewise.
10589 (start_locale_structure): Likewise.
10590 (end_locale_structure): Likewise.
10591 (start_locale_prelude): Likewise.
10592 (end_locale_prelude): Likewise.
10593 (write_locale_data): Take locale_file structure rather than an
10594 iovec.
10595 * locale/programs/locfile.h: Include "obstack.h".
10596 (struct locale_file): Change to store locale file contents instead
10597 of header.
10598 (init_locale_data): New prototype.
10599 (align_locale_data): Likewise.
10600 (add_locale_empty): Likewise.
10601 (add_locale_raw_data): Likewise.
10602 (add_locale_raw_obstack): Likewise.
10603 (add_locale_string): Likewise.
10604 (add_locale_wstring): Likewise.
10605 (add_locale_uint32): Likewise.
10606 (add_locale_uint32_array): Likewise.
10607 (add_locale_char): Likewise.
10608 (start_locale_structure): Likewise.
10609 (end_locale_structure): Likewise.
10610 (start_locale_prelude): Likewise.
10611 (end_locale_prelude): Likewise.
10612 (write_locale_data): Update prototype.
10613 * locale/programs/3level.h (struct TABLE): Remove result field.
10614 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
10615 Use new locale_file interface.
10616 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
10617 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
10618 * locale/programs/ld-address.c (address_output): Use new
10619 locale_file interface.
10620 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
10621 NO_ADD_LOCALE.
10622 (collate_finish): Don't call collseq_table_finalize.
10623 (collate_output): Use new locale_file interface.
10624 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
10625 in file.
10626 (NO_FINALIZE): Change to NO_ADD_LOCALE.
10627 (TABLE): Move defines earlier in file.
10628 (ELEMENT): Likewise.
10629 (DEFAULT): Likewise.
10630 (wctrans_table_add): Move macro and inline function earlier in
10631 file.
10632 (struct wctype_table): Move type earlier in file.
10633 (add_locale_wctype_table): New static prototype.
10634 (struct locale_ctype_t): Use logical types instead of struct iovec
10635 pointers for members.
10636 (ctype_output): Use new locale_file interface.
10637 (wctype_table_finalize): Change to add_locale_wctype_table. Use
10638 new locale_file interface.
10639 (allocate_arrays): Update for use of new locale_file interface.
10640 * locale/programs/ld-identification.c (identification_output): Use
10641 new locale_file interface.
10642 * locale/programs/ld-measurement.c (measurement_output): Likewise.
10643 * locale/programs/ld-messages.c (messages_output): Likewise.
10644 * locale/programs/ld-monetary.c (monetary_output): Likewise.
10645 * locale/programs/ld-name.c (name_output): Likewise.
10646 * locale/programs/ld-numeric.c (numeric_output): Likewise.
10647 * locale/programs/ld-paper.c (paper_output): Likewise.
10648 * locale/programs/ld-telephone.c (telephone_output): Likewise.
10649 * locale/programs/ld-time.c (time_output): Likewise.
10650
106512013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10652
10653 * benchtests/Makefile: Add memrchr benchmark.
10654 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
10655 benchmark as memrchr.
10656 * benchtests/bench-memrchr-ifunc.c: New file.
10657 * benchtests/bench-memrchr.c: New file.
10658
106592013-09-06 Will Newton <will.newton@linaro.org>
10660
10661 * benchtests/Makefile (string-bench): Add memcpy.
10662
106632013-09-05 Carlos O'Donell <carlos@redhat.com>
10664 Cong Wang <amwang@redhat.com>
10665
10666 [BZ #15850]
10667 * sysdeps/unix/sysv/linux/bits/in.h
10668 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
10669 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
10670 before __USE_KERNEL_IPV6_DEFS uses.
10671 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
10672 IPPROTO_BEETPH.
10673 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
10674 sockaddr_in6, or ipv6_mreq.
10675
106762013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10677
10678 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
10679 memory access for final bytes in some large inputs.
10680 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
10681
106822013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10683
10684 * string/test-memrchr.c: New file.
10685 * string/test-memrchr-ifunc.c: New file.
10686 * string/Makefile: Add new memrchr testcase.
10687
106882013-09-05 Mike Frysinger <vapier@gentoo.org>
10689
10690 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
10691 fanotify_init returns EPERM.
10692
106932013-09-04 Joseph Myers <joseph@codesourcery.com>
10694
10695 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
10696 errors.
10697 (top level): Treat second token from macro or constant entries for
10698 allowed headers as allowed.
10699 * include/complex.h: Condition internal declarations on
10700 [!_ISOMAC].
10701 * include/fenv.h: Condition include of <stdbool.h> and internal
10702 declarations on [!_ISOMAC].
10703
107042013-09-04 Chris Leonard <cjl@sugarlabs,.org>
10705
10706 [BZ #15923]
10707 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
10708
107092013-09-04 Joseph Myers <joseph@codesourcery.com>
10710
10711 * configure.in (--enable-versioning): Remove configure option.
10712 (libc_cv_asm_symver_directive): Remove configure test.
10713 (libc_cv_ld_version_script_option): Likewise.
10714 (VERSIONING): Remove variable and AC_SUBST.
10715 (DO_VERSIONING): Remove AC_DEFINE.
10716 * configure: Regenerated.
10717 * config.h.in (DO_VERSIONING): Remove macro.
10718 * Makerules [$(versioning) = yes]: Change conditionals to
10719 [$(build-shared) = yes].
10720 * config.make.in (versioning): Remove variable.
10721 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
10722 [$(build-shared) = yes].
10723 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
10724 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
10725 * elf/Makefile [$(versioning) = yes]: Change conditionals to
10726 [$(build-shared) = yes].
10727 * extra-lib.mk [$(versioning) = yes]: Likewise.
10728 * hurd/Makefile [$(versioning) = yes]: Likewise.
10729 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
10730 [SHARED].
10731 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
10732 [SHARED].
10733 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10734 [SHARED && !NO_HIDDEN].
10735 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
10736 [SHARED].
10737 [SHARED && DO_VERSIONING]: Likewise..
10738 * libio/Makefile [$(versioning) = yes]: Change conditionals to
10739 [$(build-shared) = yes].
10740 * manual/install.texi (--disable-versioning): Remove
10741 documentation.
10742 * INSTALL: Regenerated.
10743 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
10744 to [SHARED].
10745 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
10746 [$(build-shared) = yes].
10747 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
10748 * sysdeps/i386/i686/multiarch/strstr-c.c
10749 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10750 [SHARED && !NO_HIDDEN].
10751 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
10752 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
10753 * sysdeps/powerpc/powerpc32/dl-machine.c
10754 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
10755 * sysdeps/powerpc/powerpc32/sysdep.h
10756 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
10757 to [SHARED && PIC && !NO_HIDDEN].
10758 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
10759 conditional to [SHARED].
10760
107612013-09-04 Will Newton <will.newton@linaro.org>
10762
10763 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
10764 * benchtests/bench-string.h: Include bench-timing.h instead
10765 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
10766 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
10767 call to HP_TIMING_DIFF_INIT.
10768 * benchtests/bench-memccpy.c: Use bench-timing.h macros
10769 instead of hp-timing.h macros.
10770 * benchtests/bench-memchr.c: Likewise.
10771 * benchtests/bench-memcmp.c: Likewise.
10772 * benchtests/bench-memcpy.c: Likewise.
10773 * benchtests/bench-memmem.c: Likewise.
10774 * benchtests/bench-memmove.c: Likewise.
10775 * benchtests/bench-memset.c: Likewise.
10776 * benchtests/bench-rawmemchr.c: Likewise.
10777 * benchtests/bench-strcasecmp.c: Likewise.
10778 * benchtests/bench-strcasestr.c: Likewise.
10779 * benchtests/bench-strcat.c: Likewise.
10780 * benchtests/bench-strchr.c: Likewise.
10781 * benchtests/bench-strcmp.c: Likewise.
10782 * benchtests/bench-strcpy.c: Likewise.
10783 * benchtests/bench-strcpy_chk.c: Likewise.
10784 * benchtests/bench-strlen.c: Likewise.
10785 * benchtests/bench-strncasecmp.c: Likewise.
10786 * benchtests/bench-strncat.c: Likewise.
10787 * benchtests/bench-strncmp.c: Likewise.
10788 * benchtests/bench-strncpy.c: Likewise.
10789 * benchtests/bench-strnlen.c: Likewise.
10790 * benchtests/bench-strpbrk.c: Likewise.
10791 * benchtests/bench-strrchr.c: Likewise.
10792 * benchtests/bench-strspn.c: Likewise.
10793 * benchtests/bench-strstr.c: Likewise.
10794
107952013-09-04 Will Newton <will.newton@linaro.org>
10796
10797 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
10798
107992013-09-03 Joseph Myers <joseph@codesourcery.com>
10800
10801 [BZ #15427]
10802 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
10803 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
10804 * math/libm-test.inc (lgamma_test_data): Add more tests.
10805 * sysdeps/i386/fpu/libm-test-ulps: Update.
10806 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10807
108082013-09-03 Ondřej Bílka <neleai@seznam.cz>
10809
10810 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
10811 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10812 Add ifunc.
10813 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10814 Add strcmp-sse2-unaligned
10815 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
10816
108172013-09-02 Mike Frysinger <vapier@gentoo.org>
10818
10819 * Versions.def (libc): Add GLIBC_2.19.
10820
108212013-09-02 Mike Frysinger <vapier@gentoo.org>
10822
10823 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
10824 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
10825
108262013-09-02 Joseph Myers <joseph@codesourcery.com>
10827
10828 [BZ #14155]
10829 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
10830 intermediate calculations in recurrence.
10831 (__ieee754_ynf): Likewise.
10832 * math/libm-test.inc (jn_test_data): Do not allow spurious
10833 underflow exception. Add more tests.
10834 (yn_test_data): Add more tests.
10835 * sysdeps/i386/fpu/libm-test-ulps: Update.
10836 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10837
108382013-09-02 Ondřej Bílka <neleai@seznam.cz>
10839
10840 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
10841
108422013-08-30 Ondřej Bílka <neleai@seznam.cz>
10843
10844 * csu/init-first.c: Fix then/than typos.
10845 * locale/programs/ld-collate.c: Likewise.
10846 * locale/programs/linereader.h: Likewise.
10847 * manual/charset.texi: Likewise.
10848 * manual/filesys.texi: Likewise.
10849 * manual/stdio.texi: Likewise.
10850 * manual/string.texi: Likewise.
10851 * stdlib/fmtmsg.c: Likewise.
10852 * sysdeps/i386/stpncpy.S: Likewise.
10853 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10854 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
10855 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10856 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
10857
108582013-08-30 Ondřej Bílka <neleai@seznam.cz>
10859
10860 * elf/dl-open.c: Fix typos.
10861 * iconvdata/gbbig5.c: Likewise.
10862 * iconvdata/iso-2022-jp.c: Likewise.
10863 * iconv/gconv_int.h: Likewise.
10864 * iconv/loop.c: Likewise.
10865 * nis/rpcsvc/nis.h: Likewise.
10866 * resolv/ns_name.c: Likewise.
10867 * stdio-common/vfscanf.c: Likewise.
10868 * streams/stropts.h: Likewise.
10869 * sunrpc/rpc_thread.c: Likewise.
10870 * sysdeps/i386/strpbrk.S: Likewise.
10871 * sysdeps/ieee754/k_standard.c: Likewise.
10872 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10873 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10874 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
10875 * sysdeps/mach/hurd/profil.c: Likewise.
10876 * sysdeps/s390/dl-procinfo.h: Likewise.
10877 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
10878 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
10879 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
10880 * sysdeps/x86_64/dl-trampoline.S: Likewise.
10881 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
10882
108832013-08-30 Ondřej Bílka <neleai@seznam.cz>
10884
10885 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
10886 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
10887
108882013-08-29 Ondřej Bílka <neleai@seznam.cz>
10889
10890 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
10891 aix specific files.
10892 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
10893 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
10894 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
10895 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
10896 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
10897 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
10898 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
10899 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
10900
109012013-08-29 Thomas Schwinge <thomas@codesourcery.com>
10902 Roland McGrath <roland@hack.frob.com>
10903
10904 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
10905 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
10906
109072013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
10908
10909 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
10910 __executable_start symbol instead of _start.
10911
109122013-08-29 Thomas Schwinge <thomas@codesourcery.com>
10913
10914 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
10915 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
10916 Move macros to...
10917 * sysdeps/gnu/ldsodefs.h: ... this new file.
10918
10919 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
10920 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
10921 instead of ELFOSABI_LINUX.
10922
10923 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
10924 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
10925 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
10926 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
10927 Likewise.
10928 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
10929 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
10930 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
10931 Likewise.
10932 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
10933 (ibm_extended_long_double): Add ieee_nan member.
10934 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
10935 (do_test): New function.
10936
10937 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
10938 TEST_TRUNC.
10939 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
10940 functions, renamed from truncdfsf_test, trunctfsf_test,
10941 trunctfdf_test.
10942 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
10943 functions.
10944 (do_test): Run all these.
10945
109462013-08-29 Ondřej Bílka <neleai@seznam.cz>
10947
10948 * argp/argp-help.c: Fix typos.
10949 * argp/argp-parse.c: Likewise.
10950 * debug/backtracesyms.c: Likewise.
10951 * elf/elf.h: Likewise.
10952 * malloc/malloc.c: Likewise.
10953 * nis/nis_print.c: Likewise.
10954 * resolv/res_comp.c: Likewise.
10955 * stdlib/stdlib.h: Likewise.
10956 * sunrpc/clnt_tcp.c: Likewise.
10957 * sunrpc/clnt_udp.c: Likewise.
10958 * sunrpc/clnt_unix.c: Likewise.
10959 * sysdeps/unix/bsd/ptsname.c: Likewise.
10960 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
10961 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
10962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
10963 Likewise.
10964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
10965 Likewise.
10966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
10967 Likewise.
10968 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
10969
109702013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10971
10972 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
10973 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10974
109752013-08-27 Mike Frysinger <vapier@gentoo.org>
10976
10977 [BZ #15897]
10978 * dlfcn/Makefile (tests): Add bug-dl-leaf.
10979 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
10980 ($(objpfx)bug-dl-leaf): New rule.
10981 ($(objpfx)bug-dl-leaf.so): Likewise.
10982 ($(objpfx)bug-dl-leaf.out): Likewise.
10983 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
10984 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
10985 * dlfcn/bug-dl-leaf.c: New test.
10986 * dlfcn/bug-dl-leaf-lib.c: Likewise.
10987 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
10988 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
10989 (dlclose): Likewise.
10990 (dlmopen): Likewise.
10991
109922013-08-27 Roland McGrath <roland@hack.frob.com>
10993
10994 * include/netdb.h [!_ISOMAC]:
10995 Don't include <tls.h>.
10996 (h_errno, __libc_h_errno): Move declaration and macros out of
10997 [_LIBC_REENTRANT].
10998
10999 * include/resolv.h [_RESOLV_H_]:
11000 Don't include <tls.h>.
11001 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
11002 * resolv/res_libc.c: Don't include <tls.h>.
11003 (_res): Use __attribute__ ((nocommon)) in place of
11004 __attribute__ ((section (".bss"))).
11005
11006 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
11007 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
11008
11009 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
11010
11011 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
11012 only under [SIOCGIFCONF && SIOCGIFNETMASK].
11013
11014 * resolv/res_mkquery.c: Include <sys/time.h>.
11015
11016 * inet/ifreq.c: Moved to ...
11017 * sysdeps/unix/ifreq.c: ... here.
11018 * inet/ifreq.c: New file, true stub version.
11019
11020 * socket/sa_len.c: New file.
11021 * socket/Makefile (aux): Add it.
11022 * sysdeps/unix/sysv/linux/Makefile
11023 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
11024 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
11025 and #include <socket/sa_len.c>.
11026 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
11027 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
11028
11029 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
11030 * bits/socket.h: ... here.
11031
11032 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
11033 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
11034 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
11035
110362013-08-27 Andreas Schwab <schwab@suse.de>
11037
11038 [BZ #15736]
11039 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
11040 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
11041 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
11042 * string/test-strcasecmp.c (test_main): Run tests in several
11043 locales.
11044 * string/test-strncasecmp.c (test_main): Likewise.
11045
11046 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
11047 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
11048 to __strcasecmp_nonascii and __strncasecmp_nonascii.
11049 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
11050 (__strncasecmp_ssse3) [PIC]: Likewise.
11051
110522013-08-26 Roland McGrath <roland@hack.frob.com>
11053
11054 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
11055
11056 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
11057 instead of explicitly declaring xdecrypt.
11058 * nis/nss_nis/nis-publickey.c: Likewise.
11059
110602013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11061
11062 [BZ #15890]
11063 * nscd/aicache.c: Include res_hconf.h.
11064 (addhstaiX): Initialize res_hconf.
11065
110662013-08-26 Andreas Schwab <schwab@suse.de>
11067
11068 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
11069 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
11070
110712013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11072
11073 * nscd/aicache.c (addhstaiX): Fix indentation.
11074
110752013-08-25 Mike Frysinger <vapier@gentoo.org>
11076
11077 * configure.ac: Quote $build_pt_chown test.
11078 * configure: Regenerated.
11079
110802013-08-23 Joseph Myers <joseph@codesourcery.com>
11081
11082 [BZ #15532]
11083 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
11084 * math/s_cexpf.c (__cexpf): Likewise.
11085 * math/s_cexpl.c (__cexpl): Likewise.
11086 * math/libm-test.inc (cexp_test_data): Correct expected return
11087 value for NaN + i0. Add another test.
11088
110892013-08-22 David S. Miller <davem@davemloft.net>
11090
11091 * po/ca.po: Update Catalan translation from translation project.
11092 * po/uk.po: Add Ukrainian translations from translation project.
11093
110942013-08-21 Joseph Myers <joseph@codesourcery.com>
11095
11096 [BZ #15797]
11097 * math/s_fdim.c (__fdim): Check for infinite arguments if result
11098 is infinite, not alongside NaN test.
11099 * math/s_fdimf.c (__fdimf): Likewise.
11100 * math/s_fdiml.c (__fdiml): Likewise.
11101 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
11102 errno is unchanged.
11103
111042013-08-21 Ondřej Bílka <neleai@seznam.cz>
11105
11106 * argp/argp-help.c: Fix typos.
11107 * crypt/speeds.c: Likewise.
11108 * csu/check_fds.c: Likewise.
11109 * elf/dl-load.c: Likewise.
11110 * elf/dl-open.c: Likewise.
11111 * elf/reldep3.c: Likewise.
11112 * elf/reldep.c: Likewise.
11113 * elf/sprof.c: Likewise.
11114 * iconv/iconv_charmap.c: Likewise.
11115 * iconv/skeleton.c: Likewise.
11116 * iconv/strtab.c: Likewise.
11117 * io/lockf64.c: Likewise.
11118 * libio/libioP.h: Likewise.
11119 * resolv/gai_notify.c: Likewise.
11120 * resolv/ns_name.c: Likewise.
11121 * resolv/ns_samedomain.c: Likewise.
11122 * resolv/res_send.c: Likewise.
11123 * stdlib/random.c: Likewise.
11124 * sunrpc/rpc/xdr.h: Likewise.
11125 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
11126 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11127 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11128 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11129 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11130 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
11131 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
11132 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11133 * sysdeps/mach/hurd/check_fds.c: Likewise.
11134 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
11135 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
11136 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11137 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
11138 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
11139 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
11140 * sysdeps/pthread/aio_notify.c: Likewise.
11141 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
11142 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
11143 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
11144 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
11145 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
11146
111472013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11148
11149 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
11150 version if bit_Slow_SSE4_2 is set.
11151 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11152 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11153
111542013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11155
11156 [BZ #15867]
11157 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
11158 trampoline stack frame information.
11159 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
11160 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
11161 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
11162 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
11163 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
11164 * sysdeps/unix/sysv/linux/powerpc/init-first.c
11165 (_libc_vdso_platform_setup): Initialize the signal trampolines.
11166 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
11167 sa_flags value.
11168 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
11169 interrupting a syscall and set with option SA_SIGINFO.
11170
111712013-08-20 Joseph Myers <joseph@codesourcery.com>
11172
11173 [BZ #15531]
11174 * math/s_cproj.c (__cproj): Only return an infinity if one part of
11175 argument is infinite.
11176 * math/s_cprojf.c (__cprojf): Likewise.
11177 * math/s_cprojl.c (__cprojl): Likewise.
11178 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
11179 * math/libm-test.inc (cproj_test_data): Add more tests.
11180
11181 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
11182
11183 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
11184 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
11185 size. Use __ffs to determine corresponding shift.
11186
111872013-08-20 Joseph Myers <joseph@codesourcery.com>
11188 Roland McGrath <roland@hack.frob.com>
11189
11190 * Makefile (INSTALL): Remove trailing blank lines from output of
11191 makeinfo.
11192
111932013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11194
11195 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
11196 Align 32 bit compat elf_greg to 8 bytes.
11197
111982013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
11199
11200 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
11201
112022013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11203
11204 * string/strcoll_l.c (coll_seq): New structure.
11205 (get_next_seq_cached): New function.
11206 (get_next_seq): New function.
11207 (do_compare): New function.
11208 (STRCOLL): Use GNU style definition. Simplify implementation
11209 by using get_next_seq, get_next_seq_cached and do_compare.
11210
112112013-08-16 Florian Weimer <fweimer@redhat.com>
11212
11213 [BZ #14699]
11214 CVE-2013-4237
11215 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
11216 member.
11217 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
11218 member.
11219 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
11220 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
11221 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
11222 conditional.
11223 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
11224 GETDENTS_64BIT_ALIGNED.
11225 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
11226 * manual/filesys.texi (Reading/Closing Directory): Document
11227 ENAMETOOLONG return value of readdir_r. Recommend readdir more
11228 strongly.
11229 * manual/conf.texi (Limits for Files): Add portability note to
11230 NAME_MAX, PATH_MAX.
11231 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
11232
112332013-08-13 Andreas Schwab <schwab@suse.de>
11234
11235 [BZ #15749]
11236 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
11237 of fabs.
11238 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
11239 LDBL_MAX_EXP >= 16384]: Add tests for it.
11240
112412013-08-12 David S. Miller <davem@davemloft.net>
11242
11243 * version.h (RELEASE): Set to "development".
11244 (VERSION): Set to "2.18.90".
11245 * NEWS: Add 2.19 section.
11246
112472013-08-03 David S. Miller <davem@davemloft.net>
11248
11249 * po/ko.po: Update Korean translation from translation project.
11250
112512013-08-01 David S. Miller <davem@davemloft.net>
11252
11253 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
11254 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
11255 Bilka.
11256
112572013-07-30 David S. Miller <davem@davemloft.net>
11258
11259 * po/fr.po: Update French translation from translation project.
11260
112612013-07-28 David S. Miller <davem@davemloft.net>
11262
11263 * po/cs.po: Update Czech translation from translation project.
11264
11265 * po/sv.po: Update Swedish translation from translation project.
11266
112672013-07-27 David S. Miller <davem@davemloft.net>
11268
11269 * po/eo.po: Update Esperanto translation from translation project.
11270
11271 * po/vi.po: Update Vietnamese translation from translation project.
11272
11273 * po/de.po: Update German translation from translation project.
11274
112752013-07-26 David S. Miller <davem@davemloft.net>
11276
11277 * po/bg.po: Update Bulgarian translation from translation project.
11278
11279 * po/nl.po: Update Dutch translation from translation project.
11280 * po/pl.po: Update Polish translation from translation project.
11281 * po/ru.po: Update Russian translation from translation project.
11282
112832013-07-24 David S. Miller <davem@davemloft.net>
11284
11285 * po/libc.pot: Update.
11286
112872013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11288
11289 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
11290 variable page size.
11291 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
11292 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
11293 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
11294
112952013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11296
11297 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
11298
112992013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11300 Andreas Schwab <schwab@suse.de>
11301 Roland McGrath <roland@hack.frob.com>
11302 Joseph Myers <joseph@codesourcery.com>
11303 Carlos O'Donell <carlos@redhat.com>
11304
11305 [BZ #15755]
11306 * config.h.in: Define HAVE_PT_CHOWN.
11307 * config.make.in (build-pt-chown): New variable.
11308 * configure.in (--enable-pt_chown): New configure option.
11309 * configure: Regenerate.
11310 * login/Makefile: Include Makeconfig. Build pt_chown only if
11311 build-pt-chown is enabled.
11312 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
11313 pt_chown to fix pty ownership.
11314 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
11315 CLOSE_ALL_FDS.
11316 * manual/install.texi (Configuring and compiling): Mention
11317 --enable-pt_chown. Add @findex for grantpt.
11318 * INSTALL: Regenerate.
11319
113202013-07-20 David S. Miller <davem@davemloft.net>
11321
11322 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
11323 difference between 32-bit and 64-bit.
11324
113252013-07-15 Carlos O'Donell <carlos@redhat.com>
11326
11327 [BZ #15711]
11328 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
11329 Avoid system header dependency with -ffreestanding.
11330 ($(objpfx)bits/syscall%d): Likewise.
11331
113322013-07-13 David S. Miller <davem@davemloft.net>
11333
11334 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
11335 underflows from atanl/atan2l due to bug 15319.
11336 (casinh_test_data): Likewise.
11337
113382013-07-07 David S. Miller <davem@davemloft.net>
11339
11340 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
11341
113422013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
11343
11344 * sysdeps/i386/fpu/libm-test-ulps: Update.
11345 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11346
113472013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11348
11349 * configure.in (--enable-lock-elision): Fix message text.
11350 * INSTALL: Regenerate.
11351 * configure: Regenerate.
11352
113532013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11354
11355 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11356
113572013-07-03 Andreas Jaeger <aj@suse.de>
11358
11359 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
11360 define.
11361 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
11362 (ptrace_peeksiginfo_args): Add.
11363 (__ptrace_peeksiginfo_flags): Add.
11364 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11365 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11366 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11367
113682013-07-03 Allan McRae <allan@archlinux.org>
11369
11370 * sysdeps/i386/fpu/libm-test-ulps: Update.
11371
113722013-07-02 David S. Miller <davem@davemloft.net>
11373
11374 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11375
113762013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
11377
11378 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11379
113802013-07-02 Joseph Myers <joseph@codesourcery.com>
11381
11382 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11383 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11384
113852013-07-02 Andi Kleen <ak@linux.intel.com>
11386
11387 * config.h.in (ENABLE_LOCK_ELISION): Add.
11388 * configure.in (--enable-lock-elision): Add option.
11389 * manual/install.texi: Document --enable lock elision.
11390 * configure: Regenerate
11391 * INSTALL: Regenerate.
11392
113932013-07-02 H.J. Lu <hongjiu.lu@intel.com>
11394
11395 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
11396 SSE4.2 strcasecmp for libc.a.
11397 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
11398
113992013-07-02 Joseph Myers <joseph@codesourcery.com>
11400
11401 [BZ #13304]
11402 * soft-fp/op-common.h (_FP_FMA): New macro.
11403 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
11404 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
11405 (_FP_MUL_MEAT_1_imm): ... here.
11406 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
11407 (_FP_MUL_MEAT_1_wide): ... here.
11408 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
11409 (_FP_MUL_MEAT_1_hard): ... here.
11410 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
11411 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
11412 (_FP_MUL_MEAT_2_wide): ... here.
11413 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
11414 (_FP_MUL_MEAT_2_wide_3mul): ... here.
11415 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
11416 (_FP_MUL_MEAT_2_gmp): ... here.
11417 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
11418 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
11419 (_FP_MUL_MEAT_4_wide): ... here.
11420 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
11421 (_FP_MUL_MEAT_4_gmp): ... here.
11422 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
11423 (_FP_WFRACBITS_DW_S): Likewise.
11424 (_FP_WFRACXBITS_DW_S): Likewise.
11425 (_FP_HIGHBIT_DW_S): Likewise.
11426 (FP_FMA_S): Likewise.
11427 (_FP_FRAC_HIGH_DW_S): Likewise.
11428 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
11429 (_FP_WFRACBITS_DW_D): Likewise.
11430 (_FP_WFRACXBITS_DW_D): Likewise.
11431 (_FP_HIGHBIT_DW_D): Likewise.
11432 (FP_FMA_D): Likewise.
11433 (_FP_FRAC_HIGH_DW_D): Likewise.
11434 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
11435 (_FP_WFRACBITS_DW_E): Likewise.
11436 (_FP_WFRACXBITS_DW_E): Likewise.
11437 (_FP_HIGHBIT_DW_E): Likewise.
11438 (FP_FMA_E): Likewise.
11439 (_FP_FRAC_HIGH_DW_E): Likewise.
11440 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
11441 (_FP_WFRACBITS_DW_Q): Likewise.
11442 (_FP_WFRACXBITS_DW_Q): Likewise.
11443 (_FP_HIGHBIT_DW_Q): Likewise.
11444 (FP_FMA_Q): Likewise.
11445 (_FP_FRAC_HIGH_DW_Q): Likewise.
11446 * soft-fp/fmasf4.c: New file.
11447 * soft-fp/fmadf4.c: Likewise.
11448 * soft-fp/fmatf4.c: Likewise.
11449
114502013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11451
11452 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
11453 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
11454 Silvermont.
11455 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
11456 macro.
11457 (index_Slow_SSE4_2): Likewise.
11458 (index_Prefer_PMINUB_for_stringop): Likewise.
11459 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
11460 bit_Slow_SSE4_2 is set.
11461 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11462 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11463
114642013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11465
11466 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
11467 rtld_global._dl_hwcap2.
11468 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
11469 POWER8.
11470 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
11471 POWER8 feature descriptions defined in _dl_hwcap2.
11472 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
11473 string handling for POWER8 feature bits.
11474 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
11475 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
11476 _dl_powerpc_cap_flags.
11477 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
11478 * sysdeps/powerpc/rtld-global-offsets.sym
11479 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
11480 _dl_hwcap2 in the rtld_global_ro structure.
11481
114822013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11483
11484 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
11485 hardware capabilities in support of AT_HWCAP2.
11486 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
11487 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
11488 GLRO(dl_hwcap2).
11489 (_dl_show_auxv): Add support for calling _dl_procinfo to display
11490 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
11491 explicitly the unknown a_type display mechanism is used.
11492 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
11493 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
11494 struct member.
11495 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
11496 to macro prototype for AT_HWCAP2 support.
11497 * sysdeps/i386/dl-procinfo.h: Likewise.
11498 * sysdeps/s390/dl-procinfo.h: Likewise.
11499 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
11500 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
11501 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
11502 return -1 for unknown a_type display fallback.
11503 * sysdeps/sparc/dl-procinfo.h: Likewise.
11504 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
11505 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
11506
115072013-06-28 Joseph Myers <joseph@codesourcery.com>
11508
11509 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
11510 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
11511
115122013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
11513
11514 [BZ #12492]
11515 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
11516 mprotect making __stack_prot writable.
11517
115182013-06-28 Nathan Froyd <froydnj@codesourcery.com>
11519 Joseph Myers <joseph@codesourcery.com>
11520
11521 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
11522 as being properly aligned.
11523
115242013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
11525
11526 * dlfcn/modstatic5.c: New file.
11527 * dlfcn/tststatic5.c: New file.
11528 * dlfcn/Makefile (tests): Add tststatic5.
11529 (tests-static): Likewise.
11530 (modules-names): Add modstatic5.
11531 (tststatic5-ENV): New variable.
11532 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
11533
11534 [BZ #15022]
11535 * elf/dl-support.c (_dl_main_map): New variable.
11536 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
11537 (_dl_nns, _dl_load_adds): Set to 1.
11538 (_dl_initial_searchlist): Refer to _dl_main_map.
11539 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
11540 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
11541 call to _dl_get_origin.
11542 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
11543 around call_map.
11544 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
11545 * dlfcn/modstatic3.c: New file.
11546 * dlfcn/tststatic3.c: New file.
11547 * dlfcn/tststatic4.c: New file.
11548 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
11549 (tests-static): Likewise.
11550 (modules-names): Add modstatic3.
11551 (tststatic3-ENV, tststatic4-ENV): New variables.
11552 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
11553 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
11554
115552013-06-26 Joseph Myers <joseph@codesourcery.com>
11556
11557 * configure.in (CC): Require GCC version 4.4 or later.
11558 * configure: Regenerated.
11559 * manual/install.texi (Tools for Compilation): Update GCC version
11560 requirement.
11561 * INSTALL: Regenerated.
11562
115632013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11564
11565 [BZ #15674]
11566 * string/test-memcmp.c (check2): New.
11567 (main): Call check2.
11568
11569 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
11570
115712013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
11572
11573 [BZ #15022]
11574 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
11575 over to...
11576 (dl_open_worker) [!SHARED]: ... here.
11577
115782013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11579
11580 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
11581
115822013-06-25 Richard Henderson <rth@redhat.com>
11583
11584 * locale/programs/locarchive.c: Include <libc-internal.h>
11585
115862013-06-25 Joseph Myers <joseph@codesourcery.com>
11587
11588 * manual/texinfo.tex: Update to version 2013-06-21.17, with
11589 trailing whitespace removed.
11590
115912013-06-24 Mike Frysinger <vapier@gentoo.org>
11592
11593 [BZ #10283]
11594 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
11595 * locale/programs/locarchive.c: Include libc-mmap.h.
11596 (prepare_address_space): Take two new outputs (the mmap base and len).
11597 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
11598 values.
11599 (create_archive): Declare new mmap base and len values for
11600 prepare_address_space, and store the result in ah.
11601 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
11602 (enlarge_archive): If ah->mmap_base is not NULL, use that and
11603 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11604 Declare new mmap base and len values for
11605 prepare_address_space, and store the result in new_ah.
11606 (open_archive): Declare new mmap base and len values for
11607 prepare_address_space, and store the result in ah.
11608 (close_archive): If ah->mmap_base is not NULL, use that and
11609 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11610 * sysdeps/generic/libc-mmap.h: New file.
11611
116122013-06-24 Mike Frysinger <vapier@gentoo.org>
11613
11614 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
11615 (ALIGN_UP): Likewise.
11616 (PTR_ALIGN_DOWN): Likewise.
11617 (PTR_ALIGN_UP): Likewise.
11618
116192013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11620
11621 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
11622 entry mapped to PPC_PLATFORM_POWER8.
11623 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
11624 POWER8.
11625 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
11626 (_dl_string_platform): Add case for exporting platform position for
11627 POWER8.
11628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
11629 search path to sysdeps/powerpc/powerpc32/power8 directory.
11630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
11631 search path to sysdeps/powerpc/powerpc64/power8 directory.
11632 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
11633 power7 directories.
11634 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
11635 power7 directories.
11636
116372013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11638
11639 * INSTALL: Regenerate.
11640
11641 * nscd/connections.c (nscd_init): Fix comment.
11642
116432013-06-22 Joseph Myers <joseph@codesourcery.com>
11644
11645 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
11646
11647 [BZ #15667]
11648 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
11649 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
11650
116512013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
11652
11653 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
11654 DL_DST_REQ_STATIC.
11655 (DL_DST_REQ_STATIC): Remove macro.
11656
116572013-06-21 Joseph Myers <joseph@codesourcery.com>
11658
11659 [BZ #7006]
11660 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
11661 with a shift of 0 bits.
11662
116632013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
11664
11665 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
11666 $(tststatic-ENV).
11667
116682013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11669
11670 [BZ #15655]
11671 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
11672
116732013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11674
11675 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
11676 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
11677 accepts -fno-tree-loop-distribute-patterns.
11678 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
11679 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
11680 recursive call.
11681 * string/memset.c (memset): Likewise.
11682 * string/test-memmove.c (simple_memmove): Disable loop transformation
11683 to library calls.
11684 * string/test-memset.c (simple_memset): Likewise.
11685 * benchtests/bench-memmove.c (simple_memmove): Likewise.
11686 * benchtests/bench-memset.c (simple_memset): Likewise.
11687 * configure: Regenerated.
11688
116892013-06-20 Joseph Myers <joseph@codesourcery.com>
11690
11691 * math/test-misc.c (main): Ignore fesetround failure when failures
11692 of subsequent rounding tests would be ignored.
11693
11694 [BZ #15654]
11695 * math/fedisblxcpt.c (fedisableexcept): Return 0.
11696 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
11697 * math/fegetenv.c (__fegetenv): Return 0.
11698 * math/fegetexcept.c (fegetexcept): Return 0.
11699 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
11700 FE_TONEAREST.
11701 * math/feholdexcpt.c (feholdexcept): Return 0.
11702 * math/fesetenv.c (__fesetenv): Return 0.
11703 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
11704 argument FE_TONEAREST.
11705 * math/feupdateenv.c (__feupdateenv): Return 0.
11706 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
11707
117082013-06-18 Roland McGrath <roland@hack.frob.com>
11709
11710 * elf/rtld-Rules (rtld-compile-command.S): New variable.
11711 (rtld-compile-command.s, rtld-compile-command.c): New variables.
11712 ($(objpfx)rtld-%.os rules): Use them.
11713
117142013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11715
11716 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
11717 fields.
11718
117192013-06-17 Roland McGrath <roland@hack.frob.com>
11720
11721 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
11722 length of target pattern, then descending length of dependency pattern.
11723 * configure.in (AWK): Require gawk 3.1.2 or newer.
11724 * manual/install.texi (Tools for Compilation): Say that we do.
11725 * configure: Regenerated.
11726
11727 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
11728 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
11729 * scripts/sysd-rules.awk: ... this new script.
11730 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
11731 than a glob-style pattern.
11732
117332013-06-17 Joseph Myers <joseph@codesourcery.com>
11734
11735 * math/test-misc.c (main): Do not treat incorrectly rounded
11736 conversions as failure unless ROUNDING_TESTS passes.
11737
117382013-06-15 Joseph Myers <joseph@codesourcery.com>
11739
11740 [BZ #15631]
11741 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
11742 restore exception state around main square root computation, then
11743 check for inexactness explicitly.
11744
11745 * math/libm-test.inc (fma_test_data): Add another test.
11746
117472013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11748
11749 * manual/threads.texi (Non-POSIX Extensions): New document
11750 node. Document pthread_getattr_default_np and
11751 pthread_setattr_default_np.
11752
11753 * Versions.def (libpthread): Add GLIBC_2.18.
11754 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
11755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11756 Likewise.
11757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11758 Likewise.
11759 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11760 Likewise.
11761 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11762 Likewise.
11763 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
11764 Likewise.
11765 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11766 Likewise.
11767 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11768 Likewise.
11769 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
11770 Likewise.
11771 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
11772 Likewise.
11773
117742013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11775
11776 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11777 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
11778
117792013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11780 H.J. Lu <hjl.tools@gmail.com>
11781
11782 [BZ #15627]
11783 * sysdeps/x86_64/rtld-memset.c: Remove file.
11784 * sysdeps/x86_64/rtld-memset.S: New file.
11785
117862013-06-14 Joseph Myers <joseph@codesourcery.com>
11787
11788 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
11789 (test_in_one_mode): Take arguments for whether the rounding mode
11790 is supported for each floating-point type.
11791 (do_test): Pass new arguments to test_in_one_mode using
11792 ROUNDING_TESTS.
11793
117942013-06-13 Roland McGrath <roland@hack.frob.com>
11795
11796 * posix/tst-waitid.c (do_test): Distinguish different instances of
11797 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
11798 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
11799 before entering the kernel for waitpid.
11800
118012013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11802
11803 * NEWS: Fix note on clock function precision. Text by Roland
11804 McGrath.
11805
118062013-06-13 Roland McGrath <roland@hack.frob.com>
11807
11808 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
11809 it into place only when and if the sanity check passes.
11810
118112013-06-13 Joseph Myers <joseph@codesourcery.com>
11812
11813 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
11814 output for whether conversion result is exact. Take argument
11815 indicating whether type is IBM long double.
11816 (round_for_all): Change need_exact field to ibm_ld.
11817 * stdlib/tst-strtod-round.c (struct exactness): New type.
11818 (struct test): Change bool ld_ok field to struct exactness exact.
11819 (TEST): Update all definitions for change to field.
11820 (tests): Regenerate array contents.
11821 (test_in_one_mode): Take pointer to new field instead of old ld_ok
11822 field value. Check for IBM long double here.
11823 (do_test): Update calls to test_in_one_mode.
11824
118252013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11826
11827 [BZ #12515]
11828 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
11829 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
11830
118312013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11832
11833 [BZ #15605]
11834 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
11835 generated by the compiler on loop optimizations.
11836 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
11837 general definitions.
11838
118392013-06-12 Joseph Myers <joseph@codesourcery.com>
11840
11841 * math/bug-nextafter.c: Include <math-tests.h>.
11842 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11843 the relevant type.
11844 * math/bug-nexttoward.c: Include <math-tests.h>.
11845 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11846 the relevant type.
11847 * math/test-misc.c: Include <math-tests.h>.
11848 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11849 the relevant type.
11850
118512013-06-12 Andreas Jaeger <aj@suse.de>
11852
11853 * po/ia.po: Update Interlingua translation from translation
11854 project.
11855
118562013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11857
11858 * include/fenv.h: Include stdbool.h.
11859 (struct rm_ctx): New structure.
11860 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
11861 Define macro.
11862 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
11863 (SET_RESTORE_ROUNDF): Likewise.
11864 (SET_RESTORE_ROUNDL): Likewise.
11865 (SET_RESTORE_ROUND_NOEX): Likewise.
11866 (SET_RESTORE_ROUND_NOEXF): Likewise.
11867 (SET_RESTORE_ROUND_NOEXL): Likewise.
11868 (SET_RESTORE_ROUND_53BIT): Likewise.
11869 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
11870 (libc_feresetround_noexf_ctx): Likewise.
11871 (libc_feresetround_noexl_ctx): Likewise.
11872 (libc_feholdsetround_53bit_ctx): Likewise.
11873 (libc_feresetround_53bit_ctx): Likewise.
11874 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
11875 (libc_feholdexcept_setround_sse_ctx): New function.
11876 (libc_fesetenv_sse_ctx): Likewise.
11877 (libc_feupdateenv_sse_ctx): Likewise.
11878 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
11879 (libc_feholdexcept_setround_387_ctx): Likewise.
11880 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
11881 (libc_feholdsetround_387_prec_ctx): Likewise.
11882 (libc_feholdsetround_387_ctx): Likewise.
11883 (libc_feholdsetround_387_53bit_ctx): Likewise.
11884 (libc_feholdsetround_sse_ctx): Likewise.
11885 (libc_feresetround_sse_ctx): Likewise.
11886 (libc_feresetround_387_ctx): Likewise.
11887 (libc_feupdateenv_387_ctx): Likewise.
11888 (libc_feholdexcept_setroundf_ctx): Define macro.
11889 (libc_fesetenvf_ctx): Likewise.
11890 (libc_feupdateenvf_ctx): Likewise.
11891 (libc_feholdsetroundf_ctx): Likewise.
11892 (libc_feresetroundf_ctx): Likewise.
11893 (libc_feholdexcept_setround_ctx): Likewise.
11894 (libc_fesetenv_ctx): Likewise.
11895 (libc_feupdateenv_ctx): Likewise.
11896 (libc_feholdsetround_ctx): Likewise.
11897 (libc_feresetround_ctx): Likewise.
11898 (libc_feholdexcept_setroundl_ctx): Likewise.
11899 (libc_feupdateenvl_ctx): Likewise.
11900 (libc_feholdsetroundl_ctx): Likewise.
11901 (libc_feresetroundl_ctx): Likewise.
11902 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
11903 (libc_feresetround_53bit_ctx): Likewise.
11904
119052013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11906
11907 * locale/iso-639.def: Convert to UTF-8.
11908
119092013-06-11 Joseph Myers <joseph@codesourcery.com>
11910
11911 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
11912 (EXCEPTION_TESTS_double): Likewise.
11913 (EXCEPTION_TESTS_long_double): Likewise.
11914 (EXCEPTION_TESTS): Likewise.
11915 * math/libm-test.inc (test_exceptions): Only test exceptions if
11916 EXCEPTION_TESTS (FLOAT).
11917
119182013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11919
11920 * benchtests/Makefile (string-bench): Add strcpy_chk and
11921 stpcpy_chk.
11922 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
11923 * benchtests/bench-stpcpy_chk.c: New file.
11924 * benchtests/bench-strcpy_chk-ifunc.c: New file.
11925 * benchtests/bench-strcpy_chk.c: New file.
11926 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
11927 code.
11928 (do_test): Likewise.
11929
119302013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11931
11932 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
11933 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
11934 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
11935 with tabs where appropriate.
11936 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
11937 dl-procinfo.h.
11938 [PPC_PLATFORM_PPC440]: Likewise.
11939 [PPC_PLATFORM_PPC464]: Likewise.
11940 [PPC_PLATFORM_PPC476]: Likewise.
11941 (_dl_string_platform): Add support for detecting ppc405, ppc440,
11942 ppc464, and ppc476 platform strings merging from ports/
11943 dl-procinfo.h.
11944
119452013-06-11 Andreas Schwab <schwab@suse.de>
11946
11947 [BZ #14991]
11948 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
11949 (from_ucs4_idx): Regenerate.
11950 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
11951 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
11952 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
11953 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
11954 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
11955 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
11956 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
11957 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
11958 from FROM_LOOP and TO_LOOP specific macros.
11959 (BODY): Handle combining characters.
11960 * iconvdata/BIG5HKSCS.irreversible: Update.
11961 * iconvdata/BIG5HKSCS.precomposed: New file.
11962 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
11963 characters.
11964 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
11965
119662013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11967
11968 * include/sys/time.h: Fix indentation and add copyright header.
11969
11970 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
11971 (do_test): Likewise.
11972 * string/test-memchr.c (do_one_test): Likewise.
11973 (do_test): Likewise.
11974 * string/test-memcmp.c (do_one_test): Likewise.
11975 (do_test): Likewise.
11976 * string/test-memcpy.c (do_one_test): Likewise.
11977 (do_test): Likewise.
11978 * string/test-memmem.c (do_one_test): Likewise.
11979 (do_test): Likewise.
11980 (do_random_tests): Likewise.
11981 * string/test-memmove.c (do_one_test): Likewise.
11982 (do_test): Likewise.
11983 * string/test-memset.c (do_one_test): Likewise.
11984 (do_test): Likewise.
11985 * string/test-rawmemchr.c (do_one_test): Likewise.
11986 (do_test): Likewise.
11987 * string/test-strcasecmp.c (do_one_test): Likewise.
11988 (do_test): Likewise.
11989 * string/test-strcasestr.c (do_one_test): Likewise.
11990 (do_test): Likewise.
11991 * string/test-strcat.c (do_one_test): Likewise.
11992 (do_test): Likewise.
11993 * string/test-strchr.c (do_one_test): Likewise.
11994 (do_test): Likewise.
11995 * string/test-strcmp.c (do_one_test): Likewise.
11996 (do_test): Likewise.
11997 * string/test-strcpy.c (do_one_test): Likewise.
11998 (do_test): Likewise.
11999 * string/test-string.h: Likewise.
12000 (test_init): Likewise.
12001 * string/test-strlen.c (do_one_test): Likewise.
12002 (do_test): Likewise.
12003 * string/test-strncasecmp.c (do_one_test): Likewise.
12004 (do_test): Likewise.
12005 * string/test-strncat.c (do_one_test): Likewise.
12006 (do_test): Likewise.
12007 * string/test-strncmp.c (do_one_test): Likewise.
12008 (do_test_limit): Likewise.
12009 (do_test): Likewise.
12010 * string/test-strncpy.c (do_one_test): Likewise.
12011 (do_test): Likewise.
12012 * string/test-strnlen.c (do_one_test): Likewise.
12013 (do_test): Likewise.
12014 * string/test-strpbrk.c (do_one_test): Likewise.
12015 (do_test): Likewise.
12016 * string/test-strrchr.c (do_one_test): Likewise.
12017 (do_test): Likewise.
12018 * string/test-strspn.c (do_one_test): Likewise.
12019 (do_test): Likewise.
12020 * string/test-strstr.c (do_one_test): Likewise.
12021 (do_test): Likewise.
12022
12023 * benchtests/Makefile (string-bench): Add string benchmarks.
12024 * benchtests/bench-bcopy-ifunc.c: New file.
12025 * benchtests/bench-bcopy.c: New file.
12026 * benchtests/bench-bzero-ifunc.c: New file.
12027 * benchtests/bench-bzero.c: New file.
12028 * benchtests/bench-memccpy-ifunc.c: New file.
12029 * benchtests/bench-memccpy.c: New file.
12030 * benchtests/bench-memchr-ifunc.c: New file.
12031 * benchtests/bench-memchr.c: New file.
12032 * benchtests/bench-memcmp-ifunc.c: New file.
12033 * benchtests/bench-memcmp.c: New file.
12034 * benchtests/bench-memmem-ifunc.c: New file.
12035 * benchtests/bench-memmem.c: New file.
12036 * benchtests/bench-memmove-ifunc.c: New file.
12037 * benchtests/bench-memmove.c: New file.
12038 * benchtests/bench-mempcpy-ifunc.c: New file.
12039 * benchtests/bench-mempcpy.c: New file.
12040 * benchtests/bench-memset-ifunc.c: New file.
12041 * benchtests/bench-memset.c: New file.
12042 * benchtests/bench-rawmemchr-ifunc.c: New file.
12043 * benchtests/bench-rawmemchr.c: New file.
12044 * benchtests/bench-stpcpy-ifunc.c: New file.
12045 * benchtests/bench-stpcpy.c: New file.
12046 * benchtests/bench-stpncpy-ifunc.c: New file.
12047 * benchtests/bench-stpncpy.c: New file.
12048 * benchtests/bench-strcasecmp-ifunc.c: New file.
12049 * benchtests/bench-strcasecmp.c: New file.
12050 * benchtests/bench-strcasestr-ifunc.c: New file.
12051 * benchtests/bench-strcasestr.c: New file.
12052 * benchtests/bench-strcat-ifunc.c: New file.
12053 * benchtests/bench-strcat.c: New file.
12054 * benchtests/bench-strchr-ifunc.c: New file.
12055 * benchtests/bench-strchr.c: New file.
12056 * benchtests/bench-strchrnul-ifunc.c: New file.
12057 * benchtests/bench-strchrnul.c: New file.
12058 * benchtests/bench-strcmp-ifunc.c: New file.
12059 * benchtests/bench-strcmp.c: New file.
12060 * benchtests/bench-strcpy-ifunc.c: New file.
12061 * benchtests/bench-strcpy.c: New file.
12062 * benchtests/bench-strcspn-ifunc.c: New file.
12063 * benchtests/bench-strcspn.c: New file.
12064 * benchtests/bench-strlen-ifunc.c: New file.
12065 * benchtests/bench-strlen.c: New file.
12066 * benchtests/bench-strncasecmp-ifunc.c: New file.
12067 * benchtests/bench-strncasecmp.c: New file.
12068 * benchtests/bench-strncat-ifunc.c: New file.
12069 * benchtests/bench-strncat.c: New file.
12070 * benchtests/bench-strncmp-ifunc.c: New file.
12071 * benchtests/bench-strncmp.c: New file.
12072 * benchtests/bench-strncpy-ifunc.c: New file.
12073 * benchtests/bench-strncpy.c: New file.
12074 * benchtests/bench-strnlen-ifunc.c: New file.
12075 * benchtests/bench-strnlen.c: New file.
12076 * benchtests/bench-strpbrk-ifunc.c: New file.
12077 * benchtests/bench-strpbrk.c: New file.
12078 * benchtests/bench-strrchr-ifunc.c: New file.
12079 * benchtests/bench-strrchr.c: New file.
12080 * benchtests/bench-strspn-ifunc.c: New file.
12081 * benchtests/bench-strspn.c: New file.
12082 * benchtests/bench-strstr-ifunc.c: New file.
12083 * benchtests/bench-strstr.c: New file.
12084
12085 * benchtests/Makefile: Disable parallel execution of targets.
12086 (string-bench): Add memcpy.
12087 (benchset): New variable to store a list of benchmark sets.
12088 (bench-func): Renamed from bench.
12089 (bench-set): New target.
12090 (bench): Depend on bench-func and bench-set.
12091 * benchtests/README: Add section on benchmark sets.
12092 * benchtests/bench-memcpy-ifunc.c: New file.
12093 * benchtests/bench-memcpy.c: New file.
12094 * benchtests/bench-string.h: New file.
12095
120962013-06-11 Andreas Schwab <schwab@suse.de>
12097
12098 [BZ #15577]
12099 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
12100 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
12101 values in the triple.
12102 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
12103 terminator in the group key.
12104
121052013-06-11 Andreas Jaeger <aj@suse.de>
12106
12107 * po/zh_TW.po: Update Chinese (traditional) translation from
12108 translation project.
12109
121102013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12111
12112 * include/time.h (__clock_gettime): Add libc_hidden_proto.
12113 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
12114 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
12115 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
12116 (clock_getcpuclockid): Likewise.
12117 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
12118 Add weak_alias and libc_hidden_def.
12119 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
12120 * rt/clock_gettime.c (clock_gettime): Rename to
12121 __clock_gettime. Add weak_alias and libc_hidden_def.
12122 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
12123 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
12124 __clock_nanosleep. Add weak_alias and libc_hidden_def.
12125 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
12126 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
12127 Likewise.
12128 * rt/clock_settime.c (clock_settime): Rename to
12129 __clock_settime. Add weak_alias and libc_hidden_def.
12130 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
12131
121322013-06-10 Joseph Myers <joseph@codesourcery.com>
12133
12134 * mach/err_boot.sub: Remove trailing whitespace.
12135 * mach/err_ipc.sub: Likewise.
12136 * mach/err_mach.sub: Likewise.
12137
12138 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
12139 (ROUNDING_TESTS_double): Likewise.
12140 (ROUNDING_TESTS_long_double): Likewise.
12141 (ROUNDING_TESTS): Likewise.
12142 * math/libm-test.inc: Include <math-tests.h>.
12143 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
12144 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
12145 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
12146 (IF_ROUND_INIT_FE_UPWARD): Likewise.
12147
121482013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12149
12150 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
12151 of assigning.
12152
121532013-06-08 Joseph Myers <joseph@codesourcery.com>
12154
12155 * sysdeps/gnu/errlist.awk: Do not generate space at end of
12156 otherwise empty TRANS lines.
12157 * sysdeps/gnu/errlist.c: Regenerated.
12158
12159 * catgets/gencat.c (error_print): Use (void) in function
12160 definition.
12161 * crypt/crypt_util.c (__init_des): Likewise.
12162 * crypt/speeds.c (Stop): Likewise.
12163 (main): Likewise.
12164 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
12165 * inet/ruserpass.c (token): Likewise.
12166 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
12167 * intl/localealias.c (extend_alias_table): Likewise.
12168 * intl/plural-exp.c (init_germanic_plural): Likewise.
12169 * libio/fcloseall.c (__fcloseall): Likewise.
12170 * libio/genops.c (_IO_flush_all): Likewise.
12171 (_IO_flush_all_linebuffered): Likewise.
12172 (_IO_cleanup): Likewise.
12173 (_IO_iter_begin): Likewise.
12174 (_IO_iter_end): Likewise.
12175 (_IO_list_lock): Likewise.
12176 (_IO_list_unlock): Likewise.
12177 (_IO_list_resetlock): Likewise.
12178 * libio/getchar.c (getchar): Likewise.
12179 * libio/getchar_u.c (getchar_unlocked): Likewise.
12180 * libio/getwchar.c (getwchar): Likewise.
12181 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
12182 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
12183 * login/getpt.c (__getpt): Likewise.
12184 * login/tst-utmp.c (main): Likewise.
12185 * malloc/hooks.c (__malloc_check_init): Likewise.
12186 * malloc/malloc.c (__malloc_stats): Likewise.
12187 * malloc/mtrace.c (tr_break): Likewise.
12188 (mtrace): Likewise.
12189 (muntrace): Likewise.
12190 * misc/fstab.c (endfsent): Likewise.
12191 * misc/getclktck.c (__getclktck): Likewise.
12192 * misc/getdtsz.c (__getdtablesize): Likewise.
12193 * misc/gethostid.c (gethostid): Likewise.
12194 * misc/getpagesize.c (__getpagesize): Likewise.
12195 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
12196 (__get_nprocs): Likewise.
12197 (__get_phys_pages): Likewise.
12198 (__get_avphys_pages): Likewise.
12199 * misc/getttyent.c (getttyent): Likewise.
12200 (setttyent): Likewise.
12201 (endttyent): Likewise.
12202 * misc/getusershell.c (getusershell): Likewise.
12203 (endusershell): Likewise.
12204 (setusershell): Likewise.
12205 (initshells): Likewise.
12206 * misc/hsearch.c (__hdestroy): Likewise.
12207 * misc/sync.c (sync): Likewise.
12208 * misc/syslog.c (closelog_internal): Likewise.
12209 (closelog): Likewise.
12210 * misc/ttyslot.c (ttyslot): Likewise.
12211 * misc/vhangup.c (vhangup): Likewise.
12212 * posix/fork.c (__fork): Likewise.
12213 * posix/getegid.c (__getegid): Likewise.
12214 * posix/geteuid.c (__geteuid): Likewise.
12215 * posix/getgid.c (__getgid): Likewise.
12216 * posix/getpid.c (__getpid): Likewise.
12217 * posix/getppid.c (__getppid): Likewise.
12218 * posix/getuid.c (__getuid): Likewise.
12219 * posix/pause.c (pause): Likewise.
12220 * posix/setpgrp.c (setpgrp): Likewise.
12221 * posix/setsid.c (__setsid): Likewise.
12222 * posix/test-vfork.c (noop): Likewise.
12223 * resolv/gethnamaddr.c (_endhtent): Likewise.
12224 (_gethtent): Likewise.
12225 (ht_endhostent): Likewise.
12226 (gethostent): Likewise.
12227 (dns_service): Likewise.
12228 * stdlib/drand48.c (drand48): Likewise.
12229 * stdlib/lrand48.c (lrand48): Likewise.
12230 * stdlib/mrand48.c (mrand48): Likewise.
12231 * stdlib/rand.c (rand): Likewise.
12232 * stdlib/random.c (__random): Likewise.
12233 * stdlib/setenv.c (clearenv): Likewise.
12234 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
12235 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
12236 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
12237 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
12238 (__get_nprocs): Likewise.
12239 (__get_phys_pages): Likewise.
12240 (__get_avphys_pages): Likewise.
12241 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
12242 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
12243 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
12244 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
12245 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
12246 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
12247 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
12248 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
12249 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
12250 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
12251 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
12252 * sysdeps/mach/hurd/sync.c (sync): Likewise.
12253 * sysdeps/posix/clock.c (clock): Likewise.
12254 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
12255 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
12256 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
12257 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
12258 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
12259 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
12260 (__get_nprocs_conf): Likewise.
12261 (__get_phys_pages): Likewise.
12262 (__get_avphys_pages): Likewise.
12263 * time/clock.c (clock): Likewise.
12264 * time/tzset.c (__tzname_max): Likewise.
12265
122662013-06-07 Joseph Myers <joseph@codesourcery.com>
12267
12268 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
12269 (__bswap_32): Do not use "register".
12270 * crypt/crypt.c (_ufc_doit_r): Likewise.
12271 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
12272 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
12273 * gmon/gmon.c (__monstartup): Likewise.
12274 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
12275 * hurd/hurdmalloc.c (more_memory): Likewise.
12276 (malloc): Likewise.
12277 (free): Likewise.
12278 (realloc): Likewise.
12279 (malloc_fork_prepare): Likewise.
12280 (malloc_fork_parent): Likewise.
12281 (malloc_fork_child): Likewise.
12282 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
12283 (_svcauth_des): Likewise.
12284 * inet/inet_lnaof.c (inet_lnaof): Likewise.
12285 * inet/inet_net.c (inet_network): Likewise.
12286 * inet/inet_netof.c (inet_netof): Likewise.
12287 * inet/rcmd.c (__validuser2_sa): Likewise.
12288 * io/fts.c (fts_open): Likewise.
12289 (fts_load): Likewise.
12290 (fts_close): Likewise.
12291 (fts_read): Likewise.
12292 (fts_children): Likewise.
12293 (fts_build): Likewise.
12294 (fts_stat): Likewise.
12295 (fts_sort): Likewise.
12296 (fts_alloc): Likewise.
12297 (fts_lfree): Likewise.
12298 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
12299 (_IO_file_xsgetn): Likewise.
12300 (_IO_file_xsgetn_mmap): Likewise.
12301 * libio/iofopncook.c (_IO_cookie_read): Likewise.
12302 (_IO_cookie_write): Likewise.
12303 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
12304 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
12305 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
12306 * malloc/obstack.c (_obstack_begin): Likewise.
12307 (_obstack_begin_1): Likewise.
12308 (_obstack_newchunk): Likewise.
12309 (_obstack_allocated_p): Likewise.
12310 (obstack_free): Likewise.
12311 (_obstack_memory_used): Likewise.
12312 * misc/getttyent.c (getttynam): Likewise.
12313 (getttyent): Likewise.
12314 (skip): Likewise.
12315 (value): Likewise.
12316 * misc/getusershell.c (initshells): Likewise.
12317 * misc/syslog.c (__vsyslog_chk): Likewise.
12318 * misc/ttyslot.c (ttyslot): Likewise.
12319 * nis/nis_hash.c (__nis_hash): Likewise.
12320 * posix/fnmatch_loop.c (FCT): Likewise.
12321 * posix/getconf.c (print_all): Likewise.
12322 (main): Likewise.
12323 * posix/getopt.c (exchange): Likewise.
12324 * posix/glob.c (globfree): Likewise.
12325 (prefix_array): Likewise.
12326 (__glob_pattern_type): Likewise.
12327 * resolv/arpa/nameser.h (NS_GET16): Likewise.
12328 (NS_GET32): Likewise.
12329 (NS_PUT16): Likewise.
12330 (NS_PUT32): Likewise.
12331 * resolv/gethnamaddr.c (getanswer): Likewise.
12332 (gethostbyname2): Likewise.
12333 (gethostbyaddr): Likewise.
12334 (_gethtent): Likewise.
12335 (_gethtbyname2): Likewise.
12336 (_gethtbyaddr): Likewise.
12337 * resolv/ns_print.c (dst_s_get_int16): Likewise.
12338 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
12339 * resolv/res_init.c (__res_vinit): Likewise.
12340 (net_mask): Likewise.
12341 * resolv/res_mkquery.c (outchar): Likewise.
12342 (PRINT): Likewise.
12343 * stdio-common/printf_fp.c (outchar): Likewise.
12344 (PRINT): Likewise.
12345 * stdio-common/printf_fphex.c (outchar): Likewise.
12346 (PRINT): Likewise.
12347 * stdio-common/printf_size.c (outchar): Likewise.
12348 (PRINT): Likewise.
12349 * stdio-common/test_rdwr.c (main): Likewise.
12350 * stdio-common/tfformat.c (matches): Likewise.
12351 * stdio-common/vfprintf.c (outchar): Likewise.
12352 (printf_unknown): Likewise.
12353 (buffered_vfprintf): Likewise.
12354 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
12355 * stdio-common/xbug.c (AppendToBuffer): Likewise.
12356 (ReadFile): Likewise.
12357 * stdlib/qsort.c (SWAP): Likewise.
12358 (_quicksort): Likewise.
12359 * stdlib/setenv.c (__add_to_environ): Likewise.
12360 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
12361 * stdlib/strtol_l.c (__strtol_l): Likewise.
12362 * stdlib/tst-strtod.c (main): Likewise.
12363 * stdlib/tst-strtol.c (main): Likewise.
12364 * stdlib/tst-strtoll.c (main): Likewise.
12365 * string/bits/string2.h (__strcmp_cc): Likewise.
12366 (__strcmp_cg): Likewise.
12367 (__strcspn_c1): Likewise.
12368 (__strcspn_c2): Likewise.
12369 (__strcspn_c3): Likewise.
12370 (__strspn_c1): Likewise.
12371 (__strspn_c2): Likewise.
12372 (__strspn_c3): Likewise.
12373 (__strsep_1c): Likewise.
12374 (__strsep_2c): Likewise.
12375 (__strsep_3c): Likewise.
12376 * string/memccpy.c (__memccpy): Likewise.
12377 * string/stpcpy.c (__stpcpy): Likewise.
12378 * string/strcmp.c (strcmp): Likewise.
12379 * string/strrchr.c (strrchr): Likewise.
12380 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
12381 Likewise.
12382 * sysdeps/mach/hurd/getcwd.c
12383 (_hurd_canonicalize_directory_name_internal): Likewise.
12384 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
12385 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
12386 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
12387 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
12388 Likewise, in both definitions.
12389 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
12390 definitions.
12391 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
12392 64] (__bswap_64): Likewise.
12393 * time/test_time.c (main): Likewise.
12394 * time/tzfile.c (__tzfile_read): Likewise.
12395 (__tzfile_compute): Likewise.
12396 * time/tzset.c (__tzset_parse_tz): Likewise.
12397 (tzset_internal): Likewise.
12398 (compute_change): Likewise.
12399 * wcsmbs/wcscat.c (__wcscat): Likewise.
12400 * wcsmbs/wcschr.c (wcschr): Likewise.
12401 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
12402 * wcsmbs/wcscspn.c (wcscspn): Likewise.
12403 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
12404 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
12405 * wcsmbs/wcsspn.c (wcsspn): Likewise.
12406 * wcsmbs/wcsstr.c (wcsstr): Likewise.
12407 * wcsmbs/wmemchr.c (wmemchr): Likewise.
12408 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12409 * wcsmbs/wmemset.c (wmemset): Likewise.
12410
124112013-06-06 Joseph Myers <joseph@codesourcery.com>
12412
12413 * scripts/config.guess: Update to version 2013-05-16.
12414 * scripts/config.sub: Update to version 2013-04-24.
12415 * scripts/install-sh: Update to version 2011-11-20.07.
12416 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
12417 * scripts/move-if-change: Update to version 2012-01-06 07:23.
12418
124192013-06-06 Ondřej Bílka <neleai@seznam.cz>
12420
12421 * debug/fgetws_u_chk.c: Fix leading whitespaces.
12422 * elf/sln.c: Likewise.
12423 * hurd/hurd/ioctl.h: Likewise.
12424 * hurd/hurdmalloc.c: Likewise.
12425 * hurd/xattr.c: Likewise.
12426 * include/shlib-compat.h: Likewise.
12427 * inet/ruserpass.c: Likewise.
12428 * libio/iofgets_u.c: Likewise.
12429 * libio/iofgetws_u.c: Likewise.
12430 * locale/programs/ld-identification.c: Likewise.
12431 * locale/programs/ld-time.c: Likewise.
12432 * mach/msg-destroy.c: Likewise.
12433 * nss/nss_files/files-netgrp.c: Likewise.
12434 * resolv/res_data.c: Likewise.
12435 * soft-fp/op-1.h: Likewise.
12436 * soft-fp/op-2.h: Likewise.
12437 * soft-fp/op-4.h: Likewise.
12438 * soft-fp/op-common.h: Likewise.
12439 * stdio-common/printf_fphex.c: Likewise.
12440 * stdlib/strtod_l.c: Likewise.
12441 * sunrpc/rpc/clnt.h: Likewise.
12442 * sysdeps/generic/framestate.c: Likewise.
12443 * sysdeps/i386/bsd-_setjmp.S: Likewise.
12444 * sysdeps/i386/bsd-setjmp.S: Likewise.
12445 * sysdeps/i386/__longjmp.S: Likewise.
12446 * sysdeps/i386/setjmp.S: Likewise.
12447 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12448 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12449 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12450 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12451 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12452 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
12453 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12454 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12455 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12456 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
12457 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
12458 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12459 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12460 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12461 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12462 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12463 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
12464 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
12465 * sysdeps/ieee754/support.c: Likewise.
12466 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12467 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
12468 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
12469 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
12470 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
12471 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
12472 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
12473 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
12474 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
12475 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
12476 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
12477 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
12478 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
12479 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
12480 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
12481 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
12482 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
12484
124852013-06-05 Ondřej Bílka <neleai@seznam.cz>
12486
12487 * posix/transbug.c: Remove executable mode.
12488
124892013-06-05 Joseph Myers <joseph@codesourcery.com>
12490
12491 * crypt/speeds.c: Remove trailing whitespace.
12492 * dlfcn/default.c: Likewise.
12493 * elf/ifuncdep2.c: Likewise.
12494 * elf/ifuncmain1.c: Likewise.
12495 * elf/ifuncmain1vis.c: Likewise.
12496 * elf/testobj.h: Likewise.
12497 * elf/tst-stackguard1.c: Likewise.
12498 * gmon/sys/gmon.h: Likewise.
12499 * hurd/hurdmsg.c: Likewise.
12500 * hurd/new-fd.c: Likewise.
12501 * hurd/ports-get.c: Likewise.
12502 * iconvdata/ibm1008_420.c: Likewise.
12503 * inet/tst-getni1.c: Likewise.
12504 * inet/tst-getni2.c: Likewise.
12505 * libio/ioungetc.c: Likewise.
12506 * libio/wfiledoalloc.c: Likewise.
12507 * manual/libm-err-tab.pl: Likewise.
12508 * math/w_dremf.c: Likewise.
12509 * misc/ftruncate.c: Likewise.
12510 * posix/bug-glob2.c: Likewise.
12511 * posix/tst-pcre.c: Likewise.
12512 * posix/wait4.c: Likewise.
12513 * resolv/README: Likewise.
12514 * resolv/res_debug.h: Likewise.
12515 * resolv/tst-inet_ntop.c: Likewise.
12516 * setjmp/bug269-setjmp.c: Likewise.
12517 * soft-fp/extended.h: Likewise.
12518 * soft-fp/op-1.h: Likewise.
12519 * soft-fp/op-2.h: Likewise.
12520 * soft-fp/op-4.h: Likewise.
12521 * soft-fp/op-8.h: Likewise.
12522 * soft-fp/testit.c: Likewise.
12523 * stdio-common/bug16.c: Likewise.
12524 * stdlib/random.c: Likewise.
12525 * sunrpc/rpcsvc/rquota.x: Likewise.
12526 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
12527 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12528 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12529 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12530 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12531 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12532 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12533 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12534 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12535 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12536 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12537 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
12538 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12539 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
12540 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12541 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
12542 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
12543 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12544 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
12545 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12546 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12547 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12548 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
12549 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
12550 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
12551 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
12552 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
12553 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12554 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12555 * sysdeps/ieee754/s_lib_version.c: Likewise.
12556 * sysdeps/mach/hurd/check_fds.c: Likewise.
12557 * sysdeps/mach/hurd/getsockname.c: Likewise.
12558 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
12559 * sysdeps/mach/hurd/recvfrom.c: Likewise.
12560 * sysdeps/powerpc/bits/link.h: Likewise.
12561 * sysdeps/powerpc/dl-procinfo.c: Likewise.
12562 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
12563 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
12564 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
12565 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
12566 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
12567 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
12568 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
12569 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
12570 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
12571 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
12572 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
12573 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
12574 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
12575 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
12576 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
12577 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
12578 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
12579 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
12580 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12581 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12582 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
12583 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12584 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
12585 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
12586 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
12587 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
12588 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12589 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12590 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
12591 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
12592 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
12593 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12594 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12595 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
12596 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
12597 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
12598 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
12599 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
12600 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
12601 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
12602 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
12603 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
12604 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
12605 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
12606 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
12607 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
12608 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
12609 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
12610 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
12611 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12612 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12613 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12614 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12615 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
12616 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
12617 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
12618 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12619 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
12620 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
12621 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
12622 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
12623 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
12624 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12625 * sysdeps/powerpc/sysdep.h: Likewise.
12626 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12627 * sysdeps/s390/s390-64/sub_n.S: Likewise.
12628 * sysdeps/sh/dl-trampoline.S: Likewise.
12629 * sysdeps/sh/memset.S: Likewise.
12630 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
12631 * sysdeps/sh/strlen.S: Likewise.
12632 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
12633 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
12634 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
12635 * sysdeps/sparc/sparc32/rem.S: Likewise.
12636 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
12637 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
12638 * sysdeps/sparc/sparc32/strchr.S: Likewise.
12639 * sysdeps/sparc/sparc32/udiv.S: Likewise.
12640 * sysdeps/sparc/sparc32/urem.S: Likewise.
12641 * sysdeps/sparc/sparc64/add_n.S: Likewise.
12642 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
12643 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
12644 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
12645 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
12646 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
12647 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
12648 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
12649 * sysdeps/unix/bsd/times.c: Likewise.
12650 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
12651 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
12652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
12653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
12654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
12655 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
12656 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
12657 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
12658 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
12659 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
12660 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
12661 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
12662 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
12663 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
12664 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
12665 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
12666 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
12667 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
12668 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
12669 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
12670 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
12671 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
12672 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
12673 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
12674 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
12675 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
12676 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
12677 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12678 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
12679 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
12680 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
12681 * sysdeps/x86_64/strcspn.S: Likewise.
12682
126832013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12684
12685 * locale/C-translit.h: Revert #include <stdint.h> because this is a
12686 generated file. Regenerate properly from gen-translit.pl.
12687 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
12688 locale/C-translit.h.
12689
126902013-06-05 Andreas Schwab <schwab@suse.de>
12691
12692 [BZ #15100]
12693 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
12694 week as 6 instead of -1.
12695 * time/tst-strptime.c (day_tests): Add test case.
12696
126972013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12698
12699 * sysdeps/generic/math_private.h
12700 (libc_feholdexcept_setround_53bit): Replace with
12701 libc_feholdsetround_53bit.
12702 (libc_feupdateenv_53bit): Replace with
12703 libc_feresetround_53bit.
12704 (SET_RESTORE_ROUND_53BIT): Adjust.
12705
127062013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12707
12708 * string/test-strchrnul.c: Add copyright header.
12709
12710 * posix/tst-getaddrinfo4.c: Increase test timeout.
12711
127122013-06-03 Carlos O'Donell <carlos@redhat.com>
12713
12714 [BZ #15536]
12715 * math/libm-test.inc (MAX_EXP): Remove
12716 (MIN_EXP): Define.
12717 (ulp): Use MIN_EXP - MANT_DIG.
12718 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
12719
127202013-05-31 Carlos O'Donell <carlos@redhat.com>
12721
12722 * po/be.po: Revert last change.
12723 * po/zh_CN.po: Likewise.
12724 * po/header.pot: Likewise.
12725
127262013-05-31 Joseph Myers <joseph@codesourcery.com>
12727
12728 * Makefile ($(common-objpfx)linkobj/libc.so): Define
12729 link-libc-deps to empty as target-specific variable.
12730 * Makerules (link-libc-args): New variable.
12731 (libc-for-link): Likewise.
12732 (link-libc-deps): Likewise.
12733 (lib%.so): Depend on $(link-libc-deps). Link with
12734 $(link-libc-args).
12735 (build-module): Link with $(link-libc-args).
12736 (build-module-asneeded): Likewise.
12737 (build-module-helper-objlist): Filter out $(link-libc-deps) from
12738 list of objects.
12739 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
12740 target-specific variable.
12741 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
12742 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
12743 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
12744 libc.
12745 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
12746 libc and ld.so.
12747 ($(objpfx)libpcprofile.so): Likewise.
12748 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
12749 libc_nonshared.a.
12750 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
12751 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
12752 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
12753 $(link-libc-deps).
12754 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
12755 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
12756 * login/Makefile ($(objpfx)libutil.so): Likewise.
12757 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
12758 * math/Makefile ($(objpfx)libm.so): Likewise.
12759 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
12760 $(objpfx)libnsl.so): Define libc-for-link as target-specific
12761 variable instead of depending directly on libc.
12762 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
12763 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
12764 $(link-libc-deps).
12765 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
12766 libc.
12767 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
12768 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
12769 ($(objpfx)libanl.so): Likewise.
12770 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
12771 ld.so.
12772 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
12773 $(link-libc-deps).
12774 * sysdeps/i386/fpu/Makefile: Remove file.
12775 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
12776 ($(objpfx)libm.so): Remove dependency on ld.so.
12777
127782013-05-30 Patsy Franklin <pfrankli@redhat.com>
12779
12780 [BZ # 15553]
12781 * nis/yp_xdr.c (XDRMAXNAME): Define.
12782 (XDRMAXRECORD): Define.
12783 (xdr_domainname): Use XDRMAXNAME.
12784 (xdr_mapname): Likewise.
12785 (xdr_peername): Likewise.
12786 (xdr_keydat): Use XDRMAXRECORD.
12787 (xdr_valdat): Likewise.
12788
127892013-05-30 Jeff Law <law@redhat.com>
12790
12791 [BZ #14256]
12792 * manual/errno.texi (ESTALE): Update to account for more than
12793 just NFS file systems.
12794 * sysdeps/gnu/errlist.c: Regenerated.
12795
127962013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12797
12798 [BZ #15465]
12799 * elf/Makefile (tests): Add tst-null-argv.
12800 (modules-names): Add tst-null-argv-lib.
12801 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
12802 (tst-null-argv-ENV): Set environment for tst-null-argv.
12803 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
12804 (RTLD_PROGNAME): New macro.
12805 * elf/tst-null-argv.c: New test case.
12806 * elf/tst-null-argv-lib.c: Library for test case.
12807 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
12808 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
12809 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
12810 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
12811 * elf/dl-init.c (call_init): Likewise.
12812 (_dl_init): Likewise.
12813 * elf/dl-load.c (print_search_path): Likewise.
12814 (_dl_map_object): Likewise.
12815 * elf/dl-lookup.c (do_lookup_x): Likewise.
12816 (add_dependency): Likewise.
12817 (_dl_lookup_symbol_x): Likewise.
12818 (_dl_debug_bindings): Likewise.
12819 * elf/dl-open.c (_dl_show_scope): Likewise.
12820 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
12821 * elf/dl-version.c (match_symbol): Likewise.
12822 (_dl_check_map_versions): Likewise.
12823 * elf/rtld.c (dl_main): Likewise.
12824 (print_unresolved): Use RTLD_PROGNAME.
12825 (print_missing_version): Likewise.
12826 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
12827 (elf_machine_rela): Likewise.
12828 * sysdeps/powerpc/powerpc32/dl-machine.c
12829 (__process_machine_rela): Likewise.
12830 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12831 Likewise.
12832 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
12833 Likewise.
12834 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
12835 Likewise.
12836 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12837 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
12838 Likewise.
12839 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
12840 Likewise.
12841 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12842
128432013-05-28 Carlos O'Donell <carlos@redhat.com>
12844
12845 * po/be.po: Add descriptive title.
12846 * po/zh_CN.po: Likewise.
12847 * po/header.pot: Likewise.
12848
128492013-05-28 Mike Frysinger <vapier@gentoo.org>
12850
12851 * locale/programs/locarchive.c (create_archive): Inlucde fname in
12852 error message.
12853 (enlarge_archive): Likewise.
12854
128552013-05-28 Ben North <ben@redfrontdoor.org>
12856
12857 * manual/arith.texi (frexp): It is the magnitude of the return
12858 value which lies in [0.5, 1), not the return value itself.
12859
128602013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12861
12862 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12863
128642013-05-26 Thomas Schwinge <thomas@codesourcery.com>
12865
12866 * stdio-common/bug26.c (main): Correct fscanf template.
12867
12868 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
12869 declare _dl_skip_args.
12870
12871 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
12872 Don't declare.
12873
12874 * manual/platform.texi: Add missing @end deftypefun.
12875
128762013-05-24 Joseph Myers <joseph@codesourcery.com>
12877
12878 [BZ #15529]
12879 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
12880 bit of mantissa of 2^16382.
12881 * math/libm-test.inc (hypot_test_data): Add more tests.
12882
12883 * math/libm-test.inc: Add drem and pow10 to list of tested
12884 functions.
12885 (pow10_test): New function.
12886 (drem_test): Likewise.
12887 (drem_test_tonearest): Likewise.
12888 (drem_test_towardzero): Likewise.
12889 (drem_test_downward): Likewise.
12890 (drem_test_upward): Likewise.
12891 (main): Call the new functions.
12892
12893 * math/libm-test.inc (finite_test_data): Remove.
12894 (finite_test): Run tests from isfinite_test_data.
12895 (gamma_test_data): Remove.
12896 (gamma_test): Run tests from lgamma_test_data.
12897 * sysdeps/i386/fpu/libm-test-ulps: Update.
12898 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12899
129002013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12901
12902 * manual/platform.texi: Add PowerPC PPR function set documentation.
12903 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
12904 implementation.
12905
129062013-05-24 Carlos O'Donell <carlos@redhat.com>
12907
12908 * math/libm-test.inc (MAX_EXP): Define.
12909 (ULPDIFF): Define.
12910 (ulp): New function.
12911 (check_float_internal): Use ULPDIFF.
12912 (cpow_test): Disable failing test.
12913 (check_ulp): Test ulp() implemetnation.
12914 (main): Call check_ulp before starting tests.
12915
129162013-05-24 Joseph Myers <joseph@codesourcery.com>
12917
12918 * math/gen-libm-test.pl (generate_testfile): Do not handle
12919 START_DATA and END_DATA.
12920 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
12921 END_DATA.
12922 (acos_tonearest_test_data): Likewise.
12923 (acos_towardzero_test_data): Likewise.
12924 (acos_downward_test_data): Likewise.
12925 (acos_upward_test_data): Likewise.
12926 (acosh_test_data): Likewise.
12927 (asin_test_data): Likewise.
12928 (asin_tonearest_test_data): Likewise.
12929 (asin_towardzero_test_data): Likewise.
12930 (asin_downward_test_data): Likewise.
12931 (asin_upward_test_data): Likewise.
12932 (asinh_test_data): Likewise.
12933 (atan_test_data): Likewise.
12934 (atanh_test_data): Likewise.
12935 (atan2_test_data): Likewise.
12936 (cabs_test_data): Likewise.
12937 (cacos_test_data): Likewise.
12938 (cacosh_test_data): Likewise.
12939 (carg_test_data): Likewise.
12940 (casin_test_data): Likewise.
12941 (casinh_test_data): Likewise.
12942 (catan_test_data): Likewise.
12943 (catanh_test_data): Likewise.
12944 (cbrt_test_data): Likewise.
12945 (ccos_test_data): Likewise.
12946 (ccosh_test_data): Likewise.
12947 (ceil_test_data): Likewise.
12948 (cexp_test_data): Likewise.
12949 (cimag_test_data): Likewise.
12950 (clog_test_data): Likewise.
12951 (clog10_test_data): Likewise.
12952 (conj_test_data): Likewise.
12953 (copysign_test_data): Likewise.
12954 (cos_test_data): Likewise.
12955 (cos_tonearest_test_data): Likewise.
12956 (cos_towardzero_test_data): Likewise.
12957 (cos_downward_test_data): Likewise.
12958 (cos_upward_test_data): Likewise.
12959 (cosh_test_data): Likewise.
12960 (cosh_tonearest_test_data): Likewise.
12961 (cosh_towardzero_test_data): Likewise.
12962 (cosh_downward_test_data): Likewise.
12963 (cosh_upward_test_data): Likewise.
12964 (cpow_test_data): Likewise.
12965 (cproj_test_data): Likewise.
12966 (creal_test_data): Likewise.
12967 (csin_test_data): Likewise.
12968 (csinh_test_data): Likewise.
12969 (csqrt_test_data): Likewise.
12970 (ctan_test_data): Likewise.
12971 (ctan_tonearest_test_data): Likewise.
12972 (ctan_towardzero_test_data): Likewise.
12973 (ctan_downward_test_data): Likewise.
12974 (ctan_upward_test_data): Likewise.
12975 (ctanh_test_data): Likewise.
12976 (ctanh_tonearest_test_data): Likewise.
12977 (ctanh_towardzero_test_data): Likewise.
12978 (ctanh_downward_test_data): Likewise.
12979 (ctanh_upward_test_data): Likewise.
12980 (erf_test_data): Likewise.
12981 (erfc_test_data): Likewise.
12982 (exp_test_data): Likewise.
12983 (exp_tonearest_test_data): Likewise.
12984 (exp_towardzero_test_data): Likewise.
12985 (exp_downward_test_data): Likewise.
12986 (exp_upward_test_data): Likewise.
12987 (exp10_test_data): Likewise.
12988 (exp2_test_data): Likewise.
12989 (expm1_test_data): Likewise.
12990 (fabs_test_data): Likewise.
12991 (fdim_test_data): Likewise.
12992 (finite_test_data): Likewise.
12993 (floor_test_data): Likewise.
12994 (fma_test_data): Likewise.
12995 (fma_towardzero_test_data): Likewise.
12996 (fma_downward_test_data): Likewise.
12997 (fma_upward_test_data): Likewise.
12998 (fmax_test_data): Likewise.
12999 (fmin_test_data): Likewise.
13000 (fmod_test_data): Likewise.
13001 (fpclassify_test_data): Likewise.
13002 (frexp_test_data): Likewise.
13003 (gamma_test_data): Likewise.
13004 (hypot_test_data): Likewise.
13005 (ilogb_test_data): Likewise.
13006 (isfinite_test_data): Likewise.
13007 (isgreater_test_data): Likewise.
13008 (isgreaterequal_test_data): Likewise.
13009 (isinf_test_data): Likewise.
13010 (isless_test_data): Likewise.
13011 (islessequal_test_data): Likewise.
13012 (islessgreater_test_data): Likewise.
13013 (isnan_test_data): Likewise.
13014 (isnormal_test_data): Likewise.
13015 (issignaling_test_data): Likewise.
13016 (isunordered_test_data): Likewise.
13017 (j0_test_data): Likewise.
13018 (j1_test_data): Likewise.
13019 (jn_test_data): Likewise.
13020 (ldexp_test_data): Likewise.
13021 (lgamma_test_data): Likewise.
13022 (lrint_test_data): Likewise.
13023 (lrint_tonearest_test_data): Likewise.
13024 (lrint_towardzero_test_data): Likewise.
13025 (lrint_downward_test_data): Likewise.
13026 (lrint_upward_test_data): Likewise.
13027 (llrint_test_data): Likewise.
13028 (llrint_tonearest_test_data): Likewise.
13029 (llrint_towardzero_test_data): Likewise.
13030 (llrint_downward_test_data): Likewise.
13031 (llrint_upward_test_data): Likewise.
13032 (log_test_data): Likewise.
13033 (log10_test_data): Likewise.
13034 (log1p_test_data): Likewise.
13035 (log2_test_data): Likewise.
13036 (logb_test_data): Likewise.
13037 (logb_downward_test_data): Likewise.
13038 (lround_test_data): Likewise.
13039 (llround_test_data): Likewise.
13040 (modf_test_data): Likewise.
13041 (nearbyint_test_data): Likewise.
13042 (nextafter_test_data): Likewise.
13043 (nexttoward_test_data): Likewise.
13044 (pow_test_data): Likewise.
13045 (pow_tonearest_test_data): Likewise.
13046 (pow_towardzero_test_data): Likewise.
13047 (pow_downward_test_data): Likewise.
13048 (pow_upward_test_data): Likewise.
13049 (remainder_test_data): Likewise.
13050 (remainder_tonearest_test_data): Likewise.
13051 (remainder_towardzero_test_data): Likewise.
13052 (remainder_downward_test_data): Likewise.
13053 (remainder_upward_test_data): Likewise.
13054 (remquo_test_data): Likewise.
13055 (rint_test_data): Likewise.
13056 (rint_tonearest_test_data): Likewise.
13057 (rint_towardzero_test_data): Likewise.
13058 (rint_downward_test_data): Likewise.
13059 (rint_upward_test_data): Likewise.
13060 (round_test_data): Likewise.
13061 (scalb_test_data): Likewise.
13062 (scalbn_test_data): Likewise.
13063 (scalbln_test_data): Likewise.
13064 (signbit_test_data): Likewise.
13065 (sin_test_data): Likewise.
13066 (sin_tonearest_test_data): Likewise.
13067 (sin_towardzero_test_data): Likewise.
13068 (sin_downward_test_data): Likewise.
13069 (sin_upward_test_data): Likewise.
13070 (sincos_test_data): Likewise.
13071 (sinh_test_data): Likewise.
13072 (sinh_tonearest_test_data): Likewise.
13073 (sinh_towardzero_test_data): Likewise.
13074 (sinh_downward_test_data): Likewise.
13075 (sinh_upward_test_data): Likewise.
13076 (sqrt_test_data): Likewise.
13077 (tan_test_data): Likewise.
13078 (tan_tonearest_test_data): Likewise.
13079 (tan_towardzero_test_data): Likewise.
13080 (tan_downward_test_data): Likewise.
13081 (tan_upward_test_data): Likewise.
13082 (tanh_test_data): Likewise.
13083 (tgamma_test_data): Likewise.
13084 (trunc_test_data): Likewise.
13085 (y0_test_data): Likewise.
13086 (y1_test_data): Likewise.
13087 (yn_test_data): Likewise.
13088 (significand_test_data): Likewise.
13089
13090 * math/gen-libm-test.pl (@functions): Remove variable.
13091 (generate_testfile): Don't handle START and END lines.
13092 * math/libm-test.inc (START): New macro.
13093 (END): Likewise.
13094 (END_COMPLEX): Likewise.
13095 (acos_test): Use END macro without arguments.
13096 (acos_test_tonearest): Likewise.
13097 (acos_test_towardzero): Likewise.
13098 (acos_test_downward): Likewise.
13099 (acos_test_upward): Likewise.
13100 (acosh_test): Likewise.
13101 (asin_test): Likewise.
13102 (asin_test_tonearest): Likewise.
13103 (asin_test_towardzero): Likewise.
13104 (asin_test_downward): Likewise.
13105 (asin_test_upward): Likewise.
13106 (asinh_test): Likewise.
13107 (atan_test): Likewise.
13108 (atanh_test): Likewise.
13109 (atan2_test): Likewise.
13110 (cabs_test): Likewise.
13111 (cacos_test): Use END_COMPLEX macro without arguments.
13112 (cacosh_test): Likewise.
13113 (carg_test): Use END macro without arguments.
13114 (casin_test): Use END_COMPLEX macro without arguments.
13115 (casinh_test): Likewise.
13116 (catan_test): Likewise.
13117 (catanh_test): Likewise.
13118 (cbrt_test): Use END macro without arguments.
13119 (ccos_test): Use END_COMPLEX macro without arguments.
13120 (ccosh_test): Likewise.
13121 (ceil_test): Use END macro without arguments.
13122 (cexp_test): Use END_COMPLEX macro without arguments.
13123 (cimag_test): Use END macro without arguments.
13124 (clog_test): Use END_COMPLEX macro without arguments.
13125 (clog10_test): Likewise.
13126 (conj_test): Likewise.
13127 (copysign_test): Use END macro without arguments.
13128 (cos_test): Likewise.
13129 (cos_test_tonearest): Likewise.
13130 (cos_test_towardzero): Likewise.
13131 (cos_test_downward): Likewise.
13132 (cos_test_upward): Likewise.
13133 (cosh_test): Likewise.
13134 (cosh_test_tonearest): Likewise.
13135 (cosh_test_towardzero): Likewise.
13136 (cosh_test_downward): Likewise.
13137 (cosh_test_upward): Likewise.
13138 (cpow_test): Use END_COMPLEX macro without arguments.
13139 (cproj_test): Likewise.
13140 (creal_test): Use END macro without arguments.
13141 (csin_test): Use END_COMPLEX macro without arguments.
13142 (csinh_test): Likewise.
13143 (csqrt_test): Likewise.
13144 (ctan_test): Likewise.
13145 (ctan_test_tonearest): Likewise.
13146 (ctan_test_towardzero): Likewise.
13147 (ctan_test_downward): Likewise.
13148 (ctan_test_upward): Likewise.
13149 (ctanh_test): Likewise.
13150 (ctanh_test_tonearest): Likewise.
13151 (ctanh_test_towardzero): Likewise.
13152 (ctanh_test_downward): Likewise.
13153 (ctanh_test_upward): Likewise.
13154 (erf_test): Use END macro without arguments.
13155 (erfc_test): Likewise.
13156 (exp_test): Likewise.
13157 (exp_test_tonearest): Likewise.
13158 (exp_test_towardzero): Likewise.
13159 (exp_test_downward): Likewise.
13160 (exp_test_upward): Likewise.
13161 (exp10_test): Likewise.
13162 (exp2_test): Likewise.
13163 (expm1_test): Likewise.
13164 (fabs_test): Likewise.
13165 (fdim_test): Likewise.
13166 (finite_test): Likewise.
13167 (floor_test): Likewise.
13168 (fma_test): Likewise.
13169 (fma_test_towardzero): Likewise.
13170 (fma_test_downward): Likewise.
13171 (fma_test_upward): Likewise.
13172 (fmax_test): Likewise.
13173 (fmin_test): Likewise.
13174 (fmod_test): Likewise.
13175 (fpclassify_test): Likewise.
13176 (frexp_test): Likewise.
13177 (gamma_test): Likewise.
13178 (hypot_test): Likewise.
13179 (ilogb_test): Likewise.
13180 (isfinite_test): Likewise.
13181 (isgreater_test): Likewise.
13182 (isgreaterequal_test): Likewise.
13183 (isinf_test): Likewise.
13184 (isless_test): Likewise.
13185 (islessequal_test): Likewise.
13186 (islessgreater_test): Likewise.
13187 (isnan_test): Likewise.
13188 (isnormal_test): Likewise.
13189 (issignaling_test): Likewise.
13190 (isunordered_test): Likewise.
13191 (j0_test): Likewise.
13192 (j1_test): Likewise.
13193 (jn_test): Likewise.
13194 (ldexp_test): Likewise.
13195 (lgamma_test): Likewise.
13196 (lrint_test): Likewise.
13197 (lrint_test_tonearest): Likewise.
13198 (lrint_test_towardzero): Likewise.
13199 (lrint_test_downward): Likewise.
13200 (lrint_test_upward): Likewise.
13201 (llrint_test): Likewise.
13202 (llrint_test_tonearest): Likewise.
13203 (llrint_test_towardzero): Likewise.
13204 (llrint_test_downward): Likewise.
13205 (llrint_test_upward): Likewise.
13206 (log_test): Likewise.
13207 (log10_test): Likewise.
13208 (log1p_test): Likewise.
13209 (log2_test): Likewise.
13210 (logb_test): Likewise.
13211 (logb_test_downward): Likewise.
13212 (lround_test): Likewise.
13213 (llround_test): Likewise.
13214 (modf_test): Likewise.
13215 (nearbyint_test): Likewise.
13216 (nextafter_test): Likewise.
13217 (nexttoward_test): Likewise.
13218 (pow_test): Likewise.
13219 (pow_test_tonearest): Likewise.
13220 (pow_test_towardzero): Likewise.
13221 (pow_test_downward): Likewise.
13222 (pow_test_upward): Likewise.
13223 (remainder_test): Likewise.
13224 (remainder_test_tonearest): Likewise.
13225 (remainder_test_towardzero): Likewise.
13226 (remainder_test_downward): Likewise.
13227 (remainder_test_upward): Likewise.
13228 (remquo_test): Likewise.
13229 (rint_test): Likewise.
13230 (rint_test_tonearest): Likewise.
13231 (rint_test_towardzero): Likewise.
13232 (rint_test_downward): Likewise.
13233 (rint_test_upward): Likewise.
13234 (round_test): Likewise.
13235 (scalb_test): Likewise.
13236 (scalbn_test): Likewise.
13237 (scalbln_test): Likewise.
13238 (signbit_test): Likewise.
13239 (sin_test): Likewise.
13240 (sin_test_tonearest): Likewise.
13241 (sin_test_towardzero): Likewise.
13242 (sin_test_downward): Likewise.
13243 (sin_test_upward): Likewise.
13244 (sincos_test): Likewise.
13245 (sinh_test): Likewise.
13246 (sinh_test_tonearest): Likewise.
13247 (sinh_test_towardzero): Likewise.
13248 (sinh_test_downward): Likewise.
13249 (sinh_test_upward): Likewise.
13250 (sqrt_test): Likewise.
13251 (tan_test): Likewise.
13252 (tan_test_tonearest): Likewise.
13253 (tan_test_towardzero): Likewise.
13254 (tan_test_downward): Likewise.
13255 (tan_test_upward): Likewise.
13256 (tanh_test): Likewise.
13257 (tgamma_test): Likewise.
13258 (trunc_test): Likewise.
13259 (y0_test): Likewise.
13260 (y1_test): Likewise.
13261 (yn_test): Likewise.
13262 (significand_test): Likewise.
13263
132642013-05-24 Ondřej Bílka <neleai@seznam.cz>
13265
13266 [BZ #15381]
13267 * libio/genops.c (_IO_no_init): Initialize wide struct info.
13268
132692013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
13270
13271 [BZ #14894]
13272 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
13273 __ppc_mdoio and __ppc_mdoom.
13274 * manual/platform.texi: Document new functions __ppc_yield,
13275 __ppc_mdoio and __ppc_mdoom.
13276
132772013-05-22 Carlos O'Donell <carlos@redhat.com>
13278
13279 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
13280 (main): Mention "tls" pseudo-hwcap is legacy.
13281 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
13282
132832013-05-22 Joseph Myers <joseph@codesourcery.com>
13284
13285 * math/gen-libm-test.pl (parse_args): Output only string of
13286 arguments as text for test name, not full call or descriptions of
13287 tests for extra outputs.
13288 (generate_testfile): Do not pass function name to parse_args.
13289 Generate this_func variable from START.
13290 * math/libm-test.inc (struct test_f_f_data): Rename test_name
13291 field to arg_str.
13292 (struct test_ff_f_data): Likewise.
13293 (test_ff_f_data_nexttoward): Likewise.
13294 (struct test_fi_f_data): Likewise.
13295 (struct test_fl_f_data): Likewise.
13296 (struct test_if_f_data): Likewise.
13297 (struct test_fff_f_data): Likewise.
13298 (struct test_c_f_data): Likewise.
13299 (struct test_f_f1_data): Likewise. Remove field extra_name.
13300 (struct test_fF_f1_data): Likewise.
13301 (struct test_ffI_f1_data): Likewise.
13302 (struct test_c_c_data): Rename test_name field to arg_str.
13303 (struct test_cc_c_data): Likewise.
13304 (struct test_f_i_data): Likewise.
13305 (struct test_ff_i_data): Likewise.
13306 (struct test_f_l_data): Likewise.
13307 (struct test_f_L_data): Likewise.
13308 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
13309 and extra2_name.
13310 (COMMON_TEST_SETUP): New macro.
13311 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
13312 (COMMON_TEST_CLEANUP): Likewise.
13313 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
13314 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
13315 macros.
13316 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
13317 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
13318 macros.
13319 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
13320 (RUN_TEST_fff_f): Take argument string. Call new setup and
13321 cleanup macros.
13322 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
13323 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
13324 macros.
13325 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
13326 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
13327 macros.
13328 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13329 (RUN_TEST_fF_f1): Take argument string. Call new setup and
13330 cleanup macros.
13331 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13332 (RUN_TEST_fI_f1): Take argument string. Call new setup and
13333 cleanup macros.
13334 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13335 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
13336 cleanup macros.
13337 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13338 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
13339 macros.
13340 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
13341 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
13342 macros.
13343 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
13344 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
13345 macros.
13346 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
13347 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
13348 cleanup macros.
13349 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
13350 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
13351 cleanup macros.
13352 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
13353 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
13354 macros.
13355 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
13356 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
13357 cleanup macros.
13358 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
13359 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
13360 macros.
13361 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
13362 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
13363 macros.
13364 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
13365 (RUN_TEST_fFF_11): Take argument string. Call new setup and
13366 cleanup macros.
13367 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
13368
133692013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
13370
13371 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
13372 to _sifields.sigfault.
13373 (si_addr_lsb): Define new macro.
13374 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
13375 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13376 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
13377
133782013-05-03 Carlos O'Donell <carlos at redhat.com>
13379
13380 [BZ #15441]
13381 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
13382 returns -1.
13383 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
13384 null return -1.
13385 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
13386 loading the domain.
13387
133882013-05-22 Joseph Myers <joseph@codesourcery.com>
13389
13390 * math/gen-libm-test.pl (parse_args): Do not include expected
13391 result in test name.
13392 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
13393 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13394 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13395 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13396 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13397 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13398
133992013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13400
13401 * benchtests/Makefile: Sort function entries.
13402
13403 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
13404 tanh, asinh, acosh, atanh.
13405 * benchtests/acos-inputs: New file.
13406 * benchtests/acosh-inputs: New file.
13407 * benchtests/asin-inputs: New file.
13408 * benchtests/asinh-inputs: New file.
13409 * benchtests/atanh-inputs: New file.
13410 * benchtests/cosh-inputs: New file.
13411 * benchtests/log-inputs: New file.
13412 * benchtests/sinh-inputs: New file.
13413 * benchtests/tanh-inputs: New file.
13414
134152013-05-21 Dmitry V. Levin <ldv@altlinux.org>
13416
13417 [BZ #15339]
13418 * posix/tst-getaddrinfo4.c: New test.
13419 * posix/Makefile (tests): Add it.
13420
134212013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13422
13423 [BZ #15339]
13424 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
13425 when no services were used.
13426 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
13427 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
13428
134292013-05-21 Andreas Schwab <schwab@suse.de>
13430
13431 [BZ #15014]
13432 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
13433 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
13434 successful.
13435 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
13436 redundant variable declarations and reallocation of buffer when
13437 parsing as IPv6 address. Always set NSS status when called from
13438 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
13439 buffer too small. Correct computation of needed size.
13440 * nss/Makefile (tests): Add test-digits-dots.
13441 * nss/test-digits-dots.c: New test.
13442
134432013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13444
13445 * benchtests/Makefile: Remove instructions for adding
13446 benchmark tests.
13447 * benchtests/README: New file to explain how to execute and
13448 enhance the benchmark tests.
13449
134502013-05-21 Andreas Schwab <schwab@suse.de>
13451
13452 [BZ #15493]
13453 * setjmp/Makefile (tests): Add tst-sigsetjmp.
13454 * setjmp/tst-sigsetjmp.c: New test.
13455
134562013-05-20 Ondřej Bílka <neleai@seznam.cz>
13457
13458 * sysdeps/x86_64/memset.S (memset): New implementation.
13459 (__bzero): Likewise.
13460 (__memset_tail): New function.
13461
134622013-05-20 Ondřej Bílka <neleai@seznam.cz>
13463
13464 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
13465 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
13466 __memcpy_sse2_unaligned ifunc selection.
13467 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
13468 Add memcpy-sse2-unaligned.S.
13469 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13470 Add: __memcpy_sse2_unaligned.
13471
134722013-05-19 Joseph Myers <joseph@codesourcery.com>
13473
13474 [BZ #15490]
13475 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
13476 math_force_eval before restoring floating-point envrionment.
13477 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
13478 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
13479 Likewise.
13480 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
13481 <math_private.h>.
13482 (__nearbyintl): Use math_force_eval before restoring
13483 floating-point environment.
13484 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
13485
13486 * math/gen-libm-test.pl (special_functions): Remove.
13487 (parse_args): Don't handle TEST_extra. Handle functions with no
13488 return value.
13489 * math/libm-test.inc (struct test_sincos_data): Replace with
13490 struct test_fFF_11_data.
13491 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
13492 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
13493 (sincos_test_data): Change element type to struct
13494 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
13495 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
13496 RUN_TEST_LOOP_sincos.
13497 * math/README.libm-test: Don't mention special handling of
13498 individual functions.
13499 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
13500 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13501 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13502 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13503 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13504 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13505
13506 * math/gen-libm-test.pl (get_variable): Remove function.
13507 (parse_args): Don't show pointer parameters to call in test
13508 names. Use "extra output N" in test names for extra outputs
13509 rather than naming variables.
13510
135112013-05-18 Joseph Myers <joseph@codesourcery.com>
13512
13513 [BZ #15488]
13514 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
13515 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
13516 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
13517 double tests.
13518 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
13519 disable.
13520 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
13521 check_long_double.
13522
13523 * math/gen-libm-test.pl (@tests): Remove variable.
13524 ($count): Likewise.
13525 (new_test): Remove function.
13526 (show_exceptions): New function.
13527 (special_functions): Use show_exceptions instead of new_test.
13528 (parse_args): Likewise.
13529 (generate_testfile): Pass only function name in generated call to
13530 print_max_error or print_complex_max_error.
13531 (get_ulps): Do not handle complex tests specially.
13532 (output_test): Rename to ...
13533 (get_all_ulps_for_test): ... this. Return a string rather than
13534 printing to a file. Require ulps to be present.
13535 (output_ulps): Generate arrays rather than #defines.
13536 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
13537 (struct ulp_data): New type.
13538 (BUILD_COMPLEX_ULP): Remove macro.
13539 (compare_ulp_data): New function.
13540 (find_ulps): Likewise.
13541 (find_test_ulps): Likewise.
13542 (find_function_ulps): Likewise.
13543 (find_complex_function_ulps): Likewise.
13544 (print_max_error): Determine allowed ulps using
13545 find_function_ulps.
13546 (print_complex_max_error): Determine allowed ulps using
13547 find_complex_function_ulps.
13548 (check_float_internal): Determine max ulps using find_test_ulps.
13549 (check_float): Do not take max_ulp parameter. Update call to
13550 check_float_internal.
13551 (check_complex): Likewise.
13552 (check_int): Do not take max_ulp parameter.
13553 (check_long): Likewise.
13554 (check_bool): Likewise.
13555 (check_longlong): Likewise.
13556 (struct test_f_f_data): Remove max_ulp field.
13557 (struct test_ff_f_data): Likewise.
13558 (struct test_ff_f_data_nexttoward): Likewise.
13559 (struct test_fi_f_data): Likewise.
13560 (struct test_fl_f_data): Likewise.
13561 (struct test_if_f_data): Likewise.
13562 (struct test_fff_f_data): Likewise.
13563 (struct test_c_f_data): Likewise.
13564 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
13565 (struct test_fF_f1_data): Likewise.
13566 (struct test_ffI_f1_data): Likewise.
13567 (struct test_c_c_data): Remove max_ulp field.
13568 (struct test_cc_c_data): Likewise.
13569 (struct test_f_i_data): Likewise.
13570 (struct test_ff_i_data): Likewise.
13571 (struct test_f_l_data): Likewise.
13572 (struct test_f_L_data): Likewise.
13573 (struct test_sincos_data): Likewise.
13574 (RUN_TEST_f_f): Do not handle ulps.
13575 (RUN_TEST_LOOP_f_f): Likewise.
13576 (RUN_TEST_2_f): Likewise.
13577 (RUN_TEST_LOOP_2_f): Likewise.
13578 (RUN_TEST_fff_f): Likewise.
13579 (RUN_TEST_LOOP_fff_f): Likewise.
13580 (RUN_TEST_c_f): Likewise.
13581 (RUN_TEST_LOOP_c_f): Likewise.
13582 (RUN_TEST_f_f1): Likewise.
13583 (RUN_TEST_LOOP_f_f1): Likewise.
13584 (RUN_TEST_fF_f1): Likewise.
13585 (RUN_TEST_LOOP_fF_f1): Likewise.
13586 (RUN_TEST_fI_f1): Likewise.
13587 (RUN_TEST_LOOP_fI_f1): Likewise.
13588 (RUN_TEST_ffI_f1): Likewise.
13589 (RUN_TEST_LOOP_ffI_f1): Likewise.
13590 (RUN_TEST_c_c): Likewise.
13591 (RUN_TEST_LOOP_c_c): Likewise.
13592 (RUN_TEST_cc_c): Likewise.
13593 (RUN_TEST_LOOP_cc_c): Likewise.
13594 (RUN_TEST_f_i): Likewise.
13595 (RUN_TEST_LOOP_f_i): Likewise.
13596 (RUN_TEST_f_i_tg): Likewise.
13597 (RUN_TEST_LOOP_f_i_tg): Likewise.
13598 (RUN_TEST_ff_i_tg): Likewise.
13599 (RUN_TEST_LOOP_ff_i_tg): Likewise.
13600 (RUN_TEST_f_b): Likewise.
13601 (RUN_TEST_LOOP_f_b): Likewise.
13602 (RUN_TEST_f_b_tg): Likewise.
13603 (RUN_TEST_LOOP_f_b_tg): Likewise.
13604 (RUN_TEST_f_l): Likewise.
13605 (RUN_TEST_LOOP_f_l): Likewise.
13606 (RUN_TEST_f_L): Likewise.
13607 (RUN_TEST_LOOP_f_L): Likewise.
13608 (RUN_TEST_sincos): Likewise.
13609 (RUN_TEST_LOOP_sincos): Likewise.
13610
136112013-05-17 Joseph Myers <joseph@codesourcery.com>
13612
13613 [BZ #15480]
13614 [BZ #15485]
13615 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
13616 main case of finite arguments, set rounding mode to FE_TONEAREST
13617 and discard exceptions.
13618 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
13619 exceptions.
13620 (remainder_tonearest_test_data): New variable.
13621 (remainder_test_tonearest): New function.
13622 (remainder_towardzero_test_data): New variable.
13623 (remainder_test_towardzero): New function.
13624 (remainder_downward_test_data): New variable.
13625 (remainder_test_downward): New function.
13626 (remainder_upward_test_data): New variable.
13627 (remainder_test_upward): New function.
13628 (main): Call the new test functions.
13629
13630 * math/libm-test.inc (struct test_f_f1_data): Remove field
13631 extra_init.
13632 (struct test_fF_f1_data): Likewise.
13633 (struct test_ffI_f1_data): Likewise.
13634 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
13635 based on value of EXTRA_EXPECTED.
13636 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13637 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
13638 EXTRA_VAR based on value of EXTRA_EXPECTED.
13639 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13640 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
13641 EXTRA_VAR based on value of EXTRA_EXPECTED.
13642 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13643 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
13644 EXTRA_VAR based on value of EXTRA_EXPECTED.
13645 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13646 * math/gen-libm-test.pl (parse_args): Don't output initializers
13647 for extra output values.
13648
13649 * math/libm-test.inc (check_int): Expect result to be exactly
13650 equal to expected value and do not handle ulps.
13651 (check_long): Likewise.
13652 (check_longlong): Likewise.
13653
13654 * math/libm-test.inc (ceil_test_data): Test for "inexact"
13655 exceptions.
13656 (cimag_test_data): Likewise.
13657 (conj_test_data): Likewise.
13658 (copysign_test_data): Likewise.
13659 (cproj_test_data): Likewise.
13660 (creal_test_data): Likewise.
13661 (fabs_test_data): Likewise.
13662 (fdim_test_data): Likewise.
13663 (finite_test_data): Likewise.
13664 (floor_test_data): Likewise.
13665 (fmax_test_data): Likewise.
13666 (fmin_test_data): Likewise.
13667 (fmod_test_data): Likewise.
13668 (fpclassify_test_data): Likewise.
13669 (frexp_test_data): Likewise.
13670 (ilogb_test_data): Likewise.
13671 (isfinite_test_data): Likewise.
13672 (isgreater_test_data): Likewise.
13673 (isgreaterequal_test_data): Likewise.
13674 (isinf_test_data): Likewise.
13675 (isless_test_data): Likewise.
13676 (islessequal_test_data): Likewise.
13677 (islessgreater_test_data): Likewise.
13678 (isnan_test_data): Likewise.
13679 (isnormal_test_data): Likewise.
13680 (issignaling_test_data): Likewise.
13681 (isunordered_test_data): Likewise.
13682 (ldexp_test_data): Likewise.
13683 (lrint_test_data): Likewise.
13684 (lrint_test_data) [TEST_FLOAT]: Disable one test.
13685 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
13686 (lrint_tonearest_test_data): Test for "inexact" exceptions.
13687 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13688 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
13689 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13690 test input.
13691 (lrint_towardzero_test_data): Test for "inexact" exceptions.
13692 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13693 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
13694 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
13695 that test input.
13696 (lrint_downward_test_data): Test for "inexact" exceptions.
13697 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13698 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
13699 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13700 test input.
13701 (lrint_upward_test_data): Test for "inexact" exceptions.
13702 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
13703 test input.
13704 (llrint_test_data): Test for "inexact" exceptions.
13705 (llrint_test_data) [TEST_FLOAT]: Disable one test.
13706 (llrint_tonearest_test_data): Test for "inexact" exceptions.
13707 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13708 (llrint_towardzero_test_data): Test for "inexact" exceptions.
13709 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13710 (llrint_downward_test_data): Test for "inexact" exceptions.
13711 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13712 (llrint_upward_test_data): Test for "inexact" exceptions.
13713 (logb_test_data): Likewise.
13714 (logb_downward_test_data): Likewise.
13715 (nextafter_test_data): Likewise.
13716 (nexttoward_test_data): Likewise.
13717 (remainder_test_data): Likewise.
13718 (remquo_test_data): Likewise.
13719 (scalbn_test_data): Likewise.
13720 (scalbln_test_data): Likewise.
13721 (signbit_test_data): Likewise.
13722 (sqrt_test_data): Likewise.
13723 (significand_test_data): Likewise.
13724
137252013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
13726
13727 [BZ #15424]
13728 * benchtests/bench-modf.c (struct args): Mark arg0 as
13729 volatile.
13730 * scripts/bench.pl: Mark members of struct args as volatile.
13731
137322013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13733
13734 [BZ # 15497]
13735 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
13736 negative infinity on POWER6 or lower.
13737 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
13738
137392013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
13740
13741 [BZ #15442]
13742 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
13743 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
13744 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
13745 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
13746 (_FP_SETQNAN): New macro.
13747 (_FP_SETQNAN_SEMIRAW): Likewise.
13748 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
13749 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
13750 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
13751 (FP_EXTEND): Use _FP_FRAC_SNANP.
13752 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
13753 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
13754 into account.
13755 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13756 New macro.
13757 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13758 Likewise.
13759
137602013-05-16 Joseph Myers <joseph@codesourcery.com>
13761
13762 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
13763 with DIVIDE_BY_ZERO_EXCEPTION.
13764 (gamma_test_data): Likewise.
13765 (lgamma_test_data): Likewise.
13766 (log_test_data): Likewise.
13767 (log10_test_data): Likewise.
13768 (log2_test_data): Likewise.
13769 (tgamma_test_data): Likewise.
13770
13771 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
13772 (acos_test_tonearest): Likewise.
13773 (acos_test_towardzero): Likewise.
13774 (acos_test_downward): Likewise.
13775 (acos_test_upward): Likewise.
13776 (acosh_test): Likewise.
13777 (asin_test): Likewise.
13778 (asin_test_tonearest): Likewise.
13779 (asin_test_towardzero): Likewise.
13780 (asin_test_downward): Likewise.
13781 (asin_test_upward): Likewise.
13782 (asinh_test): Likewise.
13783 (atan_test): Likewise.
13784 (atanh_test): Likewise.
13785 (atan2_test): Likewise.
13786 (cabs_test): Likewise.
13787 (cacos_test): Likewise.
13788 (cacosh_test): Likewise.
13789 (casin_test): Likewise.
13790 (casinh_test): Likewise.
13791 (catan_test): Likewise.
13792 (catanh_test): Likewise.
13793 (cbrt_test): Likewise.
13794 (ccos_test): Likewise.
13795 (ccosh_test): Likewise.
13796 (cexp_test): Likewise.
13797 (clog_test): Likewise.
13798 (clog10_test): Likewise.
13799 (cos_test): Likewise.
13800 (cos_test_tonearest): Likewise.
13801 (cos_test_towardzero): Likewise.
13802 (cos_test_downward): Likewise.
13803 (cos_test_upward): Likewise.
13804 (cosh_test): Likewise.
13805 (cosh_test_tonearest): Likewise.
13806 (cosh_test_towardzero): Likewise.
13807 (cosh_test_downward): Likewise.
13808 (cosh_test_upward): Likewise.
13809 (cpow_test): Likewise.
13810 (csin_test): Likewise.
13811 (csinh_test): Likewise.
13812 (csqrt_test): Likewise.
13813 (ctan_test): Likewise.
13814 (ctan_test_tonearest): Likewise.
13815 (ctan_test_towardzero): Likewise.
13816 (ctan_test_downward): Likewise.
13817 (ctan_test_upward): Likewise.
13818 (ctanh_test): Likewise.
13819 (ctanh_test_tonearest): Likewise.
13820 (ctanh_test_towardzero): Likewise.
13821 (ctanh_test_downward): Likewise.
13822 (ctanh_test_upward): Likewise.
13823 (erf_test): Likewise.
13824 (erfc_test): Likewise.
13825 (exp_test): Likewise.
13826 (exp_test_tonearest): Likewise.
13827 (exp_test_towardzero): Likewise.
13828 (exp_test_downward): Likewise.
13829 (exp_test_upward): Likewise.
13830 (exp10_test): Likewise.
13831 (exp2_test): Likewise.
13832 (expm1_test): Likewise.
13833 (fmod_test): Likewise.
13834 (gamma_test): Likewise.
13835 (hypot_test): Likewise.
13836 (j0_test): Likewise.
13837 (j1_test): Likewise.
13838 (jn_test): Likewise.
13839 (lgamma_test): Likewise.
13840 (log_test): Likewise.
13841 (log10_test): Likewise.
13842 (log1p_test): Likewise.
13843 (log2_test): Likewise.
13844 (logb_test_downward): Likewise.
13845 (pow_test): Likewise.
13846 (pow_test_tonearest): Likewise.
13847 (pow_test_towardzero): Likewise.
13848 (pow_test_downward): Likewise.
13849 (pow_test_upward): Likewise.
13850 (remainder_test): Likewise.
13851 (remquo_test): Likewise.
13852 (sin_test): Likewise.
13853 (sin_test_tonearest): Likewise.
13854 (sin_test_towardzero): Likewise.
13855 (sin_test_downward): Likewise.
13856 (sin_test_upward): Likewise.
13857 (sincos_test): Likewise.
13858 (sinh_test): Likewise.
13859 (sinh_test_tonearest): Likewise.
13860 (sinh_test_towardzero): Likewise.
13861 (sinh_test_downward): Likewise.
13862 (sinh_test_upward): Likewise.
13863 (sqrt_test): Likewise.
13864 (tan_test): Likewise.
13865 (tan_test_tonearest): Likewise.
13866 (tan_test_towardzero): Likewise.
13867 (tan_test_downward): Likewise.
13868 (tan_test_upward): Likewise.
13869 (tanh_test): Likewise.
13870 (tgamma_test): Likewise.
13871 (y0_test): Likewise.
13872 (y1_test): Likewise.
13873 (yn_test): Likewise.
13874
13875 * math/gen-libm-test.pl (adjust_arg): Remove function.
13876 (special_function): Remove argument $in_func. Only handle
13877 generating output for tables of tests, not inside functions.
13878 (parse_args): Likewise.
13879 (generate_testfile): Remove variable $in_func. Update call to
13880 parse_args.
13881 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
13882 (MINUS_ZERO_INIT): Rename macro to minus_zero.
13883 (PLUS_INFTY_INIT): Rename macro to plus_infty.
13884 (MINUS_INFTY_INIT): Rename macro to minus_infty.
13885 (QNAN_VALUE_INIT): Rename macro to qnan_value.
13886 (MAX_VALUE_INIT): Rename macro to max_value.
13887 (MIN_VALUE_INIT): Rename macro to min_value.
13888 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
13889 (plus_zero): Remove variable.
13890 (minus_zero): Likewise.
13891 (plus_infty): Likewise.
13892 (minus_infty): Likewise.
13893 (qnan_value): Likewise.
13894 (max_value): Likewise.
13895 (min_value): Likewise.
13896 (min_subnorm_value): Likewise.
13897
138982013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13899
13900 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
13901 uint64_t or uint32_t usage.
13902 * crypt/sha256-block.c: Likewise.
13903 * crypt/sha256-crypt.c: Likewise.
13904 * crypt/sha256.c: Likewise.
13905 * crypt/sha512-block.c: Likewise.
13906 * crypt/sha512-crypt.c: Likewise.
13907 * crypt/sha512.c: Likewise.
13908 * debug/backtrace-tst.c: Likewise.
13909 * debug/pcprofiledump.c: Likewise.
13910 * elf/cache.c: Likewise.
13911 * elf/dl-cache.c: Likewise.
13912 * elf/dl-misc.c: Likewise.
13913 * elf/dl-profile.c: Likewise.
13914 * elf/dl-support.c: Likewise.
13915 * elf/ldconfig.c: Likewise.
13916 * elf/sprof.c: Likewise.
13917 * iconv/dummy-repertoire.c: Likewise.
13918 * iconv/iconv_charmap.c: Likewise.
13919 * iconv/skeleton.c: Likewise.
13920 * iconvdata/8bit-generic.c: Likewise.
13921 * iconvdata/cp737.h: Likewise.
13922 * iconvdata/cp775.h: Likewise.
13923 * iconvdata/ibm1008.h: Likewise.
13924 * iconvdata/ibm1025.h: Likewise.
13925 * iconvdata/ibm1046.h: Likewise.
13926 * iconvdata/ibm1097.h: Likewise.
13927 * iconvdata/ibm1112.h: Likewise.
13928 * iconvdata/ibm1122.h: Likewise.
13929 * iconvdata/ibm1123.h: Likewise.
13930 * iconvdata/ibm1124.h: Likewise.
13931 * iconvdata/ibm1129.h: Likewise.
13932 * iconvdata/ibm1130.h: Likewise.
13933 * iconvdata/ibm1132.h: Likewise.
13934 * iconvdata/ibm1133.h: Likewise.
13935 * iconvdata/ibm1137.h: Likewise.
13936 * iconvdata/ibm1140.h: Likewise.
13937 * iconvdata/ibm1141.h: Likewise.
13938 * iconvdata/ibm1142.h: Likewise.
13939 * iconvdata/ibm1143.h: Likewise.
13940 * iconvdata/ibm1144.h: Likewise.
13941 * iconvdata/ibm1145.h: Likewise.
13942 * iconvdata/ibm1146.h: Likewise.
13943 * iconvdata/ibm1147.h: Likewise.
13944 * iconvdata/ibm1148.h: Likewise.
13945 * iconvdata/ibm1149.h: Likewise.
13946 * iconvdata/ibm1153.h: Likewise.
13947 * iconvdata/ibm1154.h: Likewise.
13948 * iconvdata/ibm1155.h: Likewise.
13949 * iconvdata/ibm1156.h: Likewise.
13950 * iconvdata/ibm1157.h: Likewise.
13951 * iconvdata/ibm1158.h: Likewise.
13952 * iconvdata/ibm1160.h: Likewise.
13953 * iconvdata/ibm1161.h: Likewise.
13954 * iconvdata/ibm1162.h: Likewise.
13955 * iconvdata/ibm1163.h: Likewise.
13956 * iconvdata/ibm1164.h: Likewise.
13957 * iconvdata/ibm1166.h: Likewise.
13958 * iconvdata/ibm1167.h: Likewise.
13959 * iconvdata/ibm12712.h: Likewise.
13960 * iconvdata/ibm1390.h: Likewise.
13961 * iconvdata/ibm1399.h: Likewise.
13962 * iconvdata/ibm16804.h: Likewise.
13963 * iconvdata/ibm4517.h: Likewise.
13964 * iconvdata/ibm4899.h: Likewise.
13965 * iconvdata/ibm4909.h: Likewise.
13966 * iconvdata/ibm4971.h: Likewise.
13967 * iconvdata/ibm5347.h: Likewise.
13968 * iconvdata/ibm803.h: Likewise.
13969 * iconvdata/ibm856.h: Likewise.
13970 * iconvdata/ibm901.h: Likewise.
13971 * iconvdata/ibm902.h: Likewise.
13972 * iconvdata/ibm9030.h: Likewise.
13973 * iconvdata/ibm9066.h: Likewise.
13974 * iconvdata/ibm921.h: Likewise.
13975 * iconvdata/ibm922.h: Likewise.
13976 * iconvdata/ibm9448.h: Likewise.
13977 * iconvdata/isiri-3342.h: Likewise.
13978 * iconvdata/jis0201.h: Likewise.
13979 * include/link.h: Likewise.
13980 * include/netdb.h: Likewise.
13981 * inet/check_native.c: Likewise.
13982 * inet/check_pf.c: Likewise.
13983 * inet/getipv4sourcefilter.c: Likewise.
13984 * inet/getnameinfo.c: Likewise.
13985 * inet/getsourcefilter.c: Likewise.
13986 * inet/htonl.c: Likewise.
13987 * inet/setipv4sourcefilter.c: Likewise.
13988 * inet/setsourcefilter.c: Likewise.
13989 * inet/test-inet6_opt.c: Likewise.
13990 * inet/tst-network.c: Likewise.
13991 * locale/C-collate.c: Likewise.
13992 * locale/C-ctype.c: Likewise.
13993 * locale/C-time.c: Likewise.
13994 * locale/C-translit.h: Likewise.
13995 * locale/loadarchive.c: Likewise.
13996 * locale/programs/3level.h: Likewise.
13997 * locale/programs/charmap.c: Likewise.
13998 * locale/programs/charmap.h: Likewise.
13999 * locale/programs/ld-address.c: Likewise.
14000 * locale/programs/ld-collate.c: Likewise.
14001 * locale/programs/ld-ctype.c: Likewise.
14002 * locale/programs/ld-identification.c: Likewise.
14003 * locale/programs/ld-measurement.c: Likewise.
14004 * locale/programs/ld-messages.c: Likewise.
14005 * locale/programs/ld-monetary.c: Likewise.
14006 * locale/programs/ld-name.c: Likewise.
14007 * locale/programs/ld-numeric.c: Likewise.
14008 * locale/programs/ld-paper.c: Likewise.
14009 * locale/programs/ld-telephone.c: Likewise.
14010 * locale/programs/ld-time.c: Likewise.
14011 * locale/programs/linereader.c: Likewise.
14012 * locale/programs/locale.c: Likewise.
14013 * locale/programs/locarchive.c: Likewise.
14014 * locale/programs/locfile.h: Likewise.
14015 * locale/programs/repertoire.c: Likewise.
14016 * locale/programs/simple-hash.c: Likewise.
14017 * locale/programs/simple-hash.h: Likewise.
14018 * malloc/memusage.c: Likewise.
14019 * malloc/memusagestat.c: Likewise.
14020 * nis/nis_defaults.c: Likewise.
14021 * nis/nis_hash.c: Likewise.
14022 * nis/nis_print.c: Likewise.
14023 * nis/nis_xdr.c: Likewise.
14024 * nscd/connections.c: Likewise.
14025 * nscd/hstcache.c: Likewise.
14026 * nscd/nscd_gethst_r.c: Likewise.
14027 * nscd/nscd_getserv_r.c: Likewise.
14028 * nscd/nscd_helper.c: Likewise.
14029 * nscd/servicescache.c: Likewise.
14030 * nss/makedb.c: Likewise.
14031 * nss/nss_db/db-XXX.c: Likewise.
14032 * nss/nss_db/db-initgroups.c: Likewise.
14033 * nss/nss_db/db-netgrp.c: Likewise.
14034 * nss/nss_files/files-network.c: Likewise.
14035 * nss/nss_files/files-parse.c: Likewise.
14036 * posix/bug-regex5.c: Likewise.
14037 * posix/fnmatch_loop.c: Likewise.
14038 * posix/regcomp.c: Likewise.
14039 * posix/regexec.c: Likewise.
14040 * posix/tst-rfc3484-2.c: Likewise.
14041 * posix/tst-rfc3484-3.c: Likewise.
14042 * posix/tst-rfc3484.c: Likewise.
14043 * resolv/nss_dns/dns-canon.c: Likewise.
14044 * resolv/nss_dns/dns-network.c: Likewise.
14045 * resolv/res_init.c: Likewise.
14046 * resolv/res_mkquery.c: Likewise.
14047 * resolv/tst-aton.c: Likewise.
14048 * stdlib/cxa_atexit.c: Likewise.
14049 * stdlib/cxa_finalize.c: Likewise.
14050 * stdlib/gen-fpioconst.c: Likewise.
14051 * stdlib/strtol_l.c: Likewise.
14052 * string/tst-endian.c: Likewise.
14053 * sunrpc/auth_des.c: Likewise.
14054 * sunrpc/clnt_udp.c: Likewise.
14055 * sunrpc/rtime.c: Likewise.
14056 * sunrpc/svcauth_des.c: Likewise.
14057 * sunrpc/xdr.c: Likewise.
14058 * sunrpc/xdr_intXX_t.c: Likewise.
14059 * sunrpc/xdr_rec.c: Likewise.
14060 * sysdeps/generic/ldconfig.h: Likewise.
14061 * sysdeps/generic/ldsodefs.h: Likewise.
14062 * sysdeps/generic/memusage.h: Likewise.
14063 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
14064 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
14065 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
14066 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
14067 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14068 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
14069 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
14070 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
14071 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
14072 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14073 * sysdeps/posix/getaddrinfo.c: Likewise.
14074 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14075 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14076 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
14077 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14078 * sysdeps/powerpc/test-gettimebase.c: Likewise.
14079 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
14080 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
14081 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
14082 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
14083 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
14084 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
14085 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
14086 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
14087 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
14088 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
14089 * sysdeps/x86_64/dl-tls.h: Likewise.
14090 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
14091 * time/alt_digit.c: Likewise.
14092 * time/era.c: Likewise.
14093 * wcsmbs/tst-c16c32-1.c: Likewise.
14094
140952013-05-16 Joseph Myers <joseph@codesourcery.com>
14096
14097 * math/libm-test.inc (struct test_sincos_data): New type.
14098 (RUN_TEST_LOOP_sincos): New macro.
14099 (sincos_test_data): New variable.
14100 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
14101
141022013-05-16 Richard Henderson <rth@redhat.com>
14103
14104 * math/atest-exp2.c (LIMB64): New macro.
14105 (CONSTSZ): New macro.
14106 (mp_exp1, mp_exp_m1, mp_log2): New variables.
14107 (hexdig): Move ...
14108 (print_mpn_fp): ... to function scope.
14109 (read_mpn_hex): Remove.
14110 (get_log2): Remove.
14111 (exp2_mpn): Use mp_log2.
14112 (main): Use mp_exp1.
14113
141142013-05-16 Joseph Myers <joseph@codesourcery.com>
14115
14116 * math/libm-test.inc: Remove comment about not testing "inexact"
14117 exceptions.
14118 (INEXACT_EXCEPTION): New macro.
14119 (NO_INEXACT_EXCEPTION): Likewise.
14120 (INVALID_EXCEPTION_OK): Update value.
14121 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
14122 (OVERFLOW_EXCEPTION_OK): Likewise.
14123 (UNDERFLOW_EXCEPTION_OK): Likewise.
14124 (IGNORE_ZERO_INF_SIGN): Likewise.
14125 (ERRNO_UNCHANGED): Likewise.
14126 (ERRNO_EDOM): Likewise.
14127 (ERRNO_ERANGE): Likewise.
14128 (test_exceptions): Handle testing "inexact" exceptions.
14129 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
14130 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
14131 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
14132 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
14133 INEXACT_EXCEPTION.
14134 (rint_towardzero_test_data): Likewise.
14135 (rint_downward_test_data): Likewise.
14136 (rint_upward_test_data): Likewise.
14137
14138 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
14139 with OVERFLOW_EXCEPTION.
14140 (exp10_test_data): Likewise.
14141 (exp2_test_data): Likewise.
14142 (expm1_test_data): Likewise.
14143 (lgamma_test_data): Likewise.
14144 (pow_test_data): Likewise.
14145 (tgamma_test_data): Likewise.
14146 (yn_test_data): Remove duplicate test of overflow.
14147
14148 * math/libm-test.inc (struct test_cc_c_data): New type.
14149 (RUN_TEST_LOOP_cc_c): New macro.
14150 (cpow_test_data): New variable.
14151 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
14152
14153 * math/libm-test.inc (struct test_f_L_data): New type.
14154 (RUN_TEST_LOOP_f_L): New macro.
14155 (llrint_test_data): New variable.
14156 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
14157 (llrint_tonearest_test_data): New variable.
14158 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
14159 (llrint_towardzero_test_data): New variable.
14160 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
14161 (llrint_downward_test_data): New variable.
14162 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
14163 (llrint_upward_test_data): New variable.
14164 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
14165 (llround_test_data): New variable.
14166 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
14167
141682013-05-13 Peter Collingbourne <pcc@google.com>
14169
14170 * math/atest-exp2.c (get_log2): Remove const attribute.
14171
141722013-05-15 Joseph Myers <joseph@codesourcery.com>
14173
14174 * math/libm-test.inc (struct test_f_l_data): New type.
14175 (RUN_TEST_LOOP_f_l): New macro.
14176 (lrint_test_data): New variable.
14177 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
14178 (lrint_tonearest_test_data): New variable.
14179 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
14180 (lrint_towardzero_test_data): New variable.
14181 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
14182 (lrint_downward_test_data): New variable.
14183 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
14184 (lrint_upward_test_data): New variable.
14185 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
14186 (lround_test_data): New variable.
14187 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
14188
141892013-05-15 Peter Collingbourne <pcc@google.com>
14190
14191 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
14192 (EXTRACT_WORDS64) Use where appropriate.
14193 (INSERT_WORDS64) Likewise.
14194
14195 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
14196 constraints with x constraints.
14197 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
14198
14199 * malloc/obstack.c (_obstack_compat): Add initializer.
14200
142012013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
14202
14203 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
14204 si_trapno and add si_addr_lsb to _sifields.sigfault.
14205 (si_trapno): Remove macro.
14206 (si_addr_lsb): Define new macro.
14207 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
14208
142092013-05-15 Joseph Myers <joseph@codesourcery.com>
14210
14211 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
14212 instead of TEST_f_l.
14213 (llrint_test_tonearest): Likewise.
14214 (llrint_test_towardzero): Likewise.
14215 (llrint_test_downward): Likewise.
14216 (llrint_test_upward): Likewise.
14217 (llround_test): Likewise.
14218
14219 * math/libm-test.inc (struct test_f_i_data): Add comment.
14220 (RUN_TEST_LOOP_f_b): New macro.
14221 (RUN_TEST_LOOP_f_b_tg): Likewise.
14222 (finite_test_data): New variable.
14223 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
14224 (isfinite_test_data): New variable.
14225 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14226 (isinf_test_data): New variable.
14227 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14228 (isnan_test_data): New variable.
14229 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14230 (isnormal_test_data): New variable.
14231 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14232 (issignaling_test_data): New variable.
14233 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14234 (signbit_test_data): New variable.
14235 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14236
14237 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
14238 with INVALID_EXCEPTION.
14239 (acosh_test_data): Likewise.
14240 (asin_test_data): Likewise.
14241 (atanh_test_data): Likewise.
14242 (fmod_test_data): Likewise.
14243 (log_test_data): Likewise.
14244 (log10_test_data): Likewise.
14245 (log2_test_data): Likewise.
14246 (pow_test_data): Likewise.
14247 (sqrt_test_data): Likewise.
14248 (y0_test_data): Likewise.
14249 (y1_test_data): Likewise.
14250 (yn_test_data): Likewise.
14251
14252 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
14253 function contents.
14254
14255 * math/libm-test.inc (struct test_ff_i_data): New type.
14256 (RUN_TEST_LOOP_ff_i_tg): New macro.
14257 (isgreater_test_data): New variable.
14258 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14259 (isgreaterequal_test_data): New variable.
14260 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14261 (isless_test_data): New variable.
14262 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14263 (islessequal_test_data): New variable.
14264 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14265 (islessgreater_test_data): New variable.
14266 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14267 (isunordered_test_data): New variable.
14268 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14269
142702013-05-14 David S. Miller <davem@davemloft.net>
14271
14272 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14273
142742013-05-14 Joseph Myers <joseph@codesourcery.com>
14275
14276 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
14277
14278 * math/libm-test.inc (struct test_fF_f1_data): Change type of
14279 extra_test to int.
14280 (struct test_f_i_data): Change type of max_ulp to int.
14281
14282 * math/libm-test.inc (test_ffI_f1_data): New type.
14283 (RUN_TEST_LOOP_ffI_f1): New macro.
14284 (remquo_test_data): New variable.
14285 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
14286
14287 * setjmp/tst-setjmp-fp.c: New file.
14288 * setjmp/Makefile (tests): Add tst-setjmp-fp.
14289 (link-libm): New variable.
14290 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
14291
14292 * math/libm-test.inc (struct test_f_i_data): New type.
14293 (RUN_TEST_LOOP_f_i): New macro.
14294 (RUN_TEST_LOOP_f_i_tg): Likewise.
14295 (fpclassify_test_data): New variable.
14296 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
14297 (ilogb_test_data): New variable.
14298 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
14299
14300 * math/libm-test.inc (scalbln_test): Correct function name in END
14301 call.
14302
14303 * math/libm-test.inc (struct test_f_f1_data): Add comment.
14304 (RUN_TEST_LOOP_fI_f1): New macro.
14305 (frexp_test_data): New variable.
14306 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
14307
14308 * math/libm-test.inc (struct test_fF_f1_data): New type.
14309 (RUN_TEST_LOOP_fF_f1): New macro.
14310 (modf_test_data): New variable.
14311 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
14312
14313 * math/libm-test.inc (struct test_f_f1_data): New type.
14314 (RUN_TEST_LOOP_f_f1): New macro.
14315 (gamma_test_data): New variable.
14316 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14317 (lgamma_test_data): New variable.
14318 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14319
143202013-05-13 Carlos O'Donell <carlos@redhat.com>
14321
14322 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
14323 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
14324 (main): Comment "tls" pseudo-hwcap.
14325
143262013-05-13 Joseph Myers <joseph@codesourcery.com>
14327
14328 * math/libm-test.inc (struct test_fl_f_data): New type.
14329 (RUN_TEST_LOOP_fl_f): New variable.
14330 (scalbln_test_data): New variable.
14331 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
14332
14333 * math/libm-test.inc (struct test_fi_f_data): New type.
14334 (RUN_TEST_LOOP_fi_f): New macro.
14335 (ldexp_test_data): New variable.
14336 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
14337 (scalbn_test_data): New variable.
14338 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
14339
14340 * math/libm-test.inc (struct test_c_f_data): New type.
14341 (RUN_TEST_LOOP_c_f): New macro.
14342 (cabs_test_data): New variable.
14343 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
14344 (carg_test_data): New variable.
14345 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
14346 (cimag_test_data): New variable.
14347 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
14348 (creal_test_data): New variable.
14349 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
14350
14351 * math/libm-test.inc (struct test_if_f_data): New type.
14352 (RUN_TEST_LOOP_if_f): New macro.
14353 (jn_test_data): New variable.
14354 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
14355 (yn_test_data): New variable.
14356 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
14357
14358 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
14359
143602013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14361
14362 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
14363 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
14364
143652013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14366
14367 * benchtests/Makefile (CPPFLAGS-nonlib): Add
14368 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
14369 (bench-deps): Add bench-timing.h.
14370 * benchtests-bench-skeleton.c: Include bench-timing.h.
14371 (main): Use TIMING_* macros instead of clock_gettime.
14372 * benchtests/bench-timing.h: New file.
14373
14374 [BZ #14582]
14375 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
14376 Renamed from _LIB_VERSION.
14377 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
14378
143792013-05-12 Joseph Myers <joseph@codesourcery.com>
14380
14381 * math/libm-test.inc (struct test_fff_f_data): New type.
14382 (RUN_TEST_LOOP_fff_f): New macro.
14383 (fma_test_data): New variable.
14384 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
14385 (fma_towardzero_test_data): New variable.
14386 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
14387 (fma_downward_test_data): New variable.
14388 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
14389 (fma_upward_test_data): New variable.
14390 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
14391
14392 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
14393 (struct test_c_c_data): New type.
14394 (RUN_TEST_LOOP_c_c): New macro.
14395 (cacos_test_data): New variable.
14396 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
14397 (cacosh_test_data): New variable.
14398 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
14399 (casin_test_data): New variable.
14400 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
14401 (casinh_test_data): New variable.
14402 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
14403 (catan_test_data): New variable.
14404 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
14405 (catanh_test_data): New variable.
14406 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
14407 (ccos_test_data): New variable.
14408 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
14409 (ccosh_test_data): New variable.
14410 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
14411 (cexp_test_data): New variable.
14412 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
14413 (clog_test_data): New variable.
14414 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
14415 (clog10_test_data): New variable.
14416 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
14417 (conj_test_data): New variable.
14418 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
14419 (cproj_test_data): New variable.
14420 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
14421 (csin_test_data): New variable.
14422 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
14423 (csinh_test_data): New variable.
14424 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
14425 (csqrt_test_data): New variable.
14426 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
14427 (ctan_test_data): New variable.
14428 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
14429 (ctan_tonearest_test_data): New variable.
14430 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14431 (ctan_towardzero_test_data): New variable.
14432 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14433 (ctan_downward_test_data): New variable.
14434 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14435 (ctan_upward_test_data): New variable.
14436 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14437 (ctanh_test_data): New variable.
14438 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
14439 (ctanh_tonearest_test_data): New variable.
14440 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14441 (ctanh_towardzero_test_data): New variable.
14442 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14443 (ctanh_downward_test_data): New variable.
14444 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14445 (ctanh_upward_test_data): New variable.
14446 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14447 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
14448 of BUILD_COMPLEX.
14449
14450 * math/libm-test.inc (struct test_ff_f_data): New type.
14451 (struct test_ff_f_data_nexttoward): Likewise.
14452 (RUN_TEST_LOOP_2_f): New macro.
14453 (RUN_TEST_LOOP_ff_f): Likewise.
14454 (atan2_test_data): New variable.
14455 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
14456 (copysign_test_data): New variable.
14457 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
14458 (fdim_test_data): New variable.
14459 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
14460 (fmax_test_data): New variable.
14461 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
14462 (fmin_test_data): New variable.
14463 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
14464 (fmod_test_data): New variable.
14465 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
14466 (hypot_test_data): New variable.
14467 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
14468 (nextafter_test_data): New variable.
14469 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
14470 (nexttoward_test_data): New variable.
14471 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
14472 (pow_test_data): New variable.
14473 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
14474 (pow_tonearest_test_data): New variable.
14475 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
14476 (pow_towardzero_test_data): New variable.
14477 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
14478 (pow_downward_test_data): New variable.
14479 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
14480 (pow_upward_test_data): New variable.
14481 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
14482 (remainder_test_data): New variable.
14483 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
14484 (scalb_test_data): New variable.
14485 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
14486 * sysdeps/i386/fpu/libm-test-ulps: Update.
14487
144882013-05-11 Joseph Myers <joseph@codesourcery.com>
14489
14490 * math/libm-test.inc (fma_test): Use max_value instead of local
14491 variable fltmax.
14492 (nextafter_test): Likewise.
14493
14494 * math/libm-test.inc (acos_towardzero_test_data): New variable.
14495 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14496 (acos_downward_test_data): New variable.
14497 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14498 (acos_upward_test_data): New variable.
14499 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14500 (acosh_test_data): New variable.
14501 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
14502 (asin_test_data): New variable.
14503 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
14504 (asin_tonearest_test_data): New variable.
14505 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14506 (asin_towardzero_test_data): New variable.
14507 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14508 (asin_downward_test_data): New variable.
14509 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14510 (asin_upward_test_data): New variable.
14511 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14512 (asinh_test_data): New variable.
14513 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
14514 (atan_test_data): New variable.
14515 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
14516 (atanh_test_data): New variable.
14517 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
14518 (cbrt_test_data): New variable.
14519 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
14520 (ceil_test_data): New variable.
14521 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
14522 (cos_test_data): New variable.
14523 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
14524 (cos_tonearest_test_data): New variable.
14525 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14526 (cos_towardzero_test_data): New variable.
14527 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14528 (cos_downward_test_data): New variable.
14529 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14530 (cos_upward_test_data): New variable.
14531 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14532 (cosh_test_data): New variable.
14533 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
14534 (cosh_tonearest_test_data): New variable.
14535 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14536 (cosh_towardzero_test_data): New variable.
14537 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14538 (cosh_downward_test_data): New variable.
14539 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14540 (cosh_upward_test_data): New variable.
14541 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14542 (erf_test_data): New variable.
14543 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
14544 (erfc_test_data): New variable.
14545 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
14546 (exp_test_data): New variable.
14547 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
14548 (exp_tonearest_test_data): New variable.
14549 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14550 (exp_towardzero_test_data): New variable.
14551 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14552 (exp_downward_test_data): New variable.
14553 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14554 (exp_upward_test_data): New variable.
14555 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14556 (exp10_test_data): New variable.
14557 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
14558 (exp2_test_data): New variable.
14559 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
14560 (expm1_test_data): New variable.
14561 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
14562 (fabs_test_data): New variable.
14563 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
14564 (floor_test_data): New variable.
14565 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
14566 (j0_test_data): New variable.
14567 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
14568 (j1_test_data): New variable.
14569 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
14570 (log_test_data): New variable.
14571 (log_test): Run tests with RUN_TEST_LOOP_f_f.
14572 (log10_test_data): New variable.
14573 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
14574 (log1p_test_data): New variable.
14575 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
14576 (log2_test_data): New variable.
14577 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
14578 (logb_test_data): New variable.
14579 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
14580 (logb_downward_test_data): New variable.
14581 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14582 (nearbyint_test_data): New variable.
14583 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
14584 (rint_test_data): New variable.
14585 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
14586 (rint_tonearest_test_data): New variable.
14587 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14588 (rint_towardzero_test_data): New variable.
14589 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14590 (rint_downward_test_data): New variable.
14591 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14592 (rint_upward_test_data): New variable.
14593 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14594 (round_test_data): New variable.
14595 (round_test): Run tests with RUN_TEST_LOOP_f_f.
14596 (sin_test_data): New variable.
14597 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
14598 (sin_tonearest_test_data): New variable.
14599 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14600 (sin_towardzero_test_data): New variable.
14601 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14602 (sin_downward_test_data): New variable.
14603 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14604 (sin_upward_test_data): New variable.
14605 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14606 (sinh_test_data): New variable.
14607 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
14608 (sinh_tonearest_test_data): New variable.
14609 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14610 (sinh_towardzero_test_data): New variable.
14611 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14612 (sinh_downward_test_data): New variable.
14613 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14614 (sinh_upward_test_data): New variable.
14615 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14616 (sqrt_test_data): New variable.
14617 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
14618 (tan_test_data): New variable.
14619 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
14620 (tan_tonearest_test_data): New variable.
14621 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14622 (tan_towardzero_test_data): New variable.
14623 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14624 (tan_downward_test_data): New variable.
14625 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14626 (tan_upward_test_data): New variable.
14627 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14628 (tanh_test_data): New variable.
14629 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
14630 (tgamma_test_data): New variable.
14631 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
14632 (trunc_test_data): New variable.
14633 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
14634 (y0_test_data): New variable.
14635 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
14636 (y1_test_data): New variable.
14637 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
14638 (significand_test_data): New variable.
14639 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
14640
146412013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
14642
14643 [BZ #12387]
14644 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
14645
146462013-05-10 Pino Toscano <toscano.pino@tiscali.it>
14647
14648 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
14649
146502013-05-10 Andreas Jaeger <aj@suse.de>
14651
14652 [BZ #15448]
14653 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
14654 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
14655
146562013-05-10 Joseph Myers <joseph@codesourcery.com>
14657
14658 * math/gen-libm-test.pl (adjust_arg): New function.
14659 (special_functions): Handle generating output in both functions
14660 and arrays.
14661 (parse_args): Likewise.
14662 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
14663 $in_func argument to parse_args.
14664 * math/libm-test.inc (struct test_f_f_data): New type.
14665 (IF_ROUND_INIT_): New macro.
14666 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
14667 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
14668 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
14669 (IF_ROUND_INIT_FE_UPWARD): Likewise.
14670 (ROUND_RESTORE_): Likewise.
14671 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
14672 (ROUND_RESTORE_FE_TONEAREST): Likewise.
14673 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
14674 (ROUND_RESTORE_FE_UPWARD): Likewise.
14675 (RUN_TEST_LOOP_f_f): New macro.
14676 (acos_test_data): New variable.
14677 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
14678 (acos_tonearest_test_data): New variable.
14679 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14680
146812013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14682
14683 * benchtests/bench-skeleton.c (startup): Fix coding style.
14684
146852013-05-10 Joseph Myers <joseph@codesourcery.com>
14686
14687 [BZ #6809]
14688 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
14689 negative infinity argument.
14690 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
14691 negative infinity argument.
14692 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
14693 negative infinity argument.
14694 * math/libm-test.inc (tgamma_test): Expect errno to be set for
14695 domain errors.
14696
146972013-05-10 Florian Weimer <fweimer@redhat.com>
14698
14699 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
14700 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
14701 * iconv/iconv_prog.c (main): Likewise.
14702 * locale/programs/charmap-dir.c (charmap_readdir)
14703 (fopen_uncompressed): Likewise.
14704 * locale/programs/locfile.c (siblings_uncached)
14705 (write_locale_data): Use lstat64 instead of lstat.
14706 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
14707 stat.
14708
147092013-05-10 Andreas Jaeger <aj@suse.de>
14710
14711 [BZ #15395]
14712 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
14713 localization.
14714 Include <locale.h>.
14715
147162013-05-09 Carlos O'Donell <carlos@redhat.com>
14717
14718 * elf/dl-close.c (_dl_close_worker): Add comments.
14719
147202013-05-09 Joseph Myers <joseph@codesourcery.com>
14721
14722 [BZ #15359]
14723 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
14724 high part of pi/2.
14725 (__ieee754_rem_pio2l): Update comments.
14726
14727 [BZ #15429]
14728 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
14729 high part of pi/2.
14730 (__ieee754_rem_pio2l): Update comments.
14731
14732 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
14733 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
14734
14735 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
14736 M_PI_4l.
14737
14738 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
14739 (M_PI_34_LOG10El): Likewise.
14740 (M_PI2_LOG10El): Likewise.
14741 (M_PI4_LOG10El): Likewise.
14742 (M_PI_LOG10El): Likewise.
14743
147442013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14745
14746 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14747
147482013-05-08 Joseph Myers <joseph@codesourcery.com>
14749
14750 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
14751 (MINUS_ZERO_INIT): Likewise.
14752 (PLUS_INFTY_INIT): Likewise.
14753 (MINUS_INFTY_INIT): Likewise.
14754 (QNAN_VALUE_INIT): Likewise.
14755 (MAX_VALUE_INIT): Likewise.
14756 (MIN_VALUE_INIT): Likewise.
14757 (MIN_SUBNORM_VALUE_INIT): Likewise.
14758 (plus_zero): Initialize with PLUS_ZERO_INIT.
14759 (minus_zero): Initialize with MINUS_ZERO_INIT.
14760 (plus_infty): Initialize with PLUS_INFTY_INIT.
14761 (minus_infty): Initialize with MINUS_INFTY_INIT.
14762 (qnan_value): Initialize with QNAN_VALUE_INIT.
14763 (max_value): Initialize with MAX_VALUE_INIT.
14764 (min_value): Initialize with MIN_VALUE_INIT.
14765 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
14766
14767 * math/libm-test.inc (RUN_TEST_if_f): New macro.
14768 (jn_test): Use TEST_if_f instead of TEST_ff_f.
14769 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
14770 (yn_test): Use TEST_if_f instead of TEST_ff_f.
14771
14772 * math/libm-test.inc (RUN_TEST_f_f): New macro.
14773 (RUN_TEST_2_f): Likewise.
14774 (RUN_TEST_ff_f): Likewise.
14775 (RUN_TEST_fi_f): Likewise.
14776 (RUN_TEST_fl_f): Likewise.
14777 (RUN_TEST_fff_f): Likewise.
14778 (RUN_TEST_c_f): Likewise.
14779 (RUN_TEST_f_f1): Likewise.
14780 (RUN_TEST_fF_f1): Likewise.
14781 (RUN_TEST_fI_f1): Likewise.
14782 (RUN_TEST_ffI_f1): Likewise.
14783 (RUN_TEST_c_c): Likewise.
14784 (RUN_TEST_cc_c): Likewise.
14785 (RUN_TEST_f_i): Likewise.
14786 (RUN_TEST_f_i_tg): Likewise.
14787 (RUN_TEST_ff_i_tg): Likewise.
14788 (RUN_TEST_f_b): Likewise.
14789 (RUN_TEST_f_b_tg): Likewise.
14790 (RUN_TEST_f_l): Likewise.
14791 (RUN_TEST_f_L): Likewise.
14792 (RUN_TEST_sincos): Likewise.
14793 * math/gen-libm-test.pl (new_test): Take new argument to indicate
14794 whether to show exceptions. Do not include ");\n" in return
14795 value.
14796 (special_functions): Output call to RUN_TEST_sincos instead of
14797 check_float calls. Update calls to new_test.
14798 (parse_args): Output call to single RUN_TEST_* macro instead of
14799 check_* calls and other assignments. Update calls to new_test.
14800
14801 [BZ #2546]
14802 [BZ #2560]
14803 [BZ #5159]
14804 [BZ #15426]
14805 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
14806 input to result for tgamma overflow.
14807 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
14808 (gamma_coeff): New variable.
14809 (NCOEFF): New macro.
14810 (gamma_positive): New function.
14811 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
14812 underflow here. Use gamma_positive instead of exp (lgamma) for
14813 other arguments.
14814 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
14815 (gamma_coeff): New variable.
14816 (NCOEFF): New macro.
14817 (gammaf_positive): New function.
14818 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
14819 underflow here. Use gamma_positive instead of exp (lgamma) for
14820 other arguments.
14821 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
14822 (gamma_coeff): New variable.
14823 (NCOEFF): New macro.
14824 (gammal_positive): New function.
14825 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
14826 underflow here. Use gamma_positive instead of exp (lgamma) for
14827 other arguments.
14828 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
14829 (gamma_coeff): New variable.
14830 (NCOEFF): New macro.
14831 (gammal_positive): New function.
14832 (__ieee754_gammal_r): Handle positive infinity, overflow and
14833 underflow here. Handle NaN the same as positive infinity. Remove
14834 check x < 0xffffffff for negative integers. Use gamma_positive
14835 instead of exp (lgamma) for other arguments.
14836 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
14837 (gamma_coeff): New variable.
14838 (NCOEFF): New macro.
14839 (gammal_positive): New function.
14840 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
14841 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
14842 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
14843 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
14844 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
14845 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
14846 * sysdeps/generic/math_private.h (__gamma_productf): New
14847 prototype.
14848 (__gamma_product): Likewise.
14849 (__gamma_productl): Likewise.
14850 * math/Makefile (libm-calls): Add gamma_product.
14851 * math/libm-test.inc (tgamma_test): Add more tests.
14852 * sysdeps/i386/fpu/libm-test-ulps: Update.
14853 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14854
148552013-05-08 Ondřej Bílka <neleai@seznam.cz>
14856
14857 * benchtests/bench-skeleton.c (main): Preheat CPU.
14858
148592013-05-07 Aurelien Jarno <aurelien@aurel32.net>
14860
14861 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
14862
148632013-05-07 Roland McGrath <roland@hack.frob.com>
14864
14865 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
14866 and _dl_skip_args_internal.
14867
148682013-05-07 Carlos O'Donell <carlos@redhat.com>
14869
14870 * manual/message.texi (Message Translation): Talk about users.
14871 Message to key mapping impacts design.
14872
148732013-05-06 Roland McGrath <roland@hack.frob.com>
14874
14875 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
14876
14877 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
14878
14879 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
14880 * sysdeps/wordsize-64/glob64.c: ... here.
14881
14882 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
14883 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
14884 New macros.
14885
14886 * debug/getlogin_r_chk.c: Moved to ...
14887 * login/getlogin_r_chk.c: ... here.
14888 * debug/Makefile (routines): Move getlogin_r_chk to ...
14889 * login/Makefile (routines): ... here.
14890 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
14891 * login/Versions (libc: GLIBC_2.4): ... here.
14892
14893 * io/poll.c (__poll): Renamed from poll.
14894 Add libc_hidden_def.
14895 (poll): Define as weak alias.
14896
14897 * debug/ptsname_r_chk.c: Moved to ...
14898 * login/ptsname_r_chk.c: ... here.
14899 * debug/Makefile (routines): Move ptsname_r_chk to ...
14900 * login/Makefile (routines): ... here.
14901 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
14902 * login/Versions (libc: GLIBC_2.4): ... here.
14903
14904 * posix/getlogin.c: Moved to ...
14905 * login/getlogin.c: ... here.
14906 * posix/getlogin_r.c: Moved to ...
14907 * login/getlogin_r.c: ... here.
14908 * posix/getlogin_r.c: Moved to ...
14909 * login/getlogin_r.c: ... here.
14910 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
14911 * login/Makefile (routines): ... here.
14912 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
14913 * login/Versions (libc: GLIBC_2.0): ... here.
14914
14915 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
14916 (setrlimit): Define as weak alias.
14917
14918 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
14919 Call __ names for open, ftruncate, and close.
14920 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
14921 (truncate): Define as weak alias.
14922
149232013-05-06 Joseph Myers <joseph@codesourcery.com>
14924
14925 * math/gen-libm-test.pl (parse_args): Initialize x before each
14926 test of frexp, modf and remquo.
14927
14928 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
14929 test signgam value.
14930
149312013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14932
14933 [BZ #15418]
14934 [BZ #15419]
14935 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
14936 internal tests.
14937 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14938
149392013-05-06 Roland McGrath <roland@hack.frob.com>
14940
14941 * elf/dl-writev.h: New file.
14942 * elf/dl-misc.c: Include it.
14943 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
14944 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
14945
149462013-05-04 Joseph Myers <joseph@codesourcery.com>
14947
14948 * math/libm-test.inc (noXFails): Remove variable.
14949 (noXPasses): Likewise.
14950 (BUILD_COMPLEX_INT): Remove macro.
14951 (print_screen): Remove xfail argument.
14952 (print_screen_max_error): Likewise.
14953 (update_stats): Likewise.
14954 (print_max_error): Likewise. Update calls to other affected
14955 functions.
14956 (print_complex_max_error): Likewise.
14957 (test_single_exception): Update calls to print_screen.
14958 (test_single_errno): Likewise.
14959 (check_float_internal): Remove xfail argument. Update calls to
14960 other affected functions.
14961 (check_float): Likewise.
14962 (check_complex): Likewise.
14963 (check_int): Likewise.
14964 (check_long): Likewise.
14965 (check_bool): Likewise.
14966 (check_longlong): Likewise.
14967 (main): Don't print noXFails and noXPasses.
14968 * math/gen-libm-test.pl (top level): Don't mention expected
14969 failure handling in comment.
14970 (new_test): Don't handle expected failures.
14971 (parse_args): Don't mention expected failure handling in comment.
14972 (generate_testfile): Don't handle expected failures.
14973 (parse_ulps): Likewise.
14974 (print_ulps_file): Likewise.
14975 (get_failure): Remove function.
14976 (output_test): Don't handle expected failures.
14977 * make/README.libm-test: Don't mention expected failure handling.
14978
14979 * math/libm-test.inc (plus_zero): Make const. Add initializer.
14980 (minus_zero): Likewise.
14981 (plus_infty): Likewise.
14982 (minus_infty): Likewise.
14983 (qnan_value): Likewise.
14984 (max_value): Likewise.
14985 (min_value): Likewise.
14986 (min_subnorm_value): Likewise.
14987 (initialize): Do not initialize those variables dynamically.
14988
149892013-05-03 Roland McGrath <roland@hack.frob.com>
14990
14991 * io/open.c (__open_2): Moved to ...
14992 * io/open_2.c: ... this new file.
14993 * io/open64.c (__open64_2): Moved to ...
14994 * io/open64_2.c: ... this new file.
14995 * io/openat.c (__openat_2): Moved to ...
14996 * io/openat_2.c: ... this new file.
14997 * io/openat64.c (__openat64_2): Moved to ...
14998 * io/openat64_2.c: ... this new file.
14999 * io/Makefile (routines): Add them.
15000 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
15001 * sysdeps/unix/sysv/linux/open_2.c: File removed.
15002 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
15003 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
15004 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
15005 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
15006 (__openat64): Add hidden_ver.
15007 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
15008 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
15009
15010 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
15011 Separately conditionalize setting of GLRO(dl_sysinfo) so
15012 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
15013 as well, but the actual setting is only under [NEED_DL_SYSINFO].
15014
150152013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15016
15017 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
15018 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
15019 definition.
15020 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
15021 * sysdeps/unix/sysv/linux/powerpc/init-first.c
15022 (_libc_vdso_platform_setup): Add __vdso_time initialization.
15023 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
15024 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
15025
150262013-05-03 Joseph Myers <joseph@codesourcery.com>
15027
15028 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
15029 test signgam value.
15030
15031 * math/libm-test.inc (hypot_test): Do not use
15032 IGNORE_ZERO_INF_SIGN.
15033
150342013-05-03 Andreas Jaeger <aj@suse.de>
15035
15036 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
15037 Linux 3.9.
15038 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
15039 (PF_MAX): Adjust for VSOCK change.
15040
150412013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15042
15043 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15044
150452013-05-02 Carlos O'Donell <carlos@redhat.com>
15046
15047 [BZ #15264]
15048 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
15049 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
15050 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
15051
150522013-05-02 David S. Miller <davem@davemloft.net>
15053
15054 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15055
150562013-05-01 Ondřej Bílka <neleai@seznam.cz>
15057
15058 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
15059
150602013-05-01 Roland McGrath <roland@hack.frob.com>
15061
15062 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
15063
150642013-05-01 Richard Smith <richard@metafoo.co.uk>
15065
15066 [BZ #14952]
15067 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
15068 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
15069 Use __attribute__ ((__gnu_inline__)).
15070 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
15071 Don't use __attribute__ ((__gnu_inline__)).
15072
150732013-05-01 Joseph Myers <joseph@codesourcery.com>
15074
15075 [BZ #15423]
15076 * math/s_catan.c (__catan): Handle small real or imaginary part of
15077 input specially to avoid spurious underflow.
15078 * math/s_catanf.c (__catanf): Likewise.
15079 * math/s_catanh.c (__catanh): Likewise.
15080 * math/s_catanhf.c (__catanhf): Likewise.
15081 * math/s_catanhl.c (__catanhl): Likewise.
15082 * math/s_catanl.c (__catanl): Likewise.
15083 * math/libm-test.inc (catan_test): Add more tests.
15084 (catanh_test): Likewise.
15085 * sysdeps/i386/fpu/libm-test-ulps: Update.
15086 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15087
150882013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15089
15090 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15091
150922013-04-30 Joseph Myers <joseph@codesourcery.com>
15093
15094 [BZ #15416]
15095 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
15096 accurately for denominator in atan2.
15097 * math/s_catanf.c (__catanf): Likewise.
15098 * math/s_catanh.c (__catanh): Likewise.
15099 * math/s_catanhf.c (__catanhf): Likewise.
15100 * math/s_catanhl.c (__catanhl): Likewise.
15101 * math/s_catanl.c (__catanl): Likewise.
15102 * math/libm-test.inc (catan_test): Add more tests.
15103 (catanh_test): Likewise.
15104 * sysdeps/i386/fpu/libm-test-ulps: Update.
15105 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15106
151072013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15108
15109 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
15110
15111 * benchtests/Makefile (bench): Remove slow benchmarks.
15112 * benchtests/atan-inputs: Add slow benchmark inputs.
15113 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
15114 (BENCH_FUNC): Accept variant offset.
15115 (VARIANT): Define.
15116 * benchtests/bench-skeleton.c (main): Run benchmark for each
15117 variant.
15118 * benchtests/cos-inputs: Add slow benchmark inputs.
15119 * benchtests/exp-inputs: Likewise.
15120 * benchtests/pow-inputs: Likewise.
15121 * benchtests/sin-inputs: Likewise.
15122 * benchtests/slowatan-inputs: Remove.
15123 * benchtests/slowatan.c: Remove.
15124 * benchtests/slowcos-inputs: Remove.
15125 * benchtests/slowcos.c: Remove.
15126 * benchtests/slowexp-inputs: Remove.
15127 * benchtests/slowexp.c: Remove.
15128 * benchtests/slowpow-inputs: Remove.
15129 * benchtests/slowpow.c: Remove.
15130 * benchtests/slowsin-inputs: Remove.
15131 * benchtests/slowsin.c: Remove.
15132 * benchtests/slowtan-inputs: Remove.
15133 * benchtests/slowtan.c: Remove.
15134 * benchtests/tan-inputs: Add slow benchmark inputs.
15135 * scripts/bench.pl: Parse comments and directives.
15136
15137 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
15138 in CPPFLAGS.
15139 ($(objpfx)bench-%.c): Remove *-ITER.
15140 * benchtests/bench-modf.c: Remove definition of ITER.
15141 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
15142 (main): Loop for DURATION seconds instead of fixed number of
15143 iterations.
15144 * scripts/bench.pl: Don't expect iterations in parameters.
15145
151462013-04-29 Roland McGrath <roland@hack.frob.com>
15147
15148 * io/fchdir.c (__fchdir): Renamed from fchdir.
15149 (fchdir): Define as weak alias.
15150
151512013-04-29 Joseph Myers <joseph@codesourcery.com>
15152
15153 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
15154 (ERRNO_EDOM): Likewise.
15155 (ERRNO_ERANGE): Likewise.
15156 (noErrnoTests): New variable.
15157 (init_max_error): Set errno to 0.
15158 (test_single_errno): New function.
15159 (test_errno): Likewise.
15160 (check_float_internal): Call test_errno. Set errno to 0.
15161 (check_complex): Refer to errno tests in comment.
15162 (check_int): Call test_errno. Set errno to 0.
15163 (check_long): Likewise.
15164 (check_bool): Likewise.
15165 (check_longlong): Likewise.
15166 (cos_test): Use ERRNO_* flags for errno tests instead of
15167 check_int.
15168 (expm1_test): Likewise.
15169 (fmod_test): Likewise.
15170 (ilogb_test): Likewise.
15171 (lgamma_test): Likewise.
15172 (pow_test): Likewise.
15173 (remainder_test): Likewise.
15174 (sin_test): Likewise.
15175 (tan_test): Likewise.
15176 (yn_test): Likewise.
15177 (initialize): Set errno to 0.
15178 (main): Print number of errno tests.
15179 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
15180
151812013-04-29 Andreas Jaeger <aj@suse.de>
15182
15183 [BZ #15084]
15184 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
15185 and RES_USEVC.
15186
15187 [BZ #15085]
15188 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
15189 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
15190 unimplemented.
15191
15192 [BZ #15380]
15193 * stdlib/random.c (__initstate): Return NULL if
15194 __initstate fails.
15195
15196 [BZ #15086]
15197 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
15198 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
15199 RES_SNGLKUPREOP.
15200
152012013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15202
15203 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15204
152052013-04-29 Joseph Myers <joseph@codesourcery.com>
15206
15207 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
15208 of individual tests.
15209 (casin_test): Likewise.
15210 (casinh_test): Likewise.
15211
152122013-04-27 Joseph Myers <joseph@codesourcery.com>
15213
15214 [BZ #15409]
15215 * math/s_catan.c (__catan): Handle arguments with large real or
15216 imaginary part separately without squaring.
15217 * math/s_catanf.c (__catanf): Likewise.
15218 * math/s_catanh.c (__catanh): Likewise.
15219 * math/s_catanhf.c (__catanhf): Likewise.
15220 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15221 and redefine.
15222 (__catanhl): Handle arguments with large real or imaginary part
15223 separately without squaring.
15224 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15225 and redefine.
15226 (__catanl): Handle arguments with large real or imaginary part
15227 separately without squaring.
15228 * math/libm-test.inc (catan_test): Add more tests.
15229 (catanh_test): Likewise.
15230 * sysdeps/i386/fpu/libm-test-ulps: Update.
15231 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15232
152332013-04-27 Andreas Jaeger <aj@suse.de>
15234
15235 [BZ #15007]
15236 * stdlib/stdlib.h: Update guards for qecvt.
15237 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
15238 <stdlib.h>.
15239
152402013-04-27 Allan McRae <allan@archlinux.org>
15241
15242 * sysdeps/i386/fpu/libm-test-ulps: Update.
15243
152442013-04-26 Joseph Myers <joseph@codesourcery.com>
15245
15246 [BZ #15406]
15247 * math/s_catan.c: Include <float.h>.
15248 (__catan): Ensure underflow exception occurs for underflowed
15249 result.
15250 * math/s_catanf.c: Include <float.h>.
15251 (__catanf): Ensure underflow exception occurs for underflowed
15252 result.
15253 * math/s_catanh.c: Include <float.h>.
15254 (__catanh): Ensure underflow exception occurs for underflowed
15255 result.
15256 * math/s_catanhf.c: Include <float.h>.
15257 (__catanhf): Ensure underflow exception occurs for underflowed
15258 result.
15259 * math/s_catanhl.c: Include <float.h>.
15260 (__catanhl): Ensure underflow exception occurs for underflowed
15261 result.
15262 * math/s_catanl.c: Include <float.h>.
15263 (__catanl): Ensure underflow exception occurs for underflowed
15264 result.
15265 * math/libm-test.inc (catan_test): Add more tests.
15266 (catanh_test): Likewise.
15267
15268 [BZ #15405]
15269 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
15270 underflowed result.
15271 * math/s_ccoshf.c (__ccoshf): Likewise.
15272 * math/s_ccoshl.c (__ccoshl): Likewise.
15273 * math/s_csin.c (__csin): Likewise.
15274 * math/s_csinf.c (__csinf): Likewise.
15275 * math/s_csinh.c (__csinh): Likewise.
15276 * math/s_csinhf.c (__csinhf): Likewise.
15277 * math/s_csinhl.c (__csinhl): Likewise.
15278 * math/s_csinl.c (__csinl): Likewise.
15279 * math/libm-test.inc (ccos_test): Add more tests.
15280 (ccosh_test): Likewise.
15281 (csin_test): Likewise.
15282 (csinh_test): Likewise.
15283
152842013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15285
15286 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
15287 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
15288 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
15289 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
15290 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
15291 powerpc/power5+/fpu folders.
15292 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
15293
15294
152952013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
15296
15297 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15298
152992013-04-25 Joseph Myers <joseph@codesourcery.com>
15300
15301 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
15302 additions to variable.
15303 [$(config-machine) = x86_64] (modules-names): Likewise.
15304 ($(objpfx)tst-audit3): Remove dependency.
15305 ($(objpfx)tst-audit3.out): Likewise.
15306 ($(objpfx)tst-audit4): Likewise.
15307 ($(objpfx)tst-audit4.out): Likewise.
15308 ($(objpfx)tst-audit5): Likewise.
15309 ($(objpfx)tst-audit5.out): Likewise.
15310 ($(objpfx)tst-audit6): Likewise.
15311 ($(objpfx)tst-audit6.out): Likewise.
15312 ($(objpfx)tst-audit7): Likewise.
15313 ($(objpfx)tst-audit7.out): Likewise.
15314 (tst-audit3-ENV): Remove variable.
15315 (tst-audit4-ENV): Likewise.
15316 (tst-audit5-ENV): Likewise.
15317 (tst-audit6-ENV): Likewise.
15318 (tst-audit7-ENV): Likewise.
15319 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
15320 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
15321 addition to variable.
15322 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
15323 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
15324 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
15325 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
15326 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
15327 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
15328 tst-audit3, tst-audit4 and tst-audit5.
15329 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
15330 tst-audit6 and tst-audit7.
15331 [$(subdir) = elf] (modules-names): Add audit modules for those
15332 tests.
15333 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
15334 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
15335 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
15336 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
15337 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
15338 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
15339 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
15340 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
15341 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
15342 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
15343 [$(subdir) = elf] (tst-audit3-ENV): New variable.
15344 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
15345 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
15346 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
15347 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
15348 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
15349 Likewise.
15350 [$(subdir) = elf && $(config-cflags-avx) = yes]
15351 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
15352 [$(subdir) = elf && $(config-cflags-avx) = yes]
15353 (CFLAGS-tst-auditmod4a.c): Likewise.
15354 [$(subdir) = elf && $(config-cflags-avx) = yes]
15355 (CFLAGS-tst-auditmod4b.c): Likewise.
15356 [$(subdir) = elf && $(config-cflags-avx) = yes]
15357 (CFLAGS-tst-auditmod6b.c): Likewise.
15358 [$(subdir) = elf && $(config-cflags-avx) = yes]
15359 (CFLAGS-tst-auditmod6c.c): Likewise.
15360 [$(subdir) = elf && $(config-cflags-avx) = yes]
15361 (CFLAGS-tst-auditmod7b.c): Likewise.
15362 * elf/tst-audit3.c: Move to ...
15363 * sysdeps/x86_64/tst-audit3.c: ... here.
15364 * elf/tst-audit4.c: Move to ...
15365 * sysdeps/x86_64/tst-audit4.c: ... here.
15366 * elf/tst-audit5.c: Move to ...
15367 * sysdeps/x86_64/tst-audit5.c: ... here.
15368 * elf/tst-audit6.c: Move to ...
15369 * sysdeps/x86_64/tst-audit6.c: ... here.
15370 * elf/tst-audit7.c: Move to ...
15371 * sysdeps/x86_64/tst-audit7.c: ... here.
15372 * elf/tst-auditmod3a.c: Move to ...
15373 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
15374 * elf/tst-auditmod3b.c: Move to ...
15375 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
15376 * elf/tst-auditmod4a.c: Move to ...
15377 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
15378 * elf/tst-auditmod4b.c: Move to ...
15379 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
15380 * elf/tst-auditmod5a.c: Move to ...
15381 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
15382 * elf/tst-auditmod5b.c: Move to ...
15383 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
15384 * elf/tst-auditmod6a.c: Move to ...
15385 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
15386 * elf/tst-auditmod6b.c: Move to ...
15387 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
15388 * elf/tst-auditmod6c.c: Move to ...
15389 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
15390 * elf/tst-auditmod7a.c: Move to ...
15391 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
15392 * elf/tst-auditmod7b.c: Move to ...
15393 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
15394
153952013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
15396
15397 [BZ #15366]
15398 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
15399 define unconditionally.
15400 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
15401 define unconditionally.
15402 (INT8_C, INT16_C, etc.): Likewise.
15403
154042013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
15405
15406 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
15407 __ehdr_start with hidden visibility.
15408
15409 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
15410
154112013-04-24 Carlos O'Donell <carlos@redhat.com>
15412
15413 * math/libm-test.inc (cos_test): Use accurate hex constants.
15414 (sincost_test): Likewise.
15415
154162013-04-24 Joseph Myers <joseph@codesourcery.com>
15417
15418 * math/libm-test.inc (catan_test): Add more tests.
15419 (catanh_test): Likewise.
15420
15421 * math/s_catanf.c (__catanf): Use suffixed floating-point
15422 constants.
15423 * math/s_catanhf.c (__catanhf): Likewise.
15424 * math/s_catanhl.c (__catanhl): Likewise.
15425 * math/s_catanl.c (__catanl): Likewise.
15426
15427 [BZ #15394]
15428 * math/s_catan.c (__catan): Calculate imaginary part of result
15429 with log1p not log unless computing log of number close to 0.
15430 * math/s_catanf.c (__catanf): Likewise.
15431 * math/s_catanl.c (__catanl): Likewise.
15432 * math/s_catanh.c (__catanh): Calculate real part of result with
15433 log1p not log unless computing log of number close to 0.
15434 * math/s_catanhf.c (__catanhf): Likewise.
15435 * math/s_catanhl.c (__catanhl): Likewise.
15436 * math/libm-test.inc (catan_test): Add more tests.
15437 (catanh_test): Likewise.
15438 * sysdeps/i386/fpu/libm-test-ulps: Update.
15439 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15440
154412013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15442
15443 * benchtests/Makefile: Mention files in which fast and slow
15444 paths of math functions are implemented.
15445
154462013-04-23 Roland McGrath <roland@hack.frob.com>
15447
15448 * sysdeps/posix/timespec_get.c: New file.
15449
154502013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15451
15452 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
15453 POWER.
15454 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
15455 for POWER.
15456 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
15457 powerpc/power5/fpu folders.
15458 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
15459 * benchtests/Makefile: Add modf testcase.
15460 * benchtests/bench-modf.c: New file: Benchmark test for mo
15461
154622013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
15463
15464 [BZ #14888]
15465 * time/Makefile (tests): Add tst-strptime-whitespace.
15466 * time/strptime_l.c (get_number): Use ISSPACE.
15467 (__strptime_internal): Likewise.
15468 * time/tst-strptime-whitespace.c: New test case.
15469
154702013-04-23 Andreas Schwab <schwab@linux-m68k.org>
15471
15472 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
15473 member.
15474 (_nss_files_init): Set it here.
15475
154762013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
15477
15478 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
15479 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
15480 unsigned.
15481
154822013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
15483
15484 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
15485
154862013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15487
15488 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
15489 size just once.
15490
154912013-04-21 David S. Miller <davem@davemloft.net>
15492
15493 * po/ru.po: Update Russion translation from translation project.
15494
154952013-04-17 Adam Conrad <adconrad@0c3.net>
15496
15497 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
15498 and setfsgid.
15499
155002013-04-17 Carlos O'Donell <carlos@redhat.com>
15501
15502 * configure.in: Remove i386 configure warning. Remove i386 case.
15503 * configure: Regenerate.
15504 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
15505 Add example to error message.
15506 * sysdeps/i386/configure: Regenerate.
15507
155082013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15509
15510 * benchtests/Makefile (bench): Add cos, tan, slowcos and
15511 slowtan.
15512 * benchtests/cos-inputs: New file.
15513 * benchtests/slowcos-inputs: New file.
15514 * benchtests/slowcos.c: New file.
15515 * benchtests/slowtan-inputs: New file.
15516 * benchtests/slowtan.c: New file.
15517 * benchtests/tan-inputs: New file.
15518
155192013-04-16 Roland McGrath <roland@hack.frob.com>
15520
15521 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
15522 considered kosher.
15523
155242013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15525
15526 * benchtests/Makefile: Include cppflags-iterator.mk to add
15527 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
15528
15529 * Makefile.in (bench-clean): New target.
15530 * benchtests/Makefile (bench-clean): Likewise.
15531
155322013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
15533
15534 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
15535
155362013-04-15 Thomas Schwinge <thomas@codesourcery.com>
15537
15538 * stdio-common/tstdiomisc.c: Fix coding-style violation.
15539
155402013-04-15 Andreas Schwab <schwab@suse.de>
15541
15542 * nscd/grpcache.c (cache_addgr): Properly check for short write.
15543 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15544 * nscd/pwdcache.c (cache_addpw): Likewise.
15545 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
15546 more than recsize.
15547
155482013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15549
15550 * benchtests/Makefile (bench): Write all output to
15551 bench-out.tmp together.
15552
155532013-04-15 Andreas Schwab <schwab@suse.de>
15554
15555 * nscd/nscd.c (main): Don't fork again after closing files.
15556
155572013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15558
15559 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
15560
15561 * benchtests/Rules (bench-deps): Collect dependencies into a
15562 single variable. Add Makefile to dependencies.
15563 ($(objpfx)bench-%.c): Depend on bench-deps.
15564
155652013-04-12 Roland McGrath <roland@hack.frob.com>
15566 Xavier Roche <roche+kml2@exalead.com>
15567
15568 [BZ #15361]
15569 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
15570 just that it's a file descriptor.
15571 * manual/llio.texi (Synchronizing AIO Operations): Update description
15572 for EBADF error from aio_fsync.
15573
155742013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15575
15576 * Rules (bench): Move target definition...
15577 * benchtests/Makefile: ... here.
15578
155792013-04-11 Carlos O'Donell <carlos@redhat.com>
15580
15581 * math/libm-test.inc (cos_test): Fix PI/2 test.
15582 (sincos_test): Likewise.
15583 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
15584 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
15585
155862013-04-11 Andreas Schwab <schwab@suse.de>
15587
15588 [BZ #13988]
15589 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
15590 accept exponent character only when digits were seen.
15591 * stdio-common/Makefile (tests): Add bug26.
15592 * stdio-common/bug26.c: New file.
15593
15594 [BZ #14293]
15595 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
15596 non-freeable.
15597
155982013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15599
15600 * Makeconfig (rtld-prefix): Define built linker prefix.
15601 * Rules (run-bench): Use it.
15602 * math/Makefile (run-regen-ulps): Likewise.
15603
15604 * Rules (bench): Remove eval.
15605
156062013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15607 Roland McGrath <roland@hack.frob.com>
15608 Ondrej Bilka <neleai@seznam.cz>
15609
15610 [BZ #15346]
15611 * time/getdate.c: Include ctype.h and alloca.h.
15612 (__getdate_r): Trim leading and trailing spaces of input.
15613 * time/tst-getdate.c (tests): Add tests with leading and
15614 trailing spaces.
15615
156162013-04-08 Roland McGrath <roland@hack.frob.com>
15617
15618 [BZ #14280]
15619 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
15620 when computing value.
15621
156222013-04-06 Carlos O'Donell <carlos@redhat.com>
15623
15624 * math/README.libm-test (How can I generate "libm-test-ulps"?):
15625 Use testrun.sh to run libm tests.
15626
15627 [BZ #15309]
15628 * elf/dl-open.c (dl_open_worker): memset all of seen array.
15629
156302013-04-06 Marko Myllynen <myllynen@redhat.com>
15631
15632 [BZ #15264]
15633 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
15634
156352013-04-06 Carlos O'Donell <carlos@redhat.com>
15636
15637 * Makefile.in (regen-ulps): New target.
15638 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
15639 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
15640 [ifneq (no,$(PERL)] (regen-ulps): New target.
15641 [ifeq (no,$(PERL)] (regen-ulps): New target.
15642 * math/libm-test.inc (ulps_file_name): Define.
15643 (output_dir): New variable.
15644 (options): Add "output-dir" option.
15645 (parse_opt): Handle 'o' case.
15646 (main): If output_dir is non-NULL use it as a prefix
15647 otherwise use "".
15648 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
15649
156502013-04-06 Carlos O'Donell <carlos@redhat.com>
15651
15652 [BZ #10060, #10062]
15653 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
15654 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
15655 fail configure if __sync_val_compare_and_swap is not inlined.
15656 * sysdeps/i386/configure: Regenerate.
15657 * configure.in: Build for i686 when configured for i386.
15658 * configure: Regenerate.
15659 * README: Remove i386 reference.
15660
156612013-04-06 Carlos O'Donell <carlos@redhat.com>
15662
15663 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
15664 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15665
156662013-04-05 Thomas Schwinge <thomas@codesourcery.com>
15667
15668 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
15669 (lmsnanval): New variables.
15670 (F): Add conversion tests.
15671 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
15672 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
15673
15674 * stdio-common/tstdiomisc.c (F): Properly collect individual
15675 tests' results.
15676
15677 [BZ #14686, #15336]
15678 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
15679 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
15680 Instead, use input NaN values or generate a qNaN by arithmetic
15681 operation. Also fix bugs to comply with the standard.
15682 * math/libm-test.inc (remainder_test): Add more tests.
15683
15684 [BZ #15335, #15342]
15685 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
15686 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
15687 input NaN values or generate a qNaN by arithmetic operation.
15688
15689 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
15690 unreachable code.
15691
15692 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
15693 definitions.
15694
156952013-04-03 Joseph Myers <joseph@codesourcery.com>
15696
15697 [BZ #14478]
15698 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
15699 underflowed result.
15700 * math/s_cexpf.c (__cexpf): Likewise.
15701 * math/s_cexpl.c (__cexpl): Likewise.
15702 * math/libm-test.inc (cexp_test): Add more tests.
15703
157042013-04-03 Andreas Schwab <schwab@suse.de>
15705
15706 [BZ #15330]
15707 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
15708 order arrays from heap if bigger than alloca cutoff.
15709
157102013-04-03 Thomas Schwinge <thomas@codesourcery.com>
15711
15712 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
15713 (SNAN_TESTS_double): Refer to GCC PR56831.
15714 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
15715 GCC PR56828.
15716
157172013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15718
15719 * Rules (bench): Move bench.out after the run is complete.
15720
15721 * Rules (bench): Echo currently running benchmark.
15722
15723 * benchtests/Makefile (bench): Add atan and slowatan.
15724 * benchtests/atan-inputs: New file.
15725 * benchtests/slowatan-inputs: New file.
15726 * benchtests/slowatan.c: New file.
15727
15728 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
15729 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
15730 its value.
15731
15732 [BZ #15305]
15733 * sysdeps/unix/sysv/linux/kernel-features.h
15734 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
15735 __ASSUME_XFS_RESTRICTED_CHOWN.
15736 * sysdeps/unix/sysv/linux/pathconf.c
15737 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
15738 Save and restore errno.
15739
157402013-04-02 Joseph Myers <joseph@codesourcery.com>
15741
15742 [BZ #15327]
15743 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
15744 arguments using __kernel_casinh.
15745 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
15746 arguments using __kernel_casinhf.
15747 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
15748 arguments using __kernel_casinhl.
15749 * math/libm-test.inc (cacosh_test): Add more tests.
15750 * sysdeps/i386/fpu/libm-test-ulps: Update.
15751 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15752
157532013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15754
15755 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
15756 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
15757
15758 * bench/Makefile (bench): Add sin and slowsin.
15759 * benchtests/sin-inputs: New file.
15760 * benchtests/slowsin-inputs: New file.
15761 * benchtests/slowsin.c: New file.
15762
15763 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
15764 (bench): Add slowexp and slowpow.
15765 (exp-ITER): Increase iterations.
15766 (pow-ITER): Likewise.
15767 * benchtests/exp-inputs: Change input.
15768 * benchtests/pow-inputs: Likewise.
15769 * benchtests/slowexp-inputs: New file.
15770 * benchtests/slowexp.c: New file.
15771 * benchtests/slowpow-inputs: New file.
15772 * benchtests/slowpow.c: New file.
15773
157742013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15775
15776 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
15777 instructions.
15778 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
15779 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
15780 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
15781 * benchtests/Makefile: Add rint benchtest.
15782 * benchtests/rint-inputs: Input for rint benchtest.
15783
157842013-04-02 Thomas Schwinge <thomas@codesourcery.com>
15785
15786 * Versions.def (libm): Add GLIBC_2.18.
15787 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
15788 hidden libm prototypes.
15789 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
15790 * math/Makefile (libm-calls): Add s_issignaling.
15791 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
15792 __issignalingf, __issignalingl. Adjust all libm.abilist files.
15793 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
15794 declaration.
15795 * math/math.h [__USE_GNU] (issignaling): New macro.
15796 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
15797 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
15798 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
15799 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
15800 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
15801 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
15802 * manual/arith.texi (issignaling): New section.
15803 * manual/libm-err-tab.pl (@all_functions): Update comment.
15804 * math/gen-libm-test.pl (parse_args): Apply special handling for
15805 issignaling.
15806 * math/libm-test.inc (print_float, issignaling_test): New
15807 functions.
15808 (check_float_internal): Add issignaling checks.
15809 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
15810 default definition.
15811 * sysdeps/powerpc/math-tests.h: New file.
15812 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
15813 tests.
15814 * math/test-snan.c (TEST_FUNC): Likewise.
15815
158162013-03-30 David S. Miller <davem@davemloft.net>
15817
15818 * po/de.po: Update from translation team.
15819
158202013-03-30 Joseph Myers <joseph@codesourcery.com>
15821
15822 [BZ #10357]
15823 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15824 imaginary part less than 1.0 and real part less than 0.5
15825 specially.
15826 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15827 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15828 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
15829 (cacos_test): Add more tests.
15830 (casin_test): Likewise.
15831 (casinh_test): Likewise.
15832 * sysdeps/i386/fpu/libm-test-ulps: Update.
15833 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15834
158352013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15836
15837 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
15838 ONE with its value.
15839
15840 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
15841 (__pow_mp): Replace ONE and MONE with their values.
15842 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15843 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
15844 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15845 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
15846 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15847 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15848
15849 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
15850
15851 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
15852 (__pow_mp): Replace ZERO and MZERO with their values.
15853 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15854 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15855 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15856 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
15857 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15858 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
15859 (__sqr): Likewise.
15860
15861 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
15862
15863 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
15864
158652013-03-28 Roland McGrath <roland@hack.frob.com>
15866
15867 * include/stdlib.h [!SHARED] (__call_tls_dtors):
15868 Declare with __attribute__ ((weak)).
15869 * stdlib/exit.c (__libc_atexit) [!SHARED]:
15870 Call __call_tls_dtors only if it's not NULL.
15871
158722013-03-28 Roland McGrath <roland@hack.frob.com>
15873
15874 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
15875 didn't do it already, then set _dl_phdr and _dl_phnum based on the
15876 magic __ehdr_start linker symbol if it's defined.
15877 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
15878 them up here if it was already done.
15879
15880 * elf/dl-support.c (_dl_phdr): Make pointer to const.
15881 (_dl_aux_init): Use const in cast when setting it.
15882 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
15883 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
15884 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
15885
15886 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
15887 Declare them here.
15888 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
15889 * csu/libc-tls.c: Nor here.
15890 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
15891
15892 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
15893 (__libc_message): Never call vsyslog.
15894
158952013-03-28 Alan Modra <amodra@gmail.com>
15896
15897 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
15898 Define as empty.
15899 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
15900 Likewise.
15901
159022013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15903
15904 [BZ #15214]
15905 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
15906 underflow.
15907 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15908
159092013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15910
15911 [BZ #15304]
15912 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
15913 Don't add gid passed as argument.
15914
15915 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
15916
159172013-03-27 Joseph Myers <joseph@codesourcery.com>
15918
15919 [BZ #15307]
15920 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15921 imaginary part between 1.0 and 1.5 and real part less than 0.5
15922 specially.
15923 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15924 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15925 * math/libm-test.inc (cacos_test): Add more tests.
15926 (casin_test): Likewise.
15927 (casinh_test): Likewise.
15928 * sysdeps/i386/fpu/libm-test-ulps: Update.
15929 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15930
159312013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15932
15933 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
15934 constants.
15935 (norm): Likewise.
15936 (denorm): Likewise.
15937 (__dbl_mp): Likewise.
15938 (add_magnitudes): Likewise.
15939 (sub_magnitudes): Likewise.
15940 (__add): Likewise.
15941 (__sub): Likewise.
15942 (__mul): Likewise.
15943 (__sqr): Likewise.
15944 (__inv): Likewise.
15945 (__dvd): Likewise.
15946
15947 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
15948 commented code.
15949 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
15950 (__dubcos): Likewise.
15951 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
15952 (__ieee754_acos): Likewise.
15953 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15954 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
15955 (__exp1): Likewise.
15956 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15957 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
15958 (log1): Likewise.
15959 (my_log2): Likewise.
15960 (checkint): Likewise.
15961 * sysdeps/ieee754/dbl-64/e_remainder.c
15962 (__ieee754_remainder): Likewise.
15963 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15964 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
15965 (bsloww): Likewise.
15966 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15967
15968 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
15969 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
15970 MANTISSA_STORE_T to store computations on mantissa. Use
15971 macros for rounding and division.
15972 (denorm): Likewise.
15973 (__dbl_mp): Likewise.
15974 (add_magnitudes): Likewise.
15975 (sub_magnitudes): Likewise.
15976 (__mul): Likewise.
15977 (__sqr): Likewise.
15978 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
15979 powers of two in terms of TWOPOW macro.
15980 (mp_no): Make type of mantissa as MANTISSA_T.
15981 [!RADIXI]: Define RADIXI.
15982 [!TWO52]: Define TWO52.
15983 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
15984
159852013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15986
15987 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
15988 llroundl symbol when building for PPC32.
15989
159902013-03-24 Mark H Weaver <mhw@netris.org>
15991
15992 * manual/arith.texi (Normalization Functions): Fix prototypes for
15993 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
15994
159952013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15996
15997 [BZ #13889]
15998 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
15999 high value to check if expl overflow.
16000 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
16001 to check for underflow and overflow.
16002 * math/libm-test.inc: Add exp test.
16003
160042013-03-21 Dmitry V. Levin <ldv@altlinux.org>
16005
16006 [BZ #11120]
16007 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
16008 with NOT_IN_libc.
16009
160102013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16011
16012 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
16013 symbol.
16014
160152013-03-21 Thomas Schwinge <thomas@codesourcery.com>
16016
16017 * math/gen-libm-test.pl (parse_args, special_functions): Properly
16018 wrap blocks consisting of several statements.
16019
16020 * sysdeps/generic/math-tests.h: New file.
16021 * sysdeps/i386/fpu/math-tests.h: Likewise.
16022 * math/test-snan.c: Include it.
16023 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
16024
160252013-03-21 Joseph Myers <joseph@codesourcery.com>
16026
16027 [BZ #15285]
16028 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
16029 (__ieee754_j0l): Do not improve calculations using cos of twice
16030 input for inputs above LDBL_MAX / 2.0L.
16031 (__ieee754_y0l): Likewise.
16032 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
16033 (__ieee754_j1l): Do not improve calculations using cos of twice
16034 input for inputs above LDBL_MAX / 2.0L.
16035 (__ieee754_y1l): Likewise.
16036 * math/libm-test.inc (j0_test): Add another test.
16037 (j1_test): Likewise.
16038 (y0_test): Likewise.
16039 (y1_test): Likewise.
16040 * sysdeps/i386/fpu/libm-test-ulps: Update.
16041
160422013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16043
16044 * Rules ($(objpfx)bench-%.c): Include code from a C source
16045 file.
16046
160472013-03-21 Joseph Myers <joseph@codesourcery.com>
16048
16049 [BZ #15287]
16050 * math/k_casinh.c (__kernel_casinh): Handle arguments with
16051 imaginary part 1.0 and real part less than 0.5 specially.
16052 * math/k_casinhf.c (__kernel_casinhf): Likewise.
16053 * math/k_casinhl.c (__kernel_casinhl): Likewise.
16054 * math/libm-test.inc (cacos_test): Add more tests.
16055 (casin_test): Likewise.
16056 (casinh_test): Likewise.
16057 * sysdeps/i386/fpu/libm-test-ulps: Update.
16058 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16059
160602013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16061
16062 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
16063 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
16064
160652013-03-20 Joseph Myers <joseph@codesourcery.com>
16066
16067 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
16068 * config.make.in (config-cflags-sse4): Remove variable.
16069 (config-cflags-avx): Likewise.
16070 (config-cflags-sse2avx): Likewise.
16071 (config-cflags-novzeroupper): Likewise.
16072 (config-asflags-i686): Likewise.
16073 (have-mfma4): Likewise.
16074 (have-as-vis3): Likewise.
16075 (MIG): Likewise.
16076 * configure.in (MIG): Do not AC_SUBST.
16077 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
16078 (libc_cv_cc_sse4): Do not AC_SUBST.
16079 (libc_cv_cc_avx): Likewise.
16080 (libc_cv_cc_sse2avx): Likewise.
16081 (libc_cv_cc_novzeroupper): Likewise.
16082 (libc_cv_cc_fma4): Likewise.
16083 (libc_cv_as_i686): Likewise.
16084 (libc_cv_sparc_as_vis3): Likewise.
16085 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
16086 LIBC_CONFIG_VAR.
16087 (config-asflags-i686): Likewise.
16088 (config-cflags-avx): Likewise.
16089 (config-cflags-sse2avx): Likewise.
16090 (have-mfma4): Likewise.
16091 (config-cflags-novzeroupper): Likewise.
16092 * sysdeps/mach/configure.in (MIG): Likewise.
16093 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
16094 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
16095 LIBC_CONFIG_VAR.
16096 (config-cflags-avx): Likewise.
16097 (config-cflags-sse2avx): Likewise.
16098 (have-mfma4): Likewise.
16099 (config-cflags-novzeroupper): Likewise.
16100 * configure: Regenerated.
16101 * sysdeps/i386/configure: Likewise.
16102 * sysdeps/mach/configure: Likewise.
16103 * sysdeps/sparc/configure: Likewise.
16104 * sysdeps/x86_64/configure: Likewise.
16105
161062013-03-20 Roland McGrath <roland@hack.frob.com>
16107
16108 [BZ #14812]
16109 * locale/programs/localedef.c (options): Put N_ translation marker
16110 on argument names, not just descriptions.
16111
161122013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16113
16114 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
16115
161162013-03-20 Ondřej Bílka <neleai@seznam.cz>
16117
16118 [BZ #14176]
16119 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
16120
161212013-03-19 Roland McGrath <roland@hack.frob.com>
16122
16123 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
16124 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
16125 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
16126 [!BEFORE_ABORT] (before_abort): New function.
16127 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
16128 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
16129 (writev_for_fatal): New function.
16130 (WRITEV_FOR_FATAL): New macro; call that.
16131 (backtrace_and_maps): New function.
16132 (BEFORE_ABORT): New macro; call that.
16133 (struct str_list): Type removed.
16134 (__libc_message, __libc_fatal): Functions removed.
16135 Include <sysdeps/posix/libc_fatal.c> instead.
16136
161372013-03-19 Joseph Myers <joseph@codesourcery.com>
16138
16139 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
16140 constants.
16141 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
16142 double constants.
16143
161442013-03-19 Andreas Schwab <schwab@suse.de>
16145
16146 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
16147 * sysdeps/gnu/configure: Regenerate.
16148
16149 * configure.in: Substitute libc_cv_rtlddir.
16150 * configure: Regenerate.
16151 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
16152 * Makeconfig (rtlddir, inst_rtlddir): New variables.
16153 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
16154 * elf/Makefile (install-others, CFLAGS-interp.c)
16155 (ldso_install, common-ldd-rewrite): Likewise.
16156 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
16157 $(inst_slibdir)/$(rtld-installed-name).
16158 * scripts/rellns-sh: Add -p option.
16159 * Makerules (make-shlib-link): Use rellns-sh to get relative name
16160 for source.
16161
161622013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16163
16164 * manual/nptl.texi: Renamed to ...
16165 * manual/threads.texi: ... this.
16166 * manual/Makefile (chapters): Update.
16167
161682013-03-18 Roland McGrath <roland@hack.frob.com>
16169
16170 [BZ #14812]
16171 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
16172 on argument names, not just descriptions.
16173 * malloc/memusagestat.c (options): Likewise.
16174 * nss/getent.c (options): Likewise.
16175
161762013-03-18 Benno Schulenberg <bensberg@justemail.net>
16177
16178 [BZ #14812]
16179 * iconv/iconv_prog.c (options): Put N_ translation marker
16180 on argument names, not just descriptions.
16181 * iconv/iconvconfig.c (options): Likewise.
16182
161832013-03-18 Ondrej Bilka <neleai@seznam.cz>
16184
16185 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
16186 implementation which is faster on all x86_64 architectures.
16187 Tested on AMD, Intel Nehalem, SNB, IVB.
16188 * sysdeps/x86_64/strnlen.S: Likewise.
16189
16190 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16191 Remove all multiarch strlen and strnlen versions.
16192 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
16193 Remove strlen and strnlen related parts.
16194
16195 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
16196 Inline strlen part.
16197 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
16198
16199 * sysdeps/x86_64/multiarch/strlen.S: Remove.
16200 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
16201 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
16202 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
16203 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
16204 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
16205
162062013-03-17 Carlos O'Donell <carlos@redhat.com>
16207
16208 * manual/memory.texi (Malloc Tunable Parameters):
16209 Sort parameters alphabetically. Add comments for missing entries.
16210
162112013-03-17 David S. Miller <davem@davemloft.net>
16212
16213 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16214
162152013-03-16 Joseph Myers <joseph@codesourcery.com>
16216
16217 [BZ #15283]
16218 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
16219 for arguments at most half maximum finite value.
16220 * math/libm-test.inc (j0_test): Add more tests.
16221 (j1_test): Likewise.
16222 (y0_test): Likewise.
16223 (y1_test): Likewise.
16224 * sysdeps/i386/fpu/libm-test-ulps: Update.
16225 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16226
16227 [BZ #14155]
16228 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
16229 1 / x and functions P and Q for arguments above 0x1p256L.
16230 (__ieee754_y0l): Likewise.
16231 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
16232 (__ieee754_y1l): Likewise.
16233 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
16234 (j1_test): Likewise.
16235 (y0_test): Likewise.
16236 (y1_test): Likewise.
16237
162382013-03-16 Thomas Schwinge <thomas@codesourcery.com>
16239
16240 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
16241 variable.
16242
162432013-03-15 Roland McGrath <roland@hack.frob.com>
16244
16245 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
16246 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
16247 zero since it's initialized to EXEC_PAGESIZE.
16248
16249 * sysdeps/unix/sysv/linux/ldsodefs.h
16250 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
16251 * sysdeps/generic/ldsodefs.h: ... here.
16252
162532013-03-15 Thomas Schwinge <thomas@codesourcery.com>
16254
16255 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
16256
16257 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
16258 math/test-snan.c.
16259 * math/test-snan.c: Renamed from
16260 sysdeps/powerpc/fpu/test-powerpc-snan.c.
16261 * math/Makefile (tests): Add test-snan.
16262 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
16263 test-powerpc-snan.
16264
16265 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
16266 SUFFIX. Initialize qNaN_var with __builtin_nan family of
16267 functions.
16268 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
16269 __builtin_nan family of functions.
16270 * math/libm-test.inc (initialize): Initialize qnan_value with
16271 __builtin_nan family of functions.
16272 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
16273 Remove variables.
16274 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
16275 Remove functions.
16276 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
16277 storage class. Initialize qNaN_var and sNaN_var with
16278 __builtin_nan and __builtin_nans families of functions,
16279 respectively.
16280
16281 * math/libm-test.inc (acosh_test): Also test with qNaN input.
16282 (sqrt_test): Remove duplicate test with qNaN input.
16283 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
16284 (round_test, signbit_test, significand_test): Note missing +/-Inf
16285 as well as qNaN tests.
16286
16287 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
16288 qNaN_var. Fix a few strings, too.
16289 * math/libm-test.inc (nan_value): Rename to qnan_value.
16290 * math/gen-libm-test.pl (%beautify): Adjust to that.
16291 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
16292 * math/test-misc.c (main): Likewise.
16293 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
16294 to __qnan_bytes, and __qnan_union, respectively.
16295 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
16296 Likewise.
16297 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
16298 and lqnanval, respectively.
16299 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
16300 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
16301 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
16302 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
16303
16304 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
16305 * math/test-misc.c (main) [__x86_64__]: Enable test for long
16306 doubles.
16307
16308 * math/test-misc.c (main): Fix copy'n'pastos.
16309 * misc/tst-efgcvt.c (special): Likewise.
16310
16311 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
16312 Remove declarations.
16313
163142013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16315
16316 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
16317 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
16318 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
16319 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
16320
163212013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16322
16323 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
16324 macro to return vdso values correctly in IFUNC implementations.
16325 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
16326 Optimization by using IFUNC.
16327
163282013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16329 Richard Henderson <rth@redhat.com>
16330 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16331
16332 * Makefile.in (bench): New target.
16333 * NEWS: Mention the benchmark framework.
16334 * Rules (bench): Likewise.
16335 (binaries-bench): Generate binaries for functions to
16336 benchmark.
16337 * benchtests/Makefile: New makefile for benchmark tests.
16338 * benchtests/bench-skeleton.c: New skeleton file for benchmark
16339 programs.
16340 * benchtests/exp-inputs: New input file for EXP function.
16341 * benchtests/pow-inputs: New input file for POW function.
16342 * scripts/bench.pl: New script to generate source files for
16343 benchmark programs.
16344
163452013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16346
16347 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
16348 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
16349 computations on mantissa. Use macros for rounding and
16350 division.
16351 (denorm): Likewise.
16352 (__dbl_mp): Likewise.
16353 (add_magnitudes): Likewise.
16354 (sub_magnitudes): Likewise.
16355 (__mul): Likewise.
16356 (__sqr): Likewise.
16357 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
16358 powers of two in terms of TWOPOW macro.
16359 (mp_no): Make type of mantissa as MANTISSA_T.
16360 [!RADIXI]: Define RADIXI.
16361 [!TWO52]: Define TWO52.
16362 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
16363
16364 * manual/nptl.texi (cindex): Modify threads to pthreads.
16365
163662013-03-15 Joseph Myers <joseph@codesourcery.com>
16367
16368 * sysdeps/x86_64/preconfigure: Regenerated.
16369
163702013-03-14 Joseph Myers <joseph@codesourcery.com>
16371
16372 [BZ #14155]
16373 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
16374 0x1p28 and above.
16375 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
16376 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
16377 0x1p28 and above.
16378 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
16379 * math/libm-test.inc (j0_test): Do not allow one spurious
16380 underflow exception.
16381 (y1_test): Likewise.
16382
163832013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16384
16385 * manual/Makefile (chapters): Add nptl.
16386 * manual/debug.texi (Debugging Support): Add link to Threads
16387 chapter.
16388 * manual/nptl.texi: New file.
16389
16390 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
16391
163922013-03-14 Petr Baudis <pasky@ucw.cz>
16393
16394 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
16395 for non-NULL pointer before the memory validity test. Pointed
16396 out by Holger Brunck <holger.brunck@keymile.com>.
16397
163982013-03-13 Andreas Schwab <schwab@suse.de>
16399
16400 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
16401 instead of .os.
16402
164032013-03-13 Joseph Myers <joseph@codesourcery.com>
16404
16405 * timezone/zic.c: Update from tzcode 2013b.
16406
164072013-03-12 Carlos O'Donell <carlos@redhat.com>
16408
16409 * manual/install.texi (Configuring and compiling):
16410 Mention i686 and i586.
16411 * INSTALL: Regenerate.
16412
164132013-03-12 Roland McGrath <roland@hack.frob.com>
16414
16415 * sysdeps/init_array/elf-init.c: New file.
16416 * csu/elf-init.c
16417 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
16418 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
16419
16420 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
16421 __gmon_start__ as global, but as static with a .preinit_array pointer.
16422 * sysdeps/init_array/gmon-start.c: New file. Use that.
16423 * sysdeps/init_array/crti.S: New file, empty except for comments.
16424 * sysdeps/init_array/crtn.S: Likewise.
16425
164262013-03-11 Ondřej Bílka <neleai@seznam.cz>
16427
16428 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
16429 definining bcopy.
16430 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16431 Remove Prefer_SSE_for_memop.
16432 * sysdeps/x86_64/multiarch/init-arch.h: Remove
16433 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
16434 HAS_PREFER_SSE_FOR_MEMOP.
16435 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
16436 memset-x86-64.
16437 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16438 Remove bzero, memset ifunc support.
16439 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
16440 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
16441 * sysdeps/x86_64/multiarch/memset.S: Likewise.
16442 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16443
164442013-03-11 Andreas Schwab <schwab@suse.de>
16445
16446 [BZ #15234]
16447 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
16448 by SHLIB_COMPAT.
16449 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
16450 (GLIBC_2.16): Remove pthread_atfork.
16451
164522013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
16453
16454 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
16455 (ptestcases.h): Likewise.
16456
164572013-03-08 Roland McGrath <roland@hack.frob.com>
16458
16459 * Makeconfig ($(common-objpfx)config.status): Depend on
16460 sysdeps/*/preconfigure{,.in} too.
16461
164622013-03-08 Joseph Myers <joseph@codesourcery.com>
16463
16464 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
16465 (__free_hook): Use void * instead of __malloc_ptr_t.
16466 (__malloc_hook): Likewise.
16467 (__realloc_hook): Likewise.
16468 (__memalign_hook): Likewise.
16469 (__after_morecore_hook): Likewise.
16470 * malloc/arena.c (save_malloc_hook): Likewise.
16471 (save_free_hook): Likewise.
16472 * malloc/hooks.c (malloc_hook_ini): Likewise.
16473 (realloc_hook_ini): Likewise.
16474 (memalign_hook_ini): Likewise.
16475 * malloc/malloc.c (malloc_hook_ini): Likewise.
16476 (realloc_hook_ini): Likewise.
16477 (memalign_hook_ini): Likewise.
16478 (__free_hook): Likewise.
16479 (__malloc_hook): Likewise.
16480 (__realloc_hook): Likewise.
16481 (__memalign_hook): Likewise.
16482 (__libc_malloc): Likewise.
16483 (__libc_free): Likewise.
16484 (__libc_realloc): Likewise.
16485 (__libc_memalign): Likewise.
16486 (__libc_valloc): Likewise.
16487 (__libc_pvalloc): Likewise.
16488 (__libc_calloc): Likewise.
16489 (__posix_memalign): Likewise.
16490 * malloc/morecore.c (__sbrk): Likewise.
16491 (__default_morecore): Likewise.
16492
16493 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
16494
16495 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
16496 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
16497 __malloc_ptrdiff_t.
16498
16499 * malloc/malloc.h (__malloc_size_t): Remove macro.
16500 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
16501 __malloc_size_t.
16502 (old_memalign_hook): Likewise.
16503 (old_realloc_hook): Likewise.
16504 (struct hdr): Likewise.
16505 (flood): Likewise.
16506 (mallochook): Likewise.
16507 (memalignhook): Likewise.
16508 (reallochook): Likewise.
16509 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
16510 (tr_old_realloc_hook): Likewise.
16511 (tr_old_memalign_hook): Likewise.
16512 (tr_mallochook): Likewise.
16513 (tr_reallochook): Likewise.
16514 (tr_memalignhook): Likewise.
16515
165162013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16517
16518 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
16519 default_ldbl_pack and using as default implementation.
16520 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
16521 implementation.
16522 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
16523 redundant definition.
16524 (ldbl_insert_mantissa): Likewise.
16525 (ldbl_canonicalize): Likewise.
16526 (ldbl_nearbyint): Likewise.
16527 (ldbl_pack): Rename to ldbl_pack_ppc.
16528 (ldbl_unpack): Rename to ldbl_unpack_ppc.
16529 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
16530 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
16531
165322013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16533
16534 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
16535 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
16536 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
16537 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
16538 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
16539 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
16540 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
16541 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
16542
165432013-03-07 Andreas Jaeger <aj@suse.de>
16544
16545 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16546 bits/mman-linux.h.
16547
165482013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
16549
16550 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
16551 Include mpa.h and declare __MPEXP.
16552 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
16553 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16554 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16555 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
16556 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16557 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16558 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
16559
16560 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
16561 (__slowpow): Use long double EXPL and LOGL functions to
16562 compute POW.
16563 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16564 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16565 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
16566 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16567 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16568 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
16569
16570 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
16571 intermediate variable to calculate exponent.
16572 (__sqr): Likewise.
16573 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
16574 Likewise.
16575 (__sqr): Likewise.
16576
16577 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
16578 [!NO__SQR]: Define __sqr.
16579 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
16580 and NO__SQR. Remove all code except __mul and __sqr. Include
16581 sysdeps/ieee754/dbl-64/mpa.c.
16582 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16583
16584 [BZ #12723]
16585 * posix/Makefile (tests): Add tst-pathconf.
16586 * posix/tst-pathconf.c: New test case.
16587 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
16588 _PC_PIPE_BUF.
16589 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
16590
165912013-03-06 Patsy Franklin <pfrankli@redhat.com>
16592
16593 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
16594
165952013-03-06 Andreas Jaeger <aj@suse.de>
16596
16597 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
16598 definition via __MAP_ANONYMOUS.
16599
16600 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
16601 it's not part of Linux headers.
16602
16603 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
16604 (MAP_HUGE_MASK): Define.
16605
16606 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16607 Define.
16608 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16609 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16610 Define.
16611 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16612 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16613 Define.
16614 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16615 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
16616 Define.
16617 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16618
16619 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
16620 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
16621 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
16622 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
16623 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
16624 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
16625
16626 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
16627 Handle f2fs.
16628
16629 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16630 Handle f2fs and efivarfs.
16631
16632 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
16633 f2fs.
16634
16635 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
16636 (EFIVARFS_MAGIC): Add.
16637 (F2FS_LINK_MAX): Add.
16638
166392013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16640
16641 * stdio-common/vfprintf.c: Replace __builtin_expect with
16642 __glibc_unlikely.
16643
166442013-03-06 Joseph Myers <joseph@codesourcery.com>
16645
16646 [BZ #13550]
16647 * sysdeps/generic/bp-sym.h: Remove file.
16648 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
16649 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
16650 <bp-sym.h> and <bp-asm.h>.
16651 (__longjmp): Don't use BP_SYM.
16652 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
16653 and <bp-asm.h>.
16654 (memcpy): Don't use BP_SYM.
16655 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
16656 <bp-sym.h> and <bp-asm.h>.
16657 (memcpy): Don't use BP_SYM.
16658 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
16659 <bp-asm.h>.
16660 (memcpy): Don't use BP_SYM.
16661 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
16662 <bp-asm.h>.
16663 (memset): Don't use BP_SYM.
16664 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16665 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16666 (__bzero): Don't use BP_SYM.
16667 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16668 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16669 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
16670 <bp-sym.h> and <bp-asm.h>.
16671 (memcmp): Don't use BP_SYM. Remove comment about bounded
16672 pointers.
16673 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
16674 <bp-sym.h> and <bp-asm.h>.
16675 (memcpy): Don't use BP_SYM.
16676 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
16677 <bp-sym.h> and <bp-asm.h>.
16678 (memset): Don't use BP_SYM.
16679 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16680 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16681 (__bzero): Don't use BP_SYM.
16682 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16683 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16684 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
16685 <bp-sym.h> and <bp-asm.h>.
16686 (strncmp): Don't use BP_SYM. Remove comment about bounded
16687 pointers.
16688 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
16689 <bp-sym.h> and <bp-asm.h>.
16690 (memcpy): Don't use BP_SYM.
16691 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
16692 <bp-sym.h> and <bp-asm.h>.
16693 (memset): Don't use BP_SYM.
16694 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16695 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16696 (__bzero): Don't use BP_SYM.
16697 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16698 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16699 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
16700 <bp-sym.h> and <bp-asm.h>.
16701 (__memchr): Don't use BP_SYM.
16702 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
16703 <bp-sym.h> and <bp-asm.h>.
16704 (memcmp): Don't use BP_SYM. Remove comment about bounded
16705 pointers.
16706 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
16707 <bp-sym.h> and <bp-asm.h>.
16708 (memcpy): Don't use BP_SYM.
16709 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
16710 <bp-sym.h> and <bp-asm.h>.
16711 (__mempcpy): Don't use BP_SYM.
16712 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
16713 <bp-sym.h> and <bp-asm.h>.
16714 (__memrchr): Don't use BP_SYM.
16715 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
16716 <bp-sym.h> and <bp-asm.h>.
16717 (memset): Don't use BP_SYM.
16718 (__bzero): Likewise.
16719 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
16720 <bp-sym.h> and <bp-asm.h>.
16721 (__rawmemchr): Don't use BP_SYM.
16722 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
16723 <bp-sym.h> and <bp-asm.h>.
16724 (__STRCMP): Don't use BP_SYM.
16725 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
16726 <bp-sym.h> and <bp-asm.h>.
16727 (strchr): Don't use BP_SYM.
16728 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
16729 <bp-sym.h> and <bp-asm.h>.
16730 (__strchrnul): Don't use BP_SYM.
16731 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
16732 <bp-sym.h> and <bp-asm.h>.
16733 (strlen): Don't use BP_SYM.
16734 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
16735 <bp-sym.h> and <bp-asm.h>.
16736 (strncmp): Don't use BP_SYM. Remove comment about bounded
16737 pointers.
16738 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
16739 <bp-sym.h> and <bp-asm.h>.
16740 (__strnlen): Don't use BP_SYM.
16741 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
16742 <bp-sym.h> and <bp-asm.h>.
16743 (__GI__setjmp): Don't use BP_SYM.
16744 (_setjmp): Likewise.
16745 (__sigsetjmp): Likewise.
16746 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
16747 (L(start_addresses)): Don't use BP_SYM.
16748 (_start): Likewise.
16749 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
16750 <bp-asm.h>.
16751 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
16752 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
16753 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16754 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16755 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
16756 <bp-asm.h>.
16757 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
16758 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
16759 about bounded pointers.
16760 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16761 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16762 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
16763 <bp-asm.h>.
16764 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
16765 about bounded pointers. Remove GKM FIXME comments.
16766 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16767 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
16768 <bp-asm.h>.
16769 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
16770 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
16771 Remove GKM FIXME comments.
16772 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16773 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16774 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
16775 <bp-asm.h>.
16776 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
16777 about bounded pointers. Remove GKM FIXME comment.
16778 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
16779 and <bp-asm.h>.
16780 (strncmp): Don't use BP_SYM. Remove comment about bounded
16781 pointers.
16782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
16783 <bp-sym.h> and <bp-asm.h>.
16784 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
16785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
16786 <bp-sym.h> and <bp-asm.h>.
16787 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
16788 comment.
16789
167902013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16791
16792 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
16793 call free(NULL).
16794
167952013-03-05 David S. Miller <davem@davemloft.net>
16796
16797 * po/es.po: Update from translation team.
16798
167992013-03-05 Andreas Jaeger <aj@suse.de>
16800
16801 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
16802 <bits/mman-linux.h>.
16803 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16804 is fine.
16805 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
16806 <bits/mman-linux.h> to end of file.
16807 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16808 is fine.
16809 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
16810 <bits/mman-linux.h> to end of file.
16811 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16812 is fine.
16813 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
16814 <bits/mman-linux.h> to end of file.
16815
16816 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
16817 (MCL_CURRENT, MCL_FUTURE): Define here.
16818
168192013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16820
16821 [BZ #15232]
16822 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
16823 attribute_hidden.
16824 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
16825
168262013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16827
16828 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
16829 fourth parameter needed for rt_sigprocmask syscall.
16830 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
16831 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
16832 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
16833 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
16834 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
16835 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
16836
168372013-03-04 Joseph Myers <joseph@codesourcery.com>
16838
16839 [BZ #13550]
16840 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
16841 comment about bounded pointers.
16842 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
16843 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
16844
168452013-03-04 Andreas Jaeger <aj@suse.de>
16846
16847 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
16848 common definitions.
16849
16850 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
16851 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
16852 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
16853 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16854 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
16855 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16856
168572013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16858
16859 [BZ #15055]
16860 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
16861 __ieee754_sqrl instead of __sqrl.
16862
168632013-03-01 Joseph Myers <joseph@codesourcery.com>
16864
16865 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
16866 * sysdeps/powerpc/fpu_control.h: ... here.
16867 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
16868 * sysdeps/powerpc/bits/fenvinline.h: ... here.
16869 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
16870 * sysdeps/powerpc/bits/mathinline.h: ... here.
16871
168722013-03-01 Roland McGrath <roland@hack.frob.com>
16873
16874 * elf/dl-hwcaps.c (_dl_important_hwcaps):
16875 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
16876 to just [NEED_DL_SYSINFO_DSO].
16877 * elf/dl-support.c: Likewise.
16878 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
16879 * elf/rtld.c (dl_main): Likewise.
16880 * elf/setup-vdso.h (setup_vdso): Likewise.
16881 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
16882 * sysdeps/unix/sysv/linux/dl-sysdep.c
16883 (_dl_discover_osversion): Likewise.
16884
168852013-03-01 Carlos O'Donell <carlos@redhat.com>
16886
16887 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
16888 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
16889
168902013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
16891
16892 * NEWS: Mention libm performance improvements and non-x86 PI
16893 futex support.
16894
16895 * csu/libc-start.c (__pthread_initialize_minimal): Change
16896 function arguments.
16897 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
16898
168992013-02-28 Joseph Myers <joseph@codesourcery.com>
16900
16901 [BZ #13550]
16902 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
16903 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
16904 <bp-sym.h> and <bp-asm.h>.
16905 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16906 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
16907 and <bp-asm.h>.
16908 (memcpy): Don't use BP_SYM.
16909 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
16910 <bp-asm.h>.
16911 (__mpn_add_n): Don't use BP_SYM.
16912 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
16913 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
16914 and <bp-asm.h>.
16915 (__mpn_addmul_1): Don't use BP_SYM.
16916 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16917 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
16918 <bp-sym.h>.
16919 (_setjmp): Don't use BP_SYM.
16920 (__novmx_setjmp): Likewise.
16921 (__GI__setjmp): Likewise.
16922 (__vmx_setjmp): Likewise.
16923 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
16924 <bp-sym.h>.
16925 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
16926 (__bzero): Don't use BP_SYM.
16927 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16928 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16929 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
16930 <bp-sym.h> and <bp-asm.h>.
16931 (memcpy): Don't use BP_SYM.
16932 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
16933 <bp-sym.h> and <bp-asm.h>.
16934 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16935 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
16936 <bp-sym.h> and <bp-asm.h>.
16937 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16938 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
16939 <bp-asm.h>.
16940 (__mpn_lshift): Don't use BP_SYM.
16941 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16942 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
16943 <bp-asm.h>.
16944 (memset): Don't use BP_SYM.
16945 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16946 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16947 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
16948 <bp-asm.h>.
16949 (__mpn_mul_1): Don't use BP_SYM.
16950 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16951 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
16952 <bp-sym.h> and <bp-asm.h>.
16953 (memcmp): Don't use BP_SYM.
16954 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
16955 <bp-sym.h> and <bp-asm.h>.
16956 (memcpy): Don't use BP_SYM.
16957 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
16958 <bp-sym.h> and <bp-asm.h>.
16959 (memset): Don't use BP_SYM.
16960 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
16961 <bp-sym.h> and <bp-asm.h>.
16962 (strncmp): Don't use BP_SYM.
16963 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
16964 <bp-sym.h> and <bp-asm.h>.
16965 (memcpy): Don't use BP_SYM.
16966 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
16967 <bp-sym.h> and <bp-asm.h>.
16968 (memset): Don't use BP_SYM.
16969 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
16970 <bp-sym.h> and <bp-asm.h>.
16971 (__memchr): Don't use BP_SYM.
16972 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
16973 <bp-sym.h> and <bp-asm.h>.
16974 (memcmp): Don't use BP_SYM.
16975 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
16976 <bp-sym.h> and <bp-asm.h>.
16977 (memcpy): Don't use BP_SYM.
16978 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
16979 <bp-sym.h> and <bp-asm.h>.
16980 (__mempcpy): Don't use BP_SYM.
16981 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
16982 <bp-sym.h> and <bp-asm.h>.
16983 (__memrchr): Don't use BP_SYM.
16984 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
16985 <bp-sym.h> and <bp-asm.h>.
16986 (memset): Don't use BP_SYM.
16987 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
16988 <bp-sym.h> and <bp-asm.h>.
16989 (__rawmemchr): Don't use BP_SYM.
16990 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
16991 <bp-sym.h> and <bp-asm.h>.
16992 (__STRCMP): Don't use BP_SYM.
16993 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
16994 <bp-sym.h> and <bp-asm.h>.
16995 (strchr): Don't use BP_SYM.
16996 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
16997 <bp-sym.h> and <bp-asm.h>.
16998 (__strchrnul): Don't use BP_SYM.
16999 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
17000 <bp-sym.h> and <bp-asm.h>.
17001 (strlen): Don't use BP_SYM.
17002 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
17003 <bp-sym.h> and <bp-asm.h>.
17004 (strncmp): Don't use BP_SYM.
17005 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
17006 <bp-sym.h> and <bp-asm.h>.
17007 (__strnlen): Don't use BP_SYM.
17008 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
17009 <bp-asm.h>.
17010 (__mpn_rshift): Don't use BP_SYM.
17011 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17012 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
17013 <bp-sym.h> and <bp-asm.h>.
17014 (__sigsetjmp): Don't use BP_SYM.
17015 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
17016 (L(start_addresses)): Don't use BP_SYM.
17017 (_start): Likewise.
17018 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
17019 <bp-asm.h>.
17020 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
17021 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17022 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17023 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
17024 <bp-asm.h>.
17025 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
17026 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17027 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17028 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
17029 <bp-asm.h>.
17030 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
17031 comments.
17032 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17033 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
17034 <bp-asm.h>.
17035 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
17036 FIXME comments.
17037 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17038 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17039 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
17040 <bp-asm.h>.
17041 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
17042 comment.
17043 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
17044 and <bp-asm.h>.
17045 (strncmp): Don't use BP_SYM,
17046 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
17047 <bp-asm.h>.
17048 (__mpn_sub_n): Don't use BP_SYM.
17049 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17050 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
17051 and <bp-asm.h>.
17052 (__mpn_submul_1): Don't use BP_SYM.
17053 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
17055 <bp-sym.h> and <bp-asm.h>.
17056 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
17057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
17058 <bp-sym.h> and <bp-asm.h>.
17059 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
17060 comment.
17061
170622013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17063
17064 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
17065 Use ZK to minimize writes to Z.
17066 (sub_magnitudes): Simplify code a bit.
17067 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
17068 Use ZK to minimize writes to Z.
17069 (sub_magnitudes): Simplify code a bit.
17070
170712013-02-27 Roland McGrath <roland@hack.frob.com>
17072
17073 * csu/gmon-start.c: Add special exception to license text.
17074
170752013-02-27 Richard Henderson <rth@redhat.com>
17076
17077 * scripts/config.guess: Update from config.git.
17078 * scripts/config.sub: Likewise.
17079
170802013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17081
17082 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
17083
17084 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
17085
17086 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
17087
17088 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
17089
17090 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
17091
170922013-02-26 Roland McGrath <roland@hack.frob.com>
17093
17094 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
17095 [$(build-shared = yes].
17096
170972013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17098
17099 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
17100 (__mul): Reduce iterations for calculating mantissa.
17101
17102 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
17103 MPTWO.
17104 (__mpranred): Likewise.
17105
17106 [BZ #15160]
17107 * malloc/memusagestat.c (main): Draw graphs for heap and stack
17108 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
17109
171102013-02-26 Paul Eggert <eggert@cs.ucla.edu>
17111
17112 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
17113 Define __attribute__.
17114
171152013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17116
17117 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
17118 unused.
17119 * posix/regex_internal.h (__attribute): Remove.
17120 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
17121 (re_string_context_at): Likewise.
17122 (bitset_not): Use __attribute__ and mark function as possibly
17123 unused.
17124 (bitset_merge): Likewise.
17125 (bitset_mask): Likewise.
17126 (re_string_char_size_at): Likewise.
17127 (re_string_wchar_at): Likewise.
17128 (re_string_elem_size_at): Likewise.
17129
171302013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17131
17132 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
17133 code.
17134 (cc32): Likewise.
17135
17136 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
17137 (__acr): Likewise.
17138 (__cpy): Likewise.
17139 (norm): Likewise.
17140 (denorm): Likewise.
17141 (__dbl_mp): Likewise.
17142 (add_magnitudes): Likewise.
17143 (sub_magnitudes): Likewise.
17144 (__mul): Likewise.
17145 (__inv): Likewise.
17146
17147 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
17148 style.
17149
17150 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
17151 style.
17152
17153 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
17154 code.
17155
17156 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
17157 up changes with default code.
17158 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
17159 Likewise.
17160
171612013-02-24 Allan McRae <allan@archlinux.org>
17162
17163 * manual/socket.texi (The Internet Namespace): Order menu items
17164 to match that in the file.
17165
17166 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
17167 node listing of the info page menu.
17168
171692013-02-21 Joseph Myers <joseph@codesourcery.com>
17170
17171 [BZ #13550]
17172 * sysdeps/i386/bp-asm.h: Remove file.
17173 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17174 (PARMS): Do not use macros from bp-asm.h.
17175 (S1): Likewise.
17176 (S2): Likewise.
17177 (SIZE): Likewise.
17178 (__mpn_add_n): Do not use BP_SYM
17179 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
17180 "bp-asm.h".
17181 (PARMS): Do not use macros from bp-asm.h.
17182 (S1): Likewise.
17183 (SIZE): Likewise.
17184 (__mpn_addmul_1): Do not use BP_SYM
17185 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
17186 "bp-asm.h".
17187 (PARMS): Do not use macros from bp-asm.h.
17188 (SIGMSK): Likewise.
17189 (_setjmp): Likewise. Do not use BP_SYM.
17190 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
17191 "bp-asm.h".
17192 (PARMS): Do not use macros from bp-asm.h.
17193 (SIGMSK): Likewise.
17194 (setjmp): Likewise. Do not use BP_SYM.
17195 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
17196 "bp-asm.h".
17197 (PARMS): Do not use macros from bp-asm.h.
17198 (__frexp): Do not use BP_SYM.
17199 (frexp): Likewise.
17200 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
17201 "bp-asm.h".
17202 (PARMS): Do not use macros from bp-asm.h.
17203 (__frexpf): Do not use BP_SYM.
17204 (frexpf): Likewise.
17205 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
17206 "bp-asm.h".
17207 (PARMS): Do not use macros from bp-asm.h.
17208 (__frexpl): Do not use BP_SYM.
17209 (frexpl): Likewise.
17210 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
17211 "bp-asm.h".
17212 (PARMS): Do not use macros from bp-asm.h.
17213 (__remquo): Do not use BP_SYM.
17214 (remquo): Likewise.
17215 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
17216 "bp-asm.h".
17217 (PARMS): Do not use macros from bp-asm.h.
17218 (__remquof): Do not use BP_SYM.
17219 (remquof): Likewise.
17220 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
17221 "bp-asm.h".
17222 (PARMS): Do not use macros from bp-asm.h.
17223 (__remquol): Do not use BP_SYM.
17224 (remquol): Likewise.
17225 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
17226 "bp-asm.h".
17227 (PARMS): Do not use macros from bp-asm.h.
17228 (DEST): Likewise.
17229 (SRC): Likewise.
17230 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
17231 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
17232 "bp-asm.h".
17233 (PARMS): Do not use macros from bp-asm.h.
17234 (strlen): Do not use BP_SYM.
17235 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
17236 "bp-asm.h".
17237 (PARMS): Do not use macros from bp-asm.h.
17238 (S1): Likewise.
17239 (S2): Likewise.
17240 (SIZE): Likewise.
17241 (__mpn_add_n): Do not use BP_SYM.
17242 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
17243 "bp-asm.h".
17244 (PARMS): Do not use macros from bp-asm.h.
17245 (S1): Likewise.
17246 (SIZE): Likewise.
17247 (__mpn_addmul_1): Do not use BP_SYM.
17248 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
17249 weak_alias.
17250 (bzero): Likewise.
17251 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
17252 "bp-asm.h".
17253 (PARMS): Do not use macros from bp-asm.h.
17254 (S): Likewise.
17255 (SIZE): Likewise.
17256 (__mpn_lshift): Do not use BP_SYM.
17257 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
17258 "bp-asm.h".
17259 (PARMS): Do not use macros from bp-asm.h.
17260 (DEST): Likewise.
17261 (SRC): Likewise.
17262 (LEN): Likewise.
17263 (memcpy): Likewise. Do not use BP_SYM.
17264 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
17265 libc_hidden_def and weak_alias.
17266 (mempcpy): Do not use BP_SYM in weak_alias.
17267 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
17268 "bp-asm.h".
17269 (PARMS): Do not use macros from bp-asm.h.
17270 (DEST): Likewise.
17271 (LEN): Likewise.
17272 [!BZERO_P] (CHR): Likewise.
17273 (memset): Likewise. Do not use BP_SYM.
17274 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
17275 "bp-asm.h".
17276 (PARMS): Do not use macros from bp-asm.h.
17277 (S1): Likewise.
17278 (SIZE): Likewise.
17279 (__mpn_mul_1): Do not use BP_SYM.
17280 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
17281 "bp-asm.h".
17282 (PARMS): Do not use macros from bp-asm.h.
17283 (S): Likewise.
17284 (SIZE): Likewise.
17285 (__mpn_rshift): Do not use BP_SYM.
17286 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
17287 "bp-asm.h".
17288 (PARMS): Do not use macros from bp-asm.h.
17289 (STR): Likewise.
17290 (CHR): Likewise.
17291 (strchr): Likewise. Do not use BP_SYM.
17292 (index): Do not use BP_SYM in weak_alias.
17293 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
17294 "bp-asm.h".
17295 (PARMS): Do not use macros from bp-asm.h.
17296 (DEST): Likewise.
17297 (SRC): Likewise.
17298 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
17299 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
17300 "bp-asm.h".
17301 (PARMS): Do not use macros from bp-asm.h.
17302 (strlen): Do not use BP_SYM.
17303 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
17304 "bp-asm.h".
17305 (PARMS): Do not use macros from bp-asm.h.
17306 (S1): Likewise.
17307 (S2): Likewise.
17308 (SIZE): Likewise.
17309 (__mpn_sub_n): Do not use BP_SYM.
17310 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
17311 "bp-asm.h".
17312 (PARMS): Do not use macros from bp-asm.h.
17313 (S1): Likewise.
17314 (SIZE): Likewise.
17315 (__mpn_submul_1): Do not use BP_SYM.
17316 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
17317 "bp-asm.h".
17318 (PARMS): Do not use macros from bp-asm.h.
17319 (S1): Likewise.
17320 (S2): Likewise.
17321 (SIZE): Likewise.
17322 (__mpn_add_n): Do not use BP_SYM.
17323 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
17324 weak_alias.
17325 (bzero): Likewise.
17326 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
17327 "bp-asm.h".
17328 (PARMS): Do not use macros from bp-asm.h.
17329 (BLK2): Likewise.
17330 (LEN): Likewise.
17331 (memcmp): Do not use BP_SYM.
17332 (bcmp): Do not use BP_SYM in weak_alias.
17333 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
17334 "bp-asm.h".
17335 (PARMS): Do not use macros from bp-asm.h.
17336 (DEST): Likewise.
17337 (SRC): Likewise.
17338 (LEN): Likewise.
17339 (memcpy): Likewise. Do not use BP_SYM.
17340 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
17341 "bp-asm.h".
17342 (PARMS): Do not use macros from bp-asm.h.
17343 (DEST): Likewise.
17344 (SRC): Likewise.
17345 (LEN): Likewise.
17346 (memmove): Likewise. Do not use BP_SYM.
17347 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
17348 "bp-asm.h".
17349 (PARMS): Do not use macros from bp-asm.h.
17350 (DEST): Likewise.
17351 (SRC): Likewise.
17352 (LEN): Likewise.
17353 (__mempcpy): Likewise. Do not use BP_SYM.
17354 (mempcpy): Do not use BP_SYM in weak_alias.
17355 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
17356 "bp-asm.h".
17357 (PARMS): Do not use macros from bp-asm.h.
17358 (DEST): Likewise.
17359 (LEN): Likewise.
17360 [!BZERO_P] (CHR): Likewise.
17361 (memset): Likewise. Do not use BP_SYM.
17362 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
17363 "bp-asm.h".
17364 (PARMS): Do not use macros from bp-asm.h.
17365 (STR2): Likewise.
17366 (strcmp): Do not use BP_SYM.
17367 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
17368 "bp-asm.h".
17369 (PARMS): Do not use macros from bp-asm.h.
17370 (STR): Likewise.
17371 (DELIM): Likewise.
17372 [USE_AS_STRTOK_R] (SAVE): Likewise.
17373 (FUNCTION): Likewise. Do not use BP_SYM.
17374 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
17375 aliases.
17376 (strtok_r): Likewise.
17377 (__GI___strtok_r): Likewise.
17378 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17379 (PARMS): Do not use macros from bp-asm.h.
17380 (S): Likewise.
17381 (SIZE): Likewise.
17382 (__mpn_lshift): Do not use BP_SYM.
17383 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17384 (PARMS): Do not use macros from bp-asm.h.
17385 (STR): Likewise.
17386 (CHR): Likewise.
17387 (__memchr): Do not use BP_SYM.
17388 (memchr): Do not use BP_SYM in weak_alias.
17389 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17390 (PARMS): Do not use macros from bp-asm.h.
17391 (BLK2): Likewise.
17392 (LEN): Likewise.
17393 (memcmp): Do not use BP_SYM.
17394 (bcmp): Do not use BP_SYM in weak_alias.
17395 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
17396 (PARMS): Do not use macros from bp-asm.h.
17397 (S1): Likewise.
17398 (SIZE): Likewise.
17399 (__mpn_mul_1): Do not use BP_SYM.
17400 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
17401 "bp-asm.h".
17402 (PARMS): Do not use macros from bp-asm.h.
17403 (STR): Likewise.
17404 (CHR): Likewise.
17405 (__rawmemchr): Do not use BP_SYM.
17406 (rawmemchr): Do not use BP_SYM in weak_alias.
17407 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17408 (PARMS): Do not use macros from bp-asm.h.
17409 (S): Likewise.
17410 (SIZE): Likewise.
17411 (__mpn_rshift): Do not use BP_SYM.
17412 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17413 (PARMS): Do not use macros from bp-asm.h.
17414 (SIGMSK): Likewise.
17415 (__sigsetjmp): Likewise. Do not use BP_SYM.
17416 * sysdeps/i386/start.S: Do not include "bp-sym.h".
17417 (_start): Do not use BP_SYM.
17418 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
17419 (PARMS): Do not use macros from bp-asm.h.
17420 (DEST): Likewise.
17421 (SRC): Likewise.
17422 (__stpcpy): Likewise. Do not use BP_SYM.
17423 (stpcpy): Do not use BP_SYM in weak_alias.
17424 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
17425 "bp-asm.h".
17426 (PARMS): Do not use macros from bp-asm.h.
17427 (DEST): Likewise.
17428 (SRC): Likewise.
17429 (LEN): Likewise.
17430 (__stpncpy): Likewise. Do not use BP_SYM.
17431 (stpncpy): Do not use BP_SYM in weak_alias.
17432 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17433 (PARMS): Do not use macros from bp-asm.h.
17434 (STR): Likewise.
17435 (CHR): Likewise.
17436 (strchr): Likewise. Do not use BP_SYM.
17437 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
17438 "bp-asm.h".
17439 (PARMS): Do not use macros from bp-asm.h.
17440 (STR): Likewise.
17441 (CHR): Likewise.
17442 (__strchrnul): Likewise. Do not use BP_SYM.
17443 (strchrnul): Do not use BP_SYM in weak_alias.
17444 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
17445 "bp-asm.h".
17446 (PARMS): Do not use macros from bp-asm.h.
17447 (STOP): Likewise.
17448 (strcspn): Do not use BP_SYM.
17449 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
17450 "bp-asm.h".
17451 (PARMS): Do not use macros from bp-asm.h.
17452 (STR): Likewise.
17453 (STOP): Likewise.
17454 (strpbrk): Likewise. Do not use BP_SYM.
17455 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
17456 "bp-asm.h".
17457 (PARMS): Do not use macros from bp-asm.h.
17458 (STR): Likewise.
17459 (CHR): Likewise.
17460 (strrchr): Likewise. Do not use BP_SYM.
17461 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
17462 (PARMS): Do not use macros from bp-asm.h.
17463 (SKIP): Likewise.
17464 (strspn): Do not use BP_SYM.
17465 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
17466 (PARMS): Do not use macros from bp-asm.h.
17467 (STR): Likewise.
17468 (DELIM): Likewise.
17469 (SAVE): Likewise.
17470 (FUNCTION): Likewise. Do not use BP_SYM.
17471 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
17472 aliases.
17473 (strtok_r): Likewise.
17474 (__GI___strtok_r): Likewise.
17475 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17476 (PARMS): Do not use macros from bp-asm.h.
17477 (S1): Likewise.
17478 (S2): Likewise.
17479 (SIZE): Likewise.
17480 (__mpn_sub_n): Do not use BP_SYM.
17481 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
17482 "bp-asm.h".
17483 (PARMS): Do not use macros from bp-asm.h.
17484 (S1): Likewise.
17485 (SIZE): Likewise.
17486 (__mpn_submul_1): Do not use BP_SYM.
17487 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
17488 <bp-sym.h>.
17489 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
17490 and <bp-asm.h>.
17491 (PARMS): Do not use macros from bp-asm.h.
17492 (FLAGS): Likewise.
17493 (PTID): Likewise.
17494 (TLS): Likewise.
17495 (CTID): Likewise.
17496 (__clone): Do not use BP_SYM.
17497 (clone): Do not use BP_SYM in weak_alias.
17498 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
17499 and <bp-asm.h>.
17500 (PARMS): Do not use macros from bp-asm.h.
17501 (LEN): Likewise.
17502 (__mmap64): Do not use BP_SYM.
17503 (mmap64): Do not use BP_SYM in weak_alias.
17504 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
17505 <bp-sym.h> and <bp-asm.h>.
17506 (PARMS): Do not use macros from bp-asm.h.
17507 (__posix_fadvise64_l64): Do not use BP_SYM.
17508 * sysdeps/unix/sysv/linux/i386/semtimedop.S
17509 (PARMS): Do not use macros from bp-asm.h.
17510 (NSOPS): Likewise.
17511 (semtimedop): Do not use BP_SYM.
17512 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
17513 and <bp-asm.h>.
17514
175152013-02-21 Allan McRae <allan@archlinux.org>
17516
17517 * manual/message.texi (Charset conversion in gettext):
17518 Move @end statement to beginning of line.
17519
175202013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17521
17522 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
17523 static.
17524 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
17525 Likewise.
17526
17527 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
17528 (denorm): Likewise.
17529 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
17530 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
17531
175322013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17533
17534 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
17535 tail-call to the resolved function if pltexit isn't needed.
17536
175372013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17538
17539 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
17540 or Y being zero as being unlikely.
17541 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
17542 Likewise.
17543
175442013-02-20 Carlos O'Donell <carlos@redhat.com>
17545
17546 * manual/nss.texi (System Databases and Name Service Switch):
17547 Remove frobnicate @pxref.
17548
175492013-02-20 Thomas Schwinge <thomas@codesourcery.com>
17550
17551 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17552 __attribute__ ((unused)) to __attribute__ ((__unused__)).
17553
175542013-02-20 Petr Machata <pmachata@redhat.com>
17555
17556 * elf/elf.h (R_ARM_TARGET1): New macro.
17557 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
17558 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
17559 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
17560 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
17561 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
17562 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
17563 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
17564 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
17565 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
17566 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
17567 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
17568 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
17569 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
17570 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
17571 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
17572 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
17573 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
17574 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
17575 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
17576 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
17577 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
17578 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
17579 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
17580 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
17581 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
17582 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
17583 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
17584 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
17585 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
17586 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
17587 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
17588 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
17589 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
17590 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
17591 (R_ARM_THM_GOT_BREL12): Likewise.
17592 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
17593 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
17594 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
17595 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
17596 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
17597 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
17598 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
17599 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
17600 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
17601
176022013-02-20 Thomas Schwinge <thomas@codesourcery.com>
17603
17604 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17605 __attribute_used__ to __attribute__ ((unused)).
17606
176072013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17608
17609 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
17610 powerpc mpa.c.
17611 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
17612 comment formatting.
17613 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
17614
176152013-02-19 Joseph Myers <joseph@codesourcery.com>
17616
17617 [BZ #13550]
17618 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
17619 Remove macro.
17620 (ENTER): Remove both macro definitions.
17621 (LEAVE): Likewise.
17622 (CHECK_BOUNDS_LOW): Likewise.
17623 (CHECK_BOUNDS_HIGH): Likewise.
17624 (CHECK_BOUNDS_BOTH): Likewise.
17625 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
17626 (RETURN_BOUNDED_POINTER): Likewise.
17627 (RETURN_NULL_BOUNDED_POINTER): Likewise.
17628 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
17629 (POP_ERRNO_LOCATION_RETURN): Likewise.
17630 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
17631 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17632 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
17633 macros.
17634 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17635 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
17636 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
17637 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
17638 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
17639 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
17640 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
17641 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
17642 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
17643 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
17644 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
17645 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
17646 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17647 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
17648 removed macros.
17649 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17650 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
17651 macros.
17652 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17653 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
17654 * sysdeps/i386/i586/memset.S (memset): Likewise.
17655 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
17656 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17657 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
17658 macros.
17659 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17660 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
17661 Change uses of L(2) to L(out).
17662 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
17663 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
17664 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
17665 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17666 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
17667 removed macros.
17668 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17669 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
17670 macros.
17671 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17672 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
17673 (RETURN): Do not use macro LEAVE.
17674 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
17675 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
17676 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
17677 * sysdeps/i386/i686/memset.S (memset): Likewise.
17678 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
17679 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
17680 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17681 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
17682 Likewise.
17683 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17684 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
17685 L(1_2) and L(1_3) into L(1).
17686 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17687 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
17688 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17689 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
17690 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17691 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
17692 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
17693 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17694 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
17695 macros.
17696 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
17697 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17698 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
17699 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
17700 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
17701 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17702 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
17703 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
17704 * sysdeps/i386/strcspn.S (strcspn): Likewise.
17705 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
17706 * sysdeps/i386/strrchr.S (strrchr): Likewise.
17707 * sysdeps/i386/strspn.S (strspn): Likewise.
17708 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
17709 conditional code.
17710 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17711 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
17712 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17713 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
17714 L(1_3) into L(1_1).
17715 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
17716 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17717 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
17718 macros.
17719 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17720
177212013-02-19 Jakub Jelinek <jakub@redhat.com>
17722
17723 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
17724 macro.
17725
177262013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17727
17728 * math/atest-exp.c (exp_mpn): Remove ROUND.
17729 * math/atest-exp2.c (exp_mpn): Likewise.
17730 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
17731
17732 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
17733 * stdlib/tst-tls-atexit-lib.c: Likewise.
17734 * stdlib/tst-tls-atexit.c: Likewise.
17735
177362013-02-18 Mike Frysinger <vapier@gentoo.org>
17737
17738 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
17739 and __attribute_alloc_size__.
17740
177412013-02-18 Mike Frysinger <vapier@gentoo.org>
17742
17743 * include/programs/xmalloc.h: Change __attribute_alloc_size to
17744 __attribute_alloc_size__.
17745 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
17746 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
17747
177482013-02-18 Mike Frysinger <vapier@gentoo.org>
17749
17750 * include/programs/xmalloc.h: New file.
17751 * catgets/gencat.c: Include it.
17752 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
17753 * elf/pldd.c: Likewise.
17754 * iconv/iconv_charmap.c: Likewise.
17755 * iconv/iconvconfig.c: Likewise.
17756 * iconv/strtab.c: Likewise.
17757 * locale/programs/locale.c: Likewise.
17758 * locale/programs/localedef.h: Likewise.
17759 * locale/programs/simple-hash.c: Likewise.
17760 * nscd/nscd.h: Likewise.
17761 * nss/makedb.c: Likewise.
17762 * sysdeps/generic/ldconfig.h: Likewise.
17763
177642013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17765
17766 * Versions.def: Add GLIBC_2.18.
17767 * include/link.h (struct link_map): New member l_tls_dtor_count.
17768 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
17769 (__call_tls_dtors): Likewise.
17770 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
17771 __cxa_thread_atexit_impl.
17772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17773 Likewise.
17774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17775 Likewise.
17776 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17777 Likewise.
17778 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17779 Likewise.
17780 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17781 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
17782 Likewise.
17783 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
17784 Likewise.
17785 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17786 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
17787 Likewise.
17788 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
17789 (tests): Add test case tst-tls-atexit.
17790 (modules-names): Add shared library for tst-tls-atexit.
17791 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
17792 (GLIBC_PRIVATE): Add __call_tls_dtors.
17793 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
17794 for libstdc++.
17795 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
17796 * stdlib/tst-tls-atexit.c: New test case.
17797 * stdlib/tst-tls-atexit-lib.c: New test case.
17798
17799 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
17800
17801 * elf/Versions (ld): Add _dl_find_dso_for_object.
17802 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
17803 * elf/dl-open.c (_dl_find_dso_for_object): New function.
17804 (dl_open_worker): Use _dl_find_dso_for_object.
17805 * elf/dl-sym.c (do_sym): Likewise.
17806 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
17807
178082013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17809
17810 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
17811 Syntactic changes only.
17812 (_dl_runtime_profile): Do a tail-call to the resolved function.
17813
178142013-02-17 Joseph Myers <joseph@codesourcery.com>
17815
17816 [BZ #13550]
17817 * sysdeps/x86_64/bp-asm.h: Remove file.
17818 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
17819 <bp-sym.h> and <bp-asm.h>.
17820 (__clone): Do not use BP_SYM.
17821 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
17822 <bp-sym.h> and <bp-asm.h>.
17823 * sysdeps/unix/x86_64/sysdep.S: Likewise.
17824 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
17825 "bp-asm.h".
17826 (_setjmp): Do not use BP_SYM.
17827 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
17828 "bp-asm.h".
17829 (setjmp): Do not use BP_SYM.
17830 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
17831 libc_hidden_def.
17832 (mempcpy): Do not use BP_SYM in weak_alias.
17833 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
17834 "bp-asm.h".
17835 (strchr): Do not use BP_SYM.
17836 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
17837 "bp-asm.h".
17838 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
17839 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
17840 (_start): Do not use BP_SYM.
17841 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
17842 "bp-asm.h".
17843 (strcat): Do not use BP_SYM.
17844 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
17845 "bp-asm.h".
17846 (STRCMP): Do not use BP_SYM.
17847 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
17848 "bp-asm.h".
17849 (STRCPY): Do not use BP_SYM.
17850 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
17851 "bp-asm.h".
17852 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
17853 "bp-asm.h".
17854 (FUNCTION): Do not use BP_SYM.
17855 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
17856 weak_alias.
17857 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
17858
178592013-02-17 Andreas Jaeger <aj@suse.de>
17860
17861 * time/Versions: Sort entries.
17862 * string/Versions: Likewise.
17863 * resolv/Versions: Likewise.
17864 * posix/Versions: Likewise.
17865 * iconv/Versions: Likewise.
17866 * elf/Versions: Likewise.
17867 * wcsmbs/Versions: Likewise.
17868
178692013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17870
17871 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
17872 loop termination condition.
17873
17874 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
17875 variable to calculate EZ.
17876 (__sqr): Likewise.
17877
17878 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
17879 the lower precision input.
17880
178812013-02-15 Joseph Myers <joseph@codesourcery.com>
17882
17883 [BZ #13550]
17884 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
17885 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
17886 (run-via-rtld-prefix): Do not handle %-bp tests.
17887 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
17888 (all-object-suffixes): Remove .ob.
17889 (bppfx): Remove variable.
17890 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
17891 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
17892 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
17893 [$(build-bounded) = yes] (libtype.ob): Likewise.
17894 * Makerules (elide-routines.ob): Remove variable.
17895 (do-tests-clean): Do not handle *-bp.out.
17896 (common-mostlyclean): Do not handle *-bp and *-bp.out.
17897 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
17898 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
17899 (tests): Do not include $(tests-bp.out).
17900 (xtests): Do not include $(xtests-bp.out).
17901 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
17902 [$(build-bounded) = yes] ($(addprefix
17903 $(objpfx),$(binaries-bounded))): Remove rule.
17904 ($(objpfx)%-bp.out): Remove rule.
17905 * config.make.in (build-bounded): Remove variable.
17906 * crypt/Makefile [$(build-bounded) = yes]
17907 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
17908 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
17909 append to variable.
17910 [$(build-bounded) = yes] (install-lib): Likewise.
17911 [$(build-bounded) = yes] (generated): Likewise.
17912 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
17913 Remove rule.
17914 * intl/Makefile [$(build-bounded) = yes]
17915 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
17916 * math/Makefile [$(build-bounded) = yes]
17917 ($(tests:%=$(objpfx)%-bp): Likewise.
17918 * misc/Makefile [$(build-bounded) = yes]
17919 ($(objpfx)tst-tsearch-bp): Likewise.
17920 * nptl/Makeconfig (bounded-thread-library): Remove variable.
17921 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
17922 Remove dependency.
17923 * string/Makefile (o-objects.ob): Remove variable.
17924 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
17925 (CFLAGS-.ob): Remove variable.
17926 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
17927 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
17928 both definitions of variable.
17929 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
17930 (ASFLAGS-.ob): Remove variable.
17931
179322013-02-14 Joseph Myers <joseph@codesourcery.com>
17933
17934 [BZ #13550]
17935 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
17936 Remove __BOUNDED_POINTERS__ from condition.
17937 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
17938 * string/bits/string2.h [!__NO_STRING_INLINES &&
17939 !__BOUNDED_POINTERS__]: Likewise.
17940 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
17941 Likewise.
17942 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
17943 Remove conditional code.
17944 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
17945 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
17946 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
17947 condition.
17948
17949 [BZ #13550]
17950 * csu/libc-start.c: Do not include <bp-sym.h>.
17951 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
17952 * elf/dl-open.c: Do not include <bp-sym.h>.
17953 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
17954 * math/fegetenv.c: Do not include <bp-sym.h>.
17955 (fegetenv): Do not use BP_SYM in versioned symbols.
17956 * nptl/sysdeps/pthread/bits/libc-lockP.h
17957 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
17958 <bp-sym.h>.
17959 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17960 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
17961 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17962 (__pthread_mutex_destroy): Likewise.
17963 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17964 (__pthread_mutex_lock): Likewise.
17965 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17966 (__pthread_mutex_trylock): Likewise.
17967 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17968 (__pthread_mutex_unlock): Likewise.
17969 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17970 (__pthread_mutexattr_init): Likewise.
17971 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17972 (__pthread_mutexattr_destroy): Likewise.
17973 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17974 (__pthread_mutexattr_settype): Likewise.
17975 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17976 (__pthread_rwlock_init): Likewise.
17977 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17978 (__pthread_rwlock_destroy): Likewise.
17979 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17980 (__pthread_rwlock_rdlock): Likewise.
17981 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17982 (__pthread_rwlock_tryrdlock): Likewise.
17983 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17984 (__pthread_rwlock_wrlock): Likewise.
17985 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17986 (__pthread_rwlock_trywrlock): Likewise.
17987 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17988 (__pthread_rwlock_unlock): Likewise.
17989 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17990 (__pthread_key_create): Likewise.
17991 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17992 (__pthread_setspecific): Likewise.
17993 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17994 (__pthread_getspecific): Likewise.
17995 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
17996 Likewise.
17997 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17998 (_pthread_cleanup_push_defer): Likewise.
17999 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18000 (_pthread_cleanup_pop_restore): Likewise.
18001 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18002 (pthread_setcancelstate): Likewise.
18003 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
18004 <bp-sym.h>.
18005 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
18006 (memchr): Do not use BP_SYM in weak_alias.
18007 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
18008 (fegetenv): Do not use BP_SYM in versioned symbols.
18009 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
18010 (fesetenv): Do not use BP_SYM in versioned symbols.
18011 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
18012 (feupdateenv): Do not use BP_SYM in versioned symbols.
18013 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
18014 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
18015 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
18016 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
18017 (open64): Do not use BP_SYM in weak_alias.
18018 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
18019 (fegetenv): Do not use BP_SYM in versioned symbols.
18020 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
18021 (fesetenv): Do not use BP_SYM in versioned symbols.
18022 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
18023 (feupdateenv): Do not use BP_SYM in versioned symbols.
18024 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
18025 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
18026 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
18027 (feraiseexcept): Do not use BP_SYM in versioned symbols.
18028 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
18029 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
18030 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
18031 <bp-sym.h>.
18032 (__libc_start_main): Do not use BP_SYM.
18033
180342013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18035
18036 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
18037 redundant return line.
18038 (norm): Likewise.
18039 (denorm): Likewise.
18040 (dbl_mp): Likewise.
18041 (sub_magnitudes): Likewise.
18042 (__add): Likewise.
18043 (__sub): Likewise.
18044 (__mul): Likewise.
18045 (__inv): Likewise.
18046 (__dvd): Likewise.
18047 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
18048 (norm): Likewise.
18049 (denorm): Likewise.
18050 (dbl_mp): Likewise.
18051 (sub_magnitudes): Likewise.
18052 (__add): Likewise.
18053 (__sub): Likewise.
18054 (__mul): Likewise.
18055 (__inv): Likewise.
18056 (__dvd): Likewise.
18057
18058 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
18059 instead of __mul.
18060 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
18061 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
18062 (cc32): Likewise.
18063
18064 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
18065 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
18066 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
18067 of __mul for squares.
18068 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
18069 function
18070 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
18071 Likewise.
18072 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
18073 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
18074
180752013-02-13 Joseph Myers <joseph@codesourcery.com>
18076
18077 [BZ #13550]
18078 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
18079 code.
18080 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
18081 prototype or function definition. Rename ubp_* variables and
18082 parameters. Remove argv definitions conditional on
18083 [__BOUNDED_POINTERS__].
18084 * debug/backtrace.c (__backtrace): Do not use __unbounded.
18085 * elf/dl-runtime.c (_dl_fixup): Likewise.
18086 * include/set-hooks.h (RUN_HOOK): Likewise.
18087 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
18088 definition.
18089 * string/strcpy.c (strcpy): Do not use __unbounded.
18090 * sysdeps/generic/frame.h (struct layout): Likewise.
18091 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
18092 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
18093 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
18094 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
18095 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
18096 (__backtrace): Likewise.
18097 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
18098 use __ptrvalue.
18099 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
18100 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
18101 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
18102 Likewise.
18103 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
18104 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
18105 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
18106 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18107 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
18108 Do not use __unbounded.
18109 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
18110 Rename __unboundedrlimits parameter to rlimits in prototype.
18111 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
18112 Do not use __unbounded.
18113 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
18114 not use __ptrvalue.
18115 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18116 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
18117 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18118 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
18119 __ptrvalue or __unbounded.
18120 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
18121 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
18122 use __unbounded.
18123 (__new_msgctl): Do not use __ptrvalue.
18124 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
18125 __unbounded.
18126 (__libc_msgrcv): Do not use __ptrvalue.
18127 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
18128 startup_info): Do not use __unbounded.
18129 (__libc_start_main): Likewise. Rename ubp_* variables and
18130 parameters. Remove argv definitions conditional on
18131 [__BOUNDED_POINTERS__].
18132 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
18133 __ptrvalue.
18134 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
18135 use __unbounded.
18136 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
18137 or __ptrvalue.
18138 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
18139 use __unbounded.
18140 (__new_shmctl): Do not use __ptrvalue.
18141 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
18142 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
18143 Likewise.
18144 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
18145 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
18146 (__libc_sigaction): Likewise.
18147 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
18148 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
18149 Likewise.
18150 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18151
181522013-02-13 Ondřej Bílka <neleai@seznam.cz>
18153
18154 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
18155
18156 * string/mempcpy.c: Implement by calling memcpy.
18157
181582013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18159
18160 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
18161
18162 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
18163 evaluation.
18164
18165 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
18166 values in the mantissa.
18167
18168 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
18169 minimize writes to Z.
18170 (sub_magnitudes): Simplify code a bit.
18171
181722013-02-12 Roland McGrath <roland@hack.frob.com>
18173
18174 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
18175 from the message. The linker prefixes all warnings with that already.
18176
181772013-02-12 Andreas Schwab <schwab@suse.de>
18178
18179 [BZ #15078]
18180 * posix/regexec.c (extend_buffers): Add parameter min_len.
18181 (check_matching): Pass minimum needed length.
18182 (clean_state_log_if_needed): Likewise.
18183 (get_subexp): Likewise.
18184 * posix/Makefile (tests): Add bug-regex34.
18185 (bug-regex34-ENV): Define.
18186 * posix/bug-regex34.c: New file.
18187
18188 [BZ #11561]
18189 * posix/regcomp.c (parse_bracket_exp): When looking up collating
18190 elements compare against the byte sequence of it, not its name.
18191 * posix/Makefile (tests): Add bug-regex35.
18192 (bug-regex35-ENV): Define.
18193 * posix/bug-regex35.c: New file.
18194
181952013-02-11 Tom de Vries <tom@codesourcery.com>
18196
18197 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
18198 comment.
18199 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
18200 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
18201 (CHECK_EOL): Add undef.
18202
182032013-02-11 Ondřej Bílka <neleai@seznam.cz>
18204
18205 * bits/stdlib-bsearch.h: New file.
18206 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
18207 * stdlib/stdlib.h: Likewise.
18208
182092013-02-11 Roland McGrath <roland@hack.frob.com>
18210
18211 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
18212 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
18213 declaration.
18214 * manual/search.texi (Array Search Function): Add missing const in
18215 lfind prototype.
18216 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
18217 declaration to use rlim_t.
18218 (Basic Scheduling Functions): Remove erroneous const from
18219 sched_getparam prototype. Remove erroneous * from
18220 sched_get_priority_max and sched_get_priority_min prototypes.
18221 (Resource Usage): Fix summary @comment on vtimes to refer to
18222 sys/vtimes.h rather than vtimes.h.
18223 Add missing *s in vtimes prototype.
18224 (Limits on Resources): Fix ulimit prototype to return long int.
18225 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
18226 prototypes to use long int rather than double.
18227 (BSD Random): Fix initstate and setstate to use char *, not void *.
18228 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
18229 prototype to make second argument 'struct aiocb64 *const[]'.
18230 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
18231 (Status of AIO Operations): Remove erroneous const in aio_return and
18232 aio_return64 prototypes.
18233 (Synchronizing I/O): Fix sync prototype to return void.
18234 * manual/startup.texi (Suboptions): Remove an erroneous const in
18235 getsubopt prototype.
18236 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
18237 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
18238 use size_t rather than int.
18239 (Scanning All Users): Likewise for getpwent_r.
18240 (Setting Groups): Add missing const to setgroups prototype.
18241 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
18242 * manual/socket.texi (Host Names): Fix gethostbyaddr and
18243 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
18244 'const void *' rather than 'const char *'.
18245 (Host Address Functions): Likewise for inet_ntop.
18246 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
18247 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
18248 ssize_t for return value.
18249 (Sending Data): Likewise for send, sendto, sendmsg.
18250 (Socket Option Functions): Add a missing const in setsockopt prototype.
18251 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
18252 use wchar_t for the argument.
18253 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
18254 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
18255 take no arguments.
18256 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
18257 double/float/long double for second argument.
18258 Fix return types of significand, significandf, significandl.
18259 * manual/filesys.texi (Setting Permissions): Use mode_t for second
18260 argument in fchmod prototype.
18261 (File Owner): Use uid_t and gid_t in fchown prototype.
18262 (File Times): Add const to utimes, futimes, and lutimes prototypes.
18263 (Making Special Files): Use mode_t and dev_t in mknod prototype.
18264 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
18265 use 'const struct dirent **' as argument types to CMP function pointer
18266 argument.
18267 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
18268 (File Times): Fix summary magic @comment for struct utimbuf and utime
18269 to refer to utime.h, not time.h.
18270 * manual/string.texi (Argz Functions): Add missing const in
18271 argz_extract and argz_next prototypes.
18272 (Finding Tokens in a String): Likewise for basename.
18273 (String/Array Comparison): Fix typo in wcscasecmp prototype.
18274 (Copying and Concatenation): Fix typo in wmemmove prototype.
18275 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
18276 (Signal Stack): Remove erroneous const in sigstack prototype.
18277 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
18278 prototype.
18279 (Simple Calendar Time): Likewise for stime.
18280 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
18281 prototype.
18282 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
18283 say sys/sysctl.h instead.
18284 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
18285 and vsyslog prototypes.
18286
182872013-02-11 Tom de Vries <tom@codesourcery.com>
18288
18289 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
18290 Remove.
18291
182922013-02-11 Roland McGrath <roland@hack.frob.com>
18293
18294 * misc/sys/mman.h: Fix typo in mremap comment.
18295
182962013-02-08 Roland McGrath <roland@hack.frob.com>
18297
18298 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
18299 the '\0' terminator.
18300
183012013-02-08 Joseph Myers <joseph@codesourcery.com>
18302
18303 [BZ #13550]
18304 * debug/segfault.c: Don't include <bp-checks.h>.
18305 * sysdeps/generic/bp-checks.h: Remove file.
18306 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
18307 (__GETDENTS): Don't use CHECK_N.
18308 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
18309 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
18310 (__getgroups): Don't use CHECK_N.
18311 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
18312 (setgroups): Don't use CHECK_N.
18313 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
18314 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
18315 (__libc_msgrcv): Don't use CHECK_N.
18316 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
18317 (__libc_msgsnd): Don't use CHECK_N.
18318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
18319 <bp-checks.h>.
18320 (__libc_pread): Don't use CHECK_N.
18321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
18322 include <bp-checks.h>.
18323 (__libc_pread64): Don't use CHECK_N.
18324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
18325 include <bp-checks.h>.
18326 (__libc_pwrite): Don't use CHECK_N.
18327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
18328 include <bp-checks.h>.
18329 (__libc_pwrite64): Don't use CHECK_N.
18330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
18331 <bp-checks.h>.
18332 (__libc_pread): Don't use CHECK_N.
18333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
18334 include <bp-checks.h>.
18335 (__libc_pread64): Don't use CHECK_N.
18336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
18337 include <bp-checks.h>.
18338 (__libc_pwrite): Don't use CHECK_N.
18339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
18340 include <bp-checks.h>.
18341 (__libc_pwrite64): Don't use CHECK_N.
18342 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
18343 (do_pread): Don't use CHECK_N.
18344 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
18345 (do_pread64): Don't use CHECK_N.
18346 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
18347 (do_pwrite): Don't use CHECK_N.
18348 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
18349 (do_pwrite64): Don't use CHECK_N.
18350 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
18351 (__libc_readv): Don't use CHECK_N.
18352 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
18353 (semop): Don't use CHECK_N.
18354 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
18355 <bp-checks.h>.
18356 (semtimedop): Don't use CHECK_N.
18357 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
18358 (__libc_pread): Don't use CHECK_N.
18359 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
18360 <bp-checks.h>.
18361 (__libc_pread64): Don't use CHECK_N.
18362 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
18363 <bp-checks.h>.
18364 (__libc_pwrite): Don't use CHECK_N.
18365 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
18366 <bp-checks.h>.
18367 (__libc_pwrite64): Don't use CHECK_N.
18368 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
18369 <bp-checks.h>.
18370 (__libc_msgrcv): Don't use CHECK_N.
18371 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
18372 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
18373 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
18374 (__libc_writev): Don't use CHECK_N.
18375
183762013-02-08 Roland McGrath <roland@hack.frob.com>
18377
18378 * string/strcpy.c: Removed unused variable.
18379
18380 * Makeconfig (+sysdep-includes): Define with := rather than =.
18381 Use an existing include/ subdir of each sysdeps dir before it.
18382
183832013-02-08 Carlos O'Donell <carlos@redhat.com>
18384
18385 * nscd/connection.c (register_traced_file): Comment function.
18386 [HAVE_INOTIFY] (union __inev): Define.
18387 [HAVE_INOTIFY] (inotify_check_files): New function.
18388 [HAVE_INOTIFY] (clear_db_cache): Likewise.
18389 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
18390 clear_db_cache.
18391 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
18392
183932013-02-08 Carlos O'Donell <carlos@redhat.com>
18394
18395 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
18396 loaded if not already and that a failure is permanent.
18397
183982013-02-08 Carlos O'Donell <carlos@redhat.com>
18399
18400 [BZ #15006]
18401 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
18402 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
18403
184042013-02-08 Joseph Myers <joseph@codesourcery.com>
18405
18406 [BZ #13550]
18407 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
18408 (CHECK_1_NULL_OK): Likewise.
18409 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
18410 (__fxstat): Do not use CHECK_1.
18411 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
18412 <bp-checks.h>.
18413 (___fxstat64): Do not use CHECK_1.
18414 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
18415 <bp-checks.h>.
18416 (__fxstatat): Do not use CHECK_1.
18417 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
18418 <bp-checks.h>.
18419 (__fxstatat64): Do not use CHECK_1.
18420 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
18421 <bp-checks.h>.
18422 (__fxstat): Do not use CHECK_1.
18423 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
18424 <bp-checks.h>.
18425 (__fxstatat): Do not use CHECK_1.
18426 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
18427 <bp-checks.h>.
18428 (__getresgid): Do not use CHECK_1.
18429 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
18430 <bp-checks.h>.
18431 (__getresuid): Do not use CHECK_1.
18432 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
18433 <bp-checks.h>.
18434 (__lxstat): Do not use CHECK_1.
18435 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
18436 <bp-checks.h>.
18437 (__old_msgctl): Do not use CHECK_1.
18438 (__new_msgctl): Likewise.
18439 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
18440 <bp-checks.h>.
18441 (__new_setrlimit): Do not use CHECK_1.
18442 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
18443 <bp-checks.h>.
18444 (__old_shmctl): Do not use CHECK_1.
18445 (__new_shmctl): Likewise.
18446 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
18447 <bp-checks.h>.
18448 (__xstat): Do not use CHECK_1.
18449 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
18450 (__lxstat): Do not use CHECK_1.
18451 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
18452 <bp-checks.h>.
18453 (___lxstat64): Do not use CHECK_1.
18454 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
18455 (__old_msgctl): Do not use CHECK_1.
18456 (__new_msgctl): Likewise.
18457 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
18458 <bp-checks.h>.
18459 (__gettimeofday): Do not use CHECK_1.
18460 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
18461 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
18462 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
18463 <bp-checks.h>.
18464 (__gettimeofday): Do not use CHECK_1.
18465 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
18466 (__old_shmctl): Do not use CHECK_1_NULL_OK.
18467 (__new_shmctl): Do not use CHECK_1.
18468 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
18469 <bp-checks.h>.
18470 (do_sigtimedwait): Do not use CHECK_1.
18471 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
18472 <bp-checks.h>.
18473 (do_sigwaitinfo): Do not use CHECK_1.
18474 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
18475 <bp-checks.h>.
18476 (msgctl): Do not use CHECK_1.
18477 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
18478 <bp-checks.h>.
18479 (shmctl): Do not use CHECK_1.
18480 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
18481 (ustat): Do not use CHECK_1.
18482 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
18483 <bp-checks.h>.
18484 (__fxstat): Do not use CHECK_1.
18485 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
18486 <bp-checks.h>.
18487 (__fxstatat): Do not use CHECK_1.
18488 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
18489 <bp-checks.h>.
18490 (__lxstat): Do not use CHECK_1.
18491 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
18492 <bp-checks.h>.
18493 (__xstat): Do not use CHECK_1.
18494 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
18495 (__xstat): Do not use CHECK_1.
18496 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
18497 (___xstat64): Do not use CHECK_1.
18498
18499 [BZ #13550]
18500 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
18501 definitions.
18502 (CHECK_BOUNDS_HIGH): Likewise.
18503 * string/strcpy.c: Do not include <bp-checks.h>.
18504 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
18505
185062013-02-07 Roland McGrath <roland@hack.frob.com>
18507
18508 * nscd/nscd-client.h (__nscd_drop_map_ref):
18509 Add __attribute__ ((unused)).
18510 * nis/nss-nisplus.h (niserr2nss): Likewise.
18511
18512 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
18513 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
18514
18515 * csu/libc-tls.c (init_static_tls, init_slotinfo):
18516 Remove inline keyword.
18517 * include/rounding-mode.h (round_away): Likewise.
18518 * libio/wfileops.c (adjust_wide_data): Likewise.
18519 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
18520 (__m128i_strloadu_tolower): Likewise.
18521 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
18522 (__m128i_strloadu_tolower): Likewise.
18523 * time/mktime.c (ydhms_diff): Likewise.
18524 * locale/elem-hash.h (elem_hash): Likewise.
18525 * locale/setlocale.c (setdata): Likewise.
18526 * posix/regex_internal.h (re_string_char_size_at): Likewise.
18527 (re_string_wchar_at): Likewise.
18528 (bitset_not, bitset_merge, bitset_mask): Likewise.
18529 [!(__GNUC__ > 3)] (inline): Remove macro.
18530 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
18531 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
18532 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
18533 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
18534 * string/memcmp.c (memcmp_bytes): Likewise.
18535 * locale/programs/locarchive.c (compute_hashval): Likewise.
18536 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
18537 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
18538 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
18539 * nss/getent.c (print_rpc, print_protocols): Likewise.
18540 (print_passwd, print_group, print_aliases): Likewise.
18541 * nis/nss-nisplus.h (niserr2nss): Likewise.
18542 * nscd/connections.c (restart_p): Likewise.
18543 Change return type to bool.
18544
185452013-02-05 Roland McGrath <roland@hack.frob.com>
18546
18547 * Makeconfig (all-Depend-files): Add existing
18548 $(sorted-subdirs:=/Depend) files.
18549 (all-subdirs): Remove nss.
18550 * sysdeps/unix/inet/Subdirs: Add it here instead.
18551 * hesiod/Depend: New file.
18552
18553 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
18554 instead of calling alloca.
18555
18556 * io/lseek.c (__lseek): Rename to __libc_lseek.
18557 Define __lseek as an alias.
18558
18559 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
18560
185612013-02-04 Carlos O'Donell <carlos@redhat.com>
18562
18563 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
18564 else clause and remove check for non-standard endianness.
18565
185662013-02-04 David S. Miller <davem@davemloft.net>
18567
18568 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18569
185702013-02-04 Joseph Myers <joseph@codesourcery.com>
18571
18572 [BZ #13550]
18573 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
18574 (__ubp_memchr): Remove prototype.
18575 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
18576 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18577 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
18578 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18579 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
18580 Remove alias.
18581 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
18582 (__ubp_memchr): Likewise.
18583 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
18584 (__ubp_memchr): Likewise.
18585 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
18586 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
18587 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
18588 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
18589 CHECK_STRING.
18590 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
18591 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
18592 (__getcwd): Do not use CHECK_STRING.
18593 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
18594 <bp-checks.h>.
18595 (__real_chown): Do not use CHECK_STRING.
18596 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
18597 <bp-checks.h>.
18598 (fchownat): Do not use CHECK_STRING.
18599 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
18600 CHECK_STRING.
18601 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
18602 <bp-checks.h>.
18603 (__lchown): Do not use CHECK_STRING.
18604 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18605 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18606 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18607 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
18608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
18609 include <bp-checks.h>.
18610 (truncate64): Do not use CHECK_STRING.
18611 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
18612 <bp-checks.h>.
18613 (__real_chown): Do not use CHECK_STRING.
18614 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
18615 <bp-checks.h>.
18616 (__lchown): Do not use CHECK_STRING.
18617 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
18618 <bp-checks.h>.
18619 (__chown): Do not use CHECK_STRING.
18620 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
18621 <bp-checks.h>.
18622 (truncate64): Do not use CHECK_STRING.
18623 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
18624 Likewise.
18625 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
18626 (__xmknod): Do not use CHECK_STRING.
18627 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
18628 <bp-checks.h>.
18629 (__xmknodat): Do not use CHECK_STRING.
18630 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18631 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
18632
186332013-02-04 Andreas Schwab <schwab@suse.de>
18634
18635 [BZ #14142]
18636 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
18637 * include/netdb.h: Likewise for h_errno.
18638 * elf/tst-stackguard1.c: Include <tls.h>.
18639
186402013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
18641
18642 * elf/link.h (struct link_map): Extend the l_addr comment.
18643 * include/link.h (struct link_map): Likewise.
18644
186452013-02-01 Joseph Myers <joseph@codesourcery.com>
18646
18647 [BZ #13550]
18648 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
18649 (BOUNDED_1): Remove macro.
18650 * debug/backtrace.c: Don't include <bp-checks.h>.
18651 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
18652 (__backtrace): Likewise.
18653 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
18654 <bp-checks.h>.
18655 (__backtrace): Don't use BOUNDED_1.
18656 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
18657 <bp-checks.h>.
18658 (__backtrace): Don't use BOUNDED_1.
18659 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
18660 (__backtrace): Don't use BOUNDED_1.
18661 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
18662 (shmat): Don't use BOUNDED_N.
18663
186642013-01-31 Joseph Myers <joseph@codesourcery.com>
18665
18666 [BZ #13550]
18667 * sysdeps/generic/bp-start.h: Remove file.
18668 * csu/libc-start.c: Don't include <bp-start.h>.
18669 (LIBC_START_MAIN): Set up __environ directly instead of using
18670 INIT_ARGV_and_ENVIRON.
18671 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
18672 <bp-start.h>.
18673
18674 [BZ #13550]
18675 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
18676 definitions.
18677 (CHECK_FCNTL): Likewise.
18678 (CHECK_N_PAGES): Likewise.
18679
18680 [BZ #13550]
18681 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
18682 definitions.
18683 (CHECK_SIGSET_NULL_OK): Likewise.
18684 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
18685 <bp-checks.h>.
18686 (sigpending): Don't use CHECK_SIGSET.
18687 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
18688 <bp-checks.h>.
18689 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18690 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
18691 <bp-checks.h>.
18692 (do_sigsuspend): Don't use CHECK_SIGSET.
18693 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
18694 use CHECK_SIGSET.
18695 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
18696 (do_sigwait): Don't use CHECK_SIGSET.
18697 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
18698 use CHECK_SIGSET.
18699 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
18700 include <bp-checks.h>.
18701 (sigpending): Don't use CHECK_SIGSET.
18702 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
18703 include <bp-checks.h>.
18704 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18705 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
18706 <bp-checks.h>.
18707 (sigpending): Don't use CHECK_SIGSET.
18708 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
18709 <bp-checks.h>.
18710 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18711
18712 [BZ #13550]
18713 * sysdeps/generic/bp-semctl.h: Remove file.
18714 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
18715 <bp-checks.h> and <bp-semctl.h>.
18716 (__old_semctl): Don't use CHECK_SEMCTL.
18717 (__new_semctl): Likewise.
18718 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
18719 and <bp-semctl.h>.
18720 (__old_semctl): Don't use CHECK_SEMCTL.
18721 (__new_semctl): Likewise.
18722 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
18723 <bp-checks.h> and <bp-semctl.h>.
18724 (__old_semctl): Don't use CHECK_SEMCTL.
18725 (__new_semctl): Likewise.
18726 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
18727 <bp-checks.h> and <bp-semctl.h>.
18728 (semctl): Don't use CHECK_SEMCTL.
18729
18730 [BZ #13550]
18731 * Makerules (elide-bp-thunks): Remove variable.
18732 (elide-routines.oS): Don't use $(elide-bp-thunks).
18733 (elide-routines.os): Likewise.
18734 (elide-routines.o): Likewise.
18735 (elide-routines.op): Likewise.
18736 (elide-routines.og): Likewise.
18737 (objects): Don't use $(bp-thunks).
18738 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
18739 include.
18740 (common-generated): Do not add s-proto-bp.d.
18741 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
18742 (int): Likewise.
18743 (typ): Likewise.
18744 Do not generate makefile rules for bounded-pointer thunks.
18745 * sysdeps/generic/bp-thunks.h: Remove file.
18746 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
18747 * sysdeps/unix/s-proto-bp.S: Likewise.
18748
18749 [BZ #15062]
18750 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
18751 parts of result separately when argument is not close to line from
18752 -i to i and one part of argument is small.
18753 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18754 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18755 * math/libm-test.inc (cacos_test): Add more tests.
18756 (casin_test): Likewise.
18757 (casinh_test): Likewise.
18758 * sysdeps/i386/fpu/libm-test-ulps: Update.
18759 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18760
187612013-01-31 David S. Miller <davem@davemloft.net>
18762
18763 * po/de.po: Update from translation team.
18764
187652013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
18766
18767 * time/tzfile.c: Include stdint.h for SIZE_MAX.
18768
187692013-01-25 Thomas Schwinge <thomas@codesourcery.com>
18770
18771 * configure.in (_AC_PROG_CC_C89): New definition.
18772 * configure: Regenerate.
18773
18774 * configure.in (AC_PROG_CPP): New definition.
18775 * configure: Regenerate.
18776
187772013-01-23 Joseph Myers <joseph@codesourcery.com>
18778
18779 * debug/tst-backtrace.h: New file.
18780 * debug/tst-backtrace2.c: Include tst-backtrace.h.
18781 (ret): Remove variable.
18782 (x): Likewise.
18783 (FAIL): Remove macro.
18784 (NO_INLINE): Likewise.
18785 (fn1): Use match function instead of strstr.
18786 * debug/tst-backtrace3.c: Include tst-backtrace.h.
18787 (ret): Remove variable.
18788 (x): Likewise.
18789 (FAIL): Remove macro.
18790 (NO_INLINE): Likewise.
18791 (fn): Use match function instead of strstr.
18792 * debug/tst-backtrace4.c: Include tst-backtrace.h.
18793 (ret): Remove variable.
18794 (x): Likewise.
18795 (FAIL): Remove macro.
18796 (NO_INLINE): Likewise.
18797 (handle_signal): Use match function instead of strstr.
18798 * debug/tst-backtrace5.c: Include tst-backtrace.h.
18799 (ret): Remove variable.
18800 (x): Likewise.
18801 (FAIL): Remove macro.
18802 (NO_INLINE): Likewise.
18803 (handle_signal): Use match function instead of strstr.
18804
188052013-01-23 Roland McGrath <roland@hack.frob.com>
18806
18807 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
18808
188092013-01-23 David S. Miller <davem@davemloft.net>
18810
18811 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
18812 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
18813 argument of CAS if possible.
18814 * sysdeps/sparc/sparc64/bits/atomic.h
18815 (__arch_compare_and_exchange_val_32_acq): Likewise.
18816 (__arch_compare_and_exchange_val_64_acq): Likewise.
18817
188182013-01-23 Pino Toscano <toscano.pino@tiscali.it>
18819
18820 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
18821 * sysdeps/posix/ulimit.c: ... this.
18822 Include <limits.h>.
18823 * sysdeps/unix/bsd/ulimit.c: Remove file.
18824
188252013-01-23 Adam Conrad <adconrad@0c3.net>
18826
18827 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
18828 (LDFLAGS-tst-array5): Likewise.
18829
188302013-01-23 Joseph Myers <joseph@codesourcery.com>
18831
18832 [BZ #15036]
18833 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
18834 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
18835 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
18836 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
18837
188382013-01-21 David S. Miller <davem@davemloft.net>
18839
18840 * sysdeps/sparc/backtrace.c: New file.
18841 * sysdeps/sparc/sparc32/backtrace.h: New file.
18842 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
18843 * sysdeps/sparc/sparc64/backtrace.h: New file.
18844 * sysdeps/sparc/sparc64/backtrace.c: Delete.
18845 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
18846 -funwind-tables.
18847
188482013-01-21 Andreas Schwab <schwab@suse.de>
18849
18850 [BZ #15020]
18851 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
18852 closed its stdout.
18853
188542013-01-20 Andreas Schwab <schwab@linux-m68k.org>
18855
18856 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
18857 "mpa2.h".
18858 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18859
188602013-01-18 Joseph Myers <joseph@codesourcery.com>
18861 Mark Mitchell <mark@codesourcery.com>
18862 Tom de Vries <tom@codesourcery.com>
18863 Paul Pluzhnikov <ppluzhnikov@google.com>
18864
18865 * debug/tst-backtrace2.c: New file.
18866 * debug/tst-backtrace3.c: Likewise.
18867 * debug/tst-backtrace4.c: Likewise.
18868 * debug/tst-backtrace5.c: Likewise.
18869 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
18870 (CFLAGS-tst-backtrace3.c): Likewise.
18871 (CFLAGS-tst-backtrace4.c): Likewise.
18872 (CFLAGS-tst-backtrace5.c): Likewise.
18873 (LDFLAGS-tst-backtrace2): Likewise.
18874 (LDFLAGS-tst-backtrace3): Likewise.
18875 (LDFLAGS-tst-backtrace4): Likewise.
18876 (LDFLAGS-tst-backtrace5): Likewise.
18877 (tests): Add new tests tst-backtrace2, tst-backtrace3,
18878 tst-backtrace4 and tst-backtrace5.
18879
188802013-01-18 Anton Blanchard <anton@samba.org>
18881 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18882
18883 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
18884 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
18885 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
18886 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
18887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
18888 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
18889 "+r" and remove output regs list as redundant. Add explicit inline
18890 asm to specify register of return val to work around compiler codegen
18891 bug. Remove (int) cast on return value. Add return type parameter to
18892 use in macro so that this macro does not truncate return value for
18893 64-bit values.
18894 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
18895 pass to INTERNAL_VSYSCALL_NCS.
18896 (INLINE_VSYSCALL): Add 'long int' as return type to
18897 INTERNAL_VSYSCALL_NCS macro invocation.
18898 (INTERNAL_VSYSCALL): Add 'long int' as return type to
18899 INTERNAL_VSYSCALL_NCS macro invocation.
18900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18901
189022013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18903
18904 [BZ #14496]
18905 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
18906 Fix application of SIMD FP exception mask.
18907
18908 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
18909 mp_no from a power of two.
18910 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
18911 __mpexp_twomm1. Use __pow_mp.
18912
18913 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
18914 multiplication.
18915
189162013-01-17 David S. Miller <davem@davemloft.net>
18917
18918 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18919
189202013-01-17 Joseph Myers <joseph@codesourcery.com>
18921
18922 [BZ #15023]
18923 * include/complex.h: Condition contents on [!_COMPLEX_H].
18924 (__kernel_casinhf): New prototype.
18925 (__kernel_casinh): Likewise.
18926 (__kernel_casinhl): Likewise.
18927 * math/Makefile (libm_calls): Add k_casinh.
18928 * math/k_casinh.c: New file.
18929 * math/k_casinhf.c: Likewise.
18930 * math/k_casinhl.c: Likewise.
18931 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
18932 finite nonzero arguments.
18933 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
18934 finite nonzero arguments.
18935 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
18936 finite nonzero arguments.
18937 * math/s_casinh.c: Do not include <float.h>.
18938 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
18939 * math/s_casinhf.c: Do not include <float.h>.
18940 (__casinhf): Move code for finite nonzero arguments to
18941 k_casinhf.c.
18942 * math/s_casinhl.c: Do not include <float.h>.
18943 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
18944 redefine.
18945 (__casinhl): Move code for finite nonzero arguments to
18946 k_casinhl.c.
18947 * math/libm-test.inc (cacos_test): Add more tests.
18948 * sysdeps/i386/fpu/libm-test-ulps: Update.
18949 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18950
189512013-01-17 Pino Toscano <toscano.pino@tiscali.it>
18952
18953 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
18954 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
18955 [!HAVE_MREMAP]: Remove [defined linux] case.
18956 * malloc/arena.c: Do not include <malloc-sysdep.h>.
18957
189582013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
18959
18960 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
18961
189622013-01-17 H.J. Lu <hongjiu.lu@intel.com>
18963
18964 * elf/elf.h (R_386_SIZE32): New relocation.
18965 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
18966 R_386_SIZE32.
18967 (elf_machine_rela): Likewise.
18968 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
18969 R_X86_64_SIZE64 and R_X86_64_SIZE32.
18970
189712013-01-17 Joseph Myers <joseph@codesourcery.com>
18972
18973 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
18974 (FP_FAST_FMA): Do not define.
18975 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
18976 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
18977 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
18978 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
18979 !_SOFT_FLOAT]: Likewise.
18980 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
18981 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
18982 value.
18983 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
18984 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
18985 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
18986 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
18987 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
18988 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
18989 file.
18990
189912013-01-16 Andreas Schwab <schwab@suse.de>
18992
18993 [BZ #14327]
18994 * include/stdlib.h (__mktemp): Add declaration.
18995 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
18996 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
18997
189982013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18999
19000 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
19001 definitions.
19002 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
19003 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
19004 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
19005 definitions here.
19006 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
19007 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
19008 definitions.
19009 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
19010 and ONE.
19011 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
19012 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
19013 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
19014 definitions.
19015 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
19016 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
19017 definitions.
19018 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
19019
19020 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
19021
190222013-01-15 David S. Miller <davem@davemloft.net>
19023
19024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19025 trunc{,f} to libm-sysdep_routes.
19026 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
19028 file.
19029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
19030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
19031 file.
19032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
19033 file.
19034 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
19035 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
19036 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
19037 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
19038 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
19039 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
19040 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
19041 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
19042
19043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19044 nearbyint{,f} to libm-sysdep_routes.
19045 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
19047 New file.
19048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
19049 file.
19050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
19051 New file.
19052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
19053 file.
19054 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
19055 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
19056 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
19057 file.
19058 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
19059 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
19060 file.
19061 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
19062 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
19063 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
19064
19065 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
19066 libc_feholdexcept and libc_fesetenv.
19067
190682013-01-15 Mike Frysinger <vapier@gentoo.org>
19069
19070 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
19071
190722013-01-14 David S. Miller <davem@davemloft.net>
19073
19074 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
19075 (SPARC_ASM_VIS2_IFUNC): Likewise.
19076 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
19077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
19078 use of 'siam' instruction.
19079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
19080 Likewise.
19081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
19082 Likewise.
19083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
19084 Likewise.
19085 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
19086 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
19087 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
19088 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
19089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
19090 file.
19091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
19092 file.
19093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
19094 file.
19095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
19096 file.
19097 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
19098 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
19099 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
19100 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
19101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
19102 new VIS2 routines.
19103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
19104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
19105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
19106 Likewise.
19107 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
19108 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
19109 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
19110 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
19111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
19112 routines to libm-sysdep_routines.
19113 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19114
19115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19116 fdim/fdimf to libm-sysdep_routines.
19117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
19118 file.
19119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
19120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
19121 file.
19122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
19123 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
19124 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
19125 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
19126 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
19127 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
19128 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
19129
191302013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19131
19132 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
19133 to optimize copies.
19134
19135 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
19136 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19137 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19138
19139 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
19140 local variable MPTWO.
19141 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
19142 Likewise.
19143
191442013-01-13 Mike Frysinger <vapier@gentoo.org>
19145
19146 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
19147 GLOB_NOESCAPE.
19148
191492013-01-13 Mike Frysinger <vapier@gentoo.org>
19150
19151 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
19152
191532013-01-13 Mike Frysinger <vapier@gentoo.org>
19154
19155 * manual/pattern.texi (glob_t): Document gl_flags.
19156 (glob64_t): Likewise.
19157
191582013-01-11 David S. Miller <davem@davemloft.net>
19159
19160 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
19161 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
19162 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
19163 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
19164 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
19165 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
19166 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
19167 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
19168 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
19169 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
19170 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
19171 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
19172 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
19173
19174 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19175 sparc V9 rather than using V8 code.
19176 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19177 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19178
19179 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
19180 Move to...
19181 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
19182 Here.
19183
191842013-01-11 Roland McGrath <roland@hack.frob.com>
19185
19186 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
19187 not in the main loop.
19188 * configure: Regenerated.
19189
191902013-01-11 Joseph Myers <joseph@codesourcery.com>
19191
19192 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
19193 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
19194 to just #else.
19195 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
19196 [!__GLIBC_HAVE_LONG_LONG] case.
19197 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
19198 condition to just #else.
19199 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
19200 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
19201 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
19202 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
19203 unconditional.
19204 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
19205 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19206 #elif condition to just #else.
19207 * sysdeps/unix/sysv/linux/sys/sysmacros.h
19208 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
19209 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19210 #elif condition to just #else.
19211
192122013-01-11 Steve Ellcey <sellcey@mips.com>
19213
19214 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
19215 (EF_MIPS_ARCH_64): Fix value.
19216 (EF_MIPS_ARCH_32R2): New.
19217 (EF_MIPS_ARCH_64R2): New.
19218
192192013-01-11 H.J. Lu <hongjiu.lu@intel.com>
19220
19221 * Makeconfig (+link-pie-before-libc): New.
19222 (+link-pie-after-libc): Likewise.
19223 (+link-pie-tests): Likewise.
19224 (+link-pie): Rewritten.
19225 (link-before-libc): Remove $(config-LDFLAGS).
19226 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
19227 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
19228 (config-LDFLAGS): Renamed to ...
19229 (rtld-LDFLAGS): This.
19230 (rtld-tests-LDFLAGS): New macro.
19231 (link-libc-rpath-link): Likewise.
19232 (link-libc-tests-rpath-link): Likewise.
19233 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
19234 (link-libc): Prepand $(link-libc-rpath-link).
19235 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
19236 (test-program-prefix): New macro.
19237 (test-via-rtld-prefix): Likewise.
19238 (test-program-cmd): Likewise.
19239 (host-test-program-cmd): Likewise.
19240 * Makefile ($(common-objpfx)testrun.sh): Replace
19241 $(run-program-prefix) with $(test-program-prefix).
19242 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
19243 $(rtld-LDFLAGS).
19244 ($(common-objpfx)shlib.lds): Likewise.
19245 (build-module-helper): Likewise.
19246 ($(common-objpfx)format.lds): Likewise.
19247 * Rules (binaries-pie-tests): New.
19248 (binaries-pie-notests): Likewise.
19249 (binaries-pie): Rewritten.
19250 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
19251 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
19252 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
19253 (make-test-out): Replace $(host-built-program-cmd) with
19254 $(host-test-program-cmd).
19255 * config.make.in (build-hardcoded-path-in-tests): New variable.
19256 * configure.in (--enable-hardcoded-path-in-tests): New configure
19257 option.
19258 (hardcoded_path_in_tests): New AC_SUBST.
19259 * configure: Regenerated.
19260 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
19261 $(built-program-cmd) with $(test-program-cmd).
19262 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
19263 (test_program_cmd): This.
19264 * elf/Makefile ($(objpfx)order.out): Run test with
19265 $(test-program-prefix).
19266 ($(objpfx)order2.out): Likewise.
19267 ($(objpfx)tst-initorder.out): Likewise.
19268 ($(objpfx)tst-initorder2.out): Likewise.
19269 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
19270 $(test-program-cmd).
19271 ($(objpfx)tst-array1-static.out): Likewise.
19272 ($(objpfx)tst-array2.out): Likewise.
19273 ($(objpfx)tst-array3.out): Likewise.
19274 ($(objpfx)tst-array4.out): Likewise.
19275 ($(objpfx)tst-array5.out): Likewise.
19276 ($(objpfx)tst-array5-static.out): Likewise.
19277 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
19278 $(test-program-cmd).
19279 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
19280 $(run-program-prefix) with $(test-program-prefix).
19281 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
19282 (test_program_prefix): This.
19283 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
19284 $(run-program-prefix) with $(test-program-prefix).
19285 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
19286 (test_program_prefix): This.
19287 * iconvdata/tst-tables.sh: Likewise.
19288 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
19289 $(run-program-prefix) with $(test-program-prefix).
19290 ($(objpfx)tst-translit.out): Likewise.
19291 ($(objpfx)tst-gettext2.out): Likewise.
19292 ($(objpfx)tst-gettext4.out): Likewise.
19293 ($(objpfx)tst-gettext6.out): Likewise.
19294 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
19295 (test_program_prefix): This.
19296 * intl/tst-gettext2.sh: Likewise.
19297 * intl/tst-gettext4.sh Likewise.
19298 * intl/tst-gettext6.sh: Likewise.
19299 * intl/tst-translit.sh: Likewise.
19300 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
19301 with $(test-program-cmd).
19302 * libio/Makefile ($(objpfx)test-freopen.out): Replace
19303 $(run-program-prefix) with $(test-program-prefix).
19304 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
19305 (test_program_prefix): This.
19306 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
19307 $(run-program-prefix) with $(test-program-prefix).
19308 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
19309 (test_program_prefix): This.
19310 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
19311 * posix/Makefile ($(objpfx)globtest.out): Replace
19312 $(run-via-rtld-prefix) and $(test-wrapper) with
19313 $(test-program-prefix) and $(test-via-rtld-prefix).
19314 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
19315 $(test-program-prefix).
19316 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
19317 $(host-test-program-cmd).
19318 (tst-spawn-ARGS): Likewise.
19319 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
19320 $(test-program-prefix).
19321 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
19322 (test_via_rtld_prefix): This.
19323 (test_wrapper): Renamed to ...
19324 (test_program_prefix): This.
19325 (run_program_prefix): Replaced by test_program_prefix.
19326 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
19327 (test_program_prefix): This.
19328 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
19329 with $(host-test-program-cmd).
19330 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
19331 $(run-program-prefix) with $(test-program-prefix).
19332 ($(objpfx)tst-printf.out): Likewise.
19333 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
19334 $(test-program-cmd).
19335 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
19336 (test_program_prefix): This.
19337 * stdio-common/tst-unbputc.sh: Likewise.
19338 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
19339 $(run-program-prefix) with $(test-program-prefix).
19340 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
19341 (test_program_prefix): This.
19342 * string/Makefile ($(objpfx)tst-svc.out): Replace
19343 $(built-program-cmd) with $(test-program-cmd).
19344
193452013-01-11 Andreas Jaeger <aj@suse.de>
19346
19347 [BZ #15003]
19348 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
19349 value. Sync with Linux 3.7.
19350
193512013-01-10 David S. Miller <davem@davemloft.net>
19352
19353 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
19354 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19355 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19356
193572013-01-10 Roland McGrath <roland@hack.frob.com>
19358
19359 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
19360 never set.
19361 * configure: Regenerated.
19362
193632013-01-10 David S. Miller <davem@davemloft.net>
19364
19365 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19366 sparc V9 rather than using V8 code.
19367 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19368 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19369
193702013-01-10 Roland McGrath <roland@hack.frob.com>
19371
19372 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
19373 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
19374 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
19375 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
19376 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
19377 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
19378 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
19379 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
19380 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
19381 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
19382 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
19383 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
19384 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
19385 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
19386 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
19387 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
19388 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
19389 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
19390 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
19391 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
19392 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
19393 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
19394 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
19395 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
19396 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
19397 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
19398 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
19399
194002013-01-10 David S. Miller <davem@davemloft.net>
19401
19402 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19403
194042013-01-10 H.J. Lu <hongjiu.lu@intel.com>
19405
19406 * posix/Makefile (tests-static): New variable.
19407 (tests): Add $(tests-static).
19408 (tst-exec-static-ARGS): New variable.
19409 (tst-spawn-static-ARGS): Likewise.
19410 * posix/tst-exec-static.c: New file.
19411 * posix/tst-spawn-static.c: Likewise.
19412 * posix/tst-exec.c: Support run directly.
19413 * posix/tst-spawn.c: Likewise.
19414
194152013-01-10 Joseph Myers <joseph@codesourcery.com>
19416
19417 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
19418 long.
19419 * math/bits/mathcalls.h (llrint): Likewise.
19420 (llround): Likewise.
19421 * stdlib/stdlib.h (struct drand48_data): Likewise.
19422 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
19423 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
19424 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
19425 Likewise.
19426 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
19427 Likewise.
19428 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
19429 (elf_greg_t): Likewise.
19430 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
19431 (__jmp_buf): Likewise.
19432 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
19433 definitions.
19434 (llrint): Likewise, for all definitions.
19435 (llrintl): Likewise.
19436
19437 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
19438 Remove [__GNUC__] condition.
19439 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
19440 condition to just [__USE_ISOC99].
19441 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
19442
194432013-01-10 H.J. Lu <hongjiu.lu@intel.com>
19444
19445 [BZ #14200]
19446 * sysdeps/unix/sysv/linux/x86/bits/environments.h
19447 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
19448 defined.
19449 (_POSIX_V6_ILP32_OFF32): Likewise.
19450 (_XBS5_ILP32_OFF32): Likewise.
19451 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
19452 (__ILP32_OFFBIG_LDFLAGS): Likewise.
19453
194542013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19455
19456 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
19457
19458 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
19459 doubles __mpexp_twomm1. Adjust usage.
19460 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
19461 Remove.
19462
194632013-01-10 Andreas Schwab <schwab@suse.de>
19464
19465 [BZ #14964]
19466 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
19467 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
19468
194692013-01-09 David S. Miller <davem@davemloft.net>
19470
19471 [BZ #15003]
19472 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
19473 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
19474 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
19475 TCP_FASTOPEN): Define.
19476 (tcp_repair_opt): New structure.
19477 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
19478 enum values.
19479 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
19480 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
19481 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
19482 (tcp_cookie_transactions): New structure.
19483
194842013-01-09 Anton Blanchard <anton@samba.org>
19485
19486 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
19487 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
19488 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
19489 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
19490
194912013-01-09 Joseph Myers <joseph@codesourcery.com>
19492
19493 * include/features.h (__USE_ANSI): Remove.
19494
194952013-01-09 Roland McGrath <roland@hack.frob.com>
19496
19497 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
19498
19499 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
19500
195012013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
19502
19503 * sysdeps/s390/fpu/libm-test-ulps: Update.
19504
19505 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19506
19507 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
19508 (__acr): Likewise.
19509 (__cpy): Likewise.
19510 (norm): Likewise.
19511 (denorm): Likewise.
19512 (__mp_dbl): Likewise.
19513 (__dbl_mp): Likewise.
19514 (add_magnitudes): Likewise.
19515 (sub_magnitudes): Likewise.
19516 (__add): Likewise.
19517 (__sub): Likewise.
19518 (__mul): Likewise.
19519 (__inv): Likewise.
19520 (__dvd): Likewise.
19521 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
19522 (__acr): Likewise.
19523 (__cpy): Likewise.
19524 (norm): Likewise.
19525 (denorm): Likewise.
19526 (__mp_dbl): Likewise.
19527 (__dbl_mp): Likewise.
19528 (add_magnitudes): Likewise.
19529 (sub_magnitudes): Likewise.
19530 (__add): Likewise.
19531 (__sub): Likewise.
19532 (__mul): Likewise.
19533 (__inv): Likewise.
19534 (__dvd): Likewise.
19535 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
19536 (__acr): Likewise.
19537 (__cpy): Likewise.
19538 (norm): Likewise.
19539 (denorm): Likewise.
19540 (__mp_dbl): Likewise.
19541 (__dbl_mp): Likewise.
19542 (add_magnitudes): Likewise.
19543 (sub_magnitudes): Likewise.
19544 (__add): Likewise.
19545 (__sub): Likewise.
19546 (__mul): Likewise.
19547 (__inv): Likewise.
19548 (__dvd): Likewise.
19549
195502013-01-08 Joseph Myers <joseph@codesourcery.com>
19551
19552 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
19553 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
19554 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
19555 2 && __USE_EXTERN_INLINES]: Likewise.
19556
195572013-01-08 Andreas Jaeger <aj@suse.de>
19558
19559 [BZ# 14985]
19560 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
19561 Remove.
19562 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19563 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19564
195652013-01-07 Anton Blanchard <anton@samba.org>
19566
19567 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
19568 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
19569 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
19570 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
19571 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
19572 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19573 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
19574 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19575 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19576 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19577 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19578 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19579 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
19580 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19581 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
19582 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19583 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19584 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19585 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
19586 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
19587 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
19588 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
19589 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
19590 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
19591 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
19592 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
19593 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
19594 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
19595 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
19596 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
19597 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
19598 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19599 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19600 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19601 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19602 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
19603 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19604 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
19605 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
19606 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
19607 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
19608 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19609 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19610
196112013-01-07 Joseph Myers <joseph@codesourcery.com>
19612
19613 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
19614 (__MALLOC_PMT): Likewise.
19615 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
19616 [__GNUC__], only on [_LIBC].
19617 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19618 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
19619 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19620 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
19621 forward declaration.
19622 (realloc_hook_ini): Likewise.
19623 (memalign_hook_ini): Likewise.
19624 (__libc_memalign): Do not use __MALLOC_PMT in variable
19625 declaration.
19626 (__libc_valloc): Likewise.
19627 (__libc_pvalloc): Likewise.
19628 (__libc_calloc): Likewise.
19629 (__posix_memalign): Likewise.
19630
19631 [BZ #14996]
19632 * math/s_casinh.c: Include <float.h>.
19633 (__casinh): Do not do computation with squaring and square root
19634 for large arguments.
19635 * math/s_casinhf.c: Include <float.h>.
19636 (__casinhf): Do not do computation with squaring and square root
19637 for large arguments.
19638 * math/s_casinhl.c: Include <float.h>.
19639 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
19640 (__casinhl): Do not do computation with squaring and square root
19641 for large arguments.
19642 * math/libm-test.inc (casin_test): Add more tests.
19643 (casinh_test): Likewise.
19644 * sysdeps/i386/fpu/libm-test-ulps: Update.
19645 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19646
196472013-01-04 H.J. Lu <hongjiu.lu@intel.com>
19648
19649 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
19650 (__x86_64_raw_data_cache_size): Likewise.
19651 (__x86_64_data_cache_size_half): Likewise.
19652 (__x86_64_raw_data_cache_size_half): Likewise.
19653 (__x86_64_shared_cache_size): Likewise.
19654 (__x86_64_raw_shared_cache_size): Likewise.
19655 (__x86_64_shared_cache_size_half): Likewise.
19656 (__x86_64_raw_shared_cache_size_half): Likewise.
19657 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
19658 to ...
19659 (__x86_data_cache_size): This.
19660 (__x86_64_raw_data_cache_size): Renamed to ...
19661 (__x86_raw_data_cache_size): This.
19662 (__x86_64_data_cache_size_half): Renamed to ...
19663 (__x86_data_cache_size_half): This.
19664 (__x86_64_raw_data_cache_size_half): Renamed to ...
19665 (__x86_raw_data_cache_size_half): This.
19666 (__x86_64_shared_cache_size): Renamed to ...
19667 (__x86_shared_cache_size): This.
19668 (__x86_64_raw_shared_cache_size): Renamed to ...
19669 (__x86_raw_shared_cache_size): This.
19670 (__x86_64_shared_cache_size_half): Renamed to ...
19671 (__x86_shared_cache_size_half): This.
19672 (__x86_64_raw_shared_cache_size_half): Renamed to ...
19673 (__x86_raw_shared_cache_size_half): This.
19674 * sysdeps/x86_64/memcpy.S: Updated.
19675 * sysdeps/x86_64/memset.S: Likewise.
19676 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
19677 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
19678 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
19679
196802013-01-04 David S. Miller <davem@davemloft.net>
19681
19682 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19683
196842013-01-04 Andreas Schwab <schwab@linux-m68k.org>
19685
19686 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
19687 1 to avoid redefinition warning.
19688 (__USE_GNU): Don't define.
19689 (init_signaling_nan): Protoize.
19690
19691 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19692
196932013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19694
19695 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
19696 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
19697 (__cpymn): Likewise.
19698 (norm): Remove commented code.
19699 (denorm): Likewise.
19700 (__mp_dbl): Likewise.
19701 (__inv): Likewise.
19702 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
19703 (__cpymn): Likewise.
19704 (norm): Remove commented code.
19705 (denorm): Likewise.
19706 (__mp_dbl): Likewise.
19707 (__inv): Likewise.
19708
19709 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
19710 mp_no value for 1.0 and 2.0.
19711 (norm): Use RADIXI instead of radixi.d.
19712 (denorm): Likewise.
19713 (__mul): Use 0.0 instead of zero.d.
19714 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
19715 mp_no value for 1.0 and 2.0.
19716 (norm): Use RADIXI instead of radixi.d.
19717 (denorm): Likewise.
19718 (__mul): Use 0.0 instead of zero.d.
19719
197202013-01-04 Joseph Myers <joseph@codesourcery.com>
19721
19722 [BZ #14994]
19723 * math/s_casinh.c (__casinh): Reduce finite argument to first
19724 quadrant then set signs of results at the end.
19725 * math/s_casinhf.c (__casinhf): Likewise.
19726 * math/s_casinhl.c (__casinhl): Likewise.
19727 * math/libm-test.inc (casin_test): Add more tests.
19728 (casinh_test): Likewise.
19729 * sysdeps/i386/fpu/libm-test-ulps: Update.
19730 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19731
197322013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19733
19734 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
19735
19736 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
19737
19738 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
19739 declarations.
19740 (denorm): Likewise.
19741 (__mp_dbl): Likewise.
19742 (__inv): Likewise.
19743
19744 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
19745 and adjust the header comment.
19746
19747 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
19748 variable name from declaration.
19749
197502013-01-03 H.J. Lu <hongjiu.lu@intel.com>
19751
19752 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19753 Initialize COMMON_CPUID_INDEX_7 element.
19754 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
19755 (CPUID_RTM): Likewise.
19756 (HAS_RTM): Likewise.
19757 (COMMON_CPUID_INDEX_7): New enum.
19758
197592013-01-03 Andreas Schwab <schwab@linux-m68k.org>
19760
19761 [BZ #14981]
19762 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
19763 size is zero, record memory as freed.
19764
197652013-01-03 Andreas Jaeger <aj@suse.de>
19766
19767 * po/ia.po: Add new Interlingua translation.
19768
197692012-01-03 Allan McRae <allan@archlinux.org>
19770
19771 * locale/programs/localedef.c: Fix description of '--posix' flag.
19772
197732013-01-02 Joseph Myers <joseph@codesourcery.com>
19774
19775 * NEWS: Update dates in second copyright notice.
19776 * README: Update copyright dates in example.
19777 * manual/libc.texinfo: Update copyright dates.
19778 * scripts/test-installation.pl: Update copyright date in --version
19779 output.
19780
19781 * hurd/ctty-input.c: Fix copyright notice formatting.
19782 * hurd/ctty-output.c: Likewise.
19783 * hurd/dtable.c: Likewise.
19784 * hurd/hurd-raise.c: Likewise.
19785 * hurd/hurdprio.c: Likewise.
19786 * hurd/msgportdemux.c: Likewise.
19787 * misc/sys/file.h: Likewise.
19788 * misc/sys/ioctl.h: Likewise.
19789 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
19790 * sysdeps/mach/hurd/chdir.c: Likewise.
19791 * sysdeps/mach/hurd/fchdir.c: Likewise.
19792 * sysdeps/mach/hurd/rename.c: Likewise.
19793 * sysdeps/mach/hurd/rmdir.c: Likewise.
19794 * sysdeps/mach/hurd/seekdir.c: Likewise.
19795 * sysdeps/mach/hurd/setsid.c: Likewise.
19796 * sysdeps/posix/wait3.c: Likewise.
19797
19798 * All files with FSF copyright notices: Update copyright dates
19799 using scripts/update-copyrights.
19800 * intl/plural.c: Regenerated.
19801 * locale/programs/charmap-kw.h: Likewise.
19802 * locale/programs/locfile-kw.h: Likewise.
19803
198042013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19805
19806 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
19807 four values.
19808
19809 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
19810 calculation loop and add branch prediction.
19811
19812 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
19813 check access beyond bounds of m1np.
19814
19815 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
19816 MPTWO.
19817 (__inv): Remove local variable MPTWO to use the global
19818 constant.
19819 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
19820 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
19821 variable MPTWO.
19822 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
19823 MP3HALFS static const.
19824
198252013-01-01 David S. Miller <davem@davemloft.net>
19826
19827 * po/ca.po: Update from translation team.
19828
198292013-01-01 Joseph Myers <joseph@codesourcery.com>
19830
19831 * scripts/update-copyrights: New file.
19832 * Makeconfig: Reformat copyright notice.
19833 * ctype/ctype.h: Likewise.
19834 * debug/swprintf_chk.c: Likewise.
19835 * elf/dl-cache.c: Likewise.
19836 * elf/dl-debug.c: Likewise.
19837 * elf/dl-object.c: Likewise.
19838 * grp/initgroups.c: Likewise.
19839 * hurd/Makefile: Likewise.
19840 * hurd/hurd/signal.h: Likewise.
19841 * hurd/hurdfault.c: Likewise.
19842 * hurd/hurdioctl.c: Likewise.
19843 * hurd/hurdlookup.c: Likewise.
19844 * hurd/intr-msg.c: Likewise.
19845 * iconv/gconv_open.c: Likewise.
19846 * libio/swprintf.c: Likewise.
19847 * locale/lc-ctype.c: Likewise.
19848 * locale/nl_langinfo.c: Likewise.
19849 * mach/Machrules: Likewise.
19850 * mach/Makefile: Likewise.
19851 * malloc/obstack.h: Likewise.
19852 * manual/Makefile: Likewise.
19853 * manual/tsort.awk: Likewise.
19854 * misc/bits/stab.def: Likewise.
19855 * nis/nis_print_group_entry.c: Likewise.
19856 * nis/nis_table.c: Likewise.
19857 * nis/nss_compat/compat-pwd.c: Likewise.
19858 * nis/nss_compat/compat-spwd.c: Likewise.
19859 * po/Makefile: Likewise.
19860 * posix/fnmatch.c: Likewise.
19861 * posix/regex.h: Likewise.
19862 * resolv/Makefile: Likewise.
19863 * resolv/nss_dns/dns-network.c: Likewise.
19864 * resolv/res_hconf.c: Likewise.
19865 * scripts/gen-sorted.awk: Likewise.
19866 * soft-fp/soft-fp.h: Likewise.
19867 * stdio-common/printf.h: Likewise.
19868 * stdlib/monetary.h: Likewise.
19869 * stdlib/random.c: Likewise.
19870 * stdlib/random_r.c: Likewise.
19871 * sysdeps/generic/Makefile: Likewise.
19872 * sysdeps/gnu/Makefile: Likewise.
19873 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
19874 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19875 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19876 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19877 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19878 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19879 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19880 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19881 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19882 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19883 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
19884 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
19885 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
19886 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
19887 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
19888 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
19889 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
19890 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19891 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19892 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19893 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
19894 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
19895 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19896 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
19897 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
19898 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
19899 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
19900 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
19901 * sysdeps/mach/hurd/errnos.awk: Likewise.
19902 * sysdeps/mach/hurd/fork.c: Likewise.
19903 * sysdeps/mach/hurd/getcwd.c: Likewise.
19904 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
19905 * sysdeps/mach/hurd/mmap.c: Likewise.
19906 * sysdeps/mach/hurd/utimes.c: Likewise.
19907 * sysdeps/mach/hurd/xmknod.c: Likewise.
19908 * sysdeps/posix/profil.c: Likewise.
19909 * sysdeps/posix/readdir_r.c: Likewise.
19910 * sysdeps/powerpc/bits/mathdef.h: Likewise.
19911 * sysdeps/powerpc/bits/setjmp.h: Likewise.
19912 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
19913 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19914 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19915 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
19916 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19917 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19918 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19919 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
19920 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19921 * sysdeps/pthread/lio_listio.c: Likewise.
19922 * sysdeps/sparc/dl-procinfo.h: Likewise.
19923 * sysdeps/unix/i386/sysdep.S: Likewise.
19924 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
19925 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
19926 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
19927 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
19928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19929 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
19930 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
19931 * sysdeps/unix/sysv/linux/speed.c: Likewise.
19932 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
19933 * sysdeps/wordsize-32/divdi3.c: Likewise.
19934 * time/sys/time.h: Likewise.
19935 * wcsmbs/Makefile: Likewise.
19936
199372013-01-01 David S. Miller <davem@davemloft.net>
19938
19939 * po/fr.po: Update from translation team.
19940
19941 * catgets/gencat.c: Update copyright year.
19942 * csu/version.c: Likewise.
19943 * debug/catchsegv.sh: Likewise.
19944 * debug/pcprofiledump.c: Likewise.
19945 * debug/xtrace.sh: Likewise.
19946 * elf/ldconfig.c: Likewise.
19947 * elf/ldd.bash.in: Likewise.
19948 * elf/pldd.c: Likewise.
19949 * elf/sotruss.ksh: Likewise.
19950 * elf/sprof.c: Likewise.
19951 * iconv/iconv_prog.c: Likewise.
19952 * iconv/iconvconfig.c: Likewise.
19953 * locale/programs/locale.c: Likewise.
19954 * locale/programs/localedef.c: Likewise.
19955 * login/programs/pt_chown.c: Likewise.
19956 * malloc/memusage.sh: Likewise.
19957 * malloc/memusagestat.c: Likewise.
19958 * malloc/mtrace.pl: Likewise.
19959 * nscd/nscd.c: Likewise.
19960 * nss/getent.c: Likewise.
19961 * nss/makedb.c: Likewise.
19962 * posix/getconf.c: Likewise.
19963
199642012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
19965
19966 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
19967 numbers.
19968
199692012-12-30 Mike Frysinger <vapier@gentoo.org>
19970
19971 * math/bits/mathcalls.h (modf): Use __nonnull.
19972
199732012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19974
19975 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
19976 (split): Use macro CN instead of the bare value.
19977 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
19978 could be used.
19979 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
19980 instead of the bare value.
19981 (power1): Likewise.
19982
199832012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19984
19985 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
19986 __ATAN_TWOM.
19987 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19988
19989 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
19990 their values.
19991 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
19992 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19993 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
19994 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
19995
199962012-12-28 Andreas Jaeger <aj@suse.de>
19997
19998 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
19999 values are from Linux 3.7.
20000
20001 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
20002 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
20003
200042012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20005
20006 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
20007 TRUE case.
20008
20009 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
20010 (norm): Likewise.
20011 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
20012 variables with preprocessor constants.
20013 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20014 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
20015 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
20016
200172012-12-27 Bruno Haible <bruno@clisp.org>
20018
20019 [BZ #14317]
20020 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
20021 only if needed.
20022
200232012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20024
20025 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
20026 and use variable directly.
20027 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
20028
20029 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
20030 MPONE.
20031 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
20032 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
20033 variable MPONE.
20034 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20035 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
20036 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
20037 include directive. Remove local variable MPONE.
20038 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
20039 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
20040 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
20041
200422012-12-25 David S. Miller <davem@davemloft.net>
20043
20044 * version.h (RELEASE): Set to "development".
20045 (VERSION): Set to "2.17.90".
20046 * NEWS: Add 2.18 section.
20047
200482012-12-21 David S. Miller <davem@davemloft.net>
20049
20050 * po/hr.po: Update from translation team.
20051
200522012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20053
20054 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
20055
200562012-12-19 Steve Ellcey <sellcey@mips.com>
20057
20058 * NEWS: Mention new memcpy for MIPS.
20059
200602012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20061
20062 * manual/contrib.texi (Contributors): Spelling correction.
20063
200642012-12-15 David S. Miller <davem@davemloft.net>
20065
20066 * po/ru.po: Update from translation team.
20067
200682012-12-13 David S. Miller <davem@davemloft.net>
20069
20070 * NEWS: Mention IFUNC testsuite enhancements.
20071
20072 * po/pl.po: Update from translation team.
20073 * po/bg.po: Likewise.
20074
20075 * manual/contrib.texi (Contributors): Update entries for Hongjiu
20076 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
20077
200782012-12-11 David S. Miller <davem@davemloft.net>
20079
20080 * po/sv.po: Update from translation team.
20081
20082 * po/vi.po: Update from translation team.
20083
20084 * po/cs.po: Update from translation team.
20085
20086 * po/de.po: Update from translation team.
20087 * po/eo.po: Likewise.
20088 * po/nl.po: Likewise.
20089
200902012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20091
20092 [BZ #14246]
20093 * manual/argp.texi (Argp Helper Functions): Move node to follow
20094 Argp Parsing State.
20095
20096 [BZ #14872]
20097 * manual/conf.texi (Limits on File System Capacity): Mention if
20098 terminating null is included in the max size.
20099
201002012-12-10 Andreas Jaeger <aj@suse.de>
20101
20102 * po/cs.po: Update from translation team.
20103
201042012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
20105
20106 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
20107 void pointer and cast to uintptr_t.
20108 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
20109 path.
20110 * sysdeps/s390/s390-64/memcpy.S: Likewise.
20111 * sysdeps/s390/s390-64/memset.S: Likewise.
20112
201132012-12-08 Benno Schulenberg <bensberg@justemail.net>
20114
20115 [BZ #14833]
20116 * menual/message.texi (Message Translation): Fix typos.
20117 (Helper programs for gettext): Likewise.
20118
201192012-12-07 Andreas Schwab <schwab@linux-m68k.org>
20120
20121 [BZ #14898]
20122 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
20123 Change to -1.
20124
201252012-12-07 David S. Miller <davem@davemloft.net>
20126
20127 * po/libc.pot: Update.
20128
201292012-12-07 Richard Henderson <rth@redhat.com>
20130
20131 [BZ #10114]
20132 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
20133 normal/normal case to before the switch.
20134 (_FP_DIV): Likewise.
20135
201362012-12-06 Carlos O'Donell <carlos@systemhalted.org>
20137 Mike Frysinger <vapier@gentoo.org>
20138
20139 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
20140 check for __NR_fadvise64_64.
20141
201422012-12-06 Chris Metcalf <cmetcalf@tilera.com>
20143
20144 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
20145 0, not just to plain "0" as a statement.
20146 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
20147 with cw.
20148
201492012-12-06 Joseph Myers <joseph@codesourcery.com>
20150
20151 * NEWS: Use sourceware.org in Bugzilla URL.
20152
201532012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
20154
20155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
20156 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20157
20158 * stdio-common/tst-put-error.c (do_test): Add newline to the
20159 padded test to ensure flush.
20160
201612012-12-05 Jeff Law <law@redhat.com>
20162
20163 * sunrpc/etc.rpc (fedfs_admin): Add entry.
20164
201652012-12-05 Joseph Myers <joseph@codesourcery.com>
20166
20167 * README: Don't refer to ports add-on as distributed separately.
20168 Mention AArch64 in list of systems supported in the ports add-on.
20169
20170 * LICENSES: Add more non-FSF copyright and license notices.
20171
20172 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
20173 ((unused)).
20174
20175 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
20176
20177 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
20178 10000 as width of padded output.
20179
201802012-12-04 Joseph Myers <joseph@codesourcery.com>
20181
20182 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
20183
20184 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
20185 variable LX with __attribute__ ((unused)).
20186 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
20187 Likewise.
20188 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
20189 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20190 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
20191 with __attribute__ ((unused)).
20192
201932012-12-04 David S. Miller <davem@abraco.davemloft.net>
20194
20195 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
20196
201972012-12-04 Joseph Myers <joseph@codesourcery.com>
20198
20199 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
20200 (CFLAGS-nldbl-acos.c): New variable.
20201 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
20202 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
20203 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
20204 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
20205 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
20206 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
20207 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
20208 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
20209 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
20210 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
20211 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
20212 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
20213 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
20214 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
20215 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
20216 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
20217 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
20218 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
20219 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
20220 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
20221 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
20222 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
20223 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
20224 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
20225 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
20226 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
20227 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
20228 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
20229 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
20230 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
20231 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
20232 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
20233 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
20234 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
20235 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
20236 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
20237 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
20238 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
20239 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
20240 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
20241 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
20242 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
20243 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
20244 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
20245 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
20246 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
20247 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
20248 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
20249 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
20250 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
20251 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
20252 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
20253 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
20254 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
20255 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
20256 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
20257 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
20258 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
20259 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
20260 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
20261 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
20262 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
20263 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
20264 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
20265 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
20266 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
20267 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
20268 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
20269 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
20270 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
20271 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
20272 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
20273 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
20274 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
20275 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
20276 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
20277 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
20278 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
20279 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
20280 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
20281 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
20282 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
20283 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
20284 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
20285 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
20286 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
20287 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
20288 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
20289 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
20290 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
20291 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
20292 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
20293 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
20294 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
20295 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
20296 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
20297 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
20298
20299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20300 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20301
20302 [BZ #14914]
20303 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
20304 whole low double instead of just low 47 bits when splitting values
20305 into two parts.
20306
203072012-12-03 Allan McRae <allan@archlinux.org>
20308
20309 * manual/stdio.texi (Predefined Printf Handlers): Remove
20310 @hsep and @vsep usage.
20311
203122012-12-03 Mike Frysinger <vapier@gentoo.org>
20313
20314 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
20315 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
20316
203172012-12-03 Jeff Law <law@redhat.com>
20318
20319 * time/sys/time.h (settimeofday): Do not mark TV argument
20320 as __nonnull.
20321
203222012-12-01 Mike Frysinger <vapier@gentoo.org>
20323
20324 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
20325 when currently writing and seek to current position when not.
20326 * libio/Makefile (tests): Remove bug-fclose1.
20327 * libio/bug-fclose1.c: Delete.
20328
203292012-12-01 Joseph Myers <joseph@codesourcery.com>
20330
20331 * manual/arith.texi (feenableexcept): Fix typo.
20332 (fedisableexcept): Likewise.
20333
203342012-11-30 Roland McGrath <roland@hack.frob.com>
20335
20336 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
20337 second, differently-typed declaration, rather than a cast.
20338
203392012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20340
20341 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
20342 * include/rpc/svc.h: ... here.
20343
203442012-11-30 Aurelien Jarno <aurel32@debian.org>
20345
20346 [BZ #13013]
20347 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
20348 depending n and resplen2 to catch cases where answer
20349 equals answerp2.
20350
203512012-11-29 Carlos O'Donell <carlos@systemhalted.org>
20352
20353 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
20354 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
20355
203562012-11-29 Mike Frysinger <vapier@gentoo.org>
20357
20358 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
20359
203602012-11-29 Roland McGrath <roland@hack.frob.com>
20361
20362 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
20363
203642012-11-28 Jeff Law <law@redhat.com>
20365
20366 [BZ #13761]
20367 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
20368 dataset_temporary. Track alloca usage into alloca_used.
20369 If dataset is large allocate and release it via malloc/free.
20370
203712012-06-04 Florian Weimer <fweimer@redhat.com>
20372
20373 [BZ #14197]
20374 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
20375
203762012-11-28 David S. Miller <davem@davemloft.net>
20377
20378 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20379
203802012-11-28 Joseph Myers <joseph@codesourcery.com>
20381
20382 [BZ #14803]
20383 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
20384 of pi/2 rounded to nearest to 64 bits.
20385 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
20386 nearest to 64 bits.
20387 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
20388 bits.
20389
203902012-11-28 Jeff Law <law@redhat.com>
20391 Martin Osvald <mosvald@redhat.com>
20392
20393 [BZ #14889]
20394 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
20395 * sunrpc/svc.c: Include time.h.
20396 (__svc_accept_failed): New function.
20397 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
20398 any reason other than EINTR, call __svc_accept_failed.
20399 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
20400 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
20401
204022012-11-28 Andreas Schwab <schwab@suse.de>
20403
20404 * scripts/abilist.awk: Also handle indirect functions in .opd
20405 section.
20406
204072012-11-28 Joseph Myers <joseph@codesourcery.com>
20408
20409 [BZ #13881]
20410 * sysdeps/x86/fpu/powl_helper.c: New file.
20411 * sysdeps/x86/fpu/Makefile: Likewise.
20412 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
20413 (p3): New object.
20414 (__ieee754_powl): Use __powl_helper for finite arguments except
20415 integer exponents below 8.
20416 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
20417 (p3): New object.
20418 (__ieee754_powl): Use __powl_helper for finite arguments except
20419 integer exponents below 8.
20420 * math/libm-test.inc (pow_test): Add more tests and enable some
20421 previously disabled tests.
20422 * sysdeps/i386/fpu/libm-test-ulps: Update.
20423 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20424
204252012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20426 Carlos O'Donell <carlos_odonell@mentor.com>
20427
20428 * nss/makedb.c (is_prime): Assert that input is odd and greater
20429 than 4. Note that fact in a comment too.
20430 (next_prime): Add 4 to input.
20431
204322012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20433
20434 [BZ #11741]
20435 * libio/Makefile (tests): Add test case tst-fwrite-error.
20436 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
20437 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
20438 * libio/tst-fwrite-error.c: New test case.
20439
204402012-11-26 H.J. Lu <hongjiu.lu@intel.com>
20441
20442 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
20443 before casting to void *.
20444 * include/libc-internal.h (__pointer_type): New macro.
20445 (__integer_if_pointer_type_sub): Likewise.
20446 (__integer_if_pointer_type): Likewise.
20447 (cast_to_integer): Likewise.
20448 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
20449 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
20450 before casting to atomic64_t.
20451 (atomic_exchange_acq): Likewise.
20452 (__arch_exchange_and_add_body): Likewise.
20453 (__arch_add_body): Likewise.
20454 (atomic_add_negative): Likewise.
20455 (atomic_add_zero): Likewise.
20456
204572012-11-26 Joseph Myers <joseph@codesourcery.com>
20458
20459 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
20460 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
20461 (add_fdes): Likewise.
20462 (linear_search_fdes): Likewise.
20463 (binary_search_unencoded_fdes): Likewise.
20464
204652012-11-26 Andreas Schwab <schwab@linux-m68k.org>
20466
20467 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
20468
204692012-11-24 Adam Conrad <adconrad@0c3.net>
20470
20471 * configure.in: Autodetect C++ header directories.
20472 * configure: Regenerated.
20473
204742012-11-23 Mike Frysinger <vapier@gentoo.org>
20475
20476 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
20477
204782012-11-23 Andreas Schwab <schwab@linux-m68k.org>
20479
20480 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20481
204822012-11-22 Joseph Myers <joseph@codesourcery.com>
20483
20484 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
20485 LDBL_MANT_DIG == 106]: Disable some tests.
20486 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20487 Likewise.
20488 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20489 Likewise.
20490
20491 [BZ #14871]
20492 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
20493 input for small inputs. Return +/- pi/2 for large inputs.
20494 * math/libm-test.inc (atan_test): Add more tests.
20495
20496 * sysdeps/generic/unwind-dw2-fde-glibc.c
20497 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
20498 __attribute__ ((unused)).
20499
20500 [BZ #14645]
20501 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
20502 x * y if x and y are nonzero and z is zero.
20503
20504 [BZ #14811]
20505 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
20506 nonzero exponents with absolute value below 0x1p-117 to +/-
20507 0x1p-117.
20508
20509 [BZ #14869]
20510 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
20511 up arguments below 2**-450, not just those below 2**-500.
20512 * math/libm-test.inc (hypot_test): Add another test.
20513
20514 [BZ #14868]
20515 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
20516 Return a+b for ratio over 2**120, not 2**60.
20517 * math/libm-test.inc (hypot_test): Add another test.
20518
20519 * math/libm-test.inc (clog_test): Use
20520 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
20521 (clog10_test): Likewise.
20522
20523 [BZ #6778]
20524 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
20525
205262012-11-22 Andreas Schwab <schwab@suse.de>
20527
20528 * sysdeps/i386/fpu/libm-test-ulps: Update.
20529
205302012-11-22 Pino Toscano <toscano.pino@tiscali.it>
20531
20532 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
20533 printf output with newline.
20534
205352012-11-21 H.J. Lu <hongjiu.lu@intel.com>
20536
20537 [BZ #14865]
20538 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
20539 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
20540 -z nodlopen, -z initfirst and -z execstack support.
20541 * configure: Regenerated.
20542
20543 * elf/elf.h (DF_1_NODIRECT): New macro.
20544 (DF_1_IGNMULDEF): Likewise.
20545 (DF_1_NOKSYMS): Likewise.
20546 (DF_1_NOHDR): Likewise.
20547 (DF_1_EDITED): Likewise.
20548 (DF_1_NORELOC): Likewise.
20549 (DF_1_SYMINTPOSE): Likewise.
20550 (DF_1_GLOBAUDIT): Likewise.
20551 (DF_1_SINGLETON): Likewise.
20552 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
20553 DT_1_SUPPORTED_MASK bits.
20554 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
20555
205562012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
20557
20558 * sysdeps/unix/make-syscalls.sh: Document prefixes.
20559
205602012-11-20 Thomas Schwinge <thomas@codesourcery.com>
20561
20562 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
20563 macro.
20564
20565 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
20566 (sendmmsg): Move declarations...
20567 * socket/sys/socket.h: ... here.
20568 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
20569 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
20570 include it from...
20571 * socket/recvmmsg.c: ... this new file.
20572 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
20573 (sendmmsg): Rename to __sendmmsg, create weak alias and make
20574 definition of __sendmmsg hidden.
20575 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
20576 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
20577 Move ENOSYS stub into and include it from...
20578 * socket/sendmmsg.c: ... this new file.
20579 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
20580 (sysdep_routines): Move recvmmsg and sendmmsg...
20581 * socket/Makefile (routines): ... here.
20582 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
20583 (GLIBC_PRIVATE): Add __sendmmsg.
20584 * include/sys/socket.h (__sendmmsg): Add declarations.
20585 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
20586 sendmmsg.
20587
205882012-11-20 Joseph Myers <joseph@codesourcery.com>
20589
20590 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
20591 variable I1 with __attribute__ ((unused)).
20592 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
20593
205942012-11-19 Joseph Myers <joseph@codesourcery.com>
20595
20596 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
20597 DUMMY variables with __attribute__ ((unused)).
20598
20599 * bits/byteswap.h: Include <bits/types.h>.
20600 (__bswap_64): Use __uint64_t instead of unsigned long long int.
20601
206022012-11-19 Pino Toscano <toscano.pino@tiscali.it>
20603
20604 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
20605 string_t. Do not manually set errno.
20606 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
20607 length with __strnlen. Make sure to both set errno and return it on
20608 failure.
20609
206102012-11-19 David S. Miller <davem@davemloft.net>
20611
20612 With help from Joseph Myers.
20613 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
20614 very large arguments properly.
20615 * math/libm-test.inc (atan_test): New tests.
20616 (atan2_test): New tests.
20617 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20618 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20619
206202012-11-19 Joseph Myers <joseph@codesourcery.com>
20621
20622 [BZ #14856]
20623 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
20624 Define to 3.
20625
20626 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
20627 [POSIX] (EADDRNOTAVAIL): Likewise.
20628 [POSIX] (EAFNOSUPPORT): Likewise.
20629 [POSIX] (EALREADY): Likewise.
20630 [POSIX] (ECONNABORTED): Likewise.
20631 [POSIX] (ECONNREFUSED): Likewise.
20632 [POSIX] (ECONNRESET): Likewise.
20633 [POSIX] (EDESTADDRREQ): Likewise.
20634 [POSIX] (EDQUOT): Likewise.
20635 [POSIX] (EHOSTUNREACH): Likewise.
20636 [POSIX] (EIDRM): Likewise.
20637 [POSIX] (EISCONN): Likewise.
20638 [POSIX] (ELOOP): Likewise.
20639 [POSIX] (EMULTIHOP): Likewise.
20640 [POSIX] (ENETDOWN): Likewise.
20641 [POSIX] (ENETUNREACH): Likewise.
20642 [POSIX] (ENOBUFS): Likewise.
20643 [POSIX] (ENODATA): Likewise.
20644 [POSIX] (ENOLINK): Likewise.
20645 [POSIX] (ENOMSG): Likewise.
20646 [POSIX] (ENOPROTOOPT): Likewise.
20647 [POSIX] (ENOSR): Likewise.
20648 [POSIX] (ENOSTR): Likewise.
20649 [POSIX] (ENOTCONN): Likewise.
20650 [POSIX] (ENOTSOCK): Likewise.
20651 [POSIX] (EOPNOTSUPP): Likewise.
20652 [POSIX] (EOVERFLOW): Likewise.
20653 [POSIX] (EPROTO): Likewise.
20654 [POSIX] (EPROTONOSUPPORT): Likewise.
20655 [POSIX] (EPROTOTYPE): Likewise.
20656 [POSIX] (ESTALE): Likewise.
20657 [POSIX] (ETIME): Likewise.
20658 [POSIX] (ETXTBSY): Likewise.
20659 [POSIX] (EWOULDBLOCK): Likewise.
20660 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
20661 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
20662 [POSIX] (SEEK_CUR): Likewise.
20663 [POSIX] (SEEK_END): Likewise.
20664 [POSIX || UNIX98] (mode_t): Do not require.
20665 [POSIX] (off_t): Likewise.
20666 [POSIX] (pid_t): Likewise.
20667 [POSIX] (sys/stat.h): Do not allow header.
20668 [POSIX] (unistd.h): Likewise.
20669 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
20670 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
20671 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
20672 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
20673 require.
20674 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
20675 sigevent): Specify elements.
20676 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
20677 entry.
20678 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
20679 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
20680
20681 * conform/data/cpio.h-data [POSIX]: Disable whole file.
20682 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
20683 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
20684 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
20685 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
20686 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
20687 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
20688 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
20689 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
20690 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
20691 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
20692 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
20693 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
20694 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
20695 Likewise.
20696 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
20697 Likewise.
20698 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
20699 Likewise.
20700 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
20701 Likewise.
20702 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
20703 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
20704 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
20705 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
20706 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
20707 Specify lower bound on value.
20708 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
20709 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
20710 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
20711 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
20712 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
20713 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
20714 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
20715 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
20716 value.
20717 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
20718 as optional.
20719 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
20720 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
20721 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
20722 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
20723 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
20724 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
20725 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
20726 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
20727 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
20728 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
20729 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
20730 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
20731 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
20732 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
20733 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
20734 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
20735 entry.
20736 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
20737 optional.
20738 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
20739 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
20740 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
20741 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
20742 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
20743 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
20744 Likewise.
20745 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
20746 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
20747 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
20748 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
20749 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
20750 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
20751 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
20752 as optional.
20753 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
20754 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
20755 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
20756 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
20757 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
20758 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
20759 specify as optional.
20760 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
20761 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
20762 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
20763 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
20764 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
20765 [XPG3] (NL_LANGMAX): Likewise.
20766 [POSIX || XPG3] (NL_MSGMAX): Likewise.
20767 [POSIX || XPG3] (NL_NMAX): Likewise.
20768 [POSIX || XPG3] (NL_SETMAX): Likewise.
20769 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
20770 [XPG3] (NZERO): Likewise.
20771 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
20772 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
20773 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
20774 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
20775 (REG_ERANGE): Expect.
20776 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
20777 optional-constant.
20778 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
20779 Use (void) in prototype.
20780 [POSIX] (*_t): Allow.
20781 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
20782 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
20783 (WRDE_BADVAL): Expect.
20784
20785 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
20786 expect.
20787 [XPG3 || XPG4] (O_RSYNC): Likewise.
20788 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
20789 Likewise.
20790 [XPG3 || XPG4] (pthread_sigmask): Likewise.
20791 [XPG3 || XPG4] (sigqueue): Likewise.
20792 [XPG3 || XPG4] (sigtimedwait): Likewise.
20793 [XPG3 || XPG4] (sigwaitinfo): Likewise.
20794 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
20795 [XPG3 || XPG4] (vsnprintf): Likewise.
20796 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
20797 Likewise.
20798 [XPG3 || XPG4] (blksize_t): Likewise.
20799 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
20800 Likewise.
20801 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
20802 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
20803 [XPG3 || XPG4] (struct itimerspec): Likewise.
20804 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
20805 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
20806 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
20807 [XPG3 || XPG4] (clockid_t): Likewise.
20808 [XPG3 || XPG4] (timer_t): Likewise.
20809 [XPG3 || XPG4] (clock_getres): Likewise.
20810 [XPG3 || XPG4] (clock_gettime): Likewise.
20811 [XPG3 || XPG4] (clock_settime): Likewise.
20812 [XPG3 || XPG4] (nanosleep): Likewise.
20813 [XPG3 || XPG4] (timer_create): Likewise.
20814 [XPG3 || XPG4] (timer_delete): Likewise.
20815 [XPG3 || XPG4] (timer_gettime): Likewise.
20816 [XPG3 || XPG4] (timer_getoverrun): Likewise.
20817 [XPG3 || XPG4] (timer_settime): Likewise.
20818 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
20819 [XPG3 || XPG4] (getlogin_r): Likewise.
20820 [XPG3 || XPG4] (pread): Likewise.
20821 [XPG3 || XPG4] (pthread_atfork): Likewise.
20822 [XPG3 || XPG4] (pwrite): Likewise.
20823
20824 [BZ #14835]
20825 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
20826 <bits/siginfo.h>.
20827
208282012-11-19 Pino Toscano <toscano.pino@tiscali.it>
20829
20830 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
20831 finalizing MALLSTREAM.
20832
20833 * sysdeps/mach/hurd/syncfs.c: New file.
20834
208352012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20836
20837 [BZ #14719]
20838 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
20839 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
20840 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
20841 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
20842 (_nss_dns_gethostbyname4_r): Likewise.
20843 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
20844 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
20845
208462012-11-19 Peng Haitao <penght@cn.fujitsu.com>
20847
20848 [BZ #13763]
20849 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
20850
208512012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
20852
20853 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
20854 * elf/cache.c (print_entry): Print ",AArch64" for
20855 FLAG_AARCH64_LIB64
20856
20857 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
20858 * elf/cache.c (print_entry): Print ",hard-float" for
20859 FLAG_ARM_LIBHF.
20860
208612012-11-18 David S. Miller <davem@davemloft.net>
20862
20863 With help from Joseph Myers.
20864 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
20865 cutoff to 2**-13.
20866 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
20867 cutoff to 2**-25.
20868 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
20869 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
20870 small.
20871 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
20872 * math/libm-test.inc (y0_test): New tests.
20873 (y1_test): New tests.
20874 * sysdeps/i386/fpu/libm-test-ulps: Update.
20875 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20876 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20877
208782012-11-18 Andreas Schwab <schwab@linux-m68k.org>
20879
20880 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
20881 64-bit targets.
20882 * configure: Regenerated.
20883
208842012-11-17 David S. Miller <davem@davemloft.net>
20885
20886 [BZ #14811]
20887 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
20888 nonzero exponents with absolute value below 0x1p-128 to +/-
20889 0x1p-128.
20890
208912012-11-17 Joseph Myers <joseph@codesourcery.com>
20892
20893 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
20894
20895 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
20896
20897 * posix/getconf-speclist.c: New file.
20898 * posix/posix-envs.def: Likewise.
20899 * posix/confstr.c (START_ENV_GROUP): New macro.
20900 (END_ENV_GROUP): Likewise.
20901 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
20902 (KNOWN_PRESENT_ENV_STRING): Likewise.
20903 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
20904 (UNKNOWN_ENVIRONMENT): Likewise.
20905 (confstr): Include posix-envs.def instead of handling
20906 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
20907 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
20908 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
20909 (END_ENV_GROUP): Likewise.
20910 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
20911 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
20912 (UNKNOWN_ENVIRONMENT): Likewise.
20913 (__sysconf): Include posix-envs.def instead of handling associated
20914 cases directly here.
20915 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
20916 preprocessing getconf-speclist.c rather than running getconf or
20917 generating empty file.
20918
209192012-11-16 Pino Toscano <toscano.pino@tiscali.it>
20920
20921 * scripts/check-local-headers.sh: Ignore 'mach' headers.
20922
209232012-11-16 Andrej Lajovic <natrij@gmail.com>
20924
20925 [BZ #14672]
20926 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
20927
209282012-11-16 David S. Miller <davem@davemloft.net>
20929
20930 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
20931 smaller than LDBL_EPSILON/2.0L, just return xm1.
20932
209332012-11-16 H.J. Lu <hongjiu.lu@intel.com>
20934
20935 * elf/tst-array1.c (init): Set constructor priority to 1000.
20936 (fini): Set destructor priority to 1000.
20937 * elf/tst-array2dep.c: Likewise.
20938
209392012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20940
20941 [BZ #11741]
20942 * libio/fileops.c (_IO_new_file_write): Correctly return error.
20943 (_IO_new_file_xsputn): Also return EOF if none of the input
20944 data was written when overflow failed.
20945 * libio/iopadn.c (_IO_padn): Likewise.
20946 * libio/iowpadn.c (_IO_wpadn): Likewise.
20947 * stdio-common/tst-put-error.c: Add copyright notice.
20948 (do_test): Add case for printing padded string.
20949 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
20950 _IO_padn returned error.
20951 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
20952 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
20953 return EOF.
20954
209552012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20956
20957 * libio/libioP.h: Add comment note that the references to C++
20958 bits are now obsolete.
20959
209602012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20961
20962 * math/libm-test.inc (check_complex): Use asprintf.
20963
209642012-11-14 Joseph Myers <joseph@codesourcery.com>
20965
20966 * debug/pcprofiledump.c (print_version): Update copyright year.
20967 * malloc/memusagestat.c (print_version): Likewise.
20968
209692012-11-14 H.J. Lu <hongjiu.lu@intel.com>
20970
20971 [BZ #14831]
20972 * elf/Makefile (tests): Add tst-audit8.
20973 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
20974 ($(objpfx)tst-audit8.out): New target.
20975 (tst-audit8-ENV): New variable.
20976 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
20977 audit if l_reloc_result is NULL.
20978 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
20979 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
20980 * elf/tst-audit8.c: New file.
20981
209822012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20983
20984 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
20985 * misc/Makefile (CFLAGS-select.c): Define.
20986 * posix/Makefile (CFLAGS-pause.c): Define.
20987
209882012-11-13 David S. Miller <davem@davemloft.net>
20989
20990 * crypt/Makefile: Move test targets after toplevel Rules
20991 inclusion. Grab any necessary sysdep routines when linking.
20992 * crypt/md5.c (md5_process_block): Remove define, we will always
20993 name it __md5_process_block.
20994 (md5_finish_ctx): Update md5_process_block call.
20995 (md5_stream): Likewise.
20996 (md5_process_bytes): Likewise.
20997 (md5_process_block): Rename to __md5_process_block and move to ...
20998 * crypt/md5-block.c: ... here.
20999 * crypt/sha256.c (sha256_process_block): Move to ...
21000 * crypt/sha256-block.c: ... here.
21001 * crypt/sha512.c (sha512_process_block): Move to ...
21002 * crypt/sha512-block.c: ... here.
21003 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
21004 path.
21005 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
21006 * sysdeps/sparc/sparc64/multiarch/Makefile
21007 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
21008 crypt subdir.
21009 (localedef-aux): Add md5 crypto assembler when in locale subdir.
21010 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
21011 multiarch changes.
21012 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
21013 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
21014 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
21015 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
21016 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
21017 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
21018 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
21019 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
21020 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
21021 file.
21022 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
21023 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
21024 file.
21025 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
21026
210272012-11-13 Joseph Myers <joseph@codesourcery.com>
21028
21029 * timezone/tzselect.ksh: Update from tzcode git revision
21030 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
21031 * timezone/zdump.c: Likewise.
21032 * timezone/zic.c: Likewise.
21033 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
21034 in TZVERSION setting, not $(PKGVERSION).
21035 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
21036 REPORT_BUGS_TO settings.
21037
21038 [BZ #14838]
21039 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
21040 macro.
21041
210422012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21043
21044 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
21045 detection to immediately after _FP_ROUND().
21046 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
21047 bits are 0.
21048
210492012-11-11 David S. Miller <davem@davemloft.net>
21050
21051 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
21052 inttypes.h
21053 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
21054 __close rather than their public counterparts.
21055
210562012-11-10 Joseph Myers <joseph@codesourcery.com>
21057
21058 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
21059 file.
21060 [UNIX98] (sem_timedwait): Do not expect.
21061 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
21062 [XPG4 || UNIX98] (sockatmark): Do not expect.
21063 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
21064 (clock_getcpuclockid): Do not expect.
21065 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
21066 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
21067 Do not expect.
21068 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
21069 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
21070 [UNIX98] (vwscanf): Likewise.
21071 [UNIX98] (vswscanf): Likewise.
21072
210732012-11-09 Joseph Myers <joseph@codesourcery.com>
21074
21075 * timezone/version.h: Remove file.
21076 * timezone/README: Do not refer to version.h.
21077 * timezone/Makefile ($(objpfx)zic.o): New dependency on
21078 $(objpfx)version.h.
21079 ($(objpfx)zdump.o): Likewise.
21080 ($(objpfx)version.h): New target.
21081
21082 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
21083 2012i.
21084 * timezone/README: Don't mention modification to tzselect.ksh.
21085 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
21086 work on unmodified tzselect.ksh. Substitute version numbers in
21087 tzselect.ksh.
21088
21089 * Makefile (format-me): Remove.
21090 (INSTALL): Adjust indentation. Use commands directly instead of
21091 using $(format-me).
21092
21093 * aclocal.m4 (ACX_PKGVERSION): New macro.
21094 (ACX_BUGURL): Likewise.
21095 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
21096 (PKGVERSION): New AC_DEFINE_UNQUOTED.
21097 (REPORT_BUGS_TO): Likewise.
21098 * configure: Regenerated.
21099 * config.h.in (PKGVERSION): New macro.
21100 (REPORT_BUGS_TO): Likewise.
21101 * config.make.in (PKGVERSION): New variable.
21102 (PKGVERSION_TEXI): Likewise.
21103 (REPORT_BUGS_TO): Likewise.
21104 (REPORT_BUGS_TEXI): Likewise.
21105 * Makefile (format-me): Use -I$(common-objpfx)manual.
21106 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
21107 ($(common-objpfx)manual/%): New target.
21108 (manual/%): Remove target.
21109 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
21110 (print_version): Use PKGVERSION.
21111 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
21112 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
21113 and REPORT_BUGS_TO.
21114 ($(objpfx)xtrace): Likewise.
21115 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
21116 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
21117 (print_version): Use PKGVERSION.
21118 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
21119 (do_version): Use PKGVERSION.
21120 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
21121 REPORT_BUGS_TO.
21122 (common-ldd-rewrite): Likewise.
21123 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
21124 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
21125 (print_version): Use PKGVERSION.
21126 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
21127 * elf/pldd.c (argp_program_bug_address): Remove variable.
21128 (more_help): New function.
21129 (argp): Use more_help.
21130 (print_version): Use PKGVERSION.
21131 * elf/sln.c (main): Use PKGVERSION.
21132 (usage): Use REPORT_BUGS_TO.
21133 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
21134 (top level): Use PKGVERSION.
21135 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
21136 (print_version): Use PKGVERSION.
21137 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
21138 (print_version): Use PKGVERSION.
21139 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
21140 (print_version): Use PKGVERSION.
21141 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
21142 (print_version): Use PKGVERSION.
21143 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
21144 (print_version): Use PKGVERSION.
21145 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
21146 (print_version): Use PKGVERSION.
21147 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
21148 and BUGURL.
21149 ($(objpfx)memusage): Likewise.
21150 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
21151 (do_version): Use PKGVERSION.
21152 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
21153 (print_version): Use PKGVERSION.
21154 * malloc/mtrace.pl ($PACKAGE): Remove variable.
21155 ($PKGVERSION): New variable.
21156 ($REPORT_BUGS_TO): Likewise.
21157 (usage): Use $REPORT_BUGS_TO.
21158 (top level): Use $PKGVERSION.
21159 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
21160 ($(objpfx)pkgvers.texi): New rule.
21161 ($(objpfx)stamp-pkgvers): Likewise.
21162 * manual/install.texi: Include pkgvers.texi.
21163 (--with-pkgversion): Document new configure option.
21164 (--with-bugurl): Likewise.
21165 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
21166 than necessarily for this particular distribution. Use
21167 REPORT_BUGS_TO for where to report bugs.
21168 * INSTALL: Regenerated.
21169 * manual/libc.texinfo: Include pkgvers.texi.
21170 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
21171 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
21172 (print_version): Use PKGVERSION.
21173 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
21174 (print_version): Use PKGVERSION.
21175 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
21176 (print_version): Use PKGVERSION.
21177 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
21178 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
21179 macro.
21180 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
21181 (print_version): Use PKGVERSION.
21182 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
21183 (print_version): Use PKGVERSION.
21184 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
21185 and PKGVERSION.
21186
21187 * timezone/checktab.awk: Update from tzcode 2012i.
21188 * timezone/ialloc.c: Likewise.
21189 * timezone/private.h: Likewise.
21190 * timezone/scheck.c: Likewise.
21191 * timezone/tzfile.h: Likewise.
21192 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
21193 (TZVERSION): Hardcode tzcode version number.
21194 * timezone/zdump.c: Update from tzcode 2012i.
21195 * timezone/zic.c: Likewise.
21196 * timezone/version.h: New file.
21197 * timezone/README: Describe version.h. Update upstream location.
21198
21199 [BZ #14824]
21200 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
21201 (mktemp): Enable declaration.
21202 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
21203 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
21204 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
21205 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
21206 Likewise.
21207 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
21208 Likewise.
21209 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
21210 Likewise.
21211 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
21212 Likewise.
21213 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
21214 Likewise.
21215 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
21216 Likewise.
21217
21218 [BZ #14821]
21219 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
21220 offset in buffer as u_int32_t not u_long. Consistently use memcpy
21221 for copies of such integer values.
21222 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
21223 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
21224
212252012-11-09 Andreas Jaeger <aj@suse.de>
21226
21227 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
21228 definitions and declarations that are provided by
21229 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
21230
212312012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21232
21233 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
21234 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
21235 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
21236 definition.
21237
212382012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21239
21240 * elf/elf.h: Update comment before AArch64 relocations.
21241
212422012-11-07 David S. Miller <davem@davemloft.net>
21243
21244 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
21245 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
21246 (__start_context): Declare.
21247 (__makecontext_ret): Delete.
21248 (__makecontext): Hook up __start_context instead of
21249 __makecontext_ret.
21250 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
21251 (sysdep_routines): Add __start_context when in stdlib.
21252
212532012-11-07 Joseph Myers <joseph@codesourcery.com>
21254
21255 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
21256 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
21257 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
21258 hardcoded "nm".
21259 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
21260 (READELF): New variable. Use it instead of hardcoded "readelf".
21261
212622012-11-07 H.J. Lu <hongjiu.lu@intel.com>
21263
21264 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
21265 * sysdeps/x86/Makefile: Here.
21266 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
21267 * sysdeps/x86/tst-xmmymm.sh: This.
21268
212692012-11-07 Joseph Myers <joseph@codesourcery.com>
21270
21271 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
21272 expectations.
21273 [UNIX98] (pthread_barrier_t): Do not expect.
21274 [UNIX98] (pthread_barrierattr_t): Likewise.
21275 [UNIX98] (pthread_spinlock_t): Likewise.
21276 [UNIX98] (pthread_barrier_destroy): Likewise.
21277 [UNIX98] (pthread_barrier_init): Likewise.
21278 [UNIX98] (pthread_barrier_wait): Likewise.
21279 [UNIX98] (pthread_barrierattr_destroy): Likewise.
21280 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
21281 [UNIX98] (pthread_barrierattr_init): Likewise.
21282 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
21283 [UNIX98] (pthread_getcpuclockid): Likewise.
21284 [UNIX98] (pthread_mutex_timedlock): Likewise.
21285 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
21286 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
21287 [UNIX98] (pthread_sigmask): Likewise.
21288 [UNIX98] (pthread_spin_destroy): Likewise.
21289 [UNIX98] (pthread_spin_init): Likewise.
21290 [UNIX98] (pthread_spin_lock): Likewise.
21291 [UNIX98] (pthread_spin_trylock): Likewise.
21292 [UNIX98] (pthread_spin_unlock): Likewise.
21293 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
21294 Do not expect.
21295 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
21296 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
21297 [XPG3 || XPG4] (pthread_cond_t): Likewise.
21298 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
21299 [XPG3 || XPG4] (pthread_key_t): Likewise.
21300 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
21301 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
21302 [XPG3 || XPG4] (pthread_once_t): Likewise.
21303 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
21304 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
21305 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
21306 [XPG3 || XPG4] (pthread_t): Likewise.
21307
21308 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
21309 not expect.
21310 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
21311
21312 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
21313 Change function return type to int.
21314
21315 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
21316 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
21317 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
21318 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
21319 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
21320 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
21321 [!POSIX] (posix_madvise): Likewise.
21322 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
21323 && !UNIX98].
21324 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
21325 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
21326 (mode_t): Likewise.
21327 (posix_mem_offset): Likewise.
21328 (posix_typed_mem_get_info): Likewise.
21329 (posix_typed_mem_open): Likewise.
21330
21331 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
21332 Change condition to [XOPEN2K8].
21333
21334 * conform/conformtest.pl: Preprocess allow-header data with -x c
21335 instead of from stdin.
21336 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
21337 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
21338 [C99-based standards] (cerfc): Likewise.
21339 [C99-based standards] (cexp2): Likewise.
21340 [C99-based standards] (cexpm1): Likewise.
21341 [C99-based standards] (clog10): Likewise.
21342 [C99-based standards] (clog1p): Likewise.
21343 [C99-based standards] (clog2): Likewise.
21344 [C99-based standards] (clgamma): Likewise.
21345 [C99-based standards] (ctgamma): Likewise.
21346 [C99-based standards] (cerff): Likewise.
21347 [C99-based standards] (cerfcf): Likewise.
21348 [C99-based standards] (cexp2f): Likewise.
21349 [C99-based standards] (cexpm1f): Likewise.
21350 [C99-based standards] (clog10f): Likewise.
21351 [C99-based standards] (clog1pf): Likewise.
21352 [C99-based standards] (clog2f): Likewise.
21353 [C99-based standards] (clgammaf): Likewise.
21354 [C99-based standards] (ctgammaf): Likewise.
21355 [C99-based standards] (cerfl): Likewise.
21356 [C99-based standards] (cerfcl): Likewise.
21357 [C99-based standards] (cexp2l): Likewise.
21358 [C99-based standards] (cexpm1l): Likewise.
21359 [C99-based standards] (clog10l): Likewise.
21360 [C99-based standards] (clog1pl): Likewise.
21361 [C99-based standards] (clog2l): Likewise.
21362 [C99-based standards] (clgammal): Likewise.
21363 [C99-based standards] (ctgammal): Likewise.
21364 * conform/data/inttypes.h-data [C99-based standards]: Include
21365 stdint.h-data. Remove all expectations for stdint.h contents.
21366 [C99-based standards] (PRI*): Do not allow.
21367 [C99-based standards] (SCN*): Likewise.
21368 [C99-based standards] (*_t): Likewise.
21369 [C99-based-standards] (PRId8): Expect macro.
21370 [C99-based-standards] (PRIi8): Likewise.
21371 [C99-based-standards] (PRIo8): Likewise.
21372 [C99-based-standards] (PRIu8): Likewise.
21373 [C99-based-standards] (PRIx8): Likewise.
21374 [C99-based-standards] (PRIX8): Likewise.
21375 [C99-based-standards] (SCNd8): Likewise.
21376 [C99-based-standards] (SCNi8): Likewise.
21377 [C99-based-standards] (SCNo8): Likewise.
21378 [C99-based-standards] (SCNu8): Likewise.
21379 [C99-based-standards] (SCNx8): Likewise.
21380 [C99-based-standards] (PRIdLEAST8): Likewise.
21381 [C99-based-standards] (PRIiLEAST8): Likewise.
21382 [C99-based-standards] (PRIoLEAST8): Likewise.
21383 [C99-based-standards] (PRIuLEAST8): Likewise.
21384 [C99-based-standards] (PRIxLEAST8): Likewise.
21385 [C99-based-standards] (PRIXLEAST8): Likewise.
21386 [C99-based-standards] (SCNdLEAST8): Likewise.
21387 [C99-based-standards] (SCNiLEAST8): Likewise.
21388 [C99-based-standards] (SCNoLEAST8): Likewise.
21389 [C99-based-standards] (SCNuLEAST8): Likewise.
21390 [C99-based-standards] (SCNxLEAST8): Likewise.
21391 [C99-based-standards] (PRIdFAST8): Likewise.
21392 [C99-based-standards] (PRIiFAST8): Likewise.
21393 [C99-based-standards] (PRIoFAST8): Likewise.
21394 [C99-based-standards] (PRIuFAST8): Likewise.
21395 [C99-based-standards] (PRIxFAST8): Likewise.
21396 [C99-based-standards] (PRIXFAST8): Likewise.
21397 [C99-based-standards] (SCNdFAST8): Likewise.
21398 [C99-based-standards] (SCNiFAST8): Likewise.
21399 [C99-based-standards] (SCNoFAST8): Likewise.
21400 [C99-based-standards] (SCNuFAST8): Likewise.
21401 [C99-based-standards] (SCNxFAST8): Likewise.
21402 [C99-based-standards] (PRId16): Likewise.
21403 [C99-based-standards] (PRIi16): Likewise.
21404 [C99-based-standards] (PRIo16): Likewise.
21405 [C99-based-standards] (PRIu16): Likewise.
21406 [C99-based-standards] (PRIx16): Likewise.
21407 [C99-based-standards] (PRIX16): Likewise.
21408 [C99-based-standards] (SCNd16): Likewise.
21409 [C99-based-standards] (SCNi16): Likewise.
21410 [C99-based-standards] (SCNo16): Likewise.
21411 [C99-based-standards] (SCNu16): Likewise.
21412 [C99-based-standards] (SCNx16): Likewise.
21413 [C99-based-standards] (PRIdLEAST16): Likewise.
21414 [C99-based-standards] (PRIiLEAST16): Likewise.
21415 [C99-based-standards] (PRIoLEAST16): Likewise.
21416 [C99-based-standards] (PRIuLEAST16): Likewise.
21417 [C99-based-standards] (PRIxLEAST16): Likewise.
21418 [C99-based-standards] (PRIXLEAST16): Likewise.
21419 [C99-based-standards] (SCNdLEAST16): Likewise.
21420 [C99-based-standards] (SCNiLEAST16): Likewise.
21421 [C99-based-standards] (SCNoLEAST16): Likewise.
21422 [C99-based-standards] (SCNuLEAST16): Likewise.
21423 [C99-based-standards] (SCNxLEAST16): Likewise.
21424 [C99-based-standards] (PRIdFAST16): Likewise.
21425 [C99-based-standards] (PRIiFAST16): Likewise.
21426 [C99-based-standards] (PRIoFAST16): Likewise.
21427 [C99-based-standards] (PRIuFAST16): Likewise.
21428 [C99-based-standards] (PRIxFAST16): Likewise.
21429 [C99-based-standards] (PRIXFAST16): Likewise.
21430 [C99-based-standards] (SCNdFAST16): Likewise.
21431 [C99-based-standards] (SCNiFAST16): Likewise.
21432 [C99-based-standards] (SCNoFAST16): Likewise.
21433 [C99-based-standards] (SCNuFAST16): Likewise.
21434 [C99-based-standards] (SCNxFAST16): Likewise.
21435 [C99-based-standards] (PRId32): Likewise.
21436 [C99-based-standards] (PRIi32): Likewise.
21437 [C99-based-standards] (PRIo32): Likewise.
21438 [C99-based-standards] (PRIu32): Likewise.
21439 [C99-based-standards] (PRIx32): Likewise.
21440 [C99-based-standards] (PRIX32): Likewise.
21441 [C99-based-standards] (SCNd32): Likewise.
21442 [C99-based-standards] (SCNi32): Likewise.
21443 [C99-based-standards] (SCNo32): Likewise.
21444 [C99-based-standards] (SCNu32): Likewise.
21445 [C99-based-standards] (SCNx32): Likewise.
21446 [C99-based-standards] (PRIdLEAST32): Likewise.
21447 [C99-based-standards] (PRIiLEAST32): Likewise.
21448 [C99-based-standards] (PRIoLEAST32): Likewise.
21449 [C99-based-standards] (PRIuLEAST32): Likewise.
21450 [C99-based-standards] (PRIxLEAST32): Likewise.
21451 [C99-based-standards] (PRIXLEAST32): Likewise.
21452 [C99-based-standards] (SCNdLEAST32): Likewise.
21453 [C99-based-standards] (SCNiLEAST32): Likewise.
21454 [C99-based-standards] (SCNoLEAST32): Likewise.
21455 [C99-based-standards] (SCNuLEAST32): Likewise.
21456 [C99-based-standards] (SCNxLEAST32): Likewise.
21457 [C99-based-standards] (PRIdFAST32): Likewise.
21458 [C99-based-standards] (PRIiFAST32): Likewise.
21459 [C99-based-standards] (PRIoFAST32): Likewise.
21460 [C99-based-standards] (PRIuFAST32): Likewise.
21461 [C99-based-standards] (PRIxFAST32): Likewise.
21462 [C99-based-standards] (PRIXFAST32): Likewise.
21463 [C99-based-standards] (SCNdFAST32): Likewise.
21464 [C99-based-standards] (SCNiFAST32): Likewise.
21465 [C99-based-standards] (SCNoFAST32): Likewise.
21466 [C99-based-standards] (SCNuFAST32): Likewise.
21467 [C99-based-standards] (SCNxFAST32): Likewise.
21468 [C99-based-standards] (PRId64): Likewise.
21469 [C99-based-standards] (PRIi64): Likewise.
21470 [C99-based-standards] (PRIo64): Likewise.
21471 [C99-based-standards] (PRIu64): Likewise.
21472 [C99-based-standards] (PRIx64): Likewise.
21473 [C99-based-standards] (PRIX64): Likewise.
21474 [C99-based-standards] (SCNd64): Likewise.
21475 [C99-based-standards] (SCNi64): Likewise.
21476 [C99-based-standards] (SCNo64): Likewise.
21477 [C99-based-standards] (SCNu64): Likewise.
21478 [C99-based-standards] (SCNx64): Likewise.
21479 [C99-based-standards] (PRIdLEAST64): Likewise.
21480 [C99-based-standards] (PRIiLEAST64): Likewise.
21481 [C99-based-standards] (PRIoLEAST64): Likewise.
21482 [C99-based-standards] (PRIuLEAST64): Likewise.
21483 [C99-based-standards] (PRIxLEAST64): Likewise.
21484 [C99-based-standards] (PRIXLEAST64): Likewise.
21485 [C99-based-standards] (SCNdLEAST64): Likewise.
21486 [C99-based-standards] (SCNiLEAST64): Likewise.
21487 [C99-based-standards] (SCNoLEAST64): Likewise.
21488 [C99-based-standards] (SCNuLEAST64): Likewise.
21489 [C99-based-standards] (SCNxLEAST64): Likewise.
21490 [C99-based-standards] (PRIdFAST64): Likewise.
21491 [C99-based-standards] (PRIiFAST64): Likewise.
21492 [C99-based-standards] (PRIoFAST64): Likewise.
21493 [C99-based-standards] (PRIuFAST64): Likewise.
21494 [C99-based-standards] (PRIxFAST64): Likewise.
21495 [C99-based-standards] (PRIXFAST64): Likewise.
21496 [C99-based-standards] (SCNdFAST64): Likewise.
21497 [C99-based-standards] (SCNiFAST64): Likewise.
21498 [C99-based-standards] (SCNoFAST64): Likewise.
21499 [C99-based-standards] (SCNuFAST64): Likewise.
21500 [C99-based-standards] (SCNxFAST64): Likewise.
21501 [C99-based-standards] (PRIdMAX): Likewise.
21502 [C99-based-standards] (PRIiMAX): Likewise.
21503 [C99-based-standards] (PRIoMAX): Likewise.
21504 [C99-based-standards] (PRIuMAX): Likewise.
21505 [C99-based-standards] (PRIxMAX): Likewise.
21506 [C99-based-standards] (PRIXMAX): Likewise.
21507 [C99-based-standards] (SCNdMAX): Likewise.
21508 [C99-based-standards] (SCNiMAX): Likewise.
21509 [C99-based-standards] (SCNoMAX): Likewise.
21510 [C99-based-standards] (SCNuMAX): Likewise.
21511 [C99-based-standards] (SCNxMAX): Likewise.
21512 [C99-based-standards] (PRIdPTR): Likewise.
21513 [C99-based-standards] (PRIiPTR): Likewise.
21514 [C99-based-standards] (PRIoPTR): Likewise.
21515 [C99-based-standards] (PRIuPTR): Likewise.
21516 [C99-based-standards] (PRIxPTR): Likewise.
21517 [C99-based-standards] (PRIXPTR): Likewise.
21518 [C99-based-standards] (SCNdPTR): Likewise.
21519 [C99-based-standards] (SCNiPTR): Likewise.
21520 [C99-based-standards] (SCNoPTR): Likewise.
21521 [C99-based-standards] (SCNuPTR): Likewise.
21522 [C99-based-standards] (SCNxPTR): Likewise.
21523 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
21524 allow.
21525 * conform/data/stdint.h-data: Update comments to clarify
21526 requirements.
21527 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
21528 type.
21529 [C99-based standards] (INT8_MAX): Likewise.
21530 [C99-based standards] (INT16_MIN): Likewise.
21531 [C99-based standards] (INT16_MAX): Likewise.
21532 [C99-based standards] (INT32_MIN): Likewise.
21533 [C99-based standards] (INT32_MAX): Likewise.
21534 [C99-based standards] (INT64_MIN): Likewise.
21535 [C99-based standards] (INT64_MAX): Likewise.
21536 [C99-based standards] (UINT8_MAX): Likewise.
21537 [C99-based standards] (UINT16_MAX): Likewise.
21538 [C99-based standards] (UINT32_MAX): Likewise.
21539 [C99-based standards] (UINT64_MAX): Likewise.
21540 [C99-based standards] (INT_LEAST8_MIN): Likewise.
21541 [C99-based standards] (INT_LEAST8_MAX): Likewise.
21542 [C99-based standards] (INT_LEAST16_MIN): Likewise.
21543 [C99-based standards] (INT_LEAST16_MAX): Likewise.
21544 [C99-based standards] (INT_LEAST32_MIN): Likewise.
21545 [C99-based standards] (INT_LEAST32_MAX): Likewise.
21546 [C99-based standards] (INT_LEAST64_MIN): Likewise.
21547 [C99-based standards] (INT_LEAST64_MAX): Likewise.
21548 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
21549 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
21550 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
21551 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
21552 [C99-based standards] (INT_FAST8_MIN): Likewise.
21553 [C99-based standards] (INT_FAST8_MAX): Likewise.
21554 [C99-based standards] (INT_FAST16_MIN): Likewise.
21555 [C99-based standards] (INT_FAST16_MAX): Likewise.
21556 [C99-based standards] (INT_FAST32_MIN): Likewise.
21557 [C99-based standards] (INT_FAST32_MAX): Likewise.
21558 [C99-based standards] (INT_FAST64_MIN): Likewise.
21559 [C99-based standards] (INT_FAST64_MAX): Likewise.
21560 [C99-based standards] (UINT_FAST8_MAX): Likewise.
21561 [C99-based standards] (UINT_FAST16_MAX): Likewise.
21562 [C99-based standards] (UINT_FAST32_MAX): Likewise.
21563 [C99-based standards] (UINT_FAST64_MAX): Likewise.
21564 [C99-based standards] (INTPTR_MIN): Likewise.
21565 [C99-based standards] (INTPTR_MAX): Likewise.
21566 [C99-based standards] (UINTPTR_MAX): Likewise.
21567 [C99-based standards] (INTMAX_MIN): Likewise.
21568 [C99-based standards] (INTMAX_MAX): Likewise.
21569 [C99-based standards] (UINTMAX_MAX): Likewise.
21570 [C99-based standards] (PTRDIFF_MIN): Likewise.
21571 [C99-based standards] (PTRDIFF_MAX): Likewise.
21572 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
21573 [C99-based standards] (SIZE_MAX): Likewise.
21574 [C99-based standards] (WCHAR_MAX): Likewise.
21575 [C99-based standards] (WINT_MAX): Likewise.
21576 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
21577 constraint on value.
21578 [C99-based standards] (WCHAR_MIN): Likewise.
21579 [C99-based standards] (WINT_MIN): Likewise.
21580 [C99-based standards] (*_t): Allow.
21581 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
21582 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
21583 Include math.h-data and complex.h-data. Remove all expectations
21584 of math.h and complex.h contents.
21585 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
21586 at end of line.
21587 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
21588 (struct tm): Expect tag.
21589 [C99-based-standards] (wcstof): Expect function.
21590 [C99-based-standards] (wcstold): Likewise.
21591 [C99-based-standards] (wcstoll): Likewise.
21592 [C99-based-standards] (wcstoull): Likewise.
21593 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
21594 macro-int-constant. Specify type.
21595 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
21596 constraint on value.
21597 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21598 Specify type.
21599 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
21600 Specify value.
21601 [ISO C standards]: Do not allow headers.
21602 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
21603 wcs[abcdefghijklmnopqrstuvwxyz]*.
21604 [ISO C standards] (*_t): Do not allow.
21605 * conform/data/wctype.h-data [C99-based standards] (iswblank):
21606 Expect function.
21607 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
21608 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21609 Specify type.
21610 [ISO C standards]: Do not allow headers.
21611 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
21612 is[abcdefghijklmnopqrstuvwxyz]*.
21613 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
21614 to[abcdefghijklmnopqrstuvwxyz]*.
21615 [ISO C standards] (*_t): Do not allow.
21616 * conform/data/stdalign.h-data: New file.
21617 * conform/data/stdbool.h-data: Likewise.
21618 * conform/data/stdnoreturn.h-data: Likewise.
21619
216202012-11-07 Roland McGrath <roland@hack.frob.com>
21621
21622 [BZ #14815]
21623 * manual/filesys.texi (Directory Entries): Typo fix.
21624 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
21625
216262012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21627
21628 * elf/elf.h (EM_AARCH64): New macro.
21629 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
21630 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
21631 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
21632 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
21633 (R_AARCH64_TLSDESC): Likewise.
21634 (NT_ARM_TLS): Likewise.
21635 (NT_ARM_HW_BREAK): Likewise.
21636 (NT_ARM_HW_WATCH): Likewise.
21637
216382012-11-07 Joseph Myers <joseph@codesourcery.com>
21639
21640 [BZ #14811]
21641 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
21642 (__ieee754_powl): Saturate nonzero exponents with absolute value
21643 below 0x1p-79 to +/- 0x1p-79.
21644 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
21645 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
21646 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
21647 nonzero exponents with absolute value below 0x1p-32 to +/-
21648 0x1p-32.
21649 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
21650 (__ieee754_powl): Saturate nonzero exponents with absolute value
21651 below 0x1p-79 to +/- 0x1p-79.
21652 * math/libm-test.inc (pow_test): Add more tests.
21653
216542012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21655
21656 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
21657 _dl_s390_cap_flags with kernel. Increase string length.
21658 (_dl_s390_platforms): Add z196 and zEC12.
21659
216602012-11-07 Joseph Myers <joseph@codesourcery.com>
21661
21662 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
21663 Change XOPEN21K to XOPEN2K.
21664
216652012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
21666
21667 * string/memmove.c: Use memcpy when possible.
21668
216692012-11-06 Andreas Jaeger <aj@suse.de>
21670
21671 * po/eo.po: Update from translation team.
21672
216732012-11-06 Joseph Myers <joseph@codesourcery.com>
21674
21675 [BZ #14793]
21676 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
21677 exponent and small x and y exponents, scale x or y up. Increase
21678 by 2 the exponent used in scaling up.
21679 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21680 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21681 * math/libm-test.inc (fma_test): Add more tests.
21682 (fma_test_towardzero): Likewise.
21683 (fma_test_downward): Likewise.
21684 (fma_test_upward): Likewise.
21685
216862012-11-05 Joseph Myers <joseph@codesourcery.com>
21687
21688 [BZ #14805]
21689 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
21690 fenv_t *.
21691
21692 [BZ #14801]
21693 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
21694 namespace for names of struct fields.
21695 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
21696 fenv_t fields.
21697 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
21698 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
21699
217002012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
21701
21702 [BZ #3665]
21703 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
21704
217052012-11-04 Thomas Schwinge <thomas@codesourcery.com>
21706
21707 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
21708 PTR_DEMANGLE.
21709
21710 [BZ #5246]
21711 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
21712 PTR_DEMANGLE.
21713
217142012-11-04 Joseph Myers <joseph@codesourcery.com>
21715
21716 [BZ #14797]
21717 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
21718 definitely overflow as x * y not x * y + z.
21719 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21720 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21721 * math/libm-test.inc (fma_test): Add more tests.
21722 (fma_test_towardzero): Likewise.
21723 (fma_test_downward): Likewise.
21724 (fma_test_upward): Likewise.
21725
217262012-11-04 Thomas Schwinge <thomas@codesourcery.com>
21727
21728 [BZ #157]
21729
21730 * include/stub-tag.h: Remove file.
21731 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
21732 '#include' of it.
21733 * manual/maint.texi (Porting): Don't reference it.
21734 * Makerules ($(objpfx)stubs): Likewise.
21735 * dirent/closedir.c: Don't include <stub-tag.h>.
21736 * dirent/dirfd.c: Likewise.
21737 * dirent/fdopendir.c: Likewise.
21738 * dirent/getdents.c: Likewise.
21739 * dirent/getdents64.c: Likewise.
21740 * dirent/opendir.c: Likewise.
21741 * dirent/readdir.c: Likewise.
21742 * dirent/readdir64.c: Likewise.
21743 * dirent/readdir64_r.c: Likewise.
21744 * dirent/readdir_r.c: Likewise.
21745 * dirent/rewinddir.c: Likewise.
21746 * dirent/seekdir.c: Likewise.
21747 * dirent/telldir.c: Likewise.
21748 * gmon/profil.c: Likewise.
21749 * grp/setgroups.c: Likewise.
21750 * inet/if_index.c: Likewise.
21751 * io/access.c: Likewise.
21752 * io/chdir.c: Likewise.
21753 * io/chmod.c: Likewise.
21754 * io/chown.c: Likewise.
21755 * io/close.c: Likewise.
21756 * io/dup.c: Likewise.
21757 * io/dup2.c: Likewise.
21758 * io/dup3.c: Likewise.
21759 * io/euidaccess.c: Likewise.
21760 * io/faccessat.c: Likewise.
21761 * io/fchdir.c: Likewise.
21762 * io/fchmod.c: Likewise.
21763 * io/fchmodat.c: Likewise.
21764 * io/fchown.c: Likewise.
21765 * io/fchownat.c: Likewise.
21766 * io/fcntl.c: Likewise.
21767 * io/flock.c: Likewise.
21768 * io/fstatfs.c: Likewise.
21769 * io/fstatfs64.c: Likewise.
21770 * io/fstatvfs.c: Likewise.
21771 * io/fstatvfs64.c: Likewise.
21772 * io/futimens.c: Likewise.
21773 * io/fxstat.c: Likewise.
21774 * io/fxstat64.c: Likewise.
21775 * io/fxstatat.c: Likewise.
21776 * io/fxstatat64.c: Likewise.
21777 * io/getcwd.c: Likewise.
21778 * io/isatty.c: Likewise.
21779 * io/lchmod.c: Likewise.
21780 * io/lchown.c: Likewise.
21781 * io/link.c: Likewise.
21782 * io/linkat.c: Likewise.
21783 * io/lseek.c: Likewise.
21784 * io/lseek64.c: Likewise.
21785 * io/lxstat64.c: Likewise.
21786 * io/mkdir.c: Likewise.
21787 * io/mkdirat.c: Likewise.
21788 * io/mkfifo.c: Likewise.
21789 * io/mkfifoat.c: Likewise.
21790 * io/open.c: Likewise.
21791 * io/open64.c: Likewise.
21792 * io/openat.c: Likewise.
21793 * io/openat64.c: Likewise.
21794 * io/pipe.c: Likewise.
21795 * io/pipe2.c: Likewise.
21796 * io/poll.c: Likewise.
21797 * io/posix_fadvise.c: Likewise.
21798 * io/posix_fadvise64.c: Likewise.
21799 * io/posix_fallocate.c: Likewise.
21800 * io/posix_fallocate64.c: Likewise.
21801 * io/read.c: Likewise.
21802 * io/readlink.c: Likewise.
21803 * io/readlinkat.c: Likewise.
21804 * io/rmdir.c: Likewise.
21805 * io/sendfile.c: Likewise.
21806 * io/sendfile64.c: Likewise.
21807 * io/statfs.c: Likewise.
21808 * io/statfs64.c: Likewise.
21809 * io/statvfs.c: Likewise.
21810 * io/statvfs64.c: Likewise.
21811 * io/symlink.c: Likewise.
21812 * io/symlinkat.c: Likewise.
21813 * io/ttyname.c: Likewise.
21814 * io/ttyname_r.c: Likewise.
21815 * io/umask.c: Likewise.
21816 * io/unlink.c: Likewise.
21817 * io/unlinkat.c: Likewise.
21818 * io/utime.c: Likewise.
21819 * io/utimensat.c: Likewise.
21820 * io/write.c: Likewise.
21821 * io/xmknod.c: Likewise.
21822 * io/xmknodat.c: Likewise.
21823 * io/xstat.c: Likewise.
21824 * io/xstat64.c: Likewise.
21825 * login/getpt.c: Likewise.
21826 * login/grantpt.c: Likewise.
21827 * login/unlockpt.c: Likewise.
21828 * math/e_acoshl.c: Likewise.
21829 * math/e_acosl.c: Likewise.
21830 * math/e_asinl.c: Likewise.
21831 * math/e_atan2l.c: Likewise.
21832 * math/e_atanhl.c: Likewise.
21833 * math/e_coshl.c: Likewise.
21834 * math/e_expl.c: Likewise.
21835 * math/e_fmodl.c: Likewise.
21836 * math/e_gammal_r.c: Likewise.
21837 * math/e_hypotl.c: Likewise.
21838 * math/e_j0l.c: Likewise.
21839 * math/e_j1l.c: Likewise.
21840 * math/e_jnl.c: Likewise.
21841 * math/e_lgammal_r.c: Likewise.
21842 * math/e_log10l.c: Likewise.
21843 * math/e_log2l.c: Likewise.
21844 * math/e_logl.c: Likewise.
21845 * math/e_powl.c: Likewise.
21846 * math/e_rem_pio2l.c: Likewise.
21847 * math/e_sinhl.c: Likewise.
21848 * math/e_sqrtl.c: Likewise.
21849 * math/fclrexcpt.c: Likewise.
21850 * math/fedisblxcpt.c: Likewise.
21851 * math/feenablxcpt.c: Likewise.
21852 * math/fegetenv.c: Likewise.
21853 * math/fegetexcept.c: Likewise.
21854 * math/fegetround.c: Likewise.
21855 * math/feholdexcpt.c: Likewise.
21856 * math/fesetenv.c: Likewise.
21857 * math/fesetround.c: Likewise.
21858 * math/feupdateenv.c: Likewise.
21859 * math/fgetexcptflg.c: Likewise.
21860 * math/fraiseexcpt.c: Likewise.
21861 * math/fsetexcptflg.c: Likewise.
21862 * math/ftestexcept.c: Likewise.
21863 * math/k_cosl.c: Likewise.
21864 * math/k_rem_pio2l.c: Likewise.
21865 * math/k_sinl.c: Likewise.
21866 * math/k_tanl.c: Likewise.
21867 * math/s_asinhl.c: Likewise.
21868 * math/s_atanl.c: Likewise.
21869 * math/s_cbrtl.c: Likewise.
21870 * math/s_erfl.c: Likewise.
21871 * math/s_expm1l.c: Likewise.
21872 * math/s_log1pl.c: Likewise.
21873 * math/s_tanhl.c: Likewise.
21874 * misc/acct.c: Likewise.
21875 * misc/brk.c: Likewise.
21876 * misc/chflags.c: Likewise.
21877 * misc/chroot.c: Likewise.
21878 * misc/fchflags.c: Likewise.
21879 * misc/fgetxattr.c: Likewise.
21880 * misc/flistxattr.c: Likewise.
21881 * misc/fremovexattr.c: Likewise.
21882 * misc/fsetxattr.c: Likewise.
21883 * misc/fsync.c: Likewise.
21884 * misc/ftruncate.c: Likewise.
21885 * misc/futimes.c: Likewise.
21886 * misc/futimesat.c: Likewise.
21887 * misc/getdomain.c: Likewise.
21888 * misc/getdtsz.c: Likewise.
21889 * misc/gethostid.c: Likewise.
21890 * misc/gethostname.c: Likewise.
21891 * misc/getloadavg.c: Likewise.
21892 * misc/getpagesize.c: Likewise.
21893 * misc/getsysstats.c: Likewise.
21894 * misc/getxattr.c: Likewise.
21895 * misc/gtty.c: Likewise.
21896 * misc/ioctl.c: Likewise.
21897 * misc/lgetxattr.c: Likewise.
21898 * misc/listxattr.c: Likewise.
21899 * misc/llistxattr.c: Likewise.
21900 * misc/lremovexattr.c: Likewise.
21901 * misc/lsetxattr.c: Likewise.
21902 * misc/lutimes.c: Likewise.
21903 * misc/madvise.c: Likewise.
21904 * misc/mincore.c: Likewise.
21905 * misc/mlock.c: Likewise.
21906 * misc/mlockall.c: Likewise.
21907 * misc/mmap.c: Likewise.
21908 * misc/mprotect.c: Likewise.
21909 * misc/msync.c: Likewise.
21910 * misc/munlock.c: Likewise.
21911 * misc/munlockall.c: Likewise.
21912 * misc/munmap.c: Likewise.
21913 * misc/preadv.c: Likewise.
21914 * misc/preadv64.c: Likewise.
21915 * misc/ptrace.c: Likewise.
21916 * misc/pwritev.c: Likewise.
21917 * misc/pwritev64.c: Likewise.
21918 * misc/readv.c: Likewise.
21919 * misc/reboot.c: Likewise.
21920 * misc/remap_file_pages.c: Likewise.
21921 * misc/removexattr.c: Likewise.
21922 * misc/revoke.c: Likewise.
21923 * misc/select.c: Likewise.
21924 * misc/setdomain.c: Likewise.
21925 * misc/setegid.c: Likewise.
21926 * misc/seteuid.c: Likewise.
21927 * misc/sethostid.c: Likewise.
21928 * misc/sethostname.c: Likewise.
21929 * misc/setregid.c: Likewise.
21930 * misc/setreuid.c: Likewise.
21931 * misc/setxattr.c: Likewise.
21932 * misc/sstk.c: Likewise.
21933 * misc/stty.c: Likewise.
21934 * misc/swapoff.c: Likewise.
21935 * misc/swapon.c: Likewise.
21936 * misc/sync.c: Likewise.
21937 * misc/syncfs.c: Likewise.
21938 * misc/syscall.c: Likewise.
21939 * misc/truncate.c: Likewise.
21940 * misc/ualarm.c: Likewise.
21941 * misc/usleep.c: Likewise.
21942 * misc/ustat.c: Likewise.
21943 * misc/utimes.c: Likewise.
21944 * misc/vhangup.c: Likewise.
21945 * misc/writev.c: Likewise.
21946 * posix/_exit.c: Likewise.
21947 * posix/alarm.c: Likewise.
21948 * posix/execve.c: Likewise.
21949 * posix/fexecve.c: Likewise.
21950 * posix/fork.c: Likewise.
21951 * posix/fpathconf.c: Likewise.
21952 * posix/getaddrinfo.c: Likewise.
21953 * posix/getegid.c: Likewise.
21954 * posix/geteuid.c: Likewise.
21955 * posix/getgid.c: Likewise.
21956 * posix/getgroups.c: Likewise.
21957 * posix/getlogin.c: Likewise.
21958 * posix/getlogin_r.c: Likewise.
21959 * posix/getpgid.c: Likewise.
21960 * posix/getpid.c: Likewise.
21961 * posix/getppid.c: Likewise.
21962 * posix/getresgid.c: Likewise.
21963 * posix/getresuid.c: Likewise.
21964 * posix/getsid.c: Likewise.
21965 * posix/getuid.c: Likewise.
21966 * posix/glob64.c: Likewise.
21967 * posix/nanosleep.c: Likewise.
21968 * posix/pathconf.c: Likewise.
21969 * posix/pause.c: Likewise.
21970 * posix/posix_madvise.c: Likewise.
21971 * posix/pread.c: Likewise.
21972 * posix/pread64.c: Likewise.
21973 * posix/pwrite.c: Likewise.
21974 * posix/pwrite64.c: Likewise.
21975 * posix/sched_getaffinity.c: Likewise.
21976 * posix/sched_getp.c: Likewise.
21977 * posix/sched_gets.c: Likewise.
21978 * posix/sched_primax.c: Likewise.
21979 * posix/sched_primin.c: Likewise.
21980 * posix/sched_rr_gi.c: Likewise.
21981 * posix/sched_setaffinity.c: Likewise.
21982 * posix/sched_setp.c: Likewise.
21983 * posix/sched_sets.c: Likewise.
21984 * posix/sched_yield.c: Likewise.
21985 * posix/setgid.c: Likewise.
21986 * posix/setlogin.c: Likewise.
21987 * posix/setpgid.c: Likewise.
21988 * posix/setresgid.c: Likewise.
21989 * posix/setresuid.c: Likewise.
21990 * posix/setsid.c: Likewise.
21991 * posix/setuid.c: Likewise.
21992 * posix/sleep.c: Likewise.
21993 * posix/spawni.c: Likewise.
21994 * posix/sysconf.c: Likewise.
21995 * posix/times.c: Likewise.
21996 * posix/wait.c: Likewise.
21997 * posix/wait3.c: Likewise.
21998 * posix/wait4.c: Likewise.
21999 * posix/waitpid.c: Likewise.
22000 * resolv/gai_sigqueue.c: Likewise.
22001 * resource/getpriority.c: Likewise.
22002 * resource/getrlimit.c: Likewise.
22003 * resource/getrusage.c: Likewise.
22004 * resource/nice.c: Likewise.
22005 * resource/setpriority.c: Likewise.
22006 * resource/setrlimit.c: Likewise.
22007 * resource/ulimit.c: Likewise.
22008 * rt/aio_cancel.c: Likewise.
22009 * rt/aio_fsync.c: Likewise.
22010 * rt/aio_read.c: Likewise.
22011 * rt/aio_sigqueue.c: Likewise.
22012 * rt/aio_suspend.c: Likewise.
22013 * rt/aio_write.c: Likewise.
22014 * rt/clock_getres.c: Likewise.
22015 * rt/clock_gettime.c: Likewise.
22016 * rt/clock_nanosleep.c: Likewise.
22017 * rt/clock_settime.c: Likewise.
22018 * rt/lio_listio.c: Likewise.
22019 * rt/mq_close.c: Likewise.
22020 * rt/mq_getattr.c: Likewise.
22021 * rt/mq_notify.c: Likewise.
22022 * rt/mq_open.c: Likewise.
22023 * rt/mq_receive.c: Likewise.
22024 * rt/mq_send.c: Likewise.
22025 * rt/mq_setattr.c: Likewise.
22026 * rt/mq_timedreceive.c: Likewise.
22027 * rt/mq_timedsend.c: Likewise.
22028 * rt/mq_unlink.c: Likewise.
22029 * rt/shm_open.c: Likewise.
22030 * rt/shm_unlink.c: Likewise.
22031 * rt/timer_create.c: Likewise.
22032 * rt/timer_delete.c: Likewise.
22033 * rt/timer_getoverr.c: Likewise.
22034 * rt/timer_gettime.c: Likewise.
22035 * rt/timer_settime.c: Likewise.
22036 * setjmp/__longjmp.c: Likewise.
22037 * setjmp/setjmp.c: Likewise.
22038 * signal/kill.c: Likewise.
22039 * signal/killpg.c: Likewise.
22040 * signal/raise.c: Likewise.
22041 * signal/sigaction.c: Likewise.
22042 * signal/sigaltstack.c: Likewise.
22043 * signal/sigblock.c: Likewise.
22044 * signal/sigignore.c: Likewise.
22045 * signal/sigintr.c: Likewise.
22046 * signal/signal.c: Likewise.
22047 * signal/sigpause.c: Likewise.
22048 * signal/sigpending.c: Likewise.
22049 * signal/sigqueue.c: Likewise.
22050 * signal/sigreturn.c: Likewise.
22051 * signal/sigset.c: Likewise.
22052 * signal/sigsetmask.c: Likewise.
22053 * signal/sigstack.c: Likewise.
22054 * signal/sigsuspend.c: Likewise.
22055 * signal/sigtimedwait.c: Likewise.
22056 * signal/sigvec.c: Likewise.
22057 * signal/sigwait.c: Likewise.
22058 * signal/sigwaitinfo.c: Likewise.
22059 * signal/sysv_signal.c: Likewise.
22060 * socket/accept.c: Likewise.
22061 * socket/accept4.c: Likewise.
22062 * socket/bind.c: Likewise.
22063 * socket/connect.c: Likewise.
22064 * socket/getpeername.c: Likewise.
22065 * socket/getsockname.c: Likewise.
22066 * socket/getsockopt.c: Likewise.
22067 * socket/isfdtype.c: Likewise.
22068 * socket/listen.c: Likewise.
22069 * socket/recv.c: Likewise.
22070 * socket/recvfrom.c: Likewise.
22071 * socket/recvmsg.c: Likewise.
22072 * socket/send.c: Likewise.
22073 * socket/sendmsg.c: Likewise.
22074 * socket/sendto.c: Likewise.
22075 * socket/setsockopt.c: Likewise.
22076 * socket/shutdown.c: Likewise.
22077 * socket/sockatmark.c: Likewise.
22078 * socket/socket.c: Likewise.
22079 * socket/socketpair.c: Likewise.
22080 * stdio-common/ctermid.c: Likewise.
22081 * stdio-common/cuserid.c: Likewise.
22082 * stdio-common/remove.c: Likewise.
22083 * stdio-common/rename.c: Likewise.
22084 * stdio-common/renameat.c: Likewise.
22085 * stdio-common/tempname.c: Likewise.
22086 * stdlib/getcontext.c: Likewise.
22087 * stdlib/makecontext.c: Likewise.
22088 * stdlib/setcontext.c: Likewise.
22089 * stdlib/swapcontext.c: Likewise.
22090 * stdlib/system.c: Likewise.
22091 * streams/fattach.c: Likewise.
22092 * streams/fdetach.c: Likewise.
22093 * streams/getmsg.c: Likewise.
22094 * streams/getpmsg.c: Likewise.
22095 * streams/putmsg.c: Likewise.
22096 * streams/putpmsg.c: Likewise.
22097 * sysdeps/unix/bsd/getpt.c: Likewise.
22098 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
22099 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
22100 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
22101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
22102 Likewise.
22103 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
22104 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
22105 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
22106 * sysvipc/msgctl.c: Likewise.
22107 * sysvipc/msgget.c: Likewise.
22108 * sysvipc/msgrcv.c: Likewise.
22109 * sysvipc/msgsnd.c: Likewise.
22110 * sysvipc/semctl.c: Likewise.
22111 * sysvipc/semget.c: Likewise.
22112 * sysvipc/semop.c: Likewise.
22113 * sysvipc/semtimedop.c: Likewise.
22114 * sysvipc/shmat.c: Likewise.
22115 * sysvipc/shmctl.c: Likewise.
22116 * sysvipc/shmdt.c: Likewise.
22117 * sysvipc/shmget.c: Likewise.
22118 * termios/tcdrain.c: Likewise.
22119 * termios/tcflow.c: Likewise.
22120 * termios/tcflush.c: Likewise.
22121 * termios/tcgetattr.c: Likewise.
22122 * termios/tcgetpgrp.c: Likewise.
22123 * termios/tcsendbrk.c: Likewise.
22124 * termios/tcsetattr.c: Likewise.
22125 * termios/tcsetpgrp.c: Likewise.
22126 * time/adjtime.c: Likewise.
22127 * time/clock.c: Likewise.
22128 * time/getitimer.c: Likewise.
22129 * time/gettimeofday.c: Likewise.
22130 * time/setitimer.c: Likewise.
22131 * time/settimeofday.c: Likewise.
22132 * time/stime.c: Likewise.
22133 * time/time.c: Likewise.
22134
221352012-11-04 Pino Toscano <toscano.pino@tiscali.it>
22136
22137 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
22138 /usr/old/bin.
22139
22140 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
22141 instead of spaces.
22142 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
22143
221442012-11-03 Joseph Myers <joseph@codesourcery.com>
22145
22146 [BZ #14796]
22147 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
22148 FE_TONEAREST before applying Dekker multiplication and Knuth
22149 addition. Clear inexact exceptions and check for exact zero
22150 results afterwards.
22151 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22152 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22153 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22154 * math/libm-test.inc (fma_test): Add more tests.
22155 (fma_test_towardzero): Likewise.
22156 (fma_test_downward): Likewise.
22157 (fma_test_upward): Likewise.
22158 * sysdeps/generic/math_private.h (default_libc_fesetround): New
22159 function.
22160 (libc_fesetround): New macro.
22161 (libc_fesetroundf): Likewise.
22162 (libc_fesetroundl): Likewise.
22163 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
22164 function.
22165 (libc_fesetround_387): Likewise.
22166 (libc_fesetroundf): New macro.
22167 (libc_fesetround): Likewise.
22168 (libc_fesetroundl): Likewise.
22169 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
22170 function.
22171 (libc_fesetroundf): New macro.
22172 (libc_fesetround): Likewise.
22173 (libc_fesetroundl): Likewise.
22174 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
22175 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
22176 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
22177 libm_hidden_ver.
22178 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
22179 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
22180 libm_hidden_def.
22181 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
22182 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
22183 libm_hidden_ver.
22184 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
22185 libm_hidden_def.
22186
22187 [BZ #3439]
22188 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
22189 integer constant usable in #if and use that to give value to enum
22190 constant.
22191 (FE_DIVBYZERO): Likewise.
22192 (FE_UNDERFLOW): Likewise.
22193 (FE_OVERFLOW): Likewise.
22194 (FE_INVALID): Likewise.
22195 (FE_INVALID_SNAN): Likewise.
22196 (FE_INVALID_ISI): Likewise.
22197 (FE_INVALID_IDI): Likewise.
22198 (FE_INVALID_ZDZ): Likewise.
22199 (FE_INVALID_IMZ): Likewise.
22200 (FE_INVALID_COMPARE): Likewise.
22201 (FE_INVALID_SOFTWARE): Likewise.
22202 (FE_INVALID_SQRT): Likewise.
22203 (FE_INVALID_INTEGER_CONVERSION): Likewise.
22204 (FE_TONEAREST): Likewise.
22205 (FE_TOWARDZERO): Likewise.
22206 (FE_UPWARD): Likewise.
22207 (FE_DOWNWARD): Likewise.
22208 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
22209 (FE_DIVBYZERO): Likewise.
22210 (FE_OVERFLOW): Likewise.
22211 (FE_UNDERFLOW): Likewise.
22212 (FE_INEXACT): Likewise.
22213 (FE_TONEAREST): Likewise.
22214 (FE_DOWNWARD): Likewise.
22215 (FE_UPWARD): Likewise.
22216 (FE_TOWARDZERO): Likewise.
22217 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
22218 (FE_UNDERFLOW): Likewise.
22219 (FE_OVERFLOW): Likewise.
22220 (FE_DIVBYZERO): Likewise.
22221 (FE_INVALID): Likewise.
22222 (FE_TONEAREST): Likewise.
22223 (FE_TOWARDZERO): Likewise.
22224 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
22225 (FE_OVERFLOW): Likewise.
22226 (FE_UNDERFLOW): Likewise.
22227 (FE_DIVBYZERO): Likewise.
22228 (FE_INEXACT): Likewise.
22229 (FE_TONEAREST): Likewise.
22230 (FE_TOWARDZERO): Likewise.
22231 (FE_UPWARD): Likewise.
22232 (FE_DOWNWARD): Likewise.
22233 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
22234 (FE_DIVBYZERO): Likewise.
22235 (FE_OVERFLOW): Likewise.
22236 (FE_UNDERFLOW): Likewise.
22237 (FE_INEXACT): Likewise.
22238 (FE_TONEAREST): Likewise.
22239 (FE_DOWNWARD): Likewise.
22240 (FE_UPWARD): Likewise.
22241 (FE_TOWARDZERO): Likewise.
22242
222432012-11-02 Chris Metcalf <cmetcalf@tilera.com>
22244
22245 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
22246
222472012-11-03 Andreas Schwab <schwab@linux-m68k.org>
22248
22249 * scripts/cross-test-ssh.sh (command): Use newlines to separate
22250 commands. Quote $PWD.
22251 (blacklist_exports): Don't use remove_newlines. Replace "declare
22252 -x" by "export".
22253 (remove_newlines): Remove.
22254
222552012-11-02 H.J. Lu <hongjiu.lu@intel.com>
22256
22257 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
22258 * stdlib/stdlib.h (atof): Moved to ...
22259 * include/bits/stdlib-float.h: Here. New file.
22260 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
22261 * stdlib/bits/stdlib-float.h: New file.
22262 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
22263 -mno-sse -mno-mmx.
22264 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
22265 <xmmintrin.h>.
22266
222672012-11-02 Joseph Myers <joseph@codesourcery.com>
22268
22269 * conform/conformtest.pl (@headers): Add fenv.h.
22270 * conform/data/fenv.h-data: New file.
22271 * include/fenv.h [_ISOMAC]: Disable all contents of file except
22272 include of <math/fenv.h>.
22273
22274 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
22275 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
22276 && !UNIX98]. Enables tests for XOPEN2K8.
22277 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
22278 POSIX2008]: Likewise.
22279
22280 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
22281 (struct rusage): Do not expect type or its members.
22282
22283 [BZ #3439]
22284 * math/math.h (FP_NAN): Define macro to integer constant usable in
22285 #if and use that to give value to enum constant.
22286 (FP_INFINITE): Likewise.
22287 (FP_ZERO): Likewise.
22288 (FP_SUBNORMAL): Likewise.
22289 (FP_NORMAL): Likewise.
22290
222912012-11-02 Andreas Schwab <schwab@linux-m68k.org>
22292
22293 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
22294 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
22295 arguments.
22296
222972012-11-02 Roland McGrath <roland@hack.frob.com>
22298
22299 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
22300 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
22301 autoconf-time if not.
22302 * configure.in: Remove AC_PREREQ.
22303
223042012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22305
22306 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
22307 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
22308 of the internal implementation.
22309
223102012-11-02 Joseph Myers <joseph@codesourcery.com>
22311
22312 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
22313 except include of <misc/sys/syslog.h>.
22314
223152012-11-01 Andreas Schwab <schwab@linux-m68k.org>
22316
22317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
22318 function returns with a NULL context exit with zero.
22319
223202012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22321
22322 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
22323
223242012-11-01 H.J. Lu <hongjiu.lu@intel.com>
22325
22326 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
22327 (run_program_cmd): This.
22328 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
22329 (tst_langinfo): New variable. Use it.
22330
223312012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
22332
22333 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
22334 floating point opcodes.
22335
223362012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22337
22338 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
22339 variable.
22340
22341 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
22342
22343 * sysdeps/mach/hurd/powerpc: Remove directory.
22344 * sysdeps/mach/powerpc: Likewise.
22345
223462012-11-01 Andreas Schwab <schwab@linux-m68k.org>
22347
22348 * scripts/check-local-headers.sh: Ignore c++ headers.
22349
223502012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22351
22352 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
22353 __libc_cleanup_region_start argument.
22354
223552012-11-01 Joseph Myers <joseph@codesourcery.com>
22356
22357 [BZ #14784]
22358 [BZ #14785]
22359 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
22360 x * y using scaling, not as x * y + z.
22361 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22362 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22363 * math/libm-test.inc (fma_test): Add more tests.
22364 (fma_test_towardzero): Likewise.
22365 (fma_test_downward): Likewise.
22366 (fma_test_upward): Likewise.
22367
223682012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22369
22370 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
22371
223722012-10-31 Joseph Myers <joseph@codesourcery.com>
22373
22374 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
22375 New variable.
22376
223772012-10-31 Thomas Schwinge <thomas@codesourcery.com>
22378
22379 * rt/tst-shm.c (worker): Correct checking for mmap failure.
22380
223812012-10-31 Andreas Schwab <schwab@linux-m68k.org>
22382
22383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22384 Fix sort order.
22385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22386 Likewise.
22387
223882012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22389
22390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22391 Fix the order of the list for glibc 2.17.
22392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22393 Likewise.
22394
223952012-10-31 Andreas Schwab <schwab@linux-m68k.org>
22396
22397 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22398
223992012-10-31 Joseph Myers <joseph@codesourcery.com>
22400
22401 [BZ #14610]
22402 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
22403 for low part of x being zero before using __atanl (y).
22404 * math/libm-test.inc (atan2_test): Add another test.
22405
22406 * manual/install.texi (Configuring and compiling): Document
22407 general use of test-wrapper and test-wrapper-env.
22408 * INSTALL: Regenerated.
22409
22410 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
22411 (__fma): Do not extract and scale down low bits on after-rounding
22412 systems when result rounded to normal precision would have normal
22413 exponent.
22414 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
22415 (__fmal): Do not extract and scale down low bits on after-rounding
22416 systems when result rounded to normal precision would have normal
22417 exponent.
22418 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
22419 (__fmal): Do not extract and scale down low bits on after-rounding
22420 systems when result rounded to normal precision would have normal
22421 exponent.
22422 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
22423 macro.
22424 (fma_test): Add more tests.
22425 (fma_test_towardzero): Likewise.
22426 (fma_test_downward): Likewise.
22427 (fma_test_upward): Likewise.
22428
224292012-10-30 H.J. Lu <hongjiu.lu@intel.com>
22430
22431 * sysdeps/i386/tininess.h: Renamed to ...
22432 * sysdeps/x86/tininess.h: This.
22433 * sysdeps/x86_64/tininess.h: Removed.
22434
224352012-10-30 Joseph Myers <joseph@codesourcery.com>
22436
22437 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
22438 input. Use $(build-program-cmd).
22439 ($(objpfx)tst-array1-static.out): Likewise.
22440 ($(objpfx)tst-array2.out): Likewise.
22441 ($(objpfx)tst-array3.out): Likewise.
22442 ($(objpfx)tst-array4.out): Likewise.
22443 ($(objpfx)tst-array5.out): Likewise.
22444 ($(objpfx)tst-array5-static.out): Likewise.
22445
224462012-10-30 Chris Metcalf <cmetcalf@tilera.com>
22447
22448 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
22449 if defined.
22450
22451 * nss/nsswitch.h (nss_interface_function): Provide new
22452 macro for use with NSS functions.
22453 * grp/initgroups.c: Use new macro.
22454 * nss/getXXbyYY.c: Likewise.
22455 * nss/getXXbyYY_r.c: Likewise.
22456 * nss/getXXent.c: Likewise.
22457 * nss/getXXent_r.c: Likewise.
22458 * sysdeps/posix/getaddrinfo.c: Likewise.
22459
224602012-10-30 Andreas Jaeger <aj@suse.de>
22461
22462 * po/ru.po: Update Russion translation from translation project.
22463
224642012-10-30 Joseph Myers <joseph@codesourcery.com>
22465
22466 [BZ #14152]
22467 [BZ #14783]
22468 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
22469 result and shift together with sticky bit instead of replicating
22470 round-to-nearest rounding.
22471 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22472 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22473 * math/libm-test.inc (fma_test): Add more tests. Do not permit
22474 missing underflow exceptions.
22475 (fma_test_towardzero): Add more tests.
22476 (fma_test_downward): Likewise.
22477 (fma_test_upward): Likewise.
22478
22479 [BZ #14047]
22480 * sysdeps/generic/tininess.h: New file.
22481 * sysdeps/i386/tininess.h: Likewise.
22482 * sysdeps/sh/tininess.h: Likewise.
22483 * sysdeps/x86_64/tininess.h: Likewise.
22484 * stdlib/tst-strtod-underflow.c: Likewise.
22485 * stdlib/tst-tininess.c: Likewise.
22486 * stdlib/strtod_l.c: Include <tininess.h>.
22487 (round_and_return): Do not set errno for exact underflow cases.
22488 Force an underflow exception when setting errno for underflow.
22489 Determine underflow based on rounding to normal precision if
22490 TININESS_AFTER_ROUNDING.
22491 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
22492 ERANGE for exact underflow cases.
22493 * stdlib/Makefile (tests): Add tst-tininess and
22494 tst-strtod-underflow.
22495 ($(objpfx)tst-tininess): Use $(link-libm).
22496 ($(objpfx)tst-strtod-underflow): Likewise.
22497
224982012-10-30 Andreas Jaeger <aj@suse.de>
22499
22500 [BZ#14767]
22501 * elf/Makefile (tests): Remove conditional for have-initfini-array
22502 since this is now always required and the variable does not exist
22503 anymore.
22504 (tests-static): Likewise.
22505 (modules-names): Likewise.
22506
22507 * po/eo.po: Add Esperanto translation from translation project.
22508
22509 * elf/tst-array1.c (fini_array): Make writeable so that it can be
22510 merged with constructor/destructor.
22511 (init_array): Likewise.
22512 * elf/tst-array2dep.c (fini_array): Likewise.
22513 (init_array): Likewise.
22514
225152012-10-29 Mike Frysinger <vapier@gentoo.org>
22516
22517 * manual/message.texi: Delete @cartouche tags.
22518
225192012-10-29 Pino Toscano <toscano.pino@tiscali.it>
22520
22521 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
22522 EOPNOTSUPP.
22523 * sysdeps/mach/hurd/fsync.c: Likewise.
22524
22525 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
22526 [_POSIX_REALTIME_SIGNALS]: Change condition to
22527 [_POSIX_REALTIME_SIGNALS > 0].
22528
225292012-10-27 Andreas Jaeger <aj@suse.de>
22530
22531 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
22532 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
22533 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
22534 [__WORDSIZE != 64]: Likewise.
22535
225362012-10-26 H.J. Lu <hongjiu.lu@intel.com>
22537
22538 * iconvdata/tst-table.sh: Remove ${SHELL}.
22539 * iconvdata/tst-tables.sh: Likewise.
22540
225412012-10-25 David S. Miller <davem@davemloft.net>
22542
22543 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22544 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
22545 of strtoull.
22546
22547 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
22548 ifunc-impl-list.c
22549 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22550 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
22551 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
22552 file.
22553
225542012-10-25 Roland McGrath <roland@hack.frob.com>
22555
22556 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22557 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
22558 __getdirentries.
22559
225602012-10-25 Joseph Myers <joseph@codesourcery.com>
22561 Jim Blandy <jimb@codesourcery.com>
22562
22563 * scripts/cross-test-ssh.sh: New file.
22564 * manual/install.texi (Configuring and compiling): Document use of
22565 cross-test-ssh.sh.
22566 * INSTALL: Regenerated.
22567
225682012-10-25 Pino Toscano <toscano.pino@tiscali.it>
22569
22570 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
22571 EOPNOTSUPP.
22572
225732012-10-25 Joseph Myers <joseph@codesourcery.com>
22574
22575 * Makeconfig (run-program-prefix): Fix comment.
22576
225772012-10-24 Joseph Myers <joseph@codesourcery.com>
22578 Jim Blandy <jimb@codesourcery.com>
22579
22580 * Makeconfig (test-wrapper): New variable,
22581 (test-wrapper-env): Likewise.
22582 [$(cross-compiling) = yes && $(test-wrapper) != ""]
22583 (run-built-tests): Define to yes.
22584 (run-program-prefix): Use $(test-wrapper).
22585 (built-program-cmd): Likewise.
22586 * Rules (make-test-out): Use $(test-wrapper-env) and
22587 $(host-built-program-cmd).
22588 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
22589 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
22590 tst-pathopt.sh.
22591 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
22592 $(test-wrapper-env) to tst-rtld-load-self.sh.
22593 ($(objpfx)order2.out): Use $(test-wrapper).
22594 ($(objpfx)tst-initorder.out): Likewise.
22595 ($(objpfx)tst-initorder2.out): Likewise.
22596 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
22597 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
22598 (test_wrapper_env): New variable. Use it to run ld.so.
22599 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
22600 Use it to run ld.so.
22601 (test_wrapper_env): Likewise.
22602 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
22603 $(test-wrapper) to run-iconv-test.sh.
22604 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
22605 (ICONV): Use $test_wrapper.
22606 * posix/Makefile ($(objpfx)globtest.out): Pass
22607 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
22608 globtest.sh, not $(run-program-prefix).
22609 * posix/globtest.sh (run_via_rtld_prefix): New variable.
22610 (test_wrapper): Likewise.
22611 (test_wrapper_env): Likewise. Use it to run globtest with HOME
22612 set together with run_via_rtld_prefix.
22613 (run_program_prefix): Define in terms of test_wrapper and
22614 run_via_rtld_prefix.
22615
226162012-10-24 Roland McGrath <roland@hack.frob.com>
22617
22618 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
22619 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
22620 Targets removed.
22621
22622 [BZ #14743]
22623 * include/time.h: Remove librt_hidden_proto (clock_gettime).
22624 Declare __clock_getres, __clock_gettime, __clock_settime,
22625 __clock_nanosleep, and __clock_getcpuclockid.
22626 * rt/clock_gettime.c: Define __clock_gettime as an alias.
22627 Remove librt_hidden_def (clock_gettime).
22628 * sysdeps/unix/clock_gettime.c: Likewise.
22629 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
22630 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
22631 * rt/clock_getres.c: Define __clock_getres as an alias.
22632 * sysdeps/posix/clock_getres.c: Likewise.
22633 * rt/clock_settime.c: Define __clock_settime as an alias.
22634 * sysdeps/unix/clock_settime.c: Likewise.
22635 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
22636 * sysdeps/unix/clock_nanosleep.c: Likewise.
22637 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
22638 * rt/clock-compat.c: New file.
22639 * rt/Makefile (librt-routines): Add clock-compat and move
22640 $(clock-routines) to ...
22641 (routines): ... here, new variable.
22642 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
22643 Don't add get_clockfreq here.
22644 * rt/Versions (libc: GLIBC_2.17): New version set.
22645 Add clock_* symbols here.
22646 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
22647 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
22648 (GLIBC_2.17): Add clock_* symbols.
22649 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
22650 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
22651 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22653 Likewise.
22654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22655 Likewise.
22656 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22657 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
22658 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
22659 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
22660 * NEWS: Mention the move.
22661
22662 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
22663 Use __open, __read, __close rather than their public counterparts.
22664 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22665 (__get_clockfreq_via_cpuinfo): Likewise.
22666 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
22667 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
22668
22669 * config.h.in (HAVE_IFUNC): New #undef.
22670 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
22671 was successful.
22672 * configure: Regenerated.
22673
226742012-10-24 Mike Frysinger <vapier@gentoo.org>
22675
22676 * configure.in: Move READELF check to start of file.
22677 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
22678 libc_cv_asm_gnu_indirect_function in the process.
22679 * configure: Regenerated.
22680
226812012-10-24 Mike Frysinger <vapier@gentoo.org>
22682
22683 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
22684 send the output to /dev/null.
22685 (libc_cv_cc_with_libunwind): Likewise.
22686 (libc_cv_as_noexecstack): Likewise.
22687 * configure: Regenerate.
22688
226892012-10-24 Joseph Myers <joseph@codesourcery.com>
22690
22691 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
22692
22693 * posix/globtest.sh (TMPDIR): Do not set.
22694 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
22695 (testout): Likewise.
22696
226972012-10-24 Andreas Jaeger <aj@suse.de>
22698
22699 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
22700 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
22701 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
22702 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
22703 posix_fadvise64, posix_fallocate64.
22704
22705 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
22706 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
22707 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
22708 Likewise.
22709 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
22710 Likewise.
22711 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
22712
22713 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
22714 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
22715 <bits/fcntl-linux.h>.
22716 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
22717
22718 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
22719 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
22720 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
22721 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
22722 [__WORDSIZE != 64]: Likewise.
22723
227242012-10-23 Joseph Myers <joseph@codesourcery.com>
22725
22726 * Makeconfig (run-built-tests): New variable.
22727 * Rules [$(cross-compiling) = yes]: Change condition to
22728 [$(run-built-tests) = no].
22729 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
22730 to [$(run-built-tests) = yes].
22731 * elf/Makefile [$(cross-compiling) = no]: Likewise
22732 * grp/Makefile [$(cross-compiling) = no]: Likewise.
22733 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
22734 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
22735 * intl/Makefile [$(cross-compiling) = no]: Likewise.
22736 * io/Makefile [$(cross-compiling) = no]: Likewise.
22737 * libio/Makefile [$(cross-compiling) = no]: Likewise.
22738 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
22739 * misc/Makefile [$(cross-compiling) = no]: Likewise.
22740 * posix/Makefile [$(cross-compiling) = no]: Likewise.
22741 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
22742 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
22743 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
22744 * string/Makefile [$(cross-compiling) = no]: Likewise.
22745
22746 * posix/Makefile ($(objpfx)globtest.out): Pass
22747 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
22748 $(rtld-installed-name).
22749 * posix/globtest.sh (elf_objpfx): Remove variable.
22750 (rtld_installed_name): Likewise.
22751 (library_path): Likewise.
22752 (run_program_prefix): New variable. Use for running globtest
22753 binary.
22754
227552012-10-23 Jim Blandy <jimb@codesourcery.com>
22756 Joseph Myers <joseph@codesourcery.com>
22757
22758 * Makeconfig (host-built-program-cmd): New variable.
22759 * elf/Makefile (tst-stackguard1-ARGS): Use
22760 $(host-built-program-cmd).
22761 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
22762 (tst-spawn-ARGS): Likewise.
22763 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
22764
227652012-10-23 Joseph Myers <joseph@codesourcery.com>
22766 Jim Blandy <jimb@codesourcery.com>
22767
22768 * Makeconfig (run-via-rtld-prefix): New variable.
22769 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
22770 (built-program-cmd): Likewise.
22771
227722012-10-22 Andreas Jaeger <aj@suse.de>
22773
22774 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
22775 __O_RSYNC if it exists, otherwise to O_SYNC.
22776
227772012-10-22 Jim Blandy <jimb@codesourcery.com>
22778 Joseph Myers <joseph@codesourcery.com>
22779
22780 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
22781 /dev/null.
22782 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
22783 from /dev/null
22784 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
22785 /dev/null.
22786
227872012-10-22 Andreas Jaeger <aj@suse.de>
22788
22789 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
22790 Define always.
22791 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
22792
22793 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22794 bits/fcntl-linux.h.
22795
22796 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
22797 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
22798
22799 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
22800 to __O_LARGEFILE.
22801 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
22802 to __O_LARGEFILE.
22803
228042012-10-21 Jim Blandy <jimb@codesourcery.com>
22805 Joseph Myers <joseph@codesourcery.com>
22806
22807 * config.make.in (NM): New variable.
22808
228092012-10-21 Andreas Jaeger <aj@suse.de>
22810
22811 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
22812 definitions and declarations that are provided by
22813 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
22814
228152012-10-20 H.J. Lu <hongjiu.lu@intel.com>
22816
22817 [BZ #14683]
22818 * elf/Makefile (tests-static): Add tst-leaks1-static.
22819 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
22820 ($(objpfx)tst-leaks1-static): New rule.
22821 ($(objpfx)tst-leaks1-static-mem): Likewise.
22822 (tst-leaks1-static-ENV): New macro.
22823 * elf/dl-open.c (dl_open_worker): Check the main application
22824 only if SHARED is defined.
22825 * elf/tst-leaks1-static.c: New file.
22826
228272012-10-20 Andreas Jaeger <aj@suse.de>
22828
22829 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
22830 generic values for Linux.
22831 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
22832 and declarations that are provided by <bits/fcntl-linux.h> and
22833 include <bits/fcntl-linux.h>.
22834 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22835 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22836
228372012-10-20 Roland McGrath <roland@hack.frob.com>
22838
22839 * io/fcntl.h: Move include of <bits/types.h> to the top and
22840 include it unconditionally.
22841
228422012-10-20 H.J. Lu <hongjiu.lu@intel.com>
22843
22844 * wcsmbs/Makefile (tests-ifunc): New variable.
22845 (tests): Add $(tests-ifunc).
22846 * wcsmbs/test-wcschr-ifunc.c: New file.
22847 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
22848 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
22849 * wcsmbs/test-wcslen-ifunc.c: Likewise.
22850 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
22851 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
22852
22853 * string/Makefile (tests-ifunc): New variable.
22854 (tests): Add $(tests-ifunc).
22855 * string/test-memccpy.c (TEST_NAME): New macro.
22856 * string/test-memchr.c (TEST_NAME): Likewise.
22857 * string/test-memcmp.c (TEST_NAME): Likewise.
22858 * string/test-memcpy.c (TEST_NAME): Likewise.
22859 * string/test-memmem.c (TEST_NAME): Likewise.
22860 * string/test-memmove.c (TEST_NAME): Likewise.
22861 * string/test-memset.c (TEST_NAME): Likewise.
22862 * string/test-rawmemchr.c (TEST_NAME): Likewise.
22863 * string/test-stpcpy.c (TEST_NAME): Likewise.
22864 * string/test-stpncpy.c (TEST_NAME): Likewise.
22865 * string/test-strcasecmp.c (TEST_NAME): Likewise.
22866 * string/test-strcasestr.c (TEST_NAME): Likewise.
22867 * string/test-strcat.c (TEST_NAME): Likewise.
22868 * string/test-strchr.c (TEST_NAME): Likewise.
22869 * string/test-strcmp.c(TEST_NAME): Likewise.
22870 * string/test-strcpy.c (TEST_NAME): Likewise.
22871 * string/test-strcspn.c (TEST_NAME): Likewise.
22872 * string/test-strlen.c (TEST_NAME): Likewise.
22873 * string/test-strncasecmp.c (TEST_NAME): Likewise.
22874 * string/test-strncmp.c (TEST_NAME): Likewise.
22875 * string/test-strncpy.c (TEST_NAME): Likewise.
22876 * string/test-strnlen.c (TEST_NAME): Likewise.
22877 * string/test-strpbrk.c (TEST_NAME): Likewise.
22878 * string/test-strrchr.c (TEST_NAME): Likewise.
22879 * string/test-strspn.c (TEST_NAME): Likewise.
22880 * string/test-strstr.c (TEST_NAME): Likewise.
22881 * string/test-bcopy-ifunc.c: New file.
22882 * string/test-bzero-ifunc.c: Likewise.
22883 * string/test-memccpy-ifunc.c: Likewise.
22884 * string/test-memchr-ifunc.c: Likewise.
22885 * string/test-memcmp-ifunc.c: Likewise.
22886 * string/test-memcpy-ifunc.c: Likewise.
22887 * string/test-memmem-ifunc.c: Likewise.
22888 * string/test-memmove-ifunc.c: Likewise.
22889 * string/test-mempcpy-ifunc.c: Likewise.
22890 * string/test-memset-ifunc.c: Likewise.
22891 * string/test-rawmemchr-ifunc.c: Likewise.
22892 * string/test-stpcpy-ifunc.c: Likewise.
22893 * string/test-stpncpy-ifunc.c: Likewise.
22894 * string/test-strcasecmp-ifunc.c: Likewise.
22895 * string/test-strcasestr-ifunc.c: Likewise.
22896 * string/test-strcat-ifunc.c: Likewise.
22897 * string/test-strchr-ifunc.c: Likewise.
22898 * string/test-strchrnul-ifunc.c: Likewise.
22899 * string/test-strcmp-ifunc.c: Likewise.
22900 * string/test-strcpy-ifunc.c: Likewise.
22901 * string/test-strcspn-ifunc.c: Likewise.
22902 * string/test-strlen-ifunc.c: Likewise.
22903 * string/test-strncasecmp-ifunc.c: Likewise.
22904 * string/test-strncat-ifunc.c: Likewise.
22905 * string/test-strncmp-ifunc.c: Likewise.
22906 * string/test-strncpy-ifunc.c: Likewise.
22907 * string/test-strnlen-ifunc.c: Likewise.
22908 * string/test-strpbrk-ifunc.c: Likewise.
22909 * string/test-strrchr-ifunc.c: Likewise.
22910 * string/test-strspn-ifunc.c: Likewise.
22911 * string/test-strstr-ifunc.c: Likewise.
22912
22913 * debug/Makefile (tests-ifunc): New variable.
22914 (tests): Add $(tests-ifunc).
22915 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
22916 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
22917 * debug/test-stpcpy_chk-ifunc.c: New file.
22918 * debug/test-strcpy_chk-ifunc.c: Likewise.
22919
229202012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22921
22922 [BZ #13601]
22923 * elf/dl-load.c (open_verify): Retry read if the entire ELF
22924 header is not read in.
22925
229262012-10-19 Joseph Myers <joseph@codesourcery.com>
22927
22928 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
22929 script to $(SHELL) as $<. Pass $(common-objpfx) to script
22930 directly. Pass built executable to script as
22931 $(built-program-cmd).
22932 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
22933 $testprogram without using LD_LIBRARY_PATH and $ldso.
22934
22935 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
22936 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
22937 $(rtld-installed-name).
22938 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
22939 (rtld_installed_name): Likewise.
22940 (library_path): Likewise.
22941 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
22942 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
22943 $(run-program-prefix) to tst-tables.sh.
22944 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
22945 it to run tst-table-from and tst-table-to.
22946 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
22947 Pass it to tst-table.sh.
22948 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
22949 $(run-program-prefix) to tst-gettext.sh.
22950 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
22951 tst-translit.sh.
22952 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
22953 tst-gettext2.sh.
22954 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
22955 to run tst-gettext.
22956 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
22957 to run tst-gettext2.
22958 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
22959 to run tst-translit.
22960 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
22961 $(run-program-prefix) to tst-mtrace.sh.
22962 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
22963 to run tst-mtrace.
22964 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
22965 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
22966 $(rtld-installed-name).
22967 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
22968 (rtld_installed_name): Likewise.
22969 (run_program_prefix): New variable. Use it to run wordexp-test.
22970
22971 * Makeconfig (ARCH): Remove all definitions.
22972 (machine): Likewise.
22973 [ARCH]: Remove conditional code.
22974 [!objdir]: Give error.
22975 [!objdir] (objpfx): Remove.
22976 [!objdir] (common-objpfx): Likewise.
22977 [!objdir] (common-objdir): Likewise.
22978 * configure.in (config_makefile): Remove. Hardcode Makefile in
22979 AC_CONFIG_FILES call.
22980 * configure: Regenerated.
22981
22982 [BZ #13888]
22983 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
22984 or TMPDIR.
22985 (testout): Likewise.
22986
22987 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
22988 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
22989 $(rtld-installed-name).
22990 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
22991 (rtld_installed_name): Likwise.
22992 (runit): Remove function.
22993 (run_getconf): New variable, Use it for running getconf binary.
22994
229952012-10-18 H.J. Lu <hongjiu.lu@intel.com>
22996
22997 [BZ #14716]
22998 * string/test-memmem.c (check_result): New function.
22999 (do_one_test): Use it.
23000 (check1): New function.
23001 (test_main): Use it.
23002
230032012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
23004
23005 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
23006
230072012-10-18 Joseph Myers <joseph@codesourcery.com>
23008
23009 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
23010 (_G_LSEEK64): Likewise.
23011 (_G_MMAP64): Likewise.
23012 (_G_FSTAT64): Likewise.
23013 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
23014 (_G_LSEEK64): Likewise.
23015 (_G_MMAP64): Likewise.
23016 (_G_FSTAT64): Likewise.
23017 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
23018 unconditional. Call __mmap64 directly.
23019 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
23020 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
23021 __lseek64 directly.
23022 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
23023 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
23024 __mmap64 directly.
23025 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
23026 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
23027 __lseek64 directly.
23028 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
23029 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
23030 __lseek64 directly.
23031 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
23032 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
23033 __lseek64 directly.
23034 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
23035 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
23036 __fxstat64 directly.
23037 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
23038 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
23039 unconditional.
23040 (freopen64) [!_G_OPEN64]: Remove conditional code.
23041 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
23042 unconditional.
23043 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
23044 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
23045 unconditional.
23046 (ftello64) [!_G_LSEEK64]: Remove conditional code.
23047 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
23048 unconditional.
23049 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
23050 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
23051 unconditional.
23052 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
23053 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
23054 unconditional.
23055 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
23056 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
23057 unconditional.
23058 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
23059 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
23060 unconditional.
23061 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
23062
230632012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23064
23065 [BZ #12140]
23066 * manual/memory.texi (Malloc Tunable Parameters): Add note
23067 about free list pointers overwriting some perturb bytes.
23068 Wording suggested by Roland McGrath.
23069
230702012-10-17 Joseph Myers <joseph@codesourcery.com>
23071
23072 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
23073 (lgamma_test): Likewise.
23074 (tgamma_test): Likewise.
23075
230762012-10-16 Florian Weimer <fweimer@redhat.com>
23077
23078 [BZ #14700]
23079 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
23080 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
23081
230822012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
23083
23084 * NEWS: Mention BZ #14716.
23085 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
23086 when removing AVAILABLE1_USES_J macro.
23087
230882012-10-12 H.J. Lu <hongjiu.lu@intel.com>
23089
23090 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
23091 (__bswap_64): __uint64_t for unsigned 64-bit int.
23092
230932012-10-12 Andreas Schwab <schwab@linux-m68k.org>
23094
23095 * include/string.h (memmem): Declare libc hidden alias.
23096 * string/memmem.c (memmem): Define libc hidden alias.
23097 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
23098 __read, __close instead of open, read, close.
23099
231002012-10-11 H.J. Lu <hongjiu.lu@intel.com>
23101
23102 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
23103 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
23104 global and hidden.
23105 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
23106 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
23107 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
23108 Likewise.
23109 (__rawmemchr_sse2): Likewise.
23110 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
23111 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
23112 (__strchr_sse2): Likewise.
23113 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
23114 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
23115 (__strcasecmp_sse2): Likewise.
23116 (__strncasecmp_sse2): Likewise.
23117 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
23118 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
23119 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
23120 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
23121 (__strrchr_sse2): Likewise.
23122 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
23123 ifunc-impl-list.c.
23124 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
23125 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
23126 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
23127 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
23128 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
23129 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
23130 * sysdeps/x86_64/multiarch/memset.S: Likewise.
23131 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23132 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
23133 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
23134 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
23135 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
23136 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
23137 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
23138 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
23139 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
23140 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
23141 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
23142 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
23143 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
23144 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
23145 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
23146 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
23147 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
23148 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
23149 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23150 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
23151 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
23152 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
23153 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
23154
23155 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
23156 global and hidden.
23157 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
23158 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
23159 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
23160 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
23161 Likewise.
23162 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
23163 Likewise.
23164 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
23165 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
23166 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
23167 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
23168 ifunc-impl-list.c.
23169 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
23170 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
23171 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
23172 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23173 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23174 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23175 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23176 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23177 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23178 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
23179 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
23180 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
23181 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
23182 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
23183 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
23184 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23185 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
23186 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
23187 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
23188 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
23189 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
23190 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
23191 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
23192 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
23193 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23194 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
23195 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
23196 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
23197 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
23198 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
23199 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
23200 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
23201 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
23202 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
23203 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
23204 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
23205 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
23206 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
23207 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
23208 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
23209 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
23210
23211 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
23212 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
23213 * include/ifunc-impl-list.h: New file.
23214 * misc/ifunc-impl-list.c: Likewise.
23215 * misc/Makefile (routines): Add ifunc-impl-list.
23216 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
23217 * string/test-string.h: Include <ifunc-impl-list.h>.
23218 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
23219 impl_array): New variables.
23220 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
23221 are defined.
23222 (test_init): Call __libc_ifunc_impl_list to initialize
23223 func_list if TEST_IFUNC and TEST_NAME are defined.
23224
23225 * string/Makefile (strop-tests): Add bcopy and bzero.
23226 * string/test-bcopy.c: New file.
23227 * string/test-bzero.c: Likewise.
23228 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
23229 defined.
23230 * string/test-memset.c: Support bzero test if TEST_BZERO is
23231 defined.
23232 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
23233 __libc_memmove.
23234 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
23235 __libc_memset.
23236 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
23237 of memset.
23238
232392012-10-10 Joseph Myers <joseph@codesourcery.com>
23240
23241 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
23242 * configure: Regenerated.
23243
23244 * Makeconfig (+link-static-before-libc): Don't include
23245 $(link-static-libc).
23246
23247 * libio/libio.h (_IO_pos_t): Remove.
23248
232492012-10-10 Alexandre Oliva <aoliva@redhat.com>
23250
23251 * NEWS: Add note about FIPS mode. Wording suggested by Roland
23252 McGrath.
23253
232542012-10-10 Alexandre Oliva <aoliva@redhat.com>
23255
23256 * crypt/crypt-entry.c: Include fips-private.h.
23257 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
23258 * crypt/md5c-test.c (main): Tolerate disabled MD5.
23259 * sysdeps/unix/sysv/linux/fips-private.h: New file.
23260 * sysdeps/generic/fips-private.h: New file, dummy fallback.
23261
232622012-10-10 Alexandre Oliva <aoliva@redhat.com>
23263
23264 * crypt/crypt-private.h: Include stdbool.h.
23265 (_ufc_setup_salt_r): Return bool.
23266 * crypt/crypt-entry.c: Include errno.h.
23267 (__crypt_r): Return NULL with EINVAL for bad salt.
23268 * crypt/crypt_util.c (bad_for_salt): New.
23269 (_ufc_setup_salt_r): Check that salt is long enough and within
23270 the specified alphabet.
23271 * crypt/badsalttest.c: New file.
23272 * crypt/Makefile (tests): Add it.
23273 ($(objpfx)badsalttest): New.
23274
232752012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
23276
23277 * NEWS: Add entry for BZ #14602.
23278
232792012-10-09 Joseph Myers <joseph@codesourcery.com>
23280
23281 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
23282 type-generic.
23283 * math/libm-test.inc: Update comment listing what functions and
23284 macros are tested.
23285 (isgreater_test): New function.
23286 (isgreaterequal_test): Likewise.
23287 (isless_test): Likewise.
23288 (islessequal_test): Likewise.
23289 (islessgreater_test): Likewise.
23290 (isunordered_test): Likewise.
23291 (main): Call the new functions.
23292
232932012-10-09 Roland McGrath <roland@hack.frob.com>
23294
23295 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
23296 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
23297 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
23298 * sysdeps/i386/configure: Regenerated.
23299 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
23300 * sysdeps/mach/configure: Regenerated.
23301 * sysdeps/mach/hurd/configure: Regenerated.
23302 * sysdeps/powerpc/configure: Regenerated.
23303 * sysdeps/powerpc/powerpc32/configure: Regenerated.
23304 * sysdeps/powerpc/powerpc64/configure: Regenerated.
23305 * sysdeps/s390/s390-32/configure: Regenerated.
23306 * sysdeps/s390/s390-64/configure: Regenerated.
23307 * sysdeps/sh/configure: Regenerated.
23308 * sysdeps/sparc/configure: Regenerated.
23309 * sysdeps/unix/sysv/linux/configure: Regenerated.
23310 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
23311 * sysdeps/x86_64/configure: Regenerated.
23312
23313 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
23314 defined. Don't check if MAP is NULL.
23315
233162012-10-09 Joseph Myers <joseph@codesourcery.com>
23317
23318 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
23319 (_G_stat64): Likewise.
23320 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
23321 (_G_stat64): Likewise.
23322 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
23323 instead of struct _G_stat64.
23324 * libio/fileops.c (mmap_remap_check): Likewise.
23325 (decide_maybe_mmap): Likewise.
23326 (_IO_new_file_seekoff): Likewise.
23327 (_IO_file_stat): Likewise.
23328 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
23329 _G_off64_t.
23330 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
23331 instead of struct _G_stat64.
23332 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23333
233342012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
23335
23336 [BZ #14602]
23337 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23338 Replace with ...
23339 (CHECK_EOL): New macro.
23340 (two_way_short_needle): Check beginning of haystack for EOL. Use
23341 CHECK_EOL.
23342 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23343 Replace with CHECK_EOL.
23344 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23345 Replace with CHECK_EOL.
23346
233472012-10-08 Joseph Myers <joseph@codesourcery.com>
23348
23349 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
23350 type-generic.
23351 * math/libm-test.inc: Update comment listing what functions and
23352 macros are tested.
23353 (finite_test): New function.
23354 (isinf_test): Likewise.
23355 (isnan_test): Likewise.
23356 (fpclassify_test): Test subnormal input.
23357 (isfinite_test): Likewise.
23358 (isnormal_test): Likewise.
23359 (main): Call the new functions.
23360
233612012-10-08 Jonathan Nieder <jrnieder@gmail.com>
23362
23363 [BZ #14660]
23364 * Makerules (%.dynsym): Force C locale when running
23365 $(OBJDUMP) --dynamic-syms.
23366
233672012-10-08 Andreas Schwab <schwab@linux-m68k.org>
23368
23369 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
23370 <stdint.h>.
23371
233722012-10-06 David S. Miller <davem@davemloft.net>
23373
23374 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
23375 upper 32-bits of the length value in %o2 since we use branch-on-register
23376 tests which consider the entire 64-bit register.
23377
233782012-10-06 H.J. Lu <hongjiu.lu@intel.com>
23379
23380 * string/test-strstr.c (check2): Add a test for page boundary.
23381
233822012-10-05 David S. Miller <davem@davemloft.net>
23383
23384 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
23385 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
23386 file.
23387 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23388 sysdep_routines.
23389 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23390 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
23391 and bzero when HWCAP_SPARC_CRYPTO is present.
23392
233932012-10-05 H.J. Lu <hongjiu.lu@intel.com>
23394
23395 [BZ #14602]
23396 * string/test-strstr.c (check2): New function.
23397 (test_main): Call check2.
23398
23399 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
23400 and bug-strchr1.
23401 * string/bug-strcasestr1.c (do_test): Moved to ...
23402 * string/test-strcasestr.c (check1): Here. New function.
23403 (do_one_test): Break out result checking code into ...
23404 (check_result): This. New function.
23405 (do_one_test): Call check_result.
23406 (test_main): Call check1.
23407 * string/bug-strchr1.c (do_test): Moved to ...
23408 * string/test-strchr.c (check1): Here. New function.
23409 (do_one_test): Break out result checking code into ...
23410 (check_result): This. New function.
23411 (do_one_test): Call check_result.
23412 (test_main): Call check1.
23413 * string/bug-strstr1.c (main): Moved to ...
23414 * string/test-strstr.c (check1): Here. New function.
23415 (do_one_test): Break out result checking code into ...
23416 (check_result): This. New function.
23417 (do_one_test): Call check_result.
23418 (test_main): Call check1.
23419 * string/bug-strcasestr1.c: Removed.
23420 * string/bug-strchr1.c: Likewise.
23421 * string/bug-strstr1.c: Likewise.
23422
23423 * elf/Makefile (dl-routines): Add hwcaps.
23424 * elf/dl-support.c (_dl_important_hwcaps): Removed.
23425 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
23426 (_dl_important_hwcaps): Moved to ...
23427 * elf/dl-hwcaps.c: Here. New file.
23428 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
23429
23430 [BZ #14557]
23431 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
23432 if IS_IN_rtld isn't defined.
23433
23434 * elf/dl-support.c (_dl_sysinfo_map): New.
23435 Include "get-dynamic-info.h" and "setup-vdso.h".
23436 (_dl_non_dynamic_init): Call setup_vdso.
23437 * elf/dynamic-link.h: Don't include <assert.h>.
23438 (elf_get_dynamic_info): Moved to ...
23439 * elf/get-dynamic-info.h: Here. New file.
23440 * elf/dynamic-link.h: Include "get-dynamic-info.h".
23441 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
23442 * elf/setup-vdso.h: Here. New file.
23443 * elf/rtld.c: Include "setup-vdso.h".
23444 (dl_main): Call setup_vdso.
23445
234462012-10-05 Joseph Myers <joseph@codesourcery.com>
23447
23448 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
23449 creal in comment listing functions tested. List finite, isinf,
23450 isnan, isless, islessequal, isgreater, isgreaterequal,
23451 islessgreater, isunordered, lgamma_r and pow10 as functions and
23452 macros not tested. Mention which functions not tested are aliases
23453 for other functions. Fix typo. Note that signs of NaNs are not
23454 tested.
23455
23456 * scripts/config.guess: Update from config.git.
23457 * scripts/config.sub: Likewise.
23458
234592012-10-04 Roland McGrath <roland@hack.frob.com>
23460
23461 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
23462 * misc/madvise.c (madvise): Renamed to __madvise.
23463 Make madvise a weak alias.
23464 * include/sys/mman.h: Declare __madvise.
23465 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
23466 * sysdeps/unix/syscalls.list
23467 (madvise): Make __madvise the strong name, and madvise a weak alias.
23468 * sysdeps/unix/sysv/linux/syscalls.list
23469 (madvise, mmap): Remove redundant entries.
23470 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
23471 * malloc/malloc.c (mtrim): Likewise.
23472 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
23473
234742012-10-03 Roland McGrath <roland@hack.frob.com>
23475
23476 * sysdeps/mach/hurd/dl-cache.c: File removed.
23477 * config.h.in (USE_LDCONFIG): New #undef.
23478 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
23479 * configure: Regenerated.
23480 * elf/Makefile (dl-routines): Add dl-cache only under
23481 [$(use-ldconfig) = yes].
23482 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
23483 cache on [USE_LDCONFIG].
23484 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
23485 [USE_LDCONFIG].
23486 * elf/rtld.c (dl_main): Likewise.
23487
234882012-10-03 Pino Toscano <toscano.pino@tiscali.it>
23489
23490 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
23491 _SC_LEVEL4_CACHE_LINESIZE.
23492
234932012-10-03 Roland McGrath <roland@hack.frob.com>
23494
23495 * sysdeps/unix/bsd/confstr.h: File removed.
23496
234972012-10-02 Alexandre Oliva <aoliva@redhat.com>
23498
23499 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
23500 sys/sdt-config.h.
23501
235022012-10-02 Roland McGrath <roland@hack.frob.com>
23503
23504 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
23505 Make 'mapoff' field ElfW(Off) rather than off_t.
23506
235072012-10-02 Dmitry V. Levin <ldv@altlinux.org>
23508
23509 * nscd/Makefile: Remove nscd-cflags and all its users.
23510 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
23511 (CFLAGS-nonlib): Add compiler flags for nscd modules.
23512
23513 [BZ #10631]
23514 * malloc.c (malloc_printerr): Clarify error message.
23515
235162012-10-02 H.J. Lu <hongjiu.lu@intel.com>
23517
23518 [BZ #14648]
23519 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23520 Set bit_FMA_Usable if FMA is supported.
23521 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
23522 macro.
23523 (bit_FMA4_Usable): Updated.
23524 (index_FMA_Usable): New macro.
23525 (CPUID_FMA): Likewise
23526 (HAS_FMA): Defined with bit_FMA_Usable.
23527
235282012-10-01 Roland McGrath <roland@hack.frob.com>
23529
23530 * bits/types.h (__swblk_t): Type removed.
23531 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
23532 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
23533 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23534 (__SWBLK_T_TYPE): Likewise.
23535 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
23536 (__SWBLK_T_TYPE): Likewise.
23537 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23538 (__SWBLK_T_TYPE): Likewise.
23539 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23540 (__SWBLK_T_TYPE): Likewise.
23541
235422012-10-01 Patsy Franklin <pfrankli@redhat.com>
23543 Honza Horak <hhorak@redhat.com>
23544
23545 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
23546 (xdr_mapname): Use YPMAXMAP as maxsize.
23547 (xdr_peername): Use YPMAXPEER as maxsize.
23548 (xdr_keydat): Use YPAXRECORD as maxsize.
23549 (xdr_valdat): Use YPMAXRECORD as maxsize.
23550
235512012-10-01 Roland McGrath <roland@hack.frob.com>
23552
23553 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
23554
23555 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
23556 * csu/init-first.c: ... here.
23557 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
23558 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
23559 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
23560 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
23561 * sysdeps/i386/init-first.c: File removed.
23562 * sysdeps/sh/init-first.c: File removed.
23563
235642012-10-01 Joseph Myers <joseph@codesourcery.com>
23565
23566 [BZ #14645]
23567 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
23568 if x * y might underflow to zero and z is zero.
23569 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23570 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23571 * math/libm-test.inc (min_subnorm_value): New variable.
23572 (fma_test): Add more tests.
23573 (fma_test_towardzero): Likewise.
23574 (fma_test_downward): Likewise
23575 (fma_test_upward): Likewise.
23576 (initialize): Set min_subnorm_value.
23577
235782012-09-29 Joseph Myers <joseph@codesourcery.com>
23579
23580 [BZ #14638]
23581 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
23582 0 + 0.
23583 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
23584 mode for addition resulting in exact zero.
23585 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
23586 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
23587 exact 0 + 0.
23588 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23589 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23590 * math/libm-test.inc (fma_test): Add more tests.
23591 (fma_test_towardzero): New function.
23592 (fma_test_downward): Likewise.
23593 (fma_test_upward): Likewise.
23594 (main): Call the new functions.
23595
235962012-09-28 David S. Miller <davem@davemloft.net>
23597
23598 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
23599
236002012-09-28 Roland McGrath <roland@hack.frob.com>
23601
23602 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
23603 instead of SIGALRM.
23604
23605 * sysdeps/gnu/_G_config.h: Moved to ...
23606 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
23607 * sysdeps/mach/hurd/_G_config.h: Moved to ...
23608 * sysdeps/generic/_G_config.h: ... here.
23609
23610 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
23611
23612 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
23613
23614 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
23615 Conditionalize target on [libnss_test1.so-version].
23616
23617 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
23618
23619 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
23620 (elfobjdir): Move out of conditionals.
23621
23622 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
23623 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
23624 (__nss_lookup_function): Conditionalize label remove_from_tree on
23625 [!DO_STATIC_NSS || SHARED], matching its only use.
23626
236272012-09-28 David S. Miller <davem@davemloft.net>
23628
23629 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
23630 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
23631 file.
23632 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23633 sysdep_routines.
23634 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23635 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
23636 when HWCAP_SPARC_CRYPTO is present.
23637
236382012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23639
23640 * io/tst-mknodat.c: Create a FIFO instead of a socket.
23641
236422012-09-28 Andreas Schwab <schwab@linux-m68k.org>
23643
23644 [BZ #6530]
23645 * stdio-common/vfprintf.c (process_string_arg): Revert
23646 2000-07-22 change.
23647
236482011-09-28 Jonathan Nieder <jrnieder@gmail.com>
23649
23650 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
23651 for testcase.
23652 * stdio-common/tst-sprintf.c: Include <locale.h>
23653 (main): Test sprintf's handling of incomplete multibyte
23654 characters.
23655
236562012-09-28 H.J. Lu <hongjiu.lu@intel.com>
23657
23658 * elf/dl-runtime.c (VERSYMIDX): Removed.
23659 * elf/dl-version.c (VERSYMIDX): Likewise.
23660 * elf/do-rel.h (VERSYMIDX): Likewise.
23661 (VALIDX): Likewise.
23662 * elf/dynamic-link.h (VERSYMIDX): Likewise.
23663 * elf/rtld.c (VALIDX): Likewise.
23664 (ADDRIDX): Likewise.
23665 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
23666 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
23667 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
23668 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
23669 (VALIDX): Likewise.
23670 (ADDRIDX): Likewise.
23671
236722012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23673
23674 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
23675
236762012-09-28 Dmitry V. Levin <ldv@altlinux.org>
23677
23678 [BZ #11438]
23679 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
23680 to global scope.
23681 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
23682 addresses are in the same scope as 192.0.2/24.
23683 * posix/gai.conf: Document new scope table defaults.
23684
236852012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23686
23687 [BZ #5298]
23688 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
23689 for ftell. Compute offsets from write pointers instead.
23690 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23691
236922012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23693
23694 [BZ #14543]
23695 * libio/Makefile (tests): New test case tst-fseek.
23696 * libio/tst-fseek.c: New test case to verify that fseek/ftell
23697 combination works in wide mode.
23698 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
23699 state when the external buffer state changes.
23700
237012012-09-27 David S. Miller <davem@davemloft.net>
23702
23703 [BZ #14376]
23704 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
23705 pass reloc->r_addend in as the 'high' argument to
23706 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
23707
23708 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23709
237102012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23711
23712 * rt/tst-aio2.c: Include <pthread.h>.
23713 * rt/tst-aio3.c: Likewise.
23714
237152012-09-27 Steve Ellcey <sellcey@mips.com>
23716
23717 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
23718
237192012-09-27 H.J. Lu <hongjiu.lu@intel.com>
23720
23721 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
23722 contents on [SHARED].
23723
237242012-09-26 Marek Polacek <polacek@redhat.com>
23725
23726 [BZ #14530]
23727 [BZ #13741]
23728 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
23729 for C++ and GCC <4.3 as well as for non GCC compilers.
23730
237312012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
23732
23733 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23734
237352012-09-25 Roland McGrath <roland@hack.frob.com>
23736
23737 * Makefile.in (all, install): Declare with .PHONY.
23738 Reported by Michael Hope <michael.hope@linaro.org>.
23739
237402012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23741
23742 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
23743 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
23744 system header.
23745 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
23746 Likewise.
23747 (sydep_routines): Add the new and the internal functions.
23748 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
23749 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
23750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
23751 (GLIBC_2.17): Add the new function.
23752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
23753 (GLIBC_2.17): Likewise.
23754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
23755 (GLIBC_2.17): Likewise.
23756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
23757 (GLIBC_2.17): Likewise.
23758 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
23759
237602012-09-25 Alan Modra <amodra@gmail.com>
23761
23762 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
23763 Add release barrier before setting once_control to say
23764 initialisation is done. Add hints on lwarx. Use macro in
23765 place of isync.
23766 (clear_once_control): Add release barrier.
23767
237682012-09-25 Joseph Myers <joseph@codesourcery.com>
23769
23770 [BZ #13629]
23771 * math/s_clog.c (__clog): Handle more values close to |z| = 1
23772 specially.
23773 * math/s_clog10.c (__clog10): Likewise.
23774 * math/s_clog10f.c (__clog10f): Likewise.
23775 * math/s_clog10l.c (__clog10l): Likewise.
23776 * math/s_clogf.c (__clogf): Likewise.
23777 * math/s_clogl.c (__clogl): Likewise.
23778 * math/Makefile (libm-calls): Add x2y2m1.
23779 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
23780 (__x2y2m1): Likewise.
23781 (__x2y2m1l): Likewise.
23782 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
23783 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
23784 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
23785 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
23786 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
23787 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
23788 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
23789 * sysdeps/i386/fpu/libm-test-ulps: Update.
23790 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23791
23792 [BZ #14621]
23793 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
23794 int as type of variable DEPTH.
23795 (glob): Use size_t instead of int as type of variables NEWCOUNT
23796 and OLD_PATHC.
23797
237982012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23799
23800 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
23801 Add s_sincosf-sse2.
23802 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
23803 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
23804 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
23805 macros for using routine as __sincosf_ia32.
23806 Use macro for function declaration and weak_alias.
23807 * sysdeps/i386/fpu/libm-test-ulps: Update.
23808
23809 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
23810 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23811
23812 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
23813 subnormal argument.
23814 * math/s_cexpf.c (__cexpf): Likewise.
23815 * math/s_csinf.c (__csinf): Likewise.
23816 * math/s_csinhf.c (__csinhf): Likewise.
23817 * math/s_ctanf.c (__ctanf): Likewise.
23818 * math/s_ctanhf.c (__ctanhf): Likewise.
23819 * math/s_ccosh.c (__ccoshf): Likewise.
23820 * math/s_cexp.c (__cexpl): Likewise.
23821 * math/s_csin.c (__csin): Likewise.
23822 * math/s_csinh.c (__csinh): Likewise.
23823 * math/s_ctan.c (__ctan): Likewise.
23824 * math/s_ctanh.c (ctanh): Likewise.
23825 * math/s_ccoshl.c (__ccoshl): Likewise.
23826 * math/s_cexpl.c (__cexpl): Likewise.
23827 * math/s_csinl.c (__csinl): Likewise.
23828 * math/s_csinhl.c (__csinhl): Likewise.
23829 * math/s_ctanl.c (__ctanl): Likewise.
23830 * math/s_ctanhl.c (__ctanhl): Likewise.
23831
238322012-09-25 Joseph Myers <joseph@codesourcery.com>
23833
23834 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
23835 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
23836 (_IO_off_t): Define to __off_t, not _G_off_t.
23837 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
23838 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
23839 (_IO_wint_t): Define to wint_t, not _G_wint_t.
23840 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
23841 type of __dummy and __dummy2 fields.
23842 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
23843 (_G_ssize_t): Likewise.
23844 (_G_off_t): Likewise.
23845 (_G_pid_t): Likewise.
23846 (_G_uid_t): Likewise.
23847 (_G_wchar_t): Likewise.
23848 (_G_wint_t): Likewise.
23849 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
23850 (_G_ssize_t): Likewise.
23851 (_G_off_t): Likewise.
23852 (_G_pid_t): Likewise.
23853 (_G_uid_t): Likewise.
23854 (_G_wchar_t): Likewise.
23855 (_G_wint_t): Likewise.
23856 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
23857 (_G_ssize_t): Likewise.
23858 (_G_off_t): Likewise.
23859 (_G_pid_t): Likewise.
23860 (_G_uid_t): Likewise.
23861 (_G_wchar_t): Likewise.
23862 (_G_wint_t): Likewise.
23863
238642012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23865
23866 * malloc/arena.c: Include malloc-sysdep.h.
23867 (shrink_heap): Use check_may_shrink_heap to decide if madvise
23868 is sufficient to shrink the heap or an unmap is needed.
23869 * sysdeps/generic/malloc-sysdep.h: New file. Define
23870 new function check_may_shrink_heap.
23871 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
23872 new function check_may_shrink_heap.
23873
238742012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23875
23876 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
23877 comments.
23878
238792012-09-24 Dmitry V. Levin <ldv@altlinux.org>
23880
23881 * catgets/test-gencat.sh: Add "set -e".
23882 * elf/tst-pathopt.sh: Likewise.
23883 * grp/tst_fgetgrent.sh: Likewise.
23884 * iconvdata/run-iconv-test.sh: Likewise.
23885 * intl/tst-gettext.sh: Likewise.
23886 * intl/tst-gettext2.sh: Likewise.
23887 * intl/tst-gettext4.sh: Likewise.
23888 * intl/tst-gettext6.sh: Likewise.
23889 * intl/tst-translit.sh: Likewise.
23890 * io/ftwtest-sh: Likewise.
23891 * libio/test-freopen.sh: Likewise.
23892 * malloc/tst-mtrace.sh: Likewise.
23893 * posix/globtest.sh: Likewise.
23894 * posix/tst-getconf.sh: Likewise.
23895 * posix/wordexp-tst.sh: Likewise.
23896 * stdio-common/tst-printf.sh: Likewise.
23897 * stdio-common/tst-unbputc.sh: Likewise.
23898 * stdlib/tst-fmtmsg.sh: Likewise.
23899 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
23900 * catgets/Makefile: Do not specify -e option when running
23901 testsuite shell scripts.
23902 * elf/Makefile: Likewise.
23903 * grp/Makefile: Likewise.
23904 * iconvdata/Makefile: Likewise.
23905 * intl/Makefile: Likewise.
23906 * io/Makefile: Likewise.
23907 * libio/Makefile: Likewise.
23908 * malloc/Makefile: Likewise.
23909 * posix/Makefile: Likewise.
23910 * stdio-common/Makefile: Likewise.
23911 * stdlib/Makefile: Likewise.
23912 * sysdeps/x86_64/Makefile: Likewise.
23913
23914 * io/ftwtest-sh: Add copyright header.
23915 * posix/globtest.sh: Likewise.
23916 * posix/tst-getconf.sh: Likewise.
23917 * posix/wordexp-tst.sh: Likewise.
23918 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
23919
239202012-09-24 H.J. Lu <hongjiu.lu@intel.com>
23921
23922 [BZ #13679]
23923 * Makeconfig (+link): Defined as $(+link-static) if
23924 $(build-shared) isn't yes.
23925 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
23926 isn't yes.
23927 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
23928
23929 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
23930
23931 [BZ #14562]
23932 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
23933 new chunk size with MALLOC_ALIGN_MASK.
23934
239352012-09-24 Joseph Myers <joseph@codesourcery.com>
23936
23937 [BZ #5044]
23938 * stdio-common/printf_fphex.c: Include <stdbool.h> and
23939 <rounding-mode.h>.
23940 (__printf_fphex): Determine rounding using get_rounding_mode and
23941 round_away.
23942 * stdio-common/tst-printf-round.c (struct hex_test): New
23943 structure.
23944 (hex_tests): New variable.
23945 (test_hex_in_one_mode): New function.
23946 (do_test): Also run tests for hex float output.
23947
239482012-09-21 Joseph Myers <joseph@codesourcery.com>
23949
23950 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
23951 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
23952 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
23953 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
23954 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
23955 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
23956 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
23957 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
23958
239592012-09-20 Joseph Myers <joseph@codesourcery.com>
23960
23961 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
23962 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
23963 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
23964 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
23965
239662012-09-19 Dmitry V. Levin <ldv@altlinux.org>
23967
23968 [BZ #14579]
23969 * elf/rtld.c (dl_main): Limit the check for self loading to normal
23970 mode only.
23971 * elf/tst-rtld-load-self.sh: New test.
23972 * elf/Makefile: Run it.
23973
239742012-09-18 Joseph Myers <joseph@codesourcery.com>
23975
23976 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
23977 (tst-writev-ENV): Remove.
23978 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
23979
239802012-09-17 Chris Metcalf <cmetcalf@tilera.com>
23981
23982 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
23983
239842012-09-17 Joseph Myers <joseph@codesourcery.com>
23985
23986 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
23987 unconditional.
23988 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
23989 Likewise.
23990 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
23991 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
23992 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
23993 Likewise.
23994
239952012-09-14 H.J. Lu <hongjiu.lu@intel.com>
23996
23997 [BZ #14587]
23998 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
23999 * config.make.in (have-cpp-asm-debuginfo): Removed.
24000 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
24001 * configure: Regenerated.
24002
240032012-09-14 Joseph Myers <joseph@codesourcery.com>
24004
24005 [BZ #5044]
24006 * stdio-common/printf_fp.c: Include <stdbool.h> and
24007 <rounding-mode.h>.
24008 (___printf_fp): Determine rounding using get_rounding_mode and
24009 round_away.
24010 * stdio-common/tst-printf-round.c: New file.
24011 * stdio-common/Makefile (tests): Add tst-printf-round.
24012 (link-libm): New variable.
24013 ($(objpfx)tst-printf-round): Depend in $(link-libm).
24014
240152012-09-13 H.J. Lu <hongjiu.lu@intel.com>
24016
24017 [BZ #14576]
24018 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
24019 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
24020 Likewise.
24021 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
24022 Likewise.
24023
240242012-09-13 Joseph Myers <joseph@codesourcery.com>
24025
24026 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
24027 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24028 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24029 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24030
240312012-09-12 Joseph Myers <joseph@codesourcery.com>
24032
24033 [BZ #14518]
24034 * include/rounding-mode.h: New file.
24035 * sysdeps/generic/get-rounding-mode.h: Likewise.
24036 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
24037 * stdlib/strtod_l.c: Include <rounding-mode.h>.
24038 (MAX_VALUE): New macro.
24039 (MIN_VALUE): Likewise.
24040 (overflow_value): New function.
24041 (underflow_value): Likewise.
24042 (round_and_return): Use overflow_value and underflow_value to
24043 determine return values in overflow and underflow cases. Use
24044 round_away to determine rounding depending on rounding mode.
24045 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
24046 determine return values in overflow and underflow cases.
24047 * stdlib/tst-strtod-round.c: Include <fenv.h>.
24048 (struct test_results): New structure.
24049 (struct test): Use struct test_results to store expected results
24050 for all rounding modes.
24051 (TEST): Include expected results for all rounding modes.
24052 (test_in_one_mode): New function.
24053 (do_test): Use test_in_one_mode to compute and check results.
24054 Check results for all rounding modes.
24055 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
24056 $(link-libm).
24057
240582012-12-09 Allan McRae <allan@archlinux.org>
24059
24060 * sysdeps/i386/fpu/libm-test-ulps: Update
24061
240622012-09-11 Joseph Myers <joseph@codesourcery.com>
24063
24064 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
24065 (_G_int32_t): Likewise.
24066 (_G_uint16_t): Likewise.
24067 (_G_uint32_t): Likewise.
24068 (_G_HAVE_BOOL): Likewise.
24069 (_G_HAVE_ATEXIT): Likewise.
24070 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24071 (_G_HAVE_IO_FILE_OPEN): Likewise.
24072 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
24073 (_G_int32_t): Likewise.
24074 (_G_uint16_t): Likewise.
24075 (_G_uint32_t): Likewise.
24076 (_G_HAVE_BOOL): Likewise.
24077 (_G_HAVE_ATEXIT): Likewise.
24078 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24079 (_G_HAVE_IO_FILE_OPEN): Likewise.
24080 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
24081 (_G_int32_t): Likewise.
24082 (_G_uint16_t): Likewise.
24083 (_G_uint32_t): Likewise.
24084 (_G_HAVE_BOOL): Likewise.
24085 (_G_HAVE_ATEXIT): Likewise.
24086 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24087 (_G_HAVE_IO_FILE_OPEN): Likewise.
24088
240892012-09-11 H.J. Lu <hongjiu.lu@intel.com>
24090
24091 * csu/libc-tls.c: Update copyright years.
24092
240932012-09-10 Joseph Myers <joseph@codesourcery.com>
24094
24095 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
24096 [!_G_USING_THUNKS]: Remove conditional code.
24097 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
24098 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
24099
24100 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
24101 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
24102 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24103 (_G_VTABLE_LABEL_PREFIX): Likewise.
24104 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24105 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24106 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24107 (_G_VTABLE_LABEL_PREFIX): Likewise.
24108 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
24109 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24110 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24111 (_G_VTABLE_LABEL_PREFIX): Likewise.
24112 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
24113
241142012-09-10 H.J. Lu <hongjiu.lu@intel.com>
24115
24116 * libio/Makefile: Include ../Makeconfig before tests.
24117 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
24118 only if $(build-shared) is yes.
24119
24120 * iconv/gconv_db.c: Update copyright years.
24121
241222012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24123
24124 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
24125 unwind info if defined PIC. Fix special cases description.
24126 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
24127
24128 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
24129 DP_HI_MASK entry.
24130 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
24131
241322012-09-07 H.J. Lu <hongjiu.lu@intel.com>
24133
24134 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
24135
24136 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
24137 is NULL.
24138
24139 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
24140 (LDLIBS-tst-chk4): This.
24141 (LDFLAGS-tst-chk5): Renamed to ...
24142 (LDLIBS-tst-chk5): This.
24143 (LDFLAGS-tst-chk6): Renamed to ...
24144 (LDLIBS-tst-chk6): This.
24145 (LDFLAGS-tst-lfschk4): Renamed to ...
24146 (LDLIBS-tst-lfschk4): This.
24147 (LDFLAGS-tst-lfschk5): Renamed to ...
24148 (LDLIBS-tst-lfschk5): This.
24149 (LDFLAGS-tst-lfschk6): Renamed to ...
24150 (LDLIBS-tst-lfschk6): This.
24151
24152 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
24153 on $(common-objpfx)soversions.mk.
24154
241552012-09-07 Joseph Myers <joseph@codesourcery.com>
24156
24157 [BZ #10014]
24158 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
24159 example host name.
24160
241612012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
24162
24163 * malloc/arena.c (arena_get_retry): New function that gets
24164 another arena for the caller to try its request on.
24165 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
24166 current arena cannot fulfill the request.
24167 (__libc_memalign): Likewise.
24168 (__libc_memalign): Likewise.
24169 (__libc_pvalloc): Likewise.
24170 (__libc_calloc): Likewise.
24171
241722012-09-05 John Tobey <john.tobey@gmail.com>
24173
24174 [BZ #13542]
24175 * manual/arith.texi (Operations on Complex): Fix description
24176 of carg branch cut.
24177
241782012-09-06 Joseph Myers <joseph@codesourcery.com>
24179
24180 [BZ #10014]
24181 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
24182 host name.
24183
24184 [BZ #10038]
24185 * manual/memory.texi (Memory): Make order of menu items match
24186 order of sections.
24187
241882012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24189
24190 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
24191 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
24192 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
24193
241942012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24195
24196 * csu/libc-tls.c (static_dtv): Renamed to ...
24197 (_dl_static_dtv): This. Make it global.
24198 (_dl_initial_dtv): Removed.
24199 (__libc_setup_tls): Updated.
24200 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
24201 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
24202 DL_INITIAL_DTV.
24203
242042012-09-06 Petr Machata <pmachata@redhat.com>
24205
24206 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
24207 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
24208 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
24209 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
24210
242112012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24212
24213 [BZ #14545]
24214 * csu/libc-tls.c (_dl_initial_dtv): New variable.
24215 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
24216 freeing dtv[-1].
24217
242182012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24219
24220 [BZ #14544]
24221 * Makeconfig (link-static-before-libc): Replace $(+prector)
24222 with $(+prectorT).
24223 (link-static-after-libc): Replace $(+postctor) with
24224 $(+postctorT).
24225 (link-bounded): Replace $(+prector)/$(+postctor) with
24226 $(+prectorT)/$(+postctorT).
24227 (+prectorT): New macro.
24228 (+postctorT): Likewise.
24229
242302012-09-06 Joseph Myers <joseph@codesourcery.com>
24231
24232 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
24233 (round_str): Handle values above the maximum for IBM long double
24234 as inexact.
24235 * stdlib/tst-strtod-round.c (tests): Regenerated.
24236
242372012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24238
24239 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
24240 assembler flag.
24241 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
24242 zarch_nohighgprs around the zarch optimized routines.
24243 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
24244 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
24245 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
24246 for zarch.
24247
242482012-09-05 David S. Miller <davem@davemloft.net>
24249
24250 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24251
24252 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
24253 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
24254 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
24255 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
24256 entries.
24257
242582012-09-05 Alexandre Oliva <aoliva@redhat.com>
24259
24260 * malloc/arena.c: Fold copyright years.
24261 * malloc/mcheck.c, malloc/memusage.c: Likewise.
24262
242632012-09-05 Alexandre Oliva <aoliva@redhat.com>
24264
24265 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
24266
242672012-09-05 Alexandre Oliva <aoliva@redhat.com>
24268
24269 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
24270
242712012-09-05 Alexandre Oliva <aoliva@redhat.com>
24272
24273 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
24274 change internal state upon failure.
24275
242762012-09-05 Alexandre Oliva <aoliva@redhat.com>
24277
24278 * malloc/mcheck.c (mcheck_check_all): Fix typo.
24279 * malloc/memusage.c (mmap): Likewise.
24280 (mmap64, mremap): Likewise. Adjust name in comment.
24281
242822012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24283
24284 * libio/fileops.c: Fix typos in comments.
24285 * libio/oldfileops.c: Likewise.
24286 * libio/wfileops.c: Likewise.
24287
242882012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24289
24290 [BZ #1349]
24291 * malloc/Makefile (tests): Add tst-malloc-usable test case.
24292 (tst-malloc-usable-ENV): Set environment for test case.
24293 * malloc/hooks.c (malloc_check_get_size): New function to get
24294 requested size.
24295 * malloc/malloc.c (musable): Use malloc_check_get_size.
24296 * malloc/tst-malloc-usable.c: New test case.
24297
242982012-09-05 Andreas Schwab <schwab@linux-m68k.org>
24299
24300 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
24301
243022012-09-05 Allan McRae <allan@archlinux.org>
24303
24304 [BZ #13966]
24305 * configure.in (CXX_SYSINCLUDES): Use compiler output to
24306 determine header location.
24307 * configure: Regenerated.
24308
243092012-09-05 Andreas Schwab <schwab@linux-m68k.org>
24310
24311 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
24312 float format.
24313 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
24314 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
24315 format.
24316 (test): Regenerate.
24317
243182012-09-04 David S. Miller <davem@davemloft.net>
24319
24320 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
24321 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
24322 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
24323
243242012-09-04 Florian Weimer <fweimer@redhat.com>
24325
24326 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
24327 failures.
24328
24329 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
24330
243312012-09-04 Joseph Myers <joseph@codesourcery.com>
24332
24333 [BZ #9914]
24334 * libio/iogetdelim.c: Include <limits.h>.
24335 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
24336 + len + 1 would overflow.
24337
243382012-09-03 Andreas Jaeger <aj@suse.de>
24339
24340 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24341 * sysdeps/i386/fpu/libm-test-ulps: Update.
24342
243432012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24344
24345 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
24346 Add s_sinf-sse2, s_conf-sse2.
24347
24348 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
24349 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
24350 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
24351 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
24352
24353 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
24354 for using routine as __sinf_ia32.
24355 Use macro for function declaration and weak_alias.
24356 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
24357 for using routine as __cosf_ia32.
24358 Use macro for function declaration and weak_alias.
24359
24360 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
24361 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
24362
24363 * sysdeps/x86_64/fpu/s_sinf.S: New file.
24364 * sysdeps/x86_64/fpu/s_cosf.S: New file.
24365 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24366
24367 * math/libm-test.inc (cos_test): Add more test cases.
24368 (sin_test): Likewise.
24369 (sincos_test): Likewise.
24370
243712012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24372
24373 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
24374 (IFUNC_RESOLVE): Make pointers to the specialized implementations
24375 hidden.
24376 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
24377
243782012-09-02 H.J. Lu <hongjiu.lu@intel.com>
24379
24380 [BZ #14538]
24381 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
24382 first element of the GOT.
24383 (elf_machine_load_address): Return the difference between
24384 the runtime address of _DYNAMIC and elf_machine_dynamic ().
24385
243862012-09-01 Allan McRae <allan@archlinux.org>
24387
24388 [BZ #13412]
24389 * configure.in (AWK): Require gawk version 3.0 or later.
24390 * configure: Regenerated.
24391
243922012-09-01 Joseph Myers <joseph@codesourcery.com>
24393
24394 * sysdeps/unix/sysv/linux/kernel-features.h
24395 (__ASSUME_POSIX_CPU_TIMERS): Remove.
24396 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24397 [__NR_clock_getres]: Make code unconditional.
24398 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
24399 (clock_getcpuclockid): Remove code left unreachable by removal of
24400 conditionals.
24401 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
24402 code unconditional.
24403 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24404 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24405 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
24406 Make code unconditional.
24407 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24408 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24409 * sysdeps/unix/sysv/linux/clock_settime.c
24410 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
24411 conditional code.
24412 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
24413 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24414
244152012-08-29 H.J. Lu <hongjiu.lu@intel.com>
24416
24417 [BZ #14476]
24418 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
24419 scripts/test-installation.pl.
24420
24421 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
24422 and $ld_so_version if it is set.
24423
244242012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24425
24426 [BZ #14516]
24427 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
24428 failure if reading from procfs failed.
24429 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
24430
244312012-08-27 Joseph Myers <joseph@codesourcery.com>
24432
24433 * sysdeps/unix/sysv/linux/kernel-features.h
24434 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
24435 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24436 Remove conditional code.
24437 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24438 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
24439 Remove conditional code.
24440 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24441 * sysdeps/unix/sysv/linux/i386/fxstat.c
24442 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24443 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24444 * sysdeps/unix/sysv/linux/i386/fxstatat.c
24445 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24446 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24447 * sysdeps/unix/sysv/linux/i386/lxstat.c
24448 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24449 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24450 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
24451 Remove conditional code.
24452 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24453 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24454 Remove conditional code.
24455 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24456 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
24457 <kernel-features.h>.
24458 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
24459 Remove.
24460 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
24461 Remove conditional code.
24462 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24463 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
24464 Remove conditional.
24465
244662012-08-27 Mike Frysinger <vapier@gentoo.org>
24467
24468 [BZ #5400]
24469 * NEWS: Add fixed bug number.
24470
244712012-08-27 Joseph Myers <joseph@codesourcery.com>
24472
24473 [BZ #14519]
24474 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
24475 underflowing exponent in case of negative sign.
24476 * stdlib/tst-strtod-round-data: Add more tests.
24477 * stdlib/tst-strtod-round.c (tests): Regenerated.
24478
24479 [BZ #3479]
24480 * stdlib/strtod_l.c (NDIG): Remove.
24481 (HEXNDIG): Likewise.
24482 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
24483 smallest representable value.
24484 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
24485 lie within an exact representation of 1/2 ulp of the result.
24486 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
24487 unconditionally.
24488 (TENS_P9_IDX): Define unconditionally.
24489 (TENS_P9_SIZE): Likewise.
24490 (TENS_P10_IDX): Likewise.
24491 (TENS_P10_SIZE): Likewise.
24492 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
24493 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
24494 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
24495 entries for 10^2^13 and 10^2^14.
24496 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
24497 (TENS_P13_IDX): Define.
24498 (TENS_P13_SIZE): Likewise.
24499 (TENS_P14_IDX): Likewise.
24500 (TENS_P14_SIZE): Likewise.
24501 (_fpioconst_pow10): Change array size to
24502 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
24503 unconditional.
24504 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
24505 1024]: Add entries for 10^2^13 and 10^2^14.
24506 [LAST_POW10 > _LAST_POW10]: Remove #error.
24507 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
24508 (_fpioconst_pow10): Change array size to
24509 FPIOCONST_POW10_ARRAY_SIZE.
24510 * stdlib/gen-fpioconst.c: New file.
24511 * stdlib/gen-tst-strtod-round.c: Likewise.
24512 * stdlib/tst-strtod-round-data: Likewise.
24513 * stdlib/tst-strtod-round.c: Likewise.
24514 * stdlib/Makefile (tests): Add tst-strtod-round.
24515
24516 [BZ #14459]
24517 * stdlib/strtod_l.c: Include <stdint.h>.
24518 (NDEBUG): Do not define.
24519 (round_and_return): Change EXPONENT parameter to type intmax_t.
24520 Rearrange calculations to avoid internal overflow possibilities.
24521 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
24522 Rearrange calculations to avoid internal overflow possibilities.
24523 Assert that number fits inside MPNSIZE limbs.
24524 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
24525 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
24526 calculations and add assertions to avoid internal overflow
24527 possibilities. Add casts to avoid signed/unsigned operations.
24528 * stdlib/tst-strtod-overflow.c: New file.
24529 * stdlib/Makefile (tests): Add tst-strtod-overflow.
24530
245312012-08-25 Marek Polacek <polacek@redhat.com>
24532
24533 * time/time.h: Fix some typos in comments.
24534
245352012-08-23 Roland McGrath <roland@hack.frob.com>
24536
24537 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
24538 * posix/tst-rfc3484-2.c: Likewise.
24539 * posix/tst-rfc3484-3.c: Likewise.
24540
245412012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
24542
24543 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
24544 (EF_ARM_ABI_FLOAT_HARD): Likewise.
24545
245462012-08-23 Joseph Myers <joseph@codesourcery.com>
24547
24548 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
24549 #include of fxstatat64.c.
24550
245512012-08-22 Roland McGrath <roland@hack.frob.com>
24552
24553 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
24554 * shadow/getspent_r.c: Likewise.
24555 * shadow/getspnam.c: Likewise.
24556 * shadow/getspnam_r.c: Likewise.
24557 * gshadow/getsgent.c: Likewise.
24558 * gshadow/getsgent_r.c: Likewise.
24559 * gshadow/getsgnam.c: Likewise.
24560 * gshadow/getsgnam_r.c: Likewise.
24561 * inet/getnetbyad.c: Likewise.
24562 * inet/getnetbyad_r.c: Likewise.
24563 * inet/getnetbynm.c: Likewise.
24564 * inet/getnetbynm_r.c: Likewise.
24565 * inet/getnetent.c: Likewise.
24566 * inet/getnetent_r.c: Likewise.
24567 * inet/getproto.c: Likewise.
24568 * inet/getproto_r.c: Likewise.
24569 * inet/getprtent.c: Likewise.
24570 * inet/getprtent_r.c: Likewise.
24571 * inet/getprtname.c: Likewise.
24572 * inet/getprtname_r.c: Likewise.
24573 * inet/getrpcbyname.c: Likewise.
24574 * inet/getrpcbyname_r.c: Likewise.
24575 * inet/getrpcbynumber.c: Likewise.
24576 * inet/getrpcbynumber_r.c: Likewise.
24577 * inet/getrpcent.c: Likewise.
24578 * inet/getrpcent_r.c: Likewise.
24579 * inet/getaliasent.c: Likewise.
24580 * inet/getaliasent_r.c: Likewise.
24581 * inet/getaliasname.c: Likewise.
24582 * inet/getaliasname_r.c: Likewise.
24583 * nscd/getgrgid_r.c: Likewise.
24584 * nscd/getgrnam_r.c: Likewise.
24585 * nscd/gethstbyad_r.c: Likewise.
24586 * nscd/gethstbynm3_r.c: Likewise.
24587 * nscd/getpwnam_r.c: Likewise.
24588 * nscd/getpwuid_r.c: Likewise.
24589 * nscd/getsrvbynm_r.c: Likewise.
24590 * nscd/getsrvbypt_r.c: Likewise.
24591 * nscd/gai.c: Likewise.
24592
24593 * configure.in (build_nscd): New substituted variable, set
24594 by --disable-build-nscd and defaults to $use_nscd.
24595 * configure: Regenerated.
24596 * config.make.in (build-nscd): New substituted variable.
24597 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
24598 Change conditional to require [$(build-nscd) = yes] as well.
24599 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
24600
24601 [BZ# 13696]
24602 * configure.in (use_nscd): New substituted variable, set by
24603 --disable-nscd. If enabled, define USE_NSCD.
24604 * configure: Regenerated.
24605 * config.h.in: Add USE_NSCD.
24606 * config.make.in (use-nscd): New substituted variable.
24607 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
24608 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
24609 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
24610 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
24611 (CFLAGS-getgrnam_r.c): Likewise.
24612 (CFLAGS-initgroups.c): Likewise.
24613 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
24614 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
24615 Variables removed.
24616 * inet/getnetgrent_r.c
24617 (nscd_setnetgrent): New function, broken out of ...
24618 (setnetgrent): ... here. Call it.
24619 (innetgr): Conditionalize nscd bits on [USE_NSCD].
24620 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
24621 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
24622 * nscd/Makefile (routines, aux): Move definitions after include of
24623 Makeconfig. Conditionalize on [$(use-nscd) != no].
24624 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
24625 Conditionalize on [USE_NSCD].
24626 (is_nscd, nscd_init_cb): Likewise.
24627 (nss_load_library): Conditionalize init callback on [USE_NSCD].
24628 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
24629 * nss/nss_db/db-init.c: Likewise.
24630 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
24631 [USE_NSCD].
24632 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
24633 (make_request): Use it.
24634 (cache_valid_p): New function.
24635 (__check_pf): Use it.
24636 * NEWS: Add item for --disable-nscd.
24637
246382012-08-22 Dmitry V. Levin <ldv@altlinux.org>
24639
24640 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
24641 to support sed >= 4.2.1-20-ga9bf076.
24642 * configure: Regenerated.
24643
246442012-08-22 Roland McGrath <roland@hack.frob.com>
24645
24646 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
24647 Conditionalize whole body on [IREL].
24648
246492012-08-22 Jeff Law <law@redhat.com>
24650
24651 [BZ #14505]
24652 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
24653 if the family is PF_UNSPEC.
24654
246552012-08-22 Mike Frysinger <vapier@gentoo.org>
24656
24657 * Makerules (lib-version): Rename from V.
24658 (install-lib-nosubdir): Change V to lib-version.
24659
246602012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
24661
24662 [BZ #14252]
24663 * powerpc32/power6/wcschr.c: New file.
24664 * powerpc32/power6/wcscpy.c: New file.
24665 * powerpc32/power6/wcsrchr.c: New file.
24666 * powerpc64/power6/wcschr.c: New file.
24667 * powerpc64/power6/wcscpy.c: New file.
24668 * powerpc64/power6/wcsrchr.c: New file.
24669
246702012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
24671
24672 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
24673 (two_way_short_needle): Use it.
24674 * string/strstr.c (AVAILABLE1_USES_J): Define.
24675 * string/strcasestr.c: Likewise.
24676
24677 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
24678 array references.
24679 * string/strcasestr.c (TOLOWER): Make side-effect safe.
24680
24681 [BZ #11607]
24682 * NEWS: Add an entry.
24683 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
24684 define their defaults.
24685 (two_way_short_needle): Detect end-of-string on-the-fly.
24686 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
24687 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
24688 * string/bug-strcasestr1.c: New test.
24689 * string/Makefile: Run it.
24690
246912012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
24692
24693 [BZ #11607]
24694 * string/str-two-way.h (two_way_short_needle): Optimize matching of
24695 the first character.
24696
246972012-08-21 Roland McGrath <roland@hack.frob.com>
24698
24699 * csu/elf-init.c (__libc_csu_irel): Function removed.
24700 * csu/libc-start.c (apply_irel): New function.
24701 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
24702
247032012-08-21 Joseph Myers <joseph@codesourcery.com>
24704
24705 * sysdeps/unix/sysv/linux/kernel-features.h
24706 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
24707 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
24708 <kernel-features.h>.
24709 [__NR_fadvise64_64]: Make code unconditional.
24710 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
24711 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24712 !__NR_fadvise64_64)]: Likewise.
24713 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24714 !__NR_fadvise64_64))]: Likewise.
24715 [__NR_fadvise64]: Make code unconditional.
24716 [!__NR_fadvise64]: Remove conditional code.
24717 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
24718 <kernel-features.h>.
24719 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24720 unconditional.
24721 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24722 conditional code.
24723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
24724 not include <kernel-features.h>.
24725 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24726 unconditional.
24727 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24728 conditional code.
24729 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
24730 include <kernel-features.h>.
24731 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24732 unconditional.
24733 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24734 conditional code.
24735
247362012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
24737
24738 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
24739 slight instruction rearrangements per scrollpipe analysis.
24740 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24741
247422012-08-20 Roland McGrath <roland@hack.frob.com>
24743
24744 * manual/syslog.texi (syslog; vsyslog, closelog):
24745 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
24746 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
24747
24748 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
24749 DSOCAPS to match condition on defining it.
24750
247512012-08-20 Joseph Myers <joseph@codesourcery.com>
24752
24753 * sysdeps/unix/sysv/linux/kernel-features.h
24754 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
24755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
24756 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24757 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
24759 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24760 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
24762 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24763 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24764
24765 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
24766 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
24767
24768 * sysdeps/unix/sysv/linux/kernel-features.h
24769 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
24770 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
24771 unconditional.
24772 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24773 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
24774 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24775 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24776 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
24777 Make code unconditional.
24778 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24779 (__mmap64) [!__NR_mmap2]: Likewise.
24780 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
24781 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24782 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24783 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
24784 [__NR_mmap2]: Make code unconditional.
24785 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24786 (__mmap64) [!__NR_mmap2]: Likewise.
24787
247882012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24789
24790 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
24791
247922012-08-18 Andreas Jaeger <aj@suse.de>
24793
24794 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
24795
247962012-08-18 Mike Frysinger <vapier@gentoo.org>
24797
24798 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
24799 * include/unistd.h (__have_sock_cloexec): Likewise.
24800 (__have_pipe2): Likewise.
24801 (__have_dup3): Likewise.
24802
248032012-08-18 Mike Frysinger <vapier@gentoo.org>
24804
24805 [BZ #9685]
24806 * include/unistd.h (__have_pipe2): Change define into an extern int.
24807 (__have_dup3): Likewise.
24808 * socket/have_sock_cloexec.c: Include fcntl.h.
24809 (__have_pipe2): New variable.
24810 (__have_dup3): Likewise.
24811
248122012-08-17 Mike Frysinger <vapier@gentoo.org>
24813
24814 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
24815
248162012-08-17 Marek Polacek <polacek@redhat.com>
24817
24818 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
24819 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
24820
248212012-08-17 Roland McGrath <roland@hack.frob.com>
24822
24823 * configure.in: Add AC_SUBST for sysheaders.
24824 * configure: Regenerated.
24825 * config.make.in (sysheaders): New substituted variable.
24826
24827 * sysdeps/unix/mkfifo.c: Moved ...
24828 * sysdeps/posix/mkfifo.c: ... here.
24829 * sysdeps/unix/mkfifoat.c: Moved ...
24830 * sysdeps/posix/mkfifoat.c: ... here.
24831
24832 * sysdeps/unix/utime.c: Moved ...
24833 * sysdeps/posix/utime.c: ... here.
24834
24835 * sysdeps/unix/time.c: Moved ...
24836 * sysdeps/posix/time.c: ... here.
24837 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
24838 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
24839
24840 * sysdeps/unix/nice.c: Moved ...
24841 * sysdeps/posix/nice.c: ... here.
24842
24843 * sysdeps/unix/alarm.c: Moved ...
24844 * sysdeps/posix/alarm.c: ... here.
24845
24846 * intl/Makefile ($(codeset_mo)): Depend on the input file.
24847
248482012-08-17 Jeff Law <law@redhat.com>
24849
24850 * intl/Makefile (codeset_mo): New variable.
24851 ($(codeset_mo)): New target.
24852 (tst-codeset.out): Depend on that. Remove explicit rule.
24853 (tst-gettext3.out, tst-gettext5.out): Likewise.
24854 (LOCPATH-ENV, tst-codeset-ENV): New variables.
24855 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
24856 * intl/tst-codeset.sh: Remove.
24857 * intl/tst-gettext3.sh: Likewise.
24858 * intl/tst-gettext5.sh: Likewise.
24859
248602012-08-17 Roland McGrath <roland@hack.frob.com>
24861
24862 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
24863 * sysdeps/unix/syscalls.list: ... here.
24864
24865 * sysdeps/posix/getaddrinfo.c
24866 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
24867 (gaiconf_init, gaiconf_reload): Use them.
24868 [!_STATBUF_ST_NSEC]
24869 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
24870 Define using time_t rather than struct timespec.
24871
24872 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
24873 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
24874 Macros removed.
24875 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
24876 [!NO_THREADS].
24877 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
24878 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
24879 Likewise.
24880
24881 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
24882 __libc_cleanup_push argument.
24883
24884 * bits/param.h: New file.
24885 * misc/sys/param.h: New file.
24886 * include/sys/param.h: New file.
24887 * misc/Makefile (headers): Add bits/param.h.
24888 * sysdeps/generic/sys/param.h: File removed.
24889 * sysdeps/unix/sysv/linux/bits/param.h: New file.
24890 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
24891 * sysdeps/mach/hurd/bits/param.h: New file.
24892 * sysdeps/mach/hurd/sys/param.h: File removed.
24893
24894 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
24895 last change.
24896
24897 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
24898 [_IO_MTSAFE_IO].
24899 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
24900 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
24901 New macros.
24902
24903 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
24904 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
24905 rather than -D_IO_MTSAFE_IO conditionally.
24906 * stdio-common/Makefile (CPPFLAGS): Likewise.
24907 * wcsmbs/Makefile (CPPFLAGS): Likewise.
24908 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
24909 Use $(libio-mtsafe).
24910 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
24911 of -D_IO_MTSAFE_IO.
24912 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
24913 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
24914 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
24915 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
24916 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
24917 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
24918 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
24919 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
24920 (CFLAGS-fread_u_chk.c): Likewise.
24921 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
24922 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
24923 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
24924 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
24925 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
24926 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
24927 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
24928 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
24929 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
24930
24931 * libio/Makefile: Test [$(libc-reentrant) = yes]
24932 instead of [$(filter %REENTRANT, $(defines)) nonempty].
24933
24934 * Makeconfig
24935 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
24936 * sysdeps/pthread/configure: File removed.
24937 * sysdeps/pthread/Makeconfig: New file.
24938 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
24939 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
24940
249412012-08-16 Gary Benson <gbenson@redhat.com>
24942
24943 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
24944 unmapping the first object in a namespace.
24945
249462012-08-16 Roland McGrath <roland@hack.frob.com>
24947
24948 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
24949 (__internal_setnetgrent): ... this. Add internal_function to
24950 definition. Add libc_hidden_def.
24951 (setnetgrent): Update caller.
24952 (internal_endnetgrent): Renamed to ...
24953 (__internal_endnetgrent): ... this. Add internal_function to
24954 definition. Add libc_hidden_def.
24955 (endnetgrent): Update caller.
24956 (internal_getnetgrent_r): Renamed to ...
24957 (__internal_getnetgrent_r): ... this. Add internal_function to
24958 definition. Add libc_hidden_def.
24959 (__getnetgrent_r): Update caller.
24960 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
24961
249622012-08-16 Joseph Myers <joseph@codesourcery.com>
24963
24964 * stdlib/longlong.h: Update from GCC.
24965
249662012-08-16 Roland McGrath <roland@hack.frob.com>
24967
24968 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
24969 on _QL, which is set by umul_ppmm but never used.
24970 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
24971 variables, which are set by GMP macros but never used.
24972 * stdio-common/_itowa.c (_itowa): Likewise.
24973 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
24974 * stdlib/mod_1.c (mpn_mod_1): Likewise.
24975
249762012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
24977
24978 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
24979 struct La_sh_regs is not constant.
24980 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
24981 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
24982 and struct La_sparc64_regs are not constant.
24983
249842012-08-16 Joseph Myers <joseph@codesourcery.com>
24985
24986 * sysdeps/unix/sysv/linux/kernel-features.h
24987 (__ASSUME_POSIX_TIMERS): Remove.
24988 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24989 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24990 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
24991 Make code unconditional.
24992 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24993 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
24994 Make code unconditional.
24995 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24996 * sysdeps/unix/sysv/linux/clock_nanosleep.c
24997 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
24998 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24999 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
25000 Make code unconditional.
25001 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25002 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
25003 (__libc_missing_posix_timers): Remove.
25004
250052012-08-15 Roland McGrath <roland@hack.frob.com>
25006
25007 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
25008 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
25009
25010 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
25011
25012 * elf/dl-sym.c: Include <stdlib.h>.
25013
25014 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
25015 constants, which avoids warnings in 32-bit builds.
25016
25017 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
25018 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
25019
25020 * misc/lseek.c: File moved to ...
25021 * io/lseek.c: ... here.
25022
25023 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
25024
25025 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
25026 shifting LEN more than 31 bits at once.
25027
250282012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25029
25030 [BZ #14195]
25031 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
25032 segmentation fault for a case of two empty input strings.
25033 * string/test-strncasecmp.c (check1): Renamed to...
25034 (bz12205): ...this.
25035 (bz14195): Add new testcase for two empty input strings and N > 0.
25036 (test_main): Call new testcase, adapt for renamed function.
25037
250382012-08-15 Andreas Jaeger <aj@suse.de>
25039
25040 [BZ #14090]
25041 * crypt/md5test2.c: New test, based on test supplied by Serge
25042 Belyshev <belyshev@depni.sinp.msu.ru>.
25043 * crypt/Makefile (xtests): Add md5test-giant..
25044 * crypt/Makefile ($(objpfx)md5test-giant): Add.
25045
250462012-08-15 Paul Eggert <eggert@cs.ucla.edu>
25047
25048 [BZ #14090]
25049 * crypt/md5.c (md5_process_block): Don't assume the buffer
25050 length is less than 2**32.
25051 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
25052 length is less than 2**64.
25053
250542012-08-15 Roland McGrath <roland@hack.frob.com>
25055
25056 * string/str-two-way.h: Include <sys/param.h>.
25057 (MAX): Macro removed.
25058
25059 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
25060 Move #define and #undef of memmove to just before and after
25061 including <string.h>.
25062
25063 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
25064 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
25065 and after including <string.h>. Move declarations of
25066 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
25067 to before #include "string/memmove.c".
25068
25069 * include/dirent.h: Declare __getdirentries.
25070
25071 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
25072 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
25073
250742012-08-14 Mike Frysinger <vapier@gentoo.org>
25075
25076 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
25077 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
25078 * sysdeps/i386/configure: Regenerated.
25079 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
25080 STABS_CURRENT_FILE, and STABS_FUN.
25081 (END): Remove call to STABS_FUN_END.
25082 (STABS_CURRENT_FILE1): Delete.
25083 (STABS_CURRENT_FILE): Likewise.
25084 (STABS_FUN): Likewise.
25085 (STABS_FUN_END): Likewise.
25086 (STABS_FUN2): Likewise.
25087 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
25088 * sysdeps/x86_64/configure: Regenerated.
25089
250902012-08-14 Roland McGrath <roland@hack.frob.com>
25091
25092 * elf/dl-open.c: Include <atomic.h>.
25093 * elf/dl-lookup.c: Likewise.
25094
250952012-08-14 Joseph Myers <joseph@codesourcery.com>
25096
25097 * sysdeps/unix/sysv/linux/kernel-features.h
25098 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
25099 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
25100 unconditionally.
25101 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
25102 unconditionally.
25103 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
25104 condition on __ASSUME_CLONE_THREAD_FLAGS.
25105
251062012-08-14 Andreas Jaeger <aj@suse.de>
25107
25108 * sysdeps/i386/fpu/libm-test-ulps: Update.
25109
251102012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
25111
25112 * include/atomic.h (atomic_exchange_and_add): Split into ...
25113 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
25114 New atomic macros.
25115
251162012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
25117
25118 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25119
251202012-08-13 Jeff Law <law@redhat.com>
25121
25122 * manual/stdio.texi (snprintf): Clarify handling of the trailing
25123 null byte in the output string.
25124
251252012-08-10 Joseph Myers <joseph@codesourcery.com>
25126
25127 * sysdeps/unix/sysv/linux/kernel-features.h
25128 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
25129 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
25130 (__ASSUME_ARG_MAX_STACK_BASED): Define.
25131 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
25132 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
25133 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
25134 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
25135
251362012-08-09 Jeff Law <law@redhat.com>
25137
25138 [BZ #13939]
25139 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
25140 When avoid_arena is set, don't retry in the that arena. Pick the
25141 next one, whatever it might be.
25142 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
25143 (arena_lock): Pass in new parameter to arena_get2.
25144 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
25145 arena_get2.
25146 (__libc_malloc): Unify retrying after main arena failure with
25147 __libc_memalign version.
25148 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
25149
251502012-08-09 H.J. Lu <hongjiu.lu@intel.com>
25151
25152 [BZ #14166]
25153 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
25154 to __redirect_strstr.
25155 (__strstr_sse42): Use typeof __redirect_strstr.
25156 (__strstr_ia32): Likewise.
25157 (__libc_strstr): New prototype.
25158 (strstr): Renamed to ...
25159 (__libc_strstr): This.
25160 (strstr): New strong alias of __libc_strstr.
25161 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
25162 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
25163 __redirect_time.
25164 Include <time.h>.
25165 (__libc_time): New prototype.
25166 (time_ifunc): Replace time with __libc_time.
25167 (time): New strong alias and hidden definition of __libc_time.
25168 (__GI_time): Remove strong alias.
25169 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
25170 Include <stddef.h>.
25171 (memmove): Redefined to __redirect_memmove.
25172 (__memmove_sse2): Use typeof __redirect_memmove.
25173 (__memmove_ssse3): Likewise.
25174 (__memmove_ssse3_back): Likewise.
25175 (__libc_memmove): New prototype.
25176 (memmove): Renamed to ...
25177 (__libc_memmove): This.
25178 (memmove): New strong alias of __libc_memmove.
25179
251802012-08-08 Mark Salter <msalter@redhat.com>
25181
25182 * elf/elf.h
25183 (R_MN10300_TLS_GD): Define.
25184 (R_MN10300_TLS_LD): Likewise.
25185 (R_MN10300_TLS_LDO): Likewise.
25186 (R_MN10300_TLS_GOTIE): Likewise.
25187 (R_MN10300_TLS_IE): Likewise.
25188 (R_MN10300_TLS_LE): Likewise.
25189 (R_MN10300_TLS_DTPMOD): Likewise.
25190 (R_MN10300_TLS_DTPOFF): Likewise.
25191 (R_MN10300_TLS_TPOFF): Likewise.
25192 (R_MN10300_SYM_DIFF): Likewise.
25193 (R_MN10300_ALIGN): Likewise.
25194 (R_MN10300_NUM): Update.
25195
251962012-08-08 Joseph Myers <joseph@codesourcery.com>
25197
25198 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
25199 Remove.
25200
252012012-08-08 Roland McGrath <roland@hack.frob.com>
25202
25203 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
25204
25205 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
25206 sysdeps/unix -> sysdeps/posix move.
25207 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
25208
252092012-08-07 Allan McRae <allan@archlinux.org>
25210
25211 [BZ #14303]
25212 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
25213 (SUNOS_CPP): Likewise.
25214 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
25215 not found.
25216 (open_input): Call CPP using execvp.
25217
252182012-08-07 Joseph Myers <joseph@codesourcery.com>
25219
25220 * sysdeps/unix/sysv/linux/kernel-features.h
25221 (__ASSUME_PROT_GROWSUPDOWN): Remove.
25222 (__ASSUME_NO_CLONE_DETACHED): Likewise.
25223 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25224 (__ASSUME_WAITID_SYSCALL): Likewise.
25225 * sysdeps/unix/sysv/linux/dl-execstack.c
25226 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
25227 code unconditional.
25228 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
25229 conditional code.
25230 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
25231 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
25232 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
25233 code.
25234 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
25235 unconditional.
25236 [__ASSUME_WAITID_SYSCALL]: Likewise.
25237 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
25238
252392012-08-07 Roland McGrath <roland@hack.frob.com>
25240
25241 * sysdeps/unix/closedir.c: Renamed to ...
25242 * sysdeps/posix/closedir.c: ... here.
25243 * sysdeps/unix/dirfd.c: Renamed to ...
25244 * sysdeps/posix/dirfd.c: ... here.
25245 * sysdeps/unix/dirstream.h: Renamed to ...
25246 * sysdeps/posix/dirstream.h: ... here.
25247 * sysdeps/unix/fdopendir.c: Renamed to ...
25248 * sysdeps/posix/fdopendir.c: ... here.
25249 * sysdeps/unix/opendir.c: Renamed to ...
25250 * sysdeps/posix/opendir.c: ... here.
25251 * sysdeps/unix/readdir.c: Renamed to ...
25252 * sysdeps/posix/readdir.c: ... here.
25253 * sysdeps/unix/readdir_r.c: Renamed to ...
25254 * sysdeps/posix/readdir_r.c: ... here.
25255 * sysdeps/unix/rewinddir.c: Renamed to ...
25256 * sysdeps/posix/rewinddir.c: ... here.
25257 * sysdeps/unix/seekdir.c: Renamed to ...
25258 * sysdeps/posix/seekdir.c: ... here.
25259 * sysdeps/unix/telldir.c: Renamed to ...
25260 * sysdeps/posix/telldir.c: ... here.
25261 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
25262 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
25263 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
25264 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
25265
25266 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
25267 * bits/fcntl.h: ... here.
25268
25269 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
25270 not 0.
25271 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
25272 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
25273 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
25274 (struct flock): Move l_start, l_len to the beginning.
25275 Use __pid_t for l_pid.
25276 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
25277 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
25278 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
25279 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
25280 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
25281 [__USE_LARGEFILE64] (struct flock64): New type.
25282 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
25283
25284 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
25285 * bits/dirent.h: ... here.
25286
25287 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
25288 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
25289
252902012-08-07 Joseph Myers <joseph@codesourcery.com>
25291
25292 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25293 Change from 2.6.0 to 2.6.16.
25294 * sysdeps/unix/sysv/linux/configure: Regenerated.
25295 * sysdeps/unix/sysv/linux/kernel-features.h
25296 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
25297 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
25298 version.
25299 (__ASSUME_UTIMES): Likewise.
25300 (__ASSUME_CLONE_STOPPED): Remove.
25301 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
25302 architectures, not kernel version.
25303 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
25304 (__ASSUME_NO_CLONE_DETACHED): Likewise.
25305 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25306 (__ASSUME_WAITID_SYSCALL): Likewise.
25307 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
25308 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
25309 * README: State 2.6.16 as minimum Linux kernel version. Do not
25310 refer to older versions.
25311
253122012-08-06 Roland McGrath <roland@hack.frob.com>
25313
25314 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
25315 Define alphasort64 as an alias.
25316 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
25317 Define versionsort64 as an alias.
25318 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
25319 Define scandir64 as an alias.
25320 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
25321 Define scandirat64 as an alias.
25322 * dirent/alphasort64.c (alphasort64):
25323 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
25324 * dirent/versionsort64.c: Likewise.
25325 * dirent/scandir64.c: Likewise.
25326 * dirent/scandirat64.c: Likewise.
25327 * sysdeps/wordsize-64/alphasort.c: File removed.
25328 * sysdeps/wordsize-64/alphasort64.c: File removed.
25329 * sysdeps/wordsize-64/scandir.c: File removed.
25330 * sysdeps/wordsize-64/scandir64.c: File removed.
25331 * sysdeps/wordsize-64/scandirat.c: File removed.
25332 * sysdeps/wordsize-64/scandirat64.c: File removed.
25333 * sysdeps/wordsize-64/versionsort.c: File removed.
25334 * sysdeps/wordsize-64/versionsort64.c: File removed.
25335 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
25336 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
25337 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
25338 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
25339 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
25340 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
25341 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
25342 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
25343
25344 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
25345 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25346 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
25347 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25348 [defined __arch64__ || defined __sparcv9]
25349 (__INO_T_MATCHES_INO64_T): New macro.
25350 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25351 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
25352 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
25353 * sysdeps/unix/sysv/linux/bits/dirent.h
25354 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
25355 (_DIRENT_MATCHES_DIRENT64): New macro.
25356
25357 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
25358 Define lockf64 as an alias.
25359 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
25360 Define fseeko64 as an alias.
25361 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
25362 Define ftello64 as an alias.
25363 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
25364 Define _IO_fgetpos64 and fgetpos64 as aliases.
25365 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
25366 Define _IO_fsetpos64 and fsetpos64 as aliases.
25367 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
25368 Conditionalize body on this.
25369 * libio/fseeko64.c: Likewise.
25370 * libio/ftello64.c: Likewise.
25371 * libio/iofgetpos64.c: Likewise.
25372 * libio/iofsetpos64.c: Likewise.
25373 * sysdeps/wordsize-64/lockf.c: File removed.
25374 * sysdeps/wordsize-64/lockf64.c: File removed.
25375 * sysdeps/wordsize-64/fseeko.c: File removed.
25376 * sysdeps/wordsize-64/fseeko64.c: File removed.
25377 * sysdeps/wordsize-64/ftello.c: File removed.
25378 * sysdeps/wordsize-64/ftello64.c: File removed.
25379 * sysdeps/wordsize-64/iofgetpos.c: File removed.
25380 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
25381 * sysdeps/wordsize-64/iofsetpos.c: File removed.
25382 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
25383 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
25384 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
25385 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
25386 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
25387 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
25388 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
25389 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
25390 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
25391 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
25392 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
25393
25394 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25395 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25396 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
25397 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25398 [defined __arch64__ || defined __sparcv9]
25399 (__OFF_T_MATCHES_OFF64_T): New macro.
25400 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25401 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25402 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25403 (__OFF_T_MATCHES_OFF64_T): New macro.
25404
254052012-08-06 H.J. Lu <hongjiu.lu@intel.com>
25406
25407 * stdlib/secure-getenv.c (__secure_getenv): Replace
25408 GLIBC_2_16 with GLIBC_2_17.
25409
254102012-08-06 H.J. Lu <hongjiu.lu@intel.com>
25411
25412 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
25413 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
25414
254152012-08-03 David S. Miller <davem@davemloft.net>
25416
25417 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25418
254192012-08-03 Joseph Myers <joseph@codesourcery.com>
25420
25421 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
25422 Remove.
25423 (__ASSUME_CORRECT_SI_PID): Likewise.
25424 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
25425 (__ASSUME_TMPFS_NAME): Likewise.
25426 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
25427 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
25428 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
25429 (HAVE_AUX_SECURE): Make definition unconditional.
25430 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
25431 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
25432
254332012-08-03 Roland McGrath <roland@hack.frob.com>
25434
25435 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
25436 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
25437 * sysdeps/mach/hurd/eloop-threshold.h: New file.
25438 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
25439 __eloop_threshold instead of SYMLOOP_MAX.
25440
25441 * sysdeps/generic/eloop-threshold.h: New file.
25442 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
25443 of MAXSYMLINKS.
25444 * elf/chroot_canon.c (chroot_canon): Likewise.
25445
254462012-08-03 Joseph Myers <joseph@codesourcery.com>
25447
25448 [BZ #13717]
25449 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25450 Change to 2.6.0 everywhere.
25451 * sysdeps/unix/sysv/linux/configure: Regenerated.
25452 * sysdeps/unix/sysv/linux/kernel-features.h
25453 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
25454 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
25455 kernel versions.
25456 (__ASSUME_POSIX_TIMERS): Define unconditionally.
25457 (__ASSUME_FUTEX_REQUEUE): Remove.
25458 (__ASSUME_STATFS64): Define unconditionally.
25459 (__ASSUME_AT_SECURE): Likewise.
25460 (__ASSUME_CORRECT_SI_PID): Likewise.
25461 (__ASSUME_TGKILL): Define without depending on kernel version for
25462 i386.
25463 (__ASSUME_UTIMES): Likewise.
25464 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
25465 kernel version.
25466 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
25467 (__ASSUME_TMPFS_NAME): Likewise.
25468 * README: Update reference to Linux kernel versions.
25469
254702012-08-02 Marek Polacek <polacek@redhat.com>
25471
25472 [BZ# 14150]
25473 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
25474 libc_cv_asm_type_prefix with %.
25475 * configure: Regenerated.
25476 * include/libc-symbols.h: Remove comment about
25477 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
25478 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
25479 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
25480 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
25481 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
25482 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
25483 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
25484 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
25485 * elf/tst-unique2mod1.c: Likewise.
25486 * elf/tst-unique1mod2.c: Likewise.
25487 * elf/tst-unique1mod1.c: Likewise.
25488 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
25489 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
25490 Replace ASM_TYPE_DIRECTIVE with .type.
25491 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25492 * sysdeps/i386/sysdep.h: Likewise.
25493 * sysdeps/x86_64/sysdep.h: Likewise.
25494 * sysdeps/sh/sysdep.h: Likewise.
25495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
25496 Do not define ASM_TYPE_DIRECTIVE.
25497 * sysdeps/powerpc/sysdep.h: Likewise.
25498 * sysdeps/powerpc/powerpc32/sysdep.h:
25499 Replace ASM_TYPE_DIRECTIVE with .type.
25500 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
25501 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25502 * sysdeps/i386/fpu/e_powf.S: Likewise.
25503 * sysdeps/i386/fpu/e_expl.S: Likewise.
25504 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25505 * sysdeps/i386/fpu/e_acosh.S: Likewise.
25506 * sysdeps/i386/fpu/e_pow.S: Likewise.
25507 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
25508 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25509 * sysdeps/i386/fpu/s_expm1.S: Likewise.
25510 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
25511 * sysdeps/i386/fpu/e_log2.S: Likewise.
25512 * sysdeps/i386/fpu/e_log2l.S: Likewise.
25513 * sysdeps/i386/fpu/e_scalb.S: Likewise.
25514 * sysdeps/i386/fpu/e_powl.S: Likewise.
25515 * sysdeps/i386/fpu/e_log10f.S: Likewise.
25516 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
25517 * sysdeps/i386/fpu/e_logl.S: Likewise.
25518 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
25519 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
25520 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
25521 * sysdeps/i386/fpu/e_log2f.S: Likewise.
25522 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25523 * sysdeps/i386/fpu/e_log.S: Likewise.
25524 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25525 * sysdeps/i386/fpu/e_logf.S: Likewise.
25526 * sysdeps/i386/fpu/e_log10l.S: Likewise.
25527 * sysdeps/i386/fpu/e_atanh.S: Likewise.
25528 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
25529 * sysdeps/i386/fpu/e_log10.S: Likewise.
25530 * sysdeps/i386/fpu/s_frexp.S: Likewise.
25531 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25532 * sysdeps/i386/fpu/s_asinh.S: Likewise.
25533 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
25534 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25535 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
25536 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
25537 * sysdeps/i386/i686/strtok.S: Likewise.
25538 * sysdeps/i386/i386-mcount.S: Likewise.
25539 * sysdeps/i386/strtok.S: Likewise.
25540 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
25541 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25542 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25543 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25544 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
25545 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25546 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
25547 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
25548 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25549 * sysdeps/x86_64/_mcount.S: Likewise.
25550 * sysdeps/x86_64/strtok.S: Likewise.
25551 * sysdeps/sh/_mcount.S: Likewise.
25552
255532012-08-01 Roland McGrath <roland@hack.frob.com>
25554
25555 * libio/iofopen.c: Include <fcntl.h>.
25556 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
25557 (_IO_fopen64, fopen64): Define as aliases.
25558 * libio/iofopen64.c: Include <fcntl.h>.
25559 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
25560 Conditionalize body on this.
25561 * sysdeps/wordsize-64/iofopen.c: File removed.
25562 * sysdeps/wordsize-64/iofopen64.c: File removed.
25563
255642012-08-01 Marek Polacek <polacek@redhat.com>
25565
25566 * libc/Makeconfig: Use elf in place of binfmt-subdir.
25567 Use dlfcn directly instead of a variable.
25568 (binfmt-subdir): Do not define.
25569 (dlfcn): Likewise.
25570
255712012-08-01 Joseph Myers <joseph@codesourcery.com>
25572
25573 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
25574 Remove all definitions.
25575 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
25576 <kernel-features.h>.
25577 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25578 (miss_F_GETOWN_EX): Remove all definitions.
25579 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
25580 macro definition.
25581 [!__ASSUME_FCNTL64]: Remove conditional code.
25582 [__ASSUME_FCNTL64]: Make code unconditional.
25583 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
25584 <kernel-features.h>.
25585 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25586 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
25587 (lockf64) [__NR_fcntl64]: Make code unconditional.
25588 (lockf64) [__ASSUME_FCNTL64]: Likewise.
25589
25590 * sysdeps/unix/sysv/linux/kernel-features.h
25591 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
25592 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
25593 Make code unconditional.
25594 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25595 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
25597 [__NR_vfork]: Make code unconditional.
25598 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25599 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
25601 [__NR_vfork]: Make code unconditional.
25602 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25603 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25604
256052012-08-01 Roland McGrath <roland@hack.frob.com>
25606
25607 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
25608 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
25609
25610 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25611 Define mkstemp64 as an alias.
25612 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25613 Define mkstemps64 as an alias.
25614 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25615 Define mkostemp64 as an alias.
25616 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25617 Define mkostemps64 as an alias.
25618 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
25619 Conditionalize body on this.
25620 * misc/mkostemp64.c: Likewise.
25621 * misc/mkostemps64.c: Likewise.
25622 * misc/mkstemps64.c: Likewise.
25623 * sysdeps/wordsize-64/mkstemp64.c: File removed.
25624 * sysdeps/wordsize-64/mkostemp64.c: File removed.
25625 * sysdeps/wordsize-64/mkostemp.c: File removed.
25626 * sysdeps/wordsize-64/mkstemp.c: File removed.
25627 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
25628 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
25629 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
25630 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
25631
25632 [BZ #14138]
25633 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
25634 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
25635 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
25636 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
25637
25638 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
25639 compat_symbol macros from <shlib-compat.h> rather than the underlying
25640 default_symbol_version and symbol_version macros, so that DEFAULT
25641 lines in shlib-versions are respected.
25642 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
25643
256442012-08-01 Florian Weimer <fweimer@redhat.com>
25645
25646 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
25647 Declare with warn_unused_result.
25648 (setgid, setregid, setegid, setresgid): Likewise.
25649 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
25650 Likewise.
25651 * WUR-REPORT: Remove set*id functions.
25652
256532012-07-31 Pino Toscano <toscano.pino@tiscali.it>
25654
25655 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
25656
256572012-07-31 Roland McGrath <roland@hack.frob.com>
25658
25659 [BZ #10191]
25660 * include/sys/socket.h (__libc_accept, __libc_accept4):
25661 Add attribute_hidden.
25662 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
25663
25664 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
25665 use of PTR_MANGLE.
25666 * inet/getnetgrent_r.c (setup): Likewise.
25667
25668 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
25669
256702012-07-31 David S. Miller <davem@davemloft.net>
25671
25672 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25673
256742012-07-31 Joseph Myers <joseph@codesourcery.com>
25675
25676 [BZ #13629]
25677 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
25678 value between 1.0 and 2.0 and smaller part has absolute value less
25679 than 1.0.
25680 * math/s_clog10.c (__clog10): Likewise.
25681 * math/s_clog10f.c (__clog10f): Likewise.
25682 * math/s_clog10l.c (__clog10l): Likewise.
25683 * math/s_clogf.c (__clogf): Likewise.
25684 * math/s_clogl.c (__clogl): Likewise.
25685 * math/libm-test.inc (clog_test): Add more tests.
25686 (clog10_test): Likewise.
25687 * sysdeps/i386/fpu/libm-test-ulps: Update.
25688 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25689
256902012-07-31 Florian Weimer <fweimer@redhat.com>
25691
25692 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
25693 Exit with zero in case no suitable GID is found, and write a
25694 message to standard error.
25695
256962012-07-30 Roland McGrath <roland@hack.frob.com>
25697
25698 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
25699 rather than to 1.
25700 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
25701 (MAXPATHLEN): Removed.
25702 (NOGROUP, NODEV): New macros.
25703 (setbit, clrbit, isset, isclr): New macros.
25704 (howmany, roundup, powerof2): New macros.
25705 (DEV_BSIZE): New macro.
25706
25707 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
25708 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
25709
25710 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
25711 definition on [!__NO_LONG_DOUBLE_MATH].
25712
25713 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
25714 PTR_MANGLE and PTR_DEMANGLE.
25715
25716 * socket/accept4.c (accept4): Rename to __libc_accept4.
25717 Define accept4 as a weak alias.
25718
25719 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
25720 on [_DIRENT_HAVE_D_TYPE].
25721 * io/ftw.c (ftw_dir): Likewise.
25722
25723 * io/xmknod.c (__xmknod): Don't check PATH for being null.
25724
25725 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
25726
25727 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
25728 Use the BSD numbers rather than the arbitrary ones we had.
25729 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
25730 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
25731 (SIGXCPU, SIGXFSZ): New macros.
25732 (_NSIG): Now 32.
25733
25734 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
25735 initializer on [_LIBC_REENTRANT].
25736
25737 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
25738 definitions inside [_POSIX_MAPPED_FILES].
25739
25740 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
25741
25742 * dirent/opendir.c: Include <fcntl.h>.
25743
25744 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
25745 (__libc_getspecific): Likewise.
25746 (__libc_key_create): Likewise.
25747
25748 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
25749 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
25750 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
25751 (tmpfile64): Define as alias.
25752 * sysdeps/wordsize-64/tmpfile.c: File removed.
25753 * sysdeps/wordsize-64/tmpfile64.c: File removed.
25754 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
25755 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
25756
25757 * stdio-common/vfscanf.c: Include <stdbool.h>.
25758 * nss/makedb.c: Likewise.
25759 * stdio-common/_i18n_number.h: Likewise.
25760 * argp/argp-help.c: Likewise.
25761 * posix/wordexp.c: Likewise.
25762 * sysdeps/posix/spawni.c: Likewise.
25763 * nss/nss_files/files-initgroups.c: Likewise.
25764 * stdio-common/reg-modifier.c: Include <stdlib.h>.
25765 * nss/nss_files/files-initgroups.c: Likewise.
25766 * nss/nss_db/db-netgrp.c: Likewise.
25767 * nss/nss_db/db-initgroups.c: Likewise.
25768 * io/fchmodat.c: Include <sys/stat.h>.
25769
25770 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
25771 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
25772
25773 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
25774 [HAVE_MMAP].
25775
25776 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
25777 Add multiple inclusion protection.
25778
257792012-07-27 David S. Miller <davem@davemloft.net>
25780
25781 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25782
257832012-07-27 Gary Benson <gbenson@redhat.com>
25784
25785 [BZ #14298]
25786 * elf/rtld.c: Include <stap-probe.h>.
25787 (dl_main): Added static probes "init_start" and "init_complete".
25788 * elf/dl-load.c: Include <stap-probe.h>.
25789 (lose): Take new parameter "nsid".
25790 Added static probe "map_failed".
25791 (_dl_map_object_from_fd): Pass namespace id to lose.
25792 Added static probe "map_start".
25793 (open_verify): Pass namespace id to lose.
25794 * elf/dl-open.c: Include <stap-probe.h>.
25795 (dl_open_worker) Added static probes "map_complete", "reloc_start"
25796 and "reloc_complete".
25797 * elf/dl-close.c: Include <stap-probe.h>.
25798 (_dl_close_worker): Added static probes "unmap_start" and
25799 "unmap_complete".
25800 * elf/rtld-debugger-interface.txt: New file documenting the above.
25801
258022012-07-26 Roland McGrath <roland@hack.frob.com>
25803
25804 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
25805 rather than a string variable.
25806 * sunrpc/rpc_main.c (h_output): Likewise.
25807 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
25808
258092012-07-26 Pino Toscano <toscano.pino@tiscali.it>
25810
25811 * inet/check_native.c: New file.
25812
258132012-07-26 Joseph Myers <joseph@codesourcery.com>
25814
25815 [BZ #13629]
25816 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
25817 if larger part has absolute value 1.0.
25818 * math/s_clog10.c (__clog10): Likewise.
25819 * math/s_clog10f.c (__clog10f): Likewise.
25820 * math/s_clog10l.c (__clog10l): Likewise.
25821 * math/s_clogf.c (__clogf): Likewise.
25822 * math/s_clogl.c (__clogl): Likewise.
25823 * math/libm-test.inc (clog_test): Add more tests.
25824 (clog10_test): Likewise.
25825 * sysdeps/i386/fpu/libm-test-ulps: Update.
25826 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25827
25828 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
25829 (pltexit): Likewise.
25830 (La_regs): Likewise.
25831 (La_retval): Likewise.
25832 (int_retval): Likewise.
25833 Update #error for removed macros to refer only to definitions in
25834 tst-audit.h.
25835 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
25836 macro.
25837 (pltexit): Likewise.
25838 (La_regs): Likewise.
25839 (La_retval): Likewise.
25840 (int_retval): Likewise.
25841 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
25842 macro.
25843 (pltexit): Likewise.
25844 (La_regs): Likewise.
25845 (La_retval): Likewise.
25846 (int_retval): Likewise.
25847 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
25848 macro.
25849 (pltexit): Likewise.
25850 (La_regs): Likewise.
25851 (La_retval): Likewise.
25852 (int_retval): Likewise.
25853 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
25854 macro.
25855 (pltexit): Likewise.
25856 (La_regs): Likewise.
25857 (La_retval): Likewise.
25858 (int_retval): Likewise.
25859 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
25860 macro.
25861 (pltexit): Likewise.
25862 (La_regs): Likewise.
25863 (La_retval): Likewise.
25864 (int_retval): Likewise.
25865 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
25866 macro.
25867 (pltexit): Likewise.
25868 (La_regs): Likewise.
25869 (La_retval): Likewise.
25870 (int_retval): Likewise.
25871 * sysdeps/generic/tst-audit.h: Update comment to refer only to
25872 macro definitions in tst-audit.h.
25873 * sysdeps/i386/tst-audit.h: New file.
25874 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
25875 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
25876 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
25877 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
25878 * sysdeps/sh/tst-audit.h: Likewise.
25879 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
25880 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
25881 * sysdeps/x86_64/tst-audit.h: Likewise.
25882
258832012-07-26 Andreas Jaeger <aj@suse.de>
25884
25885 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
25886 ptrace.
25887
25888 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
25889 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
25890 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
25891 PTRACE_O_MASK.
25892 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
25893 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
25894 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
25895
25896 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
25897 value.
25898
25899 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
25900 _sigsys.
25901 (si_call_addr, si_syscall, si_arch): Define new macro.
25902 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
25903 _sigsys.
25904 (si_call_addr, si_syscall, si_arch): Define new marcro.
25905 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
25906 _sigsys.
25907 (si_call_addr, si_syscall, si_arch): Define new macro.
25908 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
25909 _sigsys.
25910 (si_call_addr, si_syscall, si_arch): Define new macro.
25911
259122012-07-25 Joseph Myers <joseph@codesourcery.com>
25913
25914 [BZ #13717]
25915 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25916 Change to 2.4.21 where previously 2.4.1.
25917 * sysdeps/unix/sysv/linux/configure: Regenerated.
25918 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
25919 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
25920 Linux kernel version.
25921 (__ASSUME_STD_AUXV): Remove.
25922 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
25923 kernel version.
25924 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
25925 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
25926 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
25927 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
25928 (__ASSUME_NETLINK_SUPPORT): Likewise.
25929 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
25930 (__no_netlink_support): Remove conditional definition.
25931 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
25932 Remove.
25933 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
25934 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
25935 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
25936 (if_nameindex_ioctl): Remove.
25937 (if_nameindex_netlink): Do not handle __no_netlink_support.
25938 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
25939 code.
25940 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
25941 Remove conditional code.
25942 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
25943 code.
25944 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
25945 unconditional.
25946 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
25947 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
25948 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
25949 Remove.
25950 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
25951 [!__ASSUME_STD_AUXV]: Remove conditional code.
25952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
25953 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
25954 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
25955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
25956 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
25957 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
25958 code.
25959 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
25960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
25961 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
25962 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
25963 conditional code.
25964 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
25965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
25966 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
25967 code.
25968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
25969 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
25970 conditional code.
25971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
25972 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25973 code unconditional.
25974 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25975 conditional code.
25976 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25977 unconditional.
25978 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25979 conditional code.
25980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25981 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25982 unconditional.
25983 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25984 conditional code.
25985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
25986 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25987 code unconditional.
25988 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25989 conditional code.
25990 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25991 unconditional.
25992 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25993 conditional code.
25994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
25995 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25996 code unconditional.
25997 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25998 conditional code.
25999 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26000 unconditional.
26001 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26002 conditional code.
26003
260042012-07-25 Andreas Schwab <schwab@linux-m68k.org>
26005
26006 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
26007 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
26008 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
26009 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
26010 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
26011 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
26012 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
26013 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
26014 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
26015 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
26016 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
26017 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
26018 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
26019 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
26020 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
26021 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
26022 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
26023 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
26024 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
26025 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
26026 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
26027 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
26028 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
26029
260302012-07-25 Florian Weimer <fweimer@redhat.com>
26031
26032 * Versions.def: Add GLIBC_2.17.
26033 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
26034 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
26035 Introduce __libc_secure_getenv.
26036 * stdlib/Versions (2.17): Add secure_getenv
26037 (GLIBC_PRIVATE): Add __libc_secure_getenv.
26038 * stdlib/secure-getenv.c: Rename __secure_getenv to
26039 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
26040 symbol __secure_getenv for GLIBC_2.0.
26041 * stdlib/tst-secure-getenv.c: New.
26042 * stdlib/Makefile (tests): Add testcase.
26043 * manual/startup.texi (Environment Access): Document
26044 secure_getenv.
26045 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
26046 __libc_secure_getenv.
26047 * inet/ruserpass.c (ruserpass): Likewise.
26048 * malloc/mtrace.c (mtrace): Likewise.
26049 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
26050 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
26051 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
26052 * sysdeps/posix/tempname.c: Likewise. Evaluate
26053 HAVE_SECURE_GETENV.
26054 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
26055 __secure_getenv to __libc_secure_getenv.
26056 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
26057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26058 Likewise.
26059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26060 Likewise.
26061 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
26062 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
26063 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26064 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
26065 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
26066 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26067 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
26068
260692012-07-25 Joseph Myers <joseph@codesourcery.com>
26070
26071 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
26072 (struct La_i86_retval): Likewise.
26073 (struct La_x86_64_regs): Likewise.
26074 (struct La_x86_64_retval): Likewise.
26075 (struct La_x32_regs): Likewise.
26076 (struct La_x32_retval): Likewise.
26077 (struct La_ppc32_regs): Likewise.
26078 (struct La_ppc32_retval): Likewise.
26079 (struct La_ppc64_regs): Likewise.
26080 (struct La_ppc64_retval): Likewise.
26081 (struct La_sh_regs): Likewise.
26082 (struct La_sh_retval): Likewise.
26083 (struct La_s390_32_regs): Likewise.
26084 (struct La_s390_32_retval): Likewise.
26085 (struct La_s390_64_regs): Likewise.
26086 (struct La_s390_64_retval): Likewise.
26087 (struct La_sparc32_regs): Likewise.
26088 (struct La_sparc32_retval): Likewise.
26089 (struct La_sparc64_regs): Likewise.
26090 (struct La_sparc64_retval): Likewise.
26091 (struct audit_ifaces): Remove architecture-specific pltenter and
26092 pltexit members.
26093 * sysdeps/i386/ldsodefs.h: New file.
26094 * sysdeps/powerpc/ldsodefs.h: Likewise.
26095 * sysdeps/s390/ldsodefs.h: Likewise.
26096 * sysdeps/sh/ldsodefs.h: Likewise.
26097 * sysdeps/sparc/ldsodefs.h: Likewise.
26098 * sysdeps/x86_64/ldsodefs.h: Likewise.
26099
261002012-07-25 Marek Polacek <polacek@redhat.com>
26101
26102 [BZ #6808]
26103 * math/libm-test.inc (yn_test): Add another test.
26104 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
26105 to ERANGE when the result is +-Inf.
26106 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
26107 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
26108 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
26109 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
26110
261112012-07-24 Joseph Myers <joseph@codesourcery.com>
26112
26113 * conform/data/time.h-data (NULL): Use macro-constant. Require
26114 equal to 0.
26115 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
26116 clock_t.
26117 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
26118
261192012-07-23 Thomas Schwinge <thomas@codesourcery.com>
26120
26121 * configure.in <sysdeps resolving>: Correct printing
26122 Implies_before.
26123 * configure: Regenerate.
26124
261252012-07-22 Thomas Schwinge <thomas@codesourcery.com>
26126
26127 * math/w_ilogb.c: Include <limits.h>.
26128 * math/w_ilogbl.c: Likewise.
26129
261302012-07-20 Joseph Myers <joseph@codesourcery.com>
26131
26132 * manual/lang.texi (__va_copy): Document primarily as ISO C99
26133 va_copy. Document allowing for unavailable va_copy only as
26134 pre-C99 compatibility.
26135 * manual/string.texi (Copying and Concatenation): Use va_copy
26136 instead of __va_copy in concat example.
26137
261382012-07-20 Pino Toscano <toscano.pino@tiscali.it>
26139
26140 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
26141 (__sendto): Use create_address_port. Initialize APORT and deallocate
26142 it if not null.
26143
26144 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
26145 with O_NOLINK passed to __file_name_lookup.
26146
26147 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
26148 with O_NOLINK passed to __file_name_lookup.
26149
26150 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
26151 negative N or less than NGIDS.
26152
26153 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
26154 type to string_t. Set ERANGE as errno and return it if NAME is not big
26155 enough. Use memcpy instead of strncpy.
26156
261572012-07-20 Joseph Myers <joseph@codesourcery.com>
26158
26159 * elf/Makefile (check-data): Remove.
26160 (localplt.data): New vpath directive.
26161 ($(objpfx)check-localplt.out): Use localplt.data from vpath
26162 instead of $(check-data).
26163 * scripts/data/localplt-generic.data: Move to ...
26164 * sysdeps/generic/localplt.data: ... here.
26165 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
26166 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
26167 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
26168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
26169 ... here.
26170 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
26171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
26172 ... here.
26173 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
26174 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
26175 ... here.
26176 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
26177 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
26178 ... here.
26179 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
26180 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
26181 ... here.
26182 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
26183 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
26184 ... here.
26185
261862012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26187
26188 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
26189 PPC32 and PPC64 files.
26190 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
26191 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
26192
261932012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26194
26195 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
26196 __makecontext_ret to ...
26197 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
26198 ... here and call exit if uc_link is NULL. New file.
26199 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
26200 __makecontext_ret.S.
26201 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
26202 __makecontext_ret to ...
26203 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
26204 ... here and call exit if uc_link is NULL. New file.
26205 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
26206 __makecontext_ret.S.
26207
262082012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26209
26210 * elf/elf.h (R_390_IRELATIVE): New definition.
26211 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
26212 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
26213 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
26214 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
26215 (elf_machine_lazy_rel): Likewise.
26216 * sysdeps/s390/dl-irel.h: New file.
26217 * sysdeps/s390/s390-64/memcpy.S: New asm code.
26218 * sysdeps/s390/s390-64/memset.S: New asm code.
26219 * sysdeps/s390/s390-64/memcmp.S: New asm code.
26220 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
26221 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
26222 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
26223 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
26224 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
26225 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
26226 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
26227 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
26228 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
26229 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
26230 * sysdeps/s390/s390-32/memcpy.S: New asm code.
26231 * sysdeps/s390/s390-32/memset.S: New asm code.
26232 * sysdeps/s390/s390-32/memcmp.S: New asm code.
26233
262342012-07-17 Marek Polacek <polacek@redhat.com>
26235
26236 [BZ #14349]
26237 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
26238 * sysdeps/s390/s390-64/configure.in: Likewise.
26239 * sysdeps/sparc/configure.in: Likewise.
26240 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
26241 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
26242 * sysdeps/i386/configure.in: Likewise.
26243 * sysdeps/x86_64/configure.in: Likewise.
26244 * sysdeps/sh/configure.in: Likewise.
26245 * sysdeps/s390/s390-32/configure: Regenerated.
26246 * sysdeps/s390/s390-64/configure: Likewise.
26247 * sysdeps/x86_64/configure: Likewise.
26248 * sysdeps/sh/configure: Likewise.
26249 * sysdeps/powerpc/powerpc64/configure: Likewise.
26250 * sysdeps/powerpc/powerpc32/configure: Likewise.
26251 * sysdeps/sparc/configure: Likwise.
26252 * sysdeps/i386/configure: Likewise.
26253
26254 * elf/dl-open.c: Comment fixes.
26255
262562012-07-17 Joseph Myers <joseph@codesourcery.com>
26257
26258 * Makefile [CXX] (check-data): Remove.
26259 [CXX] (c++-types.data): New vpath directive.
26260 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
26261 vpath. Do not allow for C++ type data being missing.
26262 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
26263 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
26264 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
26265 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
26266 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
26267 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
26268 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
26269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
26270 ... here.
26271 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
26272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
26273 ... here.
26274 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
26275 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
26276 ... here.
26277 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
26278 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
26279 ... here.
26280 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
26281 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
26282 ... here.
26283 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
26284 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
26285 ... here.
26286 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
26287 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
26288 ... here.
26289 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
26290 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
26291
26292 * elf/tls-macros.h (TLS_LE): Move architecture-specific
26293 definitions to architecture-specific files.
26294 (TLS_IE): Likewise.
26295 (TLS_LD): Likewise.
26296 (TLS_GD): Likewise.
26297 * sysdeps/i386/tls-macros.h: New file.
26298 * sysdeps/powerpc/tls-macros.h: Likewise.
26299 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
26300 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
26301 * sysdeps/sh/tls-macros.h: Likewise.
26302 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
26303 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
26304 * sysdeps/x86_64/tls-macros.h: Likewise.
26305
263062012-07-17 Thomas Schwinge <thomas@codesourcery.com>
26307
26308 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
26309 zero value for regular exit case.
26310
26311 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
26312 (__start_context): Preserve zero value for regular exit case.
26313
263142012-07-17 Thomas Schwinge <thomas@codesourcery.com>
26315 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26316
26317 * manual/setjmp.texi (setcontext): Clarify normal process
26318 termination when uc_link is the null pointer.
26319 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
26320 exit call.
26321
263222012-07-16 Andreas Schwab <schwab@linux-m68k.org>
26323
26324 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
26325 preprocessor. Test for each exception mask separately.
26326
263272012-07-16 Andreas Jaeger <aj@suse.de>
26328
26329 * po/ru.po: Update from translation team.
26330
263312012-07-15 Joseph Myers <joseph@codesourcery.com>
26332
26333 * conform/data/string.h-data (NULL): Use macro-constant. Require
26334 equal to 0.
26335 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
26336 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
26337 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
26338 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
26339 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26340
263412012-07-13 Andreas Jaeger <aj@suse.de>
26342
26343 * po/fr.po: Update from translation team.
26344
263452012-07-12 Marek Polacek <polacek@redhat.com>
26346
26347 [BZ #14173]
26348 * math/libm-test.inc (yn_test): Add test for BZ #14173.
26349 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
26350 loop condition.
26351
263522012-07-12 Joseph Myers <joseph@codesourcery.com>
26353
26354 [BZ #13717]
26355 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26356 Change to 2.4.1 where previously 2.4.0.
26357 * sysdeps/unix/sysv/linux/configure: Regenerated.
26358 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
26359 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
26360 version.
26361 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
26362 (__ASSUME_AT_CLKTCK): Remove.
26363 (__ASSUME_AT_PAGESIZE): Likewise.
26364 (__ASSUME_AT_XID): Likewise.
26365 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
26366 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
26367 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
26368 unconditionally.
26369 (HAVE_AUX_PAGESIZE): Likewise.
26370 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
26371 [__ASSUME_AT_CLKTCK]: Make code unconditional.
26372 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
26373
263742012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
26375
26376 [BZ #14307]
26377 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
26378 the temporary buffer used to invoke __gethostbyname2_r,
26379 __gethostbyaddr_r and gethostbyname4_r to make room for struct
26380 host_data / struct gaih_addrtuple.
26381 * resolv/nss_dns/dns-host.c (global scope): Move definition of
26382 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
26383 header file nss/nsswitch.h.
26384 * nss/nsswitch.h (global scope): Add definition of implementation
26385 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
26386 resolv/nss_dns/dns-host.c).
26387
263882012-07-11 Andreas Jaeger <aj@suse.de>
26389
26390 * po/fr.po: Update from translation team.
26391
26392 * po/sv.po: Update from translation team
26393 * po/fr.po: Another update from translation team.
26394
263952012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26396
26397 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
26398 for subnormals or multiply small sinh result by itself.
26399 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
26400 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26401
264022012-07-11 David S. Miller <davem@davemloft.net>
26403
26404 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26405
264062012-07-10 Andreas Schwab <schwab@linux-m68k.org>
26407
26408 [BZ #14347]
26409 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
26410 (INTERNAL_MARK): Shift it here.
26411
264122012-07-10 Marek Polacek <polacek@redhat.com>
26413
26414 [BZ #14151]
26415 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
26416 libc_cv_asm_global_directive with .globl.
26417 * configure: Regenerated.
26418 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
26419 with .globl.
26420 * sysdeps/i386/configure: Regenerated.
26421 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
26422 with .globl.
26423 * sysdeps/x86_64/configure: Regenerated.
26424 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
26425 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
26426 * elf/tst-unique2mod2.c: Likewise.
26427 * elf/tst-unique2mod1.c: Likewise.
26428 * elf/tst-unique1mod2.c: Likewise.
26429 * elf/tst-unique1mod1.c: Likewise.
26430 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26431 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
26432 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26433 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26434 * sysdeps/mach/sysdep.h: Likewise.
26435 * sysdeps/i386/sysdep.h: Likewise.
26436 * sysdeps/i386/i386-mcount.S: Likewise.
26437 * sysdeps/x86_64/_mcount.S: Likewise.
26438 * sysdeps/x86_64/sysdep.h: Likewise.
26439 * sysdeps/sh/_mcount.S: Likewise.
26440 * sysdeps/sh/sysdep.h: Likewise.
26441 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
26442 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
26443 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
26444 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26445 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
26446 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
26447 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
26448 * locale/localeinfo.h: Likewise.
26449 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
26450 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
26451
264522012-07-09 Roland McGrath <roland@hack.frob.com>
26453
26454 [BZ #14336]
26455 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
26456 system".
26457 * manual/message.texi (The Uniforum approach): Likewise.
26458 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
26459 (glibc iconv Implementation): Likewise.
26460
264612012-07-09 Joseph Myers <joseph@codesourcery.com>
26462
26463 [BZ #14337]
26464 * math/s_clog.c (__clog): Avoid scaling a value down where that
26465 could result in underflow.
26466 * math/s_clog10.c (__clog10): Likewise.
26467 * math/s_clog10f.c (__clog10f): Likewise.
26468 * math/s_clog10l.c (__clog10l): Likewise.
26469 * math/s_clogf.c (__clogf): Likewise.
26470 * math/s_clogl.c (__clogl): Likewise.
26471 * math/libm-test.inc (clog_test): Add more tests.
26472 (clog10_test): Likewise.
26473 * sysdeps/i386/fpu/libm-test-ulps: Update.
26474 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26475
264762012-07-06 Andreas Schwab <schwab@linux-m68k.org>
26477
26478 [BZ #14283]
26479 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
26480 by 7 not 8 to examine high bit of fractional part.
26481
26482 [BZ #14042]
26483 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
26484 for call to __mcount_internal.
26485 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
26486 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
26487 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
26488
264892012-07-06 Joseph Myers <joseph@codesourcery.com>
26490
26491 [BZ #14154]
26492 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
26493 approximation for values within 0x1p-13f of an odd multiple of
26494 pi/4.
26495 * math/libm-test.inc (tan_test): Do not allow spurious underflow
26496 exception. Add more tests.
26497 * sysdeps/i386/fpu/libm-test-ulps: Update.
26498
26499 [BZ #6778]
26500 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
26501 inputs and return -1 for them. Do not check for +Inf in case not
26502 reachable for +Inf.
26503 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
26504 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
26505 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26506 and return -1 for them. Do not check for +Inf in case not
26507 reachable for +Inf.
26508 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
26509 define.
26510 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26511 and return -1 for them. Do not check for +Inf in case not
26512 reachable for +Inf.
26513 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
26514 spurious underflow.
26515 * sysdeps/i386/fpu/libm-test-ulps: Update.
26516 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26517
265182012-07-06 Mike Frysinger <vapier@gentoo.org>
26519
26520 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
26521
265222012-07-05 Joseph Myers <joseph@codesourcery.com>
26523
26524 [BZ #14157]
26525 [BZ #14331]
26526 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
26527 could result in spurious underflow. Scale down values above
26528 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
26529 * math/s_csqrtf.c (__csqrtf): Likewise.
26530 * math/s_csqrtl.c (__csqrtl): Likewise.
26531 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
26532 spurious underflow.
26533 * sysdeps/i386/fpu/libm-test-ulps: Update.
26534 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26535
265362012-07-04 Andreas Schwab <schwab@linux-m68k.org>
26537
26538 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
26539 xopen-msg.sed.
26540 * catgets/xopen-msg.awk: New file.
26541 * catgets/xopen-msg.sed: Removed.
26542
26543 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
26544 po2text.sed.
26545 * intl/po2test.awk: New file.
26546 * intl/po2test.sed: Removed.
26547
265482012-07-04 Joseph Myers <joseph@codesourcery.com>
26549
26550 [BZ #14328]
26551 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
26552 or multiply small sinh result by itself.
26553 * math/s_ctanf.c (__ctanf): Likewise.
26554 * math/s_ctanh.c (__ctanh): Likewise.
26555 * math/s_ctanhf.c (__ctanhf): Likewise.
26556 * math/s_ctanhl.c (__ctanhl): Likewise.
26557 * math/s_ctanl.c (__ctanl): Likewise.
26558 * math/libm-test.inc (ctan_test_tonearest): New function.
26559 (ctan_test_towardzero): Likewise.
26560 (ctan_test_downward): Likewise.
26561 (ctan_test_upward): Likewise.
26562 (ctanh_test_tonearest): Likewise.
26563 (ctanh_test_towardzero): Likewise.
26564 (ctanh_test_downward): Likewise.
26565 (ctanh_test_upward): Likewise.
26566 (main): Call these new functions.
26567 * sysdeps/i386/fpu/libm-test-ulps: Update.
26568 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26569
265702012-07-03 Mike Frysinger <vapier@gentoo.org>
26571
26572 * .gitignore: Delete /ports entry.
26573
265742012-07-03 Andreas Jaeger <aj@suse.de>
26575
26576 * po/bg.po: Update from translation team.
26577 * po/cs.po: Likewise.
26578 * po/de.po: Likewise.
26579 * po/hr.po: Likewise.
26580 * po/nl.pl: Likewise.
26581 * po/pl.po: Likewise.
26582 * po/vi.po: Likewise.
26583
265842012-07-03 Joseph Myers <joseph@codesourcery.com>
26585
26586 * Makeconfig [!+link] (+link-before-libc): New variable.
26587 [!+link] (+link-after-libc): Likewise.
26588 [!+link] (+link-tests): Likewise.
26589 [!+link] (+link): Define in terms of $(+link-before-libc) and
26590 $(+link-after-libc).
26591 [!+link-static] (+link-static-before-libc): New variable.
26592 [!+link-static] (+link-static-after-libc): Likewise.
26593 [!+link-static] (+link-static-tests): Likewise.
26594 [!+link-static] (+link-static): Define in terms of
26595 $(+link-static-before-libc) and $(+link-static-after-libc).
26596 [build-shared] (link-libc-before-gnulib): New variable.
26597 [build-shared] (link-libc-tests): Likewise.
26598 [build-shared] (link-libc): Define in terms of
26599 $(link-libc-before-gnulib).
26600 [!build-shared] (link-libc-tests): New variable.
26601 (link-libc-static-tests): New variable.
26602 [!gnulib] (gnulib-arch): New variable.
26603 [!gnulib] (gnulib-tests): Likewise.
26604 [!gnulib] (static-gnulib-arch): Likewise.
26605 [!gnulib] (static-gnulib-tests): Likewise.
26606 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
26607 Define with "=" instead of ":=".
26608 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
26609 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
26610 * Rules (binaries-all-notests): New variable.
26611 (binaries-all-tests): Likewise.
26612 (binaries-static-notests): Likewise.
26613 (binaries-static-tests): Likewise.
26614 (binaries-all): Define using $(binaries-all-notests) and
26615 $(binaries-all-tests).
26616 (binaries-static): Define using $(binaries-static-notests) and
26617 $(binaries-static-tests).
26618 (binaries-shared-tests): New variable.
26619 (binaries-shared-notests): Likewise.
26620 (binaries-shared): Remove variable.
26621 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
26622 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
26623 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
26624 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
26625 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
26626 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
26627 * elf/Makefile (sln-modules): New variable.
26628 (extra-objs): Add $(sln-modules:=.o).
26629 (ldconfig-modules): Add static-stubs.
26630 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
26631 * elf/static-stubs.c: New file.
26632
26633 [BZ #14283]
26634 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
26635 by 7 not 8 to examine high bit of fractional part. Use volatile
26636 variables when splitting into final array of floats if
26637 __FLT_EVAL_METHOD__ != 0.
26638 * math/libm-test.inc (cos_test): Add another test.
26639 (sin_test): Likewise.
26640 * sysdeps/i386/fpu/libm-test-ulps: Update.
26641
26642 [BZ #14273]
26643 * math/libm-test.inc (cosh_test): Add more tests.
26644
26645 * version.h (RELEASE): Set to "development".
26646 (VERSION): Set to "2.16.90".
26647
266482012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
26649
26650 * NEWS: Update copyright. Remove last-updated date.
26651 Mention math library bug fixes and timezone data changes.
26652 * README: Mention GNU/Hurd, x32, and HPPA support status.
26653
266542012-06-28 Thomas Schwinge <thomas@codesourcery.com>
26655
26656 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
26657
266582012-06-27 Andreas Jaeger <aj@suse.de>
26659
26660 * manual/contrib.texi (Contributors): Add Samuel Thibault.
26661
266622012-06-25 Andreas Jaeger <aj@suse.de>
26663
26664 * sysdeps/s390/fpu/libm-test-ulps: Update.
26665
266662012-06-23 Andreas Schwab <schwab@linux-m68k.org>
26667 Thomas Schwinge <thomas@codesourcery.com>
26668
26669 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
26670 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
26671 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
26672 fanotify_mark.
26673
266742012-06-23 Thomas Schwinge <thomas@codesourcery.com>
26675
26676 * sysdeps/mach/start.c: Remove file.
26677 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
26678 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
26679 * sysdeps/sh/init-first.c: Likewise.
26680
26681 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
26682 registers for frame unwinding purposes, add CFI directives.
26683 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26684 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
26685 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
26686 Likewise.
26687
26688 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
26689 __fortify_fail returning.
26690 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26691
26692 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
26693 sysdeps/sh/____longjmp_chk.S.
26694 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
26695 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
26696 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
26697 (gen-as-const-headers): Append sigaltstack-offsets.sym.
26698
26699 * sysdeps/sh/abort-instr.h: New file.
26700 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
26701 process in case exit returns.
26702
26703 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
26704 initialize the GOT register before use.
26705
26706 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
26707 calculation of ARGC > 4.
26708
26709 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
26710 meaningful names to some local labels.
26711
267122012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26713 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26714
26715 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
26716 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
26717 (__arch_compare_and_exchange_val_16_acq): Likewise.
26718 (__arch_compare_and_exchange_val_32_acq): Likewise.
26719 (atomic_exchange_and_add): Fix gUSA sequence.
26720 (atomic_add): Likewise.
26721 (atomic_add_negative): Likewise.
26722 (atomic_add_zero): Likewise.
26723 (atomic_bit_test_set): Likewise.
26724
267252012-06-22 Andreas Schwab <schwab@redhat.com>
26726
26727 [BZ #13579]
26728 * include/link.h (struct link_map): Add l_free_initfini.
26729 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
26730 l_initfini.
26731 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
26732 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
26733 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
26734 set.
26735
267362012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
26737
26738 * configure.in: Use AC_LANG_SOURCE.
26739 * configure: Regenerate.
26740
267412012-06-22 Roland McGrath <roland@hack.frob.com>
26742
26743 * configure.in (libc_cv_localstatedir): New substituted variable.
26744 * configure: Regenerated.
26745 * config.make.in (localstatedir): New variable, substituted from
26746 libc_cv_localstatedir.
26747 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
26748 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
26749 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
26750 * sysdeps/gnu/configure: Regenerated.
26751
267522012-06-21 Jeff Law <law@redhat.com>
26753
26754 [BZ #14277]
26755 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
26756 free. Simplify list management for _LIBC case.
26757
267582012-06-21 Joseph Myers <joseph@codesourcery.com>
26759
26760 [BZ #14273]
26761 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
26762 Clear sign bit of 64-bit integer value before comparing against
26763 overflow value.
26764
26765 * sysdeps/mach/configure: Regenerated.
26766
267672012-06-21 H.J. Lu <hongjiu.lu@intel.com>
26768
26769 [BZ #14278]
26770 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
26771
267722012-06-21 Jeff Law <law@redhat.com>
26773
26774 [BZ #13882]
26775 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
26776 uint16_t for elements in the "seen" array to avoid char overflows.
26777 * elf/dl-fini.c (_dl_sort_fini): Likewise.
26778 * elf/dl-open.c (dl_open_worker): Likewise.
26779
267802012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
26781
26782 * scripts/list-sources.sh: Scan PORTS for translations.
26783 * po/libc.pot: Regenerated.
26784
267852012-06-21 Andreas Jaeger <aj@suse.de>
26786
26787 [BZ #12194]
26788 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
26789 warning.
26790 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
26791 * bits/byteswap-16.h (__bswap_16): Likewise.
26792 * bits/byteswap.h (__bswap_constant_16): Likewise.
26793
267942012-06-18 H.J. Lu <hongjiu.lu@intel.com>
26795
26796 [BZ #14117]
26797 * sysdeps/i386/fpu_control.h: Removed.
26798 * sysdeps/x86_64/fpu_control.h: Moved to ...
26799 * sysdeps/x86/fpu_control.h: Here.
26800
26801 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
26802 (_FPU_SETCW): Likewise.
26803
268042012-06-15 H.J. Lu <hongjiu.lu@intel.com>
26805
26806 [BZ #14117]
26807 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
26808 * sysdeps/x86/fpu/bits/mathinline.h: This.
26809 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
26810
26811 [BZ #14050]
26812 [BZ #14117]
26813 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
26814 functions if __x86_64__ is defined.
26815
268162012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
26817
26818 * string/endian.h: Add !__ASSEMBLER__ condition for including
26819 conversion interfaces.
26820
268212012-06-15 Joseph Myers <joseph@codesourcery.com>
26822
26823 [BZ #14241]
26824 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
26825 of ABS(x) in calculating zero to negative powers other than odd
26826 integers.
26827 * math/libm-test.inc (pow_test): Add more tests.
26828
268292012-06-15 Andreas Jaeger <aj@suse.de>
26830
26831 * manual/contrib.texi (Contributors): Update entry of Liubov
26832 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
26833 Machado Filho.
26834
268352012-06-15 Cyril Hrubis <metan@ucw.cz>
26836
26837 * string/string.h: Add __wur to GNU version of strerror_r.
26838
268392012-06-14 H.J. Lu <hongjiu.lu@intel.com>
26840
26841 [BZ #14229]
26842 * string/Makefile (tests): Add tst-strtok_r.
26843 * string/tst-strtok_r.c: New file.
26844 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
26845 RAX_LP/RDX_LP on SAVE_PTR.
26846
268472012-06-14 Roland McGrath <roland@hack.frob.com>
26848
26849 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
26850
268512012-06-14 Joseph Myers <joseph@codesourcery.com>
26852
26853 * libm_test.inc (csqrt_test): Allow more spurious underflow
26854 exceptions.
26855 (j0_test): Likewise.
26856 (j1_test): Likewise.
26857 (y0_test): Likewise.
26858 (y1_test): Likewise.
26859
268602012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
26861
26862 * po/Makefile (libc.pot): Use UTF-8 charset.
26863
268642012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
26865
26866 [BZ #14210]
26867 Suppress sign-conversion warning from FD_SET.
26868 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
26869 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
26870 not unsigned long int.
26871 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
26872
268732012-06-12 H.J. Lu <hongjiu.lu@intel.com>
26874
26875 [BZ #14050]
26876 [BZ #14117]
26877 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
26878 __extern_always_inline instead of __extern_inline.
26879 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
26880 (__signbit): Likewise.
26881 (__signbitl): Support C++ namespace.
26882 (lrintf): New inline function.
26883 (lrint): Likewise.
26884 (llrintf): Likewise.
26885 (llrint): Likewise.
26886 (fmaxf): Likewise.
26887 (fmax): Likewise.
26888 (fminf): Likewise.
26889 (fmin): Likewise.
26890 (rint): Likewise.
26891 (rintf): Likewise.
26892 (ceil): Likewise.
26893 (ceilf): Likewise.
26894 (floor): Likewise.
26895 (floorf): Likewise.
26896 (nearbyint): Likewise.
26897 (nearbyintf): Likewise.
26898
268992012-06-12 Thomas Schwinge <thomas@codesourcery.com>
26900
26901 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
26902 non-default versions.
26903
269042012-06-11 Roland McGrath <roland@hack.frob.com>
26905
26906 [BZ #14218]
26907 * manual/argp.texi (Argp): Reword argp_parse description slightly.
26908
269092012-06-09 Thomas Schwinge <thomas@codesourcery.com>
26910
26911 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
26912 (FE_UPWARD, FE_DOWNWARD): Don't define.
26913 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
26914 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
26915
26916 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
26917 reading it.
26918 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
26919 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26920
269212012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26922
26923 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26924 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
26925 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
26926 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
26927
269282012-06-06 H.J. Lu <hongjiu.lu@intel.com>
26929
26930 [BZ #14117]
26931 * sysdeps/i386/fpu/bits/fenv.h: Removed.
26932 * sysdeps/i386/fpu/Implies: New file.
26933 * sysdeps/x86_64/fpu/Implies: Likewise.
26934 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
26935 * sysdeps/x86/fpu/bits/fenv.h: This.
26936
26937 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
26938 __SSE_MATH__.
26939
269402012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
26941
26942 [BZ #14134]
26943 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
26944 character 0xffff that matches the last element of the
26945 conversion table.
26946
269472012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26948
26949 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
26950 fmodl commit.
26951
269522012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26953
26954 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
26955 values higher than 25.6283.
26956
269572012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26958
26959 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
26960 subnormal exponent extraction and add some __builtin_expect.
26961 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
26962 Fix for subnormal mantissa calculation.
26963
269642012-06-04 Mike Frysinger <vapier@gentoo.org>
26965
26966 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
26967 cpu2 is -1 and errno is not ENOSYS.
26968
269692012-06-04 H.J. Lu <hongjiu.lu@intel.com>
26970
26971 [BZ #14117]
26972 * sysdeps/i386/i486/bits/string.h: Renamed to ...
26973 * sysdeps/x86/bits/string.h: This.
26974 * sysdeps/x86_64/bits/string.h: Removed.
26975
26976 * sysdeps/i386/i486/bits/string.h: Define inline functions only
26977 if not compiling for x86-64, but compiling for >= i486.
26978
26979 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
26980 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
26981
26982 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
26983 New macro from Linux kernel 3.4.0.
26984 (FP_XSTATE_MAGIC2): Likewise.
26985 (FP_XSTATE_MAGIC2_SIZE): Likewise.
26986 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
26987 (struct _fpx_sw_bytes): New struct.
26988 (struct _xsave_hdr): Likewise.
26989 (struct _ymmh_state): Likewise.
26990 (struct _xstate): Likewise.
26991
26992 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
26993 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
26994 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
26995 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
26996 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
26997 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
26998
26999 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
27000 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
27001 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
27002 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
27003 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
27004 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
27005
270062012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27007
27008 [BZ #13743]
27009 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
27010 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
27011 (sysdep_headers): Include sys/platform/ppc.h.
27012 * sysdeps/powerpc/test-gettimebase.c: Test for
27013 __ppc_get_timebase() to catch future ISA opcode/insn changes.
27014 * manual/Makefile (appendices): Include platform.texi.
27015 * manual/contrib.texi (Contributors): Update @node pointers.
27016 * manual/maint.texi (Maintenance): Likewise.
27017 (Platform): New node.
27018 * manual/platform.texi: New file. Document the new features.
27019
270202012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
27021 Jakub Jelinek <jakub@redhat.com>
27022
27023 [BZ #14188]
27024 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
27025 where __builtin_expect is unavailable.
27026
270272012-06-03 David S. Miller <davem@davemloft.net>
27028
27029 * stdlib/longlong.h: Updated from GCC.
27030
270312012-06-02 Andreas Schwab <schwab@linux-m68k.org>
27032
27033 [BZ #14042]
27034 * sysdeps/powerpc/powerpc32/mcount.c: New file.
27035 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
27036 __mcount_internal.
27037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
27038 (GLIBC_2.16): Likewise.
27039
270402012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27041
27042 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
27043
270442012-06-01 Joseph Myers <joseph@codesourcery.com>
27045
27046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
27047 (default-abi): New variable.
27048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
27049 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
27050 variable.
27051 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
27052 Likewise.
27053 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
27054 Likewise.
27055 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
27056 Likewise.
27057
27058 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
27059 definition. Document in comment.
27060
270612012-06-01 David S. Miller <davem@davemloft.net>
27062
27063 * stdlib/longlong.h: Updated from GCC.
27064
270652012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27066
27067 [BZ #14117]
27068 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
27069 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
27070 sys/debugreg.h sys/io.h here.
27071 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
27072 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
27073 sys/io.h.
27074 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
27075 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
27076 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
27077 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
27078 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
27079 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
27080
27081 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
27082 Define only if __x86_64__ is defined.
27083
270842012-06-01 Joseph Myers <joseph@codesourcery.com>
27085
27086 [BZ #14048]
27087 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
27088 Use int64_t for variable i.
27089 * math/libm-test.inc (fmod_test): Add more tests.
27090
27091 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
27092 z computation is not scheduled after fetestexcept.
27093 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
27094 Use math_force_eval instead of asm to ensure calculation scheduled
27095 before exception test.
27096 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
27097 Ensure a1 + u.d computation is not scheduled after fetestexcept.
27098
270992012-06-01 Aurelien Jarno <aurelien@aurel32.net>
27100
27101 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
27102 computation is not scheduled after fetestexcept.
27103
271042012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27105
27106 [BZ #14117]
27107 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
27108 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
27109
271102012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27111
27112 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
27113 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
27114
271152012-05-31 H.J. Lu <hongjiu.lu@intel.com>
27116
27117 [BZ #14117]
27118 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
27119 <bits/wordsize.h>.
27120 (__WCHAR_MIN): Support __WORDSIZE == 64.
27121 (__WCHAR_MAX): Likewise.
27122
27123 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
27124 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
27125
27126 [BZ #14183]
27127 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
27128 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
27129
27130 [BZ #14117]
27131 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
27132 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
27133
27134 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
27135 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
27136
27137 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
27138 Defined to 1 if __x86_64__ isn't defined.
27139 (_STAT_VER_LINUX_OLD): New.
27140 (st_atime): Remove duplicate.
27141 (st_mtime): Likewise.
27142 (st_ctime): Likewise.
27143
271442012-05-31 David S. Miller <davem@davemloft.net>
27145
27146 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
27147 entries.
27148
271492012-06-01 Andreas Schwab <schwab@linux-m68k.org>
27150
27151 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
27152 gen-libm-test.pl.
27153
27154 [BZ #14132]
27155 * elf/dl-reloc.c: Include <_itoa.h>.
27156 (_dl_reloc_bad_type): Remove use of INTUSE.
27157 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
27158 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
27159 * stdio-common/psiginfo.c (psiginfo): Likewise.
27160 * stdio-common/psignal.c (psignal): Likewise.
27161 * string/strsignal.c (strsignal): Likewise.
27162 * include/signal.h (_sys_siglist): Declare hidden proto.
27163 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
27164 INTVARDEF with libc_hidden_data_def.
27165 * stdio-common/itoa-udigits.c: Likewise.
27166 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
27167 (_itoa_lower_digits_internal): Remove declaration.
27168 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
27169 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
27170 (_sys_sigabbrev_internal): Remove aliases.
27171 (_sys_siglist): Define hidden alias.
27172
271732012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
27174
27175 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27176 bits/sysctl.h.
27177
271782012-05-31 H.J. Lu <hongjiu.lu@intel.com>
27179
27180 [BZ #14117]
27181 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
27182 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
27183
27184 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
27185 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
27186 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
27187 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
27188 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
27189 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
27190
27191 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
27192 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
27193 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
27194
27195 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
27196 with __addr.
27197 (insw): Likewise.
27198 (insl): Likewise.
27199 (outsb): Likewise.
27200 (outsw): Likewise.
27201 (outsl): Likewise.
27202
27203 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
27204 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
27205 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
27206
27207 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
27208 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
27209 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
27210 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
27211 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
27212 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
27213
27214 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
27215 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
27216
27217 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
27218 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
27219
27220 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
27221 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
27222 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
27223
27224 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
27225 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
27226 to ...
27227 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
27228
27229 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
27230 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
27231 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
27232
27233 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
27234 for x86-64.
27235 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
27236
272372012-05-31 Joseph Myers <joseph@codesourcery.com>
27238
27239 * math/math.h (M_El): Use two more decimal places.
27240 (M_LOG2El): Likewise.
27241 (M_LOG10El): Likewise.
27242 (M_LN2l): Likewise.
27243 (M_LN10l): Likewise.
27244 (M_PIl): Likewise.
27245 (M_PI_2l): Likewise.
27246 (M_PI_4l): Likewise.
27247 (M_1_PIl): Likewise.
27248 (M_2_PIl): Likewise.
27249 (M_2_SQRTPIl): Likewise.
27250 (M_SQRT2l): Likewise.
27251 (M_SQRT1_2l): Likewise.
27252
272532012-05-31 David S. Miller <davem@davemloft.net>
27254
27255 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
27256 values between float registers.
27257 * sysdeps/sparc/sparc64/memset.S: Likewise.
27258 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27259
272602012-05-31 Mike Frysinger <vapier@gentoo.org>
27261
27262 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
27263 -D_FORTIFY_SOURCE=1.
27264 (CPPFLAGS-tst-longjmp_chk.c): Define.
27265 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
27266 (CPPFLAGS-tst-longjmp_chk2.c): Define.
27267 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
27268 CFLAGS-tst-wchar-h.c.
27269
272702012-05-31 Marek Polacek <polacek@redhat.com>
27271
27272 [BZ #14132]
27273 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
27274 __endmntent_internal): Remove declaration.
27275 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
27276 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
27277 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
27278
272792012-05-30 David S. Miller <davem@davemloft.net>
27280
27281 * sysdeps/sparc/sparc32/soft-fp/q_util.c
27282 (___Q_simulate_exceptions): Use real FP ops rather than writing
27283 into the %fsr.
27284 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
27285 Likewise.
27286
272872012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27288
27289 [BZ #14117]
27290 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
27291 * sysdeps/x86/bits/xtitypes.h: This.
27292
27293 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
27294 * sysdeps/x86/bits/wordsize.h: This.
27295
27296 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
27297 * sysdeps/x86/bits/huge_vall.h: This.
27298
27299 * sysdeps/i386/bits/select.h: Removed.
27300 * sysdeps/x86_64/bits/select.h: Renamed to ...
27301 * sysdeps/x86/bits/select.h: This.
27302
27303 * sysdeps/i386/bits/setjmp.h: Removed.
27304 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
27305 * sysdeps/x86/bits/setjmp.h: This.
27306
27307 * sysdeps/i386/bits/mathdef.h: Removed.
27308 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
27309 * sysdeps/x86/bits/mathdef.h: This.
27310
273112012-05-30 Andreas Schwab <schwab@linux-m68k.org>
27312
27313 [BZ #14132]
27314 * include/sys/socket.h (__connect_internal)
27315 (__libc_sa_len_internal): Remove declaration.
27316 (__connect, __libc_sa_len): Declare hidden_proto.
27317 (SA_LEN): Remove use of INTUSE.
27318 * socket/connect.c: Add libc_hidden_def.
27319 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
27320 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
27321 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
27322 alias.
27323 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
27324 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
27325 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
27326 of adding _internal alias.
27327
273282012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27329
27330 [BZ #14117]
27331 * sysdeps/i386/bits/link.h: Removed.
27332 * sysdeps/i386/bits/linkmap.h: Likewise.
27333 * sysdeps/x86_64/bits/link.h: Renamed to ...
27334 * sysdeps/x86/bits/link.h: This.
27335 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
27336 * sysdeps/x86/bits/linkmap.h: This.
27337
27338 * sysdeps/i386/bits/endian.h: Removed.
27339 * sysdeps/x86_64/bits/endian.h: Renamed to ...
27340 * sysdeps/x86/bits/endian.h: This.
27341
27342 * sysdeps/i386/bits/byteswap.h: Removed.
27343 * sysdeps/i386/bits/byteswap-16.h: Likewise.
27344 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
27345 * sysdeps/x86/bits/byteswap.h: This.
27346 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
27347 * sysdeps/x86/bits/byteswap-16.h: This.
27348 * sysdeps/i386/Implies: Add x86.
27349 * sysdeps/x86_64/Implies: Likewise.
27350
273512012-05-30 David S. Miller <davem@davemloft.net>
27352
27353 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
27354 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
27355 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
27356 (FP_TRAPPING_EXCEPTIONS): Define.
27357 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
27358 (FP_TRAPPING_EXCEPTIONS): Define.
27359 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
27360 subnormals only when inexact has been signalled or underflow
27361 exceptions are enabled.
27362 (_FP_PACK_CANONICAL): Likewise.
27363
273642012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27365
27366 [BZ #14183]
27367 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
27368 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
27369
273702012-05-30 Richard Henderson <rth@twiddle.net>
27371
27372 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
27373 with #ifndef NOT_IN_libc.
27374
27375 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
27376 marked to avoid plt entry.
27377
273782012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27379
27380 [BZ #14112]
27381 * Makeconfig (default-abi): New macro.
27382 (abi-includes): Likewise.
27383 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
27384 $(abi-$(default-abi)-lib-soname) for soname if defined.
27385 ($(common-objpfx)gnu/lib-names.stmp): Generate from
27386 abi-variants.
27387 * Makefile (installed-stubs): Likewise.
27388 * include/stubs-biarch.h: Removed.
27389 * scripts/lib-names.awk: Only handle one library at a time.
27390 * scripts/soversions.awk: Remove WORDSIZE support.
27391 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
27392 entries.
27393 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
27394 Removed.
27395 (syscall-list-default-condition): Likewise.
27396 (syscall-list-default-condition): Likewise.
27397 (syscall-list-includes): Likewise.
27398 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
27399 syscall-list-* with abi-*. Handle undefined abi-variants.
27400 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
27401 * sysdeps/unix/sysv/linux/i386/Implies: New file.
27402 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
27403 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
27404 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
27405 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
27406 Removed.
27407 (syscall-list-32-options): Likewise.
27408 (syscall-list-32-condition): Likewise.
27409 (syscall-list-64-options): Likewise.
27410 (syscall-list-64-condition): Likewise.
27411 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
27412 macro.
27413 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
27414 Renamed to ...
27415 (abi-*): This.
27416 (abi-64-ld-soname): New macro.
27417 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
27418 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
27419 Renamed to ...
27420 (abi-*): This.
27421 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
27422 * sysdeps/x86_64/x32/shlib-versions: Likewise.
27423
274242012-05-30 Joseph Myers <joseph@codesourcery.com>
27425
27426 * sysdeps/unix/sysv/linux/kernel-features.h
27427 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
27428 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
27429 include <kernel-features.h>.
27430 [!__NR_ftruncate64]: Remove conditional code.
27431 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27432 [__NR_ftruncate64]: Make code unconditional.
27433 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27434 * sysdeps/unix/sysv/linux/truncate64.c: Do not
27435 include <kernel-features.h>.
27436 [!__NR_ftruncate64]: Remove conditional code.
27437 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27438 [__NR_ftruncate64]: Make code unconditional.
27439 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
27441 include <kernel-features.h>.
27442 [!__NR_ftruncate64]: Remove conditional code.
27443 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27444 [__NR_ftruncate64]: Make code unconditional.
27445 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
27447 include <kernel-features.h>.
27448 [!__NR_ftruncate64]: Remove conditional code.
27449 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27450 [__NR_ftruncate64]: Make code unconditional.
27451 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27452
27453 * configure.in (libc_cv_fpie): Weaken to a compile test using
27454 LIBC_TRY_CC_OPTION.
27455 * configure: Regenerated.
27456
274572012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27458
27459 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
27460 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
27461 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
27462 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27463 Refreshed.
27464 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
27465 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
27466 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
27467 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
27468 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
27469 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27470 Refreshed.
27471
274722012-05-27 David S. Miller <davem@davemloft.net>
27473
27474 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
27475 (___Q_zero): New.
27476 (__Q_simulate_exceptions): Return void. Change to simulate
27477 exceptions by writing into the %fsr.
27478 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
27479 (__Qp_handle_exceptions): Likewise.
27480 (numbers): Delete.
27481 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
27482 __Qp_handle_exceptions.
27483 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
27484 __Qp_handle_exceptions.
27485 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27486 as unused and give dummy FP_RND_NEAREST initializer.
27487 (FP_INHIBIT_RESULTS): Define.
27488 (___Q_simulate_exceptions): Update declaration.
27489 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
27490 formatting.
27491 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27492 as unused and give dummy FP_RND_NEAREST initializer.
27493 (__Qp_handle_exceptions): Update declaration.
27494 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
27495 formatting.
27496
274972012-05-27 Thomas Schwinge <thomas@codesourcery.com>
27498
27499 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
27500 the temporary FPU control word.
27501 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
27502 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
27503 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
27504 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
27505 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
27506 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
27507 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
27508 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
27509 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
27510 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
27511 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27512
275132012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27514
27515 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
27516 fields.
27517
275182012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
27519
27520 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
27521 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
27522 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
27523 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
27524 Likewise.
27525 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
27526 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
27527 Likewise.
27528
275292012-05-27 Ulrich Drepper <drepper@gmail.com>
27530
27531 * po/h.po: Update from translation team.
27532
275332012-05-26 Andreas Schwab <schwab@linux-m68k.org>
27534
27535 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
27536
27537 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
27538 handling of denormals.
27539 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
27540 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
27541 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
27542 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
27543 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27544 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
27545 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
27546 Likewise.
27547
275482012-05-26 Marek Polacek <polacek@redhat.com>
27549
27550 [BZ #14152]
27551 * math/libm-test.inc (fma_test): Don't always expect underflow
27552 exception.
27553
275542012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27555
27556 [BZ #12416]
27557 * elf/tst-execstack.c: Include stackinfo.h.
27558 (do_test): Adjust test case to ensure that pthread_getattr_np
27559 behaviour remains the same after marking stack executable.
27560
275612012-05-25 Joseph Myers <joseph@codesourcery.com>
27562
27563 * sysdeps/unix/sysv/linux/kernel-features.h
27564 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
27565 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
27566 kernel-features.h.
27567 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27568 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27569 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
27570 kernel-features.h.
27571 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27572 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27573
275742012-05-25 H.J. Lu <hongjiu.lu@intel.com>
27575
27576 * configure.in: Define the default includes to being none.
27577 * configure: Regenerated.
27578
275792012-05-25 Roland McGrath <roland@hack.frob.com>
27580
27581 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
27582 * sysdeps/x86_64/setjmp.S: Likewise.
27583 * sysdeps/i386/bsd-setjmp.S: Likewise.
27584 * sysdeps/i386/bsd-_setjmp.S: Likewise.
27585 * sysdeps/i386/setjmp.S: Likewise.
27586 * sysdeps/i386/__longjmp.S: Likewise.
27587 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
27588 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
27589
27590 * include/stap-probe.h: New file.
27591 * configure.in: Handle --enable-systemtap.
27592 * configure: Regenerated.
27593 * config.h.in (USE_STAP_PROBE): New #undef.
27594 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
27595 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
27596 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
27597
275982012-05-25 Joseph Myers <joseph@codesourcery.com>
27599
27600 [BZ #13717]
27601 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
27602 to 2.4.0 where earlier.
27603 * sysdeps/unix/sysv/linux/configure: Regenerated.
27604 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
27605 <kernel-features.h>.
27606 [__ASSUME_32BITUIDS]: Make code unconditional.
27607 [!__ASSUME_32BITUIDS]: Remove conditional code.
27608 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
27609 <kernel-features.h>.
27610 [__ASSUME_32BITUIDS]: Make code unconditional.
27611 [!__ASSUME_32BITUIDS]: Remove conditional code.
27612 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
27613 [__ASSUME_32BITUIDS]: Make code unconditional.
27614 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
27615 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
27616 <kernel-features.h>.
27617 [__ASSUME_32BITUIDS]: Make code unconditional.
27618 [!__ASSUME_32BITUIDS]: Remove conditional code.
27619 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
27620 <kernel-features.h>.
27621 [__ASSUME_32BITUIDS]: Make code unconditional.
27622 [!__ASSUME_32BITUIDS]: Remove conditional code.
27623 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
27624 <kernel-features.h>.
27625 [__ASSUME_32BITUIDS]: Make code unconditional.
27626 [!__ASSUME_32BITUIDS]: Remove conditional code.
27627 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
27628 <kernel-features.h>.
27629 [__ASSUME_32BITUIDS]: Make code unconditional.
27630 [!__ASSUME_32BITUIDS]: Remove conditional code.
27631 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
27632 <kernel-features.h>.
27633 [__ASSUME_32BITUIDS]: Make code unconditional.
27634 [!__ASSUME_32BITUIDS]: Remove conditional code.
27635 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
27636 <kernel-features.h>.
27637 [__ASSUME_32BITUIDS]: Make code unconditional.
27638 [!__ASSUME_32BITUIDS]: Remove conditional code.
27639 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
27640 <kernel-features.h>.
27641 [__ASSUME_32BITUIDS]: Make code unconditional.
27642 [!__ASSUME_32BITUIDS]: Remove conditional code.
27643 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
27644 <kernel-features.h>.
27645 [__ASSUME_32BITUIDS]: Make code unconditional.
27646 [!__ASSUME_32BITUIDS]: Remove conditional code.
27647 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
27648 <kernel-features.h>.
27649 [__ASSUME_32BITUIDS]: Make code unconditional.
27650 [!__ASSUME_32BITUIDS]: Remove conditional code.
27651 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
27652 <kernel-features.h>.
27653 [__ASSUME_32BITUIDS]: Make code unconditional.
27654 [!__ASSUME_32BITUIDS]: Remove conditional code.
27655 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
27656 <kernel-features.h>.
27657 [__NR_setresgid] (__setresgid): Do not declare.
27658 [__ASSUME_32BITUIDS]: Make code unconditional.
27659 [!__ASSUME_32BITUIDS]: Remove conditional code.
27660 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
27661 <kernel-features.h>.
27662 [__NR_setresuid] (__setresuid): Do not declare.
27663 [__ASSUME_32BITUIDS]: Make code unconditional.
27664 [!__ASSUME_32BITUIDS]: Remove conditional code.
27665 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
27666 <kernel-features.h>.
27667 [__ASSUME_32BITUIDS]: Make code unconditional.
27668 [!__ASSUME_32BITUIDS]: Remove conditional code.
27669 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
27670 <kernel-features.h>.
27671 [__ASSUME_32BITUIDS]: Make code unconditional.
27672 [!__ASSUME_32BITUIDS]: Remove conditional code.
27673 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
27674 <kernel-features.h>.
27675 [__ASSUME_32BITUIDS]: Make code unconditional.
27676 [!__ASSUME_32BITUIDS]: Remove conditional code.
27677 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
27678 <kernel-features.h>.
27679 [__ASSUME_32BITUIDS]: Make code unconditional.
27680 [!__ASSUME_32BITUIDS]: Remove conditional code.
27681 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
27682 <kernel-features.h>.
27683 [__ASSUME_32BITUIDS]: Make code unconditional.
27684 [!__ASSUME_32BITUIDS]: Remove conditional code.
27685 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
27686 <kernel-features.h>.
27687 [__ASSUME_32BITUIDS]: Make code unconditional.
27688 [!__ASSUME_32BITUIDS]: Remove conditional code.
27689 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
27690 <kernel-features.h>.
27691 [__ASSUME_32BITUIDS]: Make code unconditional.
27692 [!__ASSUME_32BITUIDS]: Remove conditional code.
27693 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
27694 <kernel-features.h>.
27695 [__ASSUME_32BITUIDS]: Make code unconditional.
27696 [!__ASSUME_32BITUIDS]: Remove conditional code.
27697 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
27698 <kernel-features.h>.
27699 [__ASSUME_32BITUIDS]: Make code unconditional.
27700 [!__ASSUME_32BITUIDS]: Remove conditional code.
27701 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
27702 <kernel-features.h>.
27703 [__ASSUME_32BITUIDS]: Make code unconditional.
27704 [!__ASSUME_32BITUIDS]: Remove conditional code.
27705 * sysdeps/unix/sysv/linux/kernel-features.h
27706 (__ASSUME_SETRESUID_SYSCALL): Remove.
27707 (__ASSUME_SETRESGID_SYSCALL): Likewise.
27708 (__ASSUME_32BITUIDS): Likewise.
27709 (__ASSUME_LDT_WORKS): Likewise.
27710 (__ASSUME_O_DIRECTORY): Likewise.
27711 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
27712 architecture but not kernel version.
27713 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
27714 (__ASSUME_MMAP2_SYSCALL): Likewise.
27715 (__ASSUME_STAT64_SYSCALL): Likewise.
27716 (__ASSUME_IPC64): Likewise.
27717 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
27718 <kernel-features.h>.
27719 [__ASSUME_32BITUIDS]: Make code unconditional.
27720 [!__ASSUME_32BITUIDS]: Remove conditional code.
27721 * sysdeps/unix/sysv/linux/opendir.c: Do not include
27722 <kernel-features.h>.
27723 [__ASSUME_O_DIRECTORY]: Make code unconditional.
27724 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
27725 132096]: Remove conditional code.
27726 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
27727 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
27728 <kernel-features.h>.
27729 [__ASSUME_32BITUIDS]: Make code unconditional.
27730 [!__ASSUME_32BITUIDS]: Remove conditional code.
27731 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
27732 <kernel-features.h>.
27733 [__ASSUME_32BITUIDS]: Make code unconditional.
27734 [!__ASSUME_32BITUIDS]: Remove conditional code.
27735 * sysdeps/unix/sysv/linux/setegid.c: Do not include
27736 <kernel-features.h>.
27737 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
27738 unconditional.
27739 (__setresgid): Do not declare.
27740 [__ASSUME_32BITUIDS]: Make code unconditional.
27741 [!__ASSUME_32BITUIDS]: Remove conditional code.
27742 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
27743 <kernel-features.h>.
27744 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
27745 unconditional.
27746 (__setresuid): Do not declare.
27747 [__ASSUME_32BITUIDS]: Make code unconditional.
27748 [!__ASSUME_32BITUIDS]: Remove conditional code.
27749 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
27750 <kernel-features.h>.
27751 [__ASSUME_32BITUIDS]: Make code unconditional.
27752 [!__ASSUME_32BITUIDS]: Remove conditional code.
27753 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
27754 <kernel-features.h>.
27755 [__ASSUME_32BITUIDS]: Make code unconditional.
27756 [!__ASSUME_32BITUIDS]: Remove conditional code.
27757
277582012-05-25 Richard Henderson <rth@twiddle.net>
27759
27760 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
27761 dl_hwcap to ifunc resolver.
27762 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
27763 elf_ifunc_invoke.
27764 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
27765 dl_hwcap to ifunc resolver.
27766 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
27767
277682012-05-24 Joseph Myers <joseph@codesourcery.com>
27769
27770 [BZ #14153]
27771 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
27772 for |x| <= 2**-26, not 2**-57.
27773 * math/libm-test.inc (acos_test): Do not allow spurious underflow
27774 exception.
27775
277762012-05-24 Jeff Law <law@redhat.com>
27777
27778 * stdio-common/Makefile (tests): Add bug25.
27779 * stdio-common/bug25.c: New test.
27780
277812012-05-24 H.J. Lu <hongjiu.lu@intel.com>
27782
27783 [BZ #13576]
27784 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
27785 multiple of MALLOC_ALIGNMENT in size.
27786 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
27787
277882012-05-24 Joseph Myers <joseph@codesourcery.com>
27789
27790 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
27791 Require >= 256.
27792 (FILENAME_MAX): Use macro-int-constant.
27793 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
27794 (_IOFBF): Use macro-int-constant.
27795 (_IOLBF): Likewise.
27796 (_IONBF): Likewise.
27797 (SEEK_CUR): Likewise.
27798 (SEEK_END): Likewise.
27799 (SEEK_SET): Likewise.
27800 (TMP_MAX): Likewise.
27801 (EOF): Use macro-int-constant. Require < 0.
27802 (NULL): Use macro-constant. Require == 0.
27803 (stdin): Require type to be FILE *.
27804 (stdout): Likewise.
27805 (stderr): Likewise.
27806 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
27807 macro-int-constant.
27808 (EXIT_SUCCESS): Likewise.
27809 (NULL): Use macro-constant. Require == 0.
27810 (RAND_MAX): Use macro-int-constant.
27811 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
27812 [C99-based standards] (strtof): Require function.
27813 [C99-based standards] (strtold): Likewise.
27814 [C99-based standards] (strtoll): Likewise.
27815 [C99-based standards] (strtoull): Likewise.
27816 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
27817 [ISO || ISO99 || ISO11] (limits.h): Likewise.
27818 [ISO || ISO99 || ISO11] (math.h): Likewise.
27819 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
27820 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
27821 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27822
278232012-05-24 Andreas Schwab <schwab@linux-m68k.org>
27824
27825 [BZ #14132]
27826 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
27827 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
27828 * intl/dgettext.c (DCGETTEXT): Likewise.
27829 * intl/gettext.c (DCGETTEXT): Likewise.
27830 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
27831 * posix/regex_internal.h (gettext): Likewise.
27832 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
27833 Remove declaration.
27834 * include/argz.h (__argz_count_internal)
27835 (__argz_stringify_internal): Remove declaration.
27836 (__argz_count, __argz_stringify): Declare hidden proto.
27837 * intl/dcgettext.c: Remove use of INTDEF.
27838 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
27839 * string/argz-stringify.c: Likewise.
27840 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27841 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27842 Declare hidden proto.
27843 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27844 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27845 Declare hidden proto.
27846 * include/stdio.h (__asprintf_internal): Don't declare.
27847 (__asprintf): Don't define as macro. Declare hidden proto.
27848 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
27849 (__fsetlocking): Declare hidden proto.
27850 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
27851 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
27852 hidden proto.
27853 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
27854 (_IO_setlinebuf): Remove use of INTUSE.
27855 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
27856 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
27857 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
27858 Remove declaration.
27859 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
27860 (_IO_do_flush): Remove use of INTUSE.
27861 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
27862 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
27863 (_IO_adjust_column, _IO_least_wmarker)
27864 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
27865 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
27866 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
27867 (_IO_default_doallocate, _IO_wdefault_doallocate)
27868 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
27869 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
27870 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
27871 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
27872 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
27873 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
27874 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
27875 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
27876 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
27877 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
27878 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
27879 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
27880 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
27881 proto.
27882 (_IO_flush_all_internal, _IO_adjust_column_internal)
27883 (_IO_default_uflow_internal, _IO_default_finish_internal)
27884 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
27885 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
27886 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
27887 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
27888 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
27889 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
27890 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
27891 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
27892 (_IO_file_close_internal, _IO_file_close_it_internal)
27893 (_IO_file_underflow_internal, _IO_file_overflow_internal)
27894 (_IO_file_init_internal, _IO_file_attach_internal)
27895 (_IO_file_fopen_internal, _IO_file_read_internal)
27896 (_IO_file_sync_internal, _IO_file_seek_internal)
27897 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
27898 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
27899 (_IO_str_underflow_internal, _IO_str_overflow_internal)
27900 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
27901 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
27902 (_IO_list_all_internal, _IO_link_in_internal)
27903 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
27904 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
27905 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
27906 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
27907 (_IO_do_write_internal, _IO_padn_internal)
27908 (_IO_getline_info_internal, _IO_getline_internal)
27909 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
27910 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
27911 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
27912 (_IO_vfscanf_internal, _IO_vfprintf_internal)
27913 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
27914 (_IO_init_internal, _IO_un_link_internal): Don't declare.
27915 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
27916 with libc_hidden_ver, remove use of INTUSE.
27917 * libio/genops.c: Likewise.
27918 * libio/freopen.c: Likewise.
27919 * libio/freopen64.c: Likewise.
27920 * libio/iofclose.c: Likewise.
27921 * libio/iofdopen.c: Likewise.
27922 * libio/iofflush.c: Likewise.
27923 * libio/iofflush_u.c: Likewise.
27924 * libio/iofgets.c: Likewise.
27925 * libio/iofgets_u.c: Likewise.
27926 * libio/iofopen.c: Likewise.
27927 * libio/iofopncook.c: Likewise.
27928 * libio/iofread.c: Likewise.
27929 * libio/iofread_u.c: Likewise.
27930 * libio/ioftell.c: Likewise.
27931 * libio/iofwrite.c: Likewise.
27932 * libio/iogetline.c: Likewise.
27933 * libio/iogets.c: Likewise.
27934 * libio/iogetwline.c: Likewise.
27935 * libio/iopadn.c: Likewise.
27936 * libio/iopopen.c: Likewise.
27937 * libio/ioseekoff.c: Likewise.
27938 * libio/ioseekpos.c: Likewise.
27939 * libio/iosetbuffer.c: Likewise.
27940 * libio/iosetvbuf.c: Likewise.
27941 * libio/ioungetc.c: Likewise.
27942 * libio/ioungetwc.c: Likewise.
27943 * libio/iovdprintf.c: Likewise.
27944 * libio/iovsprintf.c: Likewise.
27945 * libio/iovsscanf.c: Likewise.
27946 * libio/memstream.c: Likewise.
27947 * libio/obprintf.c: Likewise.
27948 * libio/oldfileops.c: Likewise.
27949 * libio/oldiofclose.c: Likewise.
27950 * libio/oldiofdopen.c: Likewise.
27951 * libio/oldiofopen.c: Likewise.
27952 * libio/oldiopopen.c: Likewise.
27953 * libio/oldstdfiles.c: Likewise.
27954 * libio/putc.c: Likewise.
27955 * libio/setbuf.c: Likewise.
27956 * libio/setlinebuf.c: Likewise.
27957 * libio/stdfiles.c: Likewise.
27958 * libio/strops.c: Likewise.
27959 * libio/vasprintf.c: Likewise.
27960 * libio/vscanf.c: Likewise.
27961 * libio/vsnprintf.c: Likewise.
27962 * libio/vswprintf.c: Likewise.
27963 * libio/wfiledoalloc.c: Likewise.
27964 * libio/wfileops.c: Likewise.
27965 * libio/wgenops.c: Likewise.
27966 * libio/wmemstream.c: Likewise.
27967 * libio/wstrops.c: Likewise.
27968 * libio/__fpurge.c: Likewise.
27969 * libio/__fsetlocking.c: Likewise.
27970 * assert/assert.c: Likewise.
27971 * debug/fgets_chk.c: Likewise.
27972 * debug/fgets_u_chk.c: Likewise.
27973 * debug/fread_chk.c: Likewise.
27974 * debug/fread_u_chk.c: Likewise.
27975 * debug/gets_chk.c: Likewise.
27976 * debug/obprintf_chk.c: Likewise.
27977 * debug/vasprintf_chk.c: Likewise.
27978 * debug/vdprintf_chk.c: Likewise.
27979 * debug/vsnprintf_chk.c: Likewise.
27980 * debug/vsprintf_chk.c: Likewise.
27981 * malloc/mtrace.c: Likewise.
27982 * misc/error.c: Likewise.
27983 * misc/syslog.c: Likewise.
27984 * stdio-common/asprintf.c: Likewise.
27985 * stdio-common/fxprintf.c: Likewise.
27986 * stdio-common/getw.c: Likewise.
27987 * stdio-common/isoc99_fscanf.c: Likewise.
27988 * stdio-common/isoc99_scanf.c: Likewise.
27989 * stdio-common/isoc99_vfscanf.c: Likewise.
27990 * stdio-common/isoc99_vscanf.c: Likewise.
27991 * stdio-common/isoc99_vsscanf.c: Likewise.
27992 * stdio-common/printf-prs.c: Likewise.
27993 * stdio-common/printf_fp.c: Likewise.
27994 * stdio-common/printf_fphex.c: Likewise.
27995 * stdio-common/printf_size.c: Likewise.
27996 * stdio-common/putw.c: Likewise.
27997 * stdio-common/scanf.c: Likewise.
27998 * stdio-common/sprintf.c: Likewise.
27999 * stdio-common/tmpfile.c: Likewise.
28000 * stdio-common/vfprintf.c: Likewise.
28001 * stdio-common/vfscanf.c: Likewise.
28002 * stdlib/strfmon_l.c: Likewise.
28003 * sunrpc/openchild.c: Likewise.
28004 * sunrpc/xdr_stdio.c: Likewise.
28005 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
28006 * sysdeps/mach/hurd/tmpfile.c: Likewise.
28007
280082012-05-24 Roland McGrath <roland@hack.frob.com>
28009
28010 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
28011
28012 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
28013 in the third column, to generate for the shared library an IFUNC
28014 that uses _dl_vdso_vsym.
28015 * Makerules (COMPILE.c, compile-stdin.c): New variables.
28016 * Makeconfig (object-suffixes-noshared): New variable.
28017
28018 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
28019 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
28020 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
28021 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
28022
28023 [BZ #14132]
28024 * include/sys/time.h (__gettimeofday): Remove macro.
28025 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
28026 * time/gettimeofday.c (__gettimeofday): Remove #undef.
28027 Remove INTDEF.
28028 (__gettimeofday): Add libc_hidden_def.
28029 (gettimeofday): Add libc_hidden_weak.
28030 * sysdeps/mach/gettimeofday.c: Likewise.
28031 * sysdeps/posix/gettimeofday.c: Likewise.
28032 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
28033 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
28034 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
28035 (__gettimeofday_internal): Remove strong_alias.
28036 (__gettimeofday): Add libc_hidden_def.
28037 (gettimeofday): Add libc_hidden_weak.
28038 * sysdeps/unix/syscalls.list (gettimeofday):
28039 Remove __gettimeofday_internal alias.
28040
280412012-05-24 Daniel Jacobowitz <drow@false.org>
28042 H.J. Lu <hongjiu.lu@intel.com>
28043
28044 [BZ #12495]
28045 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
28046 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
28047 (largebin_index_32_big): New.
28048 (largebin_index): Use it for 16-byte alignment.
28049 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
28050 correction with front_misalign.
28051
280522012-05-24 H.J. Lu <hongjiu.lu@intel.com>
28053
28054 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
28055 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
28056 Likewise.
28057 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
28058 Likewise.
28059 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
28060 Likewise.
28061 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
28062 Likewise.
28063 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
28064 Likewise.
28065 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
28066 Likewise.
28067 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
28068 Likewise.
28069 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
28070 Likewise.
28071 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
28072 Likewise.
28073 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
28074 Likewise.
28075 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
28076 Likewise.
28077 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
28078 Likewise.
28079
28080 * scripts/data/c++-types-x32-linux-gnu.data: New file.
28081 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
28082
280832012-05-24 Joseph Myers <joseph@codesourcery.com>
28084
28085 [BZ #10846]
28086 [BZ #14036]
28087 * math/libm-test.inc (exp_test): Add test from bug 14036.
28088 (pow_test): Add test from bug 10846.
28089
28090 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
28091 and other flags.
28092 (special_function): Do not include flags in test name.
28093 (parse_args): Likewise.
28094 * sysdeps/i386/fpu/libm-test-ulps: Update.
28095 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28096 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28097 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28098 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28099
28100 * math/gen-libm-test.pl (%beautify): Add entries for underflow
28101 exceptions.
28102 * math/libm-test.inc ("Philosophy"): Update comment about
28103 exception testing.
28104 (UNDERFLOW_EXCEPTION): New macro.
28105 (UNDERFLOW_EXCEPTION_OK): Likewise.
28106 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
28107 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
28108 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
28109 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
28110 (INVALID_EXCEPTION_OK): Update value.
28111 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28112 (OVERFLOW_EXCEPTION_OK): Likewise.
28113 (IGNORE_ZERO_INF_SIGN): Likewise.
28114 (test_exceptions): Handle underflow exceptions.
28115 (acos_test): Update for underflow exception expectations.
28116 (cexp_test): Likewise.
28117 (clog_test): Likewise.
28118 (clog10_test): Likewise.
28119 (csqrt_test): Likewise.
28120 (ctan_test): Likewise.
28121 (ctanh_test): Likewise.
28122 (exp_test): Likewise.
28123 (exp10_test): Likewise.
28124 (exp2_test): Likewise.
28125 (expm1_test): Likewise.
28126 (fma_test): Likewise.
28127 (j0_test): Likewise.
28128 (jn_test): Likewise.
28129 (nexttoward_test): Likewise.
28130 (pow_test): Likewise.
28131 (scalbn_test): Likewise.
28132 (scalbln_test): Likewise.
28133 (tan_test): Likewise.
28134 (y1_test): Likewise.
28135 * sysdeps/i386/fpu/libm-test-ulps: Update.
28136 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28137
281382012-05-23 David S. Miller <davem@davemloft.net>
28139
28140 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
28141 (__libc_sigaction): Remove unused local variables.
28142
281432012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28144
28145 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
28146
281472012-05-23 Paul Eggert <eggert@cs.ucla.edu>
28148
28149 mktime: avoid signed integer overflow
28150 * time/mktime.c (__mktime_internal): Do not mishandle the case
28151 where diff == INT_MIN.
28152
28153 mktime: simplify computation of average
28154 * time/mktime.c (ranged_convert): Use new time_t_avg function
28155 instead of rolling our own (probably-slower) code.
28156
28157 mktime: do not assume signed right shift propagates sign bit
28158 * time/mktime.c (isdst_differ): New static function.
28159 (__mktime_internal): No need to normalize tm_isdst now.
28160 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
28161 tm_isdst values.
28162
28163 mktime: merge another wrapv change from gnulib
28164 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
28165 from some compilers.
28166
28167 mktime: remove incorrect attempt at unusual arithmetics
28168 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
28169 The code didn't really work on such machines anyway.
28170 (TYPE_MINIMUM): Assume two's complement.
28171 (twos_complement_arithmetic): Verify that long_int and time_t
28172 are two's complement (or unsigned, in the latter case).
28173
28174 mktime: check signed shifts on long_int and time_t, too
28175 * time/mktime.c (SHR): Check that shifts work as desired
28176 on the types long_int and time_t too, as SHR is used on
28177 such types.
28178
28179 mktime: do not assume 'long' is wide enough
28180 * time/mktime.c (verify): Move decl up.
28181 (long_int): New type.
28182 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
28183 to remove assumption in the code that 'long' is wide enough to
28184 store year values. This assumption is not true on x32 and on
28185 some non-glibc platforms.
28186
28187 mktime: merge wrapv change from gnulib
28188 * time/mktime.c (WRAPV): New macro.
28189 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
28190 (guess_time_tm, __mktime_internal): Do not assume that signed
28191 integer overflow wraps around; modern compilers generate code
28192 where this assumption is no longer valid.
28193
281942012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28195
28196 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28197 Replace "jmp L(pseudo_end)" with "ret".
28198 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
28199 Likewise.
28200
282012012-05-23 Andreas Jaeger <aj@suse.de>
28202
28203 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
28204 * sysdeps/unix/sysv/linux/poll.c: Remove file.
28205
282062012-05-23 Andreas Jaeger <aj@suse.de>
28207 Maximilian Attems <max@stro.at>
28208
28209 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
28210 New macros.
28211
282122012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28213
28214 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
28215 code so that pseudo_end is just ret and the stack pointer is
28216 correct also for static library in error case.
28217
282182012-05-23 Joseph Myers <joseph@codesourcery.com>
28219
28220 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
28221 move to syscalls.list.
28222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
28223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
28224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
28225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
28226
28227 * manual/install.texi (Running make install): Do not mention Linux
28228 kernel version for which pt_chown is not needed.
28229 (Linux): Do not mention problems with nscd with 2.0 kernels.
28230 * INSTALL: Regenerated.
28231
282322012-05-23 Andreas Jaeger <aj@suse.de>
28233
28234 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
28235 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
28236 macro.
28237 * sysdeps/unix/sysv/linux/s390/bits/mman.h
28238 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28239 * sysdeps/unix/sysv/linux/sh/bits/mman.h
28240 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28241 * sysdeps/unix/sysv/linux/i386/bits/mman.h
28242 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28243 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
28244 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28245 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
28246 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28247 * sysdeps/unix/sysv/linux/bits/in.h
28248 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
28249
282502012-05-22 Roland McGrath <roland@hack.frob.com>
28251
28252 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
28253 (PREPARE_VERSION): Just use assert instead, it will be elided
28254 under [NDEBUG] anyway.
28255
282562012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28257
28258 * sysdeps/unix/sysv/linux/Makefile: Include
28259 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
28260 (sysdep_routines): Remove sysctl.
28261 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
28262 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
28263 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
28264 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
28265 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
28266
282672012-05-22 Andreas Jaeger <aj@suse.de>
28268
28269 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
28270 that pseudo_end is just ret and the stack pointer is correct also
28271 for static library in error case.
28272
282732012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
28274
28275 [BZ #14122]
28276 * nss/nsswitch.c (defconfig_entries): New variable.
28277 (__nss_database_lookup): Don't leak defconfig entries.
28278 (nss_parse_service_list): Don't leak on error paths.
28279 (free_database_entries): New function.
28280 (free_defconfig): New function.
28281 (free_mem): Move common code to free_database_entries.
28282
282832012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28284
28285 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
28286 Add arch_prctl.
28287 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
28288
28289 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
28290 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
28291 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
28292 New macro.
28293 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
28294 (INTERNAL_SYSCALL_TYPES): Likewise.
28295 (LOAD_ARGS_TYPES_[1-6]): Likewise.
28296 (LOAD_REGS_TYPES_[1-6]): Likewise.
28297 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
28298 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
28299
283002012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28301
28302 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
28303 copysignl for GLIBC_2_0.
28304 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
28305 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
28306 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
28307 logbl for GLIBC_2_0.
28308 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
28309 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
28310
283112012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28312
28313 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
28314 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28315
28316 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28317 Use "neg %eax".
28318
28319 * time/mktime.c: Update copyright years.
28320
283212012-05-22 Paul Eggert <eggert@cs.ucla.edu>
28322
28323 mktime: merge comment-quoting-style change from gnulib
28324 * time/mktime.c: Quote 'like this' in comments.
28325 The GNU coding standards suggest that we no longer quote `like this',
28326 as "`" and "'" are typically rendered asymmetrically nowadays.
28327 The typical gnulib style is to quote 'like this' when quoting
28328 code, and "like this" when quoting English.
28329
28330 * time/mktime.c (compile-command): Add "-I.".
28331
28332 mktime: merge mktime-internal.h change from gnulib
28333 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
28334
28335 mktime: merge time_r change from gnulib
28336 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
28337
28338 mktime: merge DEBUG change from gnulib
28339 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
28340 case system <time.h> has a #define.
28341
28342 mktime: merge <sys/types.h> change from gnulib
28343 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
28344 since <time.t> is now guaranteed to define time_t.
28345
28346 mktime: merge HAVE_CONFIG_H change from gnulib
28347 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
28348
283492012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28350
28351 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28352 Use "neg %eax".
28353
28354 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
28355 __rlim_t cast.
28356 (struct rusage): Use anonymous union to pad each field to
28357 __syscall_slong_t.
28358
283592012-05-21 David S. Miller <davem@davemloft.net>
28360
28361 * Makefules (o-iterator): Remove .s cases.
28362 (compile-command.s): Delete.
28363 (COMPILE.s): Delete.
28364 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
28365
283662012-05-21 Joseph Myers <joseph@codesourcery.com>
28367
28368 * configure.in (libc_cv_predef_stack_protector): Only consider
28369 "foobar" and "__stack_chk_fail" lines in libc_undefs.
28370 * configure: Regenerated.
28371
283722012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28373
28374 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28375 New macro. Use R*LP on int and pointer.
28376 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
28377 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
28378 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
28379 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
28380
28381 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
28382 [__WORDSIZE_TIME64_COMPAT32] instead of
28383 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
28384 (struct utmp): Likewise.
28385 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
28386 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
28387 Renamed to ...
28388 (__WORDSIZE_TIME64_COMPAT32): This.
28389 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
28390 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
28391 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
28392 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
28393 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
28394 (__WORDSIZE_TIME64_COMPAT32): New macro.
28395
283962012-05-21 Andreas Jaeger <aj@suse.de>
28397
28398 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
28399 only if [SHARED]. Add prototype for __wcschr_ia32.
28400
284012012-05-21 Roland McGrath <roland@hack.frob.com>
28402
28403 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
28404 of %rbp unmolested in the jmp_buf while mangling the low bits.
28405 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
28406 unmolested high bits of %rbp while demangling the low bits.
28407 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
28408
284092012-05-21 Andreas Jaeger <aj@suse.de>
28410
28411 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
28412 * sunrpc/svc_simple.c: Use it for registerrpc.
28413 * sunrpc/xcrypt.c: Use it for passwd2des.
28414
28415 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
28416
284172012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28418
28419 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
28420 Don't define if [__SYSCALL_WORDSIZE != 32].
28421 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
28422 New macro.
28423
284242012-05-21 Bruno Haible <bruno@clisp.org>
28425 Andreas Jaeger <aj@suse.de>
28426
28427 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
28428 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
28429 inptr and inend for must_buffer_ch.
28430 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
28431 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
28432 * stdio-common/Makefile (tests): Remove bug15.
28433 (bug15-ENV): Remove macro.
28434 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
28435 anymore.
28436
284372012-05-19 Andreas Jaeger <aj@suse.de>
28438 Roland McGrath <roland@hack.frob.com>
28439
28440 * manual/contrib.texi: Completely rewritten. It contains now an
28441 alphabetical list of contributors and their contributions.
28442
284432012-05-21 Richard Henderson <rth@twiddle.net>
28444
28445 * misc/getauxval.c (__getauxval): Use unsigned long int.
28446 * misc/sys/auxv.h: Include <sys/cdefs.h>.
28447 (getauxval): Use unsigned long int.
28448
284492012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28450
28451 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
28452
284532012-05-21 Roland McGrath <roland@hack.frob.com>
28454
28455 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
28456 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
28457 __alignof__ (long double).
28458
284592012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28460
28461 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28462
284632012-05-20 Richard Henderson <rth@twiddle.net>
28464
28465 * misc/getauxval.c: New file.
28466 * misc/sys/auxv.h: New file.
28467 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
28468 (routines): Add getauxval.
28469 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
28470 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
28471 * elf/dl-sysdep.c (_dl_auxv): Remove.
28472 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
28473 * elf/dl-support.c (_dl_auxv): New variable.
28474 (_dl_aux_init): Initialize it.
28475 * manual/startup.texi (Auxiliary Vector): New node.
28476 * sysdeps/generic/bits/hwcap.h: New file.
28477 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
28478 * sysdeps/powerpc/sysdep.h: ... here. Include it.
28479 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
28480 * sysdeps/sparc/sysdep.h: ... here. Include it.
28481 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
28482 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
28483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28484 Update.
28485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
28486 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
28487 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
28488 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
28489 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28490 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28491 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
28492 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
28493
284942012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28495
28496 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28497
284982012-05-19 David S. Miller <davem@davemloft.net>
28499
28500 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28501
285022012-05-19 Joseph Myers <joseph@codesourcery.com>
28503
28504 [BZ #14123]
28505 * math/s_ccosh.c: Include <float.h>
28506 (__ccosh): Avoid internal overflow calculating sinh and cosh
28507 values before multiplying by sin and cos values.
28508 * math/s_ccoshf.c: Likewise.
28509 * math/s_ccoshl.c: Likewise.
28510 * math/s_csin.c: Likewise.
28511 * math/s_csinf.c: Likewise.
28512 * math/s_csinl.c: Likewise.
28513 * math/s_csinh.c: Likewise.
28514 * math/s_csinhf.c: Likewise.
28515 * math/s_csinhl.c: Likewise.
28516 * math/libm-test.inc (ccos_test): Add more tests.
28517 (ccosh_test): Likewise.
28518 (csin_test): Likewise.
28519 (csinh_test): Likewise.
28520 * sysdeps/i386/fpu/libm-test-ulps: Update.
28521 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28522
285232012-05-19 H.J. Lu <hongjiu.lu@intel.com>
28524
28525 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
28526 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
28527
28528 * sysdeps/x86_64/x32/_itoa.h: Add comment.
28529
285302012-05-19 Joseph Myers <joseph@codesourcery.com>
28531
28532 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
28533 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
28534 * sysdeps/powerpc/soft-fp/Versions: Likewise.
28535 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
28536 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
28537 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
28538 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
28539 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
28540 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
28541 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
28542 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
28543 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
28544 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
28545 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
28546 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
28547 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
28548 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
28549 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
28550 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
28551 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
28552 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
28553 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
28554 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
28555 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
28556 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
28557 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
28558 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
28559 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
28560 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
28561 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
28562 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
28563
285642012-05-18 Andreas Jaeger <aj@suse.de>
28565
28566 * csu/.gitignore: Delete.
28567
285682012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28569
28570 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
28571 (timex): Use __syscall_slong_t.
28572
285732012-05-18 Andreas Jaeger <aj@suse.de>
28574 Carlos O'Donell <carlos_odonell@mentor.com>
28575
28576 * manual/install.texi (Configuring and compiling): Update
28577 description about files modified in the source directory.
28578 * INSTALL: Regenerated.
28579
285802012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28581
28582 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
28583 value. Use "or" to set return value to -1.
28584 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
28585 negate return value.
28586
285872012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28588
28589 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
28590 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
28591 failure if the compiler has Graphite support disabled.
28592 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
28593 Likewise.
28594 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
28595 CFLAGS-memmove.c): Likewise.
28596 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
28597 Likewise.
28598
285992012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28600
28601 * sysdeps/x86_64/x32/_itoa.h: New file.
28602
28603 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
28604 getdents system call only if kernel and user dirents have the
28605 same d_ino and d_off.
28606
28607 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
28608 LLONG_MAX != LONG_MAX.
28609 (_itoa_word): Use _ITOA_WORD_TYPE on value.
28610 (_fitoa_word): Likewise.
28611
28612 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
28613 years.
28614 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
28615 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
28616 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
28617
28618 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
28619 include <bits/wordsize.h>. Check __x86_64__ instead of
28620 __WORDSIZE.
28621 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
28622 if __x86_64__ is defined. Use anonymous union on fpstate.
28623
28624 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
28625 anonymous union.
28626
286272012-05-18 Andreas Schwab <schwab@linux-m68k.org>
28628
28629 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
28630 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
28631 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
28632 Refer to _rtld_local_ro instead of _rtld_global_ro.
28633 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
28634 Likewise.
28635 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
28636 Likewise.
28637 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
28638 Likewise.
28639 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
28640 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
28641 of _rtld_global, and rtld_progname instead of _dl_argv[0].
28642
28643 * sysdeps/powerpc/powerpc32/dl-machine.c
28644 (__elf_machine_runtime_setup) [PROF]: Don't reference
28645 _dl_prof_resolve.
28646
286472012-05-18 Andreas Jaeger <aj@suse.de>
28648
28649 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
28650 function only available for GCCs before 3.4 since GCC 3.4
28651 introduced a builtin.
28652 (lrint): Likewise.
28653 (llrintf): Likewise.
28654 (llrint): Likewise.
28655 (fmaxf): Likewise.
28656 (fmax): Likewise.
28657 (fminf): Likewise.
28658 (fmin): Likewise.
28659 (rint): Likewise.
28660 (rintf): Likewise.
28661 (nearbyint): Likewise.
28662 (nearbyintf): Likewise.
28663 (ceil): Likewise.
28664 (ceilf): Likewise.
28665 (floor): Likewise.
28666 (floorf): Likewise.
28667
286682012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28669
28670 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
28671 on both fields and cast pointer to __syscall_ulong_t.
28672
28673 * bits/types.h (__fsword_t): New type.
28674 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
28675 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
28676 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28677 (__FSWORD_T_TYPE): Likewise.
28678 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28679 (__FSWORD_T_TYPE): Likewise.
28680 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28681 (__FSWORD_T_TYPE): Likewise.
28682 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
28683 (__FSWORD_T_TYPE): Likewise.
28684 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
28685 __SWORD_TYPE with __fsword_t.
28686 (statfs64): Likewise.
28687
286882012-05-17 David S. Miller <davem@davemloft.net>
28689
28690 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
28691
286922012-05-17 Andreas Jaeger <aj@suse.de>
28693
28694 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
28695 warning.
28696
286972012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28698
28699 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
28700
287012012-05-17 Andreas Jaeger <aj@suse.de>
28702
28703 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
28704 when it is used.
28705
287062012-05-17 Chris Metcalf <cmetcalf@tilera.com>
28707
28708 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
28709
287102012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28711
28712 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
28713 * sysdeps/x86_64/tst-mallocalign1.c: New file.
28714
287152012-05-17 Andreas Jaeger <aj@suse.de>
28716 Carlos O'Donell <carlos_odonell@mentor.com>
28717
28718 [BZ #14059]
28719 * sysdeps/x86_64/multiarch/init-arch.h
28720 (bit_YMM_Usable): Rename to...
28721 (bit_AVX_Usable): ... this.
28722 (bit_FMA4_Usable): New macro.
28723 (bit_XMM_state): New macro.
28724 (bit_YMM_state): New macro.
28725 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
28726 [__ASSEMBLER__] (index_AVX_Usable): ... this.
28727 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
28728 (CPUID_OSXSAVE): New macro.
28729 (CPUID_AVX): New macro.
28730 (CPUID_FMA4): New macro.
28731 (index_YMM_Usable): Rename to...
28732 (index_AVX_Usable): ... this.
28733 (HAS_AVX): Use HAS_ARCH_FEATURE.
28734 (HAS_FMA4): Likewise.
28735 (HAS_YMM_USABLE): Remove.
28736 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28737 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
28738 are present.
28739 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
28740 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
28741 * sysdeps/x86_64/multiarch/Makefile: Likewise.
28742 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
28743 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
28744
287452012-05-17 Chris Metcalf <cmetcalf@tilera.com>
28746
28747 * math/libm-test.c: Support platforms without multiple rounding modes.
28748 * math/bug-nextafter.c: Support platforms without FP exceptions.
28749 * math/bug-nexttoward.c: Likewise.
28750 * math/test-fenv.c: Likewise.
28751 * math/test-misc.c: Likewise.
28752 * stdlib/bug-getcontext.c: Likewise.
28753
287542012-05-17 Andreas Jaeger <aj@suse.de>
28755
28756 * manual/examples/search.c (critter_cmp): Change signature to
28757 avoid warnings.
28758 * manual/string.texi (Collation Functions): Likewise.
28759
287602012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28761
28762 * bits/types.h: Fold copyright years.
28763 * bits/typesizes.h: Likewise.
28764 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
28765 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
28766 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
28767 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
28768 * time/time.h: Likewise.
28769
287702012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
28771
28772 [BZ #208]
28773 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
28774 in instead of returning them. Return void.
28775 (__libc_mallinfo): Accumulate over all arenas.
28776 (__malloc_stats): Adjust for change in int_mallinfo interface.
28777
287782012-05-16 Roland McGrath <roland@hack.frob.com>
28779
28780 [BZ #10375]
28781 * configure.in (NM): Add AC_CHECK_TOOL for it.
28782 (libc_extra_cflags): New substituted variable.
28783 Check for -fstack-protector being used implicitly.
28784 * configure: Regenerated.
28785 * config.make.in (config-extra-cflags): New variable,
28786 gets @libc_extra_cflags@.
28787 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
28788
28789 [BZ #10375]
28790 * configure.in: Check for _FORTIFY_SOURCE being predefined.
28791 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
28792 * configure: Regenerated.
28793 * config.make.in (CPPUNDEFS): New substituted variable.
28794 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
28795 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
28796 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
28797
287982012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28799
28800 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
28801 (mq_attr): Use __syscall_slong_t.
28802
288032012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28804
28805 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
28806 Check __x86_64__ instead of __WORDSIZE.
28807 (_STAT_VER_LINUX): Likewise.
28808 (stat): Check __x86_64__ instead of __WORDSIZE. Use
28809 __syscall_ulong_t and __syscall_slong_t.
28810 (stat64): Likewise.
28811
288122012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28813
28814 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
28815
288162012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28817
28818 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
28819
288202012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28821
28822 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
28823 __syscall_ulong_t.
28824
28825 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
28826 include <bits/wordsize.h>. Check __x86_64__ instead of
28827 __WORDSIZE.
28828 (greg_t): Use "__extension__ long long int" if __x86_64__ is
28829 defined.
28830 (mcontext_t): Replace "unsigned long" with "unsigned long long".
28831
28832 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
28833 include <bits/wordsize.h>. Check __x86_64__ instead of
28834 __WORDSIZE.
28835 (user_regs_struct): Use "__extension__ unsigned long long"
28836 instead of "unsigned long" if __x86_64__ is defined.
28837 (user): Likewise. Pad after pointer field if __ILP32__ is
28838 defined.
28839
288402012-05-16 Joseph Myers <joseph@codesourcery.com>
28841
28842 * configure.in (makeinfo): Require version 4.5 or later. Allow
28843 versions 5 to 9.
28844 * configure: Regenerated.
28845 * manual/install.texi (texinfo): Increase version requirement to
28846 4.5 or later.
28847 * INSTALL: Regenerated.
28848
28849 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
28850
288512012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28852
28853 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
28854
28855 * sysdeps/x86_64/x32/ffs.c: New file.
28856
28857 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
28858 __syscall_ulong_t.
28859 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
28860 defined. Use __syscall_ulong_t.
28861 (shminfo): Use __syscall_ulong_t.
28862 (shm_info): Likewise.
28863
28864 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
28865 __syscall_ulong_t.
28866
28867 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
28868 <bits/wordsize.h>.
28869 (msgqnum_t): Use __syscall_ulong_t.
28870 (msglen_t): Likewise.
28871 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
28872 __syscall_ulong_t.
28873
28874 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
28875 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28876
28877 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
28878
28879 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
28880 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
28881
28882 * sysvipc/sys/msg.h (msgbuf): Replace long int with
28883 __syscall_slong_t.
28884
28885 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
28886 include <bits/wordsize.h>. Check __x86_64__ instead of
28887 __WORDSIZE.
28888
28889 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
28890 "unsigned long long int" if __x86_64__ is defined.
28891 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
28892
28893 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
28894 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28895 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
28896
28897 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
28898 <stdint.h>.
28899 (GET_PC): Cast to uintptr_t first.
28900 (GET_FRAME): Likewise.
28901 (GET_STACK): Likewise.
28902
28903 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
28904 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
28905 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
28906 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
28907 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
28908 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
28909 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
28910 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
28911 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
28912 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
28913 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
28914 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
28915 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
28916 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
28917 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
28918 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
28919 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
28920 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
28921 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
28922 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
28923 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
28924 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
28925 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
28926 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
28927 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
28928 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
28929 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
28930 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
28931 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
28932
289332012-05-16 Andreas Schwab <schwab@linux-m68k.org>
28934
28935 * Makerules (+depfiles): Also collect depfiles from .oS in
28936 $(extra-objs).
28937 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
28938 .oS, $(libnldbl-routines)).
28939
28940 * Makerules (native-compile-mkdep-flags): Define.
28941 * sunrpc/Makefile (extra-objs): Add $(addprefix
28942 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
28943 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
28944 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
28945 calling $(make-target-directory).
28946
289472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28948
28949 * bits/types.h (__snseconds_t): Removed.
28950 * time/time.h (struct timespec): Replace __snseconds_t with
28951 __syscall_slong_t.
28952 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
28953 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
28954 Likewise.
28955 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28956 (__SNSECONDS_T_TYPE): Likewise.
28957 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28958 (__SNSECONDS_T_TYPE): Likewise.
28959 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28960 (__SNSECONDS_T_TYPE): Likewise.
28961
289622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28963
28964 * sysdeps/mach/hurd/bits/typesizes.h
28965 (__SYSCALL_SLONG_TYPE): New macro.
28966 (__SYSCALL_ULONG_TYPE): Likewise.
28967
289682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28969
28970 * bits/types.h (__syscall_slong_t): New type.
28971 (__syscall_ulong_t): Likewise.
28972
28973 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
28974 (__SYSCALL_ULONG_TYPE): Likewise.
28975 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28976 (__SYSCALL_SLONG_TYPE): Likewise.
28977 (__SYSCALL_ULONG_TYPE): Likewise.
28978 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28979 (__SYSCALL_SLONG_TYPE): Likewise.
28980 (__SYSCALL_ULONG_TYPE): Likewise.
28981 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28982 (__SYSCALL_SLONG_TYPE): Likewise.
28983 (__SYSCALL_ULONG_TYPE): Likewise.
28984
289852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28986
28987 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
28988 Add sigaltstack-offsets.sym.
28989 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
28990 <sigaltstack-offsets.h>.
28991 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
28992 longjmp_msg pointer.
28993 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
28994 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
28995 signal stack.
28996 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
28997
289982012-05-15 Joseph Myers <joseph@codesourcery.com>
28999
29000 * elf/stackguard-macros.h: Remove file.
29001 * sysdeps/generic/stackguard-macros.h: New file.
29002 * sysdeps/i386/stackguard-macros.h: Likewise.
29003 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
29004 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
29005 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
29006 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
29007 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
29008 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
29009 * sysdeps/x86_64/stackguard-macros.h: Likewise.
29010 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
29011 <elf/stackguard-macros.h>.
29012
29013 [BZ #14109]
29014 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
29015 __aligned__ in attribute.
29016 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
29017 (gregset_t): Likewise.
29018
290192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29020
29021 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
29022 * sysdeps/x86_64/64/Implies-after: Here. New file.
29023 * sysdeps/x86_64/x32/Implies-after: New file.
29024
290252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29026
29027 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
29028 and access return value for _dl_profile_fixup. Use R10_LP to
29029 load frame size.
29030
290312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29032
29033 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
29034
290352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29036
29037 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
29038 * sysdeps/x86_64/x32/sysdep.h: New file.
29039
290402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29041
29042 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
29043 * sysdeps/x86_64/setjmp.S: Likewise.
29044
290452012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29046
29047 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
29048 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
29049 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
29050 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
29051 remove unused global constant.
29052
290532012-05-15 Chris Metcalf <cmetcalf@tilera.com>
29054
29055 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
29056 include of <not-cancel.h>.
29057
290582012-05-15 Roland McGrath <roland@hack.frob.com>
29059
29060 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
29061
290622012-05-15 Jeff Law <law@redhat.com>
29063 Andreas Jaeger <aj@suse.de>
29064
29065 [BZ #13594]
29066 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
29067 out from...
29068 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
29069 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
29070 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
29071 code changing __hst_map_handle.map.
29072
290732012-05-15 Roland McGrath <roland@hack.frob.com>
29074
29075 * configure.in (sysnames): Look for Implies-before and Implies-after
29076 files.
29077 * configure: Regenerated.
29078
290792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29080
29081 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
29082 8-byte data alignment with LP_SIZE alignment.
29083
290842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29085
29086 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
29087 into R10_LP.
29088
290892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29090
29091 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
29092
290932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29094
29095 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
29096 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
29097 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
29098 Likewise.
29099 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
29100
291012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29102
29103 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
29104 (stackinfo_sub_sp): Likewise.
29105
291062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29107
29108 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
29109 RAX_LP.
29110
291112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29112
29113 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
29114 into R*_LP.
29115
291162012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29117
29118 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
29119 sizes into R*_LP.
29120
291212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29122
29123 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
29124
291252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29126
29127 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
29128 into R11_LP and load __x86_64_shared_cache_size_half into
29129 R8_LP.
29130
291312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29132
29133 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
29134 R8_LP.
29135
291362012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29137
29138 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
29139 logb for POWER7.
29140 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
29141 logbf for POWER7.
29142 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
29143 logbl for POWER7.
29144 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
29145 powerpc32/power7/fpu/s_logb.c via #include.
29146 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
29147 powerpc32/power7/fpu/s_logbf.c via #include.
29148 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
29149 powerpc32/power7/fpu/s_logbl.c via #include.
29150
291512012-05-15 Joseph Myers <joseph@codesourcery.com>
29152
29153 * README.libm: Remove file.
29154
291552012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29156
29157 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
29158 count for x32. Use R*_LP and omit operand-size suffix.
29159
291602012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29161
29162 * shlib-versions: Move x86_64-.*-linux.* entries to ...
29163 * sysdeps/x86_64/64/shlib-versions: Here. New file.
29164 * sysdeps/x86_64/x32/shlib-versions: New file.
29165
291662012-05-14 Roland McGrath <roland@hack.frob.com>
29167
29168 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
29169 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
29170 Use _dl_fatal_printf instead.
29171
291722012-05-14 Joseph Myers <joseph@codesourcery.com>
29173
29174 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
29175 set if not set by the user. Do not allow for being unset.
29176 * sysdeps/unix/sysv/linux/configure: Regenerated.
29177
291782012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29179
29180 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
29181 the `q' suffix from lea and replace .quad with ASM_ADDR.
29182
291832012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29184
29185 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
29186 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
29187 instead of $17.
29188 (PTR_DEMANGLE): Likewise.
29189
291902012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29191
29192 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
29193 (LP_OP): Likewise.
29194 (ASM_ADDR): Likewise.
29195 (RAX_LP): Likewise.
29196 (RBP_LP): Likewise.
29197 (RBX_LP): Likewise.
29198 (RCX_LP): Likewise.
29199 (RDI_LP): Likewise.
29200 (RSI_LP): Likewise.
29201 (RSP_LP): Likewise.
29202 (R8_LP): Likewise.
29203 (R9_LP): Likewise.
29204 (R10_LP): Likewise.
29205 (R10_LP): Likewise.
29206 (R11_LP): Likewise.
29207 (R12_LP): Likewise.
29208 (R13_LP): Likewise.
29209 (R14_LP): Likewise.
29210 (R15_LP): Likewise.
29211
292122012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29213
29214 * sysdeps/x86_64/x32/dl-machine.h: New file.
29215
292162012-05-14 Andreas Jaeger <aj@suse.de>
29217
29218 * manual/Makefile (subdir): Remove export of subdir.
29219 (all): Remove target.
29220 (.PHONY): Remove all from list.
29221 (mkinstalldirs): Remove.
29222 (.PHONY): Remove installdirs from list.
29223 ($(inst_infodir)/libc.info): Use make-target-directory.
29224 (installdirs): Remove.
29225 (subdir_%): Remove.
29226 (glibc-targets): Remove.
29227 (lib): Remove.
29228 (stubs): Remove.
29229 ($(objpfx)stubs ../po/manual.pot): Remove.
29230 ($(objpfx)stamp%): Remove.
29231 (make-target-directory): Remove.
29232 (subdir_install): Remove.
29233 (routines): Remove.
29234 (aux): Remove.
29235 (sources): Remove.
29236 (objects): Remove.
29237 (headers): Remove.
29238
29239 [BZ #13750]
29240 * manual/.gitignore: Remove, it's not needed anymore.
29241 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
29242 all files in it.
29243 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
29244 directory.
29245 (texis): Renamed to $(objpfx)texis.
29246 (texis-path): New, contains path to generated files.
29247 (chapters.%): Use texis-path for complete path, add extra argument
29248 libc-texinfo.sh.
29249 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
29250 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
29251 (summary,texi, stamp-summary): Use complete path of
29252 files. Generate files in build dir.
29253 (dir-add.texi): Build in build dir.
29254 (libm-err.texi,stamp-libm-err): Likewise.
29255 (version.texi, stamp-version): Likewise.
29256 (.%c.texi): Likewise.
29257 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
29258 (mostlyclean): Remove target.
29259 (realclean): Remove target.
29260 (generated): Add new variable with contents from mostlyclean and
29261 realclean, remove entries duplicated in common-mostlyclean, add
29262 stamp-libm-err and stamp-version.
29263 (generated-dirs): Add libc directory.
29264 ($(inst_infodir)/libc.info): Install files from build dir.
29265
29266 * manual/install.texi (Configuring and compiling): Adjust since
29267 the info files are not part of the tar ball anymore.
29268
292692012-05-14 Andreas Jaeger <aj@suse.de>
29270
29271 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
29272 variable.
29273
292742012-05-14 Joseph Myers <joseph@codesourcery.com>
29275
29276 [BZ #13717]
29277 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
29278 to 2.2.0 where earlier.
29279 * sysdeps/unix/sysv/linux/configure: Regenerated.
29280 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
29281 Remove conditional code.
29282 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
29283 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
29284 Remove conditional code.
29285 [!__NR_lchown]: Likewise.
29286 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29287 [__NR_lchown]: Likewise.
29288 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
29289 comment referencing __ASSUME_LCHOWN_SYSCALL.
29290 * sysdeps/unix/sysv/linux/i386/sigaction.c
29291 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29292 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29293 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
29294 Remove conditional code.
29295 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
29296 (__protocol_available): Remove #if 0 code.
29297 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
29298 conditional code.
29299 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
29300 * sysdeps/unix/sysv/linux/kernel-features.h
29301 (__ASSUME_GETCWD_SYSCALL): Don't define.
29302 (__ASSUME_REALTIME_SIGNALS): Likewise.
29303 (__ASSUME_PREAD_SYSCALL): Likewise.
29304 (__ASSUME_PWRITE_SYSCALL): Likewise.
29305 (__ASSUME_POLL_SYSCALL): Likewise.
29306 (__ASSUME_LCHOWN_SYSCALL): Likewise.
29307 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
29308 non-SPARC.
29309 (__ASSUME_SIOCGIFNAME): Don't define.
29310 (__ASSUME_MSG_NOSIGNAL): Likewise.
29311 (__ASSUME_SENDFILE): Define unconditionally.
29312 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
29313 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
29314 conditional code.
29315 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
29316 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
29317 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29318 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29319 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
29320 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29321 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
29323 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29324 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
29326 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29327 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
29329 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29330 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
29332 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29333 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
29335 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29336 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
29338 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29339 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
29341 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29342 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
29344 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29345 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29346 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
29347 Remove conditional code.
29348 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29349 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29350 Remove conditional code.
29351 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29352 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
29353 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
29354 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29355 Remove conditional code.
29356 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29357 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
29358 Remove conditional code.
29359 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29360 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
29361 Remove conditional code.
29362 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29363 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29364 Remove conditional code.
29365 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29366 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29367 Remove conditional code.
29368 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29369 * sysdeps/unix/sysv/linux/sh/pwrite64.c
29370 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29371 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29372 * sysdeps/unix/sysv/linux/sigaction.c
29373 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29374 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29375 * sysdeps/unix/sysv/linux/sigpending.c
29376 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29377 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29378 * sysdeps/unix/sysv/linux/sigprocmask.c
29379 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29380 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29381 * sysdeps/unix/sysv/linux/sigsuspend.c
29382 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29383 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29384 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
29385 (__libc_missing_rt_sigs): Remove.
29386 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
29387 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
29388 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
29389 Remove conditional code.
29390 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
29391 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
29392 return 1.
29393 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
29394 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
29395 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
29396 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
29397
293982012-05-14 Andreas Jaeger <aj@suse.de>
29399
29400 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
29401 it's not used in glibc.
29402 (__coshm1): Likewise.
29403 (__acosh1p): Likewise.
29404 (__sgn): Likewise.
29405
29406 * manual/string.texi (Copying and Concatenation): Add missing
29407 variable in concat example.
29408 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
29409
294102012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29411
29412 [BZ #14103]
29413 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
29414 __builtin_clzl with __builtin_clzll.
29415
294162012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29417
29418 [BZ #14104]
29419 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
29420 libc_freeres_ptr.
29421
294222012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29423
29424 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
29425 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
29426 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
29427 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
29428
294292012-05-14 Mike Frysinger <vapier@gentoo.org>
29430
29431 * NEWS: Update ia64 info.
29432
294332012-05-12 Andreas Schwab <schwab@linux-m68k.org>
29434
29435 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
29436 used as bcopy.
29437
294382012-05-12 Thomas Schwinge <thomas@codesourcery.com>
29439
29440 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
29441 * sysdeps/unix/syscalls.list (dup3): Likewise.
29442 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
29443 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
29444
294452012-05-11 H.J. Lu <hongjiu.lu@intel.com>
29446
29447 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
29448 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
29449
294502012-05-11 H.J. Lu <hongjiu.lu@intel.com>
29451
29452 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
29453 thread pointer.
29454 (TLS_IE): Use mov/add instead of movq/addq to load thread
29455 pointer.
29456 (TLS_GD_PREFIX): New.
29457 (TLS_GD): Use it.
29458
294592012-05-11 David S. Miller <davem@davemloft.net>
29460
29461 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
29462 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
29463 (_FPU_SETCW): Likewise.
29464
294652012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29466
29467 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
29468 is 32-byte aligned.
29469
294702012-05-11 Andreas Schwab <schwab@linux-m68k.org>
29471
29472 [BZ #11837]
29473 * iconvdata/gb18030.c: Update tables.
29474 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
29475 characters specially.
29476 (BODY for TO_LOOP): Add encoding of missing ranges.
29477
294782012-05-11 Thomas Schwinge <thomas@codesourcery.com>
29479
29480 [BZ #13673]
29481 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
29482 * sysdeps/mach/hurd/dup3.c: Likewise.
29483 * sysdeps/mach/hurd/readlinkat.c: Likewise.
29484 * sysdeps/powerpc/memmove.c:: Likewise.
29485
294862012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29487
29488 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
29489 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
29490
294912012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29492
29493 * elf/elf.h (R_X86_64_RELATIVE64): New.
29494 (R_X86_64_NUM): Updated.
29495 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
29496 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
29497 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
29498 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
29499 tst-quad1pie tst-quad2pie
29500 (modules-names): Add tst-quadmod1 tst-quadmod2.
29501 ($(objpfx)tst-quad1): New dependency.
29502 ($(objpfx)tst-quad2): Likewise.
29503 ($(objpfx)tst-quad1pie): Likewise.
29504 ($(objpfx)tst-quad2pie): Likewise.
29505 * sysdeps/x86_64/tst-quad1.c: New file.
29506 * sysdeps/x86_64/tst-quad1pie.c: New file.
29507 * sysdeps/x86_64/tst-quad2.c: Likewise.
29508 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
29509 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
29510 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
29511 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
29512 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
29513
295142012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29515
29516 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
29517 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
29518 * streams/stropts.h (t_scalar_t): Define type.
29519
29520 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
29521 (_PATH_PRESERVE): Set to "/var/lib".
29522 (_PATH_RWHODIR): Set to "/var/spool/rwho".
29523
29524 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
29525 instead of int.
29526
29527 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
29528 if __dir_mkfile succeeded.
29529
29530 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
29531 checking for _hurd_dtablesize. Unlock it right after having
29532 finished _hurd_dtable allocation.
29533
295342012-05-10 Thomas Schwinge <thomas@schwinge.name>
29535
29536 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
29537 * sysdeps/mach/hurd/configure: Regenerated.
29538 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
29539 special-casing to...
29540 * sysdeps/gnu/configure.in: ... this new file.
29541 * sysdeps/unix/sysv/linux/configure: Regenerated.
29542 * sysdeps/gnu/configure: New generated file.
29543
29544 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
29545 for Linux: use nsec instead of usec, as well as:
29546 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
29547 members of type struct timespec.
29548 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
29549 New macros.
29550 (struct stat64): Likewise.
29551 (_STATBUF_ST_NSEC): New macro.
29552 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
29553
29554 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
29555 __strtoul_internal rather than strtoul.
29556
295572012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29558
29559 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
29560 and reject them.
29561
295622012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29563
29564 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
29565 which preserves existing values.
29566 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
29567
295682012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29569
29570 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
29571 TIMEOUT values. Return EINVAL for NFDS values either negative or
29572 greater than FD_SETSIZE.
29573
295742012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29575
29576 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
29577 allocated, call __vm_protect to finish enabling the existing space, and
29578 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
29579 allocate the remainder.
29580
295812012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29582
29583 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
29584 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
29585
295862012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29587
29588 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
29589 sysdeps/mach/hurd/readlink.c.
29590
29591 * posix/tst-sysconf.c (posix_options): Only use
29592 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
29593 _POSIX_SYNCHRONIZED_IO when they are defined
29594 * sysdeps/mach/hurd/bits/posix_opt.h:
29595 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
29596 (_XOPEN_REALTIME): Undefine macro.
29597 (_XOPEN_REALTIME_THREADS): Undefine macro.
29598 (_XOPEN_SHM): Undefine macro.
29599 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
29600 macro to -1.
29601 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
29602 macro to -1.
29603 (_POSIX_ASYNC_IO): Undefine macro.
29604 (_POSIX_PRIORITIZED_IO): Undefine macro.
29605 (_POSIX_SPIN_LOCKS): Define macro to -1.
29606
29607 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
29608 SA_NODEFER, SA_RESETHAND.
29609 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
29610 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
29611 F_DUPFD_CLOEXEC.
29612
296132012-05-10 Thomas Schwinge <thomas@schwinge.name>
29614
29615 * elf/Makefile (pldd-modules): Define unconditionally.
29616
296172012-05-10 Thomas Schwinge <thomas@schwinge.name>
29618
29619 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
29620
296212012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29622
29623 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
29624 Return ENOENT when name is empty.
29625 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
29626
296272012-05-10 Thomas Schwinge <thomas@schwinge.name>
29628
29629 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
29630
29631 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
29632
296332012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29634
29635 Fix mlock in all cases except non-readable pages.
29636 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
29637 instead of VM_PROT_ALL as parameter to __vm_wire function.
29638
29639 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
29640 (__mkdir): When path is `/', just fail with EEXIST.
29641 * sysdeps/mach/hurd/mkdirat.c: Likewise.
29642
296432012-05-10 Thomas Schwinge <thomas@schwinge.name>
29644
29645 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
29646 <sys/uio.h> (for writev).
29647 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
29648 and <sys/param.h> (for MIN).
29649
296502012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29651
29652 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
29653 REQUESTED_TIME. Properly set the remaining time and return EINTR
29654 if interrupted.
29655
296562012-05-10 Thomas Schwinge <thomas@schwinge.name>
29657
29658 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
29659 Depend on against $(link-rpcuserlibs).
29660
296612012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29662
29663 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
29664 (__libc_stack_end): Do not use attribute_relro.
29665 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
29666 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
29667 to libthread-provided value.
29668 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
29669 attribute_relro.
29670
296712012-05-10 Thomas Schwinge <thomas@schwinge.name>
29672
29673 [BZ #3748]
29674 * bits/libc-lock.h (__libc_once_get): New macro.
29675 * sysdeps/mach/bits/libc-lock.h: Likewise.
29676 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
29677 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
29678 instead of using implementation details.
29679
29680 * libio/fileops.c: Unconditionally include <kernel-features.h>.
29681 * libio/freopen.c: Likewise.
29682 * libio/freopen64.c: Likewise.
29683 * misc/syslog.c: Likewise.
29684 * nscd/connections.c: Likewise.
29685 * nscd/netgroupcache.c: Likewise.
29686 * sysdeps/posix/getcwd.c: Likewise.
29687
296882012-05-10 Roland McGrath <roland@hack.frob.com>
29689
29690 * math/w_ilogbf.c: Add #include <limits.h>.
29691
296922012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29693
29694 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
29695 path instead of returning without unlocking.
29696
29697 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
29698 immediate-write ioctls.
29699 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
29700
297012012-05-10 Thomas Schwinge <thomas@schwinge.name>
29702
29703 * sysdeps/mach/hurd/i386/init-first.c (init): Use
29704 __builtin_frame_address instead of making assumptions about the
29705 location of the return address relative to DATA. Force early load of
29706 the return address.
29707 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
29708 __builtin_frame_address.
29709
29710 dup3 for GNU Hurd.
29711 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
29712 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
29713 implement dup3 and do some further code clean-ups.
29714 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
29715 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
29716
297172012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29718
29719 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
29720
29721 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
29722 HURD_CRITICAL_END around holding _hurd_dtable_lock.
29723 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
29724 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
29725 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
29726 d->port.lock.
29727
29728 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
29729 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
29730 when handler == SIG_ERR, not when handler != SIG_ERR.
29731
297322012-05-10 Thomas Schwinge <thomas@schwinge.name>
29733
29734 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
29735 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
29736 definitions.
29737
29738 accept4 for GNU Hurd.
29739 * include/sys/socket.h (__libc_accept4): New prototype.
29740 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
29741 to implement __libc_accept4.
29742 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
29743 __libc_accept4.
29744 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
29745
29746 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
29747 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
29748 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
29749 signal-defines.sym.
29750
297512012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29752
29753 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
29754
297552012-05-10 Thomas Schwinge <thomas@schwinge.name>
29756
29757 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
29758 assertion on O_CLOEXEC flag.
29759 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
29760 * hurd/intern-fd.c: Likewise.
29761 * hurd/port2fd.c: Likewise.
29762
297632012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29764
29765 [BZ #3906]
29766 * bits/in.h (IPV6_PKTINFO): Define new macro.
29767 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
29768
297692012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29770
29771 [BZ #13954]
29772 [BZ #13955]
29773 [BZ #13956]
29774 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
29775 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
29776 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
29777 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
29778 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29779 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
29780 * math/libm-test.inc (logb_test) : Additional logb tests.
29781
297822012-05-09 Andreas Schwab <schwab@linux-m68k.org>
29783 Andreas Jaeger <aj@suse.de>
29784
29785 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
29786 * configure: Regenerated.
29787 * config.h.in (LINK_OBSOLETE_RPC): New macro.
29788 * config.make.in (link-obsolete-rpc): New substituted variable.
29789 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
29790 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
29791 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29792 (shared-only-routines): Don't set it under [link-obsolete-rpc],
29793 so that libc.a contains the symbols.
29794 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29795 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
29796 * sunrpc/auth_none.c: Likewise.
29797 * sunrpc/auth_unix.c: Likewise.
29798 * sunrpc/authdes_prot.c: Likewise.
29799 * sunrpc/authuxprot.c: Likewise.
29800 * sunrpc/clnt_gen.c: Likewise.
29801 * sunrpc/clnt_perr.c: Likewise.
29802 * sunrpc/clnt_raw.c: Likewise.
29803 * sunrpc/clnt_simp.c: Likewise.
29804 * sunrpc/clnt_tcp.c: Likewise.
29805 * sunrpc/clnt_udp.c: Likewise.
29806 * sunrpc/clnt_unix.c: Likewise.
29807 * sunrpc/des_crypt.c: Likewise.
29808 * sunrpc/des_soft.c: Likewise.
29809 * sunrpc/get_myaddr.c: Likewise.
29810 * sunrpc/key_call.c: Likewise.
29811 * sunrpc/key_prot.c: Likewise.
29812 * sunrpc/netname.c: Likewise.
29813 * sunrpc/pm_getmaps.c: Likewise.
29814 * sunrpc/pm_getport.c: Likewise.
29815 * sunrpc/pmap_clnt.c: Likewise.
29816 * sunrpc/pmap_prot.c: Likewise.
29817 * sunrpc/pmap_prot2.c: Likewise.
29818 * sunrpc/pmap_rmt.c: Likewise.
29819 * sunrpc/publickey.c: Likewise.
29820 * sunrpc/rpc_cmsg.c: Likewise.
29821 * sunrpc/rpc_common.c: Likewise.
29822 * sunrpc/rpc_dtable.c: Likewise.
29823 * sunrpc/rpc_prot.c: Likewise.
29824 * sunrpc/rpc_thread.c: Likewise.
29825 * sunrpc/rtime.c: Likewise.
29826 * sunrpc/svc.c: Likewise.
29827 * sunrpc/svc_auth.c: Likewise.
29828 * sunrpc/svc_raw.c: Likewise.
29829 * sunrpc/svc_run.c: Likewise.
29830 * sunrpc/svc_tcp.c: Likewise.
29831 * sunrpc/svc_udp.c: Likewise.
29832 * sunrpc/svc_unix.c: Likewise.
29833 * sunrpc/svcauth_des.c: Likewise.
29834 * sunrpc/xcrypt.c: Likewise.
29835 * sunrpc/xdr.c: Likewise.
29836 * sunrpc/xdr_array.c: Likewise.
29837 * sunrpc/xdr_float.c: Likewise.
29838 * sunrpc/xdr_intXX_t.c: Likewise.
29839 * sunrpc/xdr_mem.c: Likewise.
29840 * sunrpc/xdr_rec.c: Likewise.
29841 * sunrpc/xdr_ref.c: Likewise.
29842 * sunrpc/xdr_sizeof.c: Likewise.
29843 * sunrpc/xdr_stdio.c: Likewise.
29844
298452012-05-10 Roland McGrath <roland@hack.frob.com>
29846
29847 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
29848 change. Update copyright years.
29849
298502012-05-10 Joseph Myers <joseph@codesourcery.com>
29851
29852 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
29853
298542012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
29855 Joseph Myers <joseph@codesourcery.com>
29856 Paul Pluzhnikov <ppluzhnikov@google.com>
29857
29858 [BZ #14012]
29859 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
29860 requiring rpcgen.
29861 [cross-compiling] (extra-libs): Likewise.
29862 [cross-compiling] (extra-libs-others): Likewise.
29863 [cross-compiling] (librpcsvc-routines): Likewise.
29864 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
29865 [cross-compiling] (omit-deps): Likewise.
29866 (sunrpc-CPPFLAGS): New variable.
29867 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
29868 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
29869 (cross-rpcgen-objs): New variable.
29870 (extra-objs): Append $(cross-rpcgen-objs).
29871 ($(cross-rpcgen-objs)): New rule.
29872 ($(objpfx)cross-rpcgen): Likewise.
29873 (rpcgen-cmd): Define to use $(built-program-file). Expand
29874 comment.
29875 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
29876 ($(objpfx)x%.stmp): Likewise.
29877 * sunrpc/proto.h [IS_IN_build] (_): Define.
29878 [IS_IN_build] (_libc_intl_domainname): Likewise.
29879
298802012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29881
29882 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
29883 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
29884 and R_X86_64_TPOFF64.
29885
298862012-05-10 Joseph Myers <joseph@codesourcery.com>
29887
29888 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
29889 sysdeps/unix/sysv/syscalls.list.
29890 (stime): Likewise.
29891 (utime): Likewise.
29892 * sysdeps/unix/sysv/syscalls.list: Remove file.
29893
298942012-05-10 Paul Eggert <eggert@cs.ucla.edu>
29895
29896 [BZ #3440]
29897 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
29898 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
29899 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
29900 (__LC_IDENTIFICATION): Make these macros useful in #if
29901 expressions, as required by C99.
29902
299032012-05-10 Andreas Schwab <schwab@linux-m68k.org>
29904
29905 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
29906 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
29907 after this.
29908
299092012-05-09 H.J. Lu <hongjiu.lu@intel.com>
29910
29911 * stdlib/longlong.h: Updated from GCC.
29912
299132012-05-09 Andreas Jaeger <aj@suse.de>
29914
29915 * nscd/nscd.c (run_modes): Make named enum, reorder so that
29916 default is first entry.
29917 (run_mode): Set type.
29918 (main): Remove informal message about syslog.
29919 (options): Fix typo.
29920
29921 [BZ #14053]
29922 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
29923 to asm.
29924 (lrint): Likewise.
29925 (llrintf): Likewise.
29926 (llrint): Likewise.
29927 (rint): Likewise.
29928 (rintf): Likewise.
29929 (nearbyint): Likewise.
29930 (nearbyintf): Likewise.
29931
299322012-05-09 Andreas Jaeger <aj@suse.de>
29933 Pedro Alves <palves@redhat.com>
29934
29935 * nscd/nscd.c (run_mode): Use enum.
29936 (main): Cleanup coding style issue.
29937
299382012-05-09 Alexandre Oliva <aoliva@redhat.com>
29939 Andreas Jaeger <aj@suse.de>
29940
29941 * nscd/nscd.c (go_background): Replaced with...
29942 (run_mode): ... this.
29943 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
29944 (options): Add -F --foreground.
29945 (main): Implement it.
29946 (parse_opt): Parse it.
29947
299482012-05-09 Andreas Jaeger <aj@suse.de>
29949
29950 [BZ #14083]
29951 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
29952 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
29953 -Wconversion warning.
29954 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
29955 Likewise.
29956
299572012-05-09 Joseph Myers <joseph@codesourcery.com>
29958
29959 * conform/data/locale.h-data (NULL): Use macro-constant. Require
29960 == 0.
29961 (LC_ALL): Use macro-int-constant.
29962 (LC_COLLATE): Likewise.
29963 (LC_CTYPE): Likewise.
29964 (LC_MESSAGES): Likewise.
29965 (LC_MONETARY): Likewise.
29966 (LC_NUMERIC): Likewise.
29967 (LC_TIME): Likewise.
29968 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
29969 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
29970 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29971 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
29972 Specify type.
29973 [C99-based standards] (float_t): Expect type.
29974 [C99-based standards] (double_t): Expect type.
29975 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
29976 type.
29977 [C99-based standards] (HUGE_VALL): Likewise.
29978 [C99-based standards] (INFINITY): Likewise.
29979 [C99-based standards] (NAN): Likewise.
29980 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
29981 [C99-based standards] (FP_NAN): Likewise.
29982 [C99-based standards] (FP_NORMAL): Likewise.
29983 [C99-based standards] (FP_SUBNORMAL): Likewise.
29984 [C99-based standards] (FP_ZERO): Likewise.
29985 [C99-based standards] (FP_FAST_FMA): Use
29986 optional-macro-int-constant. Specify type. Require == 1.
29987 [C99-based standards] (FP_FAST_FMAF): Likewise.
29988 [C99-based standards] (FP_FAST_FMAL): Likewise.
29989 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
29990 [C99-based standards] (FP_ILOGBNAN): Likewise.
29991 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
29992 Specify type.
29993 [C99-based standards] (MATH_ERREXCEPT): Likewise.
29994 [C99-based standards] (math_errhandling): Specify type.
29995 [ISO99 || ISO11] (signgam): Do not allow.
29996 [non-C99-based standards] (copysignf): Do not allow.
29997 [non-C99-based standards] (exp2f): Likewise.
29998 [non-C99-based standards] (log2f): Likewise.
29999 [non-C99-based standards] (modff): Allow.
30000 [non-C99-based standards] (erff): Do not allow.
30001 [non-C99-based standards] (erfcf): Likewise.
30002 [non-C99-based standards] (gammaf): Likewise.
30003 [non-C99-based standards] (hypotf): Likewise.
30004 [non-C99-based standards] (j0f): Likewise.
30005 [non-C99-based standards] (j1f): Likewise.
30006 [non-C99-based standards] (jnf): Likewise.
30007 [non-C99-based standards] (lgammaf): Likewise.
30008 [non-C99-based standards] (tgammaf): Likewise.
30009 [non-C99-based standards] (y0f): Likewise.
30010 [non-C99-based standards] (y1f): Likewise.
30011 [non-C99-based standards] (ynf): Likewise.
30012 [non-C99-based standards] (isnanf): Likewise.
30013 [non-C99-based standards] (acoshf): Likewise.
30014 [non-C99-based standards] (asinhf): Likewise.
30015 [non-C99-based standards] (atanhf): Likewise.
30016 [non-C99-based standards] (cbrtf): Likewise.
30017 [non-C99-based standards] (expm1f): Likewise.
30018 [non-C99-based standards] (ilogbf): Likewise.
30019 [non-C99-based standards] (log1pf): Likewise.
30020 [non-C99-based standards] (logbf): Likewise.
30021 [non-C99-based standards] (nextafterf): Likewise.
30022 [non-C99-based standards] (remainderf): Likewise.
30023 [non-C99-based standards] (rintf): Likewise.
30024 [non-C99-based standards] (scalbf): Likewise.
30025 [non-C99-based standards] (copysignl): Likewise.
30026 [non-C99-based standards] (exp2l): Likewise.
30027 [non-C99-based standards] (log2l): Likewise.
30028 [non-C99-based standards] (modfl): Allow.
30029 [non-C99-based standards] (erfl): Do not allow.
30030 [non-C99-based standards] (erfcl): Likewise.
30031 [non-C99-based standards] (gammal): Likewise.
30032 [non-C99-based standards] (hypotl): Likewise.
30033 [non-C99-based standards] (j0l): Likewise.
30034 [non-C99-based standards] (j1l): Likewise.
30035 [non-C99-based standards] (jnl): Likewise.
30036 [non-C99-based standards] (lgammal): Likewise.
30037 [non-C99-based standards] (tgammal): Likewise.
30038 [non-C99-based standards] (y0l): Likewise.
30039 [non-C99-based standards] (y1l): Likewise.
30040 [non-C99-based standards] (ynl): Likewise.
30041 [non-C99-based standards] (isnanl): Likewise.
30042 [non-C99-based standards] (acoshl): Likewise.
30043 [non-C99-based standards] (asinhl): Likewise.
30044 [non-C99-based standards] (atanhl): Likewise.
30045 [non-C99-based standards] (cbrtl): Likewise.
30046 [non-C99-based standards] (expm1l): Likewise.
30047 [non-C99-based standards] (ilogbl): Likewise.
30048 [non-C99-based standards] (log1pl): Likewise.
30049 [non-C99-based standards] (logbl): Likewise.
30050 [non-C99-based standards] (nextafterl): Likewise.
30051 [non-C99-based standards] (remainderl): Likewise.
30052 [non-C99-based standards] (rintl): Likewise.
30053 [non-C99-based standards] (scalbl): Likewise.
30054 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30055 [non-C99-based standards] (FP_*): Do not allow.
30056 [C99-based standards] (FP_*): Change to
30057 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
30058 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30059 allow.
30060 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
30061 (SIG_ERR): Likewise.
30062 [X/Open-based standards] (SIG_HOLD): Likewise.
30063 (SIG_IGN): Likewise.
30064 (SIGABRT): Use macro-int-constant. Specify type. Require
30065 positive value.
30066 (SIGFPE): Likewise.
30067 (SIGILL): Likewise.
30068 (SIGINT): Likewise.
30069 (SIGSEGV): Likewise.
30070 (SIGTER): Likewise.
30071 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
30072 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
30073 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
30074 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
30075 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
30076 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
30077 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
30078 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
30079 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
30080 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
30081 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
30082 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
30083 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
30084 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
30085 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
30086 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
30087 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
30088 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
30089 [X/Open-based standards] (SIGTRAP): Likewise.
30090 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
30091 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
30092 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
30093 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
30094 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30095 allow.
30096
300972012-05-08 Ian Wienand <ianw@vmware.com>
30098
30099 [BZ #14080]
30100 * time/tzset.c (__tzset_parse_tz): Update default rules for
30101 daylight time changes in the Energy Policy Act of 2005.
30102
301032012-05-09 Andreas Jaeger <aj@suse.de>
30104
30105 [BZ #13983]
30106 * elf/ldconfig.c (parse_conf): Change string to make clear that
30107 ldconfig only issued a warning if ld.so.conf does not exist.
30108
301092012-05-08 David S. Miller <davem@davemloft.net>
30110
30111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
30112 movxtod instead of popping the value on the stack.
30113
30114 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30115
301162012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
30117
30118 * config.h.in: Add HAVE_ARM_PCS_VFP.
30119
301202012-05-08 Roland Mc Grath <roland@hack.frob.com>
30121
30122 [BZ #13979]
30123 * include/features.h: Warn if user requests __FORTIFY_SOURCE
30124 checking but the checks are disabled for any reason.
30125
301262012-05-08 H.J. Lu <hongjiu.lu@intel.com>
30127
30128 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
30129 and ELF64_R_TYPE with ELFW(R_TYPE).
30130
301312012-05-08 Joseph Myers <joseph@codesourcery.com>
30132
30133 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
30134 (ulimit): Likewise.
30135
30136 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
30137 (settimeofday): Likewise.
30138
301392012-05-08 Mike Frysinger <vapier@gentoo.org>
30140
30141 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
30142 a struct th_u2 inside the union, and move tu_block/tu_code into
30143 a new th_u3 union of tu_block/tu_code inside of that. Move
30144 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
30145 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
30146 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
30147 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
30148 (th_stuff): Change to th_u1.tu_stuff.
30149 (th_data): Define.
30150 (th_msg): Change to th_u1.th_u2.tu_data.
30151
301522012-05-07 David S. Miller <davem@davemloft.net>
30153
30154 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30155
30156 [BZ #14074]
30157 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
30158 (SETUP_PIC_REG): Use it.
30159 (SETUP_PIC_REG_LEAF): Use it.
30160
301612012-05-07 Joseph Myers <joseph@codesourcery.com>
30162
30163 [BZ #13885]
30164 [BZ #13923]
30165 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30166 USE_AS_EXPM1L.
30167 (EXPL_FINITE): Likewise.
30168 (FLDLOG): Likewise.
30169 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30170 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30171 e_expl.S.
30172 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30173 USE_AS_EXPM1L.
30174 (EXPL_FINITE): Likewise.
30175 (FLDLOG): Likewise.
30176 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30177 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30178 e_expl.S.
30179 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
30180 test of -max_value argument for long double.
30181 * sysdeps/i386/fpu/libm-test-ulps: Update.
30182 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30183
301842012-05-06 David S. Miller <davem@davemloft.net>
30185
30186 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
30187 quad soft-float symbols whose references which are compiler
30188 generated.
30189 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
30190
301912012-05-06 Joseph Myers <joseph@codesourcery.com>
30192
30193 [BZ #13884]
30194 [BZ #13914]
30195 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30196 USE_AS_EXP10L.
30197 (EXPL_FINITE): Likewise.
30198 (FLDLOG): Likewise.
30199 (c0): Likewise.
30200 (c1): Likewise.
30201 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
30202 Adjust comments for base varying.
30203 (__expl_finite): Change alias to EXPL_FINITE.
30204 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
30205 e_expl.S.
30206 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
30207 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
30208 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
30209 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
30210 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30211 USE_AS_EXP10L.
30212 (EXPL_FINITE): Likewise.
30213 (FLDLOG): Likewise.
30214 (c0): Likewise.
30215 (c1): Likewise.
30216 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
30217 Adjust comments for base varying.
30218 (__expl_finite): Change alias to EXPL_FINITE.
30219 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
30220 tests for bugs.
30221 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30222
30223 [BZ #14064]
30224 * math/libm-test.inc (check_float_internal): Correct ulp
30225 calculation for subnormal expected results.
30226
302272012-05-06 Andreas Jaeger <aj@suse.de>
30228
30229 * Makeconfig (+math-flags): New, set to -frounding-math.
30230 (+cflags): Add +math-flags so that all of glibc gets compiled with
30231 it.
30232
30233 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
30234
302352012-05-05 Joseph Myers <joseph@codesourcery.com>
30236
30237 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
30238 Disable one test.
30239
30240 [BZ #13787]
30241 [BZ #13922]
30242 [BZ #14036]
30243 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
30244 (__ieee754_expl): Allow for and saturate large arguments.
30245 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
30246 (u_threshold): Likewise.
30247 (__exp): Call __ieee754_exp before checking for overflow and
30248 underflow.
30249 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
30250 (u_threshold): Likewise.
30251 (__expf): Call __ieee754_expf before checking for overflow and
30252 underflow.
30253 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
30254 (u_threshold): Likewise.
30255 (__expl): Call __ieee754_expl before checking for overflow and
30256 underflow.
30257 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
30258 (__ieee754_expl): Allow for and saturate large arguments.
30259 * math/libm-test.inc (exp_test): Add another test. Do not allow
30260 missing overflow exception on overflow.
30261 (expm1_test): Do not allow missing overflow exception on overflow.
30262
30263 * sysdeps/i386/fpu/e_expl.c: Move to ...
30264 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
30265 rather than using inline asm.
30266 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
30267 * sysdeps/x86_64/fpu/e_expl.S: Copy from
30268 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
30269
30270 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
30271 (nice): Likewise.
30272 (poll): Likewise.
30273 (signal): Likewise.
30274 (time): Likewise.
30275 (times): Likewise.
30276
302772012-05-04 Joseph Myers <joseph@codesourcery.com>
30278
30279 * sysdeps/unix/syscalls.list (adjtime): Add entry from
30280 sysdeps/unix/common/syscalls.list.
30281 (fchmod): Likewise.
30282 (fchown): Likewise.
30283 (ftruncate): Likewise.
30284 (getrusage): Likewise.
30285 (gettimeofday): Likewise.
30286 (setpgid): Likewise.
30287 (setregid): Likewise.
30288 (setreuid): Likewise.
30289 (sigaction): Likewise.
30290 (truncate): Likewise.
30291 (vhangup): Likewise.
30292 * sysdeps/unix/common/syscalls.list: Remove file.
30293 * sysdeps/unix/bsd/Implies: Don't include unix/common.
30294 * sysdeps/unix/sysv/linux/Implies: Likewise.
30295
302962012-05-04 H.J. Lu <hongjiu.lu@intel.com>
30297
30298 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
30299 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
30300 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
30301 Moved to ...
30302 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
30303 Here.
30304 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
30305 to ...
30306 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
30307 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
30308 to ...
30309 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
30310 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
30311 to ...
30312 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
30313 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
30314 to ...
30315 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
30316 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
30317 to ...
30318 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
30319 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
30320 to ...
30321 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
30322 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
30323 to ...
30324 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
30325 Here.
30326 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
30327 to ...
30328 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
30329 Here.
30330 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
30331 to ...
30332 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
30333 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
30334 Moved to ...
30335 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
30336 Here.
30337 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
30338 to ...
30339 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
30340
303412012-05-04 Joseph Myers <joseph@codesourcery.com>
30342
30343 * sysdeps/unix/common/bits/dirent.h: Remove file.
30344 * sysdeps/unix/common/bits/fcntl.h: Likewise.
30345
30346 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
30347 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
30348 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
30349 * sysdeps/unix/bsd/isatty.c: Likewise.
30350 * sysdeps/unix/bsd/tcdrain.c: Likewise.
30351 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
30352 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
30353
303542012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30355
30356 [BZ #13563]
30357 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
30358 long double comparison inaccuracies.
30359 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
30360 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30361
303622012-05-04 Andreas Schwab <schwab@linux-m68k.org>
30363
30364 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
30365 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
30366
303672012-05-04 Joseph Myers <joseph@codesourcery.com>
30368
30369 [BZ #14049]
30370 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
30371 nonzero digits before rounding a hex value.
30372 * stdlib/tst-strtod.c (tests): Add another test.
30373
303742012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30375
30376 * sysdeps/s390/fpu/libm-test-ulps: Update.
30377
303782012-05-03 Andreas Jaeger <aj@suse.de>
30379
30380 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
30381 does not get optimized out.
30382 (malloc_opt_barrier): New.
30383
303842012-05-03 Andreas Jaeger <aj@suse.de>
30385 Roland McGrath <roland@hack.frob.com>
30386
30387 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
30388 intermediate file deletion.
30389 (generated): Add .symlist files.
30390
303912012-05-03 Joseph Myers <joseph@codesourcery.com>
30392
30393 [BZ #13775]
30394 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
30395 Redirect under this condition.
30396 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30397 [__USE_GNU] (__dprintf_chk): Not under this condition.
30398 [__USE_GNU] (__vdprintf_chk): Likewise.
30399 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
30400 under this condition.
30401 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30402 [__USE_XOPEN2K8] (dprintf): Define under this condition.
30403 [__USE_XOPEN2K8] (vdprintf): Likewise.
30404 [__USE_GNU] (__dprintf_chk): Not under this condition.
30405 [__USE_GNU] (__vdprintf_chk): Likewise.
30406 [__USE_GNU] (dprintf): Likewise.
30407 [__USE_GNU] (vdprintf): Likewise.
30408
304092012-05-03 Roland McGrath <roland@hack.frob.com>
30410
30411 * elf/Makefile (common-generated): Set this instead of generated for
30412 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
30413 $(all-built-dso)-derived lists.
30414
304152012-05-03 Andreas Jaeger <aj@suse.de>
30416
30417 * sysdeps/i386/fpu/libm-test-ulps: Update.
30418
30419 * FAQ: Removed.
30420 * FAQ.in: Likewise.
30421 * scripts/gen-FAQ.pl: Likewise.
30422 * manual/install.texi (Installation): Point to online location of
30423 FAQ.
30424 * Makefile (files-for-dist): Remove FAQ.
30425 (FAQ): Remove.
30426
304272012-05-02 Allan McRae <allan@archlinux.org>
30428
30429 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
30430 (LDFLAGS-reldepmod5.so): Likewise.
30431 (LDFLAGS-reldep6mod1.so): Likewise.
30432 (LDFLAGS-reldep6mod4.so): Likewise.
30433 (LDFLAGS-reldep8mod3.so): Likewise.
30434 (LDFLAGS-unload4mod1.so): Likewise.
30435 (LDFLAGS-unload4mod2.so): Likewise.
30436 (LDFLAGS-tst-initorder): Likewise.
30437 (LDFLAGS-tst-initordera2.so): Likewise.
30438 (LDFLAGS-tst-initordera3.so): Likewise.
30439 (LDFLAGS-tst-initordera4.so): Likewise.
30440 (LDFLAGS-tst-initorderb2.so): Likewise.
30441 (LDFLAGS-noload): Likewise.
30442 (LDFLAGS-next): Likewise.
30443 (LDFLAGS-order2mod1.so): Likewise.
30444 (LDFLAGS-order2mod2.so): Likewise.
30445 (LDFLAGS-tst-initorder2): Likewise.
30446 (LDFLAGS-tst-initorder2a.so): Likewise.
30447 (LDFLAGS-tst-initorder2b.so): Likewise.
30448 (LDFLAGS-tst-initorder2c.so): Likewise.
30449 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
30450
304512012-05-02 David S. Miller <davem@davemloft.net>
30452
30453 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30454
304552012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
30456
30457 [BZ #14055]
30458 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
30459
304602012-05-02 Andreas Jaeger <aj@suse.de>
30461
30462 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
30463 since we manipulate rounding mode.
30464 (CPPFLAGS-test-idouble.c): Likewise.
30465 (CPPFLAGS-test-ifloat.c): Likewise.
30466 (CFLAGS-test-ldouble.c): Likewise.
30467 (CFLAGS-test-double.c): Likewise.
30468 (CFLAGS-test-float.c): Likewise.
30469 (CFLAGS-test-misc.c): Likewise.
30470 (CFLAGS-test-test-fenv.c): Likewise.
30471
304722012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30473
30474 [BZ #2550]
30475 [BZ #2570]
30476 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
30477 comparisons to determine direction to adjust input.
30478
304792012-05-01 Roland McGrath <roland@hack.frob.com>
30480
30481 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
30482 output to the target.
30483
30484 * scripts/localplt.awk: New file.
30485 * elf/Makefile ($(objpfx)check-localplt): Target removed.
30486 (check-localplt-CFLAGS): Variable removed.
30487 ($(all-built-dso:=.jmprel)): New static pattern rule.
30488 (generated): Add those targets.
30489 (localplt-built-dso): New variable.
30490 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
30491
30492 * elf/check-localplt.c: File removed.
30493
30494 * scripts/check-execstack.awk: New file.
30495 * elf/Makefile ($(objpfx)check-execstack): Target removed.
30496 (check-execstack-CFLAGS): Variable removed.
30497 ($(objpfx)check-execstack.h): Target removed.
30498 ($(objpfx)execstack-default): New target.
30499 (generated): Add that instead of check-execstack.h.
30500 ($(all-built-dso:=.phdr)): New static pattern rule.
30501 (generated): Add those targets.
30502 * elf/check-execstack.c: File removed.
30503
30504 * scripts/check-textrel.awk: New file.
30505 * elf/Makefile ($(objpfx)check-textrel): Target removed.
30506 (check-textrel-CFLAGS): Variable removed.
30507 (all-built-dso): Use := to define.o
30508 ($(all-built-dso:=.dyn)): New static pattern rule.
30509 (generated): Add those targets.
30510 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
30511 * config.make.in (READELF): New substituted variable.
30512 * elf/check-textrel.c: File removed.
30513
305142012-05-01 Joseph Myers <joseph@codesourcery.com>
30515
30516 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30517 allow.
30518 * conform/data/ctype.h-data [C99-based standards] (isblank):
30519 Expect function.
30520 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
30521 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
30522 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30523 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
30524 Specify type. Require positive value.
30525 (EILSEQ): Likewise.
30526 (ERANGE): Likewise.
30527 [ISO || POSIX] (EILSEQ): Do not expect.
30528 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
30529 Specify type. Require positive value.
30530 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
30531 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
30532 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
30533 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
30534 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
30535 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
30536 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
30537 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
30538 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
30539 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
30540 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
30541 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
30542 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
30543 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
30544 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
30545 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
30546 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
30547 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
30548 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
30549 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
30550 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
30551 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
30552 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
30553 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
30554 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
30555 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
30556 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
30557 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
30558 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
30559 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
30560 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
30561 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
30562 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
30563 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
30564 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
30565 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
30566 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
30567 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
30568 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
30569 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
30570 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
30571 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
30572 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
30573 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
30574 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
30575 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
30576 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
30577 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
30578 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
30579 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
30580 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
30581 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
30582 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
30583 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
30584 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
30585 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
30586 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
30587 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
30588 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
30589 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
30590 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
30591 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
30592 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
30593 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
30594 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
30595 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
30596 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
30597 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
30598 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
30599 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
30600 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
30601 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
30602 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
30603 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
30604 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
30605 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
30606 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
30607 Require >= 2.
30608 (FLT_ROUNDS): Expect as macro, not constant.
30609 (FLT_MANT_DIG): Use macro-int-constant.
30610 (DBL_MANT_DIG): Likewise.
30611 (LDBL_MANT_DIG): Likewise.
30612 (FLT_DIG): Likewise.
30613 (DBL_DIG): Likewise.
30614 (LDBL_DIG): Likewise.
30615 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
30616 (DBL_MIN_EXP): Likewise.
30617 (LDBL_MIN_EXP): Likewise.
30618 (FLT_MAX_EXP): Use macro-int-constant.
30619 (DBL_MAX_EXP): Likewise.
30620 (LDBL_MAX_EXP): Likewise.
30621 (FLT_MAX_10_EXP): Likewise.
30622 (DBL_MAX_10_EXP): Likewise.
30623 (LDBL_MAX_10_EXP): Likewise.
30624 (FLT_MAX): Use macro-constant.
30625 (DBL_MAX): Likewise.
30626 (LDBL_MAX): Likewise.
30627 (FLT_EPSILON): Use macro-constant. Give upper bound.
30628 (DBL_EPSILON): Likewise.
30629 (LDBL_EPSILON): Likewise.
30630 (FLT_MIN): Likewise.
30631 (DBL_MIN): Likewise.
30632 (LDBL_MIN): Likewise.
30633 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
30634 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
30635 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
30636 [ISO11] (FLT_HAS_SUBNORM): Likewise.
30637 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
30638 [ISO11] (DBL_DECIMAL_DIG): Likewise.
30639 [ISO11] (FLT_DECIMAL_DIG): Likewise.
30640 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
30641 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
30642 [ISO11] (FLT_TRUE_MIN): Likewise.
30643 [ISO11] (LDBL_TRUE_MIN): Likewise.
30644 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30645 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
30646 (SCHAR_MIN): Use macro-int-constant. Specify type.
30647 (SCHAR_MAX): Likewise.
30648 (UCHAR_MAX): Likewise.
30649 (CHAR_MIN): Likewise.
30650 (CHAR_MAX): Likewise.
30651 (MB_LEN_MAX): Use macro-int-constant.
30652 (SHRT_MIN): Use macro-int-constant. Specify type.
30653 (SHRT_MAX): Likewise.
30654 (USHRT_MAX): Likewise.
30655 (INT_MAX): Likewise.
30656 (INT_MIN): Use macro-int-constant. Specify type. Make upper
30657 bound negative.
30658 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
30659 bound with "U".
30660 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
30661 bound with "L".
30662 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
30663 bound negative. Suffix upper bound with "L".
30664 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
30665 bound with "UL".
30666 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
30667 Specify type.
30668 [C99-based standards] (LLONG_MAX): Likewise.
30669 [C99-based standards] (ULLONG_MAX): Likewise.
30670 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
30671 == 0.
30672 [ISO11] (max_align_t): Require type.
30673 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30674
30675 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
30676 from $CFLAGS, without defining away __attribute__ calls.
30677 (checknamespace): Use $CFLAGS_namespace.
30678
30679 * conform/conformtest.pl (@keywords): Only include C99 keywords
30680 for standards based on C99 or C11.
30681
30682 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
30683 Disable tests.
30684 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
30685 UNIX98]: Likewise.
30686
30687 * conform/conformtest.pl: Handle "macro-int-constant" and test for
30688 usability of symbols in #if.
30689
30690 * conform/conformtest.pl: If macro or constant types start
30691 "promoted:", expect the symbol to be of the following type
30692 promoted by the integer promotions.
30693
30694 * conform/conformtest.pl: Parse all "constant" and "macro" lines
30695 in one place. Also handle "macro-constant".
30696
30697 * conform/conformtest.pl: Only accept expected macro values with
30698 "==". Parse all "macro" lines in one place.
30699 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
30700
30701 * conform/conformtest.pl: Handle braced types on "constant" lines
30702 instead of handling "typed-constant".
30703 * conform/data/signal.h-data: Use "constant" instead of
30704 "typed-constant".
30705
30706 * conform/conformtest.pl: Handle "optional-" at start of lines in
30707 one place rather than duplicating several cases. Handle each
30708 format of "macro" line with initial "optional-".
30709
30710 * conform/conformtest.pl: Only accept expected constant or
30711 optional-constant values with "==". Parse all "constant" lines in
30712 one place. Parse all "optional-constant" lines in one place.
30713 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
30714 * conform/data/fmtmsg.h-data: Likewise.
30715 * conform/data/netinet/in.h-data: Likewise.
30716 * conform/data/tar.h-data: Likewise.
30717 * conform/data/limits.h-data: Use "==" form on "constant" and
30718 "optional-constant" lines.
30719
30720 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
30721 Use -std=c99 for XOPEN2K.
30722 (@knownproblems): Remove.
30723 (newtoken): Don't check %isknown.
30724
30725 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
30726 Do not expect macro.
30727 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
30728 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
30729 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
30730 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
30731 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
30732 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
30733 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
30734 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
30735 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
30736 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
30737 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
30738 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
30739 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
30740 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
30741 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
30742 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
30743 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
30744 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
30745 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
30746 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
30747 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
30748 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
30749 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
30750 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
30751 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
30752 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
30753 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
30754 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
30755 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
30756 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
30757 [XPG3] (acosh): Likewise.
30758 [XPG3] (asinh): Likewise.
30759 [XPG3] (atanh): Likewise.
30760 [XPG3] (cbrt): Likewise.
30761 [XPG3] (expm1): Likewise.
30762 [XPG3] (ilogb): Likewise.
30763 [XPG3] (log1p): Likewise.
30764 [XPG3] (logb): Likewise.
30765 [XPG3] (nextafter): Likewise.
30766 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
30767 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
30768 [XPG3] (remainder): Likewise.
30769 [XPG3] (rint): Likewise.
30770 [XPG3 || XPG4 || UNIX98] (round): Likewise.
30771 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
30772 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
30773 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
30774 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
30775 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
30776 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
30777 [UNIX98 || XOPEN2K] (scalb): Expect.
30778 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
30779 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
30780 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
30781 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
30782 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
30783 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
30784 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
30785 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
30786 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
30787 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
30788 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
30789 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
30790 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
30791 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
30792 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
30793 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
30794 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
30795 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
30796 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
30797 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
30798 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
30799 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
30800 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
30801 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
30802 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
30803 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
30804 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
30805 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
30806 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
30807 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
30808 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
30809 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
30810 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
30811 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
30812 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
30813 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
30814 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
30815 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
30816 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
30817 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
30818 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
30819 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
30820 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
30821 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
30822 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
30823 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
30824 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
30825 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
30826 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
30827 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
30828 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
30829 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
30830 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
30831 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
30832 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
30833 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
30834 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
30835 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
30836 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
30837 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
30838 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
30839 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
30840 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
30841 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
30842 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
30843 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
30844 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
30845 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
30846 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
30847 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
30848 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
30849 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
30850 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
30851 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
30852 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
30853 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
30854 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
30855 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
30856 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
30857 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
30858 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
30859 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
30860 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
30861 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
30862 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
30863 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
30864 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
30865 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
30866 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
30867 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
30868 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
30869 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
30870 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
30871 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
30872 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
30873 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
30874 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
30875 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
30876 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
30877 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
30878 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
30879 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
30880 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
30881 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
30882 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
30883 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
30884 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
30885 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
30886 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
30887 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
30888 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
30889 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
30890 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
30891 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
30892 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
30893 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
30894 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
30895 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
30896 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
30897 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
30898 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
30899 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
30900 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
30901 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
30902 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
30903 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
30904 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
30905 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
30906 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
30907 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
30908 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
30909 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
30910 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
30911 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
30912 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
30913 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
30914 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
30915
30916 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
30917 _XOPEN_SOURCE_EXTENDED for XPG4.
30918
30919 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
30920
30921 * Makeconfig (localtime): Remove variable.
30922 (inst_localtime-file): Likewise.
30923
309242012-05-01 Andreas Schwab <schwab@linux-m68k.org>
30925
30926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
30927 Update.
30928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30929 Update.
30930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
30931 Update.
30932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
30933 Update.
30934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
30935 Update.
30936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
30937 Update.
30938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30939 Update.
30940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
30941 Update.
30942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30943 Update.
30944
309452012-05-01 Joseph Myers <joseph@codesourcery.com>
30946
30947 [BZ #2550]
30948 [BZ #2570]
30949 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
30950 comparisons to determine direction to adjust input.
30951 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
30952 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
30953 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
30954 Likewise.
30955 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
30956 Likewise.
30957 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
30958 Likewise.
30959 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
30960 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
30961 Likewise.
30962 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
30963 Likewise.
30964 * math/libm-test.inc (nexttoward_test): Add more tests.
30965
309662012-05-01 Andreas Schwab <schwab@linux-m68k.org>
30967
30968 [BZ #14040]
30969 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
30970 in version GLIBC_2.1, not GLIBC_2.0.
30971 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
30972 Likewise.
30973
309742012-04-30 Joseph Myers <joseph@codesourcery.com>
30975
30976 [BZ #13942]
30977 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
30978 (1 - x) * (1 + x).
30979 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
30980 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
30981 * math/libm-test.inc (acos_test): Add more tests.
30982 (asin_test): Likewise.
30983 * sysdeps/i386/fpu/libm-test-ulps: Update.
30984 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30985
30986 [BZ #14034]
30987 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
30988 of square root.
30989 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
30990 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
30991 * math/libm-test.inc (acos_test_tonearest): New function.
30992 (acos_test_towardzero): Likewise.
30993 (acos_test_downward): Likewise.
30994 (acos_test_upward): Likewise.
30995 (asin_test_tonearest): Likewise.
30996 (asin_test_towardzero): Likewise.
30997 (asin_test_downward): Likewise.
30998 (asin_test_upward): Likewise.
30999 (main): Call the new functions.
31000 * sysdeps/i386/fpu/libm-test-ulps: Update.
31001 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31002
31003 [BZ #13884]
31004 [BZ #13924]
31005 * math/e_exp10.c: Include <float.h>.
31006 (__ieee754_exp10): Handle underflow here rather than multiplying
31007 large negative argument by M_LN10.
31008 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
31009 of __ieee754_expf.
31010 * math/e_exp10l.c: Include <float.h>.
31011 (__ieee754_exp10l): Handle underflow here rather than multiplying
31012 large negative argument by M_LN10l.
31013 * math/libm-test.inc (exp10_test): Add another test. Do not allow
31014 spurious overflow exception on underflow.
31015
310162012-04-29 Marek Polacek <polacek@redhat.com>
31017
31018 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
31019 (__fortify_function): New macro.
31020 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
31021 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
31022 __extern_always_inline.
31023 * libio/bits/stdio2.h: Likewise.
31024 * libio/bits/stdio.h: Likewise.
31025 * string/string.h: Likewise.
31026 * string/bits/string3.h: Likewise.
31027 * include/stdio.h: Likewise.
31028 * stdlib/bits/stdlib.h: Likewise.
31029 * stdlib/stdlib.h: Likewise.
31030 * rt/bits/mqueue2.h: Likewise.
31031 * rt/mqueue.h: Likewise.
31032 * posix/bits/unistd.h: Likewise.
31033 * posix/unistd.h: Likewise.
31034 * io/bits/poll2.h: Likewise.
31035 * io/bits/fcntl2.h: Likewise.
31036 * io/fcntl.h: Likewise.
31037 * io/sys/poll.h: Likewise.
31038 * misc/bits/syslog.h: Likewise.
31039 * misc/bits/syslog-ldbl.h: Likewise.
31040 * misc/sys/syslog.h: Likewise.
31041 * socket/bits/socket2.h: Likewise.
31042 * socket/sys/socket.h: Likewise.
31043 * debug/tst-chk1.c: Likewise.
31044 * wcsmbs/bits/wchar2.h: Likewise.
31045 * wcsmbs/bits/wchar-ldbl.h: Likewise.
31046 * wcsmbs/wchar.h: Likewise.
31047
310482012-04-29 Andreas Jaeger <aj@suse.de>
31049
31050 * Makerules (tests): Remove enable-check-abi protection.
31051 (check-abi-warn): Remove.
31052 (check-abi-%): Remove check-abi-warn usage.
31053
31054 * configure.in: Remove check-abi configure option.
31055 * configure: Regenerated.
31056 * config.make.in (enable-check-abi): Remove.
31057
310582012-04-28 Andreas Schwab <schwab@linux-m68k.org>
31059
31060 [BZ #14033]
31061 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
31062 double functions to double *_finite functions.
31063
31064 [BZ #13941]
31065 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
31066 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
31067 LDBL_MIN_EXP.
31068 * stdio-common/Makefile (tests): Add tst-sprintf3.
31069 * stdio-common/tst-sprintf3.c: New file.
31070
31071 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
31072 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
31073
310742012-04-28 Joseph Myers <joseph@codesourcery.com>
31075
31076 * conform/conformtest.pl: Remove duplicate typed-constant
31077 handling.
31078
310792012-04-28 David S. Miller <davem@davemloft.net>
31080
31081 * Makerules (%.abilist): Add vpath on sysdep_dirs.
31082 (check-abi-%): Remove AWK script prerequisite and explicit
31083 abilist directory.
31084 (check-abi): Rewrite to just diff the symlist with the abilist.
31085 (config-tls, config-abi-config): Delete, no longer used.
31086 (update-abi-%): Remove AWK script and explicit abilist directory.
31087 (update-abi): Rewrite to simply compare and conditionally copy the
31088 symlist and the sysdep abilist file. Remove update-abi-config
31089 checks.
31090 * abilist/ld.abilist: Remove.
31091 * abilist/libBrokenLocale.abilist: Remove.
31092 * abilist/libanl.abilist: Remove.
31093 * abilist/libcrypt.abilist: Remove.
31094 * abilist/libdl.abilist: Remove.
31095 * abilist/librt.abilist: Remove.
31096 * abilist/libthread_db.abilist: Remove.
31097 * abilist/libutil.abilist: Remove.
31098 * scripts/extract-abilist.awk: Remove.
31099 * scripts/merge-abilist.awk: Remove.
31100 * sysdeps/generic/libcidn.abilist: New file.
31101 * sysdeps/generic/libnss_compat.abilist: New file.
31102 * sysdeps/generic/libnss_db.abilist: New file.
31103 * sysdeps/generic/libnss_dns.abilist: New file.
31104 * sysdeps/generic/libnss_files.abilist: New file.
31105 * sysdeps/generic/libnss_hesiod.abilist: New file.
31106 * sysdeps/generic/libnss_nis.abilist: New file.
31107 * sysdeps/generic/libnss_nisplus.abilist: New file.
31108 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
31109 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
31110 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
31111 file.
31112 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
31113 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
31114 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
31115 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
31116 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
31117 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
31118 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
31119 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
31120 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
31121 file.
31122 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
31123 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
31124 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
31125 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
31126 file.
31127 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
31128 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
31129 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
31130 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
31131 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
31132 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
31133 file.
31134 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
31135 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
31136 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
31137 file.
31138 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
31139 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
31140 New file.
31141 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
31142 New file.
31143 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
31144 New file.
31145 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
31146 New file.
31147 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
31148 New file.
31149 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
31150 New file.
31151 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
31152 New file.
31153 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
31154 New file.
31155 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
31156 New file.
31157 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
31158 New file.
31159 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
31160 New file.
31161 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
31162 New file.
31163 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
31164 New file.
31165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
31166 file.
31167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
31168 New file.
31169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
31170 New file.
31171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
31172 file.
31173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
31174 New file.
31175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
31176 New file.
31177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
31178 file.
31179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
31180 New file.
31181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31182 New file.
31183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
31184 New file.
31185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
31186 New file.
31187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
31188 New file.
31189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
31190 New file.
31191 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
31192 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
31193 file.
31194 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
31195 New file.
31196 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
31197 file.
31198 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
31199 file.
31200 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
31201 file.
31202 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
31203 file.
31204 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
31205 file.
31206 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31207 New file.
31208 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
31209 file.
31210 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
31211 file.
31212 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
31213 New file.
31214 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
31215 file.
31216 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
31217 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
31218 file.
31219 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
31220 New file.
31221 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
31222 file.
31223 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
31224 file.
31225 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
31226 file.
31227 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
31228 file.
31229 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
31230 file.
31231 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31232 New file.
31233 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
31234 file.
31235 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
31236 file.
31237 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
31238 New file.
31239 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
31240 file.
31241 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
31242 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
31243 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
31244 file.
31245 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
31246 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
31247 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
31248 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
31249 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
31250 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
31251 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
31252 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
31253 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
31254 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
31255 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
31256 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
31257 file.
31258 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
31259 New file.
31260 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
31261 file.
31262 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
31263 file.
31264 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
31265 file.
31266 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
31267 file.
31268 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
31269 file.
31270 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
31271 New file.
31272 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
31273 New file.
31274 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
31275 file.
31276 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
31277 New file.
31278 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
31279 file.
31280 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
31281 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
31282 file.
31283 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
31284 New file.
31285 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
31286 file.
31287 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
31288 file.
31289 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
31290 file.
31291 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
31292 file.
31293 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
31294 file.
31295 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
31296 New file.
31297 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
31298 New file.
31299 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
31300 file.
31301 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
31302 New file.
31303 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
31304 file.
31305
313062012-04-28 Joseph Myers <joseph@codesourcery.com>
31307
31308 * conform/conformtest.pl: Fix typo in handling typed-constant from
31309 allow-header.
31310
313112012-04-27 Joseph Myers <joseph@codesourcery.com>
31312
31313 * README: Cut down references to pre-2.6 Linux kernels and
31314 Linuxthreads. Update lists of configurations in libc and ports
31315 and sort alphabetically. Say "or newer" with Linux kernel version
31316 requirements.
31317
31318 * config.h.in [IS_IN_build]: Allow compiling without optimization.
31319
313202012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31321
31322 [BZ #887]
31323 * math/libm-test.inc (logb_test_downward): New test to expose
31324 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
31325 rounding mode.
31326
313272012-04-27 Joseph Myers <joseph@codesourcery.com>
31328
31329 [BZ #14027]
31330 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
31331 to be done.
31332 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
31333 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
31334
313352012-04-26 Joseph Myers <joseph@codesourcery.com>
31336
31337 * sysdeps/unix/i386/brk.S: Remove file.
31338 * sysdeps/unix/i386/dl-brk.S: Likewise.
31339 * sysdeps/unix/i386/pipe.S: Likewise.
31340 * sysdeps/unix/i386/sigreturn.S: Likewise.
31341 * sysdeps/unix/i386/syscall.S: Likewise.
31342 * sysdeps/unix/i386/vfork.S: Likewise.
31343 * sysdeps/unix/i386/wait.S: Likewise.
31344
31345 * sysdeps/unix/common/tcsendbrk.c: Move to ...
31346 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
31347
31348 * configure.in (arm*-none*): Do not allow without
31349 --enable-hacker-mode.
31350 (netbsd*): Remove case setting base_os.
31351 (386bsd*): Likewise.
31352 (freebsd*): Likewise.
31353 (bsdi*): Likewise.
31354 (osf*): Likewise.
31355 (sunos*): Likewise.
31356 (ultrix*): Likewise.
31357 (newsos*): Likewise.
31358 (dynix*): Likewise.
31359 (*bsd*): Likewise.
31360 (sysv*): Likewise.
31361 (isc*): Likewise.
31362 (esix*): Likewise.
31363 (sco*): Likewise.
31364 (minix*): Likewise.
31365 (irix4*): Likewise.
31366 (irix6*): Likewise.
31367 (solaris[2-9]*): Likewise.
31368 (none): Likewise.
31369 * configure: Regenerated.
31370
313712012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31372
31373 [BZ #11521]
31374 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
31375 overflow or cancellation in calculating denominator.
31376 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
31377 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
31378 down expression to avoid unexpected rounding in newer GCCs.
31379 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
31380
313812012-04-26 David S. Miller <davem@davemloft.net>
31382
31383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
31384 long-double compat symbols.
31385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
31386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
31387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
31388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
31389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
31390 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
31391 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
31392 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
31393 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
31394 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
31395 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
31396 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
31397 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
31398
313992012-04-25 David S. Miller <davem@davemloft.net>
31400
31401 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
31402 HWCAP_* values only after the memory barriers have been defined.
31403 (atomic_full_barrier): Define.
31404 (atomic_read_barrier): Define.
31405 (atomic_write_barrier): Define.
31406
314072012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31408
31409 * shlib-versions: Add libgcc_s version information.
31410 * sysdeps/generic/libgcc_s.h: Remove.
31411 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
31412 libgcc_s.h.
31413 * sysdeps/gnu/unwind-resume.c: Likewise.
31414 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
31415
314162012-04-25 David S. Miller <davem@davemloft.net>
31417
31418 * sysdeps/unix/sparc/brk.S: Delete.
31419 * sysdeps/unix/sparc/dl-brk.S: Delete.
31420 * sysdeps/unix/sparc/pipe.S: Delete.
31421 * sysdeps/unix/sparc/sysdep.S: Delete.
31422 * sysdeps/unix/sparc/sysdep.h: Delete.
31423 * sysdeps/unix/sparc/vfork.S: Delete.
31424 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
31425 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
31426 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
31427 ret_ERRVAL, r0, r1, MOVE): Define.
31428 (JUMPTARGET): Remove.
31429 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
31430 sysdeps/unix/sparc/sysdep.h
31431 (ENTRY, END): Remove.
31432 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31433
314342012-04-25 Joseph Myers <joseph@codesourcery.com>
31435
31436 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
31437 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
31438 -DIS_IN_build.
31439
31440 * timezone/README: Update upstream location and email address for
31441 tzcode and tzdata.
31442 * timezone/zdump.c: Update from tzcode 2012b.
31443 * timezone/zic.c: Likewise.
31444
31445 * configure.in (libc_cv_as_needed): Remove test.
31446 * configure: Regenerated.
31447 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
31448 conditional definition.
31449 [$(have-as-needed) != yes] (no-as-needed): Likewise.
31450 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
31451 * config.make.in (have-as-needed): Remove variable.
31452
314532012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31454 Paul Pluzhnikov <ppluzhnikov@google.com>
31455
31456 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
31457 strings correctly.
31458
314592012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
31460
31461 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
31462 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
31463 * sysdeps/sh/strlen.S: Likewise.
31464
314652012-04-24 Joseph Myers <joseph@codesourcery.com>
31466
31467 * sysdeps/unix/fork.S: Remove file.
31468 * sysdeps/unix/i386/fork.S: Likewise.
31469 * sysdeps/unix/sparc/fork.S: Likewise.
31470
31471 * sysdeps/unix/system.c: Remove file.
31472 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
31473
31474 * sysdeps/unix/getegid.S: Remove file.
31475 * sysdeps/unix/geteuid.S: Likewise.
31476
314772012-04-24 Roland McGrath <roland@hack.frob.com>
31478
31479 * scripts/check-localplt.awk: New file.
31480 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
31481 of diff.
31482 * scripts/data/localplt-generic.data: Add a comment.
31483
31484 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
31485 NODE when __dir_mkfile failed.
31486 * sysdeps/mach/hurd/symlinkat.c: Likewise.
31487 Reported by Ludovic Courtès <ludo@gnu.org>.
31488
314892012-04-24 Andreas Jaeger <aj@suse.de>
31490
31491 * Makerules (common-clean): Also remove gen-as-const-headers
31492 files.
31493
314942012-04-24 Joseph Myers <joseph@codesourcery.com>
31495
31496 * Makerules (native-compile): Do not change working directory for
31497 build. Use $(OUTPUT_OPTION) in command.
31498 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
31499
315002012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31501
31502 [BZ #13886]
31503 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
31504 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
31505 * math/libm-test.inc (floor_test): Add more tests.
31506 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
31507
315082012-04-24 Joseph Myers <joseph@codesourcery.com>
31509
31510 * sysdeps/unix/getdents.c: Remove file.
31511 * sysdeps/unix/sysv/getdents.c: Likewise.
31512 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
31513
31514 * sysdeps/unix/syscalls.list (madvise): Add syscall from
31515 sysdeps/unix/mman/syscalls.list.
31516 (mmap): Likewise.
31517 (mprotect): Likewise.
31518 (msync): Likewise.
31519 (munmap): Likewise.
31520 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
31521 * sysdeps/unix/mman/syscalls.list: Remove.
31522 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
31523
31524 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
31525 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
31526 * configure: Regenerated.
31527 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
31528 $(libgcc_s_suffix).
31529 * config.make.in (libgcc_s_suffix): Remove variable.
31530
315312012-04-23 Joseph Myers <joseph@codesourcery.com>
31532
31533 * sysdeps/unix/sysv/gethostname.c: Move to ...
31534 * sysdeps/posix/gethostname.c: ... here.
31535
31536 * sysdeps/unix/execve.S: Remove file.
31537
31538 * sysdeps/unix/_exit.S: Remove file.
31539
315402012-04-23 Andreas Jaeger <aj@suse.de>
31541
31542 [BZ #13739]
31543 * manual/Makefile: Remove make dist support, there's no
31544 need for a stand-alone documentation tar ball.
31545 (TEXI2DVI): Define always, it's not in Makeconfig.
31546 (dist): Removed.
31547 (tar-it): Removed.
31548 (edition): Removed.
31549 (glibc-doc-$(edition).tar): Removed
31550 (%.Z): Removed.
31551 (%.gz): Removed.
31552 (%.uu): Removed.
31553 (ETAGS): Remove, it's in Makeconfig.
31554 (move-if-change): Remove, it's in Makeconfig.
31555
315562012-04-23 Paul Eggert <eggert@cs.ucla.edu>
31557
31558 [BZ #13970]
31559 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
31560 (strtod, strtof, strtold, strtol, strtoul, strtoq)
31561 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
31562 (strtod_l, strtof_l, strtold_l): Remove __wur.
31563 It is not necessarily an error to ignore strtol's return value.
31564 One can reliably look at the stored endptr to decide whether
31565 the number had valid syntax.
31566
315672012-04-21 Andreas Jaeger <aj@suse.de>
31568
31569 [BZ #13739]
31570 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
31571
315722012-04-21 Joseph Myers <joseph@codesourcery.com>
31573
31574 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
31575 * sysdeps/unix/sysv/Versions: Remove file.
31576
315772012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
31578
31579 [BZ #13927]
31580 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31581
315822012-04-21 Nick Alcock <nick.alcock@oracle.com>
31583
31584 [BZ #7064]
31585 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
31586 version from __vm86.
31587
315882012-04-20 Joseph Myers <joseph@codesourcery.com>
31589
31590 * sysdeps/unix/common/lxstat.c: Remove file.
31591 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
31592
31593 * sysdeps/unix/sysv/Makefile: Remove file.
31594
31595 * sysdeps/unix/sysv/direct.h: Remove file.
31596
31597 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
31598 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
31599 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
31600 * sysdeps/unix/sysv/bits/signum.h: Likewise.
31601 * sysdeps/unix/sysv/bits/stat.h: Likewise.
31602 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
31603 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
31604
31605 * sysdeps/unix/sysv/setrlimit.c: Remove file.
31606
31607 * sysdeps/unix/xmknod.c: Remove file.
31608 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
31609
31610 * sysdeps/unix/sysv/settimeofday.c: Remove file.
31611
31612 * sysdeps/unix/sysv/i386/time.S: Remove file.
31613
31614 * sysdeps/unix/fxstat.c: Remove file.
31615 * sysdeps/unix/xstat.c: Likewise.
31616 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
31617
31618 * sysdeps/unix/sysv/sigaction.c: Remove file.
31619
31620 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
31621 (sysdep_headers): Remove variable.
31622 [termio.h not in sysdep_headers] (generated): Likewise.
31623 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
31624 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
31625 * sysdeps/unix/sysv/tcdrain.c: Likewise.
31626 * sysdeps/unix/sysv/tcflow.c: Likewise.
31627 * sysdeps/unix/sysv/tcflush.c: Likewise.
31628 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
31629 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
31630 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
31631 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
31632 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
31633
31634 * sysdeps/unix/siglist.c: Remove file.
31635
31636 * sysdeps/unix/getppid.S: Remove file.
31637
31638 * sysdeps/unix/mkdir.c: Remove file.
31639 * sysdeps/unix/rmdir.c: Likewise.
31640
316412012-04-19 Andreas Schwab <schwab@linux-m68k.org>
31642
31643 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
31644 ERR_MAX value.
31645 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
31646 errlist-compat value.
31647
316482012-04-18 David S. Miller <davem@davemloft.net>
31649
31650 * sysdeps/generic/memcopy.h (reg_char): Delete.
31651 * debug/strcat_chk.c: Use char, not reg_char.
31652 * debug/strcpy_chk.c: Likewise.
31653 * debug/strncat_chk.c: Likewise.
31654 * debug/strncpy_chk.c: Likewise.
31655 * string/memchr.c: Likewise.
31656 * string/memrchr.c: Likewise.
31657 * string/rawmemchr.c: Likewise.
31658 * string/strcat.c: Likewise.
31659 * string/strchr.c: Likewise.
31660 * string/strchrnul.c: Likewise.
31661 * string/strcmp.c: Likewise.
31662 * string/strcpy.c: Likewise.
31663 * string/strncat.c: Likewise.
31664 * string/strncmp.c: Likewise.
31665 * string/strncpy.c: Likewise.
31666
316672012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31668
31669 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
31670 __builtin_memcopy is called when src and dest ranges are known to not
31671 overlap.
31672
316732012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31674
31675 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
31676 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
31677 fwd_align_merge macro call.
31678 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
31679 bwd_align_merge macro call.
31680 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31681
316822012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31683
31684 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
31685 bwd_align_merge macros.
31686 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
31687 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
31688 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31689
316902012-04-18 David S. Miller <davem@davemloft.net>
31691
31692 * sysdeps/sparc/sparc64/memcopy.h: Delete.
31693
316942012-04-18 Andreas Jaeger <aj@suse.de>
31695
31696 [BZ# 6794]
31697 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
31698 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
31699 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31700
31701 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
31702 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
31703 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31704
31705 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
31706 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
31707 Adjust for changed ldbl-128 files.
31708
31709 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
31710 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
31711 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31712
317132012-04-17 David S. Miller <davem@davemloft.net>
31714
31715 * sysdeps/sparc/sparc32/memcopy.h: Delete.
31716
317172012-04-17 Andreas Schwab <schwab@linux-m68k.org>
31718
31719 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
31720 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
31721 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
31722 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
31723 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
31724 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
31725
317262012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31727
31728 [BZ #6794]
31729 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
31730 * math/libm-test.inc: Add ilogb errno and exception tests.
31731 * math/w_ilogb.c: New file: ilogb wrapper.
31732 * math/w_ilogbf.c: New file: ilogbf wrapper.
31733 * math/w_ilogbl.c: New file: ilogbl wrapper.
31734 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
31735 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
31736 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
31737 exception being thrown with 0.0 as argument.
31738 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
31739 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
31740 exception being thrown with 0.0 as argument.
31741 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
31742 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31743 exception being thrown with 0.0 as argument.
31744 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
31745 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31746 exception being thrown with 0.0 as argument.
31747 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
31748 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
31749 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
31750 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
31751 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
31752 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
31753 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
31754 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
31755 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
31756
317572012-04-17 Petr Baudis <pasky@ucw.cz>
31758
31759 * include/sys/uio.h: Change __vector to __iovec to avoid clash
31760 with altivec.
31761
317622012-04-16 Marek Polacek <polacek@redhat.com>
31763
31764 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
31765
317662012-04-16 Marek Polacek <polacek@redhat.com>
31767
31768 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
31769 operands of fdivp instruction.
31770
317712012-04-13 H.J. Lu <hongjiu.lu@intel.com>
31772
31773 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
31774 * elf/tst-auditmod3b.c: Likewise.
31775 * elf/tst-auditmod4b.c: Likewise.
31776 * elf/tst-auditmod5b.c: Likewise.
31777 * elf/tst-auditmod6b.c: Likewise.
31778 * elf/tst-auditmod6c.c: Likewise.
31779 * elf/tst-auditmod7b.c: Likewise.
31780 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
31781 * sysdeps/x86_64/preconfigure.in: Likewise.
31782 * sysdeps/x86_64/preconfigure: Regenerated.
31783
317842012-04-13 H.J. Lu <hongjiu.lu@intel.com>
31785
31786 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
31787 __ILP32__.
31788
317892012-04-13 Antoine Balestrat <merkil33@gmail.com>
31790
31791 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31792 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
31793
317942012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
31795
31796 [BZ #13973]
31797 * locale/iso-639.def: Fix gl language name. Spotted by
31798 Yaron Shahrabani.
31799
318002012-04-12 Roland McGrath <roland@hack.frob.com>
31801
31802 [BZ #2074]
31803 * libio/libio.h (__io_write_fn): Update comment.
31804
318052012-04-12 Petr Baudis <pasky@ucw.cz>
31806
31807 [BZ #2074]
31808 * stdio.texi (Hook Functions): The user provided writer function
31809 is not allowed to return -1.
31810
318112012-04-11 David S. Miller <davem@davemloft.net>
31812
31813 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31814
318152012-04-11 Mike Frysinger <vapier@gentoo.org>
31816
31817 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
31818 Add a leading slash to rtkaio.
31819
318202012-04-11 Jim Meyering <meyering@redhat.com>
31821
31822 [BZ #11959]
31823 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
31824 It is not necessarily an error to ignore fwrite's return
31825 value. One can reliably use ferror to test for errors after
31826 the fact.
31827
318282012-04-10 H.J. Lu <hongjiu.lu@intel.com>
31829
31830 * bits/types.h (__snseconds_t): New type.
31831 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
31832
31833 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
31834 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31835 (__SNSECONDS_T_TYPE): Likewise.
31836 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31837 (__SNSECONDS_T_TYPE): Likewise.
31838 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31839 (__SNSECONDS_T_TYPE): Likewise.
31840
318412012-04-10 Andreas Jaeger <aj@suse.de>
31842
31843 [BZ #2636]
31844 * manual/time.texi (Processor Time): Return type of times is
31845 elapsed real time since an arbitrary point in the past.
31846 (CPU Time): Move CLK_TCK from here...
31847 (Processor Time): ...to here. Correct description.
31848 * manual/conf.texi (Constants for Sysconf): Correct description of
31849 _SC_CLK_TCK.
31850
318512012-04-10 David S. Miller <davem@davemloft.net>
31852
31853 [BZ #13967]
31854 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
31855 where the is a gap between DT_REL(A) and DT_JMPREL.
31856
318572012-04-10 H.J. Lu <hongjiu.lu@intel.com>
31858
31859 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
31860 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
31861 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
31862
318632012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
31864
31865 * elf/dl-support.c (_dl_inhibit_cache): New variable.
31866 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
31867 (dl_main): Handle --inhibit-cache.
31868 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
31869 _dl_inhibit_cache.
31870 * elf/dl-load.c (_dl_map_object): Use it.
31871 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
31872
318732012-04-09 Joseph Myers <joseph@codesourcery.com>
31874
31875 [BZ #13872]
31876 * sysdeps/i386/fpu/e_powl.S (p78): New object.
31877 (__ieee754_powl): Saturate large exponents rather than testing for
31878 overflow of y*log2(x).
31879 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31880 * math/libm-test.inc (pow_test): Do not permit spurious overflow
31881 exceptions.
31882
31883 [BZ #11521]
31884 * math/s_ctan.c: Include <float.h>.
31885 (__ctan): Avoid internal overflow or cancellation in calculating
31886 denominator.
31887 * math/s_ctanf.c: Likewise.
31888 * math/s_ctanl.c: Likewise.
31889 * math/s_ctanh.c: Likewise.
31890 * math/s_ctanhf.c: Likewise.
31891 * math/s_ctanhl.c: Likewise.
31892 * math/libm-test.inc (ctan_test): Add more tests.
31893 (ctanh_test): Likewise.
31894 * sysdeps/i386/fpu/libm-test-ulps: Update.
31895 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31896
318972012-04-09 Andreas Jaeger <aj@suse.de>
31898
31899 [BZ #6894]
31900 * manual/filesys.texi (Directory Entries): Mention that d_namlen
31901 is an optional BSD extension.
31902
31903 [BZ #10254]
31904 * manual/stdio.texi (Opening Streams): Document additional fopen
31905 parameters.
31906
319072012-04-09 Roland McGrath <roland@hack.frob.com>
31908
31909 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
31910 %eax without telling the compiler.
31911
319122012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
31913
31914 [BZ # 13963]
31915 * manual/install.texi: Use sourceware.org.
31916
319172012-04-09 Joseph Myers <joseph@codesourcery.com>
31918
31919 [BZ #13873]
31920 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
31921 (__ieee754_pow): Generate overflow and underflow using huge*huge
31922 and tiny*tiny rather than just returning constant infinity or zero
31923 for large exponents.
31924 * math/libm-test.inc (pow_test): Require overflow exceptions for
31925 applicable cases of large exponents.
31926
31927 [BZ #706]
31928 * sysdeps/i386/fpu/e_pow.S (p10): New object.
31929 (__ieee754_pow): Use iterative multiplication algorithm only for
31930 integer exponents with absolute value below 1024. Check for odd
31931 integer exponents when using algorithm for real exponents.
31932 * math/libm-test.inc (pow_test): Add more tests.
31933 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31934
319352012-04-08 Joseph Myers <joseph@codesourcery.com>
31936
31937 [BZ #13705]
31938 * math/libm-test.inc (exp_test): Do not allow overflow exception
31939 on underflow test.
31940
319412012-04-08 Aurelien Jarno <aurelien@aurel32.net>
31942
31943 [BZ #13705]
31944 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
31945 instead of __kernel_standard_f.
31946
319472012-04-08 Mike Frysinger <vapier@gentoo.org>
31948
31949 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
31950 * sysdeps/x86_64/memset_chk.S: Likewise.
31951
319522012-04-08 Andreas Jaeger <aj@suse.de>
31953
31954 [BZ #10153]
31955 * manual/startup.texi (Environment Access): Describe return value
31956 for putenv and setenv.
31957
31958 [BZ #6895]
31959 * manual/filesys.texi (Directory Entries): Add description for
31960 DT_LNK.
31961
31962 [BZ #6890]
31963 * manual/filesys.texi (Directory Entries): Clarify that it's file
31964 system not operating system in the description of DT_UNKNOWN.
31965
31966 [BZ #6578]
31967 * manual/syslog.texi (closelog): Fix reference, it's openlog.
31968
319692012-04-08 Stephen Compall <s11@member.fsf.org>
31970
31971 [BZ #6649]
31972 * manual/llio.texi (Opening and Closing Files): Add cross
31973 reference to explain mode argument.
31974
319752012-04-07 Mike Frysinger <vapier@gentoo.org>
31976
31977 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
31978 * sysdeps/x86_64/memset_chk.S: Likewise.
31979
319802012-04-07 David S. Miller <davem@davemloft.net>
31981
31982 * elf/elf.h (R_SPARC_WDISP10): Define.
31983 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
31984 R_SPARC_SIZE32.
31985 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
31986 R_SPARC_SIZE64 and R_SPARC_H34.
31987
319882012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
31989
31990 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
31991 conditions and remove no longer applicable assertion.
31992
319932012-04-06 H.J. Lu <hongjiu.lu@intel.com>
31994
31995 * bits/byteswap.h: Include <features.h>.
31996 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
31997 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
31998
319992012-04-06 H.J. Lu <hongjiu.lu@intel.com>
32000
32001 * bits/byteswap.h (__bswap_16): Removed.
32002 Include <bits/byteswap-16.h> to get __bswap_16.
32003 * sysdeps/i386/bits/byteswap.h: Likewise.
32004 * sysdeps/s390/bits/byteswap.h: Likewise.
32005 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32006 * bits/byteswap-16.h: New file.
32007 * sysdeps/i386/bits/byteswap-16.h: Likewise.
32008 * sysdeps/s390/bits/byteswap-16.h: Likewise.
32009 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
32010 * string/Makefile (headers): Add bits/byteswap-16.h.
32011
320122012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
32013
32014 [BZ #13895]
32015 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
32016 extra indirection.
32017 * nss/Makefile (tests-static, tests): Add tst-nss-static.
32018 * nss/tst-nss-static.c: New.
32019
320202012-04-06 Robert Millan <rmh@gnu.org>
32021
32022 [BZ #6486]
32023 * manual/llio.texi (File Position Primitive): lseek
32024 refers to WHENCE when it really means OFFSET.
32025
320262012-04-06 Andreas Jaeger <aj@suse.de>
32027
32028 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
32029 strncmp declarations.
32030
32031 * abilist/libc.abilist: Add __poll and __ppoll.
32032
320332012-04-05 David S. Miller <davem@davemloft.net>
32034
32035 * scripts/check-local-headers.sh: Accept a host triplet in the
32036 path matched by the exclude regexp.
32037
32038 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
32039 definition.
32040 * sysdeps/powerpc/powerpc32/dl-machine.h
32041 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
32042 * sysdeps/s390/s390-32/dl-machine.h
32043 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32044 * sysdeps/sparc/sparc32/dl-machine.h
32045 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32046 * sysdeps/sparc/sparc64/dl-machine.h
32047 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32048
32049 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
32050 lazy binding.
32051 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
32052 undefined symbol errors.
32053
32054 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
32055 DT_NEEDED entries.
32056
320572012-04-05 Michael Matz <matz@suse.de>
32058
32059 [BZ #13592]
32060 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
32061
320622012-04-05 Andreas Jaeger <aj@suse.de>
32063
32064 [BZ #13908]
32065 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
32066 comment.
32067
320682012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32069
32070 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
32071 which ROUND is no valid rounding mode.
32072
320732012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32074
32075 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
32076 read again.
32077 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
32078
320792012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32080
32081 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
32082 an exception using FPU order intentionally.
32083
320842012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32085
32086 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
32087 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
32088 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
32089 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
32090
320912012-04-05 Simon Josefsson <simon@josefsson.org>
32092
32093 [BZ #12340]
32094 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
32095 EINVAL when BUFLEN is too smal.
32096
320972012-04-05 Thomas Schwinge <thomas@codesourcery.com>
32098
32099 [BZ #13553]
32100 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
32101 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
32102
321032012-04-03 Andreas Jaeger <aj@suse.de>
32104
32105 [BZ #13938]
32106 * manual/setjmp.texi (System V contexts): Fix sentence.
32107
32108 [BZ #13926]
32109 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
32110 New macro for this case.
32111 [!__GNUC__] (__bswap_64): New inline function for this case.
32112 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32113 * bits/byteswap.h: Likewise.
32114 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
32115 ull, guard with __GLIBC_HAVE_LONG_LONG.
32116
32117 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
32118 __GLIBC_HAVE_LONG_LONG.
32119
32120 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
32121 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
32122
321232012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32124
32125 [BZ #13691]
32126 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
32127 inptr and inend, rather than using last_ch.
32128
321292012-04-02 David S. Miller <davem@davemloft.net>
32130
32131 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
32132 * stdio-common/printf-parse.h (read_int): Change return type to
32133 'int', return -1 on INT_MAX overflow.
32134 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
32135 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
32136 overflows INT_MAX. Check for overflow of in-format-string precision
32137 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
32138 SIZE_MAX not INT_MAX for integer overflow test.
32139 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
32140 skip the construct in the format string but do not record anything.
32141 * stdio-common/bug22.c: Adjust to test both width/prevision
32142 INT_MAX overflow as well as total length INT_MAX overflow. Check
32143 explicitly for proper errno values.
32144
321452012-04-02 Thomas Schwinge <thomas@codesourcery.com>
32146
32147 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
32148 CHAR_MAX.
32149 * string/test-strcmp.c [! WIDE]: Likewise.
32150 * time/tst-mktime2.c: Likewise for INT_MAX.
32151 * string/test-string.h: #include <sys/param.h> for MIN.
32152
32153 * csu/init-first.c (__libc_init_first): Call __ctype_init.
32154 * sysdeps/i386/init-first.c (init): Likewise.
32155 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
32156 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
32157 * sysdeps/sh/init-first.c (init): Likewise.
32158
321592012-04-01 Ulrich Drepper <drepper@gmail.com>
32160
32161 * po/ru.po: Update from translation team.
32162 * po/vi.po: Likewise.
32163
321642012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
32165
32166 * resolv/nss_dns/dns-host.c: Merge copyright years.
32167
321682012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32169
32170 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
32171 Optimize memcpy with prefetch if
32172 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
32173 src, dst pointers have unequal 16 byte alignments.
32174
321752012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
32176
32177 [BZ #13928]
32178 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
32179 from a CNAME entry and return the minimum ttl for the query.
32180 (gaih_getanswer_slice): Likewise.
32181
321822012-03-30 Jeff Law <law@redhat.com>
32183
32184 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
32185 due to long keys.
32186 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
32187 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
32188
32189 * resolv/nss_dns/dns-host.c: Update copyright year.
32190
321912012-03-30 Ulrich Drepper <drepper@gmail.com>
32192
32193 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
32194 requests to save a system call. Fix check that all bytes are sent.
32195
32196 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
32197 comments for sendmmsg.
32198
321992012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32200
32201 [BZ #13691]
32202 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
32203 with only 1 character between 0x0041 and 0x01b0.
32204 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
32205 * wcsmbs/tst-mbsnrtowcs.c: New file.
32206
322072012-03-29 David S. Miller <davem@davemloft.net>
32208
32209 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
32210 small copies by hand.
32211
322122012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32213
32214 [BZ #13761]
32215 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
32216 _nss_compat_initgroups_dyn): Fall back to malloc/free
32217 for large group memberships.
32218
322192012-03-28 David S. Miller <davem@davemloft.net>
32220
32221 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
32222 that branches into memcpy.
32223 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
32224 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
32225 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32226 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
32227 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
32228 bits.
32229 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
32230 implementation too.
32231 * sysdeps/sparc/mempcpy.S: New file.
32232
32233 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
32234 the IFUNC routine in the libc case.
32235 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
32236
32237 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
32238 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
32239 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
32240 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
32241 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
32242 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
32243 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
32244 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
32245
32246 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
32247 loop to 256 bytes instead of 64 bytes and fix test signedness.
32248
32249 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
32250 * sysdeps/sparc/sparc32/Makefile: rather than here...
32251 * sysdeps/sparc/sparc64/Makefile: and here.
32252
322532012-03-28 Ulrich Drepper <drepper@gmail.com>
32254
32255 * malloc/mallocbug.c: Avoid warnings about unused variables.
32256
322572012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
32258
32259 [BZ #13760]
32260 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
32261 in the right place. Discard and retry query if response is
32262 larger than input buffer size.
32263
322642012-03-28 Joseph Myers <joseph@codesourcery.com>
32265
32266 [BZ #369]
32267 [BZ #2678]
32268 [BZ #3866]
32269 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
32270 x for large integer exponent.
32271 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
32272 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
32273 sign of result as needed afterwards.
32274 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
32275 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
32276 result for underflowing pow the same as for overflow.
32277 (__kernel_standard_l): Handle powl overflow and underflow here
32278 rather than calling __kernel_standard.
32279 * math/libm-test.inc (pow_test): Add more tests.
32280
32281 [BZ #3868]
32282 [BZ #13879]
32283 [BZ #13910]
32284 [BZ #13911]
32285 [BZ #13912]
32286 [BZ #13913]
32287 [BZ #13915]
32288 [BZ #13916]
32289 [BZ #13917]
32290 [BZ #13918]
32291 [BZ #13919]
32292 [BZ #13920]
32293 [BZ #13921]
32294 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
32295 * sysdeps/ieee754/k_standard.c: Include <float.h>.
32296 (__kernel_standard_l): New function.
32297 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
32298 __kernel_standard.
32299 * math/w_acosl.c (__acosl): Likewise.
32300 * math/w_asinl.c (__asinl): Likewise.
32301 * math/w_atan2l.c (__atan2l): Likewise.
32302 * math/w_atanhl.c (__atanhl): Likewise.
32303 * math/w_coshl.c (__coshl): Likewise.
32304 * math/w_exp10l.c (__exp10l): Likewise.
32305 * math/w_exp2l.c (__exp2l): Likewise.
32306 * math/w_fmodl.c (__fmodl): Likewise.
32307 * math/w_hypotl.c (__hypotl): Likewise.
32308 * math/w_j0l.c (__j0l, __y0l): Likewise.
32309 * math/w_j1l.c (__j1l, __y1l): Likewise.
32310 * math/w_jnl.c (__jnl, __ynl): Likewise.
32311 * math/w_lgammal.c (__lgammal): Likewise.
32312 * math/w_log10l.c (__log10l): Likewise.
32313 * math/w_log2l.c (__log2l): Likewise.
32314 * math/w_logl.c (__logl): Likewise.
32315 * math/w_powl.c (__powl): Likewise.
32316 * math/w_remainderl.c (__remainderl): Likewise.
32317 * math/w_scalbl.c (sysv_scalbl): Likewise.
32318 * math/w_sinhl.c (__sinhl): Likewise.
32319 * math/w_sqrtl.c (__sqrtl): Likewise.
32320 * math/w_tgammal.c (__tgammal): Likewise.
32321 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
32322 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
32323 * math/libm-test.inc (acos_test): Add more tests.
32324 (acosh_test): Likewise.
32325 (asin_test): Likewise.
32326 (atanh_test): Likewise.
32327 (exp_test): Likewise.
32328 (exp10_test): Likewise.
32329 (exp2_test): Likewise.
32330 (expm1_test): Likewise.
32331 (lgamma_test): Likewise.
32332 (log_test): Likewise.
32333 (log10_test): Likewise.
32334 (log1p_test): Likewise.
32335 (log2_test): Likewise.
32336 (pow_test): Do not allow some spurious overflow exceptions.
32337 (sqrt_test): Add more tests.
32338 (tgamma_test): Likewise.
32339 (y0_test): Likewise.
32340 (y1_test): Likewise.
32341 (yn_test): Likewise.
32342
323432012-03-27 Anton Blanchard <anton@samba.org>
32344
32345 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
32346 MAP_HUGETLB.
32347 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
32348 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
32349 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
32350
323512012-03-27 David S. Miller <davem@davemloft.net>
32352
32353 * conform/Makefile: Run run-conformtest.sh using $(BASH).
32354
32355 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
32356 have-as-vis3 check.
32357
323582012-03-27 Andreas Jaeger <aj@suse.de>
32359
32360 * sysdeps/x86_64/elf/configure.in: Moved to ...
32361 * sysdeps/x86_64/configure.in: ... here.
32362 * sysdeps/x86_64/elf/start.S: Moved to ...
32363 * sysdeps/x86_64/start.S: ... here.
32364 * sysdeps/x86_64/elf/configure: Delete.
32365
32366 * sysdeps/x86_64/configure.in: Merge contents from
32367 sysdeps/i386/configure.in (without i686 check).
32368
32369 * sysdeps/i386/elf/Versions: Merge into ...
32370 * sysdeps/i386/Versions: ... this.
32371 * sysdeps/i386/elf/Versions: Delete file.
32372 * sysdeps/i386/elf/start.S: Moved to ...
32373 * sysdeps/i386/start.S: ...here.
32374 * sysdeps/i386/elf/configure.in: Merge into...
32375 * sysdeps/i386/configure.in: ...here.
32376 * sysdeps/i386/elf/configure.in: Delete file.
32377 * sysdeps/i386/elf/configure: Delete file.
32378
32379 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
32380 * debug/backtracesyms.c: ... here.
32381 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
32382 * debug/backtracesymsfd.c: ... here.
32383 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
32384 * sysdeps/generic/ifunc-sel.h: ... here.
32385
32386 * sysdeps/unix/i386/start.c: Delete file.
32387 * sysdeps/unix/sparc/start.c: Delete file.
32388 * sysdeps/unix/start.c: Delete file.
32389
32390 * sysdeps/sh/elf/configure.in: Moved to ...
32391 * sysdeps/sh/configure.in: ... here.
32392 * sysdeps/sh/elf/start.S: Moved to ...
32393 * sysdeps/sh/start.S: ... here.
32394 * sysdeps/sh/elf/configure: Delete file.
32395
32396 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
32397 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
32398 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
32399 * sysdeps/powerpc/powerpc64/entry.h: ... here.
32400 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
32401 * sysdeps/powerpc/powerpc64/start.S: here.
32402 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
32403 * sysdeps/powerpc/powerpc64/Makefile: ... this.
32404 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
32405 * sysdeps/powerpc/powerpc64/configure.in: ... this.
32406 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
32407
32408 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
32409 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
32410 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
32411 * sysdeps/powerpc/powerpc32/start.S: ... here.
32412 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
32413 * sysdeps/powerpc/powerpc32/configure.in: ... this.
32414 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
32415
32416 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
32417 * sysdeps/powerpc/ifunc-sel.h: ... here.
32418 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
32419 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
32420
32421 * sysdeps/sparc/elf/configure.in: Moved to ...
32422 * sysdeps/sparc/configure.in: ... here.
32423 * sysdeps/sparc/elf/configure: Delete file.
32424 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
32425 * sysdeps/sparc/sparc32/start.S: ... here.
32426 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
32427 * sysdeps/sparc/sparc64/start.S: ... here.
32428 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
32429 * sysdeps/sparc/sparc32/Makefile: ... this.
32430 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
32431 * sysdeps/sparc/sparc64/Makefile: ... this.
32432
32433 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
32434 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
32435 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
32436 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
32437 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
32438 * sysdeps/s390/s390-32/setjmp.S: ... here.
32439 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
32440 * sysdeps/s390/s390-32/configure.in: ... here.
32441 * sysdeps/s390/s390-32/elf/configure: Delete file.
32442 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
32443 * sysdeps/s390/s390-32/start.S: ... here.
32444
32445 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
32446 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
32447 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
32448 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
32449 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
32450 * sysdeps/s390/s390-64/setjmp.S: ... here.
32451 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
32452 * sysdeps/s390/s390-64/configure.in: ... here
32453 * sysdeps/s390/s390-64/elf/configure: Delete file.
32454 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
32455 * sysdeps/s390/s390-64/start.S: ... here.
32456 * sysdeps/s390/s390-64/elf/configure: Delete.
32457
32458 * configure.in: Remove support for elf directories in sysdeps.
32459
32460 * configure: Regenerated.
32461 * sysdeps/i386/configure: Regenerated.
32462 * sysdeps/powerpc/powerpc32/configure: Regenerated.
32463 * sysdeps/powerpc/powerpc64/configure: Regenerated.
32464 * sysdeps/s390/s390-32/configure: Regenerated.
32465 * sysdeps/s390/s390-64/configure: Regenerated.
32466 * sysdeps/sh/configure: Regenerated.
32467 * sysdeps/sparc/configure: Regenerated.
32468 * sysdeps/x86_64/configure: Regenerated.
32469
324702012-03-26 Andreas Schwab <schwab@linux-m68k.org>
32471
32472 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32473
32474 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
32475 denormal result into account.
32476
324772012-03-25 Roland McGrath <roland@hack.frob.com>
32478
32479 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
32480 Reported by Allan McRae <allan@archlinux.org>.
32481
324822012-03-23 Jeff Law <law@redhat.com>
32483
32484 * nss/getnssent.c (__nss_getent): Fix typo.
32485
324862012-03-23 David S. Miller <davem@davemloft.net>
32487
32488 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32489
324902012-03-23 H.J. Lu <hongjiu.lu@intel.com>
32491
32492 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
32493 to pad to uint64_t for each field.
32494 (dl_tls_index): Replace unsigned long with uint64_t.
32495
324962012-03-23 Daniel Jacobowitz <dmj@google.com>
32497 Paul Pluzhnikov <ppluzhnikov@google.com>
32498
32499 [BZ #6528]
32500 * grp/Makefile (otherlibs): Don't set it.
32501 * inet/Makefile (otherlibs): Likewise.
32502 * login/Makefile (otherlibs): Likewise.
32503 * nscd/Makefile (otherlibs): Likewise.
32504 * posix/Makefile (otherlibs): Likewise.
32505 * pwd/Makefile (otherlibs): Likewise.
32506 * rt/Makefile (otherlibs): Likewise.
32507 * sunrpc/Makefile (otherlibs): Likewise.
32508 * nss/Makefile (otherlibs): Likewise.
32509 Add libnss_files to routines and static-only-routines.
32510 ($(objpfx)getent): Remove rule.
32511 * resolv/Makefile: Add libnss_dns and libresolv to routines and
32512 static-only-routines.
32513
325142012-03-22 Joseph Myers <joseph@codesourcery.com>
32515
32516 [BZ #13892]
32517 * math/s_cexp.c: Include <float.h>.
32518 (__cexp): Handle exp result overflowing not necessarily
32519 overflowing both real and imaginary parts of result.
32520 * math/s_cexpf.c: Likewise.
32521 * math/s_cexpl.c: Likewise.
32522 * math/libm-test.inc (cexp_test): Add more tests.
32523 * sysdeps/i386/fpu/libm-test-ulps: Update.
32524 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32525
325262012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32527
32528 * include/link.h (ELFW): New macro.
32529 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
32530 Replace ELF64_R_TYPE with ELFW(R_TYPE).
32531
325322012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32533
32534 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
32535 with uint64_t.
32536
325372012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32538
32539 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
32540 declaration.
32541 (struct La_x32_retval): Likewise.
32542
325432012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32544
32545 * sysdeps/x86_64/preconfigure.in: New file.
32546 * sysdeps/x86_64/preconfigure: New generated file.
32547
325482012-03-22 Joseph Myers <joseph@codesourcery.com>
32549
32550 [BZ #13824]
32551 * math/e_exp2l.c: Include <float.h>.
32552 (__ieee754_exp2l): Handle overflow and underflow cases
32553 separately. Only pass fractional part of argument to
32554 __ieee754_expl.
32555 * math/libm-test.inc (exp2_test): Add more tests.
32556
32557 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
32558 negating x to take absolute value.
32559 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
32560 Likewise.
32561 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
32562 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
32563 Likewise.
32564 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
32565 computing low part if x was negated.
32566 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
32567
325682012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32569
32570 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
32571 la_x32_gnu_pltexit.
32572 (pltexit): Cast int_retval to ptrdiff_t.
32573 * elf/tst-auditmod3b.c: Likewise.
32574 * elf/tst-auditmod4b.c: Likewise.
32575 * elf/tst-auditmod5b.c: Likewise.
32576 * elf/tst-auditmod6b.c: Likewise.
32577 * elf/tst-auditmod6c.c: Likewise.
32578 * elf/tst-auditmod7b.c: Likewise.
32579
32580 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
32581 and x32_gnu_pltexit.
32582
32583 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
32584 __ELF_NATIVE_CLASS.
32585 (La_x32_regs): New macro.
32586 (La_x32_retval): Likewise.
32587 (la_x32_gnu_pltenter): New function prototype.
32588 (la_x32_gnu_pltexit): Likewise.
32589
325902012-03-21 Andreas Schwab <schwab@linux-m68k.org>
32591
32592 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
32593 exponent.
32594
32595 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32596
32597 * configure.in (libc_cv_cc_nofma): Check for option to disable
32598 generation of FMA instructions.
32599 * configure: Regenerate.
32600 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
32601 * sysdeps/ieee754/dbl-64/Makefile: New file.
32602 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32603 Remove brandred-fma4.
32604 (CFLAGS-brandred-fma4.c): Remove.
32605 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
32606 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
32607 define.
32608 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
32609 define.
32610
326112012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32612
32613 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
32614 LLONG_MAX != LONG_MAX.
32615 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32616 (_fitoa_word): Likewise.
32617 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
32618 LLONG_MAX != LONG_MAX.
32619 * stdio-common/_itowa.h: Include <_itoa.h>.
32620 (_itowa_word): Use _ITOA_WORD_TYPE on value.
32621 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
32622 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
32623 only if not defined.
32624 (_ITOA_WORD_TYPE): Likewise.
32625 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32626 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
32627
326282012-03-21 David S. Miller <davem@davemloft.net>
32629
32630 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32631
326322012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32633
32634 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
32635 of x86_64 when setting libc_cv_slibdir, libdir and
32636 libc_cv_localedir.
32637 * sysdeps/unix/sysv/linux/configure: Regenerated.
32638
326392012-03-21 Joseph Myers <joseph@codesourcery.com>
32640
32641 * manual/lang.texi (Old Varargs): Remove section.
32642 (How Variadic): Update menu.
32643 (va_start): Do not mention varargs.h.
32644
326452012-03-21 Thomas Schwinge <thomas@codesourcery.com>
32646 Joseph Myers <joseph@codesourcery.com>
32647
32648 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
32649 link test.
32650 * configure: Regenerated.
32651
326522012-03-21 Thomas Schwinge <thomas@codesourcery.com>
32653
32654 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
32655 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
32656 conformtest.pl
32657
326582012-03-21 Joseph Myers <joseph@codesourcery.com>
32659
32660 * NOTES: Remove.
32661 * Makefile (files-for-dist): Remove NOTES.
32662 (NOTES): Remove rule.
32663 * README: Don't refer to NOTES.
32664 * manual/creature.texi: Don't include macros.texi.
32665 * manual/intro.texi (creature.texi): Remove comment referring to
32666 NOTES.
32667
32668 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
32669 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
32670 * configure: Regenerated.
32671 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
32672 LIBC_TRY_CC_OPTION.
32673 (libc_cv_as_i686): Likewise.
32674 (libc_cv_cc_avx): Likewise.
32675 (libc_cv_cc_sse2avx): Likewise.
32676 (libc_cv_cc_fma4): Likewise.
32677 (libc_cv_cc_novzeroupper): Likewise.
32678 * sysdeps/i386/configure: Regenerated.
32679
32680 [BZ #13883]
32681 * sysdeps/i386/fpu/s_cexp.S: Remove.
32682 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
32683 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
32684 * math/libm-test.inc (cexp_test): Add more tests.
32685 * sysdeps/i386/fpu/libm-test-ulps: Update.
32686 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32687
326882012-03-21 Allan McRae <allan@archlinux.org>
32689
32690 * timezone/Makefile: Do not install iso3166.tab and zone.tab
32691
326922012-03-21 Joseph Myers <joseph@codesourcery.com>
32693
32694 [BZ #13871]
32695 * math/w_exp2.c: Do not include <float.h>.
32696 (o_threshold, u_threshold): Remove.
32697 (__exp2): Calculate result before checking finiteness and calling
32698 __kernel_standard.
32699 * math/w_exp2f.c: Likewise.
32700 * math/w_exp2l.c: Likewise.
32701 * math/libm-test.inc (exp2_test): Require overflow exception for
32702 1e6 input.
32703
32704 [BZ #3866]
32705 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
32706 range of signed 64-bit integers before using fistpll. Remove
32707 checks for whether integers fit in mantissa bits.
32708 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
32709 the range of signed 32-bit integers before using fistpl. Remove
32710 checks for whether integers fit in mantissa bits.
32711 * sysdeps/i386/fpu/e_powl.S (p64): New object.
32712 (__ieee754_powl): Test for y outside the range of signed 64-bit
32713 integers before using fistpll. Reduce 64-bit values to 63-bit
32714 ones as needed.
32715 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
32716 divide-by-zero is raised for zero to large negative powers.
32717 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
32718 (__ieee754_powl): Test for y outside the range of signed 64-bit
32719 integers before using fistpll. Reduce 64-bit values to 63-bit
32720 ones as needed.
32721 * math/libm-test.inc (pow_test): Add more tests.
32722
327232012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32724
32725 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
32726 <stdio-common/_itoa.h>.
32727 * debug/segfault.c: Likewise.
32728 * elf/dl-cache.c: Likewise.
32729 * elf/dl-minimal.c: Likewise.
32730 * elf/dl-misc.c: Likewise.
32731 * elf/dl-sysdep.c: Likewise.
32732 * elf/dl-version.c: Likewise.
32733 * elf/rtld.c: Likewise.
32734 * hurd/hurdsock.c: Likewise.
32735 * hurd/lookup-retry.c: Likewise.
32736 * malloc/malloc.c: Likewise.
32737 * malloc/mtrace.c: Likewise.
32738 * nscd/nscd_getgr_r.c: Likewise.
32739 * nscd/nscd_getpw_r.c: Likewise.
32740 * nscd/nscd_getserv_r.c: Likewise.
32741 * posix/getopt_init.c: Likewise.
32742 * posix/wordexp.c: Likewise.
32743 * stdio-common/_itoa.c: Likewise.
32744 * stdio-common/printf_fphex.c: Likewise.
32745 * stdio-common/vfprintf.c: Likewise.
32746 * string/_strerror.c: Likewise.
32747 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
32748 * sysdeps/i386/i686/hp-timing.h: Likewise.
32749 * sysdeps/mach/_strerror.c: Likewise.
32750 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
32751 * sysdeps/mach/hurd/sethostid.c: Likewise.
32752 * sysdeps/mach/hurd/xmknodat.c: Likewise.
32753 * sysdeps/mach/xpg-strerror.c: Likewise.
32754 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32755 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32756 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
32757 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
32758 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
32759 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
32760 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
32761 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
32762 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
32763 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
32764 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
32765 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
32766 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
32767 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
32768 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
32769 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
32770 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
32771 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
32772 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
32773 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
32774 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
32775
32776 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
32777
32778 * stdio-common/_itoa.h: Moved to ...
32779 * sysdeps/generic/_itoa.h: Here.
32780
32781 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
32782
32783 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
32784 instead of "_itoa.h" and "_itowa.h".
32785 * stdio-common/vfprintf.: Likewise.
32786
327872012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32788
32789 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
32790 <bits/wordsize.h>.
32791 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
32792 (__signbit): Likwise.
32793 (llrintf): Likwise.
32794 (llrint): Likwise.
32795
327962012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32797
32798 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
32799 __WORDSIZE != 64.
32800
328012012-03-20 Joseph Myers <joseph@codesourcery.com>
32802
32803 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
32804 OVERFLOW_EXCEPTION_OK.
32805 * math/libm-test.inc ("Philosophy"): Update comment about
32806 exception testing.
32807 (OVERFLOW_EXCEPTION): Define.
32808 (OVERFLOW_EXCEPTION_OK): Likewise.
32809 (INVALID_EXCEPTION_OK): Renumber.
32810 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32811 (IGNORE_ZERO_INF_SIGN): Likewise.
32812 (test_exceptions): Handle FE_OVERFLOW.
32813 (exp10_test): Expect overflow exceptions.
32814 (exp2_test): Likewise.
32815 (expm1_test): Likewise.
32816 (nextafter_test): Likewise.
32817 (pow_test): Likewise.
32818 (scalbn_test): Likewise.
32819 (scalbln_test): Likewise.
32820
328212012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32822
32823 * sysdeps/x86_64/bits/atomic.h
32824 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
32825 64bit integer.
32826 (atomic_exchange_acq): Likewise.
32827 (__arch_exchange_and_add_body): Likewise.
32828 (__arch_add_body): Likewise.
32829 (atomic_add_negative): Likewise.
32830 (atomic_add_zero): Likewise.
32831
328322012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32833
32834 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
32835 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
32836
328372012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32838
32839 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
32840 Check __x86_64__ instead of __WORDSIZE.
32841
328422012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32843
32844 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
32845
328462012-03-19 David S. Miller <davem@davemloft.net>
32847
32848 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32849
32850 * sysdeps/sparc/fpu/fenv_private.h: New file.
32851 * sysdeps/sparc/fpu/math_private.h: Use it.
32852 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
32853 Remove.
32854 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
32855 (libc_feholdexcept_setroundl): Remove.
32856 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
32857 Remove.
32858 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
32859 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
32860
328612012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32862
32863 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
32864 int64_t instead of long int.
32865 (INSERT_WORDS64): Likwise.
32866
328672012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32868
32869 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
32870 _Unwind_GetCFA return to _Unwind_Ptr first.
32871
328722012-03-19 Joseph Myers <joseph@codesourcery.com>
32873
32874 [BZ #13629]
32875 * math/s_clog.c: Include <float.h>.
32876 (__clog): Scale large or subnormal inputs.
32877 * math/s_clogf.c: Likewise.
32878 * math/s_clogl.c: Likewise.
32879 * math/s_clog10.c: Include <float.h>.
32880 (M_LOG10_2): Define.
32881 (__clog10): Scale large or subnormal inputs.
32882 * math/s_clog10f.c: Likewise.
32883 * math/s_clog10l.c: Likewise.
32884 * math/libm-test.inc (clog_test): Add more tests.
32885 (clog10_test): Likewise.
32886 * sysdeps/i386/fpu/libm-test-ulps: Update.
32887 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32888
32889 [BZ #11451]
32890 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
32891 x and y.
32892 * math/libm-test.inc (atan2_test): Add another test.
32893
32894 * Makerules (common-objdir-compile): Remove.
32895 * sysdeps/unix/Makefile (config-generated): Do not add
32896 $(unix-generated) to variable.
32897 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
32898 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
32899 Remove rule.
32900 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
32901 Likewise.
32902 [generic bits/local_lim.h] (before-compile): Do not append to
32903 variable.
32904 [generic bits/local_lim.h] (common-generated): Likewise.
32905 [generic sys/param.h] (before-compile): Do not append to variable.
32906 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
32907 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
32908 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
32909 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
32910 include.
32911 [generic sys/param.h] (sys/param.h-includes): Remove variable.
32912 [generic sys/param.h] (sys/param.h-includes): Remove rule.
32913 [generic sys/param.h] ($(addprefix
32914 $(common-objpfx),$(sys/param.h-includes))): Likewise.
32915 [generic sys/param.h] (common-generated): Do not append to
32916 variable.
32917 [generic sys/param.h] (sysdep_headers): Likewise.
32918 [generic bits/errno.h] (before-compile): Do not append to
32919 variable.
32920 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
32921 rule.
32922 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
32923 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
32924 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
32925 [generic bits/errno.h] (common-generated): Do not append to
32926 variable.
32927 [generic bits/ioctls.h] (before-compile): Do not append to
32928 variable.
32929 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
32930 rule.
32931 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
32932 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
32933 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
32934 rule.
32935 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
32936 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
32937 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
32938 [generic bits/ioctls.h] (common-generated): Do not append to
32939 variable.
32940 [generic sys/syscall.h] (syscall.h): Remove variable.
32941 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
32942 rule.
32943 [generic sys/syscall.h] (before-compile): Do not append to
32944 variable.
32945 [generic sys/syscall.h] (common-generated): Likewise.
32946 * sysdeps/unix/errnos-tmpl.c: Remove file.
32947 * sysdeps/unix/errnos.awk: Likewise.
32948 * sysdeps/unix/ioctls-tmpl.c: Likewise.
32949 * sysdeps/unix/ioctls.awk: Likewise.
32950 * sysdeps/unix/mk-local_lim.c: Likewise.
32951 * sysdeps/unix/snarf-ioctls: Likewise.
32952
329532012-03-19 Richard Henderson <rth@twiddle.net>
32954
32955 * sysdeps/i386/fpu/fenv_private.h: New file.
32956 * sysdeps/i386/fpu/math_private.h: Use it.
32957 (math_opt_barrier, math_force_eval): Remove.
32958 (libc_feholdexcept_setround_53bit): Remove.
32959 (libc_feupdateenv_53bit): Remove.
32960 * sysdeps/x86_64/fpu/math_private.h: Likewise.
32961 (math_opt_barrier, math_force_eval): Remove.
32962 (libc_feholdexcept): Remove.
32963 (libc_feholdexcept_setround): Remove.
32964 (libc_fetestexcept, libc_fesetenv): Remove.
32965 (libc_feupdateenv_test): Remove.
32966 (libc_feupdateenv, libc_feholdsetround): Remove.
32967 (libc_feresetround): Remove.
32968
32969 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
32970 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
32971
32972 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
32973 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
32974 (libc_feupdateenv_testl): New.
32975 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
32976 (libc_feupdateenv_testf): New.
32977 (libc_feupdateenv): Use libc_feupdateenv_test.
32978 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
32979 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
32980
32981 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
32982 (libc_feholdsetroundf, libc_feholdsetroundl): New.
32983 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
32984 (libc_feresetround_noex): New.
32985 (libc_feresetround_noexf): New.
32986 (libc_feresetround_noexl): New.
32987 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
32988 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
32989 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
32990 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
32991 SET_RESTORE_ROUND.
32992 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
32993 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
32994 (__cos): Likewise.
32995 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
32996 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
32997 SET_RESTORE_ROUND_NOEX.
32998 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
32999 SET_RESTORE_ROUND_NOEXF.
33000 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
33001 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
33002 (libc_feholdsetroundf): New.
33003 (libc_feresetround, libc_feresetroundf): New.
33004
33005 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
33006 (libc_feholdexcept_setround_53bit): Convert from macro to function.
33007 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
33008
33009 * sysdeps/generic/math_private.h: Include <fenv.h>.
33010 (default_libc_feholdexcept): New.
33011 (default_libc_feholdexcept_setround): New.
33012 (default_libc_fesetenv, default_libc_feupdateenv): New.
33013 (libc_feholdexcept): Only define if undefined.
33014 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
33015 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
33016 (libc_feholdexcept_setroundl): Likewise.
33017 (libc_feholdexcept_setround_53bit): Likewise.
33018 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
33019 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
33020 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
33021 (libc_feupdateenv_53bit): Likewise.
33022 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
33023 (libc_feholdexcept): Convert from macro to inline function.
33024 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
33025 (libc_fesetenv, libc_feupdateenv): Likewise.
33026
33027 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
33028 not previously defined.
33029 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
33030 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
33031 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
33032 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
33033 * sysdeps/ieee754/flt-32/math_private.h: New file.
33034 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
33035 math_private.h below SET_FLOAT_WORD.
33036 (__isnan, __isinf_ns, __finite): Remove.
33037 (__isnanf, __isinf_nsf, __finitef): Remove.
33038
330392012-03-18 Andreas Schwab <schwab@linux-m68k.org>
33040
33041 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33042
330432012-03-17 David S. Miller <davem@davemloft.net>
33044
33045 [BZ #6471]
33046 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
33047 for 2.16.
33048
330492012-03-16 David S. Miller <davem@davemloft.net>
33050
33051 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
33052 warnings.
33053
33054 [BZ #6471]
33055 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
33056 properly.
33057 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
33058 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
33059 sysdep_routines when subdir is sysvipc.
33060 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
33061 __getshmlba helper.
33062
33063 * sysdeps/sparc/fpu/libm-test/ulps: Update.
33064
330652012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33066
33067 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
33068 [__LP64__].
33069
330702012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33071
33072 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
33073 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
33074 (__lround): Renamed to ...
33075 (__llround): This. Replace long int with long long int.
33076 Define lround functions as aliases of llround functions.
33077 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
33078
330792012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33080
33081 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
33082 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
33083 adresses to uintptr_t. Replace "long int" and "unsigned long
33084 int" with "greg_t" on va_arg.
33085
330862012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33087
33088 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
33089 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
33090
33091 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
33092 Move e_machine check before EI_CLASS check. Handle x32
33093 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
33094 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
33095 SKIP_EM_IA_64 and include
33096 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
33097
33098 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
33099 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
33100 (add_system_dir): New macro.
33101
33102 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
33103 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
33104
331052012-03-16 Joseph Myers <joseph@codesourcery.com>
33106
33107 [BZ #2551]
33108 [BZ #2552]
33109 [BZ #2553]
33110 [BZ #2554]
33111 [BZ #2562]
33112 [BZ #2563]
33113 [BZ #2565]
33114 [BZ #2566]
33115 [BZ #2576]
33116 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
33117 (y0): Likewise.
33118 * math/w_j0f.c (j0f): Likewise.
33119 (y0f): Likewise.
33120 * math/w_j0l.c (__j0l): Likewise.
33121 (__y0l): Likewise.
33122 * math/w_j1.c (j1): Likewise.
33123 (y1): Likewise.
33124 * math/w_j1f.c (j1f): Likewise.
33125 (y1f): Likewise.
33126 * math/w_j1l.c (__j1l): Likewise.
33127 (__y1l): Likewise.
33128 * math/w_jn.c (jn): Likewise.
33129 (yn): Likewise.
33130 * math/w_jnf.c (jnf): Likewise.
33131 (ynf): Likewise.
33132 * math/w_jnl.c (__jnl): Likewise.
33133 (__ynl): Likewise.
33134 * math/libm-test.inc (j0_test): Add more tests.
33135 (j1_test): Likewise.
33136 (jn_test): Likewise. Add trailing semicolon to existing test.
33137 (y0_test): Likewise.
33138 (y1_test): Likewise.
33139 * sysdeps/i386/fpu/libm-test-ulps: Update.
33140 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33141
33142 [BZ #13851]
33143 [BZ #13854]
33144 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
33145 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
33146 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
33147 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
33148 (__tanl): Set errno for infinite argument.
33149 * sysdeps/i386/fpu/mptan.c: Remove.
33150 * sysdeps/i386/fpu/s_tan.S: Likewise.
33151 * sysdeps/i386/fpu/s_tanl.S: Likewise.
33152 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
33153 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
33154 * math/libm-test.inc (tan_test): Add more tests and enable more
33155 tests for double and long double.
33156 * sysdeps/i386/fpu/libm-test-ulps: Update.
33157 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33158
331592012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
33160
33161 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
33162 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
33163
331642012-03-16 Roland McGrath <roland@hack.frob.com>
33165
33166 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
33167 * configure.in: Use it for both main tree and add-ons.
33168 * configure: Regenerated.
33169
331702012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33171
33172 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
33173
331742012-03-16 Joseph Myers <joseph@codesourcery.com>
33175
33176 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
33177 in comment.
33178
33179 [BZ #13851]
33180 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
33181 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
33182 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
33183 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
33184 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
33185 infinite argument.
33186 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
33187 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
33188 != 0 for prec == 2.
33189 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
33190 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
33191 * sysdeps/i386/fpu/s_cosl.S: Likewise.
33192 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
33193 * sysdeps/i386/fpu/s_sinl.S: Likewise.
33194 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
33195 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
33196 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
33197 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
33198 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
33199 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
33200 * math/libm-test.inc (cos_test): Add more tests and enable more
33201 tests for long double.
33202 (sin_test): Likewise.
33203 (sincos_test): Likewise.
33204 * sysdeps/i386/fpu/libm-test-ulps: Update.
33205 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33206
332072012-03-16 David S. Miller <davem@davemloft.net>
33208
33209 * sysdeps/sparc/fpu/math_private.h: New file.
33210
332112012-03-15 David S. Miller <davem@davemloft.net>
33212
33213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
33214 file.
33215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
33216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
33217 file.
33218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
33219 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
33220 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
33221 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
33222 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
33223 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
33224 sysdep routines.
33225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33226
33227 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
33228 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
33229
33230 * sysdeps/sparc/sparc-ifunc.h: New file.
33231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
33232 sparc-ifunc.h
33233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
33234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
33235 Likewise.
33236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
33237 Likewise.
33238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
33239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
33240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
33241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
33242 Likewise.
33243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
33244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
33245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
33246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
33247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
33248 Likewise.
33249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
33250 Likewise.
33251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
33252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
33253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
33254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
33255 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
33256 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
33257 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
33258 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
33259 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
33260 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
33261 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
33262 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
33263 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
33264 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
33265 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
33266 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
33267 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
33268 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
33269 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
33270 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
33271 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
33272 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
33273 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
33274 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
33275
332762012-03-15 Andreas Schwab <schwab@linux-m68k.org>
33277
33278 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
33279 scaling.
33280 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33281
332822012-03-15 Andreas Jaeger <aj@suse.de>
33283
33284 [BZ #13852]
33285 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
33286 ieee754/flt-32 implementation for sin, cos and sincos.
33287 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
33288 * sysdeps/i386/fpu/s_cosf.S: Likewise.
33289 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
33290 * sysdeps/i386/fpu/s_sinf.S: Likewise.
33291 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
33292 ieee754/flt-32 implementation for tan.
33293
33294 * math/libm-test.inc (cos_test): Enable some large input tests for
33295 float as well
33296 (sin_test): Likewise.
33297 (sincos_test): Likewise.
33298 (tan_test): Add tests for large input.
33299
33300 * sysdeps/i386/fpu/libm-test-ulps: Update.
33301
333022012-03-15 Andreas Jaeger <aj@suse.de>
33303
33304 [BZ #13658]
33305 * math/libm-test.inc (cos_test): Add more test cases.
33306 (sin_test): Likewise.
33307 (sincos_test): Likewise.
33308
333092012-03-15 Andreas Jaeger <aj@suse.de>
33310
33311 [BZ #13837]
33312 * math/libm-test.inc (cos_test): Add a test case for large input
33313 value.
33314 (sin_test): Likewise.
33315 (sincos_test): Likewise.
33316
333172012-03-15 Andreas Jaeger <aj@suse.de>,
33318 Joseph Myers <joseph@codesourcery.com>
33319
33320 [BZ #13658]
33321 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
33322 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
33323 * sysdeps/i386/fpu/branred.c: Likewise.
33324 * sysdeps/i386/fpu/dosincos.c: Likewise.
33325 * sysdeps/i386/fpu/mpa.c: Likewise.
33326 * sysdeps/i386/fpu/s_cos.S: Likewise.
33327 * sysdeps/i386/fpu/s_sin.S: Likewise.
33328 * sysdeps/i386/fpu/s_sincos.S: Likewise.
33329 * sysdeps/i386/fpu/sincos32.c: Likewise.
33330
33331 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
33332 Define.
33333 (libc_feupdateenv_53bit): Define.
33334 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
33335 Define.
33336 (libc_feupdateenv_53bit): Define.
33337
33338 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
33339 53 bit (without extend i386 double precision).
33340
33341 * math/libm-test.inc (sincos_test): Add tests for large input.
33342 (sin): Likewise.
33343 (cos): Likewise.
33344
33345 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
33346
333472012-03-15 Andreas Schwab <schwab@linux-m68k.org>
33348
33349 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33350
333512012-03-15 David S. Miller <davem@davemloft.net>
33352
33353 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
33354 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
33355 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
33356 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
33357 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
33358 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
33359 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
33360 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
33361 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
33362 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
33363 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
33364 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
33365 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
33366 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
33367 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
33368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
33369 file.
33370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
33371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
33372 file.
33373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
33374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
33375 file.
33376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
33377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
33378 file.
33379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
33380 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
33381 fmin/fmax sysdep routines.
33382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33383
333842012-03-14 David S. Miller <davem@davemloft.net>
33385
33386 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
33387 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
33388 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
33389 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
33390 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
33391 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
33392 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
33393 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
33394 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
33395 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
33396 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
33397 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
33398 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
33399 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
33400 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
33401 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
33402 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
33403 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
33404 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
33405 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
33406 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
33407 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
33408 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
33409 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
33410 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
33411 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
33412 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
33413 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
33414 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
33415 routines.
33416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
33417 file.
33418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
33419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
33420 file.
33421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
33422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
33423 file.
33424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
33425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
33426 file.
33427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
33428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
33429 file.
33430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
33431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
33432 file.
33433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
33434 file.
33435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
33436 file.
33437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
33438 file.
33439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
33440 New file.
33441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
33442 file.
33443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
33444 file.
33445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
33446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
33447 file.
33448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
33449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
33450 file.
33451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
33452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
33453 file.
33454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
33455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
33456 VIS3 routines.
33457
33458 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
33459 New file.
33460
33461 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33462
33463 * sysdeps/sparc/configure.in: New file.
33464 * sysdeps/sparc/configure: Generate.
33465 * configure.in (libc_cv_sparc_as_vis3): Substitute.
33466 * configure: Regenerate.
33467 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
33468 * config.make.in (have-as-vis3): New.
33469 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
33470 available use -Av9d instead of -Av9a.
33471 * sysdeps/sparc/sparc64/Makefile: Likewise.
33472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
33473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
33474 New file.
33475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
33476 file.
33477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
33478 New file.
33479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
33480 file.
33481 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
33482 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
33483 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
33484 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
33485 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
33486
33487 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
33488 fzeros/fnegs to load 0x80000000 into a float register instead of
33489 using the stack.
33490 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
33491
334922012-03-14 Joseph Myers <joseph@codesourcery.com>
33493
33494 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33495 bits/syscall.h.
33496 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
33497 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
33498 ($(inst_includedir)/bits/syscall.h): Remove rule.
33499 ($(objpfx)bits/syscall.d): Include instead of
33500 $(objpfx)syscall-list.d.
33501 (generated): Change syscall-list.h and syscall-list.d to
33502 bits/syscall.h and bits/syscall.d.
33503
335042012-03-14 Roland McGrath <roland@hack.frob.com>
33505
33506 [BZ #13846]
33507 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
33508
335092012-03-14 Joseph Myers <joseph@codesourcery.com>
33510
33511 [BZ #13841]
33512 * math/s_csqrt.c: Include <float.h>.
33513 (__csqrt): Scale large or subnormal inputs.
33514 * math/s_csqrtf.c: Likewise.
33515 * math/s_csqrtl.c: Likewise.
33516 * math/libm-test.inc (csqrt_test): Add more tests.
33517 * sysdeps/i386/fpu/libm-test-ulps: Update.
33518 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33519
33520 [BZ #13840]
33521 * math/libm-test.inc (hypot_test): Add more tests.
33522
335232012-03-13 David S. Miller <davem@davemloft.net>
33524
33525 [BZ #13840]
33526 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
33527 double-precision for the calculation instead of scaling.
33528
335292012-03-13 Joseph Myers <joseph@codesourcery.com>
33530
33531 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
33532 manipulate bits before adding and subtracting TWO52[sx].
33533 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
33534 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
33535 Likewise.
33536 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
33537
335382012-03-13 David S. Miller <davem@davemloft.net>
33539
33540 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
33541 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
33542 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
33543 rtld-global-offsets.h
33544 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33545
33546 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
33547 large parameters.
33548
33549 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
33550
33551 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
33552 'err' in the ifdef scope in which it is actually used.
33553
33554 * nss/nss_db/db-init.c: Include string.h
33555
335562012-03-12 David S. Miller <davem@davemloft.net>
33557
33558 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
33559 masking out of the most significant byte of random value used.
33560 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33561 Fix coding style in previous change.
33562
33563 * sysdeps/unix/sysv/linux/kernel-features.h
33564 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
33565 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
33566 expression.
33567 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
33568 later.
33569
335702012-03-11 David S. Miller <davem@davemloft.net>
33571
33572 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
33573 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
33574 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
33575 for 'resultvar' otherwise things get truncated on 64-bit.
33576
33577 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33578 Fix masking out of the most significant byte of random value used.
33579
33580 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33581
335822012-03-10 Andreas Schwab <schwab@linux-m68k.org>
33583
33584 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33585
335862012-03-09 David S. Miller <davem@davemloft.net>
33587
33588 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
33589 variables with appropriate CPP guards.
33590 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
33591 frame pointer, not the stack pointer. Correct layout comments. Fix test
33592 on resulting framesize and the management of the outregs buffer for pltexit.
33593 Preserve floating point return values across _dl_call_pltexit call.
33594 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
33595 framesize and the management of the outregs buffer for pltexit.
33596 Preserve floating point return values across _dl_call_pltexit
33597 call.
33598 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
33599 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
33600 (print_exit): Fix format string for return register value.
33601
336022012-03-10 Joseph Myers <joseph@codesourcery.com>
33603
33604 * sunrpc/Makefile (others): Add rpcgen.
33605 ($(objpfx)rpcgen): Remove special build rule and dependency on
33606 libc.
33607 * sunrpc/rpcgen.c: New file.
33608
336092012-03-09 Paul Eggert <eggert@cs.ucla.edu>
33610
33611 [BZ #13673]
33612 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
33613 * stdio-common/bug-vfprintf-nargs.c: Likewise.
33614 * sysdeps/i386/crti.S: Likewise.
33615 * sysdeps/i386/crtn.S: Likewise.
33616 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
33617 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
33618 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
33619 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
33620 * sysdeps/sh/crti.S: Likewise.
33621 * sysdeps/sh/crtn.S: Likewise.
33622 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
33623
33624 [BZ #13673]
33625 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
33626 with URL.
33627 * locale/programs/locfile-kw.gperf: Likewise.
33628 * locale/programs/charmap-kw.h: Regenerated.
33629 * locale/programs/locfile-kw.h: Likewise.
33630
33631 [BZ #13673]
33632 * intl/plural.y: Replace FSF snail mail address with URL.
33633 * intl/plural.c: Regenerated.
33634
336352012-03-09 Richard Henderson <rth@twiddle.net>
33636
33637 * include/math_private.h: Remove file.
33638 * math/math_private.h: Move file ...
33639 * sysdeps/generic/math_private.h: ... here.
33640
33641 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
33642 * sysdeps/powerpc/fpu/math_private.h: Likewise.
33643 * sysdeps/x86_64/fpu/math_private.h: Likewise.
33644
33645 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33646 and <math_private.h>.
33647 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
33648 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
33649 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
33650 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
33651 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
33652 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
33653 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33654 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33655 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33656 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33657 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33658 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33659 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33660 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33661 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33662 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33663 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33664 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33665 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33666 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33667 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33668 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33669 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33670 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33671 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
33672 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33673 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33674 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33675 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33676 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
33677 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33678 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33679 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
33680 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
33681 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
33682 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
33683 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
33684 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
33685 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
33686 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33687 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
33688 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
33689 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
33690 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
33691 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
33692 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
33693 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
33694 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
33695 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
33696 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
33697 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
33698 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
33699 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
33700 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
33701 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
33702 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
33703 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
33704 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
33705 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
33706 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
33707 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33708 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
33709 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33710 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
33711 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
33712 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33713 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33714 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33715 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
33716 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
33717 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
33718 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33719 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
33720 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33721 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
33722 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
33723 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
33724 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
33725 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
33726 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
33727 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
33728 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
33729 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
33730 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
33731 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
33732 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
33733 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
33734 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
33735 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33736 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33737 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33738 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33739 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33740 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33741 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33742 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33743 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33744 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33745 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33746 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33747 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33748 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33749 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33750 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33751 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
33752 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33753 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33754 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33755 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
33756 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33757 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
33758 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
33759 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33760 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
33761 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
33762 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33763 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
33764 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
33765 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
33766 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
33767 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
33768 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
33769 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33770 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
33771 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
33772 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
33773 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33774 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
33775 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
33776 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
33777 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
33778 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
33779 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
33780 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
33781 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
33782 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
33783 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
33784 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
33785 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
33786 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
33787 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
33788 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
33789 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
33790 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
33791 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
33792 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
33793 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
33794 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
33795 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
33796 * sysdeps/ieee754/k_standard.c: Likewise.
33797 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33798 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33799 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33800 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33801 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33802 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33803 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33804 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33805 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33806 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33807 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33808 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33809 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33810 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33811 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33812 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33813 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
33814 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33815 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33816 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
33817 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
33818 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
33819 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
33820 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
33821 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
33822 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
33823 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
33824 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
33825 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
33826 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
33827 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
33828 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
33829 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
33830 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
33831 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
33832 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
33833 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
33834 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
33835 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
33836 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
33837 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
33838 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
33839 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
33840 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
33841 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
33842 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
33843 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
33844 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
33845 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
33846 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
33847 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
33848 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
33849 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
33850 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
33851 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33852 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
33853 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
33854 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
33855 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
33856 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
33857 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
33858 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
33859 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
33860 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33861 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33862 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33863 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33864 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33865 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33866 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33867 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33868 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33869 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33870 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33871 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33872 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33873 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
33874 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33875 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33876 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
33877 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
33878 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
33879 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
33880 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
33881 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
33882 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
33883 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
33884 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
33885 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33886 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
33887 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
33888 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
33889 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
33890 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
33891 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
33892 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
33893 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
33894 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
33895 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
33896 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
33897 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
33898 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
33899 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
33900 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
33901 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
33902 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
33903 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
33904 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
33905 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
33906 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
33907 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
33908 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
33909 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33910 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33911 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33912 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33913 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33914 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33915 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33916 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33917 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33918 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33919 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33920 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33921 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33922 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
33923 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
33924 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
33925 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
33926 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
33927 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
33928 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
33929 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
33930 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
33931 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
33932 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
33933 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
33934 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
33935 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
33936 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
33937 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
33938 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
33939 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
33940 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
33941 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
33942 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
33943 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
33944 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
33945 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
33946 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
33947 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
33948 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
33949 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
33950 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
33951 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
33952 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
33953 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
33954 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
33955 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
33956 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
33957 * sysdeps/ieee754/s_lib_version.c: Likewise.
33958 * sysdeps/ieee754/s_matherr.c: Likewise.
33959 * sysdeps/ieee754/s_signgam.c: Likewise.
33960 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33961 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33962 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
33963 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
33964 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
33965 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
33966 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
33967 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
33968 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
33969 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
33970 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
33971 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
33972 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
33973 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
33974 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
33975 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
33976 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33977 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
33978 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33979 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
33980 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
33981
339822012-03-09 Joseph Myers <joseph@codesourcery.com>
33983
33984 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
33985 * sunrpc/rpc_main.c: Likewise.
33986 * sunrpc/rpc_svcout.c: Likewise.
33987
339882012-03-09 David S. Miller <davem@davemloft.net>
33989
33990 * include/math_private.h: New file.
33991
339922012-03-09 Joseph Myers <joseph@codesourcery.com>
33993
33994 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
33995 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
33996 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
33997 from <bits/socket_type.h>.
33998 (enum __socket_type): Don't define here.
33999 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
34000 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34001 bits/socket_type.h.
34002
34003 [BZ #13566]
34004 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
34005 checking __USE_GNU.
34006
34007 * Makerules ($(inst_includedir)/%.h): New rule.
34008 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
34009 (install-others): Remove variable setting.
34010 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
34011
340122012-03-08 Richard Henderson <rth@twiddle.net>
34013
34014 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
34015 from macro to inline function; merge with the
34016 !__LIBC_INTERNAL_MATH_INLINES version.
34017 (__ieee754_sqrtf): Likewise.
34018
34019 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
34020 to inline function.
34021 (__rintf, __floor, __floorf): Likewise.
34022
34023 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
34024 macro to inline function.
34025 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
34026
34027 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
34028 not <math/math_private.h>.
34029
340302012-03-08 David S. Miller <davem@davemloft.net>
34031
34032 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
34033 copyright year.
34034 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
34035
340362012-03-08 Thomas Schwinge <thomas@codesourcery.com>
34037
34038 * resolv/gai_misc.c (handle_requests): Fix struct timespec
34039 normalization.
34040 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
34041 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
34042
340432012-03-08 Ulrich Drepper <drepper@gmail.com>
34044
34045 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
34046 be defined individually, they must be defined as a block. Define
34047 S for printing a string instead of hidint the different by using a
34048 macro for adding the 'l'.
34049 * stdio-common/tst-fphex-wide.c: Adjust.
34050
340512012-03-07 Marek Polacek <polacek@redhat.com>
34052
34053 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
34054
340552012-03-08 Marek Polacek <polacek@redhat.com>
34056
34057 [BZ #13806]
34058 * stdio-common/Makefile (tests): Add tst-fphex-wide.
34059 * stdio-common/tst-fphex.c: Define a few macros to make the
34060 test reusable. Use them.
34061 * stdio-common/tst-fphex-wide.c: New file.
34062
340632012-03-08 Joseph Myers <joseph@codesourcery.com>
34064
34065 [BZ #6911]
34066 * manual/macros.texi (gnusystems): New macro.
34067 (nongnusystems): Likewise.
34068 (gnulinuxhurdsystems): Likewise.
34069 (gnuhurdsystems): Likewise..
34070 (gnulinuxsystems): Likewise.
34071 * manual/charset.texi: Use new macros or @theglibc{} to refer to
34072 variants of the GNU system, not "GNU system".
34073 * manual/conf.texi: Likewise.
34074 * manual/errno.texi: Likewise. Update example of errno macro
34075 expansion.
34076 * manual/filesys.texi: Likewise.
34077 (getumask): Document as specific to GNU/Hurd.
34078 * manual/install.texi: Likewise. Reword some references to
34079 GNU/Linux.
34080 * manual/intro.texi: Likewise.
34081 * manual/io.texi: Likewise.
34082 (File Name Portability): Detail which constraints are inapplicable
34083 to all GNU systems and which are only inapplicable to GNU/Hurd.
34084 * manual/job.texi: Likewise.
34085 * manual/llio.texi: Likewise.
34086 (O_NOCTTY): Document as present on GNU/Linux.
34087 * manual/maint.texi: Likewise.
34088 * manual/memory.texi: Likewise.
34089 * manual/pattern.texi: Likewise.
34090 * manual/pipe.texi: Likewise.
34091 * manual/process.texi: Likewise.
34092 * manual/resource.texi: Likewise.
34093 (RUSAGE_CHILDREN): Remove statement about specifying a particular
34094 child on GNU/Hurd.
34095 * manual/setjmp.texi: Likewise.
34096 * manual/signal.texi: Likewise.
34097 * manual/startup.texi: Likewise.
34098 * manual/stdio.texi: Likewise.
34099 * manual/terminal.texi: Likewise.
34100 (ONLCR): Document as POSIX.
34101 (OXTABS): Document availability on GNU/Linux as XTABS.
34102 (ONOEOT): Document availability separately from other bits.
34103 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
34104 * manual/time.texi: Likewise.
34105 * manual/users.texi: Likewise.
34106 * INSTALL: Regenerated.
34107 * sysdeps/gnu/errlist.c: Regenerated.
34108
34109 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
34110 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
34111 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
34112 puts.
34113 * configure: Regenerated.
34114
341152012-03-07 Joseph Myers <joseph@codesourcery.com>
34116
34117 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
34118 default includes instead of AC_HEADER_CHECK.
34119 * sysdeps/i386/configure: Regenerated.
34120
34121 [BZ #10716]
34122 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
34123 * math/s_cacoshf.c (__cacoshf): Likewise.
34124 * math/s_cacoshl.c (__cacoshl): Likewise.
34125 * math/s_casinh.c (__casinh): Set signs of result from argument.
34126 * math/s_casinhf.c (__casinhf): Likewise.
34127 * math/s_casinhl.c (__casinhl): Likewise.
34128 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
34129 (casinh_test): Add more tests.
34130 * sysdeps/i386/fpu/libm-test-ulps: Update.
34131 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34132
341332012-03-07 Ulrich Drepper <drepper@gmail.com>
34134
34135 * po/zh_TW.po: Update from translation team.
34136
34137 * login/Makefile (distribute): Remove variable.
34138 * catgets/Makefile: Likewise.
34139 * mach/Makefile: Likewise.
34140 * malloc/Makefile: Likewise.
34141 * misc/Makefile: Likewise.
34142 * iconv/Makefile: Likewise.
34143 * nscd/Makefile: Likewise.
34144 * hurd/Makefile: Likewise.
34145 * manual/Makefile: Likewise.
34146 * locale/Makefile: Likewise.
34147 * intl/Makefile: Likewise.
34148 * conform/Makefile: Likewise.
34149 * nss/Makefile: Likewise.
34150 * time/Makefile: Likewise.
34151 * soft-fp/Makefile: Likewise.
34152 * dirent/Makefile: Likewise.
34153 * gmon/Makefile: Likewise.
34154 * po/Makefile: Likewise.
34155 * rt/Makefile: Likewise.
34156 * socket/Makefile: Likewise.
34157 * math/Makefile: Likewise.
34158 * signal/Makefile: Likewise.
34159 * debug/Makefile: Likewise.
34160 * elf/Makefile: Likewise.
34161 * timezone/Makefile: Likewise.
34162 * stdlib/Makefile: Likewise.
34163 * iconvdata/Makefile: Likewise.
34164 * sunrpc/Makefile: Likewise.
34165 * io/Makefile: Likewise.
34166 * argp/Makefile: Likewise.
34167 * inet/Makefile: Likewise.
34168 * hesiod/Makefile: Likewise.
34169 * grp/Makefile: Likewise.
34170 * csu/Makefile: Likewise.
34171 * wctype/Makefile: Likewise.
34172 * crypt/Makefile: Likewise.
34173 * libio/Makefile: Likewise.
34174 * string/Makefile: Likewise.
34175 * nis/Makefile: Likewise.
34176 * resolv/Makefile: Likewise.
34177 * stdio-common/Makefile: Likewise.
34178 * wcsmbs/Makefile: Likewise.
34179 * dlfcn/Makefile: Likewise.
34180 * posix/Makefile: Likewise.
34181
34182 [BZ #6959]
34183 * timezone/Makefile: Don't install timezone files, just the programs
34184 and scripts.
34185
341862012-03-06 Ulrich Drepper <drepper@gmail.com>
34187
34188 * nss/databases.def: Add missing gshadow entry.
34189
34190 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
34191
341922012-03-06 Marek Polacek <polacek@redhat.com>
34193
34194 [BZ #13726]
34195 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
34196 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
34197 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
34198 * stdio-common/tst-long-dbl-fphex.c: New file.
34199
342002012-03-06 David S. Miller <davem@davemloft.net>
34201
34202 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34203 (set_obp_int): New function.
34204 (get_obp_int): New function.
34205 (__get_clockfreq_via_dev_openprom): Likewise.
34206 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
34207 Avoid unused variable warnings on 'val' and use builtin_expect.
34208 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
34209 __builtin_expect.
34210 (INLINE_CLONE_SYSCALL): Likewise.
34211
342122012-03-05 David S. Miller <davem@davemloft.net>
34213
34214 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34215
342162012-03-05 Andreas Schwab <schwab@linux-m68k.org>
34217
34218 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34219
34220 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
34221 only for |x| >= 40.
34222 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34223
342242012-03-05 H.J. Lu <hongjiu.lu@intel.com>
34225
34226 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
34227 Replace gettimeofday with __vdso_gettimeofday.
34228
34229 * sysdeps/unix/sysv/linux/x86_64/init-first.c
34230 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
34231 __vdso_clock_gettime and __vdso_getcpu.
34232
34233 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
34234 time with __vdso_time.
34235
342362012-03-05 Joseph Myers <joseph@codesourcery.com>
34237
34238 * manual/lang.texi (size_t): Note types to which size_t may be
34239 equivalent with the GNU C Library, but do not describe when
34240 differences between them are significant.
34241
342422012-03-05 Andreas Jaeger <aj@suse.de>
34243
34244 * sysdeps/i386/fpu/libm-test-ulps: Update.
34245
342462012-03-05 Joseph Myers <joseph@codesourcery.com>
34247
34248 [BZ #3976]
34249 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
34250 (__ieee754_pow): Save and restore rounding mode and use
34251 round-to-nearest for main computations.
34252 * math/libm-test.inc (pow_test_tonearest): New function.
34253 (pow_test_towardzero): Likewise.
34254 (pow_test_downward): Likewise.
34255 (pow_test_upward): Likewise.
34256 (main): Call the new functions.
34257 * sysdeps/i386/fpu/libm-test-ulps: Update.
34258 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34259
34260 [BZ #3976]
34261 * math/libm-test.inc (cosh_test_tonearest): New function.
34262 (cosh_test_towardzero): Likewise.
34263 (cosh_test_downward): Likewise.
34264 (cosh_test_upward): Likewise.
34265 (sinh_test_tonearest): Likewise.
34266 (sinh_test_towardzero): Likewise.
34267 (sinh_test_downward): Likewise.
34268 (sinh_test_upward): Likewise.
34269 (main): Call the new functions.
34270 * sysdeps/i386/fpu/libm-test-ulps: Update.
34271 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34272
342732012-03-05 Tom de Vries <tom@codesourcery.com>
34274
34275 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
34276 default stack guard is set in last bytes.
34277 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
34278
342792012-03-05 Kees Cook <keescook@chromium.org>
34280
34281 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
34282
34283 [BZ #13656]
34284 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
34285 possibly allocate from heap instead of stack.
34286 * stdio-common/bug-vfprintf-nargs.c: New file.
34287 * stdio-common/Makefile (tests): Add nargs overflow test.
34288
342892012-03-03 Andreas Schwab <schwab@linux-m68k.org>
34290
34291 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34292
342932012-03-03 Marek Polacek <polacek@redhat.com>
34294
34295 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
34296 * math/math_private.h: Likewise.
34297 * stdlib/tst-strtod.c: Likewise.
34298 * sysdeps/i386/i486/bits/atomic.h: Likewise.
34299 * sysdeps/x86_64/bits/atomic.h: Likewise.
34300
343012012-03-02 David S. Miller <davem@davemloft.net>
34302
34303 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
34304 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
34305 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
34306 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
34307 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
34308 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
34309 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
34310 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
34311
343122012-03-02 Roland McGrath <roland@hack.frob.com>
34313
34314 [BZ #13792]
34315 * manual/examples/README: New file, says the example source files
34316 can be used under GPL>=2.
34317 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
34318 line containing just "*/".
34319 * manual/examples/add.c: Add copyright header (GPL>=2).
34320 * manual/examples/argp-ex1.c: Likewise.
34321 * manual/examples/argp-ex2.c: Likewise.
34322 * manual/examples/argp-ex3.c: Likewise.
34323 * manual/examples/argp-ex4.c: Likewise.
34324 * manual/examples/atexit.c: Likewise.
34325 * manual/examples/db.c: Likewise.
34326 * manual/examples/dir.c: Likewise.
34327 * manual/examples/dir2.c: Likewise.
34328 * manual/examples/execinfo.c: Likewise.
34329 * manual/examples/filecli.c: Likewise.
34330 * manual/examples/filesrv.c: Likewise.
34331 * manual/examples/fmtmsgexpl.c: Likewise.
34332 * manual/examples/genpass.c: Likewise.
34333 * manual/examples/inetcli.c: Likewise.
34334 * manual/examples/inetsrv.c: Likewise.
34335 * manual/examples/isockad.c: Likewise.
34336 * manual/examples/longopt.c: Likewise.
34337 * manual/examples/memopen.c: Likewise.
34338 * manual/examples/memstrm.c: Likewise.
34339 * manual/examples/mkfsock.c: Likewise.
34340 * manual/examples/mkisock.c: Likewise.
34341 * manual/examples/mygetpass.c: Likewise.
34342 * manual/examples/pipe.c: Likewise.
34343 * manual/examples/popen.c: Likewise.
34344 * manual/examples/rprintf.c: Likewise.
34345 * manual/examples/search.c: Likewise.
34346 * manual/examples/select.c: Likewise.
34347 * manual/examples/setjmp.c: Likewise.
34348 * manual/examples/sigh1.c: Likewise.
34349 * manual/examples/sigusr.c: Likewise.
34350 * manual/examples/stpcpy.c: Likewise.
34351 * manual/examples/strdupa.c: Likewise.
34352 * manual/examples/strftim.c: Likewise.
34353 * manual/examples/strncat.c: Likewise.
34354 * manual/examples/subopt.c: Likewise.
34355 * manual/examples/swapcontext.c: Likewise.
34356 * manual/examples/termios.c: Likewise.
34357 * manual/examples/testopt.c: Likewise.
34358 * manual/examples/testpass.c: Likewise.
34359 * manual/examples/timeval_subtract.c: Likewise.
34360
34361 [BZ #13792]
34362 * manual/time.texi (Elapsed Time): Move timeval_subtract example
34363 function to ...
34364 * manual/timeval_subtract.c.texi: ... here, new file.
34365
343662012-03-02 David S. Miller <davem@davemloft.net>
34367
34368 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
34369
343702012-03-02 Joseph Myers <joseph@codesourcery.com>
34371
34372 [BZ #3976]
34373 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
34374 (__sin): Save and restore rounding mode and use round-to-nearest
34375 for all computations.
34376 (__cos): Save and restore rounding mode and use round-to-nearest
34377 for all computations.
34378 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
34379 <fenv.h>.
34380 (tan): Save and restore rounding mode and use round-to-nearest for
34381 all computations.
34382 * math/libm-test.inc (cos_test_tonearest): New function.
34383 (cos_test_towardzero): Likewise.
34384 (cos_test_downward): Likewise.
34385 (cos_test_upward): Likewise.
34386 (sin_test_tonearest): Likewise.
34387 (sin_test_towardzero): Likewise.
34388 (sin_test_downward): Likewise.
34389 (sin_test_upward): Likewise.
34390 (tan_test_tonearest): Likewise.
34391 (tan_test_towardzero): Likewise.
34392 (tan_test_downward): Likewise.
34393 (tan_test_upward): Likewise.
34394 (main): Call the new functions.
34395 * sysdeps/i386/fpu/libm-test-ulps: Update.
34396 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34397
34398 [BZ #10135]
34399 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
34400 small n, then large n, before computing and testing k+n.
34401 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
34402 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
34403 Likewise.
34404 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
34405 Likewise.
34406 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
34407 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
34408 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
34409 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
34410 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
34411 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
34412 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
34413 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
34414 * math/libm-test.inc (scalbn_test): Add more tests.
34415 (scalbln_test): Likewise.
34416
34417 * manual/filesys.texi (mode_t): Describe constraints on size and
34418 signedness, not exact equivalence to a particular type.
34419 (ino_t): Likewise.
34420 (ino64_t): Likewise.
34421 (dev_t): Likewise.
34422 (nlink_t): Likewise.
34423 (blkcnt_t): Likewise.
34424 (blkcnt64_t): Likewise.
34425 * manual/llio.texi (off_t): Likewise.
34426
34427 [BZ #3976]
34428 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
34429 (__ieee754_exp): Save and restore rounding mode and use
34430 round-to-nearest for all computations.
34431 * math/libm-test.inc (exp_test_tonearest): New function.
34432 (exp_test_towardzero): Likewise.
34433 (exp_test_downward): Likewise.
34434 (exp_test_upward): Likewise.
34435 (main): Call the new functions.
34436 * sysdeps/i386/fpu/libm-test-ulps: Update.
34437 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34438
344392012-03-01 Chris Demetriou <cgd@google.com>
34440
34441 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
34442 have predictable order.
34443
344442012-03-01 David S. Miller <davem@davemloft.net>
34445
34446 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
34447
34448 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
34449 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
34450 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
34451 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
34452
34453 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
34454 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
34455 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
34456 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
34457 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
34458 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
34459 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
34460 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
34461 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
34462
34463 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34464
34465 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
34466 * sysdeps/sparc/fpu/libm-test-ulps: to here.
34467 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
34468
34469 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
34470 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
34471 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
34472 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
34473 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
34474 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
34475 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
34476 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
34477 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
34478 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
34479 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
34480 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34481 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34482 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
34483 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34484 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34485 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
34486 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
34487 * sysdeps/sparc/elf/configure: Regenerated.
34488
344892012-03-01 Joseph Myers <joseph@codesourcery.com>
34490
34491 * configure.in (AS, LD): Require binutils 2.20 or later.
34492 * configure: Regenerated.
34493 * manual/install.texi (Tools for Compilation): Give binutils 2.20
34494 as required minimum version.
34495 * INSTALL: Regenerated.
34496
34497 [BZ #2541]
34498 [BZ #4108]
34499 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
34500 before squaring exponent.
34501 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
34502 bottom long double and 27 bits of top long double before squaring
34503 exponent.
34504 * math/libm-test.inc (erfc_test): Add more tests.
34505 * sysdeps/i386/fpu/libm-test-ulps: Update.
34506 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34507 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34508
345092012-03-01 Kai Tietz <ktietz@redhat.com>
34510
34511 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
34512 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
34513 containing bit-fields.
34514 * soft-fp/extended.h (_FP_UNION_E): Likewise.
34515 * soft-fp/single.h (_FP_UNION_S): Likewise.
34516 * soft-fp/double.h (_FP_UNION_D): Likewise.
34517
345182012-02-29 Joseph Myers <joseph@codesourcery.com>
34519
34520 [BZ #13786]
34521 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
34522 not include ../strcmp.S.
34523 [USE_AS_STRNCASECMP_L]: Likewise.
34524 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
34525 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
34526 * sysdeps/i386/i686/multiarch/strncase_l-c.c
34527 (__strncasecmp_l_ia32): Define as alias to
34528 __strncasecmp_l_nonascii.
34529
34530 [BZ #5794]
34531 * math/libm-test.inc (expm1_test): Add test for bug 5794.
34532 * sysdeps/i386/fpu/libm-test-ulps: Update.
34533 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34534
34535 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
34536 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34537
345382012-02-29 Jeff Law <law@redhat.com>
34539
34540 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
34541 out of bounds read.
34542
345432012-02-29 Marek Polacek <polacek@redhat.com>
34544
34545 [BZ #13706]
34546 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
34547 * elf/Makefile: Add rules to run tst-unused-dep.out.
34548
345492012-02-28 David S. Miller <davem@davemloft.net>
34550
34551 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
34552 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
34553 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
34554 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
34555 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
34556 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
34557
345582012-02-29 Joseph Myers <joseph@codesourcery.com>
34559
34560 * math/libm-test.inc (llround_test): Move one test from
34561 lround_test. Use TEST_f_L in moved test.
34562 (lround_test): Move misplaced test to llround_test. Add testcase
34563 from bug 2561.
34564
345652012-02-28 Ulrich Drepper <drepper@gmail.com>
34566
34567 * sysdeps/x86_64/fpu/e_expf.S: New file.
34568 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
34569
345702012-02-28 Stanislav Brabec <sbrabec@suse.cz>
34571
34572 [BZ #13637]
34573 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
34574 of remain_len that may cause incomplete multi-byte character and
34575 false match.
34576 * posix/bug-regex33.c: New file.
34577 * posix/Makefile (tests): Add bug-regex33.
34578
345792012-02-28 Joseph Myers <joseph@codesourcery.com>
34580
34581 * manual/macros.texi: New file.
34582 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
34583 * manual/libc.texinfo: Include macros.texi.
34584 * manual/creatute.texi: Likewise.
34585 * manual/install.texi: Likewise.
34586 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
34587 @glibcadj{} in references to the GNU C Library.
34588 * manual/charset.texi: Likewise.
34589 * manual/conf.texi: Likewise.
34590 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
34591 when not using those macros.
34592 * manual/creature.texi: Likewise.
34593 * manual/crypt.texi: Likewise.
34594 * manual/errno.texi: Likewise.
34595 * manual/filesys.texi: Likewise.
34596 * manual/header.texi: Likewise.
34597 * manual/install.texi: Likewise.
34598 * manual/intro.texi: Likewise.
34599 * manual/io.texi: Likewise.
34600 * manual/job.texi: Likewise.
34601 * manual/lang.texi: Likewise.
34602 * manual/libc.texiinfo: Likewise.
34603 * manual/llio.texi: Likewise.
34604 * manual/locale.texi: Likewise.
34605 * manual/maint.texi: Likewise.
34606 * manual/math.texi: Likewise.
34607 * manual/memory.texi: Likewise.
34608 * manual/message.texi: Likewise.
34609 * manual/nss.texi: Likewise.
34610 * manual/pattern.texi: Likewise.
34611 * manual/process.texi: Likewise.
34612 * manual/resource.texi: Likewise.
34613 * manual/search.texi: Likewise.
34614 * manual/setjmp.texi: Likewise.
34615 * manual/signal.texi: Likewise.
34616 * manual/socket.texi: Likewise.
34617 * manual/startup.texi: Likewise.
34618 * manual/stdio.texi: Likewise.
34619 * manual/string.texi: Likewise.
34620 * manual/sysinfo.texi: Likewise.
34621 * manual/syslog.texi: Likewise.
34622 * manual/terminal.texi: Likewise.
34623 * manual/time.texi: Likewise.
34624 * manual/users.texi: Likewise.
34625 * INSTALL: Regenerated.
34626 * NOTES: Regenerated.
34627 * sysdeps/gnu/errlist.c: Regenerated.
34628
346292012-02-28 Andreas Schwab <schwab@linux-m68k.org>
34630
34631 * include/dirent.h: Include <dirstream.h> before
34632 <dirent/dirent.h>.
34633
346342012-02-28 David S. Miller <davem@davemloft.net>
34635
34636 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
34637 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
34638 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
34639 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
34640
346412012-02-27 David S. Miller <davem@davemloft.net>
34642
34643 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
34644 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
34645 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
34646 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
34647
34648 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
34649 frame pointer instead of stack pointer relative arg slot.
34650 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34651 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34652 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34653
346542012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
34655
34656 [BZ #3992]
34657 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
34658
346592012-02-27 David S. Miller <davem@davemloft.net>
34660
34661 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
34662 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34663 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
34664 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
34665 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34666 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34667 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
34668 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
34669
346702012-02-27 Joseph Myers <joseph@codesourcery.com>
34671
34672 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
34673 later. Allow versions 5-9.
34674 * configure: Regenerated.
34675 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
34676 required minimum version and 4.6 as recommended version. Do not
34677 mention bugs in GCC 2.7 and 2.8.
34678 * INSTALL: Regenerated.
34679
346802012-02-27 David S. Miller <davem@davemloft.net>
34681
34682 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
34683 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
34684 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
34685 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
34686 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
34687 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
34688 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
34689 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
34690
34691 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
34692 manipulate bits before adding and subtracting TWO112[sx].
34693 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34694
346952012-02-27 Roland McGrath <roland@hack.frob.com>
34696
34697 [BZ #13775]
34698 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
34699 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
34700 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
34701 being in POSIX, because they are in 1003.1-2008.
34702
34703 * rt/tst-aio.c: Include <fcntl.h>.
34704 * rt/tst-aio7.c: Likewise.
34705 * rt/tst-aio64.c: Likewise.
34706
34707 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
34708
347092012-02-27 Joseph Myers <joseph@codesourcery.com>
34710
34711 * manual/install.texi (--with-headers): Describe headers as
34712 interface headers, not private headers.
34713 (Specific advice for GNU/Linux systems): Describe use of headers
34714 from "make headers_install", not private headers from older
34715 kernels.
34716 * INSTALL: Regenerated.
34717 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
34718 Change to 2.6.19.
34719 * sysdeps/unix/sysv/linux/configure: Regenerated.
34720
34721 * manual/llio.texi (fclean): Remove documentation.
34722
34723 * manual/Makefile (libc-texi-generated): New variable. Include
34724 version.texi.
34725 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
34726 $(libc-texi-generated), not duplicated list of files.
34727 (version.texi, stamp-version): New rules.
34728 (realclean): Remove $(libc-texi-generated), not individual files
34729 from that list. Do not remove dir-add.texinfo.
34730 * manual/libc.texinfo: Comment out uses of edition numbers and
34731 references to printed manual. Remove last-updated dates.
34732 (EDITION): Comment out.
34733 (ISBN): Likewise.
34734 (VERSION, UPDATED): Remove.
34735 (version.texi): Include.
34736
347372012-02-27 Andreas Schwab <schwab@linux-m68k.org>
34738
34739 * sysdeps/posix/spawni.c: Include <signal.h>.
34740 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
34741 * sysdeps/pthread/aio_fsync.c: Likewise.
34742
347432012-02-26 Ulrich Drepper <drepper@gmail.com>
34744
34745 * conform/Makefile (tests): Run only when not cross-compiling and
34746 when fast-check is not defined.
34747
34748 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
34749 * conform/data/limits.h-data: Fixes for POSIX2008.
34750 * conform/run-conformtest.sh: Run all tests.
34751 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
34752 headers.
34753 * include/bits/dlfcn.h: Likewise.
34754 * include/langinfo.h: Likewise.
34755 * include/monetary.h: Likewise.
34756 * include/sys/poll.h: Likewise.
34757
34758 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
34759 for __USE_GNU.
34760 * posix/spawn.h: Define __need_sigset_t.
34761 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
34762 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
34763 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
34764 to get sigevent_t only.
34765 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
34766 only for __USE_GNU.
34767 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34768 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
34769 process_vm_writev only for __USE_GNU.
34770 * termios/termios.h: Declare tcgetsid also for POSIX2008.
34771
34772 * conform/Makefile: For now ignore errors from run-conformtest.
34773 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
34774 POSIX to avoid namespace pollution. Don't prepend headers.
34775 * conform/data/aio.h-data: Fixes for POSIX testing.
34776 * conform/data/fcntl.h-data: Likewise.
34777 * conform/data/glob.h-data: Likewise.
34778 * conform/data/grp.h-data: Likewise.
34779 * conform/data/pthread.h-data: Likewise.
34780 * conform/data/pwd.h-data: Likewise.
34781 * conform/data/signal.h-data: Likewise.
34782 * conform/data/spawn.h-data: Likewise.
34783 * conform/data/stdio.h-data: Likewise.
34784 * conform/data/stdlib.h-data: Likewise.
34785 * conform/data/stropts.h-data: Likewise.
34786 * conform/data/sys/mman.h-data: Likewise.
34787 * conform/data/sys/stat.h-data: Likewise.
34788 * conform/data/sys/types.h-data: Likewise.
34789 * conform/data/sys/wait.h-data: Likewise.
34790 * conform/data/time.h-data: Likewise.
34791 * conform/data/unistd.h-data: Likewise.
34792 * conform/data/utime.h-data: Likewise.
34793
34794 * io/sys/stat.h: fchmod was always in POSIX.
34795 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
34796 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
34797 * rt/aio.h: Define __need_timespec before including <time.h>.
34798 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
34799 struct. Add forward declaration of pthread_attr_t and use it in
34800 sigevent.
34801 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
34802 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
34803 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
34804 always remove CLK_TCK definition.
34805
348062012-02-26 Andreas Schwab <schwab@linux-m68k.org>
34807
34808 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
34809
348102012-02-25 Ulrich Drepper <drepper@gmail.com>
34811
34812 * conform/run-conformtest.sh: New file.
34813 * conform/Makefile: Run run-conformtest for tests.
34814 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
34815 support.
34816
34817 * conform/data/uchar.h-data: New file.
34818 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
34819 * conform/data/arpa/inet.h-data: Likewise.
34820 * conform/data/assert.h-data: Likewise.
34821 * conform/data/complex.h-data: Likewise.
34822 * conform/data/cpio.h-data: Likewise.
34823 * conform/data/ctype.h-data: Likewise.
34824 * conform/data/dirent.h-data: Likewise.
34825 * conform/data/dlfcn.h-data: Likewise.
34826 * conform/data/errno.h-data: Likewise.
34827 * conform/data/fcntl.h-data: Likewise.
34828 * conform/data/float.h-data: Likewise.
34829 * conform/data/fmtmsg.h-data: Likewise.
34830 * conform/data/fnmatch.h-data: Likewise.
34831 * conform/data/ftw.h-data: Likewise.
34832 * conform/data/glob.h-data: Likewise.
34833 * conform/data/grp.h-data: Likewise.
34834 * conform/data/iconv.h-data: Likewise.
34835 * conform/data/inttypes.h-data: Likewise.
34836 * conform/data/langinfo.h-data: Likewise.
34837 * conform/data/libgen.h-data: Likewise.
34838 * conform/data/limits.h-data: Likewise.
34839 * conform/data/locale.h-data: Likewise.
34840 * conform/data/math.h-data: Likewise.
34841 * conform/data/monetary.h-data: Likewise.
34842 * conform/data/mqueue.h-data: Likewise.
34843 * conform/data/ndbm.h-data: Likewise.
34844 * conform/data/net/if.h-data: Likewise.
34845 * conform/data/netdb.h-data: Likewise.
34846 * conform/data/netinet/in.h-data: Likewise.
34847 * conform/data/nl_types.h-data: Likewise.
34848 * conform/data/poll.h-data: Likewise.
34849 * conform/data/pthread.h-data: Likewise.
34850 * conform/data/pwd.h-data: Likewise.
34851 * conform/data/regex.h-data: Likewise.
34852 * conform/data/sched.h-data: Likewise.
34853 * conform/data/search.h-data: Likewise.
34854 * conform/data/semaphore.h-data: Likewise.
34855 * conform/data/setjmp.h-data: Likewise.
34856 * conform/data/signal.h-data: Likewise.
34857 * conform/data/spawn.h-data: Likewise.
34858 * conform/data/stdarg.h-data: Likewise.
34859 * conform/data/stdio.h-data: Likewise.
34860 * conform/data/stdlib.h-data: Likewise.
34861 * conform/data/string.h-data: Likewise.
34862 * conform/data/strings.h-data: Likewise.
34863 * conform/data/stropts.h-data: Likewise.
34864 * conform/data/sys/ipc.h-data: Likewise.
34865 * conform/data/sys/mman.h-data: Likewise.
34866 * conform/data/sys/msg.h-data: Likewise.
34867 * conform/data/sys/resource.h-data: Likewise.
34868 * conform/data/sys/select.h-data: Likewise.
34869 * conform/data/sys/sem.h-data: Likewise.
34870 * conform/data/sys/shm.h-data: Likewise.
34871 * conform/data/sys/socket.h-data: Likewise.
34872 * conform/data/sys/stat.h-data: Likewise.
34873 * conform/data/sys/statvfs.h-data: Likewise.
34874 * conform/data/sys/time.h-data: Likewise.
34875 * conform/data/sys/timeb.h-data: Likewise.
34876 * conform/data/sys/times.h-data: Likewise.
34877 * conform/data/sys/types.h-data: Likewise.
34878 * conform/data/sys/uio.h-data: Likewise.
34879 * conform/data/sys/un.h-data: Likewise.
34880 * conform/data/sys/utsname.h-data: Likewise.
34881 * conform/data/sys/wait.h-data: Likewise.
34882 * conform/data/syslog.h-data: Likewise.
34883 * conform/data/tar.h-data: Likewise.
34884 * conform/data/termios.h-data: Likewise.
34885 * conform/data/utime.h-data: Likewise.
34886 * conform/data/utmpx.h-data: Likewise.
34887 * conform/data/varargs.h-data: Likewise.
34888 * conform/data/wchar.h-data: Likewise.
34889 * conform/data/wctype.h-data: Likewise.
34890 * conform/data/wordexp.h-data: Likewise.
34891
34892 * include/stropts.h: New file.
34893 * include/uchar.h: New file.
34894 * include/aio.h: Changes to allow conformtest.pl to use the headers.
34895 * include/assert.h: Likewise.
34896 * include/ctype.h: Likewise.
34897 * include/dirent.h: Likewise.
34898 * include/dlfcn.h: Likewise.
34899 * include/fcntl.h: Likewise.
34900 * include/fnmatch.h: Likewise.
34901 * include/glob.h: Likewise.
34902 * include/grp.h: Likewise.
34903 * include/libio.h: Likewise.
34904 * include/locale.h: Likewise.
34905 * include/math.h: Likewise.
34906 * include/net/if.h: Likewise.
34907 * include/netdb.h: Likewise.
34908 * include/netinet/in.h: Likewise.
34909 * include/pthread.h: Likewise.
34910 * include/pwd.h: Likewise.
34911 * include/regex.h: Likewise.
34912 * include/sched.h: Likewise.
34913 * include/search.h: Likewise.
34914 * include/setjmp.h: Likewise.
34915 * include/signal.h: Likewise.
34916 * include/stdio.h: Likewise.
34917 * include/stdlib.h: Likewise.
34918 * include/string.h: Likewise.
34919 * include/sys/cdefs.h: Likewise.
34920 * include/sys/mman.h: Likewise.
34921 * include/sys/msg.h: Likewise.
34922 * include/sys/resource.h: Likewise.
34923 * include/sys/select.h: Likewise.
34924 * include/sys/socket.h: Likewise.
34925 * include/sys/stat.h: Likewise.
34926 * include/sys/statvfs.h: Likewise.
34927 * include/sys/time.h: Likewise.
34928 * include/sys/times.h: Likewise.
34929 * include/sys/uio.h: Likewise.
34930 * include/sys/utsname.h: Likewise.
34931 * include/sys/wait.h: Likewise.
34932 * include/termios.h: Likewise.
34933 * include/time.h: Likewise.
34934 * include/ulimit.h: Likewise.
34935 * include/unistd.h: Likewise.
34936 * include/utime.h: Likewise.
34937 * include/wchar.h: Likewise.
34938 * include/wctype.h: Likewise.
34939 * include/wordexp.h: Likewise.
34940
34941 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
34942
34943 * time/time.h: TIME_UTC must be a macro.
34944 Make timespec_get available for ISO C11 only as well.
34945
349462012-02-24 Ulrich Drepper <drepper@gmail.com>
34947
34948 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
34949 Reported by Peng Haitao <penght@cn.fujitsu.com>.
34950
349512012-02-24 Joseph Myers <joseph@codesourcery.com>
34952
34953 * configure.in: Use -o not -a in test for unsupported multi-arch.
34954
349552012-02-24 Joseph Myers <joseph@codesourcery.com>
34956
34957 * manual/texinfo.tex: Update to version 2012-01-19.16.
34958
349592012-02-24 Joseph Myers <joseph@codesourcery.com>
34960
34961 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
34962
349632012-02-24 Roland McGrath <roland@hack.frob.com>
34964
34965 [BZ #13738]
34966 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
34967 * manual/fdl-1.3.texi: New file.
34968 * manual/fdl-1.1.texi: File removed.
34969
34970 [BZ #13738]
34971 * manual/libc.texinfo (FDL_VERSION): New @set.
34972 Use it for mention of FDL in cover text.
34973 (Documentation License): Use it in @include file name.
34974
349752012-02-22 Joseph Myers <joseph@codesourcery.com>
34976 Roland McGrath <roland@hack.frob.com>
34977
34978 [BZ #5461]
34979 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
34980 not LONG_LONG_MAX and LONG_LONG_MIN.
34981 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
34982 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
34983 name.
34984 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
34985
349862012-02-22 Joseph Myers <joseph@codesourcery.com>
34987
34988 [BZ #2547]
34989 [BZ #11365]
34990 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
34991 manipulate bits before adding and subtracting TWO23[sx].
34992 * math/libm-test.inc (nearbyint_test): Add more tests.
34993
349942012-02-22 Joseph Myers <joseph@codesourcery.com>
34995
34996 [BZ #2548]
34997 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
34998 bits before adding and subtracting TWO23[sx].
34999 * math/libm-test.inc (rint_test): Add more tests.
35000 (rint_test_tonearest): Likewise.
35001 (rint_test_towardzero): Likewise.
35002 (rint_test_downward): Likewise.
35003 (rint_test_upward: Likewise.
35004
350052012-02-22 Joseph Myers <joseph@codesourcery.com>
35006
35007 [BZ #10110]
35008 * include/stdc-predef.h: New file. Extracted from features.h.
35009 * include/features.h: Include stdc-predef.h.
35010 * Makefile (headers): Add stdc-predef.h.
35011 * CONFORMANCE (Compiler limitations): Update.
35012
350132012-02-22 Joseph Myers <joseph@codesourcery.com>
35014
35015 * manual/libc.texinfo (VERSION, UPDATED): Revert.
35016
350172012-02-21 David S. Miller <davem@davemloft.net>
35018
35019 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
35020 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
35021
350222012-02-20 David S. Miller <davem@davemloft.net>
35023
35024 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
35025 using a normal save/restore sequence, rather than allocating a
35026 dummy stack frame just to store a frame pointer and restore.
35027 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35028
350292012-02-21 Joseph Myers <joseph@codesourcery.com>
35030
35031 * manual/install.texi: Fix stray word in line-wrapped comment.
35032
350332012-02-20 David S. Miller <davem@davemloft.net>
35034
35035 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
35036 both binutils and gcc support GOTDATA.
35037
35038 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
35039 "rd %pc" in the PIC register setup sequences.
35040
35041 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
35042 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
35043 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
35044 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
35045 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
35046 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
35047 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35048 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35049 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
35050 (SYSCALL_ERROR_HANDLER): Likewise.
35051 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
35052 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
35053 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
35054 (SYSCALL_ERROR_HANDLER): Likewise.
35055
35056 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
35057 (HAVE_GCC_GOTDATA): New.
35058 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
35059 relocation support in both binutils and gcc.
35060 * sysdeps/sparc/elf/configure: Regenerate.
35061
35062 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
35063 * sysdeps/sparc/sparc32/elf/configure: Delete.
35064 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
35065 * sysdeps/sparc/sparc64/elf/configure: Delete.
35066 * sysdeps/sparc/elf/configure.in: New file.
35067 * sysdeps/sparc/elf/configure: Generate.
35068
35069 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
35070 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
35071 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
35072 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
35073 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
35074
350752012-02-21 Joseph Myers <joseph@codesourcery.com>
35076
35077 * manual/install.texi: Do not mention specific glibc version
35078 numbers.
35079 * manual/libc.texinfo (VERSION, UPDATED): Update.
35080 (@copying): Use @copyright{} and range of years.
35081
350822012-02-21 Joseph Myers <joseph@codesourcery.com>
35083
35084 [BZ #13695]
35085 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
35086 [crti.S not in sysdirs] (generated): Do not append.
35087 [crti.S not in sysdirs] (omit-deps): Likewise.
35088 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
35089 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
35090 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
35091 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
35092 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
35093 Likewise.
35094 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
35095 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
35096 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
35097 * csu/defs.awk: Remove file.
35098 * sysdeps/generic/initfini.c: Likewise.
35099 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
35100 variable.
35101 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
35102 Likewise.
35103
351042012-02-20 Joseph Myers <joseph@codesourcery.com>
35105
35106 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
35107 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
35108 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
35109 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
35110 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
35111 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
35112 <bits/epoll.h>.
35113 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
35114 (__EPOLL_PACKED): Define to empty if not defined by
35115 <bits/epoll.h>.
35116 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
35117 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35118 bits/epoll.h.
35119
351202012-02-20 Joseph Myers <joseph@codesourcery.com>
35121
35122 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
35123 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
35124 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
35125 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
35126 <bits/timerfd.h>.
35127 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
35128 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35129 bits/timerfd.h.
35130
351312012-02-20 Joseph Myers <joseph@codesourcery.com>
35132
35133 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
35134 in C locale.
35135 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35136 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
35137 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
35138 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35139
351402012-02-20 Aurelien Jarno <aurelien@aurel32.net>
35141
35142 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35143 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
35144
351452012-02-19 Andreas Schwab <schwab@linux-m68k.org>
35146
35147 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
35148 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
35149 defined.
35150 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
35151 Likewise.
35152 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
35153 entry for 2.16.
35154
351552012-02-19 Aurelien Jarno <aurelien@aurel32.net>
35156
35157 * math/w_acos.c: Use non-signaling floating-point comparisons.
35158 * math/w_acosf.c: Likewise.
35159 * math/w_acosh.c: Likewise.
35160 * math/w_acoshf.c: Likewise.
35161 * math/w_acoshl.c: Likewise.
35162 * math/w_acosl.c: Likewise.
35163 * math/w_asin.c: Likewise.
35164 * math/w_asinf.c: Likewise.
35165 * math/w_asinl.c: Likewise.
35166 * math/w_atanh.c: Likewise.
35167 * math/w_atanhf.c: Likewise.
35168 * math/w_atanhl.c: Likewise.
35169 * math/w_exp2.c: Likewise.
35170 * math/w_exp2f.c: Likewise.
35171 * math/w_exp2l.c: Likewise.
35172 * math/w_j0.c: Likewise.
35173 * math/w_j0f.c: Likewise.
35174 * math/w_j0l.c: Likewise.
35175 * math/w_j1.c: Likewise.
35176 * math/w_j1f.c: Likewise.
35177 * math/w_j1l.c: Likewise.
35178 * math/w_jn.c: Likewise.
35179 * math/w_jnf.c: Likewise.
35180 * math/w_log.c: Likewise.
35181 * math/w_log10.c: Likewise.
35182 * math/w_log10f.c: Likewise.
35183 * math/w_log10l.c: Likewise.
35184 * math/w_log2.c: Likewise.
35185 * math/w_log2f.c: Likewise.
35186 * math/w_log2l.c: Likewise.
35187 * math/w_logf.c: Likewise.
35188 * math/w_logl.c: Likewise.
35189 * math/w_sqrt.c: Likewise.
35190 * math/w_sqrtf.c: Likewise.
35191 * math/w_sqrtl.c: Likewise.
35192 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35193 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
35194 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35195 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
35196 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
35197
351982012-02-19 Joseph Myers <joseph@codesourcery.com>
35199
35200 [BZ #9739]
35201 * manual/string.texi (strnlen): Use correct parameter name in
35202 equivalent expression.
35203
352042012-02-19 Joseph Myers <joseph@codesourcery.com>
35205
35206 [BZ #11174]
35207 * manual/users.texi (seteuid): Consistently use neweuid for
35208 argument name.
35209
352102012-02-19 Joseph Myers <joseph@codesourcery.com>
35211
35212 [BZ #13704]
35213 * manual/nss.texi (Services in the NSS configuration): Correct
35214 list of services in example configuration file.
35215
352162012-02-19 Nick Bowler <nbowler@draconx.ca>
35217
35218 [BZ #11322]
35219 * manual/arith.texi: Remove statements about negative zero
35220 behaving identically to zero.
35221
352222012-02-18 Joseph Myers <joseph@codesourcery.com>
35223
35224 [BZ #5993]
35225 * manual/install.texi: Do not document upgrading from libc5.
35226
352272012-02-18 Joseph Myers <joseph@codesourcery.com>
35228
35229 [BZ #4596]
35230 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
35231
352322012-02-18 David S. Miller <davem@davemloft.net>
35233
35234 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
35235 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
35236 %o7 across the call.
35237 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
35238 instead.
35239 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
35240 SETUP_PIC_REG_LEAF.
35241 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35242 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
35243 * sysdeps/sparc/crtn.S: Likewise.
35244
352452012-02-17 Ulrich Drepper <drepper@gmail.com>
35246
35247 * aout/Makefile: Remove.
35248
352492012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
35250
35251 [BZ #13058]
35252 * manual/examples/argp-ex1.c (main): Format definition in GNU
35253 style.
35254 * manual/examples/argp-ex2.c (main): Likewise.
35255 * manual/examples/argp-ex3.c (main): Likewise.
35256 * manual/examples/argp-ex4.c (main): Likewise.
35257 * manual/examples/longopt.c (main): Use new-style prototype
35258 definition.
35259 * manual/examples/strncat.c (main): Specify return type and use
35260 (void) for arguments.
35261 * manual/examples/subopt.c (main): Use char **argv argument.
35262
352632012-02-17 Joseph Myers <joseph@codesourcery.com>
35264
35265 [BZ #5077]
35266 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
35267 rounding modes.
35268
352692012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
35270
35271 [BZ #6907]
35272 * manual/string.texi (strchr): Change when strchrnul is
35273 recommended.
35274
352752012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
35276
35277 [BZ #174]
35278 * manual/locale.texi (setlocale): Document LOCPATH.
35279
352802012-02-17 Joseph Myers <joseph@codesourcery.com>
35281
35282 [BZ #10210]
35283 * manual/process.texi (execle): Move @dots{} before last argument.
35284
352852012-02-17 Paul Bolle <pebolle@tiscali.nl>
35286
35287 [BZ #12047]
35288 * manual/charset.texi (Generic Charset Conversion): Fix typo
35289 (LC_TYPE -> LC_CTYPE).
35290
352912012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
35292
35293 [BZ #5805]
35294 * manual/arith.texi (scalbn): Use @var{} on parameter names.
35295 (scalbnf): Likewise.
35296 (scalbnl): Likewise.
35297 (scalbln): Likewise.
35298 (scalblnf): Likewise.
35299 (scalblnl): Likewise.
35300 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
35301 (vwarnx): Likewise.
35302 (verr): Likewise.
35303 (verrx): Likewise.
35304 * manual/filesys.texi (telldir): Use braces around return type.
35305 * manual/llio.texi (mmap): Add space after comma.
35306 (mmap64): Likewise.
35307 * manual/math.texi (jn): Use @var{} on parameter names.
35308 (jnf): Likewise.
35309 (jnl): Likewise.
35310 (yn): Likewise.
35311 (ynf): Likewise.
35312 (ynl): Likewise.
35313 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
35314 line.
35315 * manual/resource.texi (ulimit): Use @dots{} instead of literal
35316 "...".
35317 (sched_get_priority_min): Remove semicolon on @deftypefun line.
35318 (sched_get_priority_max): Likewise.
35319 * manual/signal.texi (sigvec): Add space after comma.
35320 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
35321 names.
35322 (if_indextoname): Likewise.
35323 (if_freenameindex): Likewise.
35324 (sendto): Use ',' instead of '.' in prototype.
35325 * manual/startup.texi (syscall): Use @dots{} instead of literal
35326 "...".
35327 * manual/stdio.texi (__fpending): Separate initial words of
35328 paragraph from @deftypefun line.
35329 * manual/syslog.texi (syslog): Use @dots{} instead of literal
35330 "...".
35331 (vsyslog): Use @var{} on parameter names.
35332 * manual/terminal.texi (stty): Use @var{} on parameter names.
35333 * manual/users.texi (getutmp): Use @var{} on parameter names.
35334 (getutmpx): Likewise.
35335
353362012-02-17 Joseph Myers <joseph@codesourcery.com>
35337
35338 [BZ #6884]
35339 * manual/stdio.texi (fopen): Fix typos in description of
35340 ",ccs=STRING".
35341
353422012-02-17 Aurelien Jarno <aurelien@aurel32.net>
35343
35344 [BZ #4026]
35345 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
35346 get clock_id definition.
35347
353482012-02-17 Thomas Schwinge <thomas@schwinge.name>
35349
35350 [BZ #4822]
35351 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
35352 (madvise): Cast every argument to void on its own.
35353
353542012-02-17 Joseph Myers <joseph@codesourcery.com>
35355
35356 [BZ #9902]
35357 * manual/startup.texi (Exit Status): Fix typo.
35358
353592012-02-17 Joseph Myers <joseph@codesourcery.com>
35360
35361 [BZ #10140]
35362 * manual/examples/argp-ex1.c: Include <stdlib.h>.
35363 * manual/examples/argp-ex2.c: Likewise.
35364 * manual/examples/argp-ex3.c: Likewise.
35365
353662012-02-16 Richard Henderson <rth@redhat.com>
35367
35368 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
35369 * sysdeps/s390/s390-32/initfini.c: Remove.
35370 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
35371 * sysdeps/s390/s390-64/initfini.c: Remove.
35372
353732012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35374
35375 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
35376 compiler output for sysdeps/generic/initfini.c.
35377 * sysdeps/sh/elf/initfini.c: Remove file.
35378
353792012-02-16 David S. Miller <davem@davemloft.net>
35380
35381 [BZ #11494]
35382 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
35383
35384 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
35385 * sysdeps/sparc/crti.S: New file.
35386 * sysdeps/sparc/crtn.S: New file.
35387 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
35388 * sysdeps/sparc/sparc64/Makefile: Likewise.
35389
353902012-02-15 Mike Frysinger <vapier@gentoo.org>
35391
35392 [BZ #3335]
35393 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
35394
353952012-02-15 Roland McGrath <roland@hack.frob.com>
35396
35397 [BZ #4822]
35398 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
35399
35400 * mach/devstream.c (cookie_io_functions_t): Macro removed.
35401 (write, read, close): Likewise.
35402 Patch by Aurelien Jarno <aurelien@aurel32.net>.
35403
354042012-02-15 Joseph Myers <joseph@codesourcery.com>
35405
35406 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
35407 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
35408 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
35409 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
35410 <bits/signalfd.h>.
35411 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
35412 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35413 bits/signalfd.h.
35414
354152012-02-14 Marek Polacek <polacek@redhat.com>
35416
35417 * sysdeps/x86_64/crti.S: New file.
35418 * sysdeps/x86_64/crtn.S: New file.
35419 * sysdeps/x86_64/elf/initfini.c: Remove file.
35420
354212012-02-13 Joseph Myers <joseph@codesourcery.com>
35422
35423 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
35424 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
35425 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
35426 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
35427 <bits/inotify.h>.
35428 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
35429 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35430 bits/inotify.h.
35431
354322012-02-13 Joseph Myers <joseph@codesourcery.com>
35433
35434 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
35435 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
35436 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
35437 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
35438 <bits/eventfd.h>.
35439 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
35440 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35441 bits/eventfd.h.
35442
354432012-02-10 Thomas Schwinge <thomas@codesourcery.com>
35444
35445 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
35446 __feraiseexcept instead of feraiseexcept.
35447
35448 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
35449 nanosleep invocations.
35450 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
35451 strings, and add error checking for a nanosleep invocations.
35452
354532012-02-09 Paul Eggert <eggert@cs.ucla.edu>
35454
35455 Replace FSF snail mail address with URLs, as per GNU coding standards.
35456 Most of the snail mail addresses were wrong anyway, and omitting
35457 them makes the source code easier to maintain. Almost all of the
35458 changes are to license notices and to locale LC_IDENTIFICATION
35459 addresses, except for this one:
35460 * manual/libc.texinfo: In "Published by", give the FSF's URL,
35461 not its snail mail address.
35462
354632012-02-09 Richard Henderson <rth@twiddle.net>
35464
35465 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
35466 of kernel-features.h.
35467
35468 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
35469
354702012-02-08 Marek Polacek <polacek@redhat.com>
35471
35472 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
35473 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
35474 * sysdeps/gnu/_G_config.h: Likewise.
35475 * sysdeps/generic/_G_config.h: Likewise.
35476
354772012-02-08 Andreas Schwab <schwab@linux-m68k.org>
35478
35479 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
35480 tests.
35481 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35482
35483 * sysdeps/powerpc/powerpc32/crti.S: New file.
35484 * sysdeps/powerpc/powerpc32/crtn.S: New file.
35485 * sysdeps/powerpc/powerpc64/crti.S: New file.
35486 * sysdeps/powerpc/powerpc64/crtn.S: New file.
35487
35488 * Makeconfig (have-initfini): Don't set.
35489 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
35490 * configure.in (nopic_initfini): Don't substitute.
35491 * config.h.in (HAVE_INITFINI): Don't #undef.
35492 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
35493 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
35494
354952012-02-08 Joseph Myers <joseph@codesourcery.com>
35496
35497 Support crti.S and crtn.S provided directly by architectures.
35498 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
35499 [crti.S in sysdirs] (omit-deps): Likewise.
35500 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
35501 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
35502 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
35503 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
35504 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
35505 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
35506 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
35507 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
35508 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
35509 compiler output for sysdeps/generic/initfini.c.
35510 * sysdeps/i386/elf/Makefile: Remove file.
35511 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
35512
355132012-02-07 Marek Polacek <polacek@redhat.com>
35514
35515 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
35516 * sysdeps/gnu/_G_config.h: Likewise.
35517 * sysdeps/mach/hurd/_G_config.h: Likewise.
35518
355192012-02-07 Marek Polacek <polacek@redhat.com>
35520
35521 * math/Makefile (tests): Add tst-CMPLX2.
35522 * math/tst-CMPLX2.c: New file.
35523
355242012-02-07 Andreas Schwab <schwab@linux-m68k.org>
35525
35526 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35527
35528 * math/libm-test.inc (jn_test): Add missing L suffix.
35529
355302012-02-06 Marek Polacek <polacek@redhat.com>
35531
35532 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
35533 * sysdeps/i386/fpu/e_powf.S: Likewise.
35534 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
35535 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
35536 * sysdeps/i386/fpu/e_acosh.S: Likewise.
35537 * sysdeps/i386/fpu/e_pow.S: Likewise.
35538 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
35539 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
35540 * sysdeps/i386/fpu/s_expm1.S: Likewise.
35541 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
35542 * sysdeps/i386/fpu/e_log2.S: Likewise.
35543 * sysdeps/i386/fpu/e_log2l.S: Likewise.
35544 * sysdeps/i386/fpu/e_scalb.S: Likewise.
35545 * sysdeps/i386/fpu/e_powl.S: Likewise.
35546 * sysdeps/i386/fpu/s_log1p.S: Likewise.
35547 * sysdeps/i386/fpu/e_log10f.S: Likewise.
35548 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
35549 * sysdeps/i386/fpu/e_logl.S: Likewise.
35550 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
35551 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
35552 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
35553 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
35554 * sysdeps/i386/fpu/e_log2f.S: Likewise.
35555 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
35556 * sysdeps/i386/fpu/e_log.S: Likewise.
35557 * sysdeps/i386/fpu/s_cexp.S: Likewise.
35558 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
35559 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
35560 * sysdeps/i386/fpu/e_logf.S: Likewise.
35561 * sysdeps/i386/fpu/e_log10l.S: Likewise.
35562 * sysdeps/i386/fpu/e_atanh.S: Likewise.
35563 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
35564 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
35565 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
35566 * sysdeps/i386/fpu/e_log10.S: Likewise.
35567 * sysdeps/i386/fpu/s_frexp.S: Likewise.
35568 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
35569 * sysdeps/i386/fpu/s_asinh.S: Likewise.
35570 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
35571 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
35572 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
35573 * sysdeps/i386/asm-syntax.h: Likewise.
35574 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
35575 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35576 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
35577 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
35578 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
35579 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
35580 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
35581 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
35582 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
35583 * sysdeps/powerpc/sysdep.h: Likewise.
35584 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
35585 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
35586
355872012-02-06 Joseph Myers <joseph@codesourcery.com>
35588
35589 [BZ #411]
35590 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
35591
355922012-02-06 Joseph Myers <joseph@codesourcery.com>
35593
35594 * sysdeps/i386/sysdep.h: Include <features.h>.
35595 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
35596 version.
35597
355982012-02-05 Joseph Myers <joseph@codesourcery.com>
35599
35600 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
35601 Define.
35602 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
35603 LOAD_PIC_REG_STR.
35604
356052012-02-03 Joseph Myers <joseph@codesourcery.com>
35606
35607 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
35608 (SETUP_PIC_REG): Use GET_PC_THUNK.
35609 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
35610 macro.
35611
356122012-02-03 Joseph Myers <joseph@codesourcery.com>
35613
35614 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
35615 for non-PIC compilation.
35616 (SETUP_PIC_REG): Add .p2align directive.
35617 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
35618 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
35619 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35620 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35621 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
35622 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35623 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
35624 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35625 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35626 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35627 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35628 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35629 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35630 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35631 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35632 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
35633 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
35634 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35635 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35636 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35637 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
35638 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
35639 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
35640 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
35641 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
35642 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
35643 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35644 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
35645 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35646 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35647 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35648 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35649 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35650 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35651 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35652 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35653 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35654 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35655 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35656 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35657 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35658
356592012-02-03 Joseph Myers <joseph@codesourcery.com>
35660
35661 * math/tst-CMPLX.c: Include <stdio.h>.
35662
356632012-01-31 Joseph Myers <joseph@codesourcery.com>
35664
35665 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
35666 float.
35667 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
35668 * sysdeps/sparc/bits/mathdef.h: Likewise.
35669
356702012-01-31 Marek Polacek <polacek@redhat.com>
35671
35672 * libio/libio.h: Don't define _PARAMS.
35673 * locale/programs/config.h: Don't define PARAMS.
35674 * stdlib/strtol_l.c: Likewise.
35675 (__strtol_l): Remove PARAMS from the prototype.
35676
356772012-01-31 Ulrich Drepper <drepper@gmail.com>
35678
35679 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
35680 names. Just use the correct names. Remove unnecessary wrapper
35681 functions.
35682 * malloc/arena.c: Likewise.
35683 * malloc/hooks.c: Likewise.
35684
35685 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
35686 ARENA_TEST says not to. Simplify test for creation of a new arena.
35687 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
35688
356892012-01-30 Ulrich Drepper <drepper@gmail.com>
35690
35691 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
35692 into tail calls.
35693 (update_get_addr): New function.
35694 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
35695 GET_ADDR_MODULE parameter.
35696
356972012-01-30 Joseph Myers <joseph@codesourcery.com>
35698
35699 * crypt/cert.c: Remove __STDC__ conditionals.
35700 * crypt/crypt-entry.c: Likewise.
35701 * crypt/crypt_util.c: Likewise.
35702 * libio/filedoalloc.c: Likewise.
35703 * libio/fileops.c: Likewise.
35704 * libio/genops.c: Likewise.
35705 * libio/iofclose.c: Likewise.
35706 * libio/iofdopen.c: Likewise.
35707 * libio/iofopen.c: Likewise.
35708 * libio/iofopen64.c: Likewise.
35709 * libio/iogetdelim.c: Likewise.
35710 * libio/iopopen.c: Likewise.
35711 * libio/obprintf.c: Likewise.
35712 * libio/oldfileops.c: Likewise.
35713 * libio/oldiofclose.c: Likewise.
35714 * libio/oldiofdopen.c: Likewise.
35715 * libio/oldiofopen.c: Likewise.
35716 * libio/oldiopopen.c: Likewise.
35717 * libio/wfiledoalloc.c: Likewise.
35718 * libio/wgenops.c: Likewise.
35719 * locale/programs/xmalloc.c: Likewise.
35720 * misc/syslog.c: Likewise.
35721 * stdio-common/xbug.c: Likewise.
35722 * string/memchr.c: Likewise.
35723 * string/memcmp.c: Likewise.
35724 * string/memrchr.c: Likewise.
35725 * string/rawmemchr.c: Likewise.
35726 * sysdeps/posix/getcwd.c: Likewise.
35727 * time/strftime_l.c: Likewise.
35728
357292012-01-30 Joseph Myers <joseph@codesourcery.com>
35730
35731 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
35732 * config.make.in (config-cflags-sse2avx): Define.
35733 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
35734 Fix typo.
35735
357362012-01-29 Chris Metcalf <cmetcalf@tilera.com>
35737
35738 * scripts/config.guess: Update from upstream config git repository.
35739 * scripts/config.sub: Likewise.
35740
357412012-01-28 Chris Metcalf <cmetcalf@tilera.com>
35742
35743 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
35744 (EM_NUM): Update.
35745 (R_TILEPRO_*, R_TILEGX_*): New macros.
35746
35747 * scripts/firstversions.awk: Fix bug in version range handling.
35748
35749 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
35750
35751 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
35752
35753 * include/sys/epoll.h: New file.
35754 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
35755 libc_hidden_def.
35756
357572012-01-28 Ulrich Drepper <drepper@gmail.com>
35758
35759 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
35760 Avoid unnecessary __WORDSIZE == 64 test.
35761 (fmaxf): Use VEX format if possible.
35762 (fmax): Likewise.
35763 (fminf): Likewise.
35764 (fmin): Likewise.
35765
35766 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
35767 * math/math_private.h: Remove libc_fegetround* and
35768 libc_fesetround*.
35769 * sysdeps/i386/configure.in: Check for -msse2avx.
35770 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
35771 also if SSE2AVX is defined.
35772 Remove libc_fegetround* and libc_fesetround*.
35773 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
35774 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
35775 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
35776 of HAS_YMM_USABLE.
35777 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35778 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35779 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35780 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35781 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
35782
35783 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
35784
357852012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35786
35787 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
35788 size is not set.
35789 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
35790
357912012-01-27 Ulrich Drepper <drepper@gmail.com>
35792
35793 [BZ #13618]
35794 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
35795 relocation.
35796 * Makeconfig (libm): Define.
35797 * elf/Makefile: Add rules to build and run tst-relsort1.
35798 * elf/tst-relsort1.c: New file.
35799 * elf/tst-relsort1mod1.c: New file.
35800 * elf/tst-relsort1mod2.c: New file.
35801
358022012-01-27 Joseph Myers <joseph@codesourcery.com>
35803
35804 * math/s_ldexp.c: Remove __STDC__ conditionals.
35805 * math/s_ldexpf.c: Likewise.
35806 * math/s_ldexpl.c: Likewise.
35807 * math/s_nextafter.c: Likewise.
35808 * math/s_nexttowardf.c: Likewise.
35809 * math/s_significand.c: Likewise.
35810 * math/s_significandf.c: Likewise.
35811 * math/s_significandl.c: Likewise.
35812 * math/w_jnl.c: Likewise.
35813 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
35814 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
35815 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
35816 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
35817 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
35818 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35819 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
35820 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
35821 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
35822 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
35823 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
35824 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35825 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
35826 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
35827 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
35828 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
35829 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
35830 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
35831 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35832 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35833 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35834 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35835 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35836 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35837 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35838 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35839 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35840 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35841 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
35842 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35843 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35844 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
35845 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35846 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
35847 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
35848 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35849 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
35850 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
35851 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
35852 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
35853 * sysdeps/ieee754/k_standard.c: Likewise.
35854 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35855 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35856 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
35857 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
35858 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
35859 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
35860 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35861 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
35862 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
35863 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
35864 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
35865 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
35866 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
35867 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
35868 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
35869 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
35870 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
35871 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35872 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35873 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
35874 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35875 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35876 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
35877 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
35878 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35879 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
35880 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35881 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35882 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35883 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
35884 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
35885 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
35886 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
35887 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
35888 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
35889 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
35890 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
35891 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
35892 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
35893 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
35894 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
35895 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
35896 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
35897 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
35898 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
35899 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
35900 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
35901 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35902 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
35903 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
35904 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
35905 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35906 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35907 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
35908 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
35909 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
35910 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
35911 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35912 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35913 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35914 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
35915 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
35916 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
35917 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35918 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
35919 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
35920 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
35921 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
35922 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
35923 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
35924 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
35925 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
35926 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
35927 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
35928 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
35929 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
35930 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
35931 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
35932 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
35933 * sysdeps/ieee754/s_matherr.c: Likewise.
35934 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
35935 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
35936 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35937 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
35938
359392012-01-26 Joseph Myers <joseph@codesourcery.com>
35940
35941 * crypt/md5.h: Remove __STDC__ conditionals.
35942 * libio/libioP.h: Likewise.
35943 * locale/programs/config.h: Likewise.
35944 * sysdeps/generic/sysdep.h: Likewise.
35945 * sysdeps/i386/asm-syntax.h: Likewise.
35946 * sysdeps/s390/asm-syntax.h: Likewise.
35947 * sysdeps/unix/sysdep.h: Likewise.
35948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
35949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
35950
359512012-01-26 Joseph Myers <joseph@codesourcery.com>
35952
35953 * libio/libio.h: Remove __STDC__ conditionals.
35954 * malloc/obstack.h: Likewise.
35955 * math/complex.h: Likewise.
35956 * math/math.h: Likewise.
35957 * sysdeps/generic/_G_config.h: Likewise.
35958 * sysdeps/gnu/_G_config.h: Likewise.
35959 * sysdeps/mach/hurd/_G_config.h: Likewise.
35960 * sysdeps/powerpc/bits/mathdef.h: Likewise.
35961 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
35962 * sysdeps/sparc/bits/mathdef.h: Likewise.
35963
359642012-01-26 Ulrich Drepper <drepper@gmail.com>
35965
35966 [BZ #13583]
35967 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
35968 Clean up HAS_* macros.
35969 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
35970 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
35971 possible.
35972 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
35973 HAS_AVX.
35974 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35975 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35976 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35977 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35978 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
35979
359802012-01-25 Joseph Myers <joseph@codesourcery.com>
35981
35982 * elf/tst-unique3.cc (gets): Remove declaration.
35983 * elf/tst-unique3lib.cc (gets): Likewise.
35984 * elf/tst-unique3lib2.cc (gets): Likewise.
35985 * elf/tst-unique4.cc (gets): Likewise.
35986
359872012-01-24 Ulrich Drepper <drepper@gmail.com>
35988
35989 * include/stdio.h: Add C++ protection. Add gets declarations and
35990 definitions.
35991 * debug/tst-chk1.c: Don't declare gets here.
35992 * stdio-common/tst-gets.c: Likewise.
35993
359942012-01-24 Joseph Myers <joseph@codesourcery.com>
35995
35996 * posix/glob: Remove directory.
35997
359982012-01-24 Joseph Myers <joseph@codesourcery.com>
35999
36000 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
36001
360022012-01-22 Pino Toscano <toscano.pino@tiscali.it>
36003
36004 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
36005 of the non-standard EPFNOSUPPORT.
36006
360072011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
36008
36009 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
36010 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
36011 ANYWHERE set to 1 only on KERN_NO_SPACE error.
36012
360132012-01-21 Ulrich Drepper <drepper@gmail.com>
36014
36015 * wcsmbs/uchar.h: Test __STDC_VERSION__.
36016
360172012-01-20 Ulrich Drepper <drepper@gmail.com>
36018
36019 * nscd/aicache.c (addhstaiX): Do not cache negative results of
36020 transient errors.
36021 * nscd/grpcache.c (cache_addgr): Likewise.
36022 * nscd/hstcache.c (cache_addhst): Likewise.
36023 * nscd/initgrcache.c (addinitgroupsX): Likewise.
36024 * nscd/pwdcache.c (cache_addpw): Likewise.
36025 * nscd/servicescache.c (cache_addserv): Likewise.
36026
360272012-01-16 Ulrich Drepper <drepper@gmail.com>
36028
36029 * malloc/malloc.c: Various cleanups.
36030 * malloc/hooks.c: Likewise.
36031
36032 * stdlib/Makefile (tests): Add bug-fmtmsg1.
36033 * stdlib/bug-fmtmsg1.c: New file.
36034
36035 * stdlib/fmtmsg.c (init): Add missing unlock.
36036 Patch by Peng Haitao <penght@cn.fujitsu.com>.
36037
360382012-01-12 Marek Polacek <polacek@redhat.com>
36039
36040 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
36041 and _GNU_SOURCE.
36042
360432012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
36044
36045 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
36046 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
36047 macro to ensure uniqueness of label name.
36048 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
36049 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
36050
360512012-01-11 Ulrich Drepper <drepper@gmail.com>
36052
36053 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
36054
36055 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
36056 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
36057 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
36058 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
36059
360602012-01-10 Ulrich Drepper <drepper@gmail.com>
36061
36062 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
36063
36064 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
36065 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
36066 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
36067
36068 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
36069
36070 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
36071 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
36072 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
36073 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
36074
36075 * math/bits/math-finite.h: Add ldexp support.
36076
360772012-01-10 Marek Polacek <polacek@redhat.com>
36078
36079 * locale/programs/localedef.h (show_archive_content): Add noreturn
36080 attribute.
36081
360822012-01-09 Ulrich Drepper <drepper@gmail.com>
36083
36084 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
36085
360862012-01-08 Ulrich Drepper <drepper@gmail.com>
36087
36088 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
36089
36090 * io/Makefile (headers): Add bits/poll2.h.
36091
360922011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
36093
36094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
36095 typo #include statement.
36096
360972012-01-08 Ulrich Drepper <drepper@gmail.com>
36098
36099 * include/sys/cdefs.h: Define __attribute_alloc_size.
36100 * catgets/gencat.c: Add alloc_size attribute and apply consistently
36101 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
36102 * elf/pldd.c: Likewise.
36103 * iconv/iconv_charmap.c: Likewise.
36104 * iconv/iconvconfig.c: Likewise.
36105 * iconv/strtab.c: Likewise.
36106 * locale/programs/locale.c: Likewise.
36107 * locale/programs/localedef.h: Likewise.
36108 * locale/programs/simple-hash.c: Likewise.
36109 * nscd/nscd.h: Likewise.
36110 * nss/makedb.c: Likewise.
36111 * sysdeps/generic/ldconfig.h: Likewise.
36112 * locale/programs/localedef.c: Remove xmalloc prototype.
36113 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
36114
361152012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
36116
36117 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
36118 appropriate.
36119
361202012-01-08 Ulrich Drepper <drepper@gmail.com>
36121
36122 * math/Makefile (tests): Add tst-CMPLX.
36123 * math/tst-CMPLX.c: New file.
36124
36125 * math/complex.h (CMPLXL): Fix typo.
36126
36127 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
36128 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
36129 GLIBC_2.16.
36130 * debug/tst-chk1.c: Add poll and ppoll tests.
36131 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
36132 * include/sys/poll.h: Add hidden proto for ppoll.
36133 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
36134 * sysdeps/mach/hurd/ppoll.c: Likewise.
36135 * io/ppoll.c: Likewise.
36136 * debug/poll_chk.c: New file.
36137 * debug/ppoll_chk.c: New file.
36138 * include/bits/poll2.h: New file.
36139 * io/bits/poll2.h: New file.
36140
36141 [BZ #1350]
36142 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
36143
36144 * configure.in: static is always set to yes. Remove.
36145 * config.make.in: Don't set build-static.
36146 * Makeconfig: Remove use of build-static.
36147 * dlfcn/Makefile: Likewise.
36148 * elf/Makefile: Likewise.
36149 * math/Makefile: Likewise.
36150 * misc/Makefile: Likewise.
36151 * nptl/Makefile: Likewise.
36152 * sysdeps/mach/hurd/Makefile: Likewise.
36153
36154 * configure.in: PWD_P is not used anymore.
36155 * config.make.in: Remove PWD_P entry.
36156
36157 * configure.in: Remove last remnants of RANLIB.
36158 No need to check for signed size_t anymore.
36159 Don't set libc_commonpagesize and libc_relro_required here for Alpha
36160 and IA-64.
36161 Remove __builtin_expect test because we require at least gcc 3.4.
36162 * aclocal.m4: Likewise.
36163
36164 * wcsmbs/mbrtoc16.c: Implement using towc function.
36165 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
36166 * wcsmbs/wcsmbsload.c: Likewise.
36167 * iconv/gconv_simple.c: Likewise.
36168 * iconv/gconv_int.h: Likewise.
36169 * iconv/gconv_builtin.h: Likewise.
36170 * iconv/iconv_prog.c: Remove CHAR16 handling.
36171
36172 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
36173
36174 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
36175
36176 * configure.in: Remove --with-elf and --enable-bounded options.
36177 Dont set base_machine for ia64. More non-ELF conditions removed.
36178 Remove testing and setting of leading underscore information.
36179 * config.make.in (build-bounded): Set to no.
36180 * config.h.in: Remove NO_UNDERSCORES entry.
36181 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
36182 them.
36183 * csu/start.c: Remove !NO_UNDERSCORE code.
36184 * locale/localeinfo.h: Likewise.
36185 * sysdeps/generic/machine-gmon.h: Likewise.
36186 * sysdeps/generic/sysdep.h: Likewise.
36187 * sysdeps/i386/sysdep.h: Likewise.
36188 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36189 * sysdeps/mach/sysdep.h: Likewise.
36190 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36191 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36192 * sysdeps/sh/sysdep.h: Likewise.
36193 * sysdeps/sparc/sparc32/alloca.S: Likewise.
36194 * sysdeps/unix/i386/sysdep.S: Likewise.
36195 * sysdeps/unix/sparc/start.c: Likewise.
36196 * sysdeps/unix/sparc/sysdep.S: Likewise.
36197 * sysdeps/unix/sparc/sysdep.h: Likewise.
36198 * sysdeps/unix/start.c: Likewise.
36199 * sysdeps/unix/x86_64/sysdep.S: Likewise.
36200 * sysdeps/x86_64/sysdep.h: Likewise.
36201
362022012-01-07 Ulrich Drepper <drepper@gmail.com>
36203
36204 [BZ #13553]
36205 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
36206 for non-gcc.
36207 * argp/argp-fmtstream.h: Use const instead __const.
36208 * argp/argp.h: Likewise.
36209 * assert/assert.h: Likewise.
36210 * bits/fenv.h: Likewise.
36211 * bits/sched.h: Likewise.
36212 * bits/sigset.h: Likewise.
36213 * bits/sigthread.h: Likewise.
36214 * catgets/nl_types.h: Likewise.
36215 * conform/data/pthread.h-data: Likewise.
36216 * crypt/crypt-private.h: Likewise.
36217 * crypt/crypt.h: Likewise.
36218 * crypt/crypt_util.c: Likewise.
36219 * ctype/ctype.h: Likewise.
36220 * debug/execinfo.h: Likewise.
36221 * debug/mbsnrtowcs_chk.c: Likewise.
36222 * debug/mbsrtowcs_chk.c: Likewise.
36223 * debug/wcsnrtombs_chk.c: Likewise.
36224 * debug/wcsrtombs_chk.c: Likewise.
36225 * debug/wcstombs_chk.c: Likewise.
36226 * dirent/dirent.h: Likewise.
36227 * dlfcn/dlfcn.h: Likewise.
36228 * elf/neededtest4.c: Likewise.
36229 * grp/grp.h: Likewise.
36230 * gshadow/gshadow.h: Likewise.
36231 * iconv/gconv.h: Likewise.
36232 * iconv/gconv_int.h: Likewise.
36233 * iconv/gconv_simple.c: Likewise.
36234 * iconv/iconv.h: Likewise.
36235 * iconv/loop.c: Likewise.
36236 * iconv/skeleton.c: Likewise.
36237 * include/aio.h: Likewise.
36238 * include/aliases.h: Likewise.
36239 * include/argz.h: Likewise.
36240 * include/arpa/inet.h: Likewise.
36241 * include/assert.h: Likewise.
36242 * include/dirent.h: Likewise.
36243 * include/dlfcn.h: Likewise.
36244 * include/execinfo.h: Likewise.
36245 * include/fcntl.h: Likewise.
36246 * include/fenv.h: Likewise.
36247 * include/glob.h: Likewise.
36248 * include/grp.h: Likewise.
36249 * include/libintl.h: Likewise.
36250 * include/mntent.h: Likewise.
36251 * include/netdb.h: Likewise.
36252 * include/pwd.h: Likewise.
36253 * include/rpc/netdb.h: Likewise.
36254 * include/sched.h: Likewise.
36255 * include/search.h: Likewise.
36256 * include/shadow.h: Likewise.
36257 * include/signal.h: Likewise.
36258 * include/stdio.h: Likewise.
36259 * include/stdlib.h: Likewise.
36260 * include/string.h: Likewise.
36261 * include/sys/socket.h: Likewise.
36262 * include/sys/stat.h: Likewise.
36263 * include/sys/statfs.h: Likewise.
36264 * include/sys/statvfs.h: Likewise.
36265 * include/sys/syslog.h: Likewise.
36266 * include/sys/time.h: Likewise.
36267 * include/sys/uio.h: Likewise.
36268 * include/time.h: Likewise.
36269 * include/unistd.h: Likewise.
36270 * include/utmp.h: Likewise.
36271 * include/wchar.h: Likewise.
36272 * include/wctype.h: Likewise.
36273 * inet/aliases.h: Likewise.
36274 * inet/arpa/inet.h: Likewise.
36275 * inet/netinet/ether.h: Likewise.
36276 * inet/netinet/in.h: Likewise.
36277 * intl/libintl.h: Likewise.
36278 * io/bits/fcntl2.h: Likewise.
36279 * io/fcntl.h: Likewise.
36280 * io/ftw.h: Likewise.
36281 * io/sys/poll.h: Likewise.
36282 * io/sys/stat.h: Likewise.
36283 * io/sys/statfs.h: Likewise.
36284 * io/sys/statvfs.h: Likewise.
36285 * io/utime.h: Likewise.
36286 * libio/bits/stdio.h: Likewise.
36287 * libio/bits/stdio2.h: Likewise.
36288 * libio/libio.h: Likewise.
36289 * libio/libioP.h: Likewise.
36290 * libio/stdio.h: Likewise.
36291 * locale/lc-ctype.c: Likewise.
36292 * locale/locale.h: Likewise.
36293 * login/utmp.h: Likewise.
36294 * malloc/arena.c: Likewise.
36295 * malloc/malloc.c: Likewise.
36296 * malloc/malloc.h: Likewise.
36297 * malloc/mcheck.c: Likewise.
36298 * malloc/mtrace.c: Likewise.
36299 * math/bits/mathcalls.h: Likewise.
36300 * math/fenv.h: Likewise.
36301 * math/math_private.h: Likewise.
36302 * misc/bits/error.h: Likewise.
36303 * misc/bits/syslog.h: Likewise.
36304 * misc/err.h: Likewise.
36305 * misc/error.h: Likewise.
36306 * misc/fstab.h: Likewise.
36307 * misc/mntent.h: Likewise.
36308 * misc/regexp.h: Likewise.
36309 * misc/search.h: Likewise.
36310 * misc/sgtty.h: Likewise.
36311 * misc/sys/mman.h: Likewise.
36312 * misc/sys/syslog.h: Likewise.
36313 * misc/sys/uio.h: Likewise.
36314 * misc/sys/xattr.h: Likewise.
36315 * misc/ttyent.h: Likewise.
36316 * nis/rpcsvc/ypclnt.h: Likewise.
36317 * nss/nss.h: Likewise.
36318 * posix/bits/unistd.h: Likewise.
36319 * posix/fnmatch.h: Likewise.
36320 * posix/glob.h: Likewise.
36321 * posix/sched.h: Likewise.
36322 * posix/spawn.h: Likewise.
36323 * posix/sys/wait.h: Likewise.
36324 * posix/unistd.h: Likewise.
36325 * posix/wordexp.h: Likewise.
36326 * pwd/pwd.h: Likewise.
36327 * resolv/netdb.h: Likewise.
36328 * resource/sys/resource.h: Likewise.
36329 * rt/aio.h: Likewise.
36330 * rt/bits/mqueue2.h: Likewise.
36331 * rt/mqueue.h: Likewise.
36332 * shadow/shadow.h: Likewise.
36333 * signal/signal.h: Likewise.
36334 * socket/send.c: Likewise.
36335 * socket/sendto.c: Likewise.
36336 * socket/sys/socket.h: Likewise.
36337 * stdio-common/printf.h: Likewise.
36338 * stdlib/bits/stdlib.h: Likewise.
36339 * stdlib/fmtmsg.h: Likewise.
36340 * stdlib/monetary.h: Likewise.
36341 * stdlib/stdlib.h: Likewise.
36342 * stdlib/ucontext.h: Likewise.
36343 * streams/stropts.h: Likewise.
36344 * string/argz.h: Likewise.
36345 * string/bits/string2.h: Likewise.
36346 * string/string.h: Likewise.
36347 * string/strings.h: Likewise.
36348 * sunrpc/rpc/auth.h: Likewise.
36349 * sunrpc/rpc/auth_des.h: Likewise.
36350 * sunrpc/rpc/clnt.h: Likewise.
36351 * sunrpc/rpc/netdb.h: Likewise.
36352 * sunrpc/rpc/pmap_clnt.h: Likewise.
36353 * sunrpc/rpc/xdr.h: Likewise.
36354 * sysdeps/generic/inttypes.h: Likewise.
36355 * sysdeps/generic/net/if.h: Likewise.
36356 * sysdeps/generic/sys/swap.h: Likewise.
36357 * sysdeps/gnu/net/if.h: Likewise.
36358 * sysdeps/gnu/utmpx.h: Likewise.
36359 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
36360 * sysdeps/i386/i486/bits/string.h: Likewise.
36361 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
36362 * sysdeps/s390/bits/string.h: Likewise.
36363 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
36364 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
36365 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
36366 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
36367 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
36368 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
36369 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
36370 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
36371 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
36372 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
36373 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
36374 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
36375 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
36376 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
36377 * sysdeps/unix/sysv/linux/readv.c: Likewise.
36378 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
36379 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
36380 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36381 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
36382 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
36383 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36384 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
36385 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
36386 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
36387 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
36388 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
36389 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
36390 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36391 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
36392 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
36393 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
36394 * sysvipc/sys/ipc.h: Likewise.
36395 * sysvipc/sys/msg.h: Likewise.
36396 * sysvipc/sys/sem.h: Likewise.
36397 * sysvipc/sys/shm.h: Likewise.
36398 * termios/termios.h: Likewise.
36399 * time/sys/time.h: Likewise.
36400 * time/time.h: Likewise.
36401 * wcsmbs/bits/wchar2.h: Likewise.
36402 * wcsmbs/uchar.h: Likewise.
36403 * wcsmbs/wchar.h: Likewise.
36404 * wctype/wctype.h: Likewise.
36405
36406 [BZ #13551]
36407 * Makeconfig: Remove all but ELF support including AIX support.
36408 * Makerules: Likewise.
36409 * config.h.in: Likewise.
36410 * config.make.in: Likewise.
36411 * configure: Likewise.
36412 * configure.in: Likewise.
36413 * csu/Makefile: Likewise.
36414 * csu/version.c: Likewise.
36415 * debug/Makefile: Likewise.
36416 * dlfcn/Makefile: Likewise.
36417 * elf/Makefile: Likewise.
36418 * extra-lib.mk: Likewise.
36419 * iconv/Makefile: Likewise.
36420 * include/libc-symbols.h: Likewise.
36421 * include/shlib-compat.h: Likewise.
36422 * resolv/Makefile: Likewise.
36423 * resolv/res_libc.c: Likewise.
36424 * rt/Makefile: Likewise.
36425 * sysdeps/i386/asm-syntax.h: Likewise.
36426 * sysdeps/i386/sysdep.h: Likewise.
36427 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36428 * sysdeps/mach/sysdep.h: Likewise.
36429 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
36430 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
36431 * sysdeps/s390/asm-syntax.h: Likewise.
36432 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36433 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36434 * sysdeps/sh/sysdep.h: Likewise.
36435 * sysdeps/unix/sparc/sysdep.h: Likewise.
36436 * sysdeps/wordsize-32/divdi3.c: Likewise.
36437 * sysdeps/x86_64/sysdep.h: Likewise.
36438
36439 * argp/Versions: Remove _argp_unlock_xxx.
36440
36441 [BZ #13559]
36442 * abilist/ld.abilist: Update. Adjust for removal of tls option.
36443 * abilist/libBrokenLocale.abilist: Likewise.
36444 * abilist/libanl.abilist: Likewise.
36445 * abilist/libc.abilist: Likewise.
36446 * abilist/libcrypt.abilist: Likewise.
36447 * abilist/libdl.abilist: Likewise.
36448 * abilist/libm.abilist: Likewise.
36449 * abilist/libnsl.abilist: Likewise.
36450 * abilist/libpthread.abilist: Likewise.
36451 * abilist/libresolv.abilist: Likewise.
36452 * abilist/librt.abilist: Likewise.
36453 * abilist/libthread_db.abilist: Likewise.
36454 * abilist/libutil.abilist: Likewise.
36455 * abilist/libnss_db.abilist: New file.
36456
36457 * scripts/abilist.awk: Add support for indirect functions.
36458
36459 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
36460
36461 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
36462
36463 * shlib-versions: Remove entries for ports architectures.
36464
36465 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
36466 files in ports.
36467 * elf/stackguard-macros.h: Remove support for IA-64.
36468 * elf/tst-auditmod1.c: Likewise.
36469 * sysdeps/generic/ldsodefs.h: Likewise.
36470
36471 * sysdeps/unix/sysv/linux/configure.in: Ports should define
36472 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
36473 configure files.
36474
36475 [BZ #13552]
36476 * configure.in: Remove --enable-omitfp support.
36477 * FAQ.in: Adjust.
36478 * config.make.in: Likewise.
36479 * Makeconfig: Likewise.
36480 * manual/install.texi: Likewise.
36481
36482 In case anyone cares, the IA-64 architecture could move to ports.
36483 * sysdeps/ia64/*: Removed.
36484 * sysdeps/unix/sysv/linux/ia64/*: Removed.
36485 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
36486
36487 [BZ #13555]
36488 * configure.in: Remove entries for unsupported architectures.
36489
36490 [BZ #13533]
36491 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
36492 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
36493 routines.
36494 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
36495 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
36496 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
36497 fall back to using wcrtomb.
36498 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
36499 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
36500 renaming.
36501 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
36502 * wcsmbs/tst-c16c32-1.c: New file.
36503
36504 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
36505 local variable.
36506
36507 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
36508
36509 * elf/tst-unique3.cc: Add explicit declaration of gets.
36510 * elf/tst-unique3lib.cc: Likewise.
36511 * elf/tst-unique3lib2.cc: Likewise.
36512 * elf/tst-unique4.cc: Likewise.
36513
36514 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
36515
365162012-01-06 Joseph Myers <joseph@codesourcery.com>
36517
36518 [BZ #13566]
36519 * assert/assert.h (static_assert): Don't define for C++.
36520 * libio/stdio.h (gets): Do declare for C++ <= C++11.
36521 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
36522
365232012-01-03 Ulrich Drepper <drepper@gmail.com>
36524
36525 * iconv/loop.c (single loop): Fix assertion in storing of
36526 remaining bytes.
36527
36528 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
36529
365302012-01-01 Ulrich Drepper <drepper@gmail.com>
36531
36532 * posix/getconf.c: Update copyright year.
36533 * nss/getent.c: Likewise.
36534 * nss/makedb.c: Likewise.
36535 * iconv/iconvconfig.c: Likewise.
36536 * iconv/iconv_prog.c: Likewise.
36537 * elf/ldconfig.c: Likewise.
36538 * elf/pldd.c: Likewise.
36539 * elf/sotruss.ksh: Likewise.
36540 * catgets/gencat.c: Likewise.
36541 * csu/version.c: Likewise.
36542 * elf/ldd.bash.in: Likewise.
36543 * elf/sprof.c (print_version): Likewise.
36544 * locale/programs/locale.c: Likewise.
36545 * locale/programs/localedef.c: Likewise.
36546 * login/programs/pt_chown.c: Likewise.
36547 * nscd/nscd.c (print_version): Likewise.
36548 * debug/xtrace.sh: Likewise.
36549 * malloc/memusage.sh: Likewise.
36550 * malloc/mtrace.pl: Likewise.
36551 * debug/catchsegv.sh: Likewise.
36552
365532011-12-30 Jakub Jelinek <jakub@redhat.com>
36554
36555 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
36556 pure attribute.
36557
365582011-12-24 Ulrich Drepper <drepper@gmail.com>
36559
36560 [BZ #13533]
36561 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
36562 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
36563 transformations.
36564 * iconv/gconv_int.h: Likewise.
36565 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
36566 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
36567 from libc for GLIBC_2.16.
36568 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
36569 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
36570 * wcsmbs/uchar.h: Really define mbstate_t.
36571 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
36572 * wcsmbs/c16rtomb.c: New file.
36573 * wcsmbs/mbrtoc16.c: New file.
36574 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
36575 for C/POSIX locale.
36576 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
36577 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
36578
36579 * wcsmbs/wchar.h: Add missing __restrict.
36580
365812011-12-23 Ulrich Drepper <drepper@gmail.com>
36582
36583 [BZ #13532]
36584 * time/Makefile (routines): Add timespec_get.
36585 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
36586 * time/time.h: Define TIME_UTC and declare timespec_get. Define
36587 timespec for ISO C11.
36588 * time/timespec_get.c: New file.
36589 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
36590 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
36591
36592 [BZ #13531]
36593 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
36594 * stdlib/stdlib.h: Declare aligned_alloc.
36595 * Versions.def: Add GLIBC_2.16 for libc.
36596 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
36597
36598 [BZ 13527]
36599 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
36600 ISO C11.
36601
36602 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
36603 code.
36604
36605 [BZ #13528]
36606 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
36607
36608 [BZ #13529]
36609 * assert/assert.h (static_assert): Define.
36610
36611 * version.h: Update for 2.16 development version.
36612
36613 [BZ #13526]
36614 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
36615 _ISOC11_SOURCE.
36616
36617 * version.h (RELEASE): Bump for 2.15 release.
36618 * include/features.h (__GLIBC_MINOR__): Bump to 15.
36619
36620 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
36621 Patch by Marek Polacek <mpolacek@redhat.com>.
36622
36623 * bits/byteswap.h: Protect long long constants with __extension__.
36624 * sysdeps/i386/bits/byteswap.h: Likewise.
36625 * sysdeps/ia64/bits/byteswap.h: Likewise.
36626 * sysdeps/s390/bits/byteswap.h: Likewise.
36627 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36628
366292011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36630
36631 [BZ #13540]
36632 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
36633 destination buffer.
36634 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
36635
366362011-12-23 Marek Polacek <polacek@redhat.com>
36637
36638 * elf/dl-addr.c (determine_info): Add inline keyword.
36639 * elf/tst-auditmod4b.c (check_avx): Likewise.
36640 * elf/tst-auditmod6b.c (check_avx): Likewise.
36641 * elf/tst-auditmod6c.c (check_avx): Likewise.
36642 * elf/tst-auditmod7b.c (check_avx): Likewise.
36643
366442011-12-23 Ulrich Drepper <drepper@gmail.com>
36645
36646 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
36647 !__SSE_MATH__.
36648
366492011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36650
36651 [BZ #13540]
36652 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
36653 processing for last bytes.
36654
366552011-08-06 Bruno Haible <bruno@clisp.org>
36656
36657 [BZ #13061]
36658 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
36659 U+0385, not to U+1FEE.
36660
36661 [BZ #13062]
36662 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
36663 entry for U+00A5 U+0301.
36664
366652011-12-22 Ulrich Drepper <drepper@gmail.com>
36666
36667 [BZ #13166]
36668 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
36669 buffer for the output is too small.
36670
36671 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
36672 optimization.
36673
36674 [BZ #13185]
36675 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
36676 SSE flags if possible.
36677
366782011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36679
36680 [BZ #13540]
36681 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
36682 processing for last bytes.
36683
366842011-12-22 Joseph Myers <joseph@codesourcery.com>
36685
36686 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
36687 (syscall-list-default-options, syscall-list-default-condition)
36688 (syscall-list-includes): Define.
36689 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
36690 list of ABIs and options and #if conditions for each ABI. Do not
36691 handle common syscalls between ABIs specially.
36692 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
36693 Remove.
36694 (syscall-list-variants, syscall-list-32bit-options)
36695 (syscall-list-32bit-condition, syscall-list-64bit-options)
36696 (syscall-list-64bit-condition): Define.
36697 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
36698 (syscall-list-variants, syscall-list-32bit-options)
36699 (syscall-list-32bit-condition, syscall-list-64bit-options)
36700 (syscall-list-64bit-condition): Define.
36701 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
36702 Remove.
36703 (syscall-list-variants, syscall-list-32bit-options)
36704 (syscall-list-32bit-condition, syscall-list-64bit-options)
36705 (syscall-list-64bit-condition): Define.
36706 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
36707 Remove.
36708 (syscall-list-variants, syscall-list-32bit-options)
36709 (syscall-list-32bit-condition, syscall-list-64bit-options)
36710 (syscall-list-64bit-condition): Define.
36711
367122011-12-22 Ulrich Drepper <drepper@gmail.com>
36713
36714 * locale/iso-639.def: Add brx entry.
36715
36716 [BZ #13328]
36717 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
36718 Proposed by Mariusz_Cukr <marcukr@op.pl>.
36719
36720 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
36721 __feraiseexcept_renamed.
36722
367232011-12-21 Ulrich Drepper <drepper@gmail.com>
36724
36725 [BZ #13538]
36726 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
36727 EPOLLET with unsigned values.
36728 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36729 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36730
36731 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
36732 to large cancellation.
36733 * math/s_cacoshf.c: Likewise.
36734 * math/s_cacoshl.c: Likewise.
36735
367362011-11-18 Richard B. Kreckel <kreckel@ginac.de>
36737
36738 [BZ #13305]
36739 [BZ #12786]
36740 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
36741 * math/s_cacoshf.c: Likewise.
36742 * math/s_cacoshl.c: Likewise.
36743
367442011-12-21 Ulrich Drepper <drepper@gmail.com>
36745
36746 [BZ #13439]
36747 * iconv/gconv.h: Define __GCONV_SWAP.
36748 * iconvdata/unicode.c: The swap bit must be stored in __flags.
36749 * iconvdata/utf-16.c: Likewise.
36750 * iconvdata/utf-32.c: Likewise.
36751
367522011-12-21 Andreas Schwab <schwab@linux-m68k.org>
36753
36754 [BZ #13524]
36755 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
36756 numerator after shifting it by one limb.
36757
367582011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
36759
36760 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
36761 under [__USE_EXTERN_INLINES].
36762
367632011-12-17 Ulrich Drepper <drepper@gmail.com>
36764
36765 [BZ #13446]
36766 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
36767
367682011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36769
36770 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
36771 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
36772 optimized code.
36773 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
36774 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
36775 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
36776 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
36777 for strncasecmp/strncasecmp_l compilation.
36778 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
36779 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
36780
367812011-12-08 Marek Polacek <mpolacek@redhat.com>
36782
36783 [BZ #13484]
36784 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
36785 of __asm__.
36786
367872011-12-17 Ulrich Drepper <drepper@gmail.com>
36788
36789 [BZ #13506]
36790 * time/tzfile.c (__tzfile_read): Check values from file header.
36791
367922011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
36793
36794 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
36795 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
36796 * powerpc/powerpc32/dl-start.S: Likewise.
36797 * powerpc/powerpc32/elf/start.S: Likewise.
36798 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
36799 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
36800 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
36801 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
36802 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
36803 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
36804 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
36805 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
36806 * powerpc/powerpc32/fpu/s_round.S: Likewise.
36807 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
36808 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
36809 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
36810 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
36811 * powerpc/powerpc32/memset.S: Likewise.
36812 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
36813 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
36814 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
36815 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
36816 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
36817 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
36818 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
36819 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
36820 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
36821 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
36822 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
36823 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
36824 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
36825
368262011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36827
36828 * math/libm-test.inc: Added more nearbyint tests.
36829 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
36830 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
36831 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
36832 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
36833
368342011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
36835
36836 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
36837 FD_CLOEXEC.
36838
368392011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36840
36841 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
36842 Add wcscpy-ssse3 wcscpy-c.
36843 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
36844 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
36845 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
36846 * sysdeps/x86_64/wcschr.S: New file.
36847 * sysdeps/x86_64/wcsrchr.S: New file.
36848 * string/test-strcmp.c: Remove checking of wcscmp function for
36849 wrong alignments.
36850 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
36851 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
36852 wcsrchr-sse2 wcsrchr-c.
36853 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
36854 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
36855 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
36856 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
36857 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
36858 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
36859 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
36860 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
36861 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
36862 * wcsmbc/wcschr.c (WCSCHR): New macro.
36863
368642011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36865
36866 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
36867 * wcsmbs/test-wcsrchr.c: New file.
36868 * string/test-strrchr.c: Add wcsrchr support.
36869 (WIDE): New macro.
36870 * wcsmbs/test-wcscpy.c: New file.
36871 * string/test-strcpy.c: Add wcscpy support.
36872 (WIDE): New macro.
36873
368742011-12-10 Ulrich Drepper <drepper@gmail.com>
36875
36876 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
36877 the inner loop.
36878
368792011-12-06 Andreas Schwab <schwab@linux-m68k.org>
36880
36881 [BZ #13472]
36882 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
36883
368842011-12-04 Ulrich Drepper <drepper@gmail.com>
36885
36886 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
36887 Minor optimizations.
36888
36889 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
36890 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
36891 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
36892
368932011-12-03 Ulrich Drepper <drepper@gmail.com>
36894
36895 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
36896 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
36897 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
36898 for gcc to avoid warnings.
36899 * inet/Makefile (tests): Add tst-checks.
36900 * inet/tst-checks.c: New file.
36901
36902 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
36903 warning.
36904
36905 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
36906 __wmemcmp_sse2.
36907
36908 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
36909 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
36910
36911 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
36912
369132011-12-02 Ulrich Drepper <drepper@gmail.com>
36914
36915 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
36916 problem.
36917
36918 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
36919
369202011-11-29 Joseph Myers <joseph@codesourcery.com>
36921
36922 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
36923 conditional on GCC version.
36924 (__arch_compare_and_exchange_val_8_acq)
36925 (__arch_compare_and_exchange_val_16_acq)
36926 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
36927 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
36928 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
36929
369302011-12-02 Joseph Myers <joseph@codesourcery.com>
36931
36932 * sysdeps/sh/backtrace.c: New file.
36933
369342011-12-02 Andreas Schwab <schwab@redhat.com>
36935
36936 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
36937 parenthesis.
36938
369392011-12-01 Andreas Schwab <schwab@redhat.com>
36940
36941 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
36942 falling back to utime.
36943
369442011-11-30 Andreas Schwab <schwab@redhat.com>
36945
36946 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
36947 expectations for float.
36948
369492011-11-29 Andreas Schwab <schwab@redhat.com>
36950
36951 * locale/weight.h (findidx): Add parameter len.
36952 * locale/weightwc.h (findidx): Likewise.
36953 * posix/fnmatch_loop.c (FCT): Adjust caller.
36954 * posix/regcomp.c (build_equiv_class): Likewise.
36955 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
36956 * posix/regexec.c (check_node_accept_bytes): Likewise.
36957 * string/strcoll_l.c (STRCOLL): Likewise.
36958 * string/strxfrm_l.c (STRXFRM): Likewise.
36959
369602011-11-17 Ulrich Drepper <drepper@gmail.com>
36961
36962 * Makefile.in: Remove CVSOPT handling.
36963 * configure.in: Remove use of AC_REVISION.
36964 * iconvdata/Makefile (distribute): No need to filter out CVS.
36965 * scripts/list-sources.sh: Remove CVS, subversion and monotone
36966 handling.
36967
369682011-11-16 Andreas Schwab <schwab@redhat.com>
36969
36970 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
36971 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
36972 [USE_AS_STRNCASECMP_L]: Likewise.
36973 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
36974 NO_TLS_DIRECT_SEG_REFS.
36975 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
36976 Fix argument offsets for non-PIC.
36977 [USE_AS_STRNCASECMP_L]: Likewise.
36978 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
36979 NO_TLS_DIRECT_SEG_REFS.
36980
369812011-11-15 Ulrich Drepper <drepper@gmail.com>
36982
36983 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
36984 O_CLOEXEC.
36985 * locale/loadlocale.c (_nl_load_locale): Likewise.
36986
369872011-11-15 Andreas Schwab <schwab@redhat.com>
36988
36989 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
36990 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
36991 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
36992 (SYSCALL_GETTIME): Set errno on error.
36993
36994 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
36995 count references to noai6ai_cached.
36996
369972011-11-15 Ulrich Drepper <drepper@gmail.com>
36998
36999 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
37000
37001 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
37002 FD_CLOEXEC for /proc/self/maps.
37003
37004 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
37005 FD_CLOEXEC for /proc/meminfo.
37006
37007 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
37008 gai.conf.
37009
37010 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
37011 FD_CLOEXEC for given file.
37012
37013 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
37014
37015 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
37016 FD_CLOEXEC for /etc/hosts.
37017 (_gethtent): Likewise.
37018
37019 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
37020
37021 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
37022 cancellation and set FD_CLOEXEC for /etc/netgroup.
37023
37024 * nss/nss_files/files-key.c (search): Don't allow cancellation when
37025 reading /etc/publickey.
37026
37027 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
37028 allow cancellation when reading /etc/group.
37029
37030 * nss/nss_files/files-alias.c (internal_setent): Don't allow
37031 cancellation.
37032 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
37033
37034 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
37035 when using data file.
37036
37037 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
37038
37039 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
37040 (write_nis_obj): Use "c" and "e" in fopen.
37041
37042 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
37043
37044 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
37045
37046 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
37047
37048 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
37049
37050 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
37051 locale.alias.
37052
37053 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
37054
37055 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
37056
37057 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
37058
37059 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
37060 file parsing and set FD_CLOEXEC.
37061
370622011-11-14 Ulrich Drepper <drepper@gmail.com>
37063
37064 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
37065
370662011-11-14 Andreas Schwab <schwab@redhat.com>
37067
37068 * malloc/arena.c (arena_get2): Don't call reused_arena when
37069 _int_new_arena failed.
37070
370712011-11-14 Ulrich Drepper <drepper@gmail.com>
37072
37073 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
37074 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
37075 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
37076 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37077 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37078 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
37079 to compile strcasecmp and strncasecmp.
37080 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
37081 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
37082
37083 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
37084
370852011-11-13 Ulrich Drepper <drepper@gmail.com>
37086
37087 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
37088 locale-defines.sym to gen-as-const-headers.
37089 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
37090 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
37091 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
37092 to compile strcasecmp and strncasecmp.
37093 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
37094 strcasecmp_l and strncasecmp_l.
37095 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
37096 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
37097 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
37098 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
37099 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
37100 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
37101 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
37102 * sysdeps/i386/i686/multiarch/strncase.S: New file.
37103 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
37104 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
37105 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
37106
371072011-11-12 Ulrich Drepper <drepper@gmail.com>
37108
37109 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
37110 result of SYSDEP_GETTIME_CPU to retval.
37111 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
37112 parameter list to macro. Remove trailing semicolon. Adjust users.
37113
37114 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
37115 variable.
37116
37117 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
37118 mantissa words.
37119 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
37120
37121 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
37122 from unused variable.
37123
37124 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
37125 DWARF definitions.
37126 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
37127 for assembling.
37128
37129 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
37130 over namespaces.
37131
37132 * sunrpc/rpc_prot.c (rejected): Fix case value.
37133
37134 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
37135 unsigned long long int to avoid warnings in shift.
37136
37137 * posix/regex_internal.c (re_string_reconstruct): Actually use result
37138 of use of trans.
37139 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
37140 variable tmp.
37141
37142 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
37143 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
37144 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
37145
37146 * nis/nis_table.c (nis_list): Use variable of correct type for
37147 result of __follow_path call.
37148
371492011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37150
37151 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
37152 of math functions ceil, trunc, floor, round, and sqrt, when
37153 avaliable on the platform.
37154 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
37155 name clash.
37156 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
37157 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
37158 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
37159
371602011-10-30 Marek Polacek <mpolacek@redhat.com>
37161
37162 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
37163 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
37164
371652011-11-11 Roland McGrath <roland@hack.frob.com>
37166
37167 * include/unistd.h: Fix __readlink return type.
37168 Reported by Chris Metcalf <cmetcalf@tilera.com>.
37169
371702011-11-11 Ulrich Drepper <drepper@gmail.com>
37171
37172 * stdlib/ucontext.h: Undo last change for makecontext.
37173
371742011-11-11 Andreas Schwab <schwab@redhat.com>
37175
37176 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
37177
37178 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
37179 * setjmp/setjmp.h: Mark functions as non-leaf.
37180 * setjmp/bits/setjmp2.h: Likewise.
37181 * stdlib/ucontext.h: Likewise.
37182
371832011-11-10 Andreas Schwab <schwab@redhat.com>
37184
37185 * malloc/arena.c (_int_new_arena): Don't increment narenas.
37186 (reused_arena): Don't check arena limit.
37187 (arena_get2): Atomically check arena limit.
37188
371892011-11-08 Ulrich Drepper <drepper@gmail.com>
37190
37191 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
37192 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
37193
37194 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
37195 instructions.
37196
371972011-11-07 Andreas Schwab <schwab@redhat.com>
37198
37199 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
37200 handler when locking.
37201
37202 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
37203 Fix size of allocated buffer.
37204
372052011-11-04 Andreas Schwab <schwab@redhat.com>
37206
37207 [BZ #10103]
37208 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
37209 declarations for long double functions.
37210 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
37211
37212 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
37213
372142011-11-03 Andreas Schwab <schwab@redhat.com>
37215
37216 * nscd/nscd.c (main): Don't start AVC thread until credentials are
37217 installed.
37218
37219 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
37220 is disabled.
37221
372222011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
37223
37224 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
37225
372262011-11-01 Andreas Schwab <schwab@linux-m68k.org>
37227
37228 * include/alloca.h (stackinfo_alloca_round): Define.
37229 (extend_alloca): Use it.
37230 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
37231 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
37232 here.
37233
37234 * scripts/check-local-headers.sh: Ignore libaudit.h.
37235
37236 * nscd/Makefile (extra-objs): Make recursively expanded.
37237
372382011-11-01 Ulrich Drepper <drepper@gmail.com>
37239
37240 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
37241 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
37242
37243 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
37244 * posix/tst-rfc3484-2.c: Likewise.
37245 * posix/tst-rfc3484-3.c: Likewise.
37246
37247 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
37248 process_vm_writev.
37249 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
37250 process_vm_writev.
37251 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
37252 process_vm_writev from libc using GLIBC_2.15 version.
37253
37254 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
37255
372562011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
37257
37258 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
37259 stack usage.
37260
372612011-10-31 Ulrich Drepper <drepper@gmail.com>
37262
37263 [BZ #13367]
37264 * nss/getent.c (initgroups_keys): Show error message in case no group
37265 names are given.
37266
37267 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
37268 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
37269 __bump_nl_timestamp.
37270 * nscd/connections (nscd_init): When host database is served open
37271 netlink socket and request notification about configuration changes.
37272 (main_loop_poll): Track netlink file descriptor and bump timestamp
37273 in case data becomes available.
37274 (main_loop_epoll): Likewise.
37275 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
37276 (database_pers_head): Add extra_data fileds.
37277 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
37278 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
37279 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
37280 Adjust caller.
37281 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
37282 in6ai data, call __free_in6ai.
37283 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
37284 Add -DHAVE_NETLINK.
37285 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
37286 interface information. Reuse previous data if netlink timestamp
37287 is not changed.
37288 (__bump_nl_timestamp): New function.
37289 (__free_in6ai): New function.
37290
372912011-10-30 Ulrich Drepper <drepper@gmail.com>
37292
37293 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
37294 close_not_cancel_no_status here.
37295 (__check_pf): Reorganize code a bit to not call close twice if OOM.
37296
372972011-10-29 Ulrich Drepper <drepper@gmail.com>
37298
37299 [BZ #13276]
37300 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
37301 return value.
37302
37303 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
37304 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
37305 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
37306
373072011-07-03 Andreas Jaeger <aj@suse.de>
37308
37309 [BZ #10709]
37310 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
37311 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
37312 * math/libm-test.inc (sin_test): Add test case.
37313
373142011-10-29 Ulrich Drepper <drepper@gmail.com>
37315
37316 [BZ #13337]
37317 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
37318 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37319
37320 * elf/chroot_canon.c (chroot_canon): Cleanups.
37321
37322 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
37323
37324 [BZ #13335]
37325 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
37326 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37327
37328 * string/test-strchr.c: Make usable for strchrnul testing.
37329 * string/test-strchrnul.c: New file.
37330 * string/Makefile (strop-tests): Add strchrnul.
37331
37332 * po/it.po: Update from translation team.
37333 * po/es.po: Likewise.
37334
373352011-10-28 Ulrich Drepper <drepper@gmail.com>
37336
37337 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
37338 the three constants needed as parameters. Drop the others.
37339 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
37340 __m128i_strloadu_tolower.
37341 Create and initialize variable zero and use it in all the places
37342 where _mm_setzero_si128 was used.
37343
37344 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
37345 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
37346 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
37347 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
37348 anymore.
37349 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
37350 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
37351 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
37352 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
37353 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
37354 __mpranred, __mptan.
37355 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
37356 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
37357 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
37358 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
37359 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
37360 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
37361 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
37362 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
37363 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
37364
373652011-10-28 Andreas Schwab <schwab@redhat.com>
37366
37367 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
37368 redefine if SHARED.
37369 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
37370
37371 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
37372 wide char related routines to wcsmbs subdir.
37373
373742011-10-27 Andreas Schwab <schwab@redhat.com>
37375
37376 [BZ #13344]
37377 * misc/sys/cdefs.h (__THROWNL): Define.
37378 * posix/unistd.h: Use __THREADNL instead of __THREAD
37379 for memory synchronization functions.
37380
373812011-10-26 Roland McGrath <roland@hack.frob.com>
37382
37383 [BZ #13349]
37384 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
37385 doesn't exist.
37386 * manual/stdio.texi (Obstack Streams): Node removed.
37387
373882011-10-26 Andreas Schwab <schwab@redhat.com>
37389
37390 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
37391 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37392 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37393
37394 * math/math_private.h (math_force_eval): Allow non-addressable
37395 arguments.
37396 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
37397
373982011-10-25 Ulrich Drepper <drepper@gmail.com>
37399
37400 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
37401 file is not needed.
37402
37403 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
37404 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
37405 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37406 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37407 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37408 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37409 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37410 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
37411 Add AVX variants.
37412 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
37413 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
37414 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
37415 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
37416 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
37417 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
37418 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
37419 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
37420 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
37421 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
37422 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
37423 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
37424 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
37425 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
37426 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
37427 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
37428 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
37429 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
37430 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
37431
37432 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
37433 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
37434
37435 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
37436 place. Use VEX encoding when compiling for AVX.
37437
374382011-10-25 Andreas Schwab <schwab@redhat.com>
37439
37440 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
37441 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
37442
37443 * string/test-strchr.c (do_test): Don't generate NUL bytes.
37444
374452011-10-25 Ulrich Drepper <drepper@gmail.com>
37446
37447 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
37448 useless if() expression.
37449 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37450 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37451 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37452 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37453 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37454 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37455 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37456 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37457 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
37458 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37459 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37460 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37461 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
37462 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37463 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
37464 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37465 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37466 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37467 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
37468
37469 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
37470
374712011-10-25 Andreas Schwab <schwab@redhat.com>
37472
37473 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
37474 condition.
37475 * elf/dl-fini.c (_dl_sort_fini): Likewise.
37476
374772011-10-25 Ulrich Drepper <drepper@gmail.com>
37478
37479 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
37480 .text section. Avoid duplicate constants.
37481 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37482 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37483 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37484 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37485 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37486 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37487 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37488 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37489 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
37490 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
37491 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
37492 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
37493 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
37494 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
37495 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
37496 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
37497 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
37498 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
37499 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37500 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37501 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37502 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37503 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37504 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
37505 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
37506 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
37507 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
37508 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
37509 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
37510 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
37511 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
37512 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
37513 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
37514 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
37515 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
37516 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
37517 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
37518 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
37519 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
37520 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
37521 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
37522 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
37523 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
37524 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
37525 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
37526
375272011-10-24 Ulrich Drepper <drepper@gmail.com>
37528
37529 * sysdeps/x86_64/dla.h: Move to ...
37530 * sysdeps/x86_64/fpu/dla.h: ...here.
37531 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
37532 situations. Use __builtin_fma only for gcc 4.6 and up.
37533
37534 * config.make.in: Add have-mfma4 entry.
37535 * configure.in: Substitute libc_cv_cc_fma4.
37536 * math/Makefile (dbl-only-routines): Add sincostab.
37537 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
37538 Use __sincostab not sincos.
37539 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
37540 name is a macro.
37541 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37542 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37543 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37544 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
37545 using __copysign.
37546 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
37547 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
37548 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
37549 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
37550 and __inv.
37551 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
37552 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
37553 __copysign.
37554 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
37555 define aliases when function name is a macro.
37556 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
37557 sysdeps/ieee754/dbl-64/sincos.tbl.
37558 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
37559 fma4-enabled routines.
37560 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
37561 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
37562 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
37563 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
37564 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
37565 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
37566 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
37567 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
37568 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
37569 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
37570 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
37571 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
37572 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
37573 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
37574 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
37575 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
37576 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
37577 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
37578 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
37579 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
37580 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
37581 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
37582 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
37583 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
37584 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
37585 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
37586 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
37587 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
37588 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
37589 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
37590
37591 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
37592 rename.
37593 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37594 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37595 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37596 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37597 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37598 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37599 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37600 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37601
376022011-10-24 Andreas Schwab <schwab@redhat.com>
37603
37604 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
37605
376062011-10-23 Ulrich Drepper <drepper@gmail.com>
37607
37608 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
37609
37610 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
37611 prediction.
37612 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
37613
37614 * string/strnlen.c: Don't define STRNLEN, reverse logic.
37615 Remove unused variable magic_bits.
37616 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
37617
37618 * string/strnlen.c: Define and use STRNLEN macro.
37619 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
37620 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
37621 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
37622 * wcsmbs/wcslen.c: Define and use WCSLEN.
37623 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
37624 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
37625 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
37626 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
37627 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
37628 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
37629 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
37630
376312011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37632
37633 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37634 strnlen-sse2-no-bsf.
37635 Rename strlen-no-bsf to strlen-sse2-no-bsf.
37636 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
37637 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
37638 Add strnlen support.
37639 (USE_AS_STRNLEN): New macro.
37640 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
37641 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
37642 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
37643 * sysdeps/x86_64/wcslen.S: New file.
37644
376452011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
37646
37647 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
37648 XMM-moves are used for copying on small sizes.
37649
376502011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37651
37652 * wcsmbs/Makefile (strop-tests): Add wcschr.
37653 * wcsmbs/test-wcschr.c: New file.
37654 * string/test-strchr.c: Update.
37655 Add wcschr support.
37656 (WIDE): New macro.
37657
376582011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37659
37660 * wcsmbs/Makefile (strop-tests): Add wcslen.
37661 * wcsmbs/test-wcslen.c: New file.
37662 * string/test-strlen.c: Update.
37663 Add wcslen support.
37664 (WIDE): New macro.
37665
376662011-10-23 Ulrich Drepper <drepper@gmail.com>
37667
37668 * po/it.po: Update from translation team.
37669
376702011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37671
37672 * sysdeps/x86_64/wcscmp.S: Update.
37673 Fix wrong comparison semantics.
37674 wcscmp shall use signed comparison not unsigned.
37675 Don't use substraction to avoid overflow bug.
37676 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
37677 * wcsmbc/wcscmp.c: Likewise.
37678 * string/test-strcmp.c: Likewise.
37679 Add new tests to check cases with negative values.
37680
376812011-10-23 Ulrich Drepper <drepper@gmail.com>
37682
37683 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
37684 * sysdeps/x86_64/dla.h: ...here. New file.
37685 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
37686 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37687 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37688 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37689 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37690 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37691 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37692 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37693 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37694
376952011-10-23 Andreas Schwab <schwab@linux-m68k.org>
37696
37697 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
37698 __ynl_finite aliases.
37699
377002011-10-22 Ulrich Drepper <drepper@gmail.com>
37701
37702 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37703
37704 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
37705 define DLA_FMA.
37706 [DLA_FMA] (EMULV): Use DLA_FMA.
37707 [DLA_FMA] (MUL12): Use EMULV.
37708 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
37709 that are not needed.
37710 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37711 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37712 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37713 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37714 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37715 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37716 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37717
377182011-10-22 Andreas Schwab <schwab@linux-m68k.org>
37719
37720 * math/s_nan.c: Undef __nan.
37721 * math/s_nanf.c: Undef __nanf.
37722 * math/s_nanl.c: Undef __nanl.
37723 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
37724 "math_private.h".
37725
377262011-10-22 Ulrich Drepper <drepper@gmail.com>
37727
37728 * math/s_catan.c: Add branch predictions.
37729 * math/s_catanf.c: Likewise.
37730 * math/s_catanh.c: Likewise.
37731 * math/s_catanhf.c: Likewise.
37732 * math/s_catanhl.c: Likewise.
37733 * math/s_catanl.c: Likewise.
37734 * math/s_cexp.c: Likewise.
37735 * math/s_cexpf.c: Likewise.
37736 * math/s_cexpl.c: Likewise.
37737 * math/s_clog.c: Likewise.
37738 * math/s_clog10.c: Likewise.
37739 * math/s_clog10f.c: Likewise.
37740 * math/s_clog10l.c: Likewise.
37741 * math/s_clogf.c: Likewise.
37742 * math/s_clogl.c: Likewise.
37743 * math/s_csqrt.c: Likewise.
37744 * math/s_csqrtf.c: Likewise.
37745 * math/s_csqrtl.c: Likewise.
37746 * math/s_ctanf.c: Likewise.
37747 * math/s_ctanh.c: Likewise.
37748 * math/s_ctanhf.c: Likewise.
37749 * math/s_ctanhl.c: Likewise.
37750 * math/s_ctanl.c: Likewise.
37751
37752 * math/math_private.h: Define __nan, __nanf, __nanl.
37753 * math/s_cacosh.c: Include <math_private.h>.
37754 * math/s_cacoshl.c: Likewise.
37755 * math/s_casinh.c: Likewise.
37756 * math/s_casinhf.c: Likewise.
37757 * math/s_casinhl.c: Likewise.
37758 * math/s_ccos.c: Rely entire on ccosh.
37759 * math/s_ccosf.c: Rely entire on ccoshf.
37760 * math/s_ccosl.c: Rely entirely on ccoshl.
37761 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
37762 Remove tests for FE_INVALID.
37763 * math/s_ccoshf.c: Likewise.
37764 * math/s_ccoshl.c: Likewise.
37765 * math/s_csin.c: Likewise.
37766 * math/s_csinf.c: Likewise.
37767 * math/s_csinh.c Likewise.
37768 * math/s_csinhf.c: Likewise.
37769 * math/s_csinhl.c: Likewise.
37770 * math/s_csinl.c: Likewise.
37771 * math/s_ctan.c: Likewise.
37772 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
37773 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
37774 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
37775
377762011-10-21 Ulrich Drepper <drepper@gmail.com>
37777
37778 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
37779 compilation problems.
37780
37781 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
37782 __builtin_expect.
37783
377842011-10-20 Ulrich Drepper <drepper@gmail.com>
37785
37786 * sysdeps/i386/configure.in: Test for -mfma4 option.
37787 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
37788 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
37789 COMMON_CPUID_INDEX_80000001.
37790 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
37791 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
37792 use it if FMA3 is not supported.
37793 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
37794
37795 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
37796 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37797
377982011-10-20 Andreas Schwab <schwab@redhat.com>
37799
37800 [BZ #12892]
37801 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
37802 it would create a cycle with a link time dependency.
37803
378042011-10-19 Ulrich Drepper <drepper@gmail.com>
37805
37806 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
37807 instruction.
37808 * string/Makefile (strop-tests): Add rawmemchr.
37809 * string/test-rawmemchr.c: New file.
37810
37811 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
37812 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
37813 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
37814 when compiling str{,n}casecmp and when AVX is available. Hook up
37815 new optimized code in initializers.
37816
378172011-10-19 Andreas Schwab <schwab@redhat.com>
37818
37819 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
37820 __feraiseexcept instead of feraiseexcept.
37821
378222011-10-18 Ulrich Drepper <drepper@gmail.com>
37823
37824 * math/math_private.h: Define defaults for libc_fetestexcept and
37825 libc_feupdateenv.
37826 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
37827 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
37828 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
37829 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
37830 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
37831 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37832 libc_fetestexcept and libc_feupdateenv.
37833
37834 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
37835 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
37836 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
37837 * sysdeps/x86_64/fpu/math_private.h: Define special version of
37838 libc_feholdexcept_setround.
37839
37840 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
37841 Add s_nearbyint-c and s_nearbyintf-c.
37842 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
37843 nearbyintf inlines.
37844 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
37845 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
37846 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
37847 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
37848
37849 * math/math_private.h: Define defaults for libc_fegetround,
37850 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
37851 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
37852 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
37853 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
37854 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
37855 standard functions.
37856 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
37857 Remove comments and hacks for old compiler versions.
37858 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37859 libc_fegetround, libc_fesetround, libc_feholdexcept, and
37860 libc_feholdexceptl.
37861
378622011-10-18 Andreas Schwab <schwab@redhat.com>
37863
37864 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
37865 (__feraiseexcept_renamed): Add __NTH.
37866 (feraiseexcept): Add __NTH. Rename local variables to fix
37867 namespace violations.
37868
378692011-10-17 Ulrich Drepper <drepper@gmail.com>
37870
37871 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
37872
37873 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
37874
37875 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
37876 recently added interfaces.
37877 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
37878
37879 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
37880 about macro parameter expansion.
37881
37882 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
37883 __NO_MATH_INLINES is defined. Cleanups.
37884
37885 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
37886 and __floorf is target has SSE4.1.
37887 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
37888 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
37889 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
37890 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
37891
37892 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
37893 name.
37894 (floorf): Likewise.
37895
37896 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
37897
378982011-10-17 Andreas Schwab <schwab@redhat.com>
37899
37900 * misc/sys/cdefs.h: Fix last change.
37901
37902 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
37903 database lookup.
37904
379052011-10-16 Ulrich Drepper <drepper@gmail.com>
37906
37907 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
37908
37909 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
37910 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37911 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
37912 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37913 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37914 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
37915 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37916 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37917 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
37918 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
37919 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
37920 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
37921 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
37922 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
37923 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
37924 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
37925 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
37926 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
37927 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
37928 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
37929 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
37930 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
37931
37932 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
37933 ceil, ceilf, floor, floorf.
37934
37935 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
37936 Perform IRELATIVE relocations last.
37937
37938 * elf/do-rel.h: Add another parameter nrelative, replacing the
37939 local variable with the same name. Change name of the function
37940 to end in Rel or Rela (uppercase).
37941 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
37942 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
37943 elf_dynamic_do_##reloc function.
37944
379452011-10-15 Ulrich Drepper <drepper@gmail.com>
37946
37947 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
37948 is sufficient, at least on modern CPUs.
37949
37950 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
37951
37952 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
37953 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
37954
37955 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
37956 __expl_finite.
37957 * math/bits/math-finite.h: Add entries for exp.
37958 * math/e_expl.c: Add __*_finite alias.
37959 * sysdeps/i386/fpu/e_exp.S: Likewise.
37960 * sysdeps/i386/fpu/e_expf.S: Likewise.
37961 * sysdeps/i386/fpu/e_expl.c: Likewise.
37962 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37963 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
37964 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
37965 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
37966 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
37967 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
37968 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
37969
37970 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
37971 is sufficient, at least on modern CPUs.
37972
37973 * ctype/ctype-info.c (__ctype_init): Define.
37974 * include/ctype.h (__ctype_init): Declare.
37975 (__ctype_b_loc): The variable is always initialized.
37976 (__ctype_toupper_loc): Likewise.
37977 (__ctype_tolower_loc): Likewise.
37978 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
37979 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
37980
379812011-10-15 Andreas Schwab <schwab@linux-m68k.org>
37982
37983 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
37984
37985 * configure.in: Also look in $cxxmachine/include for C++ system
37986 headers.
37987
379882011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37989
37990 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
37991 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
37992 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
37993 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
37994 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
37995 (USE_AS_WMEMCMP): New macro.
37996 Fixing indents.
37997 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
37998 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
37999 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
38000 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
38001 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38002 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
38003 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
38004 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
38005 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
38006 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
38007 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
38008 (USE_AS_WMEMCMP): New macro.
38009 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
38010 * sysdeps/string/test-memcmp.c: Update.
38011 Fix simple_wmemcmp.
38012 Add new tests.
38013 * wcsmbs/wmemcmp.c: Update.
38014 (WMEMCMP): New macro.
38015 Fix overflow bug.
38016
380172011-10-12 Andreas Jaeger <aj@suse.de>
38018
38019 [BZ #13268]
38020 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
38021
380222011-10-15 Ulrich Drepper <drepper@gmail.com>
38023
38024 * libio/iofwide.c (do_length): Avoid warning.
38025
38026 * ctype/ctype.h (__isctype_f): Add missing __THROW.
38027
380282011-10-14 Ulrich Drepper <drepper@gmail.com>
38029
38030 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
38031
38032 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
38033 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
38034 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
38035 * sysdeps/i386/i686/fpu/e_log.S: New file.
38036 * sysdeps/i386/i686/fpu/e_logf.S: New file.
38037 * sysdeps/i386/i686/fpu/e_logl.S: New file.
38038
38039 * ctype/ctype.h: Add support for inlined isXXX functions when
38040 compiling C++ code.
38041
380422011-10-14 Andreas Schwab <schwab@redhat.com>
38043
38044 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38045
38046 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
38047
380482011-10-13 Roland McGrath <roland@hack.frob.com>
38049
38050 [BZ #13291]
38051 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
38052
380532011-10-13 Andreas Schwab <schwab@redhat.com>
38054
38055 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
38056 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
38057 feraiseexcept.
38058
38059 * sysdeps/x86_64/memrchr.S: Check for zero size.
38060
38061 * string/stratcliff.c: Add memrchr tests.
38062
380632011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38064
38065 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38066 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
38067 rawmemchr-sse2 rawmemchr-sse2-bsf.
38068 * sysdeps/i386/i686/multiarch/memchr.S: New file.
38069 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
38070 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
38071 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
38072 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
38073 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
38074 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
38075 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
38076 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
38077 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
38078 * string/memrchr.c (MEMRCHR): New macro.
38079
380802011-10-12 Ulrich Drepper <drepper@gmail.com>
38081
38082 Add integration with gcc's -ffinite-math-only and optimize wrapper
38083 functions in libm.
38084 * Versions.def: Define GLIBC_2.15 version for libm.
38085 * math/Makefile (headers): Add bits/math-finite.h.
38086 * math/bits/math-finite.h: New file.
38087 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
38088 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
38089 * math/e_acoshl.c: Add __*_finite alias.
38090 * math/e_acosl.c: Likewise.
38091 * math/e_asinl.c: Likewise.
38092 * math/e_atan2l.c: Likewise.
38093 * math/e_atanhl.c: Likewise.
38094 * math/e_coshl.c: Likewise.
38095 * math/e_exp10.c: Likewise.
38096 * math/e_exp10f.c: Likewise.
38097 * math/e_exp10l.c: Likewise.
38098 * math/e_exp2l.c: Likewise.
38099 * math/e_fmodl.c: Likewise.
38100 * math/e_gammal_r.c: Likewise.
38101 * math/e_hypotl.c: Likewise.
38102 * math/e_j0l.c: Likewise.
38103 * math/e_j1l.c: Likewise.
38104 * math/e_jnl.c: Likewise.
38105 * math/e_lgammal_r.c: Likewise.
38106 * math/e_log10l.c: Likewise.
38107 * math/e_log2l.c: Likewise.
38108 * math/e_logl.c: Likewise.
38109 * math/e_powl.c: Likewise.
38110 * math/e_sinhl.c: Likewise.
38111 * math/e_sqrtl.c: Likewise.
38112 * math/e_scalb.c: Completely rewritten and optimized.
38113 * math/e_scalbf.c: Likewise.
38114 * math/e_scalbl.c: Likewise.
38115 * math/w_acos.c: Likewise.
38116 * math/w_acosf.c: Likewise.
38117 * math/w_acosl.c: Likewise.
38118 * math/w_acosh.c: Likewise.
38119 * math/w_acoshf.c: Likewise.
38120 * math/w_acoshl.c: Likewise.
38121 * math/w_asin.c: Likewise.
38122 * math/w_asinf.c: Likewise.
38123 * math/w_asinl.c: Likewise.
38124 * math/w_atan2.c: Likewise.
38125 * math/w_atan2f.c: Likewise.
38126 * math/w_atan2l.c: Likewise.
38127 * math/w_atanh.c: Likewise.
38128 * math/w_atanhf.c: Likewise.
38129 * math/w_atanhl.c: Likewise.
38130 * math/w_exp10.c: Likewise.
38131 * math/w_exp10f.c: Likewise.
38132 * math/w_exp10l.c: Likewise.
38133 * math/w_fmod.c: Likewise.
38134 * math/w_fmodf.c: Likewise.
38135 * math/w_fmodl.c: Likewise.
38136 * math/w_j0.c: Likewise.
38137 * math/w_j0f.c: Likewise.
38138 * math/w_j0l.c: Likewise.
38139 * math/w_j1.c: Likewise.
38140 * math/w_j1f.c: Likewise.
38141 * math/w_j1l.c: Likewise.
38142 * math/w_jn.c: Likewise.
38143 * math/w_jnf.c: Likewise.
38144 * math/w_log.c: Likewise.
38145 * math/w_logf.c: Likewise.
38146 * math/w_logl.c: Likewise.
38147 * math/w_log10.c: Likewise.
38148 * math/w_log10f.c: Likewise.
38149 * math/w_log10l.c: Likewise.
38150 * math/w_log2.c: Likewise.
38151 * math/w_log2f.c: Likewise.
38152 * math/w_log2l.c: Likewise.
38153 * math/w_pow.c: Likewise.
38154 * math/w_powf.c: Likewise.
38155 * math/w_powl.c: Likewise.
38156 * math/w_remainder.c: Likewise.
38157 * math/w_remainderf.c: Likewise.
38158 * math/w_remainderl.c: Likewise.
38159 * math/w_scalb.c: Likewise.
38160 * math/w_scalbf.c: Likewise.
38161 * math/w_scalbl.c: Likewise.
38162 * math/w_sqrt.c: Likewise.
38163 * math/w_sqrtf.c: Likewise.
38164 * math/w_sqrtl.c: Likewise.
38165 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
38166 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
38167 used.
38168 * math/math_private.h: Declare __kernel_standard_f.
38169 * math/w_cosh.c: Remove cruft and optimize a bit.
38170 * math/w_coshf.c: Likewise.
38171 * math/w_coshl.c: Likewise.
38172 * math/w_exp2.c: Likewise.
38173 * math/w_exp2f.c: Likewise.
38174 * math/w_exp2l.c: Likewise.
38175 * math/w_hypot.c: Likewise.
38176 * math/w_hypotf.c: Likewise.
38177 * math/w_hypotl.c: Likewise.
38178 * math/w_lgamma.c: Likewise.
38179 * math/w_lgamma_r.c: Likewise.
38180 * math/w_lgammaf.c: Likewise.
38181 * math/w_lgammaf_r.c: Likewise.
38182 * math/w_lgammal.c: Likewise.
38183 * math/w_lgammal_r.c: Likewise.
38184 * math/w_sinh.c: Likewise.
38185 * math/w_sinhf.c: Likewise.
38186 * math/w_sinhl.c: Likewise.
38187 * math/w_tgamma.c: Likewise.
38188 * math/w_tgammaf.c: Likewise.
38189 * math/w_tgammal.c: Likewise.
38190 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38191 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38192 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
38193 Minor optimizations. Pretty printing. Remove cruft.
38194 * sysdeps/i386/fpu/e_acosf.S: Likewise.
38195 * sysdeps/i386/fpu/e_acosh.S: Likewise.
38196 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38197 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38198 * sysdeps/i386/fpu/e_acosl.c: Likewise.
38199 * sysdeps/i386/fpu/e_asin.S: Likewise.
38200 * sysdeps/i386/fpu/e_asinf.S: Likewise.
38201 * sysdeps/i386/fpu/e_atan2.S: Likewise.
38202 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
38203 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
38204 * sysdeps/i386/fpu/e_atanh.S: Likewise.
38205 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38206 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38207 * sysdeps/i386/fpu/e_exp10.S: Likewise.
38208 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
38209 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
38210 * sysdeps/i386/fpu/e_exp2.S: Likewise.
38211 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
38212 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
38213 * sysdeps/i386/fpu/e_fmod.S: Likewise.
38214 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
38215 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
38216 * sysdeps/i386/fpu/e_hypot.S: Likewise.
38217 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
38218 * sysdeps/i386/fpu/e_log.S: Likewise.
38219 * sysdeps/i386/fpu/e_log10.S: Likewise.
38220 * sysdeps/i386/fpu/e_log10f.S: Likewise.
38221 * sysdeps/i386/fpu/e_log10l.S: Likewise.
38222 * sysdeps/i386/fpu/e_log2.S: Likewise.
38223 * sysdeps/i386/fpu/e_log2f.S: Likewise.
38224 * sysdeps/i386/fpu/e_log2l.S: Likewise.
38225 * sysdeps/i386/fpu/e_logf.S: Likewise.
38226 * sysdeps/i386/fpu/e_logl.S: Likewise.
38227 * sysdeps/i386/fpu/e_pow.S: Likewise.
38228 * sysdeps/i386/fpu/e_powf.S: Likewise.
38229 * sysdeps/i386/fpu/e_powl.S: Likewise.
38230 * sysdeps/i386/fpu/e_remainder.S: Likewise.
38231 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
38232 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
38233 * sysdeps/i386/fpu/e_scalb.S: Likewise.
38234 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38235 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38236 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
38237 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
38238 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
38239 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38240 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38241 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38242 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38243 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
38244 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38245 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
38246 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38247 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38248 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38249 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38250 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38251 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38252 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38253 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38254 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38255 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38256 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38257 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38258 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38259 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38260 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
38261 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38262 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38263 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
38264 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
38265 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
38266 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
38267 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
38268 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
38269 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38270 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
38271 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38272 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
38273 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
38274 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
38275 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
38276 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
38277 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
38278 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
38279 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
38280 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
38281 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
38282 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
38283 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38284 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
38285 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
38286 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
38287 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
38288 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
38289 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
38290 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
38291 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
38292 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38293 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
38294 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
38295 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
38296 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
38297 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
38298 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
38299 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
38300 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
38301 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38302 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38303 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
38304 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
38305 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
38306 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
38307 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
38308 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
38309 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
38310 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
38311 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
38312 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
38313 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
38314 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38315 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
38316 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
38317 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38318 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
38319 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38320 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
38321 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
38322 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38323 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38324 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
38325 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38326 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
38327 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
38328 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
38329 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38330 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
38331 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
38332 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
38333 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
38334 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
38335 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
38336 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
38337 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
38338 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
38339 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
38340 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
38341 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
38342 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
38343 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38344 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38345 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38346 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38347 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
38348 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38349 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
38350 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
38351 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
38352 (__isnanf): Likewise.
38353 (__isinf_ns): Likewise.
38354 (__isinf_nsf): Likewise.
38355 (__finite): Likewise.
38356 (__finitef): Likewise.
38357 (__ieee754_sqrt): Define as macro.
38358 (__ieee754_sqrtf): Define as macro.
38359 (__ieee754_sqrtl): Define as macro.
38360 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
38361 inlined copy.
38362 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
38363 __FINITE_MATH_ONLY__ consistent.
38364 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
38365
383662011-10-10 Andreas Schwab <schwab@linux-m68k.org>
38367
38368 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
38369 of rawmemchr.
38370
38371 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
38372
383732011-10-09 Ulrich Drepper <drepper@gmail.com>
38374
38375 * po/ja.po: Update from translation team.
38376
383772011-10-08 Roland McGrath <roland@hack.frob.com>
38378
38379 * locale/programs/locarchive.c (prepare_address_space): New function.
38380 (create_archive, enlarge_archive, open_archive): Use it.
38381
38382 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
38383 inside [SHARED], where it is used.
38384
38385 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
38386
38387 * nss/getent.c (netgroup_keys): Remove unused variable.
38388 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
38389
383902011-10-08 Ulrich Drepper <drepper@gmail.com>
38391
38392 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
38393 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
38394 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
38395 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
38396 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
38397 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
38398 * math/Makefile (libm-calls): Add s_isinf_ns.
38399 * math/divtc3.c: Use __isinf_nsl instead of isinf.
38400 * math/multc3.c: Likewise.
38401 * math/s_casin.c: Likewise.
38402 * math/s_casinf.c: Likewise.
38403 * math/s_casinl.c: Likewise.
38404 * math/s_ccos.c: Likewise.
38405 * math/s_ccosf.c: Likewise.
38406 * math/s_ccosl.c: Likewise.
38407 * math/s_ctan.c: Likewise.
38408 * math/s_ctanf.c: Likewise.
38409 * math/s_ctanh.c: Likewise.
38410 * math/s_ctanhf.c: Likewise.
38411 * math/s_ctanhl.c: Likewise.
38412 * math/s_ctanl.c: Likewise.
38413 * math/w_fmod.c: Likewise.
38414 * math/w_fmodf.c: Likewise.
38415 * math/w_fmodl.c: Likewise.
38416 * math/w_remainder.c: Likewise.
38417 * math/w_remainderf.c: Likewise.
38418 * math/w_remainderl.c: Likewise.
38419 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
38420 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
38421 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
38422 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
38423 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
38424 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
38425 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
38426 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
38427
38428 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
38429 of the number.
38430 * stdio-common/printf_fphex.c: Likewise.
38431 * stdio-common/printf_size.c: Likewise.
38432
38433 * math/e_exp10.c: Include math_private.h using <...> not "...".
38434 * math/e_exp10f.c: Likewise.
38435 * math/e_exp10l.c: Likewise.
38436 * math/e_exp2l.c: Likewise.
38437 * math/e_j0l.c: Likewise.
38438 * math/e_j1l.c: Likewise.
38439 * math/e_jnl.c: Likewise.
38440 * math/e_lgammal_r.c: Likewise.
38441 * math/e_rem_pio2l.c: Likewise.
38442 * math/e_scalb.c: Likewise.
38443 * math/e_scalbf.c: Likewise.
38444 * math/e_scalbl.c: Likewise.
38445 * math/k_cosl.c: Likewise.
38446 * math/k_sinl.c: Likewise.
38447 * math/k_tanl.c: Likewise.
38448 * math/s_cacoshf.c: Likewise.
38449 * math/s_catan.c: Likewise.
38450 * math/s_catanf.c: Likewise.
38451 * math/s_catanh.c: Likewise.
38452 * math/s_catanhf.c: Likewise.
38453 * math/s_catanhl.c: Likewise.
38454 * math/s_catanl.c: Likewise.
38455 * math/s_ccosh.c: Likewise.
38456 * math/s_ccoshf.c: Likewise.
38457 * math/s_ccoshl.c: Likewise.
38458 * math/s_cexp.c: Likewise.
38459 * math/s_cexpf.c: Likewise.
38460 * math/s_cexpl.c: Likewise.
38461 * math/s_clog.c: Likewise.
38462 * math/s_clog10.c: Likewise.
38463 * math/s_clog10f.c: Likewise.
38464 * math/s_clog10l.c: Likewise.
38465 * math/s_clogf.c: Likewise.
38466 * math/s_clogl.c: Likewise.
38467 * math/s_csin.c: Likewise.
38468 * math/s_csinf.c: Likewise.
38469 * math/s_csinh.c: Likewise.
38470 * math/s_csinhf.c: Likewise.
38471 * math/s_csinhl.c: Likewise.
38472 * math/s_csinl.c: Likewise.
38473 * math/s_csqrt.c: Likewise.
38474 * math/s_csqrtf.c: Likewise.
38475 * math/s_csqrtl.c: Likewise.
38476 * math/s_ctan.c: Likewise.
38477 * math/s_ctanf.c: Likewise.
38478 * math/s_ctanh.c: Likewise.
38479 * math/s_ctanhf.c: Likewise.
38480 * math/s_ctanhl.c: Likewise.
38481 * math/s_ctanl.c: Likewise.
38482 * math/s_ldexp.c: Likewise.
38483 * math/s_ldexpf.c: Likewise.
38484 * math/s_ldexpl.c: Likewise.
38485 * math/s_significand.c: Likewise.
38486 * math/s_significandf.c: Likewise.
38487 * math/s_significandl.c: Likewise.
38488 * math/w_acos.c: Likewise.
38489 * math/w_acosf.c: Likewise.
38490 * math/w_acosh.c: Likewise.
38491 * math/w_acoshf.c: Likewise.
38492 * math/w_acoshl.c: Likewise.
38493 * math/w_acosl.c: Likewise.
38494 * math/w_asin.c: Likewise.
38495 * math/w_asinf.c: Likewise.
38496 * math/w_asinl.c: Likewise.
38497 * math/w_atan2.c: Likewise.
38498 * math/w_atan2f.c: Likewise.
38499 * math/w_atan2l.c: Likewise.
38500 * math/w_atanh.c: Likewise.
38501 * math/w_atanhf.c: Likewise.
38502 * math/w_atanhl.c: Likewise.
38503 * math/w_cosh.c: Likewise.
38504 * math/w_coshf.c: Likewise.
38505 * math/w_coshl.c: Likewise.
38506 * math/w_dremf.c: Likewise.
38507 * math/w_exp10.c: Likewise.
38508 * math/w_exp10f.c: Likewise.
38509 * math/w_exp10l.c: Likewise.
38510 * math/w_exp2.c: Likewise.
38511 * math/w_exp2f.c: Likewise.
38512 * math/w_fmod.c: Likewise.
38513 * math/w_fmodf.c: Likewise.
38514 * math/w_fmodl.c: Likewise.
38515 * math/w_hypot.c: Likewise.
38516 * math/w_hypotf.c: Likewise.
38517 * math/w_hypotl.c: Likewise.
38518 * math/w_j0.c: Likewise.
38519 * math/w_j0f.c: Likewise.
38520 * math/w_j0l.c: Likewise.
38521 * math/w_j1.c: Likewise.
38522 * math/w_j1f.c: Likewise.
38523 * math/w_j1l.c: Likewise.
38524 * math/w_jn.c: Likewise.
38525 * math/w_jnf.c: Likewise.
38526 * math/w_jnl.c: Likewise.
38527 * math/w_lgamma.c: Likewise.
38528 * math/w_lgamma_r.c: Likewise.
38529 * math/w_lgammaf.c: Likewise.
38530 * math/w_lgammaf_r.c: Likewise.
38531 * math/w_lgammal.c: Likewise.
38532 * math/w_lgammal_r.c: Likewise.
38533 * math/w_log.c: Likewise.
38534 * math/w_log10.c: Likewise.
38535 * math/w_log10f.c: Likewise.
38536 * math/w_log10l.c: Likewise.
38537 * math/w_log2.c: Likewise.
38538 * math/w_log2f.c: Likewise.
38539 * math/w_log2l.c: Likewise.
38540 * math/w_logf.c: Likewise.
38541 * math/w_logl.c: Likewise.
38542 * math/w_pow.c: Likewise.
38543 * math/w_powf.c: Likewise.
38544 * math/w_powl.c: Likewise.
38545 * math/w_remainder.c: Likewise.
38546 * math/w_remainderf.c: Likewise.
38547 * math/w_remainderl.c: Likewise.
38548 * math/w_scalb.c: Likewise.
38549 * math/w_scalbf.c: Likewise.
38550 * math/w_scalbl.c: Likewise.
38551 * math/w_sinh.c: Likewise.
38552 * math/w_sinhf.c: Likewise.
38553 * math/w_sinhl.c: Likewise.
38554 * math/w_sqrt.c: Likewise.
38555 * math/w_sqrtf.c: Likewise.
38556 * math/w_sqrtl.c: Likewise.
38557 * math/w_tgamma.c: Likewise.
38558 * math/w_tgammaf.c: Likewise.
38559 * math/w_tgammal.c: Likewise.
38560
38561 * po/ja.po: Update from translation team.
38562
385632011-09-29 Andreas Jaeger <aj@suse.de>
38564
38565 [BZ #13179]
38566 * sunrpc/netname.c (netname2host): Fix logic.
38567
38568 [BZ #6779]
38569 [BZ #6783]
38570 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
38571 correctly.
38572 * math/w_remainder.c (__remainder): Likewise.
38573 * math/w_remainderf.c (__remainderf): Likewise.
38574 * math/libm-test.inc (remainder_test): Add test cases.
38575
385762011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38577
38578 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
38579 sdiv_qrnnd.
38580
385812011-10-07 Ulrich Drepper <drepper@gmail.com>
38582
38583 * string/test-memcmp.c: Avoid unncessary #defines.
38584 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
38585
385862011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38587
38588 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
38589 Use new sse2 version for core i3 - i7 as it's faster
38590 than sse42 version.
38591 (bit_Prefer_PMINUB_for_stringop): New.
38592 * sysdeps/x86_64/rawmemchr.S: Update.
38593 Replace with faster SSE2 version.
38594 * sysdeps/x86_64/memrchr.S: New file.
38595 * sysdeps/x86_64/memchr.S: Update.
38596 Replace with faster SSE2 version.
38597
385982011-09-12 Marek Polacek <mpolacek@redhat.com>
38599
38600 * elf/dl-load.c (lose): Add cast to avoid warning.
38601
386022011-10-07 Ulrich Drepper <drepper@gmail.com>
38603
38604 * po/ca.po: Update from translation team.
38605
38606 * inet/getnetgrent_r.c: Hook up nscd.
38607 * nscd/Makefile (routines): Add nscd_netgroup.
38608 (nscd-modules): Add netgroupcache.
38609 (CFLAGS-netgroupcache.c): Define.
38610 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
38611 (cache_search): Add const to second parameter.
38612 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
38613 INNETGR.
38614 (dbs): Add netgrdb entry.
38615 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
38616 (verify_persistent_db): Handle netgrdb.
38617 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
38618 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
38619 GETFDNETGR.
38620 (netgroup_response_header): Define.
38621 (innetgroup_response_header): Define.
38622 (datahead): Add netgroup_response_header and innetgroup_response_header
38623 elements.
38624 * nscd/nscd.conf: Add entries for netgroup cache.
38625 * nscd/nscd.h (dbtype): Add netgrdb.
38626 (_PATH_NSCD_NETGROUP_DB): Define.
38627 (netgroup_iov_disabled): Declare.
38628 (xmalloc, xcalloc, xrealloc): Move declarations here.
38629 (cache_search): Adjust prototype.
38630 Add netgroup-related prototypes.
38631 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
38632 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
38633 (__nscd_innetgr): Declare.
38634 * nscd/selinux.c (perms): Use access_vector_t as element type and
38635 add netgroup-related initializers.
38636 * nscd/netgroupcache.c: New file.
38637 * nscd/nscd_netgroup.c: New file.
38638 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
38639 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
38640 For four parameters use innetgr.
38641 * nss/nss_files/files-init.c: Add definition and callback for netgr.
38642 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
38643 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
38644 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
38645
38646 * nscd/connections.c (register_traced_file): Don't register file
38647 for disabled databases.
38648
386492011-10-06 Ulrich Drepper <drepper@gmail.com>
38650
38651 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
38652
38653 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
38654 from tree and freeing node.
38655
386562011-09-25 Jiri Olsa <jolsa@redhat.com>
38657
38658 * nss/nsswitch.c (__nss_database_lookup): Handle
38659 nss_parse_service_list out of memory case.
38660
386612011-09-15 Jiri Olsa <jolsa@redhat.com>
38662
38663 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
38664 out of memory case.
38665
386662011-10-04 Andreas Schwab <schwab@redhat.com>
38667
38668 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
38669 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
38670 pass it down.
38671 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
38672 elf_machine_rela, elf_machine_lazy_rel.
38673 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
38674 (ELF_DYNAMIC_DO_REL): Likewise.
38675 (ELF_DYNAMIC_DO_RELA): Likewise.
38676 (ELF_DYNAMIC_RELOCATE): Likewise.
38677 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
38678 to ELF_DYNAMIC_DO_REL.
38679 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
38680 (dl_main): In trace mode always set __RTLD_NOIFUNC.
38681 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
38682 elf_machine_rela.
38683 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
38684 skip_ifunc, don't call ifunc function if non-zero.
38685 (elf_machine_rela): Likewise.
38686 (elf_machine_lazy_rel): Likewise.
38687 (elf_machine_lazy_rela): Likewise.
38688 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
38689 (elf_machine_lazy_rel): Likewise.
38690 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
38691 Likewise.
38692 (elf_machine_lazy_rel): Likewise.
38693 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38694 Likewise.
38695 (elf_machine_lazy_rel): Likewise.
38696 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
38697 (elf_machine_lazy_rel): Likewise.
38698 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
38699 (elf_machine_lazy_rel): Likewise.
38700 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
38701 (elf_machine_lazy_rel): Likewise.
38702 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
38703 (elf_machine_lazy_rel): Likewise.
38704 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
38705 (elf_machine_lazy_rel): Likewise.
38706 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
38707 (elf_machine_lazy_rel): Likewise.
38708
387092011-09-28 Ulrich Drepper <drepper@gmail.com>
38710
38711 * nss/nss_files/files-init.c (_nss_files_init): Use static
38712 initialization for all the *_traced_file variables.
38713
387142011-09-28 Andreas Schwab <schwab@redhat.com>
38715
38716 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38717
387182011-09-27 Roland McGrath <roland@hack.frob.com>
38719
38720 [BZ #13226]
38721 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
38722
387232011-09-27 Andreas Schwab <schwab@redhat.com>
38724
38725 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
38726 Reread the line before reparsing it.
38727
387282011-09-26 Andreas Schwab <schwab@redhat.com>
38729
38730 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
38731
387322011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
38733 Maxim Kuvyrkov <maxim@codesourcery.com>
38734 Joseph Myers <joseph@codesourcery.com>
38735
38736 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
38737 if needed for __stack_chk_guard.
38738
387392011-09-19 Roland McGrath <roland@hack.frob.com>
38740
38741 * sysdeps/posix/spawni.c (script_execute): Always define it.
38742 It will be optimized away if unused.
38743 (maybe_script_execute): New function.
38744 (__spawni): Call it.
38745
38746 * Makerules: Don't include tls.make.
38747 (config-tls): Always set to thread.
38748 * tls.make.c: File removed.
38749
387502011-09-19 Mike Frysinger <vapier@gentoo.org>
38751
38752 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
38753 * config.make.in (CPPFLAGS-config): New substituted variable.
38754
387552011-09-15 Ulrich Drepper <drepper@gmail.com>
38756
38757 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
38758
38759 [BZ #13192]
38760 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
38761 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
38762
387632011-09-15 Roland McGrath <roland@hack.frob.com>
38764
38765 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
38766 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
38767 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
38768 (CALL_FAIL): Likewise.
38769 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
38770 (CALL_FAIL): Macro removed.
38771 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
38772
387732011-09-15 Ulrich Drepper <drepper@gmail.com>
38774
38775 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
38776 for __FINITE_MATH_ONLY__ == 1.
38777
387782011-09-15 Andreas Schwab <schwab@redhat.com>
38779
38780 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
38781 __ieee754_sqrt instead of sqrt.
38782 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
38783 __ieee754_sqrtf instead of sqrtf.
38784 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
38785 __floorf instead of floorf.
38786 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
38787 __floorf, __truncf instead of floorf, truncf.
38788
387892011-09-14 Ulrich Drepper <drepper@gmail.com>
38790
38791 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
38792
38793 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
38794 __extern_always_inline.
38795 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
38796 32-bit.
38797
387982011-09-14 Andreas Schwab <schwab@redhat.com>
38799
38800 * elf/rtld.c (dl_main): Also relocate in dependency order when
38801 doing symbol dependency testing.
38802
388032011-09-13 Andreas Schwab <schwab@linux-m68k.org>
38804
38805 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38806 Always define `refsym'.
38807
388082011-09-13 Andreas Schwab <schwab@redhat.com>
38809
38810 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
38811 (__FD_ELT): Renamed from __FDELT.
38812 * misc/bits/select2.h (__FD_ELT): Likewise.
38813 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
38814 __FD_MASK instead of __FDELT, __FDMASK.
38815 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38816 Likewise.
38817 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38818 Likewise.
38819
38820 * elf/Makefile (gen-ldd): Fix pattern.
38821
38822 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
38823 (init_tls): Likewise.
38824
388252011-09-12 Ulrich Drepper <drepper@gmail.com>
38826
38827 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
38828
388292011-09-12 Andreas Schwab <schwab@redhat.com>
38830
38831 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
38832 `struct cmsghdr *' instead of `void *'.
38833 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
38834 Likewise.
38835
388362011-09-11 Andreas Schwab <schwab@linux-m68k.org>
38837
38838 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
38839 if non-absolute.
38840 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
38841 ldd_rewrite_script.
38842
388432011-09-11 Ulrich Drepper <drepper@gmail.com>
38844
38845 * configure.in: Remove --with-tls option.
38846 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
38847 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
38848 out in case it is missing.
38849 * sysdeps/ia64/elf/configure.in: Likewise.
38850 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
38851 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
38852 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
38853 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
38854 * sysdeps/sh/elf/configure.in: Likewise.
38855 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
38856 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
38857 * sysdeps/x86_64/elf/configure.in: Likewise.
38858 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
38859 * sysdeps/mach/hurd/tls.h: Likewise.
38860
38861 [BZ #13067]
38862 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
38863
38864 [BZ #13090]
38865 * configure.in: Fix use of AC_INIT.
38866
38867 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
38868
388692011-09-10 Ulrich Drepper <drepper@gmail.com>
38870
38871 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
38872 __set_errno.
38873 * malloc/hooks.c: Likewise.
38874
38875 [BZ #11929]
38876 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
38877 variables statically.
38878 (narenas): Initialize.
38879 (list_lock): Initialize.
38880 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
38881 initializtion of main_arena and list_lock. Small cleanups.
38882 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
38883 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
38884 Add initializers to main_arena and mp_.
38885 (malloc_state): Remove pagesize member. Change all users to use
38886 GLRO(dl_pagesize).
38887
38888 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
38889 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
38890 is always initialized.
38891
38892 * malloc/malloc.c: Removed unused configurations and dead code.
38893 * malloc/arena.c: Likewise.
38894 * malloc/hooks.c: Likewise.
38895 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
38896
38897 * include/tls.h: Removed. USE___THREAD must always be defined.
38898 * bits/libc-tsd.h: Don't handle !USE___THREAD.
38899 * elf/dl-libc.c: Likewise.
38900 * elf/dl-tsd.c: Likewise.
38901 * include/errno.h: Likewise.
38902 * include/netdb.h: Likewise.
38903 * include/resolv.h: Likewise.
38904 * inet/herrno-loc.c: Likewise.
38905 * inet/herrno.c: Likewise.
38906 * malloc/arena.c: Likewise.
38907 * malloc/hooks.c: Likewise.
38908 * malloc/malloc.c: Likewise.
38909 * resolv/res-state.c: Likewise.
38910 * resolv/res_libc.c: Likewise.
38911 * sysdeps/i386/dl-machine.h: Likewise.
38912 * sysdeps/ia64/dl-machine.h: Likewise.
38913 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
38914 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
38915 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
38916 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
38917 * sysdeps/sh/dl-machine.h: Likewise.
38918 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
38919 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
38920 * sysdeps/unix/i386/sysdep.S: Likewise.
38921 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
38922 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
38923 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
38924 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
38925 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
38926 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
38927 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
38928 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
38929 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38930 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
38931 * sysdeps/unix/x86_64/sysdep.S: Likewise.
38932 * sysdeps/x86_64/dl-machine.h: Likewise.
38933 * tls.make.c: Likewise.
38934
38935 * configure.in: Remove --with-__thread option. Make tests for
38936 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
38937 tls_model attribute fail if no support is available. Remove
38938 USE_IN_LIBIO.
38939 * Makeconfig: Adjust for dropped configure option. All features are
38940 now mandatory.
38941 * Makerules: Likewise.
38942 * Versions.def: Likewise.
38943 * argp/argp-fmtstream.c: Likewise.
38944 * argp/argp-fmtstream.h: Likewise.
38945 * argp/argp-help.c: Likewise.
38946 * assert/assert.c: Likewise.
38947 * config.h.in: Likewise.
38948 * config.make.in: Likewise.
38949 * configure: Likewise.
38950 * configure.in: Likewise.
38951 * csu/Versions: Likewise.
38952 * csu/init.c: Likewise.
38953 * elf/tst-audit2.c: Likewise.
38954 * elf/tst-tls10.c: Likewise.
38955 * elf/tst-tls10.h: Likewise.
38956 * elf/tst-tls11.c: Likewise.
38957 * elf/tst-tls12.c: Likewise.
38958 * elf/tst-tls14.c: Likewise.
38959 * elf/tst-tlsmod11.c: Likewise.
38960 * elf/tst-tlsmod12.c: Likewise.
38961 * elf/tst-tlsmod13.c: Likewise.
38962 * elf/tst-tlsmod13a.c: Likewise.
38963 * elf/tst-tlsmod14a.c: Likewise.
38964 * elf/tst-tlsmod15b.c: Likewise.
38965 * elf/tst-tlsmod16a.c: Likewise.
38966 * elf/tst-tlsmod16b.c: Likewise.
38967 * elf/tst-tlsmod7.c: Likewise.
38968 * elf/tst-tlsmod8.c: Likewise.
38969 * elf/tst-tlsmod9.c: Likewise.
38970 * gmon/gmon.c: Likewise.
38971 * grp/fgetgrent_r.c: Likewise.
38972 * grp/putgrent.c: Likewise.
38973 * hurd/fopenport.c: Likewise.
38974 * include/libc-symbols.h: Likewise.
38975 * include/tls.h: Likewise.
38976 * intl/gettextP.h: Likewise.
38977 * intl/loadinfo.h: Likewise.
38978 * locale/global-locale.c: Likewise.
38979 * locale/localeinfo.h: Likewise.
38980 * mach/devstream.c: Likewise.
38981 * malloc/arena.c: Likewise.
38982 * malloc/set-freeres.c: Likewise.
38983 * misc/err.c: Likewise.
38984 * misc/getttyent.c: Likewise.
38985 * misc/mntent_r.c: Likewise.
38986 * posix/getopt.c: Likewise.
38987 * posix/wordexp.c: Likewise.
38988 * pwd/fgetpwent_r.c: Likewise.
38989 * resolv/Versions: Likewise.
38990 * resolv/res_hconf.c: Likewise.
38991 * shadow/fgetspent_r.c: Likewise.
38992 * shadow/putspent.c: Likewise.
38993 * stdio-common/printf_fphex.c: Likewise.
38994 * stdio-common/tmpfile.c: Likewise.
38995 * stdlib/abort.c: Likewise.
38996 * stdlib/fmtmsg.c: Likewise.
38997 * sunrpc/auth_unix.c: Likewise.
38998 * sunrpc/clnt_perr.c: Likewise.
38999 * sunrpc/clnt_tcp.c: Likewise.
39000 * sunrpc/clnt_udp.c: Likewise.
39001 * sunrpc/clnt_unix.c: Likewise.
39002 * sunrpc/openchild.c: Likewise.
39003 * sunrpc/svc_simple.c: Likewise.
39004 * sunrpc/svc_tcp.c: Likewise.
39005 * sunrpc/svc_udp.c: Likewise.
39006 * sunrpc/svc_unix.c: Likewise.
39007 * sunrpc/xdr.c: Likewise.
39008 * sunrpc/xdr_array.c: Likewise.
39009 * sunrpc/xdr_rec.c: Likewise.
39010 * sunrpc/xdr_ref.c: Likewise.
39011 * sunrpc/xdr_stdio.c: Likewise.
39012
390132011-09-09 Ulrich Drepper <drepper@gmail.com>
39014
39015 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39016
390172011-07-03 Andreas Jaeger <aj@suse.de>
39018
39019 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
39020 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
39021 regenerate with gen-libm-tests.pl.
39022
390232010-05-12 Petr Baudis <pasky@suse.cz>
39024
39025 [BZ #11589]
39026 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
39027 around j0() zero points by switching to j1().
39028 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39029 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39030 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39031 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39032
390332011-09-09 Ulrich Drepper <drepper@gmail.com>
39034
39035 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
39036 instead of 0.
39037 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
39038 instead of 0.
39039 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39040 Patch in part by Pavel Roskin <proski@gnu.org>.
39041
39042 [BZ #13138]
39043 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
39044 realloc.
39045 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
39046 Free memory block if necessary.
39047
39048 [BZ #12847]
39049 * libio/genops.c (INTDEF): For string streams the _lock pointer can
39050 be NULL. Don't lock in this case.
39051
390522011-09-09 Roland McGrath <roland@hack.frob.com>
39053
39054 * elf/elf.h (ELFOSABI_GNU): New macro.
39055 (ELFOSABI_LINUX): Define to that.
39056
390572011-07-29 Denis Zaitceff <zaitceff@gmail.com>
39058
39059 * string/strncat.c (strncat): Undef the symbol in case it has been
39060 defined in bits/string.h.
39061
390622011-09-09 Ulrich Drepper <drepper@gmail.com>
39063
39064 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
39065
39066 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
39067 link map.
39068
390692011-08-17 Andreas Jaeger <aj@suse.de>
39070
39071 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
39072
390732011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
39074 Ian Lance Taylor <iant@google.com>
39075
39076 * math/libm-test.inc (lround_test): New testcase.
39077 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
39078
390792011-09-08 Ulrich Drepper <drepper@gmail.com>
39080
39081 * Makefile: Remove support for automatic cvs check-ins.
39082 * Makerules: Likewise.
39083 * config.make.in: Likewise.
39084 * configure.in: Likewise.
39085 * intl/Makefile: Likewise.
39086 * locale/Makefile: Likewise.
39087 * po/Makefile: Likewise.
39088 * posix/Makefile: Likewise.
39089 * sysdeps/gnu/Makefile: Likewise.
39090 * sysdeps/mach/hurd/Makefile: Likewise.
39091 * sysdeps/sparc/sparc32/Makefile: Likewise.
39092
39093 [BZ #13118]
39094 * posix/Makefile (bug-regex32-ENV): Define.
39095 Patch by John Stanley <jpsinthemix@verizon.net>.
39096
39097 * misc/Makefile (headers): Add bits/select2.h.
39098 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
39099 * misc/bits/select2.h: New file.
39100 * include/bits/select2.h: New file.
39101 * debug/Makefile (routines): Add fdelt_chk.
39102 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
39103 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
39104 FD_ISSET.
39105 * debug/fdelt_chk.c: New file.
39106
39107 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
39108 * wcsmbs/test-wmemcmp.c: Likewise.
39109 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
39110 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
39111
391122011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39113
39114 * string/Makefile (strop-tests): Add memcmp.
39115 * string/test-wmemcmp.c: New file.
39116 * string/test-memcmp.c: Add wmemcmp support.
39117
391182011-09-08 Roland McGrath <roland@hack.frob.com>
39119
39120 [BZ #13153]
39121 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
39122 2011-07-19 change.
39123
39124 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
39125 garbage value in a __mach_port_mod_refs call in the cases of the
39126 task-self and thread-self ports.
39127
391282011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
39129
39130 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
39131
391322011-09-08 Andreas Schwab <schwab@redhat.com>
39133
39134 * elf/dl-load.c (lose): Check for non-null L.
39135
391362011-09-07 Ulrich Drepper <drepper@gmail.com>
39137
39138 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
39139
39140 * elf/dl-libc.c (dlerror_run): Pass back error code from
39141 dl_catch_error.
39142
39143 [BZ #13123]
39144 * elf/dl-load.c (lose): Free l_origin if it is valid.
39145
39146 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
39147 names.
39148 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
39149 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39150 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39151 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39152 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
39153 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
39154
391552011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39156
39157 * sysdeps/powerpc/fpu/e_hypot.c: New file.
39158 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
39159 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
39160 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
39161 * sysdeps/powerpc/fpu/k_cosf.c: New file.
39162 * sysdeps/powerpc/fpu/k_sinf.c: New file.
39163 * sysdeps/powerpc/fpu/s_cosf.c: New file.
39164 * sysdeps/powerpc/fpu/s_sinf.c: New file.
39165 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
39166 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
39167
391682011-08-15 Alan Modra <amodra@gmail.com>
39169
39170 [BZ #13092]
39171 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
39172 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
39173 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
39174 ppc_mcount to static-only-routines.
39175 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
39176 __mcount_internal.
39177 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
39178 __mcount_internal with usual JUMPTARGET. Remove useless nop.
39179
391802011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
39181
39182 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
39183 for finite and infinity parameters.
39184
391852011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
39186
39187 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
39188 and add nop instructions for throughput optimization.
39189 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
39190
391912011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
39192
39193 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
39194 aligned copy for power7 with vector-scalar instructions.
39195 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
39196
391972011-07-24 H.J. Lu <hongjiu.lu@intel.com>
39198
39199 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
39200 AVX check.
39201
392022011-09-07 Andreas Schwab <schwab@redhat.com>
39203
39204 [BZ #13144]
39205 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
39206 last change.
39207
392082011-09-07 Ulrich Drepper <drepper@gmail.com>
39209
39210 * sysdeps/unix/sysv/linux/x86_64/init-first.c
39211 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
39212 syscall wrapper around clock_gettime in __vdso_clock_gettime.
39213 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
39214 clock_gettime.
39215
392162011-09-06 Ulrich Drepper <drepper@gmail.com>
39217
39218 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
39219 Forgot to demangle the pointer.
39220
39221 * sysdeps/i386/sysdep.h: Define atom_text_section.
39222 * sysdeps/x86_64/sysdep.h: Likewise.
39223 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
39224 section with atom_text_section.
39225 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39226 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39227 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
39228 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39229 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
39230
39231 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
39232 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
39233 already be defined. Change to take two parameters and don't assign
39234 result to variable. Adjust all users.
39235 Define INTERNAL_GETTIME if not already defined.
39236 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
39237 call.
39238 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
39239 HAVE_CLOCK_GETTIME_VSYSCALL.
39240 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
39241
39242 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
39243 gettimeofday vsyscall, just use time.
39244
392452011-09-06 Andreas Schwab <schwab@redhat.com>
39246
39247 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
39248 <errno.h>.
39249
392502011-09-06 Ulrich Drepper <drepper@gmail.com>
39251
39252 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
39253 syscall on x86-64.
39254 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
39255 syscall.
39256 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
39257 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
39258 syscall if possible.
39259
392602011-09-05 Ulrich Drepper <drepper@gmail.com>
39261
39262 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
39263 e_ident. Don't pass to find_mapsXX.
39264 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
39265
392662011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39267
39268 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39269 strchr-sse2-no-bsf strrchr-sse2-no-bsf
39270 * sysdeps/x86_64/multiarch/strchr.S: Update.
39271 Check bit_slow_BSF bit.
39272 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
39273 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
39274 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
39275
392762011-09-05 Ulrich Drepper <drepper@gmail.com>
39277
39278 [BZ #13134]
39279 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
39280 before glibc 2.15.
39281 (tryshell): Define.
39282 (__spawni): Change last parameter to be flag. Test
39283 SPAWN_XFLAGS_USE_PATH flag to use path or not.
39284 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
39285 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
39286 * posix/spawni.c: Likewise.
39287 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
39288 * posix/spawnp.c: Likewise. Change normal version to use
39289 SPAWN_XFLAGS_USE_PATH.
39290 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
39291 SPAWN_XFLAGS_TRY_SHELL.
39292
39293 [BZ #13150]
39294 * posix/glob.h: Remove gcc 1.x support.
39295
39296 [BZ #13068]
39297 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
39298
392992011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39300
39301 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39302 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
39303 strrchr-sse2-bsf
39304 * sysdeps/i386/i686/multiarch/strchr.S: New file.
39305 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
39306 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
39307 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
39308 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
39309 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
39310
393112011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39312
39313 * sysdeps/x86_64/wcscmp.S: New file.
39314
39315 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
39316 wcscmp-c wcscmp-sse2
39317 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
39318 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
39319 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
39320 * wcsmbs/wcscmp.c: Allow renaming.
39321
393222011-09-05 David S. Miller <davem@davemloft.net>
39323
39324 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
39325 stack slot, rather than the struct return pointer slot.
39326 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
39327 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
39328 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
39329 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
39330
393312011-09-05 Ulrich Drepper <drepper@gmail.com>
39332
39333 * po/ja.po: Update from translation team.
39334
39335 [BZ #13144]
39336 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
39337 kernel in 64-bit binaries.
39338
393392011-09-01 David S. Miller <davem@davemloft.net>
39340
39341 * elf/elf.h (HWCAP_SPARC_*): Move to..
39342 * sysdeps/sparc/sysdep.h: this new file and add new values.
39343 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
39344 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
39345 _DL_HWCAP_COUNT to 24.
39346 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
39347 entries.
39348 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
39349 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
39350 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
39351 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
39352 instead of magic constants.
39353 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39354
393552011-08-31 David S. Miller <davem@davemloft.net>
39356
39357 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
39358 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
39359 Reimplement to do errno handling inline.
39360 (SYSCALL_ERROR_HANDLER): New macro.
39361 (__SYSCALL_STRING): Do not do errno handling in asm.
39362 (__CLONE_SYSCALL_STRING): Delete.
39363 (__INTERNAL_SYSCALL_STRING): Delete.
39364 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
39365 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
39366 (PSEUDO): Reimplement to do errno handling inline.
39367 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
39368 (SYSCALL_ERROR_HANDLER): New macro.
39369 (__SYSCALL_STRING): Do not do errno handling in asm.
39370 (__CLONE_SYSCALL_STRING): Delete.
39371 (__INTERNAL_SYSCALL_STRING): Delete.
39372 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
39373 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
39374 i386.
39375 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
39376 (inline_syscall*): Add 'err' argument.
39377 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
39378 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
39379 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
39380 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
39381
39382 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
39383 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
39384
393852011-08-30 Andreas Schwab <schwab@redhat.com>
39386
39387 * elf/rtld.c (dl_main): Relocate objects in dependency order.
39388
393892011-08-29 Jiri Olsa <jolsa@redhat.com>
39390
39391 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
39392 directive.
39393
393942011-08-24 David S. Miller <davem@davemloft.net>
39395
39396 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
39397
393982011-08-24 Andreas Schwab <schwab@redhat.com>
39399
39400 * elf/Makefile: Add rules to build and run unload8 test.
39401 * elf/unload8.c: New file.
39402 * elf/unload8mod1.c: New file.
39403 * elf/unload8mod1x.c: New file.
39404 * elf/unload8mod2.c: New file.
39405 * elf/unload8mod3.c: New file.
39406
39407 * elf/dl-close.c (_dl_close_worker): Reset private search list if
39408 it wasn't used.
39409
394102011-08-23 David S. Miller <davem@davemloft.net>
39411
39412 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
39413 subtract stack bias.
39414 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
39415 %sp not %fp in calculations.
39416 (_JMPBUF_UNWINDS_ADJ): Likewise.
39417
39418 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
39419 (aio_suspend): Call it to force an exception region around the
39420 AIO_MISC_WAIT() invocation.
39421
394222011-08-23 Andreas Schwab <schwab@redhat.com>
39423
39424 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
39425 backslash.
39426
394272011-07-04 Aurelien Jarno <aurelien@aurel32.net>
39428
39429 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
39430 protection macro.
39431 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
39432 and <dl-machine.h>.
39433 (Elf64_FuncDesc): Remove.
39434
394352011-08-22 David S. Miller <davem@davemloft.net>
39436
39437 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
39438 sigaltstack check, add missing cfi directives.
39439 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
39440 missing cfi directives, and sigaltstack handling.
39441
394422011-08-16 Andreas Schwab <schwab@redhat.com>
39443
39444 [BZ #11724]
39445 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
39446 object is seen twice.
39447 * elf/dl-fini.c (_dl_sort_fini): Likewise.
39448
39449 * elf/Makefile (distribute): Add tst-initorder2.c.
39450 (tests): Add tst-initorder2.
39451 (modules-names): Add tst-initorder2a tst-initorder2b
39452 tst-initorder2c tst-initorder2d. Add rules to build them.
39453 ($(objpfx)tst-initorder2.out): New rule.
39454 * elf/tst-initorder2.c: New file.
39455 * elf/tst-initorder2.exp: New file.
39456
394572011-08-22 Andreas Schwab <schwab@redhat.com>
39458
39459 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
39460
39461 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
39462 dependencies back to end of function.
39463
39464 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
39465 $(elfobjdir)/ld.so.
39466
394672011-08-21 Ulrich Drepper <drepper@gmail.com>
39468
39469 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
39470 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
39471 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
39472 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
39473 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
39474 of __vdso_gettimeofday.
39475 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
39476 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
39477 attribute_hidden.
39478 (_libc_vdso_platform_setup): Remove initialization of
39479 __vdso_gettimeofday and __vdso_time.
39480
394812011-08-20 Ulrich Drepper <drepper@gmail.com>
39482
39483 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
39484 and fgetc_unlocked.
39485 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
39486 getc_unlocked.
39487
39488 * elf/dl-open.c (add_to_global): Report additions to the global scope
39489 for LD_DEBUG=scopes.
39490 (dl_open_worker): Also print scope of newly loaded dependencies.
39491 (_dl_show_scope): Indicate if there is no scope.
39492
39493 [BZ #13114]
39494 * stdio-common/Makefile (tests): Add bug24.
39495 * stdio-common/bug24.c: New file.
39496
394972011-08-19 Andreas Jaeger <aj@suse.de>
39498
39499 [BZ #13114]
39500 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
39501 non-existant file when using close-on-exec mode.
39502
395032011-08-20 Ulrich Drepper <drepper@gmail.com>
39504
39505 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
39506 the very first instruction.
39507
39508 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
39509 the CFI state in the end.
39510 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
39511 inclusion of dl-trampoline.h.
39512 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
39513
395142011-08-19 Andreas Schwab <schwab@redhat.com>
39515
39516 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
39517 expectations for long double.
39518
39519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
39520 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
39521
395222011-08-14 David S. Miller <davem@davemloft.net>
39523
39524 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
39525 artificual limit depends upon the system page size.
39526
395272011-08-17 Ulrich Drepper <drepper@gmail.com>
39528
39529 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
39530 * resolv/Makefile: Define CFLAGS-libresolv.
39531
395322011-08-17 Andreas Schwab <schwab@redhat.com>
39533
39534 * nss/makedb.c (compute_tables): Make variables used in nested
39535 function static.
39536
395372011-08-17 Ulrich Drepper <drepper@gmail.com>
39538
39539 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
39540 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
39541 if buffer was too small.
39542
39543 * elf/pldd.c (main): Attach to all threads in the process.
39544 Rewrite /proc handling to use *at functions.
39545
395462011-08-16 Ulrich Drepper <drepper@gmail.com>
39547
39548 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
39549 specifies first scope to show.
39550 (dl_open_worker): Update callers. Move printing scope of new
39551 object to before the relocation.
39552 * elf/rtld.c (dl_main): Update _dl_show_scope call.
39553 * sysdeps/generic/ldsodefs.h: Update declaration.
39554
39555 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
39556 string for the scope number.
39557
395582011-08-14 Ulrich Drepper <drepper@gmail.com>
39559
39560 * nscd/servicescache.c (cache_addserv): Make sure written is always
39561 initialized.
39562
395632011-08-14 Roland McGrath <roland@hack.frob.com>
39564
39565 * sysdeps/i386/i486/bits/atomic.h
39566 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
39567 statement expression, so as to suppress "set but not used" warning.
39568 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
39569
39570 * string/strncat.c (STRNCAT): Use prototype definition.
39571
39572 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
39573 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
39574 -Iprograms here.
39575 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
39576 (localedef-modules): Add localedef.
39577 (locale-modules): Add locale.
39578
39579 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
39580 * elf/rtld.c (dl_main): Invert order of assignment in last change,
39581 to avoid a warning.
39582
395832011-08-14 David S. Miller <davem@davemloft.net>
39584
39585 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
39586 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
39587
395882011-08-13 Ulrich Drepper <drepper@gmail.com>
39589
39590 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
39591 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
39592 * elf/rtld.c (dl_main): Set l_name of vDSO.
39593 Call _dl_show_scope when DL_DEBUG_SCOPES.
39594 (process_dl_debug): Recognize scopes flag and also set it for all.
39595 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
39596 Declare _dl_show_scope.
39597
39598 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
39599 (do_dlopen): Pass caller_dlopen to dl_open.
39600 (__libc_dlopen_mode): Initialize caller_dlopen.
39601
39602 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
39603 of libc. Make tolower call locale-independent. Optimize a bit by
39604 using isdigit instead of isalnum.
39605 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
39606
396072011-08-12 Ulrich Drepper <drepper@gmail.com>
39608
39609 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
39610 was a dependency or dynamically loaded.
39611
396122011-08-11 Ulrich Drepper <drepper@gmail.com>
39613
39614 * intl/l10nflist.c: Allow architecture-specific pop function.
39615 * sysdeps/x86_64/l10nflist.c: New file.
39616
39617 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
39618 classification.
39619
396202011-08-10 Andreas Schwab <schwab@redhat.com>
39621
39622 * include/dirent.h: Add libc_hidden_proto for scandirat and
39623 scandirat64. Don't declare __scandirat64.
39624 * dirent/scandirat.c: Add libc_hidden_def.
39625 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
39626 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
39627
396282011-08-10 David S. Miller <davem@davemloft.net>
39629
39630 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
39631 enum.
39632 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39633 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39634 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39635
396362011-08-09 Ulrich Drepper <drepper@gmail.com>
39637
39638 * Versions.def [libc]: Add GLIBC_2.15.
39639 * dirent/Makefile (routines): Add scandirat and scandirat64.
39640 * dirent/Versions [libc]: Export scandirat and scandirat64 for
39641 GLIBC_2.15.
39642 * dirent/dirent.h: Declare scandirat and scandirat64.
39643 * dirent/scandirat.c: New file.
39644 * dirent/scandirat64.c: New file.
39645 * sysdeps/wordsize-64/scandirat.c: New file.
39646 * sysdeps/wordsize-64/scandirat64.c: New file.
39647 * dirent/opendir.c: Define opendirat.
39648 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
39649 using scandirat.
39650 * dirent/scandir64.c: Adjust for scandir.c change.
39651 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
39652 __scandirat64, and __scandir_cancel_handler.
39653 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
39654 additional parameter and use openat instead of open (outside of ld.so).
39655 Add new __opendir as wrapper around __opendirat.
39656 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
39657 here without requiring old scandirat implementation.
39658
396592011-08-08 Ulrich Drepper <drepper@gmail.com>
39660
39661 * dirent/scandir.c (cancel_handler): Renamed to
39662 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
39663 defined. Adjust users.
39664 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
39665 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
39666
396672011-08-04 Ulrich Drepper <drepper@gmail.com>
39668
39669 * string/test-string.h (IMPL): Use __STRING to expand name and then
39670 stringify it.
39671
39672 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
39673 of cleanups.
39674
396752011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39676
39677 * string/Makefile: Update.
39678 (strop-tests): Append strncat.
39679 * string/test-wcscmp.c: New file.
39680 New comprehensive test for wcscmp.
39681 * string/test-strcmp.c: Update.
39682 (WIDE): New define.
39683
396842011-07-22 Andreas Schwab <schwab@redhat.com>
39685
39686 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
39687 line.
39688
396892011-07-26 Andreas Schwab <schwab@redhat.com>
39690
39691 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
39692 encoding to ACE if AI_IDN.
39693
396942011-08-01 Jakub Jelinek <jakub@redhat.com>
39695
39696 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
39697 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
39698
396992011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39700
39701 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
39702 Fix overflow bug in strncat.
39703 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
39704
39705 * string/test-strncat.c: Update.
39706 Add new tests for checking overflow bugs.
39707
397082011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39709
39710 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39711 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
39712 * sysdeps/i386/i686/multiarch/strcat.S: New file.
39713 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
39714 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
39715 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
39716 * sysdeps/i386/i686/multiarch/strncat.S: New file.
39717 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
39718 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
39719
39720 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
39721 (USE_AS_STRCAT): Define.
39722 Add strcat and strncat support.
39723 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39724
397252011-07-25 Andreas Schwab <schwab@redhat.com>
39726
39727 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
39728 __n bigger than INT_MAX+1.
39729 (__strncmp_g): Likewise.
39730
397312011-07-23 Ulrich Drepper <drepper@gmail.com>
39732
39733 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
39734 * libio/stido.h: Likewise.
39735
39736 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
39737 (AF_NFC): Define.
39738 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
39739 (AF_NFC): Define.
39740
39741 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
39742 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39743 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39744 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
39745 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39746
39747 [BZ #13021]
39748 * scripts/test-installation.pl: Don't expect libnss_test1 to be
39749 installed.
39750
39751 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
39752 typo.
39753 (_dl_x86_64_save_sse): Likewise.
39754
397552011-07-22 Ulrich Drepper <drepper@gmail.com>
39756
39757 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
39758 OSXSAVE.
39759 (_dl_x86_64_save_sse): Likewise.
39760
39761 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
39762
39763 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
39764
397652011-07-21 Andreas Schwab <schwab@redhat.com>
39766
39767 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
39768 change.
39769 (_dl_x86_64_save_sse): Use correct AVX check.
39770
397712011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39772
39773 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
39774 bug in strncpy/strncat.
39775 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
39776
397772011-07-21 Ulrich Drepper <drepper@gmail.com>
39778
39779 * string/tester.c (test_strcat): Add tests for different alignments
39780 of source and destination.
39781 (test_strncat): Likewise.
39782
397832011-07-20 Ulrich Drepper <drepper@gmail.com>
39784
39785 [BZ #12852]
39786 * posix/glob.c (glob): Check passed in values before using them in
39787 expressions to avoid some overflows.
39788 (glob_in_dir): Likewise.
39789
39790 [BZ #13007]
39791 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
39792 check for AVX enablement so that we don't crash with old kernels and
39793 new hardware.
39794 * elf/tst-audit4.c: Add same checks here.
39795 * elf/tst-audit6.c: Likewise.
39796
39797 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
39798
397992011-07-09 Andreas Schwab <schwab@linux-m68k.org>
39800
39801 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
39802
398032011-07-20 Ulrich Drepper <drepper@gmail.com>
39804
39805 * po/cs.po: Update from translation team.
39806 * po/bg.po: Likewise.
39807
398082011-07-12 Marek Polacek <mpolacek@redhat.com>
39809
39810 * misc/sys/cdefs.h: Add support for const attribute.
39811 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
39812 to gnu_dev_{major,minor,makedev} functions.
39813
398142011-07-20 Marek Polacek <mpolacek@redhat.com>
39815
39816 * intl/dcigettext.c (get_output_charset): Add missing bracket.
39817
398182011-07-20 Andreas Schwab <schwab@redhat.com>
39819
39820 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
39821 strlen results.
39822
398232011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39824
39825 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
39826 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
39827 register in order to avoid conflicts with the soft frame pointer
39828 being held in r11 when necessary.
39829 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
39830 (INTERNAL_VSYSCALL_NCS): Likewise.
39831
398322011-07-14 Marek Polacek <mpolacek@redhat.com>
39833
39834 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
39835 * elf/dl-fini.c (_dl_fini): Adjust caller.
39836 * elf/dl-close.c (_dl_close_worker): Likewise.
39837 * sysdeps/generic/ldsodefs.h: Adjust declaration.
39838
398392011-07-15 Marek Polacek <mpolacek@redhat.com>
39840
39841 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
39842 "aux_cache->nlibs < 0".
39843
39844 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
39845 in the reload-count case.
39846
398472011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39848
39849 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39850 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
39851 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
39852 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
39853 * sysdeps/x86_64/multiarch/strcat.S: New file.
39854 * sysdeps/x86_64/multiarch/strncat.S: New file.
39855 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
39856 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
39857 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
39858 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
39859 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
39860 (USE_AS_STRCAT): Define.
39861 Add strcat and strncat support.
39862 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39863 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
39864 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
39865 * string/strncat.c: Update.
39866 (USE_AS_STRNCAT): Define.
39867 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39868 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
39869 and i7.
39870 * sysdeps/x86_64/multiarch/init-arch.h
39871 (bit_Prefer_PMINUB_for_stringop): New.
39872 (index_Prefer_PMINUB_for_stringop): Likewise.
39873 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
39874 bit_Prefer_PMINUB_for_stringop.
39875
398762011-07-19 Ulrich Drepper <drepper@gmail.com>
39877
39878 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
39879 buffer64.
39880 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
39881 of casting of buffer.
39882 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
39883 buffer32 and buffer64.
39884 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
39885 writes instead of casting of buffer.
39886 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
39887 buffer32.
39888 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
39889 casting of buffer.
39890
398912011-07-19 Andreas Schwab <schwab@redhat.com>
39892
39893 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
39894
398952011-07-19 Ulrich Drepper <drepper@gmail.com>
39896
39897 * nscd/nscd.c (termination_handler): Don't do anything for a database
39898 if it has not yet been initialized.
39899
399002011-07-18 Ulrich Drepper <drepper@gmail.com>
39901
39902 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
39903
399042011-07-15 Marek Polacek <mpolacek@redhat.com>
39905
39906 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
39907
399082011-07-18 Ulrich Drepper <drepper@gmail.com>
39909
39910 * po/nl.po: Update from translation team.
39911 * po/sv.po: Likewise.
39912
399132011-07-16 Roland McGrath <roland@hack.frob.com>
39914
39915 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
39916 now disallowed by GCC.
39917
39918 * configure.in (use-default-link): Default to yes if a test -shared
39919 link meets our qualifications.
39920 * configure: Regenerated.
39921
39922 * config.make.in (output-format): New variable.
39923 * configure.in: Check for ld --print-output-format support.
39924 * configure: Regenerated.
39925 * Makerules ($(common-objpfx)format.lds)
39926 [$(output-format) != unknown]: Just use $(output-format),
39927 instead of the linker-script munging.
39928
399292011-07-14 Roland McGrath <roland@hack.frob.com>
39930
39931 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
39932 of $(common-objpfx)shlib.lds.
39933 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
39934
39935 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
39936 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
39937
39938 * configure.in (-z relro check): Adjust test code to add a large
39939 writable data section after it.
39940 * configure: Regenerated.
39941
399422011-07-11 Roland McGrath <roland@hack.frob.com>
39943
39944 * configure.in (-z relro check): Fix test code to make the variable
39945 truly const.
39946 * configure: Regenerated.
39947
399482011-07-11 Ulrich Drepper <drepper@gmail.com>
39949
39950 * nscd/nscd.h (struct traced_file): Define.
39951 (struct database_dyn): Remove inotify_descr, reset_res, and filename
39952 elements. Add traced_files.
39953 (inotify_fd): Declare.
39954 (register_traced_file): Declare.
39955 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
39956 (inotify_fd): Export.
39957 (resolv_conf_descr): Remove.
39958 (nscd_init): Move inotify descriptor creation to main.
39959 Don't register files for notification here.
39960 (register_traced_file): New function.
39961 (invalidate_cache): Don't use reset_res to determine whether to call
39962 res_init, go through the list of registered files.
39963 (main_loop_poll): The inotify descriptors are now stored in the
39964 structures for the traced files.
39965 (main_loop_epoll): Likewise
39966 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
39967 to __nss_disable_nscd.
39968 * nscd/cache.c (prune_cache): There is no single inotify descriptor
39969 for a database anymore. Check the records for all the registered
39970 files instead.
39971 * nss/Makefile (libnss_files-routines): Add files-init.
39972 (libnss_db-routines): Add db-init.
39973 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
39974 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
39975 * nss/nss_db/db-init.c: New file.
39976 * nss/nss_files/files-init.c: New file.
39977 * nss/nsswitch.c (nss_load_library): New function. Broken out of
39978 __nss_lookup_function.
39979 (__nss_lookup_function): Call nss_load_library.
39980 (nss_load_all_libraries): New function.
39981 (__nss_disable_nscd): Take parameter with callback function for files
39982 to register. Set is_nscd. Load all the DSOs for the NSS modules
39983 used for the cached services.
39984 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
39985 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
39986 options for features to all the files in nscd.
39987
39988 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
39989
399902011-07-10 Roland McGrath <roland@hack.frob.com>
39991
39992 * csu/elf-init.c (__libc_csu_init): Comment typo.
39993
399942011-07-09 Ulrich Drepper <drepper@gmail.com>
39995
39996 * po/pl.po: Update from translation team.
39997 * po/ja.po: Likewise.
39998 * po/ru.po: Likewise.
39999 * po/ko.po: Likewise.
40000 * po/fr.po: Likewise.
40001
400022011-07-09 Roland McGrath <roland@hack.frob.com>
40003
40004 * configure.in (.ctors/.dtors header and trailer check):
40005 Use an empirical test on a built program.
40006 * configure: Regenerated.
40007
40008 * configure.in (-z relro check): Use an empirical test on a built DSO.
40009 Detect, but do not require, on ia64.
40010 * configure: Regenerated.
40011
40012 * configure.in (READELF): Find it with AC_CHECK_TOOL.
40013 Update tests that use readelf to use $READELF instead.
40014 * configure: Regenerated.
40015
400162011-07-08 Ulrich Drepper <drepper@gmail.com>
40017
40018 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
40019 if the result is not used.
40020
400212011-07-05 Andreas Jaeger <aj@suse.de>
40022
40023 [BZ#9696]
40024 * stdlib/tst-strtod.c: Add testcase.
40025
400262011-07-07 Ulrich Drepper <drepper@gmail.com>
40027
40028 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
40029 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
40030 The latter has a higher limit. Take additional parameter to pass to
40031 the new function.
40032 (__pathconf): Pass file to __statfs_link_max.
40033 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
40034 __statfs_link_max.
40035 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
40036 __statfs_link_max.
40037
40038 [BZ #12868]
40039 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
40040 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
40041 Handle Lustre.
40042 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
40043 (__statfs_filesize_max): Likewise.
40044 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
40045
400462011-07-05 Andreas Jaeger <aj@suse.de>
40047
40048 * resolv/res_comp.c (dn_skipname): Remove unused variable.
40049
400502011-07-06 Marek Polacek <mpolacek@redhat.com>
40051
40052 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
40053 `status' variable.
40054 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
40055 Likewise.
40056
400572011-07-04 H.J. Lu <hongjiu.lu@intel.com>
40058
40059 * Makefile (strop-tests): Add strncat.
40060 * string/test-strncat.c: New file.
40061
400622011-06-30 Marek Polacek <mpolacek@redhat.com>
40063
40064 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
40065
400662011-06-21 Andreas Jaeger <aj@suse.de>
40067
40068 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
40069 Copy rule from iconvdata/Makefile.
40070
400712011-07-06 Ulrich Drepper <drepper@gmail.com>
40072
40073 [BZ #12922]
40074 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
40075 but no long options are defined, just return 'W'.
40076
400772011-06-22 Marek Polacek <mpolacek@redhat.com>
40078
40079 [BZ #9696]
40080 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
40081
400822011-07-06 Ulrich Drepper <drepper@gmail.com>
40083
40084 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
40085 netgroups to read.
40086 (innetgr): Likewise.
40087
400882011-07-05 Roland McGrath <roland@hack.frob.com>
40089
40090 * config.make.in (install_root): Default to $(DESTDIR).
40091
400922011-07-05 Ulrich Drepper <drepper@gmail.com>
40093
40094 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
40095
400962011-07-02 Roland McGrath <roland@hack.frob.com>
40097
40098 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
40099
40100 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
40101 containing directory rather than embedding absolute directory names.
40102
40103 * scripts/check-local-headers.sh: Rewritten using awk.
40104 Match by word, not by line. Print error messages for matches.
40105 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
40106
40107 * Makerules [shlib-lds-flags empty]:
40108 ($(common-objpfx)libc_pic.opts): New target.
40109 ($(common-objpfx)libc_pic.os.clean): New target.
40110 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
40111
40112 * config.make.in (OBJCOPY): New variable.
40113 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
40114 * configure: Regenerated.
40115
40116 * config.make.in (use-default-link): New variable.
40117 * configure.in (use_default_link): Grok --with-default-link to set it.
40118 * configure: Regenerated.
40119 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
40120 (shlib-lds, shlib-lds-flags): Define to empty.
40121
40122 * Makerules (shlib-lds): New variable.
40123 (shlib-lds-flags): New variable.
40124 (build-shlib, build-moduile, build-module-asneeded): Use it.
40125 ($(common-objpfx)libc.so): Use $(shlib-lds).
40126 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
40127 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
40128
40129 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
40130 DT_FLAGS/DT_FLAGS_1 with zero flags.
40131
40132 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
40133 linker script munging.
40134
401352011-07-02 Ulrich Drepper <drepper@gmail.com>
40136
40137 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
40138 as 128-bit value.
40139 * crypt/sha512.c (sha512_process_block): Perform total addition using
40140 128-bit if possible.
40141 (__sha512_finish_ctx): Likewise.
40142 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
40143 as 64-bit value.
40144 * crypt/sha256.c (SWAP64): Define.
40145 (sha256_process_block): Perform total addition using 64-bit if
40146 possible.
40147 (__sha256_finish_ctx): Likewise.
40148
401492011-07-01 Ulrich Drepper <drepper@gmail.com>
40150
40151 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
40152 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40153 * nscd/hstcache.c (cache_addhst): Likewise.
40154 * nscd/grpcache.c (cache_addgr): Likewise.
40155 * nscd/aicache.c (addhstaiX): Likewise
40156 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
40157
401582011-07-01 Thorsten Kukuk <kukuk@suse.de>
40159
40160 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
40161 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40162 * nscd/hstcache.c (cache_addhst): Likewise.
40163 * nscd/grpcache.c (cache_addgr): Likewise.
40164 * nscd/aicache.c (addhstaiX): Likewise
40165
401662011-07-01 Andreas Schwab <schwab@redhat.com>
40167
40168 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
40169 domain only when needed.
40170
401712011-06-30 Andreas Schwab <schwab@redhat.com>
40172
40173 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
40174 is always restored.
40175
401762011-06-29 Ulrich Drepper <drepper@gmail.com>
40177
40178 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
40179 are re-adding the entry.
40180 * nscd/servicescache.c (cache_addserv): Likewise.
40181
401822011-06-30 Aurelien Jarno <aurelien@aurel32.net>
40183
40184 * sysdeps/generic/dl-irel.h: fix protection against multiple
40185 inclusions.
40186 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
40187
401882011-06-28 Ulrich Drepper <drepper@gmail.com>
40189
40190 [BZ #12935]
40191 * malloc/memusage.sh: Fix quoting in message.
40192 * debug/xtrace.sh: Likewise.
40193
40194 * configure.in: Remove support for --experimental-malloc option, make
40195 it the default.
40196 * config.make.in: Likewise.
40197 * malloc/Makefile: Likewise.
40198
401992011-06-27 Andreas Schwab <schwab@redhat.com>
40200
40201 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
40202 two-byte characters.
40203
402042011-06-27 Roland McGrath <roland@hack.frob.com>
40205
40206 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
40207 AC_CACHE_CHECK invocation.
40208 * configure: Regenerated.
40209
40210 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
40211
402122011-06-27 Ulrich Drepper <drepper@gmail.com>
40213
40214 [BZ #12350]
40215 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
40216 bit from old_res_options.
40217
40218 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
40219
40220 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
40221 value type for setfct.
40222
402232011-06-23 H.J. Lu <hongjiu.lu@intel.com>
40224
40225 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40226 __gettimeofday instead of gettimeofday.
40227
402282011-06-26 Ulrich Drepper <drepper@gmail.com>
40229
40230 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
40231
402322011-06-24 H.J. Lu <hongjiu.lu@intel.com>
40233
40234 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
40235
40236 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
40237 info.
40238
402392011-06-22 H.J. Lu <hongjiu.lu@intel.com>
40240
40241 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40242 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40243 strcpy-sse2-unaligned strncpy-sse2-unaligned
40244 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
40245 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
40246 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
40247 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
40248 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
40249 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
40250 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
40251 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
40252 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
40253 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
40254 (STRCPY): Support SSE2 and SSSE3 versions.
40255
402562011-06-24 Ulrich Drepper <drepper@gmail.com>
40257
40258 [BZ #12874]
40259 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
40260 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
40261 kernels which artificially limit size of requests.
40262
402632011-06-22 H.J. Lu <hongjiu.lu@intel.com>
40264
40265 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40266 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40267 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
40268 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
40269 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
40270 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
40271 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
40272 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
40273 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
40274 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
40275 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
40276 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
40277 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
40278 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
40279 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
40280 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40281 Enable unaligned load optimization for Intel Core i3, i5 and i7
40282 processors.
40283 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
40284 Define.
40285 (index_Fast_Unaligned_Load): Define.
40286 (HAS_FAST_UNALIGNED_LOAD): Define.
40287
402882011-06-23 Marek Polacek <mpolacek@redhat.com>
40289
40290 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
40291
402922011-06-22 Ulrich Drepper <drepper@gmail.com>
40293
40294 [BZ #12907]
40295 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
40296 until it is clear that the information is realy needed.
40297 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
40298
402992011-06-22 Andreas Schwab <schwab@redhat.com>
40300
40301 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
40302
403032011-06-22 Ulrich Drepper <drepper@gmail.com>
40304
40305 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40306 /sys/devices/system/cpu/online if it is usable.
40307
40308 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
40309 reading the information from the /proc filesystem to once a second.
40310
403112011-06-21 Andreas Jaeger <aj@suse.de>
40312
40313 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
40314 NULL after inclusion of kernel headers.
40315
403162011-06-21 Ulrich Drepper <drepper@gmail.com>
40317
40318 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
40319 calls to internal_setent.
40320
40321 [BZ #12885]
40322 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
40323 addresses using gethostbyname4_r ignore IPv4 addresses.
40324
40325 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
40326 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
40327
40328 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
40329
403302011-06-20 David S. Miller <davem@davemloft.net>
40331
40332 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
40333 inclusions.
40334 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
40335
40336 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
40337 (elf_irel): Use it.
40338 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
40339 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
40340 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
40341 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
40342 * sysdeps/x86_64/dl-irel.h: Likewise.
40343
40344 * elf/dl-runtime.c: Use elf_ifunc_invoke.
40345 * elf/dl-sym.c: Likewise.
40346
403472011-06-15 Ulrich Drepper <drepper@gmail.com>
40348
40349 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
40350 need to dereference resplen2.
40351
403522011-06-14 Andreas Schwab <schwab@redhat.com>
40353
40354 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
40355
403562011-06-15 Ulrich Drepper <drepper@gmail.com>
40357
40358 * Makeconfig: Define vardbdir and inst_vardbdir.
40359 * nss/Makefile: Add rules to install db-Makefile.
40360
40361 * nss/nss_db/db-XXX.c: Cleanup.
40362
40363 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
40364 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
40365 GLIBC_PRIVATE.
40366 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
40367 * nss/makedb.c: Implement -g option to specify that value strings
40368 are generated and should not be added to table iterated over for
40369 get*ent calls.
40370 * nss/nss_db/db-initgroups.c: New file.
40371
40372 * nss/getent.c: Add support for initgroups lookups through getgrouplist
40373 interface.
40374
40375 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
40376 (internal_getgrouplist): Adjust to name change.
40377 Update use_initgroups_entry if this is not the first call.
40378 * nss/databases.def: Add initgroups entry.
40379
40380 * nss/makedb.c (compute_tables): Check result of multiple hash table
40381 sizes to minimize maximum chain length.
40382
403832011-06-14 Ulrich Drepper <drepper@gmail.com>
40384
40385 * Versions.def: Add entry for libnss_db.
40386 * shlib-versions: Likewise.
40387 * nss/Makefile: Add rules to build libnss_db.
40388 * nss/Versions: Add libnss_db information. Organize libnss_files
40389 entries better.
40390 * nss/db-Makefile: Add gshadow support. Change rules for the new
40391 makedb progra. Some minor improvements to generate smaller files.
40392 * nss/nss_db/nss_db.h: Move NSS database header data structures to
40393 here from...
40394 * nss/makedb.c: ...here.
40395 Improve database format to be smaller and require less memory at
40396 runtime.
40397 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
40398 db anymore.
40399 * nss/nss_db/db-netgrp.c: Likewise.
40400 * nss/nss_db/db-open.c: Likewise.
40401 * nss/nss_files/flies-XXX.x: Adjust comments.
40402 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
40403 * nss/nss_files/files-grp.c: Likewise.
40404 * nss/nss_files/files-hosts.c: Likewise.
40405 * nss/nss_files/files-network.c: Likewise.
40406 * nss/nss_files/files-proto.c: Likewise.
40407 * nss/nss_files/files-pwd.c: Likewise.
40408 * nss/nss_files/files-rpc.c: Likewise.
40409 * nss/nss_files/files-service.c: Likewise.
40410 * nss/nss_files/files-sgrp.c: Likewise.
40411 * nss/nss_files/files-spwd.c: Likewise.
40412 * nss/nss_db/db-alias.c: Removed.
40413 * nss/nss_db/dummy-db.h: Removed.
40414
404152011-06-02 Ulrich Drepper <drepper@gmail.com>
40416
40417 * nss/makedb.c: Rewritten to not use database library.
40418 * nss/Makefile: Update to build new makedb program.
40419
404202011-06-14 Andreas Jaeger <aj@suse.de>
40421
40422 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
40423 memset declaration.
40424
404252011-06-10 Andreas Schwab <schwab@redhat.com>
40426
40427 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
40428 tmpbuf.
40429
404302011-06-10 Roland McGrath <roland@hack.frob.com>
40431
40432 * Makerules (shlib.lds): Fail if the linker script comes out empty.
40433 * elf/Makefile ($(objpfx)ld.so): Likewise.
40434
40435 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
40436 Don't list ld.so twice in dependencies.
40437
40438 * posix/bug-regex31.c: Include <stdlib.h>.
40439
40440 * nscd/hstcache.c (cache_addhst): Remove unused variable.
40441
40442 * nis/nss_compat/compat-spwd.c
40443 (getspent_next_nss_netgr): Remove unused variable.
40444 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
40445
40446 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
40447 nonmembers" output to use the right array.
40448
40449 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
40450
40451 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
40452
40453 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
40454 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
40455 * catgets/gencat.c (read_input_file): Likewise.
40456 * locale/programs/locarchive.c (enlarge_archive): Likewise.
40457
40458 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
40459 variable definition inside #if's controlling its use.
40460
40461 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
40462
40463 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
40464
40465 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
40466
40467 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
40468 unreachable code.
40469
40470 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
40471
40472 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
40473 * configure: Regenerated.
40474
40475 * Makerules: Revert last change.
40476 * elf/Makefile: Likewise.
40477
404782011-06-09 Roland McGrath <roland@hack.frob.com>
40479
40480 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
40481 * elf/Makefile ($(objpfx)librtld.os): Likewise.
40482 (reloc-link): Likewise.
40483
404842011-06-09 Ulrich Drepper <drepper@gmail.com>
40485
40486 * elf/Makefile: Add rules to build pldd.
40487 * elf/pldd.c: New file.
40488 * elf/pldd-xx.c: New file.
40489
404902011-06-07 Ulrich Drepper <drepper@gmail.com>
40491
40492 * version.h: Update for 2.15 development version.
40493
404942011-06-07 David S. Miller <davem@davemloft.net>
40495
40496 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
40497 ifuncs.
40498 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
40499 elf_machine_lazy_rel): Likewise.
40500 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
40501 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
40502 elf_machine_lazy_rel): Likewise.
40503 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
40504 dl_hwcap via passed in argument.
40505 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
40506 Likewise.
40507
405082011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40509
40510 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
40511
405122011-06-06 Roland McGrath <roland@hack.frob.com>
40513
40514 [BZ #12849]
40515 * manual/fdl-1.1.texi: New file, verbatim from:
40516 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
40517 * manual/lgpl-2.1.texi: New file, verbatim from:
40518 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
40519 * manual/Makefile (licenses): New variable, list those new file names.
40520 (texis): Use it.
40521 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
40522
40523 * manual/fdl.texi: File removed.
40524 * manual/lesser.texi: File removed.
40525 * manual/libc.texinfo (Copying, Documentation License):
40526 Use new @include file names, put @appendix directive before @include.
40527
405282011-06-04 Jakub Jelinek <jakub@redhat.com>
40529
40530 [BZ #12841]
40531 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
40532 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
40533 (mq_open): Add __NTH.
40534
405352011-06-02 H.J. Lu <hongjiu.lu@intel.com>
40536
40537 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40538 Assume Intel Core i3/i5/i7 processor if AVX is available.
40539
405402011-05-31 Ulrich Drepper <drepper@gmail.com>
40541
40542 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
40543 typo.
40544
405452011-05-31 Andreas Schwab <schwab@redhat.com>
40546
40547 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
40548 memory. Use alloca_account. Fix memory leak when retrying.
40549
405502011-05-31 Ulrich Drepper <drepper@gmail.com>
40551
40552 * version.h (RELEASE): Bump for 2.14 release.
40553 * include/features.h (__GLIBC_MINOR__): Bump to 14.
40554
40555 * config.make.in (RANLIB): Remove entry.
40556
405572011-05-30 Ulrich Drepper <drepper@gmail.com>
40558
40559 * po/Makefile (po-sed-cmd): Add ksh to extensions.
40560 (libc.pot): Work around missing support for .ksh extension in xgettext.
40561
40562 [BZ #12684]
40563 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
40564 if both request failed.
40565 (send_dg): In case of server errors clear resplen or *resplen2.
40566
40567 [BZ #12454]
40568 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
40569 when there are multiple maps.
40570 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
40571 (_dl_fini): Remove test here.
40572
40573 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
40574
405752011-05-29 Ulrich Drepper <drepper@gmail.com>
40576
40577 [BZ #12350]
40578 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
40579 bit from old_res_options.
40580 (gaih_inet): Likewise.
40581
40582 [BZ #11099]
40583 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
40584 as signed.
40585
40586 * resolv/res_init.c (res_setoptions): Make the code more compact.
40587
40588 [BZ #11558]
40589 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
40590 set RES_USEVC.
40591
40592 [BZ #11634]
40593 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
40594
40595 * malloc/malloc.h: Mark malloc hook variables as deprecated.
40596
40597 [BZ #11781]
40598 * malloc/malloc.h: Declare malloc hook variables as volatile.
40599
40600 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
40601 in last patch.
40602
40603 [BZ #11799]
40604 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
40605 raise in the comment.
40606 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
40607 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
40608 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
40609
406102011-05-28 Ulrich Drepper <drepper@gmail.com>
40611
40612 [BZ #12811]
40613 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
40614 grow the buffers more if it already has to be sufficient.
40615 (build_wcs_upper_buffer): Likewise.
40616 * posix/regexec.c (check_matching): Likewise.
40617 (clean_state_log_if_needed): Likewise.
40618 (extend_buffers): Don't enlarge buffers beyond size of the input
40619 buffer.
40620 Patches mostly by Emil Wojak <emil@wojak.eu>.
40621 * posix/bug-regex32.c: New file.
40622 * posix/Makefile (tests): Add bug-regex32.
40623
40624 * locale/findlocale.c (_nl_find_locale): Return right away if
40625 _nl_explode_name failed.
40626 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
40627
40628 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
40629
40630 * debug/xtrace.sh: Unify messages.
40631 * malloc/memusage.sh: Likewise.
40632
40633 [BZ #12813]
40634 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
40635 time symbol from vDSO. Substitute with vsyscall if not available.
40636 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
40637 __vdso_time.
40638
40639 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
40640 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
40641 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
40642 Add sendmmsg and internal_sendmmsg.
40643 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
40644 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
40645 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
40646
40647 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
40648 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
40649 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
40650
406512011-05-27 Ulrich Drepper <drepper@gmail.com>
40652
40653 [BZ #12813]
40654 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
40655 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
40656 available.
40657 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
40658 __vdso_getcpu.
40659
40660 [BZ #12814]
40661 * iconvdata/Makefile (tests): Add bug-iconv9.
40662 * iconvdata/bug-iconv9.c: New file.
40663
406642011-05-27 Andreas Schwab <schwab@redhat.com>
40665
40666 [BZ #12814]
40667 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
40668
406692011-05-25 Jakub Jelinek <jakub@redhat.com>
40670
40671 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40672 (struct user_regs_struct): Change intcs field back to cs.
40673
406742011-05-25 Ulrich Drepper <drepper@gmail.com>
40675
40676 * po/ja.po: Update from translation team.
40677
406782011-05-23 Ulrich Drepper <drepper@gmail.com>
40679
40680 [BZ #12795]
40681 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
40682 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
40683
406842011-05-20 Andreas Schwab <schwab@redhat.com>
40685
40686 * stdlib/longlong.h: Update from GCC.
40687
406882011-05-23 Andreas Schwab <schwab@redhat.com>
40689
40690 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
40691 parameter name.
40692 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
40693 Add parameter name.
40694 (__sysconf): Pass it down.
40695
406962011-05-22 Ulrich Drepper <drepper@gmail.com>
40697
40698 [BZ #12671]
40699 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
40700 some situations.
40701 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
40702 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
40703 add in in __libc_use_alloca calls. Adjust callers.
40704 (glob): Use malloc in some situations.
40705
40706 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
40707 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
40708 pltexit.
40709
407102011-05-21 Ulrich Drepper <drepper@gmail.com>
40711
40712 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
40713 and CLOCK_BOOTTIME_ALARM.
40714
40715 [BZ #12782]
40716 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
40717 is returned.
40718
40719 * string/_strerror.c (__strerror_r): Print negative errors as signed
40720 numbers.
40721
40722 [BZ #12777]
40723 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
40724 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
40725 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
40726
40727 * configure.in: Fix typo in redirection and correct removal of test
40728 files in two cases.
40729
40730 [BZ #12788]
40731 * locale/setlocale.c (new_composite_name): Fix test to check for
40732 identical name of all categories.
40733
40734 [BZ #12792]
40735 * libio/filedoalloc.c (local_isatty): New function.
40736 (_IO_file_doallocate): Use local_isatty.
40737 * stdio-common/perror.c (perror): In case a new stream is used
40738 forward the stream error.
40739 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
40740 error flag.
40741
407422011-05-20 Ulrich Drepper <drepper@gmail.com>
40743
40744 [BZ #11869]
40745 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
40746 alloca.
40747 * include/alloca.h (extend_alloca_account): Define.
40748
40749 [BZ #11857]
40750 * posix/regex.h: Fix comments with documentation of user-accessible
40751 fields after compilation and describe correct free'ing of pattern
40752 after re_compile_pattern.
40753 Patch by Reuben Thomas <rrt@sc3d.org>.
40754
407552011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
40756
40757 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
40758 and -mno-altivec to prevent the compiler from using Altivec and/or
40759 VSX instructions when the corresponding registers are not available.
40760
407612011-05-19 Andreas Schwab <schwab@redhat.com>
40762
40763 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
40764
407652011-05-19 Ulrich Drepper <drepper@gmail.com>
40766
40767 * libio/freopen.c (freopen): Use __dup2, not dup2.
40768 * libio/freopen64.c (freopen64): Likewise.
40769
407702011-05-17 H.J. Lu <hongjiu.lu@intel.com>
40771
40772 [BZ #12775]
40773 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
40774 * math/Makefile (tests): Add test-powl.
40775 (CFLAGS-test-powl.c): Define.
40776 * math/test-powl.c: New file.
40777
407782011-05-16 H.J. Lu <hongjiu.lu@intel.com>
40779
40780 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
40781
407822011-05-17 Ulrich Drepper <drepper@gmail.com>
40783
40784 [BZ #11837]
40785 * iconvdata/gb18030.c: Update to GB18020-2005.
40786
407872011-05-16 Ulrich Drepper <drepper@gmail.com>
40788
40789 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
40790 RE_SYNTAX_POSIX_AWK): Update to match recent development.
40791 Patch by Aharon Robbins <arnold@skeeve.com>.
40792
40793 [BZ #11892]
40794 * stdlib/putenv.c (putenv): Don't always create copy of the variable
40795 on the stack.
40796
40797 [BZ #11895]
40798 * misc/pselect.c (__pselect): Handle timeout value errors hidden
40799 through underflows.
40800
40801 [BZ #12766]
40802 * misc/error.c (error_at_line): Ensure file_name and old_file_name
40803 point to strings before performing equality test for error_one_per_line
40804 mode.
40805
40806 [BZ #11697]
40807 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
40808
40809 [BZ #11820]
40810 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40811 (struct user_fpregs_struct): Avoid __uint*_t types.
40812
40813 [BZ #6420]
40814 * malloc/mtrace.c (tr_where): Add additional parameter to point to
40815 symbol info. Use it instead of calling _dl_addr locally.
40816 (lock_and_info): New function.
40817 (tr_freehook): Call lock_and_info and pass symbol info as additional
40818 parameter to tr_where.
40819 (tr_mallochook): Likewise.
40820 (tr_reallochook): Likewise.
40821 (tr_memalignhook): Likewise.
40822
40823 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
40824 used and couldn't be at all thread-safe.
40825
408262011-05-15 Ulrich Drepper <drepper@gmail.com>
40827
40828 * libio/freopen.c (freopen): Don't close old file descriptor
40829 before the new one is opened. Instead dup the new file descriptor
40830 to the old one after the new stream is created.
40831 * libio/freopen64.c (freopen64): Likewise.
40832 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
40833 * libio/fileops.c (_IO_new_file_close_it): Handle new
40834 _IO_FLAGS2_NOCLOSE flag.
40835 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
40836 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
40837 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
40838 _IO_FLAGS2_NOCLOSE flag.
40839 * include/unistd.h: Add hidden_proto for dup3.
40840 Define __have_dup3.
40841 * io/dup3.c: Define hidden symbol.
40842 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
40843
40844 [BZ #7101]
40845 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
40846 when an incomplete long option is used.
40847 * posix/tst-getopt_long1.c: New file.
40848 * posix/Makefile (tests): Add tst-getopt_long1.
40849
40850 [BZ #10138]
40851 * scripts/config.guess: Update from autoconf-2.68.
40852 * scripts/config.sub: Likewise.
40853
40854 [BZ #10157]
40855 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
40856 tests into ...
40857 (has_cpuclock): ...this. New function.
40858 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
40859 macro here based on has_cpuclock code.
40860
40861 [BZ #10149]
40862 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40863 First byte (not low byte) is now always NUL.
40864 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
40865
40866 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40867 Use non-cancelable interfaces.
40868
40869 [BZ #9809]
40870 * locale/iso-639.def: Add entry for Sorani.
40871
40872 [BZ #11901]
40873 * include/stdlib.h: Move include protection to the right place.
40874 Define abort_msg_s. Declare __abort_msg with it.
40875 * stdlib/abort.c (__abort_msg): Adjust type.
40876 * assert/assert.c (__assert_fail_base): New function. Majority
40877 of code from __assert_fail. Allocate memory for __abort_msg with
40878 mmap.
40879 (__assert_fail): Now call __assert_fail_base.
40880 * assert/assert-perr.c: Remove bulk of implementation. Use
40881 __assert_fail_base.
40882 * include/assert.hL Declare __assert_fail_base.
40883 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
40884 mmap.
40885 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
40886
408872011-05-14 Ulrich Drepper <drepper@gmail.com>
40888
40889 [BZ #11952]
40890 [BZ #12453]
40891 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
40892 until all modules are registered in the DTV.
40893 * elf/Makefile: Add rules to build and run tst-tls19.
40894 * elf/tst-tls19.c: New file.
40895 * elf/tst-tls19mod1.c: New file.
40896 * elf/tst-tls19mod2.c: New file.
40897 * elf/tst-tls19mod3.c: New file.
40898 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
40899
40900 [BZ #12083]
40901 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
40902 correctly.
40903
40904 [BZ #12601]
40905 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
40906 two-byte sequence errors.
40907 * iconvdata/Makefile (tests): Add bug-iconv8.
40908 * iconvdata/bug-iconv8.c: New file.
40909
40910 [BZ #12626]
40911 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
40912 buf2 definition.
40913
40914 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
40915
40916 [BZ #12432]
40917 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
40918 (dummy_getcfa): New function.
40919 (init): Get _Unwind_GetCFA address, use dummy if not found.
40920 (backtrace_helper): In recursion check, also check whether CFA changes.
40921 (__backtrace): Completely initialize arg.
40922
40923 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
40924 storing incomplete byte sequence in state object. Avoid testing for
40925 guaranteed too small input if we know there is enough data available.
40926
409272011-05-11 Andreas Schwab <schwab@redhat.com>
40928
40929 * Makeconfig (+link-pie): Indent.
40930 * Rules (binaries-pie): Define if $(have-fpie) and
40931 $(build-shared).
40932 (binaries-shared): Also filter out $(binaries-pie).
40933 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
40934 * nscd/Makefile (others-pie): Add nscd.
40935 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
40936 ($(objpfx)nscd): Remove command override.
40937 * login/Makefile (others-pie): Add pt_chown.
40938 ($(objpfx)pt_chown): Remove command override.
40939 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
40940 remove command overrides.
40941
409422011-05-13 Ulrich Drepper <drepper@gmail.com>
40943
40944 * libio/tst_putwc.c: Fix error messages.
40945
40946 [BZ #12724]
40947 * libio/fileops.c (_IO_new_file_close_it): Always flush when
40948 currently writing and seek to current position when not.
40949 * libio/Makefile (tests): Add bug-fclose1.
40950 * libio/bug-fclose1.c: New file.
40951
409522011-05-12 Ulrich Drepper <drepper@gmail.com>
40953
40954 [BZ #12511]
40955 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
40956 don't set DF_1_NODELETE here.
40957 (do_lookup_x): When entering new entry test for copy relocation
40958 and if necessary set DF_1_NODELETE flag.
40959 * elf/tst-unique4.cc: New file.
40960 * elf/tst-unique4.h: New file.
40961 * elf/tst-unique4lib.cc: New file.
40962 * elf/Makefile: Add rules to build and run tst-unique4.
40963 Patch by Piotr Bury <pbury@goahead.com>.
40964
409652011-05-11 Ulrich Drepper <drepper@gmail.com>
40966
40967 [BZ #12052]
40968 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
40969
40970 [BZ #12625]
40971 * misc/mntent_r.c (addmntent): Flush the stream after the output
40972
40973 [BZ #12393]
40974 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
40975 (is_trusted_path_normalize): Skip initial colon. Append slash
40976 to empty buffer. Duplicate is_trusted_path code but allow
40977 constructed patch to be prefix.
40978 (is_dst): Allow $ORIGIN followed by /.
40979 (_dl_dst_substitute): Correct clearing of check_for_trusted.
40980 Correct testing of result of is_trusted_path_normalize
40981 (decompose_rpath): Fix warning.
40982
409832011-05-10 Ulrich Drepper <drepper@gmail.com>
40984
40985 [BZ #11257]
40986 * grp/initgroups.c (internal_getgrouplist): When we found the service
40987 list through the initgroups entry in nsswitch.conf do not always
40988 continue on a successful lookup. Don't always use the
40989 __nss_group_database value if it is set.
40990 * nss/nsswitch.conf (initgroups): Change action for successful db
40991 lookup to continue for compatibility.
40992
409932011-05-09 Ulrich Drepper <drepper@gmail.com>
40994
40995 [BZ #11532]
40996 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
40997 and CP774 modules.
40998 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
40999 and CP774 modules.
41000 * iconvdata/tst-tables.sh: Likewise.
41001 * iconvdata/cp770.c: New file.
41002 * iconvdata/cp771.c: New file.
41003 * iconvdata/cp772.c: New file.
41004 * iconvdata/cp773.c: New file.
41005 * iconvdata/cp774.c: New file.
41006 * iconvdata/testdata/CP770: New file.
41007 * iconvdata/testdata/CP770..UTF8: New file.
41008 * iconvdata/testdata/CP771: New file.
41009 * iconvdata/testdata/CP771..UTF8: New file.
41010 * iconvdata/testdata/CP772: New file.
41011 * iconvdata/testdata/CP772..UTF8: New file.
41012 * iconvdata/testdata/CP773: New file.
41013 * iconvdata/testdata/CP773..UTF8: New file.
41014 * iconvdata/testdata/CP774: New file.
41015 * iconvdata/testdata/CP774..UTF8: New file.
41016
41017 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
41018 END CHARMAP line.
41019 * iconvdata/gen-8bit-gap.sh: Likewise.
41020 * iconvdata/gen-8bit.sh: Likewise.
41021
41022 * locale/iso-639.def: Add ary entry.
41023
41024 [BZ #11258]
41025 * locale/C-translit.h.in: Add U20A1 transliteration.
41026
41027 [BZ #12178]
41028 * locale/iso-639.def: Add wae entry.
41029 Patch by Kevin Bortis <bortis@translate-wae.ch>.
41030
41031 [BZ #12545]
41032 * locale/programs/localedef.c (construct_output_path): Use ssize_t
41033 for n.
41034
41035 [BZ #12711]
41036 * locale/C-translit.h.in: Add entry for U20B9.
41037 Patch by pravin.d.s@gmail.com.
41038
410392011-05-08 Ulrich Drepper <drepper@gmail.com>
41040
41041 [BZ #12713]
41042 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
41043 ENAMETOOLONG use generic getcwd.
41044 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
41045 in rtld. Use *stat64.
41046 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
41047 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
41048 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
41049 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
41050 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
41051 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
41052 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
41053 __fstatat64 macros.
41054 * include/dirent.h: Add libc_hidden_proto for rewinddir.
41055 * dirent/rewinddir.c: Add libc_hidden_def.
41056 * sysdeps/mach/hurd/rewinddir.c: Likewise.
41057 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
41058
41059 * include/dirent.h (__alloc_dir): Add flags parameter.
41060 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
41061 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
41062 __alloc_dir.
41063 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
41064 from fdopendir if O_CLOEXEC is already set.
41065
410662011-03-15 Alan Modra <amodra@gmail.com>
41067
41068 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
41069 l_tls_firstbyte_offset non-zero. Save padding offset in
41070 l_tls_firstbyte_offset for later use.
41071 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
41072 freeing static tls block.
41073
410742011-03-05 Jonathan Nieder <jrnieder@gmail.com>
41075
41076 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
41077 where #ifdef was intended. The intent is to prevent ARG_MAX from
41078 being defined by the kernel headers.
41079
410802011-05-07 Ulrich Drepper <drepper@gmail.com>
41081
41082 [BZ #12734]
41083 * resolv/resolv.h: Define RES_NOTLDQUERY.
41084 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
41085 no-tld-query and set RES_NOTLDQUERY.
41086 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
41087 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
41088 modern BIND to search name as TLD unless forbidden.
41089
410902011-05-07 Petr Baudis <pasky@suse.cz>
41091 Ulrich Drepper <drepper@gmail.com>
41092
41093 [BZ #12393]
41094 * elf/dl-load.c (fillin_rpath): Move trusted path check...
41095 (is_trusted_path): ...to here.
41096 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
41097 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
41098 using is_trusted_path_normalize() in setuid scripts.
41099
411002011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
41101
41102 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
41103 __BEGIN/__END_DECLS.
41104
411052011-05-06 Ulrich Drepper <drepper@gmail.com>
41106
41107 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
41108 NSS_STATUS_NOTFOUND if no record was found.
41109
411102011-05-05 Andreas Schwab <schwab@redhat.com>
41111
41112 * sunrpc/Makefile (headers): Add rpc/netdb.h.
41113 (headers-not-in-tirpc): Remove rpc/netdb.h
41114 * resolv/netdb.h: Revert last change.
41115
411162011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
41117
41118 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
41119 circular dependency between libgcc.a and libc.a.
41120
411212011-05-05 Andreas Schwab <schwab@redhat.com>
41122
41123 * resolv/netdb.h: Don't include <rpc/netdb.h>.
41124 * nis/Makefile: Don't install rpcsvc/*.
41125 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
41126 instead of <rpc/types.h>.
41127 (MAXHOSTNAMELEN): Define.
41128
411292011-05-03 Andreas Schwab <schwab@redhat.com>
41130
41131 * elf/ldconfig.c (add_dir): Don't crash on empty path.
41132
411332011-04-28 Maciej Babinski <mbabinski@google.com>
41134
41135 [BZ #12714]
41136 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
41137 gethostbyname4_r when IPv6 results are possible.
41138
411392011-05-02 Ulrich Drepper <drepper@gmail.com>
41140
41141 [BZ #12723]
41142 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
41143 _PC_PIPE_BUF handling.
41144
411452011-04-30 Bruno Haible <bruno@clisp.org>
41146
41147 [BZ #12717]
41148 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
41149 * resolv/netdb.h (getnameinfo): Change type of flags parameter
41150 to 'int'.
41151 * inet/getnameinfo.c (getnameinfo): Likewise.
41152
411532011-04-29 Ulrich Drepper <drepper@gmail.com>
41154
41155 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
41156 to groups setting in database lookup.
41157 * nss/nsswitch.conf: Add initgroups entry.
41158
411592011-04-22 Ulrich Drepper <drepper@gmail.com>
41160
41161 [BZ #12685]
41162 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
41163 mode string.
41164 Patch by Eric Blake <eblake@redhat.com>.
41165
411662011-04-20 H.J. Lu <hongjiu.lu@intel.com>
41167
41168 * sunrpc/Makefile (need-export-routines): Add svc_run.
41169 (routines): Remove svc_run.
41170 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
41171 * sunrpc/clnt_perr.c (clnt_perrno): Export.
41172 * sunrpc/svc_run.c (svc_run): Likewise.
41173 * sunrpc/svc_udp.c (svcudp_create): Likewise.
41174
411752011-04-21 Ulrich Drepper <drepper@gmail.com>
41176
41177 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
41178 problem in reallocation in last patch.
41179
411802011-04-20 Ulrich Drepper <drepper@gmail.com>
41181
41182 * sunrpc/Makefile: Move inclusion of Rules.
41183
411842011-04-19 Ulrich Drepper <drepper@gmail.com>
41185
41186 * nss/nss_files/files-initgroups.c: New file.
41187 * nss/Makefile (libnss_files-routines): Add files-initgroups.
41188 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
41189 _nss_files_initgroups_dyn.
41190
411912011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
41192
41193 * elf/elf.h (R_ARM_IRELATIVE): Define.
41194
411952011-04-19 Ulrich Drepper <drepper@gmail.com>
41196
41197 * po/ru.po: Update from translation team.
41198
411992011-04-17 Ulrich Drepper <drepper@gmail.com>
41200
41201 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
41202 dependencies.
41203
412042011-02-06 Mike Frysinger <vapier@gentoo.org>
41205
41206 [BZ #12653]
41207 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
41208 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
41209 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41210 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
41211 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
41212
412132011-03-28 Andreas Schwab <schwab@linux-m68k.org>
41214
41215 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
41216 differing bytes.
41217 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
41218 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
41219 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41220
412212011-04-17 Ulrich Drepper <drepper@gmail.com>
41222
41223 [BZ #12420]
41224 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
41225 storing it.
41226 * stdlib/bug-getcontext.c: New file.
41227 * stdlib/Makefile: Add rules to build and run bug-getcontext.
41228
412292011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41230
41231 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
41232 instructions into .machine "z9-109".
41233 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
41234 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
41235
412362011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41237
41238 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
41239 between environment variables and auxiliary vector.
41240
412412011-04-16 Ulrich Drepper <drepper@gmail.com>
41242
41243 * Makefile: Add rules to build linkobj/libc.so.
41244 * include/libc-symbols.h: Define libc_hidden_nolink.
41245 * include/rpc/auth.h: Mark functions which are to be hidden.
41246 * include/rpc/auth_des.h: Likewise.
41247 * include/rpc/auth_unix.h: Likewise.
41248 * include/rpc/clnt.h: Likewise.
41249 * include/rpc/des_crypt.h: Likewise.
41250 * include/rpc/key_prot.h: Likewise.
41251 * include/rpc/pmap_clnt.h: Likewise.
41252 * include/rpc/pmap_prot.h: Likewise.
41253 * include/rpc/pmap_rmt.h: Likewise.
41254 * include/rpc/rpc_msg.h: Likewise.
41255 * include/rpc/svc.h: Likewise.
41256 * include/rpc/svc_auth.h: Likewise.
41257 * include/rpc/xdr.h: Likewise.
41258 * nis/Makefile: Link all DSOs against linkobj/libc.so.
41259 * nss/Makefile: Likewise.
41260 * sunrpc/Makefile: Don't install headers. Build library with normal
41261 entry points. Don't build rpcinfo. Link RPC tests appropriately.
41262 * sunrpc/auth_des.c: Hide exported symbols by default, export some
41263 for the compat linking library. Remove use of INTDEF/INTUSE.
41264 * sunrpc/auth_none.c: Likewise.
41265 * sunrpc/auth_unix.c: Likewise.
41266 * sunrpc/authdes_prot.c: Likewise.
41267 * sunrpc/authuxprot.c: Likewise.
41268 * sunrpc/clnt_gen.c: Likewise.
41269 * sunrpc/clnt_perr.c: Likewise.
41270 * sunrpc/clnt_raw.c: Likewise.
41271 * sunrpc/clnt_simp.c: Likewise.
41272 * sunrpc/clnt_tcp.c: Likewise.
41273 * sunrpc/clnt_udp.c: Likewise.
41274 * sunrpc/clnt_unix.c: Likewise.
41275 * sunrpc/des_crypt.c: Likewise.
41276 * sunrpc/des_soft.c: Likewise.
41277 * sunrpc/get_myaddr.c: Likewise.
41278 * sunrpc/key_call.c: Likewise.
41279 * sunrpc/key_prot.c: Likewise.
41280 * sunrpc/netname.c: Likewise.
41281 * sunrpc/pm_getmaps.c: Likewise.
41282 * sunrpc/pm_getport.c: Likewise.
41283 * sunrpc/pmap_clnt.c: Likewise.
41284 * sunrpc/pmap_prot.c: Likewise.
41285 * sunrpc/pmap_prot2.c: Likewise.
41286 * sunrpc/pmap_rmt.c: Likewise.
41287 * sunrpc/publickey.c: Likewise.
41288 * sunrpc/rpc_cmsg.c: Likewise.
41289 * sunrpc/rpc_common.c: Likewise.
41290 * sunrpc/rpc_dtable.c: Likewise.
41291 * sunrpc/rpc_prot.c: Likewise.
41292 * sunrpc/rpc_thread.c: Likewise.
41293 * sunrpc/rtime.c: Likewise.
41294 * sunrpc/svc.c: Likewise.
41295 * sunrpc/svc_auth.c: Likewise.
41296 * sunrpc/svc_authux.c: Likewise.
41297 * sunrpc/svc_raw.c: Likewise.
41298 * sunrpc/svc_run.c: Likewise.
41299 * sunrpc/svc_simple.c: Likewise.
41300 * sunrpc/svc_tcp.c: Likewise.
41301 * sunrpc/svc_udp.c: Likewise.
41302 * sunrpc/svc_unix.c: Likewise.
41303 * sunrpc/svcauth_des.c: Likewise.
41304 * sunrpc/xcrypt.c: Likewise.
41305 * sunrpc/xdr.c: Likewise.
41306 * sunrpc/xdr_array.c: Likewise.
41307 * sunrpc/xdr_float.c: Likewise.
41308 * sunrpc/xdr_intXX_t.c: Likewise.
41309 * sunrpc/xdr_mem.c: Likewise.
41310 * sunrpc/xdr_rec.c: Likewise.
41311 * sunrpc/xdr_ref.c: Likewise.
41312 * sunrpc/xdr_sizeof.c: Likewise.
41313 * sunrpc/xdr_stdio.c: Likewise.
41314
413152011-04-10 Ulrich Drepper <drepper@gmail.com>
41316
41317 [BZ #12650]
41318 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
41319 * sysdeps/ia64/dl-tls.h: Likewise.
41320 * sysdeps/powerpc/dl-tls.h: Likewise.
41321 * sysdeps/s390/dl-tls.h: Likewise.
41322 * sysdeps/sh/dl-tls.h: Likewise.
41323 * sysdeps/sparc/dl-tls.h: Likewise.
41324 * sysdeps/x86_64/dl-tls.h: Likewise.
41325 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
41326
413272011-03-14 Andreas Schwab <schwab@redhat.com>
41328
41329 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
41330 rpath element also skip the following colon.
41331 (expand_dynamic_string_token): Add is_path parameter and pass
41332 down to DL_DST_REQUIRED and _dl_dst_substitute.
41333 (decompose_rpath): Call expand_dynamic_string_token with
41334 non-zero is_path. Ignore empty rpaths.
41335 (_dl_map_object_from_fd): Call expand_dynamic_string_token
41336 with zero is_path.
41337
413382011-04-08 Andreas Schwab <schwab@linux-m68k.org>
41339
41340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
41341 Make cancelable.
41342
413432011-04-09 Ulrich Drepper <drepper@gmail.com>
41344
41345 [BZ #12655]
41346 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
41347 Patch by Filipe David Manana <fdmanana@apache.org>.
41348
413492011-04-07 Andreas Schwab <schwab@redhat.com>
41350
41351 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
41352 Maintain aligned stack.
41353 (CHECK_RSP): Remove unused macro.
41354
413552011-04-03 Ulrich Drepper <drepper@gmail.com>
41356
41357 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
41358 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
41359
413602011-04-02 Ulrich Drepper <drepper@gmail.com>
41361
41362 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
41363
41364 * include/features.h: Mention __USE_XOPEN2K8 in comment.
41365
413662011-03-26 H.J. Lu <hongjiu.lu@intel.com>
41367
41368 [BZ #12518]
41369 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
41370 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
41371 * sysdeps/x86_64/memmove.c: New file.
41372 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
41373 (memcpy): Renamed to ...
41374 (__new_memcpy): This.
41375 (memcpy): Provide GLIBC_2_14 memcpy.
41376 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
41377 (memcpy): Provide GLIBC_2_2_5 memcpy.
41378
413792011-04-01 Ulrich Drepper <drepper@gmail.com>
41380
41381 [BZ #12631]
41382 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
41383
413842011-03-30 Andreas Schwab <schwab@redhat.com>
41385
41386 * misc/syncfs.c: New file.
41387 * misc/Makefile (routines): Add syncfs.
41388 * posix/unistd.h: Declare syncfs.
41389 * sysdeps/unix/syscalls.list: Add syncfs.
41390
413912011-04-01 Andreas Schwab <schwab@redhat.com>
41392
41393 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
41394 open_by_handle_at.
41395 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
41396 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41397 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41398 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41399 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41400 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
41401 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41402
414032011-04-01 Ulrich Drepper <drepper@gmail.com>
41404
41405 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
41406 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41407 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
41408 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41409 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41410 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41411 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41412
41413 * io/Makefile: Compile fallocate.c, fallocate64.c, and
41414 sync_file_range.c with -fexceptions.
41415 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
41416 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
41417 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
41418 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
41419 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
41420 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
41421 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
41422 sync_file_range as cancellation point
41423 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
41424 now a wrapper around __call_sync_file_range with cancellation handling.
41425 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
41426 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
41427 function name to __call_sync_file_range.
41428 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
41429 Add call_sync_file_range.
41430
414312011-04-01 Andreas Schwab <schwab@redhat.com>
41432
41433 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41434 bits/timex.h.
41435
414362011-04-01 Ulrich Drepper <drepper@gmail.com>
41437
41438 * iconv/iconv.h: Fix typo in comment.
41439 * io/fcntl.h: Likewise.
41440 * libio/stdio.h: Likewise.
41441 * posix/spawn.h: Likewise.
41442 * posix/unistd.h: Likewise.
41443 * stdlib/stdlib.h: Likewise.
41444 * time/time.h: Likewise.
41445 * wcsmbs/wchar.h: Likewise.
41446
41447 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
41448 open_by_handle): Add.
41449 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
41450 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
41451 Augment a few comments.
41452 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41453 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41454 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41455 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41456 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41457 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
41458 open_by_handle.
41459
41460 * io/fcntl.h (AT_EMPTY_PATH): Define.
41461
414622011-03-30 Ulrich Drepper <drepper@gmail.com>
41463
41464 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
41465 * sysdeps/unix/sysv/linux/bits/time.h: New file.
41466 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
41467 to...
41468 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
41469 * Versions.def: Add GLIBC_2.14.
41470 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
41471 Export.
41472
414732011-03-22 Ulrich Drepper <drepper@gmail.com>
41474
41475 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
41476 round counter.
41477 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41478
414792011-03-20 H.J. Lu <hongjiu.lu@intel.com>
41480
41481 [BZ #12597]
41482 * string/test-strncmp.c (do_page_test): New function.
41483 (check2): Likewise.
41484 (test_main): Call check2.
41485 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
41486
414872011-03-20 Ulrich Drepper <drepper@gmail.com>
41488
41489 [BZ #12587]
41490 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
41491 Handle cache information in CPU leaf 4.
41492 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41493
414942011-03-18 Ulrich Drepper <drepper@gmail.com>
41495
41496 [BZ #12583]
41497 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
41498 character representation.
41499 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
41500
415012011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
41502
41503 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
41504 END(__isnan) to END(__isnanf) to match function entry point/label
41505 EALIGN(__isnanf,...).
41506
415072011-03-10 Jakub Jelinek <jakub@redhat.com>
41508
41509 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
41510
415112011-03-10 Ulrich Drepper <drepper@gmail.com>
41512
41513 [BZ #12510]
41514 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
41515 copy from the symbol referenced in the relocation to initialize the
41516 used variable.
41517 Patch by Piotr Bury <pbury@goahead.com>.
41518 * elf/Makefile: Add rules to build and tst-unique3.
41519 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
41520 * elf/tst-unique3.cc: New file.
41521 * elf/tst-unique3.h: New file.
41522 * elf/tst-unique3lib.cc: New file.
41523 * elf/tst-unique3lib2.cc: New file.
41524
41525 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
41526
415272011-03-10 Mike Frysinger <vapier@gentoo.org>
41528
41529 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
41530 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
41531 to _start.
41532
415332011-03-06 Ulrich Drepper <drepper@gmail.com>
41534
41535 * elf/dl-load.c (_dl_map_object): If we are looking for the first
41536 to-be-loaded object along a path to loader is ld.so.
41537
415382011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
41539 Ulrich Drepper <drepper@gmail.com>
41540
41541 * sysdeps/x86_64/memset.S: After aligning destination, code
41542 branches to different locations depending on the value of
41543 misalignment, when multiarch is enabled. Fix this.
41544
415452011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
41546
41547 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
41548 Set _x86_64_preferred_memory_instruction for AMD processsors.
41549 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41550 Set bit_Prefer_SSE_for_memop for AMD processors.
41551
415522011-03-04 Ulrich Drepper <drepper@gmail.com>
41553
41554 * libio/fmemopen.c (fmemopen): Optimize a bit.
41555
415562011-03-03 Andreas Schwab <schwab@redhat.com>
41557
41558 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
41559
415602011-03-03 Roland McGrath <roland@redhat.com>
41561
41562 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
41563
415642011-02-28 Aurelien Jarno <aurelien@aurel32.net>
41565
41566 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
41567 __bzero_ultra1 instead of __memset_ultra1.
41568
415692011-02-23 Andreas Schwab <schwab@redhat.com>
41570 Ulrich Drepper <drepper@gmail.com>
41571
41572 [BZ #12509]
41573 * include/link.h (struct link_map): Add l_orig_initfini.
41574 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
41575 returning unsuccessfully.
41576 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
41577 close of a file loaded at startup, restore the original l_initfini
41578 list.
41579 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
41580 list, store the pointer.
41581 * elf/Makefile ($(objpfx)noload-mem): New rule.
41582 (noload-ENV): Define.
41583 (tests): Add $(objpfx)noload-mem.
41584 * elf/noload.c: Include <memcheck.h>.
41585 (main): Call mtrace. Close all opened handles.
41586
415872011-02-17 Andreas Schwab <schwab@redhat.com>
41588
41589 [BZ #12454]
41590 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
41591 dependencies are missing.
41592
415932011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
41594
41595 Fix __if_freereq crash: Unlike the generic version which uses free,
41596 Hurd needs munmap.
41597 * sysdeps/mach/hurd/ifreq.h: New file.
41598
415992011-01-27 Petr Baudis <pasky@suse.cz>
41600 Ulrich Drepper <drepper@gmail.com>
41601
41602 [BZ 12445]#
41603 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
41604 to extend_alloca().
41605 * stdio-common/bug23.c: New file.
41606 * stdio-common/Makefile (tests): Add bug23.
41607
416082010-09-28 Andreas Schwab <schwab@redhat.com>
41609 Ulrich Drepper <drepper@gmail.com>
41610
41611 [BZ #12489]
41612 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
41613 before performing relro protection. At old place add assertion
41614 to make sure nothing changed.
41615
416162011-02-17 Nathan Sidwell <nathan@codesourcery.com>
41617 Glauber de Oliveira Costa <glommer@gmail.com>
41618
41619 * elf/elf.h: Add new ARM TLS relocs.
41620
416212011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
41622
41623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
41624 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
41625 cast from r3.
41626 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
41627 'tests' variable.
41628 * sysdeps/wordsize-64/tst-writev.c: New file.
41629
416302011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
41631
41632 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
41633 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
41634 insns in _dl_start to prevent a TOC reference before relocs are
41635 resolved.
41636
416372011-02-15 Ulrich Drepper <drepper@gmail.com>
41638
41639 [BZ #12469]
41640 * Makeconfig: Remove RANLIB definition.
41641 * Makerules: Don't use RANLIB.
41642 * aclocal.m4: Remove ranlib test.
41643 * configure.in: No need to check for ranlib.
41644 * elf/rtld-Rules: Don't use RANLIB.
41645
416462011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
41647
41648 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
41649 protection macro.
41650 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
41651 inclusion protection macro.
41652
41653 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
41654 SIGRTMIN and SIGRTMAX and print information in that case only when
41655 SIGRTMIN is defined.
41656
416572011-02-11 Jakub Jelinek <jakub@redhat.com>
41658
41659 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
41660 arginfo fn returning -1.
41661
41662 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
41663 and thousands string is zero terminated.
41664
416652011-02-03 Andreas Schwab <schwab@redhat.com>
41666
41667 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
41668 sysdeps/unix/sysv/linux/bits/socket.h.
41669
416702011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
41671
41672 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
41673 (__CPU_COUNT): Remove old macros.
41674 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
41675 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
41676 (__CPU_ALLOC, __CPU_FREE): Add macros.
41677 (__sched_cpualloc, __sched_cpufree): Add declarations.
41678
416792011-02-05 Ulrich Drepper <drepper@gmail.com>
41680
41681 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
41682 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
41683 * nscd/aicache.c (addhstaiX): Return timeout of added value.
41684 (readdhstai): Return value of addhstaiX call.
41685 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
41686 (addgrbyX): Return value returned by cache_addgr.
41687 (readdgrbyname): Return value returned by addgrbyX.
41688 (readdgrbygid): Likewise.
41689 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
41690 (addpwbyX): Return value returned by cache_addpw.
41691 (readdpwbyname): Return value returned by addhstbyX.
41692 (readdpwbyuid): Likewise.
41693 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
41694 (addservbyX): Return value returned by cache_addserv.
41695 (readdservbyname): Return value returned by addservbyX:
41696 (readdservbyport): Likewise.
41697 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
41698 (addhstbyX): Return value returned by cache_addhst.
41699 (readdhstbyname): Return value returned by addhstbyX.
41700 (readdhstbyaddr): Likewise.
41701 (readdhstbynamev6): Likewise.
41702 (readdhstbyaddrv6): Likewise.
41703 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
41704 (readdinitgroups): Return value returned by addinitgroupsX.
41705 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
41706 (prune_cache): Keep track of timeout value of re-added entries.
41707 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
41708 * nscd/nscd.h: Adjust prototypes of readd* functions.
41709
417102011-02-04 Roland McGrath <roland@redhat.com>
41711
41712 * nis/nis_server.c (nis_servstate): Use the right name for 0.
41713 (nis_stats): Likewise.
41714 * nis/nis_modify.c (nis_modify): Likewise.
41715 * nis/nis_remove.c (nis_remove): Likewise.
41716 * nis/nis_add.c (nis_add): Likewise.
41717
41718 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
41719
41720 * posix/fnmatch_loop.c: Add some consts.
41721
41722 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
41723
417242011-02-02 H.J. Lu <hongjiu.lu@intel.com>
41725
41726 [BZ #12460]
41727 * config.make.in (config-cflags-novzeroupper): Define.
41728 * configure.in: Substitute libc_cv_cc_novzeroupper.
41729 * elf/Makefile (AVX-CFLAGS): Define.
41730 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
41731 (CFLAGS-tst-auditmod4a.c): Likewise.
41732 (CFLAGS-tst-auditmod4b.c): Likewise.
41733 (CFLAGS-tst-auditmod6b.c): Likewise.
41734 (CFLAGS-tst-auditmod6c.c): Likewise.
41735 (CFLAGS-tst-auditmod7b.c): Likewise.
41736 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
41737
417382011-02-02 Ulrich Drepper <drepper@gmail.com>
41739
41740 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
41741 function to the callback.
41742 Patch partly by Jiri Olsa <jolsa@redhat.com>.
41743
417442011-02-02 Andreas Schwab <schwab@redhat.com>
41745
41746 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
41747 of errno.
41748
417492011-01-19 Ulrich Drepper <drepper@gmail.com>
41750
41751 [BZ #11724]
41752 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
41753 of constructors.
41754 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
41755 of destructors.
41756 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
41757
41758 [BZ #11724]
41759 * elf/Makefile: Add rules to build and run new test.
41760 * elf/tst-initorder.c: New file.
41761 * elf/tst-initorder.exp: New file.
41762 * elf/tst-initordera1.c: New file.
41763 * elf/tst-initordera2.c: New file.
41764 * elf/tst-initordera3.c: New file.
41765 * elf/tst-initordera4.c: New file.
41766 * elf/tst-initorderb1.c: New file.
41767 * elf/tst-initorderb2.c: New file.
41768 * elf/tst-order-a1.c: New file.
41769 * elf/tst-order-a2.c: New file.
41770 * elf/tst-order-a3.c: New file.
41771 * elf/tst-order-a4.c: New file.
41772 * elf/tst-order-b1.c: New file.
41773 * elf/tst-order-b2.c: New file.
41774 * elf/tst-order-main.c: New file.
41775 New test case by George Gensure <werkt0@gmail.com>.
41776
417772010-10-01 Andreas Schwab <schwab@redhat.com>
41778
41779 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
41780 decoding ACE if AI_CANONIDN.
41781
417822011-01-18 Ulrich Drepper <drepper@gmail.com>
41783
41784 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
41785
417862011-01-17 Ulrich Drepper <drepper@gmail.com>
41787
41788 * version.h (RELEASE): Bump for 2.13 release.
41789 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
41790
41791 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
41792
41793 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
41794 MADV_NOHUGEPAGE.
41795 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
41796 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
41797 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
41798 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
41799 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
41800 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
41801
41802 * posix/getconf.c: Update copyright year.
41803 * catgets/gencat.c: Likewise.
41804 * csu/version.c: Likewise.
41805 * debug/catchsegv.sh: Likewise.
41806 * debug/xtrace.sh: Likewise.
41807 * elf/ldconfig.c: Likewise.
41808 * elf/ldd.bash.in: Likewise.
41809 * elf/sprof.c (print_version): Likewise.
41810 * iconv/iconv_prog.c: Likewise.
41811 * iconv/iconvconfig.c: Likewise.
41812 * locale/programs/locale.c: Likewise.
41813 * locale/programs/localedef.c: Likewise.
41814 * malloc/memusage.sh: Likewise.
41815 * malloc/mtrace.pl: Likewise.
41816 * nscd/nscd.c (print_version): Likewise.
41817 * nss/getent.c: Likewise.
41818
41819 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
41820 PF_CAIF, and PF_ALG.
41821 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41822
418232011-01-16 Andreas Schwab <schwab@linux-m68k.org>
41824
41825 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
41826 (modules-names): Use them.
41827 (ifunc-test-modules, ifunc-pie-tests): Define.
41828 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
41829 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
41830 (test-extras): Likewise.
41831 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
41832 $(compile-command.c).
41833 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
41834 (all-built-dso): Define.
41835 (check-textrel.out, check-execstack.out): Depend on it.
41836
41837 * configure.in: Don't override --enable-multi-arch.
41838
418392011-01-15 Ulrich Drepper <drepper@gmail.com>
41840
41841 [BZ #6812]
41842 * nscd/hstcache.c (tryagain): Define.
41843 (cache_addhst): Return tryagain not notfound for temporary errors.
41844 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
41845 failed.
41846
418472011-01-14 Ulrich Drepper <drepper@gmail.com>
41848
41849 [BZ #10563]
41850 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
41851 to make the syscall.
41852 * sysdeps/unix/sysv/linux/setgroups.c: New file.
41853
41854 [BZ #12378]
41855 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
41856 and fall back to matching as normal character if the string ends before
41857 the matching ']' is found. This is what POSIX requires.
41858 * posix/testfnm.c: Adjust test result.
41859 * posix/globtest.sh: Adjust test result. Add new test.
41860 * posix/tst-fnmatch.input: Likewise.
41861 * posix/tst-fnmatch2.c: Add new test.
41862
418632010-12-28 Andreas Schwab <schwab@linux-m68k.org>
41864
41865 * elf/Makefile (check-execstack): Revert last change. Depend on
41866 check-execstack.h.
41867 (check-execstack.h): New target.
41868 (generated): Add check-execstack.h.
41869 * elf/check-execstack.c: Include "check-execstack.h".
41870 (main): Revert last change.
41871 (handle_file): Return zero if GNU_STACK is absent and
41872 DEFAULT_STACK_PERMS doesn't include PF_X.
41873
418742011-01-13 Ulrich Drepper <drepper@gmail.com>
41875
41876 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
41877 in child fails because the descriptor is already closed.
41878 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
41879 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
41880 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
41881
41882 [BZ #12397]
41883 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
41884 syscall.
41885
41886 [BZ #10484]
41887 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
41888 temporary buffer used to handle multi lookups locally.
41889 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
41890
418912011-01-12 Ulrich Drepper <drepper@gmail.com>
41892
41893 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
41894 loader is ld.so.
41895
418962011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
41897
41898 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
41899 alignment for SSE2.
41900
419012011-01-12 Ulrich Drepper <drepper@gmail.com>
41902
41903 [BZ #12394]
41904 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
41905 characters. When rounding increased number of integer digits recompute
41906 number of groups.
41907 * stdio-common/tst-grouping.c: New file.
41908 * stdio-common/Makefile: Add rules to build and run tst-grouping.
41909
419102011-01-09 Ulrich Drepper <drepper@gmail.com>
41911
41912 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
41913 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
41914
41915 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
41916 void.
41917 * bits/select.h: Likewise.
41918
419192011-01-08 Ulrich Drepper <drepper@gmail.com>
41920
41921 * po/ja.po: Update from translation team.
41922
419232011-01-04 David S. Miller <davem@sunset.davemloft.net>
41924
41925 [BZ #11155]
41926 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
41927 implementation just like for lxstat, fxstatat, et al.
41928
419292010-12-27 Jim Meyering <meyering@redhat.com>
41930
41931 [BZ #12348]
41932 * posix/regexec.c (build_trtable): Return failure indication upon
41933 calloc failure. Otherwise, re_search_internal could infloop on OOM.
41934
419352010-12-25 Ulrich Drepper <drepper@gmail.com>
41936
41937 [BZ #12201]
41938 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
41939 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
41940 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
41941 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
41942
41943 [BZ #12207]
41944 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
41945
41946 [BZ #12204]
41947 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
41948 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
41949
419502010-12-15 H.J. Lu <hongjiu.lu@intel.com>
41951
41952 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
41953 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
41954 script has SORT_BY_INIT_PRIORITY.
41955 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
41956 NO_CTORS_DTORS_SECTIONS is defined.
41957 * elf/soinit.c: Likewise.
41958 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
41959 NO_CTORS_DTORS_SECTIONS is defined.
41960 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
41961 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
41962 * sysdeps/sh/init-first.c: Likewise.
41963 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
41964
419652010-12-24 Ulrich Drepper <drepper@gmail.com>
41966
41967 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
41968 always use the slow path.
41969
419702010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
41971
41972 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
41973 similar rule which adds the sysdep directories to the header search in
41974 order to pick up the correct platform stackinfo.h.
41975 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
41976 perform test if it is, otherwise return successfully without testing.
41977 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
41978 DEFAULT_STACK_PERMS define in stackinfo.h.
41979 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
41980 defined in stackinfo.h.
41981 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
41982 DEFAULT_STACK_PERMS defined in stackinfo.h.
41983 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
41984 * sysdeps/ia64/stackinfo.h: Likewise.
41985 * sysdeps/s390/stackinfo.h: Likewise.
41986 * sysdeps/sh/stackinfo.h: Likewise.
41987 * sysdeps/sparc/stackinfo.h: Likewise.
41988 * sysdeps/x86_64/stackinfo.h: Likewise.
41989 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
41990 PF_X for powerpc64. Retain PF_X for powerpc32.
41991
419922010-12-19 Ulrich Drepper <drepper@gmail.com>
41993
41994 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
41995 accurately.
41996 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
41997 GETDENTS_64BIT_ALIGNED.
41998
419992010-12-14 Ulrich Drepper <dreper@gmail.com>
42000
42001 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
42002
420032010-12-10 Andreas Schwab <schwab@redhat.com>
42004
42005 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
42006 _GNU_SOURCE.
42007
42008 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
42009 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
42010 Remove __restrict.
42011 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
42012 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
42013
420142010-12-09 Ulrich Drepper <drepper@gmail.com>
42015
42016 [BZ #11655]
42017 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
42018 are initialized.
42019
420202010-12-09 Jakub Jelinek <jakub@redhat.com>
42021
42022 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
42023
420242010-12-03 Ulrich Drepper <drepper@gmail.com>
42025
42026 * po/it.po: Update from translation team.
42027
420282010-12-01 H.J. Lu <hongjiu.lu@intel.com>
42029
42030 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
42031 unused codes.
42032
420332010-11-30 Ulrich Drepper <drepper@gmail.com>
42034
42035 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
42036
420372010-11-24 Andreas Schwab <schwab@redhat.com>
42038
42039 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
42040 specially.
42041 (gaih_getanswer_slice): Likewise.
42042
420432010-10-20 Jakub Jelinek <jakub@redhat.com>
42044
42045 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
42046
420472010-05-31 Petr Baudis <pasky@suse.cz>
42048
42049 [BZ #11149]
42050 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
42051 silently even in the chroot mode.
42052
420532010-11-22 Ulrich Drepper <drepper@gmail.com>
42054
42055 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
42056 last patch a bit. Pretty printing
42057
420582010-05-31 Petr Baudis <pasky@suse.cz>
42059
42060 [BZ #10085]
42061 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
42062 initialization of skip_initgroups_dyn.
42063
420642010-11-19 Ulrich Drepper <drepper@gmail.com>
42065
42066 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
42067 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
42068
420692010-11-16 Ulrich Drepper <drepper@gmail.com>
42070
42071 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
42072
420732010-11-11 Andreas Schwab <schwab@redhat.com>
42074
42075 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
42076 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
42077 (tst-fnmatch-ENV): Set MALLOC_TRACE.
42078 ($(objpfx)tst-fnmatch-mem): New rule.
42079 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
42080 * posix/tst-fnmatch.c (main): Call mtrace.
42081
420822010-11-11 H.J. Lu <hongjiu.lu@intel.com>
42083
42084 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42085 Support Intel processor model 6 and model 0x2c.
42086
420872010-11-10 Luis Machado <luisgpm@br.ibm.com>
42088
42089 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
42090 signed comparison.
42091
420922010-11-09 H.J. Lu <hongjiu.lu@intel.com>
42093
42094 [BZ #12205]
42095 * string/test-strncasecmp.c (check_result): New function.
42096 (do_one_test): Use it.
42097 (check1): New function.
42098 (test_main): Use it.
42099 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
42100 Support strcasecmp and strncasecmp.
42101
421022010-11-08 Ulrich Drepper <drepper@gmail.com>
42103
42104 [BZ #12194]
42105 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
42106 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42107
421082010-11-07 H.J. Lu <hongjiu.lu@intel.com>
42109
42110 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
42111 IFUNC support.
42112 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42113 memset-x86-64.
42114 * sysdeps/x86_64/multiarch/bzero.S: New file.
42115 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
42116 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
42117 * sysdeps/x86_64/multiarch/memset.S: New file.
42118 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
42119 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42120 Set bit_Prefer_SSE_for_memop for Intel processors.
42121 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
42122 Define.
42123 (index_Prefer_SSE_for_memop): Define.
42124 (HAS_PREFER_SSE_FOR_MEMOP): Define.
42125
421262010-11-04 Luis Machado <luisgpm@br.ibm.com>
42127
42128 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
42129 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
42130
421312010-11-03 H.J. Lu <hongjiu.lu@intel.com>
42132
42133 [BZ #12191]
42134 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
42135 (__x86_64_raw_data_cache_size_half): Likewise.
42136 (__x86_64_raw_shared_cache_size): Likewise.
42137 (__x86_64_raw_shared_cache_size_half): Likewise.
42138
42139 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
42140 (__x86_64_raw_data_cache_size_half): Likewise.
42141 (__x86_64_raw_shared_cache_size): Likewise.
42142 (__x86_64_raw_shared_cache_size_half): Likewise.
42143 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
42144 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
42145 and __x86_64_raw_shared_cache_size_half. Round
42146 __x86_64_data_cache_size_half, __x86_64_data_cache_size
42147 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
42148 to multiple of 256 bytes.
42149
421502010-11-03 Ulrich Drepper <drepper@gmail.com>
42151
42152 [BZ #12167]
42153 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
42154 of inacessible symlinks. Verify result of symlink before returning it.
42155 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
42156 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
42157
421582010-10-28 Erich Ritz <erichritz@gmail.com>
42159
42160 * math/math.h (isinf): Fix typo in comment.
42161
421622010-11-01 Ulrich Drepper <drepper@gmail.com>
42163
42164 * po/da.po: Update from translation team.
42165
421662010-10-26 Ulrich Drepper <drepper@gmail.com>
42167
42168 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
42169 is added to the list.
42170
421712010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42172 Ulrich Drepper <drepper@gmail.com>
42173
42174 * elf/dl-object.c (_dl_new_object): Don't append the new object to
42175 the global list here. Move code to...
42176 (_dl_add_to_namespace_list): ...here. New function.
42177 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
42178 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
42179 * elf/dl-load.c (lose): Don't remove the element from the list.
42180 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
42181 (_dl_map_object): Likewise.
42182
421832010-10-25 Ulrich Drepper <drepper@gmail.com>
42184
42185 [BZ #12159]
42186 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
42187 into all bytes of SSE register.
42188 Patch by Richard Li <richardpku@gmail.com>.
42189
421902010-10-24 Ulrich Drepper <drepper@gmail.com>
42191
42192 [BZ #12140]
42193 * malloc/malloc.c (_int_free): Fill correct number of bytes when
42194 perturbing.
42195
421962010-10-20 Michael B. Brutman <brutman@us.ibm.com>
42197
42198 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
42199 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
42200 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
42201 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
42203 submachine.
42204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
42205
422062010-10-22 Andreas Schwab <schwab@redhat.com>
42207
42208 * include/dlfcn.h (__RTLD_SECURE): Define.
42209 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
42210 mode & __RTLD_SECURE instead.
42211 (open_path): Rename preloaded parameter to secure.
42212 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
42213 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
42214 * elf/dl-deps.c (openaux): Likewise.
42215 * elf/rtld.c (struct map_args): Remove is_preloaded.
42216 (map_doit): Don't use it.
42217 (dl_main): Likewise.
42218 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
42219 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
42220
422212010-09-09 Andreas Schwab <schwab@redhat.com>
42222
42223 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
42224 (sysd-rules-targets): Remove duplicates.
42225 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
42226 rtld-%.$o dependency.
42227
422282010-10-18 Andreas Schwab <schwab@redhat.com>
42229
42230 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
42231 _dl_map_object do it.
42232
422332010-10-19 Ulrich Drepper <drepper@gmail.com>
42234
42235 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
42236 fast fma builtins, define the macros in the C99 standard.
42237 (FP_FAST_FMAF): Likewise.
42238 (FP_FAST_FMAL): Likewise.
42239 * sysdeps/x86_64/bits/mathdef.h: Likewise.
42240
42241 * bits/mathdef.h: Update copyright year.
42242 * sysdeps/powerpc/bits/mathdef.h: Likewise.
42243
422442010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
42245
42246 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
42247 builtins, define the macros in the C99 standard.
42248 (FP_FAST_FMAF): Likewise.
42249 (FP_FAST_FMAL): Likewise.
42250 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
42251 multiply/add.
42252 (FP_FAST_FMAF): Likewise.
42253
422542010-10-15 Jakub Jelinek <jakub@redhat.com>
42255
42256 [BZ #3268]
42257 * math/libm-test.inc (fma_test): Some new testcases.
42258 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
42259 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
42260 y and infinite z. Do multiplication by C already in long double.
42261 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
42262 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
42263 y and infinite z. Do bitwise or of inexact bit into u.d.
42264 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
42265 * sysdeps/i386/fpu/s_fmaf.S: Removed.
42266 * sysdeps/i386/fpu/s_fma.S: Removed.
42267 * sysdeps/i386/fpu/s_fmal.S: Removed.
42268
422692010-10-16 Jakub Jelinek <jakub@redhat.com>
42270
42271 [BZ #3268]
42272 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
42273 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
42274 computation is not scheduled after fetestexcept. Fix value
42275 of minimum denormal long double.
42276
422772010-10-14 Jakub Jelinek <jakub@redhat.com>
42278
42279 [BZ #3268]
42280 * math/libm-test.inc (fma_test): Add some more tests.
42281 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
42282 correctly.
42283
422842010-10-15 Andreas Schwab <schwab@redhat.com>
42285
42286 * scripts/data/localplt-s390-linux-gnu.data: New file.
42287 * scripts/data/localplt-s390x-linux-gnu.data: New file.
42288
422892010-10-13 Jakub Jelinek <jakub@redhat.com>
42290
42291 [BZ #3268]
42292 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
42293 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
42294 instead of dbl-64.
42295 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
42296 inlines.
42297 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
42298 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
42299 if one of x and y is very large and the other is subnormal.
42300 * sysdeps/s390/fpu/s_fmaf.c: New file.
42301 * sysdeps/s390/fpu/s_fma.c: New file.
42302 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
42303 * sysdeps/powerpc/fpu/s_fma.S: New file.
42304 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
42305 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
42306 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
42307
423082010-10-12 Jakub Jelinek <jakub@redhat.com>
42309
42310 [BZ #3268]
42311 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
42312 fma tests.
42313 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
42314 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
42315 * sysdeps/i386/i686/multiarch/s_fma.c: Include
42316 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
42317 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
42318 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
42319 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
42320
423212010-10-12 Ulrich Drepper <drepper@redhat.com>
42322
42323 [BZ #12078]
42324 * posix/regcomp.c (parse_branch): One more memory leak plugged.
42325 * posix/bug-regex31.input: Add test case.
42326
423272010-10-11 Ulrich Drepper <drepper@gmail.com>
42328
42329 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
42330 * posix/bug-regex31.input: New file.
42331
42332 [BZ #12078]
42333 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
42334 (parse_sub_exp): Fix last change, use postorder.
42335
42336 * posix/bug-regex31.c: New file.
42337 * posix/Makefile: Add rules to build and run bug-regex31.
42338
42339 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
42340
42341 [BZ #12078]
42342 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
42343
42344 [BZ #12108]
42345 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
42346 to have entries in sys_siglist.
42347
42348 [BZ #12093]
42349 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
42350 be NULL.
42351
423522010-10-07 Jakub Jelinek <jakub@redhat.com>
42353
42354 [BZ #3268]
42355 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
42356 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
42357 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
42358 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
42359 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
42360 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
42361 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
42362 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
42363 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
42364 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
42365 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
42366 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
42367 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
42368 * math/ftestexcept.c (fetestexcept): Likewise.
42369 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
42370 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
42371 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
42372 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
42373 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
42374 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
42375 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
42376
423772010-10-11 Ulrich Drepper <drepper@gmail.com>
42378
42379 [BZ #12107]
42380 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
42381 newline.
42382
423832010-10-06 Ulrich Drepper <drepper@gmail.com>
42384
42385 * string/bug-strstr1.c: New file.
42386 * string/Makefile: Add rules to build and run bug-strstr1.
42387
423882010-10-05 Eric Blake <eblake@redhat.com>
42389
42390 [BZ #12092]
42391 * string/str-two-way.h (two_way_long_needle): Always clear memory
42392 when skipping input due to the shift table.
42393
423942010-10-03 Ulrich Drepper <drepper@gmail.com>
42395
42396 [BZ #12005]
42397 * malloc/mcheck.c: Handle large requests.
42398
42399 [BZ #12077]
42400 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
42401 for strncmp and strncasecmp.
42402 * string/stratcliff.c: Add tests for strcmp and strncmp.
42403 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
42404
424052010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42406
42407 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
42408 __set_fpscr.
42409
424102010-09-30 Andreas Jaeger <aj@suse.de>
42411
42412 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
42413 (CGROUP_SUPER_MAGIC): Define.
42414 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42415 Handle btrfs and cgroup file systems.
42416 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
42417 Likewise.
42418
424192010-09-27 Luis Machado <luisgpm@br.ibm.com>
42420
42421 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
42422 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
42423
424242010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42425
42426 [BZ #12067]
42427 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
42428 trying to locate the ELF header.
42429
424302010-09-27 Andreas Schwab <schwab@redhat.com>
42431
42432 [BZ #11611]
42433 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
42434 Mask out sign-bit copies when constructing f_fsid.
42435
424362010-09-24 Petr Baudis <pasky@suse.cz>
42437
42438 * debug/stack_chk_fail_local.c: Add missing licence exception.
42439 * debug/warning-nop.c: Likewise.
42440
424412010-09-15 Joseph Myers <joseph@codesourcery.com>
42442
42443 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
42444 implementing getdents64 using getdents syscall, set d_type if
42445 __ASSUME_GETDENTS32_D_TYPE.
42446
424472010-09-16 Andreas Schwab <schwab@redhat.com>
42448
42449 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
42450 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
42451
424522010-09-21 Ulrich Drepper <drepper@redhat.com>
42453
42454 [BZ #12037]
42455 * posix/unistd.h: Undo change of feature selection for ftruncate from
42456 2010-01-11.
42457
424582010-09-20 Ulrich Drepper <drepper@redhat.com>
42459
42460 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
42461 detection.
42462
424632010-09-20 Andreas Schwab <schwab@redhat.com>
42464
42465 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
42466 fanotify_mark.
42467 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42468
424692010-09-14 Andreas Schwab <schwab@redhat.com>
42470
42471 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
42472 variables after CHECK_SP call.
42473 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
42474
424752010-09-13 Andreas Schwab <schwab@redhat.com>
42476 Ulrich Drepper <drepper@redhat.com>
42477
42478 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
42479 re-relocationg ld.so.
42480 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
42481 _dl_init_paths call.
42482 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
42483 here anymore.
42484
424852010-09-14 Ulrich Drepper <drepper@redhat.com>
42486
42487 * resolv/res_init.c (__res_vinit): Count the default server we added.
42488
424892010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
42490 Ulrich Drepper <drepper@redhat.com>
42491
42492 [BZ #11968]
42493 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
42494 (____longjmp_chk): Use %ebx for saving value across system call.
42495 Add unwind info.
42496
424972010-09-06 Andreas Schwab <schwab@redhat.com>
42498
42499 * manual/Makefile: Don't mix pattern rules with normal rules.
42500
425012010-09-05 Andreas Schwab <schwab@linux-m68k.org>
42502
42503 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
42504 operation.
42505 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
42506 * libio/iofopncook.c (_IO_cookie_init): Likewise.
42507 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
42508 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
42509 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42510 Likewise.
42511
425122010-09-04 Ulrich Drepper <drepper@redhat.com>
42513
42514 [BZ #11979]
42515 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
42516 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
42517
425182010-09-02 Ulrich Drepper <drepper@redhat.com>
42519
42520 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
42521 * sysdeps/x86_64/addmul_1.S: Likewise.
42522 * sysdeps/x86_64/lshift.S: Likewise.
42523 * sysdeps/x86_64/mul_1.S: Likewise.
42524 * sysdeps/x86_64/rshift.S: Likewise.
42525 * sysdeps/x86_64/sub_n.S: Likewise.
42526 * sysdeps/x86_64/submul_1.S: Likewise.
42527
425282010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
42529
42530 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
42531 Define __sched_param instead of SCHED_* and sched_param when
42532 <bits/sched.h> is included with __need_schedparam defined.
42533 * bits/sched.h [__need_schedparam]
42534 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
42535 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
42536 (__defined_schedparam): Define to 1.
42537 (__sched_param): New structure, identical to sched_param.
42538 (__need_schedparam): Undefine.
42539
425402010-08-31 Mike Frysinger <vapier@gentoo.org>
42541
42542 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
42543 (epoll_create1): Declare.
42544
42545 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
42546
425472010-08-31 Andreas Schwab <schwab@redhat.com>
42548
42549 [BZ #7066]
42550 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
42551 shifting retval into place.
42552
425532010-09-01 Ulrich Drepper <drepper@redhat.com>
42554
42555 * nis/rpcsvc/nis.h: Update copyright notice.
42556 * nis/rpcsvc/nis.x: Likewise.
42557 * nis/rpcsvc/nis_callback.h: Likewise.
42558 * nis/rpcsvc/nis_callback.x: Likewise.
42559 * nis/rpcsvc/nis_object.x: Likewise.
42560 * nis/rpcsvc/nis_tags.h: Likewise.
42561 * nis/rpcsvc/yp.h: Likewise.
42562 * nis/rpcsvc/yp.x: Likewise.
42563 * nis/rpcsvc/ypupd.h: Likewise.
42564 * nis/yp_xdr.c: Likewise.
42565 * nis/ypupdate_xdr.c: Likewise.
42566
42567 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
42568 mainly the body of pmap_getport. Add parameters to specify timeouts.
42569 (pmap_getport): Use __libc_rpc_getport.
42570 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
42571 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
42572 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
42573
425742010-08-31 Andreas Schwab <schwab@linux-m68k.org>
42575
42576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
42577 fanotify_mark.
42578
425792010-08-27 Roland McGrath <roland@redhat.com>
42580
42581 * sysdeps/i386/i686/multiarch/Makefile
42582 (CFLAGS-varshift.c): New variable.
42583
425842010-08-27 Ulrich Drepper <drepper@redhat.com>
42585
42586 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
42587 * sysdeps/i386/i686/multiarch/varshift.c: New file.
42588
42589 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
42590
42591 * sysdeps/x86_64/strlen.S: Minimal code improvement.
42592
425932010-08-26 H.J. Lu <hongjiu.lu@intel.com>
42594
42595 * sysdeps/x86_64/strlen.S: Unroll the loop.
42596 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42597 strlen-sse2 strlen-sse2-bsf.
42598 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
42599 __strlen_no_bsf if bit_Slow_BSF is set.
42600 (__strlen_sse42): Removed.
42601 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
42602 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
42603
426042010-08-25 Roland McGrath <roland@redhat.com>
42605
42606 * sysdeps/x86_64/multiarch/varshift.S: File removed.
42607 * sysdeps/x86_64/multiarch/varshift.c: New file.
42608 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
42609 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
42610 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
42611 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
42612
426132010-08-25 H.J. Lu <hongjiu.lu@intel.com>
42614
42615 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42616 strlen-sse2 strlen-sse2-bsf.
42617 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
42618 __strlen_sse2_bsf if bit_Slow_BSF is unset.
42619 (__strlen_sse2): Removed.
42620 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
42621 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
42622 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
42623 bit_Slow_BSF for Atom.
42624 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
42625 (index_Slow_BSF): Define.
42626 (HAS_SLOW_BSF): Define.
42627
426282010-08-25 Ulrich Drepper <drepper@redhat.com>
42629
42630 [BZ #10851]
42631 * resolv/res_init.c (__res_vinit): When no server address at all
42632 is given default to loopback.
42633
426342010-08-24 Roland McGrath <roland@redhat.com>
42635
42636 * configure.in: Remove config-name.h generation.
42637 * configure: Regenerated.
42638 * config-name.in: File removed.
42639 * scripts/config-uname.sh: New file.
42640 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
42641 ($(objdir)config-name.h): New target.
42642
42643 * sunrpc/rpc_parse.h: Avoid nested comment.
42644
426452010-08-24 Richard Henderson <rth@redhat.com>
42646 Ulrich Drepper <drepper@redhat.com>
42647 H.J. Lu <hongjiu.lu@intel.com>
42648
42649 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
42650 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
42651 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
42652 Replace _mm_srli_si128 with __m128i_shift_right. Replace
42653 _mm_alignr_epi8 with _mm_loadu_si128.
42654 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
42655 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
42656 (__m128i_shift_right): Removed.
42657 * sysdeps/i386/i686/multiarch/varshift.h: New file.
42658 * sysdeps/i386/i686/multiarch/varshift.S: New file.
42659 * sysdeps/x86_64/multiarch/varshift.h: New file.
42660 * sysdeps/x86_64/multiarch/varshift.S: New file.
42661
426622010-08-21 Mike Frysinger <vapier@gentoo.org>
42663
42664 * configure.in: Move assembler checks to before sysdep dir checking.
42665
426662010-08-20 Petr Baudis <pasky@suse.cz>
42667
42668 * LICENSES: Sync the sunrpc license.
42669
426702010-08-19 Ulrich Drepper <drepper@redhat.com>
42671
42672 * sunrpc/auth_des.c: Update copyright notice once again.
42673 * sunrpc/auth_none.c: Likewise.
42674 * sunrpc/auth_unix.c: Likewise.
42675 * sunrpc/authdes_prot.c: Likewise.
42676 * sunrpc/authuxprot.c: Likewise.
42677 * sunrpc/bindrsvprt.c: Likewise.
42678 * sunrpc/clnt_gen.c: Likewise.
42679 * sunrpc/clnt_perr.c: Likewise.
42680 * sunrpc/clnt_raw.c: Likewise.
42681 * sunrpc/clnt_simp.c: Likewise.
42682 * sunrpc/clnt_tcp.c: Likewise.
42683 * sunrpc/clnt_udp.c: Likewise.
42684 * sunrpc/clnt_unix.c: Likewise.
42685 * sunrpc/des_crypt.c: Likewise.
42686 * sunrpc/des_soft.c: Likewise.
42687 * sunrpc/get_myaddr.c: Likewise.
42688 * sunrpc/getrpcport.c: Likewise.
42689 * sunrpc/key_call.c: Likewise.
42690 * sunrpc/key_prot.c: Likewise.
42691 * sunrpc/openchild.c: Likewise.
42692 * sunrpc/pm_getmaps.c: Likewise.
42693 * sunrpc/pm_getport.c: Likewise.
42694 * sunrpc/pmap_clnt.c: Likewise.
42695 * sunrpc/pmap_prot.c: Likewise.
42696 * sunrpc/pmap_prot2.c: Likewise.
42697 * sunrpc/pmap_rmt.c: Likewise.
42698 * sunrpc/rpc/auth.h: Likewise.
42699 * sunrpc/rpc/auth_unix.h: Likewise.
42700 * sunrpc/rpc/clnt.h: Likewise.
42701 * sunrpc/rpc/des_crypt.h: Likewise.
42702 * sunrpc/rpc/key_prot.h: Likewise.
42703 * sunrpc/rpc/netdb.h: Likewise.
42704 * sunrpc/rpc/pmap_clnt.h: Likewise.
42705 * sunrpc/rpc/pmap_prot.h: Likewise.
42706 * sunrpc/rpc/pmap_rmt.h: Likewise.
42707 * sunrpc/rpc/rpc.h: Likewise.
42708 * sunrpc/rpc/rpc_des.h: Likewise.
42709 * sunrpc/rpc/rpc_msg.h: Likewise.
42710 * sunrpc/rpc/svc.h: Likewise.
42711 * sunrpc/rpc/svc_auth.h: Likewise.
42712 * sunrpc/rpc/types.h: Likewise.
42713 * sunrpc/rpc/xdr.h: Likewise.
42714 * sunrpc/rpc_clntout.c: Likewise.
42715 * sunrpc/rpc_cmsg.c: Likewise.
42716 * sunrpc/rpc_common.c: Likewise.
42717 * sunrpc/rpc_cout.c: Likewise.
42718 * sunrpc/rpc_dtable.c: Likewise.
42719 * sunrpc/rpc_hout.c: Likewise.
42720 * sunrpc/rpc_main.c: Likewise.
42721 * sunrpc/rpc_parse.c: Likewise.
42722 * sunrpc/rpc_parse.h: Likewise.
42723 * sunrpc/rpc_prot.c: Likewise.
42724 * sunrpc/rpc_sample.c: Likewise.
42725 * sunrpc/rpc_scan.c: Likewise.
42726 * sunrpc/rpc_scan.h: Likewise.
42727 * sunrpc/rpc_svcout.c: Likewise.
42728 * sunrpc/rpc_tblout.c: Likewise.
42729 * sunrpc/rpc_util.c: Likewise.
42730 * sunrpc/rpc_util.h: Likewise.
42731 * sunrpc/rpcinfo.c: Likewise.
42732 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
42733 * sunrpc/rpcsvc/key_prot.x: Likewise.
42734 * sunrpc/rpcsvc/klm_prot.x: Likewise.
42735 * sunrpc/rpcsvc/mount.x: Likewise.
42736 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
42737 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
42738 * sunrpc/rpcsvc/rex.x: Likewise.
42739 * sunrpc/rpcsvc/rstat.x: Likewise.
42740 * sunrpc/rpcsvc/rusers.x: Likewise.
42741 * sunrpc/rpcsvc/sm_inter.x: Likewise.
42742 * sunrpc/rpcsvc/spray.x: Likewise.
42743 * sunrpc/rpcsvc/yppasswd.x: Likewise.
42744 * sunrpc/rtime.c: Likewise.
42745 * sunrpc/svc.c: Likewise.
42746 * sunrpc/svc_auth.c: Likewise.
42747 * sunrpc/svc_authux.c: Likewise.
42748 * sunrpc/svc_raw.c: Likewise.
42749 * sunrpc/svc_run.c: Likewise.
42750 * sunrpc/svc_simple.c: Likewise.
42751 * sunrpc/svc_tcp.c: Likewise.
42752 * sunrpc/svc_udp.c: Likewise.
42753 * sunrpc/svc_unix.c: Likewise.
42754 * sunrpc/svcauth_des.c: Likewise.
42755 * sunrpc/xcrypt.c: Likewise.
42756 * sunrpc/xdr.c: Likewise.
42757 * sunrpc/xdr_array.c: Likewise.
42758 * sunrpc/xdr_float.c: Likewise.
42759 * sunrpc/xdr_mem.c: Likewise.
42760 * sunrpc/xdr_rec.c: Likewise.
42761 * sunrpc/xdr_ref.c: Likewise.
42762 * sunrpc/xdr_sizeof.c: Likewise.
42763 * sunrpc/xdr_stdio.c: Likewise.
42764
42765 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
42766 handling.
42767
427682010-08-19 Andreas Schwab <schwab@redhat.com>
42769
42770 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
42771
427722010-08-19 Luis Machado <luisgpm@br.ibm.com>
42773
42774 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
42775 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
42776 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
42777 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
42778 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
42779 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
42780 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
42781 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
42782 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
42783 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
42784 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
42785 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
42786 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
42787 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
42788
427892010-07-26 Anton Blanchard <anton@samba.org>
42790
42791 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
42792 * malloc/arena.c (heap_trim): Likewise.
42793
427942010-08-16 Ulrich Drepper <drepper@redhat.com>
42795
42796 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
42797 here. Not...
42798 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
42799 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
42800
428012010-08-12 H.J. Lu <hongjiu.lu@intel.com>
42802
42803 * sysdeps/i386/elf/Makefile: New file.
42804
428052010-08-14 Andreas Schwab <schwab@linux-m68k.org>
42806
42807 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
42808 from fanotify_init.
42809 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
42810 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42811
428122010-08-15 Ulrich Drepper <drepper@redhat.com>
42813
42814 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
42815 of strncasecmp_l.
42816 * sysdeps/multiarch/strcmp.S: Likewise.
42817
428182010-08-14 Ulrich Drepper <drepper@redhat.com>
42819
42820 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
42821 strncase_l-nonascii.
42822 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
42823 Add strncase_l-ssse3.
42824 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
42825 * sysdeps/x86_64/strcmp.S: Likewise.
42826 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
42827 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
42828 * sysdeps/x86_64/strncase.S: New file.
42829 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
42830 * sysdeps/x86_64/strncase_l.S: New file.
42831 * string/Makefile (strop-tests): Add strncasecmp.
42832 * string/test-strncasecmp.c: New file.
42833
42834 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
42835 warning.
42836
42837 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
42838 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
42839
428402010-08-14 Andreas Schwab <schwab@linux-m68k.org>
42841
42842 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
42843
428442010-08-12 Ulrich Drepper <drepper@redhat.com>
42845
42846 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
42847 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
42848 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
42849
428502010-05-01 Alan Modra <amodra@gmail.com>
42851
42852 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
42853 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
42854 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
42855 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
42856 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
42857 tidying. Don't tail-call __sigjmp_save for static lib.
42858 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
42859 save location.
42860 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
42861 (CALL_MCOUNT): Add eh info, and nop after bl.
42862 (TAIL_CALL_SYSCALL_ERROR): New macro.
42863 (PSEUDO_RET): Use it.
42864 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
42865 Correct save location of integer regs and cr.
42866 (_dl_profile_resolve): Correct cr save location. Delete nops
42867 after bl when SHARED. Reduce cfi size a little by better
42868 placement of cfi directives.
42869 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
42870 make a stack frame. Instead use parm save area as a temp.
42871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
42872 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
42873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
42874 Don't make a stack frame for parent, use parm save area.
42875 Increase child stack frame to 112 bytes. Don't save unused reg,
42876 and adjust reg usage. Set up cfi on error recovery and
42877 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
42878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
42879 (__makecontext): Add dummy nop after jump to exit.
42880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
42881 Use correct parm save area and cr save, reduce stack frame.
42882 Correct cfi for possible PSEUDO_RET frame setup.
42883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
42884 Branch to local label emitted by PSEUDO_RET rather than
42885 __syscall_error.
42886
428872010-08-12 Andreas Schwab <schwab@redhat.com>
42888
42889 [BZ #11904]
42890 * locale/programs/locale.c (print_assignment): New function.
42891 (show_locale_vars): Use it.
42892
428932010-08-11 Ulrich Drepper <drepper@redhat.com>
42894
42895 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
42896 field.
42897 (struct statfs64): Likewise.
42898 (_STATFS_F_FLAGS): Define.
42899 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
42900 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42901 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
42902 (ST_VALID): Define locally.
42903 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
42904 __statvfs_getflags, use the provided value.
42905 * sysdeps/unix/sysv/linux/kernel-features.h: Define
42906 __ASSUME_STATFS_F_FLAGS.
42907
42908 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
42909
42910 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
42911 Add sys/fanotify.h.
42912 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
42913 fanotify_mask for GLIBC_2.13.
42914 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
42915 fanotify_init and fanotify_mark.
42916 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42917 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
42918
42919 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
42920 Add prlimit.
42921 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
42922 prlimit64 for GLIBC_2.13.
42923 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
42924 prlimit64.
42925 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
42926 syscall.
42927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
42928 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42929 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
42930 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
42931 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
42932 add prlimit alias.
42933 * sysdeps/unix/sysv/linux/prlimit.c: New file.
42934
42935 [BZ #11903]
42936 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
42937 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
42938
42939 * nss/Makefile: Add rules to build and run tst-nss-test1.
42940 * shlib-versions: Add entry for libnss_test1.
42941 * nss/nss_test1.c: New file.
42942 * nss/tst-nss-test1.c: New file.
42943
42944 * nss/nsswitch.c (__nss_database_custom): Define new variable.
42945 (__nss_configure_lookup): Set appropriate entry in
42946 __nss_configure_lookup to true.
42947 * nss/nsswitch.h: Define enum with indeces of databases in
42948 databases and __nss_database_custom arrays. Declare
42949 __nss_database_custom.
42950 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
42951 to avoid using nscd when custom rules are installed.
42952 * nss/getXXbyYY_r.c: Likewise.
42953 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
42954
42955 * nss/nss_files/files-parse.c: Whitespace fixes.
42956
429572010-08-09 Ulrich Drepper <drepper@redhat.com>
42958
42959 [BZ #11883]
42960 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
42961 * posix/fnmatch_loop.c: Likewise.
42962
429632010-07-17 Andi Kleen <ak@linux.intel.com>
42964
42965 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
42966 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
42967 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
42968 * Versions.def [GLIBC_2.13]: Add.
42969
429702010-08-06 Ulrich Drepper <drepper@redhat.com>
42971
42972 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
42973 Also fail if tpwd after pwuid call is NULL.
42974
429752010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
42976
42977 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
42978 when converting to ms.
42979
429802010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
42981
42982 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
42983 EOPNOTSUPP errors with ENOTTY.
42984 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
42985 EOPNOTSUPP errors with ENOTTY.
42986
429872010-07-31 Ulrich Drepper <drepper@redhat.com>
42988
42989 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
42990 Add strcasecmp_l-ssse3.
42991 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
42992 strcasecmp.
42993 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
42994 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
42995 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
42996
429972010-07-30 Ulrich Drepper <drepper@redhat.com>
42998
42999 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
43000
43001 * string/Makefile (strop-tests): Add strcasecmp.
43002 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
43003 strcasecmp_l-nonascii.
43004 (gen-as-const-headers): Add locale-defines.sym.
43005 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
43006 * sysdeps/x86_64/strcasecmp.S: New file.
43007 * sysdeps/x86_64/strcasecmp_l.S: New file.
43008 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
43009 * sysdeps/x86_64/locale-defines.sym: New file.
43010 * string/test-strcasecmp.c: New file.
43011
43012 * string/test-strcasestr.c: Test both ends of the range of characters.
43013 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
43014
430152010-07-29 Roland McGrath <roland@redhat.com>
43016
43017 [BZ #11856]
43018 * manual/locale.texi (Yes-or-No Questions): Fix example code.
43019
430202010-07-27 Ulrich Drepper <drepper@redhat.com>
43021
43022 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
43023 for ld.so.
43024
430252010-07-27 Andreas Schwab <schwab@redhat.com>
43026
43027 * manual/memory.texi (Malloc Tunable Parameters): Document
43028 M_PERTURB.
43029
430302010-07-26 Roland McGrath <roland@redhat.com>
43031
43032 [BZ #11840]
43033 * configure.in (-fgnu89-inline check): Set and substitute
43034 gnu89_inline, not libc_cv_gnu89_inline.
43035 * configure: Regenerated.
43036 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
43037
430382010-07-26 Ulrich Drepper <drepper@redhat.com>
43039
43040 * string/test-strnlen.c: New file.
43041 * string/Makefile (strop-tests): Add strnlen.
43042 * string/tester.c (test_strnlen): Add a few more test cases.
43043 * string/tst-strlen.c: Better error reporting.
43044
43045 * sysdeps/x86_64/strnlen.S: New file.
43046
430472010-07-24 Ulrich Drepper <drepper@redhat.com>
43048
43049 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
43050 lower-latency instructions.
43051
430522010-07-23 Ulrich Drepper <drepper@redhat.com>
43053
43054 * string/test-strcasestr.c: New file.
43055 * string/test-strstr.c: New file.
43056 * string/Makefile (strop-tests): Add strstr and strcasestr.
43057 * string/str-two-way.h: Don't undefine MAX.
43058 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
43059
430602010-07-21 Andreas Schwab <schwab@redhat.com>
43061
43062 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43063 strcasestr-nonascii.
43064 (CFLAGS-strcasestr-nonascii.c): Define.
43065 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
43066 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
43067 Remove unused attribute.
43068
430692010-07-20 Roland McGrath <roland@redhat.com>
43070
43071 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
43072 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
43073 ld.so.cache was broken. With it, there is no way to disable dsocaps
43074 like LD_HWCAP_MASK can disable hwcaps.
43075
430762010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
43077
43078 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
43079
430802010-07-16 Ulrich Drepper <drepper@redhat.com>
43081
43082 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
43083 call in strcasestr.
43084 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
43085 __strcasestr_sse42_nonascii.
43086 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
43087 strcasestr-nonascii.c.
43088 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
43089
430902010-06-15 Luis Machado <luisgpm@br.ibm.com>
43091
43092 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
43093 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
43094 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
43095 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
43096
430972010-07-09 Ulrich Drepper <drepper@redhat.com>
43098
43099 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
43100 fcntl.
43101
431022010-07-06 Andreas Schwab <schwab@redhat.com>
43103
43104 [BZ #11577]
43105 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
43106 dl_signal_cerror.
43107
431082010-07-06 Ulrich Drepper <drepper@redhat.com>
43109
43110 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
43111 _PC_PIPE_BUF using F_GETPIPE_SZ.
43112
431132010-07-05 Roland McGrath <roland@redhat.com>
43114
43115 * manual/arith.texi (Rounding Functions): Fix rint description
43116 implicit in round description.
43117
431182010-07-02 Ulrich Drepper <drepper@redhat.com>
43119
43120 * elf/Makefile: Fix linking for a few tests to make recent linker
43121 happy.
43122
431232010-06-30 Andreas Schwab <schwab@redhat.com>
43124
43125 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
43126 $(common-objpfx)libc_nonshared.a.
43127
431282010-06-21 Luis Machado <luisgpm@br.ibm.com>
43129
43130 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
43131 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
43132 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
43133 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
43134 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
43135 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
43136 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
43137 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
43138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
43139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
43140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
43141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
43142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
43143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
43144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
43145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
43146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
43147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
43148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
43149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
43150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
43151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
43152 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
43153 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
43154 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
43155 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
43156 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
43157 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
43158 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
43159 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
43160 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
43161 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
43162 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
43163 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
43164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
43165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
43166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
43167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
43168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
43169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
43170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
43171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
43172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
43173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
43174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
43175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
43176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
43177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
43178
431792010-06-25 H.J. Lu <hongjiu.lu@intel.com>
43180
43181 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
43182 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
43183 * string/memmove.c (memmove): Renamed to ...
43184 (MEMMOVE): ...this. Default to memmove.
43185 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
43186 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
43187 (END_CHK): Define.
43188 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43189 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
43190 mempcpy-ssse3-back memmove-ssse3-back.
43191 * sysdeps/x86_64/multiarch/bcopy.S: New file .
43192 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
43193 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
43194 * sysdeps/x86_64/multiarch/memcpy.S: New file.
43195 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
43196 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
43197 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
43198 * sysdeps/x86_64/multiarch/memmove.c: New file.
43199 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
43200 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
43201 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
43202 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
43203 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
43204 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
43205 Define.
43206 (index_Fast_Copy_Backward): Define.
43207 (HAS_ARCH_FEATURE): Define.
43208 (HAS_FAST_REP_STRING): Define.
43209 (HAS_FAST_COPY_BACKWARD): Define.
43210
432112010-06-21 Andreas Schwab <schwab@redhat.com>
43212
43213 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
43214 Restore proper fallback handling.
43215
432162010-06-19 Ulrich Drepper <drepper@redhat.com>
43217
43218 [BZ #11701]
43219 * posix/group_member.c (__group_member): Correct checking loop.
43220
43221 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
43222 OOM in getpwuid_r correctly. Return error number when the caller
43223 should return, otherwise -1.
43224 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
43225 call returning > 0 value.
43226 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
43227
432282010-06-07 Andreas Schwab <schwab@redhat.com>
43229
43230 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
43231 libc_nonshared.a from targets in modules-names.
43232
432332010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
43234
43235 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
43236 requires it.
43237
432382010-06-10 Luis Machado <luisgpm@br.ibm.com>
43239
43240 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
43241 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
43242 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
43243 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
43244
432452010-06-02 Andreas Schwab <schwab@redhat.com>
43246
43247 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
43248
432492010-06-14 Ulrich Drepper <drepper@redhat.com>
43250
43251 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
43252 and F_GETPIPE_SZ.
43253 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
43254 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43255 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43256 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43257 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43258 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
43259
432602010-06-14 Roland McGrath <roland@redhat.com>
43261
43262 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
43263
432642010-06-07 Jakub Jelinek <jakub@redhat.com>
43265
43266 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
43267 __REDIRECT followed by __THROW.
43268 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
43269 * posix/getopt.h (getopt): Likewise.
43270
432712010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
43272
43273 * hurd/lookup-at.c (__file_name_lookup_at): Accept
43274 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
43275 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
43276 in AT_FLAGS.
43277 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
43278 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
43279
432802010-05-28 Luis Machado <luisgpm@br.ibm.com>
43281
43282 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
43283
432842010-05-26 H.J. Lu <hongjiu.lu@intel.com>
43285
43286 [BZ #11640]
43287 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43288 Properly check family and model.
43289
432902010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
43291
43292 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
43293
432942010-05-24 Luis Machado <luisgpm@br.ibm.com>
43295
43296 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
43297
432982010-05-21 Ulrich Drepper <drepper@redhat.com>
43299
43300 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
43301 symbol reference.
43302
433032010-05-19 Andreas Schwab <schwab@redhat.com>
43304
43305 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
43306 symbol reference.
43307
433082010-05-21 Andreas Schwab <schwab@redhat.com>
43309
43310 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
43311 and internal_recvmmsg.
43312 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
43313 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
43314 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
43315 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
43316
43317 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
43318 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
43319 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
43320
433212010-05-20 Andreas Schwab <schwab@redhat.com>
43322
43323 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
43324
433252010-05-17 Luis Machado <luisgpm@br.ibm.com>
43326
43327 POWER7 optimizations.
43328 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
43329 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
43330
433312010-05-19 Ulrich Drepper <drepper@redhat.com>
43332
43333 * version.h: Update for 2.13 development version.
43334
433352010-05-12 Andrew Stubbs <ams@codesourcery.com>
43336
43337 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
43338 exceptions. Return 0.
43339
433402010-05-07 Roland McGrath <roland@redhat.com>
43341
43342 * elf/ldconfig.c (main): Add a const.
43343
433442010-05-06 Ulrich Drepper <drepper@redhat.com>
43345
43346 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
43347 (args_options): Add no-idn option.
43348 (ahosts_keys_int): Add idn_flags to ai_flags.
43349 (parse_option): Handle 'i' option to clear idn_flags.
43350
43351 * malloc/malloc.c (_int_free): Possible race in the most recently
43352 added check. Only act on the data if no current modification
43353 happened.
43354
43355See ChangeLog.17 for earlier changes.