]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Fix soft-fp shadowing between __FP_FRAC_ADD_3 and _FP_MUL_MEAT_2_wide_3mul (bug 15667).
[thirdparty/glibc.git] / ChangeLog
CommitLineData
695c378f
JM
12013-06-22 Joseph Myers <joseph@codesourcery.com>
2
3 [BZ #15667]
4 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
5 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
6
d1d54715
MR
72013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
8
9 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
10 DL_DST_REQ_STATIC.
11 (DL_DST_REQ_STATIC): Remove macro.
12
8fdda7af
JM
132013-06-21 Joseph Myers <joseph@codesourcery.com>
14
15 [BZ #7006]
16 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
17 with a shift of 0 bits.
18
f3bc5e5a
MR
192013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
20
21 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
22 $(tststatic-ENV).
23
be09e8c9
KK
242013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25
26 [BZ #15655]
27 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
28
85c2e611
AZ
292013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30
31 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
32 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
33 accepts -fno-tree-loop-distribute-patterns.
34 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
35 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
36 recursive call.
37 * string/memset.c (memset): Likewise.
38 * string/test-memmove.c (simple_memmove): Disable loop transformation
39 to library calls.
40 * string/test-memset.c (simple_memset): Likewise.
41 * benchtests/bench-memmove.c (simple_memmove): Likewise.
42 * benchtests/bench-memset.c (simple_memset): Likewise.
43 * configure: Regenerated.
44
c91e0825
JM
452013-06-20 Joseph Myers <joseph@codesourcery.com>
46
b8c792af
JM
47 * math/test-misc.c (main): Ignore fesetround failure when failures
48 of subsequent rounding tests would be ignored.
49
c91e0825
JM
50 [BZ #15654]
51 * math/fedisblxcpt.c (fedisableexcept): Return 0.
52 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
53 * math/fegetenv.c (__fegetenv): Return 0.
54 * math/fegetexcept.c (fegetexcept): Return 0.
55 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
56 FE_TONEAREST.
57 * math/feholdexcpt.c (feholdexcept): Return 0.
58 * math/fesetenv.c (__fesetenv): Return 0.
59 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
60 argument FE_TONEAREST.
61 * math/feupdateenv.c (__feupdateenv): Return 0.
62 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
63
bfcacbde
RM
642013-06-18 Roland McGrath <roland@hack.frob.com>
65
66 * elf/rtld-Rules (rtld-compile-command.S): New variable.
67 (rtld-compile-command.s, rtld-compile-command.c): New variables.
68 ($(objpfx)rtld-%.os rules): Use them.
69
e55a9b25
AZ
702013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
71
72 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
73 fields.
74
346d65b3
RM
752013-06-17 Roland McGrath <roland@hack.frob.com>
76
12086fb4
RM
77 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
78 length of target pattern, then descending length of dependency pattern.
79 * configure.in (AWK): Require gawk 3.1.2 or newer.
80 * manual/install.texi (Tools for Compilation): Say that we do.
81 * configure: Regenerated.
82
346d65b3
RM
83 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
84 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
85 * scripts/sysd-rules.awk: ... this new script.
86 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
87 than a glob-style pattern.
88
1a846317
JM
892013-06-17 Joseph Myers <joseph@codesourcery.com>
90
91 * math/test-misc.c (main): Do not treat incorrectly rounded
92 conversions as failure unless ROUNDING_TESTS passes.
93
8fc75e6f
JM
942013-06-15 Joseph Myers <joseph@codesourcery.com>
95
3711a167
JM
96 [BZ #15631]
97 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
98 restore exception state around main square root computation, then
99 check for inexactness explicitly.
100
8fc75e6f
JM
101 * math/libm-test.inc (fma_test_data): Add another test.
102
61dd6208
SP
1032013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
104
adf23d2c
SP
105 * manual/threads.texi (Non-POSIX Extensions): New document
106 node. Document pthread_getattr_default_np and
107 pthread_setattr_default_np.
108
61dd6208
SP
109 * Versions.def (libpthread): Add GLIBC_2.18.
110 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
112 Likewise.
113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
114 Likewise.
115 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
116 Likewise.
117 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
118 Likewise.
119 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
120 Likewise.
121 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
122 Likewise.
123 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
124 Likewise.
125 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
126 Likewise.
127 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
128 Likewise.
129
d086fc7b
LD
1302013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
131
132 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
133 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
134
747ef469
SP
1352013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
136 H.J. Lu <hjl.tools@gmail.com>
137
138 [BZ #15627]
139 * sysdeps/x86_64/rtld-memset.c: Remove file.
140 * sysdeps/x86_64/rtld-memset.S: New file.
141
1b2feed2
JM
1422013-06-14 Joseph Myers <joseph@codesourcery.com>
143
144 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
145 (test_in_one_mode): Take arguments for whether the rounding mode
146 is supported for each floating-point type.
147 (do_test): Pass new arguments to test_in_one_mode using
148 ROUNDING_TESTS.
149
a58ad3f8
RM
1502013-06-13 Roland McGrath <roland@hack.frob.com>
151
152 * posix/tst-waitid.c (do_test): Distinguish different instances of
153 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
154 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
155 before entering the kernel for waitpid.
156
c204ab28
SP
1572013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
158
159 * NEWS: Fix note on clock function precision. Text by Roland
160 McGrath.
161
f4a29fba
RM
1622013-06-13 Roland McGrath <roland@hack.frob.com>
163
164 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
165 it into place only when and if the sanity check passes.
166
1f24b9ad
JM
1672013-06-13 Joseph Myers <joseph@codesourcery.com>
168
169 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
170 output for whether conversion result is exact. Take argument
171 indicating whether type is IBM long double.
172 (round_for_all): Change need_exact field to ibm_ld.
173 * stdlib/tst-strtod-round.c (struct exactness): New type.
174 (struct test): Change bool ld_ok field to struct exactness exact.
175 (TEST): Update all definitions for change to field.
176 (tests): Regenerate array contents.
177 (test_in_one_mode): Take pointer to new field instead of old ld_ok
178 field value. Check for IBM long double here.
179 (do_test): Update calls to test_in_one_mode.
180
58206c68
SP
1812013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
182
183 [BZ #12515]
184 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
185 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
186
2d6f4c5b 1872013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
188
189 [BZ #15605]
190 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
191 generated by the compiler on loop optimizations.
192 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
193 general definitions.
194
94f2c076
JM
1952013-06-12 Joseph Myers <joseph@codesourcery.com>
196
197 * math/bug-nextafter.c: Include <math-tests.h>.
198 (main): Only test for exceptions if EXCEPTION_TESTS is true for
199 the relevant type.
200 * math/bug-nexttoward.c: Include <math-tests.h>.
201 (main): Only test for exceptions if EXCEPTION_TESTS is true for
202 the relevant type.
203 * math/test-misc.c: Include <math-tests.h>.
204 (main): Only test for exceptions if EXCEPTION_TESTS is true for
205 the relevant type.
206
e0e50a0a
AJ
2072013-06-12 Andreas Jaeger <aj@suse.de>
208
209 * po/ia.po: Update Interlingua translation from translation
210 project.
211
25061094
SP
2122013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
213
214 * include/fenv.h: Include stdbool.h.
215 (struct rm_ctx): New structure.
216 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
217 Define macro.
218 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
219 (SET_RESTORE_ROUNDF): Likewise.
220 (SET_RESTORE_ROUNDL): Likewise.
221 (SET_RESTORE_ROUND_NOEX): Likewise.
222 (SET_RESTORE_ROUND_NOEXF): Likewise.
223 (SET_RESTORE_ROUND_NOEXL): Likewise.
224 (SET_RESTORE_ROUND_53BIT): Likewise.
225 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
226 (libc_feresetround_noexf_ctx): Likewise.
227 (libc_feresetround_noexl_ctx): Likewise.
228 (libc_feholdsetround_53bit_ctx): Likewise.
229 (libc_feresetround_53bit_ctx): Likewise.
230 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
231 (libc_feholdexcept_setround_sse_ctx): New function.
232 (libc_fesetenv_sse_ctx): Likewise.
233 (libc_feupdateenv_sse_ctx): Likewise.
234 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
235 (libc_feholdexcept_setround_387_ctx): Likewise.
236 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
237 (libc_feholdsetround_387_prec_ctx): Likewise.
238 (libc_feholdsetround_387_ctx): Likewise.
239 (libc_feholdsetround_387_53bit_ctx): Likewise.
240 (libc_feholdsetround_sse_ctx): Likewise.
241 (libc_feresetround_sse_ctx): Likewise.
242 (libc_feresetround_387_ctx): Likewise.
243 (libc_feupdateenv_387_ctx): Likewise.
244 (libc_feholdexcept_setroundf_ctx): Define macro.
245 (libc_fesetenvf_ctx): Likewise.
246 (libc_feupdateenvf_ctx): Likewise.
247 (libc_feholdsetroundf_ctx): Likewise.
248 (libc_feresetroundf_ctx): Likewise.
249 (libc_feholdexcept_setround_ctx): Likewise.
250 (libc_fesetenv_ctx): Likewise.
251 (libc_feupdateenv_ctx): Likewise.
252 (libc_feholdsetround_ctx): Likewise.
253 (libc_feresetround_ctx): Likewise.
254 (libc_feholdexcept_setroundl_ctx): Likewise.
255 (libc_feupdateenvl_ctx): Likewise.
256 (libc_feholdsetroundl_ctx): Likewise.
257 (libc_feresetroundl_ctx): Likewise.
258 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
259 (libc_feresetround_53bit_ctx): Likewise.
260
59b30555
SP
2612013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
262
263 * locale/iso-639.def: Convert to UTF-8.
264
f1d73d30
JM
2652013-06-11 Joseph Myers <joseph@codesourcery.com>
266
267 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
268 (EXCEPTION_TESTS_double): Likewise.
269 (EXCEPTION_TESTS_long_double): Likewise.
270 (EXCEPTION_TESTS): Likewise.
271 * math/libm-test.inc (test_exceptions): Only test exceptions if
272 EXCEPTION_TESTS (FLOAT).
273
94aca5e7
SP
2742013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
275
276 * benchtests/Makefile (string-bench): Add strcpy_chk and
277 stpcpy_chk.
278 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
279 * benchtests/bench-stpcpy_chk.c: New file.
280 * benchtests/bench-strcpy_chk-ifunc.c: New file.
281 * benchtests/bench-strcpy_chk.c: New file.
282 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
283 code.
284 (do_test): Likewise.
285
fac0c5f2
RA
2862013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
287
288 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
289 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
290 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
291 with tabs where appropriate.
292 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
293 dl-procinfo.h.
294 [PPC_PLATFORM_PPC440]: Likewise.
295 [PPC_PLATFORM_PPC464]: Likewise.
296 [PPC_PLATFORM_PPC476]: Likewise.
297 (_dl_string_platform): Add support for detecting ppc405, ppc440,
298 ppc464, and ppc476 platform strings merging from ports/
299 dl-procinfo.h.
300
f22bc486
AS
3012013-06-11 Andreas Schwab <schwab@suse.de>
302
303 [BZ #14991]
304 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
305 (from_ucs4_idx): Regenerate.
306 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
307 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
308 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
309 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
310 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
311 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
312 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
313 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
314 from FROM_LOOP and TO_LOOP specific macros.
315 (BODY): Handle combining characters.
316 * iconvdata/BIG5HKSCS.irreversible: Update.
317 * iconvdata/BIG5HKSCS.precomposed: New file.
318 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
319 characters.
320 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
321
c1f75dc3
SP
3222013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
323
4eacded2
SP
324 * include/sys/time.h: Fix indentation and add copyright header.
325
fec799f8
SP
326 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
327 (do_test): Likewise.
328 * string/test-memchr.c (do_one_test): Likewise.
329 (do_test): Likewise.
330 * string/test-memcmp.c (do_one_test): Likewise.
331 (do_test): Likewise.
332 * string/test-memcpy.c (do_one_test): Likewise.
333 (do_test): Likewise.
334 * string/test-memmem.c (do_one_test): Likewise.
335 (do_test): Likewise.
336 (do_random_tests): Likewise.
337 * string/test-memmove.c (do_one_test): Likewise.
338 (do_test): Likewise.
339 * string/test-memset.c (do_one_test): Likewise.
340 (do_test): Likewise.
341 * string/test-rawmemchr.c (do_one_test): Likewise.
342 (do_test): Likewise.
343 * string/test-strcasecmp.c (do_one_test): Likewise.
344 (do_test): Likewise.
345 * string/test-strcasestr.c (do_one_test): Likewise.
346 (do_test): Likewise.
347 * string/test-strcat.c (do_one_test): Likewise.
348 (do_test): Likewise.
349 * string/test-strchr.c (do_one_test): Likewise.
350 (do_test): Likewise.
351 * string/test-strcmp.c (do_one_test): Likewise.
352 (do_test): Likewise.
353 * string/test-strcpy.c (do_one_test): Likewise.
354 (do_test): Likewise.
355 * string/test-string.h: Likewise.
356 (test_init): Likewise.
357 * string/test-strlen.c (do_one_test): Likewise.
358 (do_test): Likewise.
359 * string/test-strncasecmp.c (do_one_test): Likewise.
360 (do_test): Likewise.
361 * string/test-strncat.c (do_one_test): Likewise.
362 (do_test): Likewise.
363 * string/test-strncmp.c (do_one_test): Likewise.
364 (do_test_limit): Likewise.
365 (do_test): Likewise.
366 * string/test-strncpy.c (do_one_test): Likewise.
367 (do_test): Likewise.
368 * string/test-strnlen.c (do_one_test): Likewise.
369 (do_test): Likewise.
370 * string/test-strpbrk.c (do_one_test): Likewise.
371 (do_test): Likewise.
372 * string/test-strrchr.c (do_one_test): Likewise.
373 (do_test): Likewise.
374 * string/test-strspn.c (do_one_test): Likewise.
375 (do_test): Likewise.
376 * string/test-strstr.c (do_one_test): Likewise.
377 (do_test): Likewise.
378
97020474
SP
379 * benchtests/Makefile (string-bench): Add string benchmarks.
380 * benchtests/bench-bcopy-ifunc.c: New file.
381 * benchtests/bench-bcopy.c: New file.
382 * benchtests/bench-bzero-ifunc.c: New file.
383 * benchtests/bench-bzero.c: New file.
384 * benchtests/bench-memccpy-ifunc.c: New file.
385 * benchtests/bench-memccpy.c: New file.
386 * benchtests/bench-memchr-ifunc.c: New file.
387 * benchtests/bench-memchr.c: New file.
388 * benchtests/bench-memcmp-ifunc.c: New file.
389 * benchtests/bench-memcmp.c: New file.
390 * benchtests/bench-memmem-ifunc.c: New file.
391 * benchtests/bench-memmem.c: New file.
392 * benchtests/bench-memmove-ifunc.c: New file.
393 * benchtests/bench-memmove.c: New file.
394 * benchtests/bench-mempcpy-ifunc.c: New file.
395 * benchtests/bench-mempcpy.c: New file.
396 * benchtests/bench-memset-ifunc.c: New file.
397 * benchtests/bench-memset.c: New file.
398 * benchtests/bench-rawmemchr-ifunc.c: New file.
399 * benchtests/bench-rawmemchr.c: New file.
400 * benchtests/bench-stpcpy-ifunc.c: New file.
401 * benchtests/bench-stpcpy.c: New file.
402 * benchtests/bench-stpncpy-ifunc.c: New file.
403 * benchtests/bench-stpncpy.c: New file.
404 * benchtests/bench-strcasecmp-ifunc.c: New file.
405 * benchtests/bench-strcasecmp.c: New file.
406 * benchtests/bench-strcasestr-ifunc.c: New file.
407 * benchtests/bench-strcasestr.c: New file.
408 * benchtests/bench-strcat-ifunc.c: New file.
409 * benchtests/bench-strcat.c: New file.
410 * benchtests/bench-strchr-ifunc.c: New file.
411 * benchtests/bench-strchr.c: New file.
412 * benchtests/bench-strchrnul-ifunc.c: New file.
413 * benchtests/bench-strchrnul.c: New file.
414 * benchtests/bench-strcmp-ifunc.c: New file.
415 * benchtests/bench-strcmp.c: New file.
416 * benchtests/bench-strcpy-ifunc.c: New file.
417 * benchtests/bench-strcpy.c: New file.
418 * benchtests/bench-strcspn-ifunc.c: New file.
419 * benchtests/bench-strcspn.c: New file.
420 * benchtests/bench-strlen-ifunc.c: New file.
421 * benchtests/bench-strlen.c: New file.
422 * benchtests/bench-strncasecmp-ifunc.c: New file.
423 * benchtests/bench-strncasecmp.c: New file.
424 * benchtests/bench-strncat-ifunc.c: New file.
425 * benchtests/bench-strncat.c: New file.
426 * benchtests/bench-strncmp-ifunc.c: New file.
427 * benchtests/bench-strncmp.c: New file.
428 * benchtests/bench-strncpy-ifunc.c: New file.
429 * benchtests/bench-strncpy.c: New file.
430 * benchtests/bench-strnlen-ifunc.c: New file.
431 * benchtests/bench-strnlen.c: New file.
432 * benchtests/bench-strpbrk-ifunc.c: New file.
433 * benchtests/bench-strpbrk.c: New file.
434 * benchtests/bench-strrchr-ifunc.c: New file.
435 * benchtests/bench-strrchr.c: New file.
436 * benchtests/bench-strspn-ifunc.c: New file.
437 * benchtests/bench-strspn.c: New file.
438 * benchtests/bench-strstr-ifunc.c: New file.
439 * benchtests/bench-strstr.c: New file.
440
c1f75dc3
SP
441 * benchtests/Makefile: Disable parallel execution of targets.
442 (string-bench): Add memcpy.
443 (benchset): New variable to store a list of benchmark sets.
444 (bench-func): Renamed from bench.
445 (bench-set): New target.
446 (bench): Depend on bench-func and bench-set.
447 * benchtests/README: Add section on benchmark sets.
448 * benchtests/bench-memcpy-ifunc.c: New file.
449 * benchtests/bench-memcpy.c: New file.
450 * benchtests/bench-string.h: New file.
451
50fd745b
AS
4522013-06-11 Andreas Schwab <schwab@suse.de>
453
454 [BZ #15577]
455 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
456 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
457 values in the triple.
458 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
459 terminator in the group key.
460
3ee7e9fe
AJ
4612013-06-11 Andreas Jaeger <aj@suse.de>
462
463 * po/zh_TW.po: Update Chinese (traditional) translation from
464 translation project.
465
89fb6835
SP
4662013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
467
468 * include/time.h (__clock_gettime): Add libc_hidden_proto.
469 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
470 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
471 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
472 (clock_getcpuclockid): Likewise.
473 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
474 Add weak_alias and libc_hidden_def.
475 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
476 * rt/clock_gettime.c (clock_gettime): Rename to
477 __clock_gettime. Add weak_alias and libc_hidden_def.
478 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
479 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
480 __clock_nanosleep. Add weak_alias and libc_hidden_def.
481 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
482 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
483 Likewise.
484 * rt/clock_settime.c (clock_settime): Rename to
485 __clock_settime. Add weak_alias and libc_hidden_def.
486 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
487
0efa6f8b
JM
4882013-06-10 Joseph Myers <joseph@codesourcery.com>
489
b8c61b4b
JM
490 * mach/err_boot.sub: Remove trailing whitespace.
491 * mach/err_ipc.sub: Likewise.
492 * mach/err_mach.sub: Likewise.
493
0efa6f8b
JM
494 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
495 (ROUNDING_TESTS_double): Likewise.
496 (ROUNDING_TESTS_long_double): Likewise.
497 (ROUNDING_TESTS): Likewise.
498 * math/libm-test.inc: Include <math-tests.h>.
499 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
500 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
501 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
502 (IF_ROUND_INIT_FE_UPWARD): Likewise.
503
50b818bf
SP
5042013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
505
506 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
507 of assigning.
508
60d2f8f3
JM
5092013-06-08 Joseph Myers <joseph@codesourcery.com>
510
4902d2c3
JM
511 * sysdeps/gnu/errlist.awk: Do not generate space at end of
512 otherwise empty TRANS lines.
513 * sysdeps/gnu/errlist.c: Regenerated.
514
60d2f8f3
JM
515 * catgets/gencat.c (error_print): Use (void) in function
516 definition.
517 * crypt/crypt_util.c (__init_des): Likewise.
518 * crypt/speeds.c (Stop): Likewise.
519 (main): Likewise.
520 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
521 * inet/ruserpass.c (token): Likewise.
522 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
523 * intl/localealias.c (extend_alias_table): Likewise.
524 * intl/plural-exp.c (init_germanic_plural): Likewise.
525 * libio/fcloseall.c (__fcloseall): Likewise.
526 * libio/genops.c (_IO_flush_all): Likewise.
527 (_IO_flush_all_linebuffered): Likewise.
528 (_IO_cleanup): Likewise.
529 (_IO_iter_begin): Likewise.
530 (_IO_iter_end): Likewise.
531 (_IO_list_lock): Likewise.
532 (_IO_list_unlock): Likewise.
533 (_IO_list_resetlock): Likewise.
534 * libio/getchar.c (getchar): Likewise.
535 * libio/getchar_u.c (getchar_unlocked): Likewise.
536 * libio/getwchar.c (getwchar): Likewise.
537 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
538 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
539 * login/getpt.c (__getpt): Likewise.
540 * login/tst-utmp.c (main): Likewise.
541 * malloc/hooks.c (__malloc_check_init): Likewise.
542 * malloc/malloc.c (__malloc_stats): Likewise.
543 * malloc/mtrace.c (tr_break): Likewise.
544 (mtrace): Likewise.
545 (muntrace): Likewise.
546 * misc/fstab.c (endfsent): Likewise.
547 * misc/getclktck.c (__getclktck): Likewise.
548 * misc/getdtsz.c (__getdtablesize): Likewise.
549 * misc/gethostid.c (gethostid): Likewise.
550 * misc/getpagesize.c (__getpagesize): Likewise.
551 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
552 (__get_nprocs): Likewise.
553 (__get_phys_pages): Likewise.
554 (__get_avphys_pages): Likewise.
555 * misc/getttyent.c (getttyent): Likewise.
556 (setttyent): Likewise.
557 (endttyent): Likewise.
558 * misc/getusershell.c (getusershell): Likewise.
559 (endusershell): Likewise.
560 (setusershell): Likewise.
561 (initshells): Likewise.
562 * misc/hsearch.c (__hdestroy): Likewise.
563 * misc/sync.c (sync): Likewise.
564 * misc/syslog.c (closelog_internal): Likewise.
565 (closelog): Likewise.
566 * misc/ttyslot.c (ttyslot): Likewise.
567 * misc/vhangup.c (vhangup): Likewise.
568 * posix/fork.c (__fork): Likewise.
569 * posix/getegid.c (__getegid): Likewise.
570 * posix/geteuid.c (__geteuid): Likewise.
571 * posix/getgid.c (__getgid): Likewise.
572 * posix/getpid.c (__getpid): Likewise.
573 * posix/getppid.c (__getppid): Likewise.
574 * posix/getuid.c (__getuid): Likewise.
575 * posix/pause.c (pause): Likewise.
576 * posix/setpgrp.c (setpgrp): Likewise.
577 * posix/setsid.c (__setsid): Likewise.
578 * posix/test-vfork.c (noop): Likewise.
579 * resolv/gethnamaddr.c (_endhtent): Likewise.
580 (_gethtent): Likewise.
581 (ht_endhostent): Likewise.
582 (gethostent): Likewise.
583 (dns_service): Likewise.
584 * stdlib/drand48.c (drand48): Likewise.
585 * stdlib/lrand48.c (lrand48): Likewise.
586 * stdlib/mrand48.c (mrand48): Likewise.
587 * stdlib/rand.c (rand): Likewise.
588 * stdlib/random.c (__random): Likewise.
589 * stdlib/setenv.c (clearenv): Likewise.
590 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
591 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
592 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
593 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
594 (__get_nprocs): Likewise.
595 (__get_phys_pages): Likewise.
596 (__get_avphys_pages): Likewise.
597 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
598 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
599 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
600 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
601 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
602 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
603 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
604 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
605 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
606 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
607 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
608 * sysdeps/mach/hurd/sync.c (sync): Likewise.
609 * sysdeps/posix/clock.c (clock): Likewise.
610 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
611 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
612 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
613 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
614 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
615 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
616 (__get_nprocs_conf): Likewise.
617 (__get_phys_pages): Likewise.
618 (__get_avphys_pages): Likewise.
619 * time/clock.c (clock): Likewise.
620 * time/tzset.c (__tzname_max): Likewise.
621
2e09a79a
JM
6222013-06-07 Joseph Myers <joseph@codesourcery.com>
623
624 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
625 (__bswap_32): Do not use "register".
626 * crypt/crypt.c (_ufc_doit_r): Likewise.
627 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
628 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
629 * gmon/gmon.c (__monstartup): Likewise.
630 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
631 * hurd/hurdmalloc.c (more_memory): Likewise.
632 (malloc): Likewise.
633 (free): Likewise.
634 (realloc): Likewise.
635 (malloc_fork_prepare): Likewise.
636 (malloc_fork_parent): Likewise.
637 (malloc_fork_child): Likewise.
638 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
639 (_svcauth_des): Likewise.
640 * inet/inet_lnaof.c (inet_lnaof): Likewise.
641 * inet/inet_net.c (inet_network): Likewise.
642 * inet/inet_netof.c (inet_netof): Likewise.
643 * inet/rcmd.c (__validuser2_sa): Likewise.
644 * io/fts.c (fts_open): Likewise.
645 (fts_load): Likewise.
646 (fts_close): Likewise.
647 (fts_read): Likewise.
648 (fts_children): Likewise.
649 (fts_build): Likewise.
650 (fts_stat): Likewise.
651 (fts_sort): Likewise.
652 (fts_alloc): Likewise.
653 (fts_lfree): Likewise.
654 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
655 (_IO_file_xsgetn): Likewise.
656 (_IO_file_xsgetn_mmap): Likewise.
657 * libio/iofopncook.c (_IO_cookie_read): Likewise.
658 (_IO_cookie_write): Likewise.
659 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
660 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
661 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
662 * malloc/obstack.c (_obstack_begin): Likewise.
663 (_obstack_begin_1): Likewise.
664 (_obstack_newchunk): Likewise.
665 (_obstack_allocated_p): Likewise.
666 (obstack_free): Likewise.
667 (_obstack_memory_used): Likewise.
668 * misc/getttyent.c (getttynam): Likewise.
669 (getttyent): Likewise.
670 (skip): Likewise.
671 (value): Likewise.
672 * misc/getusershell.c (initshells): Likewise.
673 * misc/syslog.c (__vsyslog_chk): Likewise.
674 * misc/ttyslot.c (ttyslot): Likewise.
675 * nis/nis_hash.c (__nis_hash): Likewise.
676 * posix/fnmatch_loop.c (FCT): Likewise.
677 * posix/getconf.c (print_all): Likewise.
678 (main): Likewise.
679 * posix/getopt.c (exchange): Likewise.
680 * posix/glob.c (globfree): Likewise.
681 (prefix_array): Likewise.
682 (__glob_pattern_type): Likewise.
683 * resolv/arpa/nameser.h (NS_GET16): Likewise.
684 (NS_GET32): Likewise.
685 (NS_PUT16): Likewise.
686 (NS_PUT32): Likewise.
687 * resolv/gethnamaddr.c (getanswer): Likewise.
688 (gethostbyname2): Likewise.
689 (gethostbyaddr): Likewise.
690 (_gethtent): Likewise.
691 (_gethtbyname2): Likewise.
692 (_gethtbyaddr): Likewise.
693 * resolv/ns_print.c (dst_s_get_int16): Likewise.
694 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
695 * resolv/res_init.c (__res_vinit): Likewise.
696 (net_mask): Likewise.
697 * resolv/res_mkquery.c (outchar): Likewise.
698 (PRINT): Likewise.
699 * stdio-common/printf_fp.c (outchar): Likewise.
700 (PRINT): Likewise.
701 * stdio-common/printf_fphex.c (outchar): Likewise.
702 (PRINT): Likewise.
703 * stdio-common/printf_size.c (outchar): Likewise.
704 (PRINT): Likewise.
705 * stdio-common/test_rdwr.c (main): Likewise.
706 * stdio-common/tfformat.c (matches): Likewise.
707 * stdio-common/vfprintf.c (outchar): Likewise.
708 (printf_unknown): Likewise.
709 (buffered_vfprintf): Likewise.
710 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
711 * stdio-common/xbug.c (AppendToBuffer): Likewise.
712 (ReadFile): Likewise.
713 * stdlib/qsort.c (SWAP): Likewise.
714 (_quicksort): Likewise.
715 * stdlib/setenv.c (__add_to_environ): Likewise.
716 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
717 * stdlib/strtol_l.c (__strtol_l): Likewise.
718 * stdlib/tst-strtod.c (main): Likewise.
719 * stdlib/tst-strtol.c (main): Likewise.
720 * stdlib/tst-strtoll.c (main): Likewise.
721 * string/bits/string2.h (__strcmp_cc): Likewise.
722 (__strcmp_cg): Likewise.
723 (__strcspn_c1): Likewise.
724 (__strcspn_c2): Likewise.
725 (__strcspn_c3): Likewise.
726 (__strspn_c1): Likewise.
727 (__strspn_c2): Likewise.
728 (__strspn_c3): Likewise.
729 (__strsep_1c): Likewise.
730 (__strsep_2c): Likewise.
731 (__strsep_3c): Likewise.
732 * string/memccpy.c (__memccpy): Likewise.
733 * string/stpcpy.c (__stpcpy): Likewise.
734 * string/strcmp.c (strcmp): Likewise.
735 * string/strrchr.c (strrchr): Likewise.
736 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
737 Likewise.
738 * sysdeps/mach/hurd/getcwd.c
739 (_hurd_canonicalize_directory_name_internal): Likewise.
740 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
741 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
742 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
743 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
744 Likewise, in both definitions.
745 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
746 definitions.
747 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
748 64] (__bswap_64): Likewise.
749 * time/test_time.c (main): Likewise.
750 * time/tzfile.c (__tzfile_read): Likewise.
751 (__tzfile_compute): Likewise.
752 * time/tzset.c (__tzset_parse_tz): Likewise.
753 (tzset_internal): Likewise.
754 (compute_change): Likewise.
755 * wcsmbs/wcscat.c (__wcscat): Likewise.
756 * wcsmbs/wcschr.c (wcschr): Likewise.
757 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
758 * wcsmbs/wcscspn.c (wcscspn): Likewise.
759 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
760 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
761 * wcsmbs/wcsspn.c (wcsspn): Likewise.
762 * wcsmbs/wcsstr.c (wcsstr): Likewise.
763 * wcsmbs/wmemchr.c (wmemchr): Likewise.
764 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
765 * wcsmbs/wmemset.c (wmemset): Likewise.
766
9e54314b
JM
7672013-06-06 Joseph Myers <joseph@codesourcery.com>
768
769 * scripts/config.guess: Update to version 2013-05-16.
770 * scripts/config.sub: Update to version 2013-04-24.
771 * scripts/install-sh: Update to version 2011-11-20.07.
772 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
773 * scripts/move-if-change: Update to version 2012-01-06 07:23.
774
350635a5
OB
7752013-06-06 Ondřej Bílka <neleai@seznam.cz>
776
777 * debug/fgetws_u_chk.c: Fix leading whitespaces.
778 * elf/sln.c: Likewise.
779 * hurd/hurd/ioctl.h: Likewise.
780 * hurd/hurdmalloc.c: Likewise.
781 * hurd/xattr.c: Likewise.
782 * include/shlib-compat.h: Likewise.
783 * inet/ruserpass.c: Likewise.
784 * libio/iofgets_u.c: Likewise.
785 * libio/iofgetws_u.c: Likewise.
786 * locale/programs/ld-identification.c: Likewise.
787 * locale/programs/ld-time.c: Likewise.
788 * mach/msg-destroy.c: Likewise.
789 * nss/nss_files/files-netgrp.c: Likewise.
790 * resolv/res_data.c: Likewise.
791 * soft-fp/op-1.h: Likewise.
792 * soft-fp/op-2.h: Likewise.
793 * soft-fp/op-4.h: Likewise.
794 * soft-fp/op-common.h: Likewise.
795 * stdio-common/printf_fphex.c: Likewise.
796 * stdlib/strtod_l.c: Likewise.
797 * sunrpc/rpc/clnt.h: Likewise.
798 * sysdeps/generic/framestate.c: Likewise.
799 * sysdeps/i386/bsd-_setjmp.S: Likewise.
800 * sysdeps/i386/bsd-setjmp.S: Likewise.
801 * sysdeps/i386/__longjmp.S: Likewise.
802 * sysdeps/i386/setjmp.S: Likewise.
803 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
804 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
805 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
806 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
807 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
808 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
809 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
810 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
811 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
812 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
813 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
814 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
815 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
816 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
817 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
818 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
819 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
820 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
821 * sysdeps/ieee754/support.c: Likewise.
822 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
823 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
824 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
825 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
826 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
827 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
828 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
829 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
830 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
831 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
832 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
833 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
834 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
835 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
836 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
837 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
838 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
840
44a988af
OB
8412013-06-05 Ondřej Bílka <neleai@seznam.cz>
842
25506f09 843 * posix/transbug.c: Remove executable mode.
44a988af 844
9c84384c
JM
8452013-06-05 Joseph Myers <joseph@codesourcery.com>
846
847 * crypt/speeds.c: Remove trailing whitespace.
848 * dlfcn/default.c: Likewise.
849 * elf/ifuncdep2.c: Likewise.
850 * elf/ifuncmain1.c: Likewise.
851 * elf/ifuncmain1vis.c: Likewise.
852 * elf/testobj.h: Likewise.
853 * elf/tst-stackguard1.c: Likewise.
854 * gmon/sys/gmon.h: Likewise.
855 * hurd/hurdmsg.c: Likewise.
856 * hurd/new-fd.c: Likewise.
857 * hurd/ports-get.c: Likewise.
858 * iconvdata/ibm1008_420.c: Likewise.
859 * inet/tst-getni1.c: Likewise.
860 * inet/tst-getni2.c: Likewise.
861 * libio/ioungetc.c: Likewise.
862 * libio/wfiledoalloc.c: Likewise.
863 * manual/libm-err-tab.pl: Likewise.
864 * math/w_dremf.c: Likewise.
865 * misc/ftruncate.c: Likewise.
866 * posix/bug-glob2.c: Likewise.
867 * posix/tst-pcre.c: Likewise.
868 * posix/wait4.c: Likewise.
869 * resolv/README: Likewise.
870 * resolv/res_debug.h: Likewise.
871 * resolv/tst-inet_ntop.c: Likewise.
872 * setjmp/bug269-setjmp.c: Likewise.
873 * soft-fp/extended.h: Likewise.
874 * soft-fp/op-1.h: Likewise.
875 * soft-fp/op-2.h: Likewise.
876 * soft-fp/op-4.h: Likewise.
877 * soft-fp/op-8.h: Likewise.
878 * soft-fp/testit.c: Likewise.
879 * stdio-common/bug16.c: Likewise.
880 * stdlib/random.c: Likewise.
881 * sunrpc/rpcsvc/rquota.x: Likewise.
882 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
883 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
884 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
885 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
886 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
887 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
888 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
889 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
890 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
891 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
892 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
893 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
894 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
895 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
896 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
897 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
898 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
899 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
900 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
901 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
902 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
903 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
904 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
905 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
906 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
907 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
908 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
909 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
910 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
911 * sysdeps/ieee754/s_lib_version.c: Likewise.
912 * sysdeps/mach/hurd/check_fds.c: Likewise.
913 * sysdeps/mach/hurd/getsockname.c: Likewise.
914 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
915 * sysdeps/mach/hurd/recvfrom.c: Likewise.
916 * sysdeps/powerpc/bits/link.h: Likewise.
917 * sysdeps/powerpc/dl-procinfo.c: Likewise.
918 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
919 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
920 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
921 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
922 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
923 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
924 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
925 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
926 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
927 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
928 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
929 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
930 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
931 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
932 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
933 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
934 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
935 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
936 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
937 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
938 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
939 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
940 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
941 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
942 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
943 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
944 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
945 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
946 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
947 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
948 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
949 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
950 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
951 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
952 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
953 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
954 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
955 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
956 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
957 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
958 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
959 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
960 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
961 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
962 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
963 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
964 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
965 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
966 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
967 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
968 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
969 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
970 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
971 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
972 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
973 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
974 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
975 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
976 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
977 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
978 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
979 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
980 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
981 * sysdeps/powerpc/sysdep.h: Likewise.
982 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
983 * sysdeps/s390/s390-64/sub_n.S: Likewise.
984 * sysdeps/sh/dl-trampoline.S: Likewise.
985 * sysdeps/sh/memset.S: Likewise.
986 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
987 * sysdeps/sh/strlen.S: Likewise.
988 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
989 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
990 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
991 * sysdeps/sparc/sparc32/rem.S: Likewise.
992 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
993 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
994 * sysdeps/sparc/sparc32/strchr.S: Likewise.
995 * sysdeps/sparc/sparc32/udiv.S: Likewise.
996 * sysdeps/sparc/sparc32/urem.S: Likewise.
997 * sysdeps/sparc/sparc64/add_n.S: Likewise.
998 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
999 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
1000 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
1001 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
1002 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
1003 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
1004 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
1005 * sysdeps/unix/bsd/times.c: Likewise.
1006 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
1007 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
1008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
1009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
1010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
1011 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
1012 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
1013 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
1014 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
1015 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
1016 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
1017 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
1018 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
1019 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
1020 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
1021 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
1022 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
1023 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
1024 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
1025 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
1026 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
1027 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
1028 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
1029 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
1030 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
1031 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
1032 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
1033 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1034 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
1035 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
1036 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
1037 * sysdeps/x86_64/strcspn.S: Likewise.
1038
869378a5
RA
10392013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1040
1041 * locale/C-translit.h: Revert #include <stdint.h> because this is a
1042 generated file. Regenerate properly from gen-translit.pl.
1043 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
1044 locale/C-translit.h.
1045
840e2943
AS
10462013-06-05 Andreas Schwab <schwab@suse.de>
1047
1048 [BZ #15100]
1049 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
1050 week as 6 instead of -1.
1051 * time/tst-strptime.c (day_tests): Add test case.
1052
4c60cb0c
SP
10532013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1054
1055 * sysdeps/generic/math_private.h
1056 (libc_feholdexcept_setround_53bit): Replace with
1057 libc_feholdsetround_53bit.
1058 (libc_feupdateenv_53bit): Replace with
1059 libc_feresetround_53bit.
1060 (SET_RESTORE_ROUND_53BIT): Adjust.
1061
d180203e
SP
10622013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
1063
96df079a
SP
1064 * string/test-strchrnul.c: Add copyright header.
1065
d180203e
SP
1066 * posix/tst-getaddrinfo4.c: Increase test timeout.
1067
8b0ccb2d
CD
10682013-06-03 Carlos O'Donell <carlos@redhat.com>
1069
1070 [BZ #15536]
1071 * math/libm-test.inc (MAX_EXP): Remove
1072 (MIN_EXP): Define.
1073 (ulp): Use MIN_EXP - MANT_DIG.
1074 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
1075
3b3c4d40
CD
10762013-05-31 Carlos O'Donell <carlos@redhat.com>
1077
1078 * po/be.po: Revert last change.
1079 * po/zh_CN.po: Likewise.
1080 * po/header.pot: Likewise.
1081
fab7ce3f
JM
10822013-05-31 Joseph Myers <joseph@codesourcery.com>
1083
1084 * Makefile ($(common-objpfx)linkobj/libc.so): Define
1085 link-libc-deps to empty as target-specific variable.
1086 * Makerules (link-libc-args): New variable.
1087 (libc-for-link): Likewise.
1088 (link-libc-deps): Likewise.
1089 (lib%.so): Depend on $(link-libc-deps). Link with
1090 $(link-libc-args).
1091 (build-module): Link with $(link-libc-args).
1092 (build-module-asneeded): Likewise.
1093 (build-module-helper-objlist): Filter out $(link-libc-deps) from
1094 list of objects.
1095 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
1096 target-specific variable.
1097 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
1098 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
1099 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
1100 libc.
1101 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
1102 libc and ld.so.
1103 ($(objpfx)libpcprofile.so): Likewise.
1104 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
1105 libc_nonshared.a.
1106 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
1107 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
1108 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
1109 $(link-libc-deps).
1110 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
1111 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
1112 * login/Makefile ($(objpfx)libutil.so): Likewise.
1113 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
1114 * math/Makefile ($(objpfx)libm.so): Likewise.
1115 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
1116 $(objpfx)libnsl.so): Define libc-for-link as target-specific
1117 variable instead of depending directly on libc.
1118 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
1119 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
1120 $(link-libc-deps).
1121 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
1122 libc.
1123 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
1124 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
1125 ($(objpfx)libanl.so): Likewise.
1126 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
1127 ld.so.
1128 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
1129 $(link-libc-deps).
1130 * sysdeps/i386/fpu/Makefile: Remove file.
1131 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
1132 ($(objpfx)libm.so): Remove dependency on ld.so.
1133
eca5920c
PF
11342013-05-30 Patsy Franklin <pfrankli@redhat.com>
1135
1136 [BZ # 15553]
1137 * nis/yp_xdr.c (XDRMAXNAME): Define.
1138 (XDRMAXRECORD): Define.
1139 (xdr_domainname): Use XDRMAXNAME.
1140 (xdr_mapname): Likewise.
1141 (xdr_peername): Likewise.
1142 (xdr_keydat): Use XDRMAXRECORD.
1143 (xdr_valdat): Likewise.
1144
11452013-05-30 Jeff Law <law@redhat.com>
96945714
JL
1146
1147 [BZ #14256]
1148 * manual/errno.texi (ESTALE): Update to account for more than
1149 just NFS file systems.
1150 * sysdeps/gnu/errlist.c: Regenerated.
1151
b9375348
SP
11522013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1153
1154 [BZ #15465]
1155 * elf/Makefile (tests): Add tst-null-argv.
1156 (modules-names): Add tst-null-argv-lib.
1157 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
1158 (tst-null-argv-ENV): Set environment for tst-null-argv.
1159 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
1160 (RTLD_PROGNAME): New macro.
1161 * elf/tst-null-argv.c: New test case.
1162 * elf/tst-null-argv-lib.c: Library for test case.
1163 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
1164 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
1165 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
1166 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
1167 * elf/dl-init.c (call_init): Likewise.
1168 (_dl_init): Likewise.
1169 * elf/dl-load.c (print_search_path): Likewise.
1170 (_dl_map_object): Likewise.
1171 * elf/dl-lookup.c (do_lookup_x): Likewise.
1172 (add_dependency): Likewise.
1173 (_dl_lookup_symbol_x): Likewise.
1174 (_dl_debug_bindings): Likewise.
1175 * elf/dl-open.c (_dl_show_scope): Likewise.
1176 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
1177 * elf/dl-version.c (match_symbol): Likewise.
1178 (_dl_check_map_versions): Likewise.
1179 * elf/rtld.c (dl_main): Likewise.
1180 (print_unresolved): Use RTLD_PROGNAME.
1181 (print_missing_version): Likewise.
1182 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
1183 (elf_machine_rela): Likewise.
1184 * sysdeps/powerpc/powerpc32/dl-machine.c
1185 (__process_machine_rela): Likewise.
1186 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
1187 Likewise.
1188 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
1189 Likewise.
1190 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
1191 Likewise.
1192 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
1193 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
1194 Likewise.
1195 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
1196 Likewise.
1197 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
1198
8a9f20c8
CD
11992013-05-28 Carlos O'Donell <carlos@redhat.com>
1200
1201 * po/be.po: Add descriptive title.
1202 * po/zh_CN.po: Likewise.
1203 * po/header.pot: Likewise.
1204
0e60d68e
MF
12052013-05-28 Mike Frysinger <vapier@gentoo.org>
1206
1207 * locale/programs/locarchive.c (create_archive): Inlucde fname in
1208 error message.
1209 (enlarge_archive): Likewise.
1210
56b672e9
BN
12112013-05-28 Ben North <ben@redfrontdoor.org>
1212
1213 * manual/arith.texi (frexp): It is the magnitude of the return
1214 value which lies in [0.5, 1), not the return value itself.
1215
5e056687
AZ
12162013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1217
1218 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1219
2b66ef5d
TS
12202013-05-26 Thomas Schwinge <thomas@codesourcery.com>
1221
528c2405
TS
1222 * stdio-common/bug26.c (main): Correct fscanf template.
1223
07b4c13d
TS
1224 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
1225 declare _dl_skip_args.
1226
ec9dd97c
TS
1227 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
1228 Don't declare.
1229
2b66ef5d
TS
1230 * manual/platform.texi: Add missing @end deftypefun.
1231
4f8dfe27
JM
12322013-05-24 Joseph Myers <joseph@codesourcery.com>
1233
0323d086
JM
1234 [BZ #15529]
1235 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
1236 bit of mantissa of 2^16382.
1237 * math/libm-test.inc (hypot_test_data): Add more tests.
1238
dd4259b9
JM
1239 * math/libm-test.inc: Add drem and pow10 to list of tested
1240 functions.
1241 (pow10_test): New function.
1242 (drem_test): Likewise.
1243 (drem_test_tonearest): Likewise.
1244 (drem_test_towardzero): Likewise.
1245 (drem_test_downward): Likewise.
1246 (drem_test_upward): Likewise.
1247 (main): Call the new functions.
1248
4f8dfe27
JM
1249 * math/libm-test.inc (finite_test_data): Remove.
1250 (finite_test): Run tests from isfinite_test_data.
1251 (gamma_test_data): Remove.
1252 (gamma_test): Run tests from lgamma_test_data.
1253 * sysdeps/i386/fpu/libm-test-ulps: Update.
1254 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1255
d116b7c4
AZ
12562013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1257
1258 * manual/platform.texi: Add PowerPC PPR function set documentation.
1259 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
1260 implementation.
1261
e96e3767
CD
12622013-05-24 Carlos O'Donell <carlos@redhat.com>
1263
1264 * math/libm-test.inc (MAX_EXP): Define.
1265 (ULPDIFF): Define.
1266 (ulp): New function.
1267 (check_float_internal): Use ULPDIFF.
1268 (cpow_test): Disable failing test.
1269 (check_ulp): Test ulp() implemetnation.
1270 (main): Call check_ulp before starting tests.
1271
b679a606
JM
12722013-05-24 Joseph Myers <joseph@codesourcery.com>
1273
e8bdba36
JM
1274 * math/gen-libm-test.pl (generate_testfile): Do not handle
1275 START_DATA and END_DATA.
1276 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
1277 END_DATA.
1278 (acos_tonearest_test_data): Likewise.
1279 (acos_towardzero_test_data): Likewise.
1280 (acos_downward_test_data): Likewise.
1281 (acos_upward_test_data): Likewise.
1282 (acosh_test_data): Likewise.
1283 (asin_test_data): Likewise.
1284 (asin_tonearest_test_data): Likewise.
1285 (asin_towardzero_test_data): Likewise.
1286 (asin_downward_test_data): Likewise.
1287 (asin_upward_test_data): Likewise.
1288 (asinh_test_data): Likewise.
1289 (atan_test_data): Likewise.
1290 (atanh_test_data): Likewise.
1291 (atan2_test_data): Likewise.
1292 (cabs_test_data): Likewise.
1293 (cacos_test_data): Likewise.
1294 (cacosh_test_data): Likewise.
1295 (carg_test_data): Likewise.
1296 (casin_test_data): Likewise.
1297 (casinh_test_data): Likewise.
1298 (catan_test_data): Likewise.
1299 (catanh_test_data): Likewise.
1300 (cbrt_test_data): Likewise.
1301 (ccos_test_data): Likewise.
1302 (ccosh_test_data): Likewise.
1303 (ceil_test_data): Likewise.
1304 (cexp_test_data): Likewise.
1305 (cimag_test_data): Likewise.
1306 (clog_test_data): Likewise.
1307 (clog10_test_data): Likewise.
1308 (conj_test_data): Likewise.
1309 (copysign_test_data): Likewise.
1310 (cos_test_data): Likewise.
1311 (cos_tonearest_test_data): Likewise.
1312 (cos_towardzero_test_data): Likewise.
1313 (cos_downward_test_data): Likewise.
1314 (cos_upward_test_data): Likewise.
1315 (cosh_test_data): Likewise.
1316 (cosh_tonearest_test_data): Likewise.
1317 (cosh_towardzero_test_data): Likewise.
1318 (cosh_downward_test_data): Likewise.
1319 (cosh_upward_test_data): Likewise.
1320 (cpow_test_data): Likewise.
1321 (cproj_test_data): Likewise.
1322 (creal_test_data): Likewise.
1323 (csin_test_data): Likewise.
1324 (csinh_test_data): Likewise.
1325 (csqrt_test_data): Likewise.
1326 (ctan_test_data): Likewise.
1327 (ctan_tonearest_test_data): Likewise.
1328 (ctan_towardzero_test_data): Likewise.
1329 (ctan_downward_test_data): Likewise.
1330 (ctan_upward_test_data): Likewise.
1331 (ctanh_test_data): Likewise.
1332 (ctanh_tonearest_test_data): Likewise.
1333 (ctanh_towardzero_test_data): Likewise.
1334 (ctanh_downward_test_data): Likewise.
1335 (ctanh_upward_test_data): Likewise.
1336 (erf_test_data): Likewise.
1337 (erfc_test_data): Likewise.
1338 (exp_test_data): Likewise.
1339 (exp_tonearest_test_data): Likewise.
1340 (exp_towardzero_test_data): Likewise.
1341 (exp_downward_test_data): Likewise.
1342 (exp_upward_test_data): Likewise.
1343 (exp10_test_data): Likewise.
1344 (exp2_test_data): Likewise.
1345 (expm1_test_data): Likewise.
1346 (fabs_test_data): Likewise.
1347 (fdim_test_data): Likewise.
1348 (finite_test_data): Likewise.
1349 (floor_test_data): Likewise.
1350 (fma_test_data): Likewise.
1351 (fma_towardzero_test_data): Likewise.
1352 (fma_downward_test_data): Likewise.
1353 (fma_upward_test_data): Likewise.
1354 (fmax_test_data): Likewise.
1355 (fmin_test_data): Likewise.
1356 (fmod_test_data): Likewise.
1357 (fpclassify_test_data): Likewise.
1358 (frexp_test_data): Likewise.
1359 (gamma_test_data): Likewise.
1360 (hypot_test_data): Likewise.
1361 (ilogb_test_data): Likewise.
1362 (isfinite_test_data): Likewise.
1363 (isgreater_test_data): Likewise.
1364 (isgreaterequal_test_data): Likewise.
1365 (isinf_test_data): Likewise.
1366 (isless_test_data): Likewise.
1367 (islessequal_test_data): Likewise.
1368 (islessgreater_test_data): Likewise.
1369 (isnan_test_data): Likewise.
1370 (isnormal_test_data): Likewise.
1371 (issignaling_test_data): Likewise.
1372 (isunordered_test_data): Likewise.
1373 (j0_test_data): Likewise.
1374 (j1_test_data): Likewise.
1375 (jn_test_data): Likewise.
1376 (ldexp_test_data): Likewise.
1377 (lgamma_test_data): Likewise.
1378 (lrint_test_data): Likewise.
1379 (lrint_tonearest_test_data): Likewise.
1380 (lrint_towardzero_test_data): Likewise.
1381 (lrint_downward_test_data): Likewise.
1382 (lrint_upward_test_data): Likewise.
1383 (llrint_test_data): Likewise.
1384 (llrint_tonearest_test_data): Likewise.
1385 (llrint_towardzero_test_data): Likewise.
1386 (llrint_downward_test_data): Likewise.
1387 (llrint_upward_test_data): Likewise.
1388 (log_test_data): Likewise.
1389 (log10_test_data): Likewise.
1390 (log1p_test_data): Likewise.
1391 (log2_test_data): Likewise.
1392 (logb_test_data): Likewise.
1393 (logb_downward_test_data): Likewise.
1394 (lround_test_data): Likewise.
1395 (llround_test_data): Likewise.
1396 (modf_test_data): Likewise.
1397 (nearbyint_test_data): Likewise.
1398 (nextafter_test_data): Likewise.
1399 (nexttoward_test_data): Likewise.
1400 (pow_test_data): Likewise.
1401 (pow_tonearest_test_data): Likewise.
1402 (pow_towardzero_test_data): Likewise.
1403 (pow_downward_test_data): Likewise.
1404 (pow_upward_test_data): Likewise.
1405 (remainder_test_data): Likewise.
1406 (remainder_tonearest_test_data): Likewise.
1407 (remainder_towardzero_test_data): Likewise.
1408 (remainder_downward_test_data): Likewise.
1409 (remainder_upward_test_data): Likewise.
1410 (remquo_test_data): Likewise.
1411 (rint_test_data): Likewise.
1412 (rint_tonearest_test_data): Likewise.
1413 (rint_towardzero_test_data): Likewise.
1414 (rint_downward_test_data): Likewise.
1415 (rint_upward_test_data): Likewise.
1416 (round_test_data): Likewise.
1417 (scalb_test_data): Likewise.
1418 (scalbn_test_data): Likewise.
1419 (scalbln_test_data): Likewise.
1420 (signbit_test_data): Likewise.
1421 (sin_test_data): Likewise.
1422 (sin_tonearest_test_data): Likewise.
1423 (sin_towardzero_test_data): Likewise.
1424 (sin_downward_test_data): Likewise.
1425 (sin_upward_test_data): Likewise.
1426 (sincos_test_data): Likewise.
1427 (sinh_test_data): Likewise.
1428 (sinh_tonearest_test_data): Likewise.
1429 (sinh_towardzero_test_data): Likewise.
1430 (sinh_downward_test_data): Likewise.
1431 (sinh_upward_test_data): Likewise.
1432 (sqrt_test_data): Likewise.
1433 (tan_test_data): Likewise.
1434 (tan_tonearest_test_data): Likewise.
1435 (tan_towardzero_test_data): Likewise.
1436 (tan_downward_test_data): Likewise.
1437 (tan_upward_test_data): Likewise.
1438 (tanh_test_data): Likewise.
1439 (tgamma_test_data): Likewise.
1440 (trunc_test_data): Likewise.
1441 (y0_test_data): Likewise.
1442 (y1_test_data): Likewise.
1443 (yn_test_data): Likewise.
1444 (significand_test_data): Likewise.
1445
b679a606
JM
1446 * math/gen-libm-test.pl (@functions): Remove variable.
1447 (generate_testfile): Don't handle START and END lines.
1448 * math/libm-test.inc (START): New macro.
1449 (END): Likewise.
1450 (END_COMPLEX): Likewise.
1451 (acos_test): Use END macro without arguments.
1452 (acos_test_tonearest): Likewise.
1453 (acos_test_towardzero): Likewise.
1454 (acos_test_downward): Likewise.
1455 (acos_test_upward): Likewise.
1456 (acosh_test): Likewise.
1457 (asin_test): Likewise.
1458 (asin_test_tonearest): Likewise.
1459 (asin_test_towardzero): Likewise.
1460 (asin_test_downward): Likewise.
1461 (asin_test_upward): Likewise.
1462 (asinh_test): Likewise.
1463 (atan_test): Likewise.
1464 (atanh_test): Likewise.
1465 (atan2_test): Likewise.
1466 (cabs_test): Likewise.
1467 (cacos_test): Use END_COMPLEX macro without arguments.
1468 (cacosh_test): Likewise.
1469 (carg_test): Use END macro without arguments.
1470 (casin_test): Use END_COMPLEX macro without arguments.
1471 (casinh_test): Likewise.
1472 (catan_test): Likewise.
1473 (catanh_test): Likewise.
1474 (cbrt_test): Use END macro without arguments.
1475 (ccos_test): Use END_COMPLEX macro without arguments.
1476 (ccosh_test): Likewise.
1477 (ceil_test): Use END macro without arguments.
1478 (cexp_test): Use END_COMPLEX macro without arguments.
1479 (cimag_test): Use END macro without arguments.
1480 (clog_test): Use END_COMPLEX macro without arguments.
1481 (clog10_test): Likewise.
1482 (conj_test): Likewise.
1483 (copysign_test): Use END macro without arguments.
1484 (cos_test): Likewise.
1485 (cos_test_tonearest): Likewise.
1486 (cos_test_towardzero): Likewise.
1487 (cos_test_downward): Likewise.
1488 (cos_test_upward): Likewise.
1489 (cosh_test): Likewise.
1490 (cosh_test_tonearest): Likewise.
1491 (cosh_test_towardzero): Likewise.
1492 (cosh_test_downward): Likewise.
1493 (cosh_test_upward): Likewise.
1494 (cpow_test): Use END_COMPLEX macro without arguments.
1495 (cproj_test): Likewise.
1496 (creal_test): Use END macro without arguments.
1497 (csin_test): Use END_COMPLEX macro without arguments.
1498 (csinh_test): Likewise.
1499 (csqrt_test): Likewise.
1500 (ctan_test): Likewise.
1501 (ctan_test_tonearest): Likewise.
1502 (ctan_test_towardzero): Likewise.
1503 (ctan_test_downward): Likewise.
1504 (ctan_test_upward): Likewise.
1505 (ctanh_test): Likewise.
1506 (ctanh_test_tonearest): Likewise.
1507 (ctanh_test_towardzero): Likewise.
1508 (ctanh_test_downward): Likewise.
1509 (ctanh_test_upward): Likewise.
1510 (erf_test): Use END macro without arguments.
1511 (erfc_test): Likewise.
1512 (exp_test): Likewise.
1513 (exp_test_tonearest): Likewise.
1514 (exp_test_towardzero): Likewise.
1515 (exp_test_downward): Likewise.
1516 (exp_test_upward): Likewise.
1517 (exp10_test): Likewise.
1518 (exp2_test): Likewise.
1519 (expm1_test): Likewise.
1520 (fabs_test): Likewise.
1521 (fdim_test): Likewise.
1522 (finite_test): Likewise.
1523 (floor_test): Likewise.
1524 (fma_test): Likewise.
1525 (fma_test_towardzero): Likewise.
1526 (fma_test_downward): Likewise.
1527 (fma_test_upward): Likewise.
1528 (fmax_test): Likewise.
1529 (fmin_test): Likewise.
1530 (fmod_test): Likewise.
1531 (fpclassify_test): Likewise.
1532 (frexp_test): Likewise.
1533 (gamma_test): Likewise.
1534 (hypot_test): Likewise.
1535 (ilogb_test): Likewise.
1536 (isfinite_test): Likewise.
1537 (isgreater_test): Likewise.
1538 (isgreaterequal_test): Likewise.
1539 (isinf_test): Likewise.
1540 (isless_test): Likewise.
1541 (islessequal_test): Likewise.
1542 (islessgreater_test): Likewise.
1543 (isnan_test): Likewise.
1544 (isnormal_test): Likewise.
1545 (issignaling_test): Likewise.
1546 (isunordered_test): Likewise.
1547 (j0_test): Likewise.
1548 (j1_test): Likewise.
1549 (jn_test): Likewise.
1550 (ldexp_test): Likewise.
1551 (lgamma_test): Likewise.
1552 (lrint_test): Likewise.
1553 (lrint_test_tonearest): Likewise.
1554 (lrint_test_towardzero): Likewise.
1555 (lrint_test_downward): Likewise.
1556 (lrint_test_upward): Likewise.
1557 (llrint_test): Likewise.
1558 (llrint_test_tonearest): Likewise.
1559 (llrint_test_towardzero): Likewise.
1560 (llrint_test_downward): Likewise.
1561 (llrint_test_upward): Likewise.
1562 (log_test): Likewise.
1563 (log10_test): Likewise.
1564 (log1p_test): Likewise.
1565 (log2_test): Likewise.
1566 (logb_test): Likewise.
1567 (logb_test_downward): Likewise.
1568 (lround_test): Likewise.
1569 (llround_test): Likewise.
1570 (modf_test): Likewise.
1571 (nearbyint_test): Likewise.
1572 (nextafter_test): Likewise.
1573 (nexttoward_test): Likewise.
1574 (pow_test): Likewise.
1575 (pow_test_tonearest): Likewise.
1576 (pow_test_towardzero): Likewise.
1577 (pow_test_downward): Likewise.
1578 (pow_test_upward): Likewise.
1579 (remainder_test): Likewise.
1580 (remainder_test_tonearest): Likewise.
1581 (remainder_test_towardzero): Likewise.
1582 (remainder_test_downward): Likewise.
1583 (remainder_test_upward): Likewise.
1584 (remquo_test): Likewise.
1585 (rint_test): Likewise.
1586 (rint_test_tonearest): Likewise.
1587 (rint_test_towardzero): Likewise.
1588 (rint_test_downward): Likewise.
1589 (rint_test_upward): Likewise.
1590 (round_test): Likewise.
1591 (scalb_test): Likewise.
1592 (scalbn_test): Likewise.
1593 (scalbln_test): Likewise.
1594 (signbit_test): Likewise.
1595 (sin_test): Likewise.
1596 (sin_test_tonearest): Likewise.
1597 (sin_test_towardzero): Likewise.
1598 (sin_test_downward): Likewise.
1599 (sin_test_upward): Likewise.
1600 (sincos_test): Likewise.
1601 (sinh_test): Likewise.
1602 (sinh_test_tonearest): Likewise.
1603 (sinh_test_towardzero): Likewise.
1604 (sinh_test_downward): Likewise.
1605 (sinh_test_upward): Likewise.
1606 (sqrt_test): Likewise.
1607 (tan_test): Likewise.
1608 (tan_test_tonearest): Likewise.
1609 (tan_test_towardzero): Likewise.
1610 (tan_test_downward): Likewise.
1611 (tan_test_upward): Likewise.
1612 (tanh_test): Likewise.
1613 (tgamma_test): Likewise.
1614 (trunc_test): Likewise.
1615 (y0_test): Likewise.
1616 (y1_test): Likewise.
1617 (yn_test): Likewise.
1618 (significand_test): Likewise.
1619
bae143d2
OB
16202013-05-24 Ondřej Bílka <neleai@seznam.cz>
1621
1622 [BZ #15381]
1623 * libio/genops.c (_IO_no_init): Initialize wide struct info.
1624
9323d39b
EM
16252013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
1626
d4ea44a0 1627 [BZ #14894]
9323d39b
EM
1628 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
1629 __ppc_mdoio and __ppc_mdoom.
1630 * manual/platform.texi: Document new functions __ppc_yield,
1631 __ppc_mdoio and __ppc_mdoom.
1632
13e23af7
CD
16332013-05-22 Carlos O'Donell <carlos@redhat.com>
1634
1635 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
1636 (main): Mention "tls" pseudo-hwcap is legacy.
1637 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
1638
351fe550
JM
16392013-05-22 Joseph Myers <joseph@codesourcery.com>
1640
1641 * math/gen-libm-test.pl (parse_args): Output only string of
1642 arguments as text for test name, not full call or descriptions of
1643 tests for extra outputs.
1644 (generate_testfile): Do not pass function name to parse_args.
1645 Generate this_func variable from START.
1646 * math/libm-test.inc (struct test_f_f_data): Rename test_name
1647 field to arg_str.
1648 (struct test_ff_f_data): Likewise.
1649 (test_ff_f_data_nexttoward): Likewise.
1650 (struct test_fi_f_data): Likewise.
1651 (struct test_fl_f_data): Likewise.
1652 (struct test_if_f_data): Likewise.
1653 (struct test_fff_f_data): Likewise.
1654 (struct test_c_f_data): Likewise.
1655 (struct test_f_f1_data): Likewise. Remove field extra_name.
1656 (struct test_fF_f1_data): Likewise.
1657 (struct test_ffI_f1_data): Likewise.
1658 (struct test_c_c_data): Rename test_name field to arg_str.
1659 (struct test_cc_c_data): Likewise.
1660 (struct test_f_i_data): Likewise.
1661 (struct test_ff_i_data): Likewise.
1662 (struct test_f_l_data): Likewise.
1663 (struct test_f_L_data): Likewise.
1664 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
1665 and extra2_name.
1666 (COMMON_TEST_SETUP): New macro.
1667 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
1668 (COMMON_TEST_CLEANUP): Likewise.
1669 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
1670 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
1671 macros.
1672 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
1673 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
1674 macros.
1675 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
1676 (RUN_TEST_fff_f): Take argument string. Call new setup and
1677 cleanup macros.
1678 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
1679 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
1680 macros.
1681 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
1682 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
1683 macros.
1684 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
1685 (RUN_TEST_fF_f1): Take argument string. Call new setup and
1686 cleanup macros.
1687 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
1688 (RUN_TEST_fI_f1): Take argument string. Call new setup and
1689 cleanup macros.
1690 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
1691 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
1692 cleanup macros.
1693 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
1694 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
1695 macros.
1696 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
1697 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
1698 macros.
1699 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
1700 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
1701 macros.
1702 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
1703 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
1704 cleanup macros.
1705 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
1706 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
1707 cleanup macros.
1708 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
1709 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
1710 macros.
1711 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
1712 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
1713 cleanup macros.
1714 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
1715 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
1716 macros.
1717 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
1718 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
1719 macros.
1720 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
1721 (RUN_TEST_fFF_11): Take argument string. Call new setup and
1722 cleanup macros.
1723 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
1724
85118d4d
EBM
17252013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1726
1727 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
1728 to _sifields.sigfault.
1729 (si_addr_lsb): Define new macro.
1730 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
1731 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
1732 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
1733
7a44c18f
CD
17342013-05-03 Carlos O'Donell <carlos at redhat.com>
1735
1736 [BZ #15441]
1737 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
1738 returns -1.
1739 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
1740 null return -1.
1741 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
1742 loading the domain.
1743
b50a7181
JM
17442013-05-22 Joseph Myers <joseph@codesourcery.com>
1745
1746 * math/gen-libm-test.pl (parse_args): Do not include expected
1747 result in test name.
1748 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
1749 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1750 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1751 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
1752 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1753 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1754
051063c8
SP
17552013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
1756
3ce9e010
SP
1757 * benchtests/Makefile: Sort function entries.
1758
051063c8
SP
1759 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
1760 tanh, asinh, acosh, atanh.
1761 * benchtests/acos-inputs: New file.
1762 * benchtests/acosh-inputs: New file.
1763 * benchtests/asin-inputs: New file.
1764 * benchtests/asinh-inputs: New file.
1765 * benchtests/atanh-inputs: New file.
1766 * benchtests/cosh-inputs: New file.
1767 * benchtests/log-inputs: New file.
1768 * benchtests/sinh-inputs: New file.
1769 * benchtests/tanh-inputs: New file.
1770
47c22455
DL
17712013-05-21 Dmitry V. Levin <ldv@altlinux.org>
1772
1773 [BZ #15339]
1774 * posix/tst-getaddrinfo4.c: New test.
1775 * posix/Makefile (tests): Add it.
1776
3d04f5db
SP
17772013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1778
1779 [BZ #15339]
1780 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
1781 when no services were used.
1782 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
1783 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
1784
d5dd6189
AS
17852013-05-21 Andreas Schwab <schwab@suse.de>
1786
1787 [BZ #15014]
1788 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
1789 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
1790 successful.
1791 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
1792 redundant variable declarations and reallocation of buffer when
1793 parsing as IPv6 address. Always set NSS status when called from
1794 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
1795 buffer too small. Correct computation of needed size.
1796 * nss/Makefile (tests): Add test-digits-dots.
1797 * nss/test-digits-dots.c: New test.
1798
fef94eab
SP
17992013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1800
1801 * benchtests/Makefile: Remove instructions for adding
1802 benchmark tests.
1803 * benchtests/README: New file to explain how to execute and
1804 enhance the benchmark tests.
1805
e39adf43
AS
18062013-05-21 Andreas Schwab <schwab@suse.de>
1807
1808 [BZ #15493]
1809 * setjmp/Makefile (tests): Add tst-sigsetjmp.
1810 * setjmp/tst-sigsetjmp.c: New test.
1811
b2b671b6
OB
18122013-05-20 Ondřej Bílka <neleai@seznam.cz>
1813
1814 * sysdeps/x86_64/memset.S (memset): New implementation.
1815 (__bzero): Likewise.
1816 (__memset_tail): New function.
1817
2d48b41c
OB
18182013-05-20 Ondřej Bílka <neleai@seznam.cz>
1819
1820 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
1821 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
1822 __memcpy_sse2_unaligned ifunc selection.
1823 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
1824 Add memcpy-sse2-unaligned.S.
1825 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1826 Add: __memcpy_sse2_unaligned.
1827
f16cc3eb
JM
18282013-05-19 Joseph Myers <joseph@codesourcery.com>
1829
3e694268
JM
1830 [BZ #15490]
1831 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
1832 math_force_eval before restoring floating-point envrionment.
1833 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
1834 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
1835 Likewise.
1836 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
1837 <math_private.h>.
1838 (__nearbyintl): Use math_force_eval before restoring
1839 floating-point environment.
1840 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
1841
db62a907
JM
1842 * math/gen-libm-test.pl (special_functions): Remove.
1843 (parse_args): Don't handle TEST_extra. Handle functions with no
1844 return value.
1845 * math/libm-test.inc (struct test_sincos_data): Replace with
1846 struct test_fFF_11_data.
1847 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
1848 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
1849 (sincos_test_data): Change element type to struct
1850 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
1851 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
1852 RUN_TEST_LOOP_sincos.
1853 * math/README.libm-test: Don't mention special handling of
1854 individual functions.
1855 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
1856 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1857 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1858 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
1859 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1860 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1861
f16cc3eb
JM
1862 * math/gen-libm-test.pl (get_variable): Remove function.
1863 (parse_args): Don't show pointer parameters to call in test
1864 names. Use "extra output N" in test names for extra outputs
1865 rather than naming variables.
1866
3779b5b6
JM
18672013-05-18 Joseph Myers <joseph@codesourcery.com>
1868
2ee094ff
JM
1869 [BZ #15488]
1870 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
1871 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
1872 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
1873 double tests.
1874 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
1875 disable.
1876 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
1877 check_long_double.
1878
3779b5b6
JM
1879 * math/gen-libm-test.pl (@tests): Remove variable.
1880 ($count): Likewise.
1881 (new_test): Remove function.
1882 (show_exceptions): New function.
1883 (special_functions): Use show_exceptions instead of new_test.
1884 (parse_args): Likewise.
1885 (generate_testfile): Pass only function name in generated call to
1886 print_max_error or print_complex_max_error.
1887 (get_ulps): Do not handle complex tests specially.
1888 (output_test): Rename to ...
1889 (get_all_ulps_for_test): ... this. Return a string rather than
1890 printing to a file. Require ulps to be present.
1891 (output_ulps): Generate arrays rather than #defines.
1892 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
1893 (struct ulp_data): New type.
1894 (BUILD_COMPLEX_ULP): Remove macro.
1895 (compare_ulp_data): New function.
1896 (find_ulps): Likewise.
1897 (find_test_ulps): Likewise.
1898 (find_function_ulps): Likewise.
1899 (find_complex_function_ulps): Likewise.
1900 (print_max_error): Determine allowed ulps using
1901 find_function_ulps.
1902 (print_complex_max_error): Determine allowed ulps using
1903 find_complex_function_ulps.
1904 (check_float_internal): Determine max ulps using find_test_ulps.
1905 (check_float): Do not take max_ulp parameter. Update call to
1906 check_float_internal.
1907 (check_complex): Likewise.
1908 (check_int): Do not take max_ulp parameter.
1909 (check_long): Likewise.
1910 (check_bool): Likewise.
1911 (check_longlong): Likewise.
1912 (struct test_f_f_data): Remove max_ulp field.
1913 (struct test_ff_f_data): Likewise.
1914 (struct test_ff_f_data_nexttoward): Likewise.
1915 (struct test_fi_f_data): Likewise.
1916 (struct test_fl_f_data): Likewise.
1917 (struct test_if_f_data): Likewise.
1918 (struct test_fff_f_data): Likewise.
1919 (struct test_c_f_data): Likewise.
1920 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
1921 (struct test_fF_f1_data): Likewise.
1922 (struct test_ffI_f1_data): Likewise.
1923 (struct test_c_c_data): Remove max_ulp field.
1924 (struct test_cc_c_data): Likewise.
1925 (struct test_f_i_data): Likewise.
1926 (struct test_ff_i_data): Likewise.
1927 (struct test_f_l_data): Likewise.
1928 (struct test_f_L_data): Likewise.
1929 (struct test_sincos_data): Likewise.
1930 (RUN_TEST_f_f): Do not handle ulps.
1931 (RUN_TEST_LOOP_f_f): Likewise.
1932 (RUN_TEST_2_f): Likewise.
1933 (RUN_TEST_LOOP_2_f): Likewise.
1934 (RUN_TEST_fff_f): Likewise.
1935 (RUN_TEST_LOOP_fff_f): Likewise.
1936 (RUN_TEST_c_f): Likewise.
1937 (RUN_TEST_LOOP_c_f): Likewise.
1938 (RUN_TEST_f_f1): Likewise.
1939 (RUN_TEST_LOOP_f_f1): Likewise.
1940 (RUN_TEST_fF_f1): Likewise.
1941 (RUN_TEST_LOOP_fF_f1): Likewise.
1942 (RUN_TEST_fI_f1): Likewise.
1943 (RUN_TEST_LOOP_fI_f1): Likewise.
1944 (RUN_TEST_ffI_f1): Likewise.
1945 (RUN_TEST_LOOP_ffI_f1): Likewise.
1946 (RUN_TEST_c_c): Likewise.
1947 (RUN_TEST_LOOP_c_c): Likewise.
1948 (RUN_TEST_cc_c): Likewise.
1949 (RUN_TEST_LOOP_cc_c): Likewise.
1950 (RUN_TEST_f_i): Likewise.
1951 (RUN_TEST_LOOP_f_i): Likewise.
1952 (RUN_TEST_f_i_tg): Likewise.
1953 (RUN_TEST_LOOP_f_i_tg): Likewise.
1954 (RUN_TEST_ff_i_tg): Likewise.
1955 (RUN_TEST_LOOP_ff_i_tg): Likewise.
1956 (RUN_TEST_f_b): Likewise.
1957 (RUN_TEST_LOOP_f_b): Likewise.
1958 (RUN_TEST_f_b_tg): Likewise.
1959 (RUN_TEST_LOOP_f_b_tg): Likewise.
1960 (RUN_TEST_f_l): Likewise.
1961 (RUN_TEST_LOOP_f_l): Likewise.
1962 (RUN_TEST_f_L): Likewise.
1963 (RUN_TEST_LOOP_f_L): Likewise.
1964 (RUN_TEST_sincos): Likewise.
1965 (RUN_TEST_LOOP_sincos): Likewise.
1966
8269107f
JM
19672013-05-17 Joseph Myers <joseph@codesourcery.com>
1968
bb38759d
JM
1969 [BZ #15480]
1970 [BZ #15485]
1971 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
1972 main case of finite arguments, set rounding mode to FE_TONEAREST
1973 and discard exceptions.
1974 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
1975 exceptions.
1976 (remainder_tonearest_test_data): New variable.
1977 (remainder_test_tonearest): New function.
1978 (remainder_towardzero_test_data): New variable.
1979 (remainder_test_towardzero): New function.
1980 (remainder_downward_test_data): New variable.
1981 (remainder_test_downward): New function.
1982 (remainder_upward_test_data): New variable.
1983 (remainder_test_upward): New function.
1984 (main): Call the new test functions.
1985
a00bdcf0
JM
1986 * math/libm-test.inc (struct test_f_f1_data): Remove field
1987 extra_init.
1988 (struct test_fF_f1_data): Likewise.
1989 (struct test_ffI_f1_data): Likewise.
1990 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
1991 based on value of EXTRA_EXPECTED.
1992 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
1993 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
1994 EXTRA_VAR based on value of EXTRA_EXPECTED.
1995 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
1996 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
1997 EXTRA_VAR based on value of EXTRA_EXPECTED.
1998 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
1999 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
2000 EXTRA_VAR based on value of EXTRA_EXPECTED.
2001 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
2002 * math/gen-libm-test.pl (parse_args): Don't output initializers
2003 for extra output values.
2004
de407f79
JM
2005 * math/libm-test.inc (check_int): Expect result to be exactly
2006 equal to expected value and do not handle ulps.
2007 (check_long): Likewise.
2008 (check_longlong): Likewise.
2009
8269107f
JM
2010 * math/libm-test.inc (ceil_test_data): Test for "inexact"
2011 exceptions.
2012 (cimag_test_data): Likewise.
2013 (conj_test_data): Likewise.
2014 (copysign_test_data): Likewise.
2015 (cproj_test_data): Likewise.
2016 (creal_test_data): Likewise.
2017 (fabs_test_data): Likewise.
2018 (fdim_test_data): Likewise.
2019 (finite_test_data): Likewise.
2020 (floor_test_data): Likewise.
2021 (fmax_test_data): Likewise.
2022 (fmin_test_data): Likewise.
2023 (fmod_test_data): Likewise.
2024 (fpclassify_test_data): Likewise.
2025 (frexp_test_data): Likewise.
2026 (ilogb_test_data): Likewise.
2027 (isfinite_test_data): Likewise.
2028 (isgreater_test_data): Likewise.
2029 (isgreaterequal_test_data): Likewise.
2030 (isinf_test_data): Likewise.
2031 (isless_test_data): Likewise.
2032 (islessequal_test_data): Likewise.
2033 (islessgreater_test_data): Likewise.
2034 (isnan_test_data): Likewise.
2035 (isnormal_test_data): Likewise.
2036 (issignaling_test_data): Likewise.
2037 (isunordered_test_data): Likewise.
2038 (ldexp_test_data): Likewise.
2039 (lrint_test_data): Likewise.
2040 (lrint_test_data) [TEST_FLOAT]: Disable one test.
2041 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
2042 (lrint_tonearest_test_data): Test for "inexact" exceptions.
2043 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
2044 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
2045 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
2046 test input.
2047 (lrint_towardzero_test_data): Test for "inexact" exceptions.
2048 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
2049 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
2050 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
2051 that test input.
2052 (lrint_downward_test_data): Test for "inexact" exceptions.
2053 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
2054 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
2055 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
2056 test input.
2057 (lrint_upward_test_data): Test for "inexact" exceptions.
2058 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
2059 test input.
2060 (llrint_test_data): Test for "inexact" exceptions.
2061 (llrint_test_data) [TEST_FLOAT]: Disable one test.
2062 (llrint_tonearest_test_data): Test for "inexact" exceptions.
2063 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
2064 (llrint_towardzero_test_data): Test for "inexact" exceptions.
2065 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
2066 (llrint_downward_test_data): Test for "inexact" exceptions.
2067 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
2068 (llrint_upward_test_data): Test for "inexact" exceptions.
2069 (logb_test_data): Likewise.
2070 (logb_downward_test_data): Likewise.
2071 (nextafter_test_data): Likewise.
2072 (nexttoward_test_data): Likewise.
2073 (remainder_test_data): Likewise.
2074 (remquo_test_data): Likewise.
2075 (scalbn_test_data): Likewise.
2076 (scalbln_test_data): Likewise.
2077 (signbit_test_data): Likewise.
2078 (sqrt_test_data): Likewise.
2079 (significand_test_data): Likewise.
2080
48a18de1
SP
20812013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2082
2083 [BZ #15424]
2084 * benchtests/bench-modf.c (struct args): Mark arg0 as
2085 volatile.
2086 * scripts/bench.pl: Mark members of struct args as volatile.
2087
13d3b41a
AZ
20882013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2089
68191c1d 2090 [BZ # 15497]
13d3b41a
AZ
2091 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
2092 negative infinity on POWER6 or lower.
2093 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
2094
2848b105
MR
20952013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
2096
2097 [BZ #15442]
2098 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
2099 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
2100 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
2101 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
2102 (_FP_SETQNAN): New macro.
2103 (_FP_SETQNAN_SEMIRAW): Likewise.
2104 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
2105 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
2106 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
2107 (FP_EXTEND): Use _FP_FRAC_SNANP.
2108 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
2109 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
2110 into account.
2111 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
2112 New macro.
2113 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
2114 Likewise.
2115
323e5cb7
JM
21162013-05-16 Joseph Myers <joseph@codesourcery.com>
2117
c58b274f
JM
2118 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
2119 with DIVIDE_BY_ZERO_EXCEPTION.
2120 (gamma_test_data): Likewise.
2121 (lgamma_test_data): Likewise.
2122 (log_test_data): Likewise.
2123 (log10_test_data): Likewise.
2124 (log2_test_data): Likewise.
2125 (tgamma_test_data): Likewise.
2126
0ab34904
JM
2127 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
2128 (acos_test_tonearest): Likewise.
2129 (acos_test_towardzero): Likewise.
2130 (acos_test_downward): Likewise.
2131 (acos_test_upward): Likewise.
2132 (acosh_test): Likewise.
2133 (asin_test): Likewise.
2134 (asin_test_tonearest): Likewise.
2135 (asin_test_towardzero): Likewise.
2136 (asin_test_downward): Likewise.
2137 (asin_test_upward): Likewise.
2138 (asinh_test): Likewise.
2139 (atan_test): Likewise.
2140 (atanh_test): Likewise.
2141 (atan2_test): Likewise.
2142 (cabs_test): Likewise.
2143 (cacos_test): Likewise.
2144 (cacosh_test): Likewise.
2145 (casin_test): Likewise.
2146 (casinh_test): Likewise.
2147 (catan_test): Likewise.
2148 (catanh_test): Likewise.
2149 (cbrt_test): Likewise.
2150 (ccos_test): Likewise.
2151 (ccosh_test): Likewise.
2152 (cexp_test): Likewise.
2153 (clog_test): Likewise.
2154 (clog10_test): Likewise.
2155 (cos_test): Likewise.
2156 (cos_test_tonearest): Likewise.
2157 (cos_test_towardzero): Likewise.
2158 (cos_test_downward): Likewise.
2159 (cos_test_upward): Likewise.
2160 (cosh_test): Likewise.
2161 (cosh_test_tonearest): Likewise.
2162 (cosh_test_towardzero): Likewise.
2163 (cosh_test_downward): Likewise.
2164 (cosh_test_upward): Likewise.
2165 (cpow_test): Likewise.
2166 (csin_test): Likewise.
2167 (csinh_test): Likewise.
2168 (csqrt_test): Likewise.
2169 (ctan_test): Likewise.
2170 (ctan_test_tonearest): Likewise.
2171 (ctan_test_towardzero): Likewise.
2172 (ctan_test_downward): Likewise.
2173 (ctan_test_upward): Likewise.
2174 (ctanh_test): Likewise.
2175 (ctanh_test_tonearest): Likewise.
2176 (ctanh_test_towardzero): Likewise.
2177 (ctanh_test_downward): Likewise.
2178 (ctanh_test_upward): Likewise.
2179 (erf_test): Likewise.
2180 (erfc_test): Likewise.
2181 (exp_test): Likewise.
2182 (exp_test_tonearest): Likewise.
2183 (exp_test_towardzero): Likewise.
2184 (exp_test_downward): Likewise.
2185 (exp_test_upward): Likewise.
2186 (exp10_test): Likewise.
2187 (exp2_test): Likewise.
2188 (expm1_test): Likewise.
2189 (fmod_test): Likewise.
2190 (gamma_test): Likewise.
2191 (hypot_test): Likewise.
2192 (j0_test): Likewise.
2193 (j1_test): Likewise.
2194 (jn_test): Likewise.
2195 (lgamma_test): Likewise.
2196 (log_test): Likewise.
2197 (log10_test): Likewise.
2198 (log1p_test): Likewise.
2199 (log2_test): Likewise.
2200 (logb_test_downward): Likewise.
2201 (pow_test): Likewise.
2202 (pow_test_tonearest): Likewise.
2203 (pow_test_towardzero): Likewise.
2204 (pow_test_downward): Likewise.
2205 (pow_test_upward): Likewise.
2206 (remainder_test): Likewise.
2207 (remquo_test): Likewise.
2208 (sin_test): Likewise.
2209 (sin_test_tonearest): Likewise.
2210 (sin_test_towardzero): Likewise.
2211 (sin_test_downward): Likewise.
2212 (sin_test_upward): Likewise.
2213 (sincos_test): Likewise.
2214 (sinh_test): Likewise.
2215 (sinh_test_tonearest): Likewise.
2216 (sinh_test_towardzero): Likewise.
2217 (sinh_test_downward): Likewise.
2218 (sinh_test_upward): Likewise.
2219 (sqrt_test): Likewise.
2220 (tan_test): Likewise.
2221 (tan_test_tonearest): Likewise.
2222 (tan_test_towardzero): Likewise.
2223 (tan_test_downward): Likewise.
2224 (tan_test_upward): Likewise.
2225 (tanh_test): Likewise.
2226 (tgamma_test): Likewise.
2227 (y0_test): Likewise.
2228 (y1_test): Likewise.
2229 (yn_test): Likewise.
2230
323e5cb7
JM
2231 * math/gen-libm-test.pl (adjust_arg): Remove function.
2232 (special_function): Remove argument $in_func. Only handle
2233 generating output for tables of tests, not inside functions.
2234 (parse_args): Likewise.
2235 (generate_testfile): Remove variable $in_func. Update call to
2236 parse_args.
2237 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
2238 (MINUS_ZERO_INIT): Rename macro to minus_zero.
2239 (PLUS_INFTY_INIT): Rename macro to plus_infty.
2240 (MINUS_INFTY_INIT): Rename macro to minus_infty.
2241 (QNAN_VALUE_INIT): Rename macro to qnan_value.
2242 (MAX_VALUE_INIT): Rename macro to max_value.
2243 (MIN_VALUE_INIT): Rename macro to min_value.
2244 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
2245 (plus_zero): Remove variable.
2246 (minus_zero): Likewise.
2247 (plus_infty): Likewise.
2248 (minus_infty): Likewise.
2249 (qnan_value): Likewise.
2250 (max_value): Likewise.
2251 (min_value): Likewise.
2252 (min_subnorm_value): Likewise.
2253
e054f494
RA
22542013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2255
2256 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
2257 uint64_t or uint32_t usage.
2258 * crypt/sha256-block.c: Likewise.
2259 * crypt/sha256-crypt.c: Likewise.
2260 * crypt/sha256.c: Likewise.
2261 * crypt/sha512-block.c: Likewise.
2262 * crypt/sha512-crypt.c: Likewise.
2263 * crypt/sha512.c: Likewise.
2264 * debug/backtrace-tst.c: Likewise.
2265 * debug/pcprofiledump.c: Likewise.
2266 * elf/cache.c: Likewise.
2267 * elf/dl-cache.c: Likewise.
2268 * elf/dl-misc.c: Likewise.
2269 * elf/dl-profile.c: Likewise.
2270 * elf/dl-support.c: Likewise.
2271 * elf/ldconfig.c: Likewise.
2272 * elf/sprof.c: Likewise.
2273 * iconv/dummy-repertoire.c: Likewise.
2274 * iconv/iconv_charmap.c: Likewise.
2275 * iconv/skeleton.c: Likewise.
2276 * iconvdata/8bit-generic.c: Likewise.
2277 * iconvdata/cp737.h: Likewise.
2278 * iconvdata/cp775.h: Likewise.
2279 * iconvdata/ibm1008.h: Likewise.
2280 * iconvdata/ibm1025.h: Likewise.
2281 * iconvdata/ibm1046.h: Likewise.
2282 * iconvdata/ibm1097.h: Likewise.
2283 * iconvdata/ibm1112.h: Likewise.
2284 * iconvdata/ibm1122.h: Likewise.
2285 * iconvdata/ibm1123.h: Likewise.
2286 * iconvdata/ibm1124.h: Likewise.
2287 * iconvdata/ibm1129.h: Likewise.
2288 * iconvdata/ibm1130.h: Likewise.
2289 * iconvdata/ibm1132.h: Likewise.
2290 * iconvdata/ibm1133.h: Likewise.
2291 * iconvdata/ibm1137.h: Likewise.
2292 * iconvdata/ibm1140.h: Likewise.
2293 * iconvdata/ibm1141.h: Likewise.
2294 * iconvdata/ibm1142.h: Likewise.
2295 * iconvdata/ibm1143.h: Likewise.
2296 * iconvdata/ibm1144.h: Likewise.
2297 * iconvdata/ibm1145.h: Likewise.
2298 * iconvdata/ibm1146.h: Likewise.
2299 * iconvdata/ibm1147.h: Likewise.
2300 * iconvdata/ibm1148.h: Likewise.
2301 * iconvdata/ibm1149.h: Likewise.
2302 * iconvdata/ibm1153.h: Likewise.
2303 * iconvdata/ibm1154.h: Likewise.
2304 * iconvdata/ibm1155.h: Likewise.
2305 * iconvdata/ibm1156.h: Likewise.
2306 * iconvdata/ibm1157.h: Likewise.
2307 * iconvdata/ibm1158.h: Likewise.
2308 * iconvdata/ibm1160.h: Likewise.
2309 * iconvdata/ibm1161.h: Likewise.
2310 * iconvdata/ibm1162.h: Likewise.
2311 * iconvdata/ibm1163.h: Likewise.
2312 * iconvdata/ibm1164.h: Likewise.
2313 * iconvdata/ibm1166.h: Likewise.
2314 * iconvdata/ibm1167.h: Likewise.
2315 * iconvdata/ibm12712.h: Likewise.
2316 * iconvdata/ibm1390.h: Likewise.
2317 * iconvdata/ibm1399.h: Likewise.
2318 * iconvdata/ibm16804.h: Likewise.
2319 * iconvdata/ibm4517.h: Likewise.
2320 * iconvdata/ibm4899.h: Likewise.
2321 * iconvdata/ibm4909.h: Likewise.
2322 * iconvdata/ibm4971.h: Likewise.
2323 * iconvdata/ibm5347.h: Likewise.
2324 * iconvdata/ibm803.h: Likewise.
2325 * iconvdata/ibm856.h: Likewise.
2326 * iconvdata/ibm901.h: Likewise.
2327 * iconvdata/ibm902.h: Likewise.
2328 * iconvdata/ibm9030.h: Likewise.
2329 * iconvdata/ibm9066.h: Likewise.
2330 * iconvdata/ibm921.h: Likewise.
2331 * iconvdata/ibm922.h: Likewise.
2332 * iconvdata/ibm9448.h: Likewise.
2333 * iconvdata/isiri-3342.h: Likewise.
2334 * iconvdata/jis0201.h: Likewise.
2335 * include/link.h: Likewise.
2336 * include/netdb.h: Likewise.
2337 * inet/check_native.c: Likewise.
2338 * inet/check_pf.c: Likewise.
2339 * inet/getipv4sourcefilter.c: Likewise.
2340 * inet/getnameinfo.c: Likewise.
2341 * inet/getsourcefilter.c: Likewise.
2342 * inet/htonl.c: Likewise.
2343 * inet/setipv4sourcefilter.c: Likewise.
2344 * inet/setsourcefilter.c: Likewise.
2345 * inet/test-inet6_opt.c: Likewise.
2346 * inet/tst-network.c: Likewise.
2347 * locale/C-collate.c: Likewise.
2348 * locale/C-ctype.c: Likewise.
2349 * locale/C-time.c: Likewise.
2350 * locale/C-translit.h: Likewise.
2351 * locale/loadarchive.c: Likewise.
2352 * locale/programs/3level.h: Likewise.
2353 * locale/programs/charmap.c: Likewise.
2354 * locale/programs/charmap.h: Likewise.
2355 * locale/programs/ld-address.c: Likewise.
2356 * locale/programs/ld-collate.c: Likewise.
2357 * locale/programs/ld-ctype.c: Likewise.
2358 * locale/programs/ld-identification.c: Likewise.
2359 * locale/programs/ld-measurement.c: Likewise.
2360 * locale/programs/ld-messages.c: Likewise.
2361 * locale/programs/ld-monetary.c: Likewise.
2362 * locale/programs/ld-name.c: Likewise.
2363 * locale/programs/ld-numeric.c: Likewise.
2364 * locale/programs/ld-paper.c: Likewise.
2365 * locale/programs/ld-telephone.c: Likewise.
2366 * locale/programs/ld-time.c: Likewise.
2367 * locale/programs/linereader.c: Likewise.
2368 * locale/programs/locale.c: Likewise.
2369 * locale/programs/locarchive.c: Likewise.
2370 * locale/programs/locfile.h: Likewise.
2371 * locale/programs/repertoire.c: Likewise.
2372 * locale/programs/simple-hash.c: Likewise.
2373 * locale/programs/simple-hash.h: Likewise.
2374 * malloc/memusage.c: Likewise.
2375 * malloc/memusagestat.c: Likewise.
2376 * nis/nis_defaults.c: Likewise.
2377 * nis/nis_hash.c: Likewise.
2378 * nis/nis_print.c: Likewise.
2379 * nis/nis_xdr.c: Likewise.
2380 * nscd/connections.c: Likewise.
2381 * nscd/hstcache.c: Likewise.
2382 * nscd/nscd_gethst_r.c: Likewise.
2383 * nscd/nscd_getserv_r.c: Likewise.
2384 * nscd/nscd_helper.c: Likewise.
2385 * nscd/servicescache.c: Likewise.
2386 * nss/makedb.c: Likewise.
2387 * nss/nss_db/db-XXX.c: Likewise.
2388 * nss/nss_db/db-initgroups.c: Likewise.
2389 * nss/nss_db/db-netgrp.c: Likewise.
2390 * nss/nss_files/files-network.c: Likewise.
2391 * nss/nss_files/files-parse.c: Likewise.
2392 * posix/bug-regex5.c: Likewise.
2393 * posix/fnmatch_loop.c: Likewise.
2394 * posix/regcomp.c: Likewise.
2395 * posix/regexec.c: Likewise.
2396 * posix/tst-rfc3484-2.c: Likewise.
2397 * posix/tst-rfc3484-3.c: Likewise.
2398 * posix/tst-rfc3484.c: Likewise.
2399 * resolv/nss_dns/dns-canon.c: Likewise.
2400 * resolv/nss_dns/dns-network.c: Likewise.
2401 * resolv/res_init.c: Likewise.
2402 * resolv/res_mkquery.c: Likewise.
2403 * resolv/tst-aton.c: Likewise.
2404 * stdlib/cxa_atexit.c: Likewise.
2405 * stdlib/cxa_finalize.c: Likewise.
2406 * stdlib/gen-fpioconst.c: Likewise.
2407 * stdlib/strtol_l.c: Likewise.
2408 * string/tst-endian.c: Likewise.
2409 * sunrpc/auth_des.c: Likewise.
2410 * sunrpc/clnt_udp.c: Likewise.
2411 * sunrpc/rtime.c: Likewise.
2412 * sunrpc/svcauth_des.c: Likewise.
2413 * sunrpc/xdr.c: Likewise.
2414 * sunrpc/xdr_intXX_t.c: Likewise.
2415 * sunrpc/xdr_rec.c: Likewise.
2416 * sysdeps/generic/ldconfig.h: Likewise.
2417 * sysdeps/generic/ldsodefs.h: Likewise.
2418 * sysdeps/generic/memusage.h: Likewise.
2419 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
2420 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
2421 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
2422 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
2423 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
2424 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
2425 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
2426 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
2427 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
2428 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2429 * sysdeps/posix/getaddrinfo.c: Likewise.
2430 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
2431 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2432 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
2433 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
2434 * sysdeps/powerpc/test-gettimebase.c: Likewise.
2435 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2436 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
2437 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
2438 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
2439 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
2440 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
2441 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
2442 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
2443 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
2444 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
2445 * sysdeps/x86_64/dl-tls.h: Likewise.
2446 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
2447 * time/alt_digit.c: Likewise.
2448 * time/era.c: Likewise.
2449 * wcsmbs/tst-c16c32-1.c: Likewise.
2450
8c75f674
JM
24512013-05-16 Joseph Myers <joseph@codesourcery.com>
2452
2453 * math/libm-test.inc (struct test_sincos_data): New type.
2454 (RUN_TEST_LOOP_sincos): New macro.
2455 (sincos_test_data): New variable.
2456 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
2457
e6e49e59
RH
24582013-05-16 Richard Henderson <rth@redhat.com>
2459
2460 * math/atest-exp2.c (LIMB64): New macro.
2461 (CONSTSZ): New macro.
2462 (mp_exp1, mp_exp_m1, mp_log2): New variables.
2463 (hexdig): Move ...
2464 (print_mpn_fp): ... to function scope.
2465 (read_mpn_hex): Remove.
2466 (get_log2): Remove.
2467 (exp2_mpn): Use mp_log2.
2468 (main): Use mp_exp1.
2469
15c7c18d
JM
24702013-05-16 Joseph Myers <joseph@codesourcery.com>
2471
105a07df
JM
2472 * math/libm-test.inc: Remove comment about not testing "inexact"
2473 exceptions.
2474 (INEXACT_EXCEPTION): New macro.
2475 (NO_INEXACT_EXCEPTION): Likewise.
2476 (INVALID_EXCEPTION_OK): Update value.
2477 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2478 (OVERFLOW_EXCEPTION_OK): Likewise.
2479 (UNDERFLOW_EXCEPTION_OK): Likewise.
2480 (IGNORE_ZERO_INF_SIGN): Likewise.
2481 (ERRNO_UNCHANGED): Likewise.
2482 (ERRNO_EDOM): Likewise.
2483 (ERRNO_ERANGE): Likewise.
2484 (test_exceptions): Handle testing "inexact" exceptions.
2485 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
2486 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
2487 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
2488 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
2489 INEXACT_EXCEPTION.
2490 (rint_towardzero_test_data): Likewise.
2491 (rint_downward_test_data): Likewise.
2492 (rint_upward_test_data): Likewise.
2493
e9eee333
JM
2494 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
2495 with OVERFLOW_EXCEPTION.
2496 (exp10_test_data): Likewise.
2497 (exp2_test_data): Likewise.
2498 (expm1_test_data): Likewise.
2499 (lgamma_test_data): Likewise.
2500 (pow_test_data): Likewise.
2501 (tgamma_test_data): Likewise.
2502 (yn_test_data): Remove duplicate test of overflow.
2503
1c38ff73
JM
2504 * math/libm-test.inc (struct test_cc_c_data): New type.
2505 (RUN_TEST_LOOP_cc_c): New macro.
2506 (cpow_test_data): New variable.
2507 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
2508
15c7c18d
JM
2509 * math/libm-test.inc (struct test_f_L_data): New type.
2510 (RUN_TEST_LOOP_f_L): New macro.
2511 (llrint_test_data): New variable.
2512 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
2513 (llrint_tonearest_test_data): New variable.
2514 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
2515 (llrint_towardzero_test_data): New variable.
2516 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
2517 (llrint_downward_test_data): New variable.
2518 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
2519 (llrint_upward_test_data): New variable.
2520 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
2521 (llround_test_data): New variable.
2522 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
2523
f137ff13
PC
25242013-05-13 Peter Collingbourne <pcc@google.com>
2525
2526 * math/atest-exp2.c (get_log2): Remove const attribute.
2527
3608cb24
JM
25282013-05-15 Joseph Myers <joseph@codesourcery.com>
2529
2530 * math/libm-test.inc (struct test_f_l_data): New type.
2531 (RUN_TEST_LOOP_f_l): New macro.
2532 (lrint_test_data): New variable.
2533 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
2534 (lrint_tonearest_test_data): New variable.
2535 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
2536 (lrint_towardzero_test_data): New variable.
2537 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
2538 (lrint_downward_test_data): New variable.
2539 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
2540 (lrint_upward_test_data): New variable.
2541 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
2542 (lround_test_data): New variable.
2543 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
2544
39b1f617
PC
25452013-05-15 Peter Collingbourne <pcc@google.com>
2546
1deff3dc
PC
2547 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
2548 (EXTRACT_WORDS64) Use where appropriate.
2549 (INSERT_WORDS64) Likewise.
2550
791f3ba0
PC
2551 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
2552 constraints with x constraints.
2553 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
2554
39b1f617
PC
2555 * malloc/obstack.c (_obstack_compat): Add initializer.
2556
12fba011
EM
25572013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
2558
2559 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
2560 si_trapno and add si_addr_lsb to _sifields.sigfault.
2561 (si_trapno): Remove macro.
2562 (si_addr_lsb): Define new macro.
2563 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
2564
d369f531
JM
25652013-05-15 Joseph Myers <joseph@codesourcery.com>
2566
b861c6c4
JM
2567 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
2568 instead of TEST_f_l.
2569 (llrint_test_tonearest): Likewise.
2570 (llrint_test_towardzero): Likewise.
2571 (llrint_test_downward): Likewise.
2572 (llrint_test_upward): Likewise.
2573 (llround_test): Likewise.
2574
7abeee12
JM
2575 * math/libm-test.inc (struct test_f_i_data): Add comment.
2576 (RUN_TEST_LOOP_f_b): New macro.
2577 (RUN_TEST_LOOP_f_b_tg): Likewise.
2578 (finite_test_data): New variable.
2579 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
2580 (isfinite_test_data): New variable.
2581 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2582 (isinf_test_data): New variable.
2583 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2584 (isnan_test_data): New variable.
2585 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2586 (isnormal_test_data): New variable.
2587 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2588 (issignaling_test_data): New variable.
2589 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2590 (signbit_test_data): New variable.
2591 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2592
cbe8c4d3
JM
2593 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
2594 with INVALID_EXCEPTION.
2595 (acosh_test_data): Likewise.
2596 (asin_test_data): Likewise.
2597 (atanh_test_data): Likewise.
2598 (fmod_test_data): Likewise.
2599 (log_test_data): Likewise.
2600 (log10_test_data): Likewise.
2601 (log2_test_data): Likewise.
2602 (pow_test_data): Likewise.
2603 (sqrt_test_data): Likewise.
2604 (y0_test_data): Likewise.
2605 (y1_test_data): Likewise.
2606 (yn_test_data): Likewise.
2607
5575c0e5
JM
2608 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
2609 function contents.
2610
d369f531
JM
2611 * math/libm-test.inc (struct test_ff_i_data): New type.
2612 (RUN_TEST_LOOP_ff_i_tg): New macro.
2613 (isgreater_test_data): New variable.
2614 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2615 (isgreaterequal_test_data): New variable.
2616 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2617 (isless_test_data): New variable.
2618 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2619 (islessequal_test_data): New variable.
2620 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2621 (islessgreater_test_data): New variable.
2622 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2623 (isunordered_test_data): New variable.
2624 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2625
781fd748
DM
26262013-05-14 David S. Miller <davem@davemloft.net>
2627
2628 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2629
87aa21df
JM
26302013-05-14 Joseph Myers <joseph@codesourcery.com>
2631
5e908270
JM
2632 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
2633
f71172e5
JM
2634 * math/libm-test.inc (struct test_fF_f1_data): Change type of
2635 extra_test to int.
2636 (struct test_f_i_data): Change type of max_ulp to int.
2637
8cfa635a
JM
2638 * math/libm-test.inc (test_ffI_f1_data): New type.
2639 (RUN_TEST_LOOP_ffI_f1): New macro.
2640 (remquo_test_data): New variable.
2641 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
2642
2bcb36b2
JM
2643 * setjmp/tst-setjmp-fp.c: New file.
2644 * setjmp/Makefile (tests): Add tst-setjmp-fp.
2645 (link-libm): New variable.
2646 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
2647
acbd839a
JM
2648 * math/libm-test.inc (struct test_f_i_data): New type.
2649 (RUN_TEST_LOOP_f_i): New macro.
2650 (RUN_TEST_LOOP_f_i_tg): Likewise.
2651 (fpclassify_test_data): New variable.
2652 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
2653 (ilogb_test_data): New variable.
2654 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
2655
e414d745
JM
2656 * math/libm-test.inc (scalbln_test): Correct function name in END
2657 call.
2658
d9c2a0fd
JM
2659 * math/libm-test.inc (struct test_f_f1_data): Add comment.
2660 (RUN_TEST_LOOP_fI_f1): New macro.
2661 (frexp_test_data): New variable.
2662 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
2663
9dc9095d
JM
2664 * math/libm-test.inc (struct test_fF_f1_data): New type.
2665 (RUN_TEST_LOOP_fF_f1): New macro.
2666 (modf_test_data): New variable.
2667 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
2668
87aa21df
JM
2669 * math/libm-test.inc (struct test_f_f1_data): New type.
2670 (RUN_TEST_LOOP_f_f1): New macro.
2671 (gamma_test_data): New variable.
2672 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
2673 (lgamma_test_data): New variable.
2674 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
2675
141af660
CD
26762013-05-13 Carlos O'Donell <carlos@redhat.com>
2677
2678 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
2679 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
2680 (main): Comment "tls" pseudo-hwcap.
2681
6d33265c
JM
26822013-05-13 Joseph Myers <joseph@codesourcery.com>
2683
68fc074c
JM
2684 * math/libm-test.inc (struct test_fl_f_data): New type.
2685 (RUN_TEST_LOOP_fl_f): New variable.
2686 (scalbln_test_data): New variable.
2687 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
2688
243216e1
JM
2689 * math/libm-test.inc (struct test_fi_f_data): New type.
2690 (RUN_TEST_LOOP_fi_f): New macro.
2691 (ldexp_test_data): New variable.
2692 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
2693 (scalbn_test_data): New variable.
2694 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
2695
6a1992e2
JM
2696 * math/libm-test.inc (struct test_c_f_data): New type.
2697 (RUN_TEST_LOOP_c_f): New macro.
2698 (cabs_test_data): New variable.
2699 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
2700 (carg_test_data): New variable.
2701 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
2702 (cimag_test_data): New variable.
2703 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
2704 (creal_test_data): New variable.
2705 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
2706
0e400df5
JM
2707 * math/libm-test.inc (struct test_if_f_data): New type.
2708 (RUN_TEST_LOOP_if_f): New macro.
2709 (jn_test_data): New variable.
2710 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
2711 (yn_test_data): New variable.
2712 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
2713
6d33265c
JM
2714 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
2715
f98ece5f
AZ
27162013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2717
2718 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
2719 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
2720
0f7d347b
SP
27212013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2722
43fe811b
SP
2723 * benchtests/Makefile (CPPFLAGS-nonlib): Add
2724 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
2725 (bench-deps): Add bench-timing.h.
2726 * benchtests-bench-skeleton.c: Include bench-timing.h.
2727 (main): Use TIMING_* macros instead of clock_gettime.
2728 * benchtests/bench-timing.h: New file.
2729
0f7d347b
SP
2730 [BZ #14582]
2731 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
2732 Renamed from _LIB_VERSION.
2733 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
2734
601a3a5f
JM
27352013-05-12 Joseph Myers <joseph@codesourcery.com>
2736
4f184d30
JM
2737 * math/libm-test.inc (struct test_fff_f_data): New type.
2738 (RUN_TEST_LOOP_fff_f): New macro.
2739 (fma_test_data): New variable.
2740 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
2741 (fma_towardzero_test_data): New variable.
2742 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
2743 (fma_downward_test_data): New variable.
2744 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
2745 (fma_upward_test_data): New variable.
2746 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
2747
08198877
JM
2748 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
2749 (struct test_c_c_data): New type.
2750 (RUN_TEST_LOOP_c_c): New macro.
2751 (cacos_test_data): New variable.
2752 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
2753 (cacosh_test_data): New variable.
2754 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
2755 (casin_test_data): New variable.
2756 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
2757 (casinh_test_data): New variable.
2758 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
2759 (catan_test_data): New variable.
2760 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
2761 (catanh_test_data): New variable.
2762 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
2763 (ccos_test_data): New variable.
2764 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
2765 (ccosh_test_data): New variable.
2766 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
2767 (cexp_test_data): New variable.
2768 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
2769 (clog_test_data): New variable.
2770 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
2771 (clog10_test_data): New variable.
2772 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
2773 (conj_test_data): New variable.
2774 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
2775 (cproj_test_data): New variable.
2776 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
2777 (csin_test_data): New variable.
2778 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
2779 (csinh_test_data): New variable.
2780 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
2781 (csqrt_test_data): New variable.
2782 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
2783 (ctan_test_data): New variable.
2784 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
2785 (ctan_tonearest_test_data): New variable.
2786 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
2787 (ctan_towardzero_test_data): New variable.
2788 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
2789 (ctan_downward_test_data): New variable.
2790 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
2791 (ctan_upward_test_data): New variable.
2792 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
2793 (ctanh_test_data): New variable.
2794 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
2795 (ctanh_tonearest_test_data): New variable.
2796 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
2797 (ctanh_towardzero_test_data): New variable.
2798 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
2799 (ctanh_downward_test_data): New variable.
2800 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
2801 (ctanh_upward_test_data): New variable.
2802 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
2803 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
2804 of BUILD_COMPLEX.
2805
601a3a5f
JM
2806 * math/libm-test.inc (struct test_ff_f_data): New type.
2807 (struct test_ff_f_data_nexttoward): Likewise.
2808 (RUN_TEST_LOOP_2_f): New macro.
2809 (RUN_TEST_LOOP_ff_f): Likewise.
2810 (atan2_test_data): New variable.
2811 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
2812 (copysign_test_data): New variable.
2813 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
2814 (fdim_test_data): New variable.
2815 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
2816 (fmax_test_data): New variable.
2817 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
2818 (fmin_test_data): New variable.
2819 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
2820 (fmod_test_data): New variable.
2821 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
2822 (hypot_test_data): New variable.
2823 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
2824 (nextafter_test_data): New variable.
2825 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
2826 (nexttoward_test_data): New variable.
2827 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
2828 (pow_test_data): New variable.
2829 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
2830 (pow_tonearest_test_data): New variable.
2831 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
2832 (pow_towardzero_test_data): New variable.
2833 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
2834 (pow_downward_test_data): New variable.
2835 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
2836 (pow_upward_test_data): New variable.
2837 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
2838 (remainder_test_data): New variable.
2839 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
2840 (scalb_test_data): New variable.
2841 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
2842 * sysdeps/i386/fpu/libm-test-ulps: Update.
2843
74c57478
JM
28442013-05-11 Joseph Myers <joseph@codesourcery.com>
2845
8329e4da
JM
2846 * math/libm-test.inc (fma_test): Use max_value instead of local
2847 variable fltmax.
2848 (nextafter_test): Likewise.
2849
74c57478
JM
2850 * math/libm-test.inc (acos_towardzero_test_data): New variable.
2851 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2852 (acos_downward_test_data): New variable.
2853 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2854 (acos_upward_test_data): New variable.
2855 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2856 (acosh_test_data): New variable.
2857 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
2858 (asin_test_data): New variable.
2859 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
2860 (asin_tonearest_test_data): New variable.
2861 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2862 (asin_towardzero_test_data): New variable.
2863 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2864 (asin_downward_test_data): New variable.
2865 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2866 (asin_upward_test_data): New variable.
2867 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2868 (asinh_test_data): New variable.
2869 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
2870 (atan_test_data): New variable.
2871 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
2872 (atanh_test_data): New variable.
2873 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
2874 (cbrt_test_data): New variable.
2875 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
2876 (ceil_test_data): New variable.
2877 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
2878 (cos_test_data): New variable.
2879 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
2880 (cos_tonearest_test_data): New variable.
2881 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2882 (cos_towardzero_test_data): New variable.
2883 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2884 (cos_downward_test_data): New variable.
2885 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2886 (cos_upward_test_data): New variable.
2887 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2888 (cosh_test_data): New variable.
2889 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
2890 (cosh_tonearest_test_data): New variable.
2891 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2892 (cosh_towardzero_test_data): New variable.
2893 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2894 (cosh_downward_test_data): New variable.
2895 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2896 (cosh_upward_test_data): New variable.
2897 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2898 (erf_test_data): New variable.
2899 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
2900 (erfc_test_data): New variable.
2901 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
2902 (exp_test_data): New variable.
2903 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
2904 (exp_tonearest_test_data): New variable.
2905 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2906 (exp_towardzero_test_data): New variable.
2907 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2908 (exp_downward_test_data): New variable.
2909 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2910 (exp_upward_test_data): New variable.
2911 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2912 (exp10_test_data): New variable.
2913 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
2914 (exp2_test_data): New variable.
2915 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
2916 (expm1_test_data): New variable.
2917 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
2918 (fabs_test_data): New variable.
2919 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
2920 (floor_test_data): New variable.
2921 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
2922 (j0_test_data): New variable.
2923 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
2924 (j1_test_data): New variable.
2925 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
2926 (log_test_data): New variable.
2927 (log_test): Run tests with RUN_TEST_LOOP_f_f.
2928 (log10_test_data): New variable.
2929 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
2930 (log1p_test_data): New variable.
2931 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
2932 (log2_test_data): New variable.
2933 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
2934 (logb_test_data): New variable.
2935 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
2936 (logb_downward_test_data): New variable.
2937 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2938 (nearbyint_test_data): New variable.
2939 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
2940 (rint_test_data): New variable.
2941 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
2942 (rint_tonearest_test_data): New variable.
2943 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2944 (rint_towardzero_test_data): New variable.
2945 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2946 (rint_downward_test_data): New variable.
2947 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2948 (rint_upward_test_data): New variable.
2949 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2950 (round_test_data): New variable.
2951 (round_test): Run tests with RUN_TEST_LOOP_f_f.
2952 (sin_test_data): New variable.
2953 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
2954 (sin_tonearest_test_data): New variable.
2955 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2956 (sin_towardzero_test_data): New variable.
2957 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2958 (sin_downward_test_data): New variable.
2959 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2960 (sin_upward_test_data): New variable.
2961 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2962 (sinh_test_data): New variable.
2963 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
2964 (sinh_tonearest_test_data): New variable.
2965 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2966 (sinh_towardzero_test_data): New variable.
2967 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2968 (sinh_downward_test_data): New variable.
2969 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2970 (sinh_upward_test_data): New variable.
2971 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2972 (sqrt_test_data): New variable.
2973 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
2974 (tan_test_data): New variable.
2975 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
2976 (tan_tonearest_test_data): New variable.
2977 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2978 (tan_towardzero_test_data): New variable.
2979 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2980 (tan_downward_test_data): New variable.
2981 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2982 (tan_upward_test_data): New variable.
2983 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2984 (tanh_test_data): New variable.
2985 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
2986 (tgamma_test_data): New variable.
2987 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
2988 (trunc_test_data): New variable.
2989 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
2990 (y0_test_data): New variable.
2991 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
2992 (y1_test_data): New variable.
2993 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
2994 (significand_test_data): New variable.
2995 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
2996
7187d844
CG
29972013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
2998
2999 [BZ #12387]
3000 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
3001
f63fae73
PT
30022013-05-10 Pino Toscano <toscano.pino@tiscali.it>
3003
3004 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
3005
8a67a4b3
AJ
30062013-05-10 Andreas Jaeger <aj@suse.de>
3007
3008 [BZ #15448]
3009 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
3010 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
3011
51df539d
JM
30122013-05-10 Joseph Myers <joseph@codesourcery.com>
3013
3014 * math/gen-libm-test.pl (adjust_arg): New function.
3015 (special_functions): Handle generating output in both functions
3016 and arrays.
3017 (parse_args): Likewise.
3018 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
3019 $in_func argument to parse_args.
3020 * math/libm-test.inc (struct test_f_f_data): New type.
3021 (IF_ROUND_INIT_): New macro.
3022 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
3023 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
3024 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
3025 (IF_ROUND_INIT_FE_UPWARD): Likewise.
3026 (ROUND_RESTORE_): Likewise.
3027 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
3028 (ROUND_RESTORE_FE_TONEAREST): Likewise.
3029 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
3030 (ROUND_RESTORE_FE_UPWARD): Likewise.
3031 (RUN_TEST_LOOP_f_f): New macro.
3032 (acos_test_data): New variable.
3033 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
3034 (acos_tonearest_test_data): New variable.
3035 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3036
5c637fe5
SP
30372013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3038
3039 * benchtests/bench-skeleton.c (startup): Fix coding style.
3040
ab2b9461
JM
30412013-05-10 Joseph Myers <joseph@codesourcery.com>
3042
3043 [BZ #6809]
3044 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
3045 negative infinity argument.
3046 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
3047 negative infinity argument.
3048 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
3049 negative infinity argument.
3050 * math/libm-test.inc (tgamma_test): Expect errno to be set for
3051 domain errors.
3052
4c0fe6fe
FW
30532013-05-10 Florian Weimer <fweimer@redhat.com>
3054
3055 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
3056 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
3057 * iconv/iconv_prog.c (main): Likewise.
3058 * locale/programs/charmap-dir.c (charmap_readdir)
3059 (fopen_uncompressed): Likewise.
3060 * locale/programs/locfile.c (siblings_uncached)
3061 (write_locale_data): Use lstat64 instead of lstat.
3062 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
3063 stat.
3064
a3375d29
AJ
30652013-05-10 Andreas Jaeger <aj@suse.de>
3066
3067 [BZ #15395]
3068 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
3069 localization.
3070 Include <locale.h>.
3071
36129722
CD
30722013-05-09 Carlos O'Donell <carlos@redhat.com>
3073
3074 * elf/dl-close.c (_dl_close_worker): Add comments.
3075
faa7f811
JM
30762013-05-09 Joseph Myers <joseph@codesourcery.com>
3077
ed41ffef
JM
3078 [BZ #15359]
3079 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
3080 high part of pi/2.
3081 (__ieee754_rem_pio2l): Update comments.
3082
d0213cd0
JM
3083 [BZ #15429]
3084 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
3085 high part of pi/2.
3086 (__ieee754_rem_pio2l): Update comments.
3087
0d3e777a
JM
3088 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
3089 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
3090
24f56066
JM
3091 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
3092 M_PI_4l.
3093
faa7f811
JM
3094 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
3095 (M_PI_34_LOG10El): Likewise.
3096 (M_PI2_LOG10El): Likewise.
3097 (M_PI4_LOG10El): Likewise.
3098 (M_PI_LOG10El): Likewise.
3099
e9a5e0fd
AZ
31002013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3101
3102 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3103
d8cd06db
JM
31042013-05-08 Joseph Myers <joseph@codesourcery.com>
3105
a0d9f9d7
JM
3106 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
3107 (MINUS_ZERO_INIT): Likewise.
3108 (PLUS_INFTY_INIT): Likewise.
3109 (MINUS_INFTY_INIT): Likewise.
3110 (QNAN_VALUE_INIT): Likewise.
3111 (MAX_VALUE_INIT): Likewise.
3112 (MIN_VALUE_INIT): Likewise.
3113 (MIN_SUBNORM_VALUE_INIT): Likewise.
3114 (plus_zero): Initialize with PLUS_ZERO_INIT.
3115 (minus_zero): Initialize with MINUS_ZERO_INIT.
3116 (plus_infty): Initialize with PLUS_INFTY_INIT.
3117 (minus_infty): Initialize with MINUS_INFTY_INIT.
3118 (qnan_value): Initialize with QNAN_VALUE_INIT.
3119 (max_value): Initialize with MAX_VALUE_INIT.
3120 (min_value): Initialize with MIN_VALUE_INIT.
3121 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
3122
ae08db3b
JM
3123 * math/libm-test.inc (RUN_TEST_if_f): New macro.
3124 (jn_test): Use TEST_if_f instead of TEST_ff_f.
3125 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
3126 (yn_test): Use TEST_if_f instead of TEST_ff_f.
3127
f44bf14a
JM
3128 * math/libm-test.inc (RUN_TEST_f_f): New macro.
3129 (RUN_TEST_2_f): Likewise.
3130 (RUN_TEST_ff_f): Likewise.
3131 (RUN_TEST_fi_f): Likewise.
3132 (RUN_TEST_fl_f): Likewise.
3133 (RUN_TEST_fff_f): Likewise.
3134 (RUN_TEST_c_f): Likewise.
3135 (RUN_TEST_f_f1): Likewise.
3136 (RUN_TEST_fF_f1): Likewise.
3137 (RUN_TEST_fI_f1): Likewise.
3138 (RUN_TEST_ffI_f1): Likewise.
3139 (RUN_TEST_c_c): Likewise.
3140 (RUN_TEST_cc_c): Likewise.
3141 (RUN_TEST_f_i): Likewise.
3142 (RUN_TEST_f_i_tg): Likewise.
3143 (RUN_TEST_ff_i_tg): Likewise.
3144 (RUN_TEST_f_b): Likewise.
3145 (RUN_TEST_f_b_tg): Likewise.
3146 (RUN_TEST_f_l): Likewise.
3147 (RUN_TEST_f_L): Likewise.
3148 (RUN_TEST_sincos): Likewise.
3149 * math/gen-libm-test.pl (new_test): Take new argument to indicate
3150 whether to show exceptions. Do not include ");\n" in return
3151 value.
3152 (special_functions): Output call to RUN_TEST_sincos instead of
3153 check_float calls. Update calls to new_test.
3154 (parse_args): Output call to single RUN_TEST_* macro instead of
3155 check_* calls and other assignments. Update calls to new_test.
3156
d8cd06db
JM
3157 [BZ #2546]
3158 [BZ #2560]
3159 [BZ #5159]
3160 [BZ #15426]
3161 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
3162 input to result for tgamma overflow.
3163 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
3164 (gamma_coeff): New variable.
3165 (NCOEFF): New macro.
3166 (gamma_positive): New function.
3167 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
3168 underflow here. Use gamma_positive instead of exp (lgamma) for
3169 other arguments.
3170 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
3171 (gamma_coeff): New variable.
3172 (NCOEFF): New macro.
3173 (gammaf_positive): New function.
3174 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
3175 underflow here. Use gamma_positive instead of exp (lgamma) for
3176 other arguments.
3177 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
3178 (gamma_coeff): New variable.
3179 (NCOEFF): New macro.
3180 (gammal_positive): New function.
3181 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
3182 underflow here. Use gamma_positive instead of exp (lgamma) for
3183 other arguments.
3184 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
3185 (gamma_coeff): New variable.
3186 (NCOEFF): New macro.
3187 (gammal_positive): New function.
3188 (__ieee754_gammal_r): Handle positive infinity, overflow and
3189 underflow here. Handle NaN the same as positive infinity. Remove
3190 check x < 0xffffffff for negative integers. Use gamma_positive
3191 instead of exp (lgamma) for other arguments.
3192 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
3193 (gamma_coeff): New variable.
3194 (NCOEFF): New macro.
3195 (gammal_positive): New function.
3196 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
3197 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
3198 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
3199 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
3200 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
3201 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
3202 * sysdeps/generic/math_private.h (__gamma_productf): New
3203 prototype.
3204 (__gamma_product): Likewise.
3205 (__gamma_productl): Likewise.
3206 * math/Makefile (libm-calls): Add gamma_product.
3207 * math/libm-test.inc (tgamma_test): Add more tests.
3208 * sysdeps/i386/fpu/libm-test-ulps: Update.
3209 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3210
bb7cf681
OB
32112013-05-08 Ondřej Bílka <neleai@seznam.cz>
3212
3213 * benchtests/bench-skeleton.c (main): Preheat CPU.
3214
ba853947
AJ
32152013-05-07 Aurelien Jarno <aurelien@aurel32.net>
3216
3217 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
3218
8347c74c
RM
32192013-05-07 Roland McGrath <roland@hack.frob.com>
3220
3221 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
3222 and _dl_skip_args_internal.
3223
e8dd4791
CD
32242013-05-07 Carlos O'Donell <carlos@redhat.com>
3225
3226 * manual/message.texi (Message Translation): Talk about users.
3227 Message to key mapping impacts design.
3228
c7405830
RM
32292013-05-06 Roland McGrath <roland@hack.frob.com>
3230
a9173057
RM
3231 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
3232
976e2f03
RM
3233 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
3234
9723ffc5
RM
3235 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
3236 * sysdeps/wordsize-64/glob64.c: ... here.
3237
962e6658
RM
3238 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
3239 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
3240 New macros.
3241
ee586a6d
RM
3242 * debug/getlogin_r_chk.c: Moved to ...
3243 * login/getlogin_r_chk.c: ... here.
3244 * debug/Makefile (routines): Move getlogin_r_chk to ...
3245 * login/Makefile (routines): ... here.
3246 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
3247 * login/Versions (libc: GLIBC_2.4): ... here.
3248
355f9165
RM
3249 * io/poll.c (__poll): Renamed from poll.
3250 Add libc_hidden_def.
3251 (poll): Define as weak alias.
3252
bd9ffde6
RM
3253 * debug/ptsname_r_chk.c: Moved to ...
3254 * login/ptsname_r_chk.c: ... here.
3255 * debug/Makefile (routines): Move ptsname_r_chk to ...
3256 * login/Makefile (routines): ... here.
3257 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
3258 * login/Versions (libc: GLIBC_2.4): ... here.
3259
8fb16a04
RM
3260 * posix/getlogin.c: Moved to ...
3261 * login/getlogin.c: ... here.
3262 * posix/getlogin_r.c: Moved to ...
3263 * login/getlogin_r.c: ... here.
3264 * posix/getlogin_r.c: Moved to ...
3265 * login/getlogin_r.c: ... here.
3266 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
3267 * login/Makefile (routines): ... here.
3268 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
3269 * login/Versions (libc: GLIBC_2.0): ... here.
3270
b99b892f
RM
3271 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
3272 (setrlimit): Define as weak alias.
3273
c7405830
RM
3274 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
3275 Call __ names for open, ftruncate, and close.
3276 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
3277 (truncate): Define as weak alias.
3278
5bf96de5
JM
32792013-05-06 Joseph Myers <joseph@codesourcery.com>
3280
9ea3513c
JM
3281 * math/gen-libm-test.pl (parse_args): Initialize x before each
3282 test of frexp, modf and remquo.
3283
5bf96de5
JM
3284 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
3285 test signgam value.
3286
16e616a7
AZ
32872013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3288
3289 [BZ #15418]
3290 [BZ #15419]
3291 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
3292 internal tests.
3293 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3294
d5e82754
RM
32952013-05-06 Roland McGrath <roland@hack.frob.com>
3296
3297 * elf/dl-writev.h: New file.
3298 * elf/dl-misc.c: Include it.
3299 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
3300 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
3301
a7548d41
JM
33022013-05-04 Joseph Myers <joseph@codesourcery.com>
3303
b7dab1e4
JM
3304 * math/libm-test.inc (noXFails): Remove variable.
3305 (noXPasses): Likewise.
3306 (BUILD_COMPLEX_INT): Remove macro.
3307 (print_screen): Remove xfail argument.
3308 (print_screen_max_error): Likewise.
3309 (update_stats): Likewise.
3310 (print_max_error): Likewise. Update calls to other affected
3311 functions.
3312 (print_complex_max_error): Likewise.
3313 (test_single_exception): Update calls to print_screen.
3314 (test_single_errno): Likewise.
3315 (check_float_internal): Remove xfail argument. Update calls to
3316 other affected functions.
3317 (check_float): Likewise.
3318 (check_complex): Likewise.
3319 (check_int): Likewise.
3320 (check_long): Likewise.
3321 (check_bool): Likewise.
3322 (check_longlong): Likewise.
3323 (main): Don't print noXFails and noXPasses.
3324 * math/gen-libm-test.pl (top level): Don't mention expected
3325 failure handling in comment.
3326 (new_test): Don't handle expected failures.
3327 (parse_args): Don't mention expected failure handling in comment.
3328 (generate_testfile): Don't handle expected failures.
3329 (parse_ulps): Likewise.
3330 (print_ulps_file): Likewise.
3331 (get_failure): Remove function.
3332 (output_test): Don't handle expected failures.
3333 * make/README.libm-test: Don't mention expected failure handling.
3334
a7548d41
JM
3335 * math/libm-test.inc (plus_zero): Make const. Add initializer.
3336 (minus_zero): Likewise.
3337 (plus_infty): Likewise.
3338 (minus_infty): Likewise.
3339 (qnan_value): Likewise.
3340 (max_value): Likewise.
3341 (min_value): Likewise.
3342 (min_subnorm_value): Likewise.
3343 (initialize): Do not initialize those variables dynamically.
3344
60bfd54c
RM
33452013-05-03 Roland McGrath <roland@hack.frob.com>
3346
cc0e6ed8
RM
3347 * io/open.c (__open_2): Moved to ...
3348 * io/open_2.c: ... this new file.
3349 * io/open64.c (__open64_2): Moved to ...
3350 * io/open64_2.c: ... this new file.
3351 * io/openat.c (__openat_2): Moved to ...
3352 * io/openat_2.c: ... this new file.
3353 * io/openat64.c (__openat64_2): Moved to ...
3354 * io/openat64_2.c: ... this new file.
3355 * io/Makefile (routines): Add them.
3356 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
3357 * sysdeps/unix/sysv/linux/open_2.c: File removed.
3358 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
3359 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
3360 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
3361 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
3362 (__openat64): Add hidden_ver.
3363 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
3364 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
3365
60bfd54c
RM
3366 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
3367 Separately conditionalize setting of GLRO(dl_sysinfo) so
3368 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
3369 as well, but the actual setting is only under [NEED_DL_SYSINFO].
3370
83e7640f
AZ
33712013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3372
3373 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
3374 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
3375 definition.
3376 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
3377 * sysdeps/unix/sysv/linux/powerpc/init-first.c
3378 (_libc_vdso_platform_setup): Add __vdso_time initialization.
3379 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
3380 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
3381
d5dc2af3
JM
33822013-05-03 Joseph Myers <joseph@codesourcery.com>
3383
c31a5b1e
JM
3384 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
3385 test signgam value.
3386
d5dc2af3
JM
3387 * math/libm-test.inc (hypot_test): Do not use
3388 IGNORE_ZERO_INF_SIGN.
3389
164fd39d
AJ
33902013-05-03 Andreas Jaeger <aj@suse.de>
3391
3392 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
3393 Linux 3.9.
3394 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
3395 (PF_MAX): Adjust for VSOCK change.
3396
8237f48c
AZ
33972013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3398
3399 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3400
9df02941
CD
34012013-05-02 Carlos O'Donell <carlos@redhat.com>
3402
3403 [BZ #15264]
3404 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
3405 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
3406 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
3407
d422395e
DM
34082013-05-02 David S. Miller <davem@davemloft.net>
3409
3410 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3411
a07c5731
OB
34122013-05-01 Ondřej Bílka <neleai@seznam.cz>
3413
3414 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
3415
1324e37f
RM
34162013-05-01 Roland McGrath <roland@hack.frob.com>
3417
3418 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
3419
0695940b
RS
34202013-05-01 Richard Smith <richard@metafoo.co.uk>
3421
bb5f27ad 3422 [BZ #14952]
0695940b
RS
3423 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
3424 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
3425 Use __attribute__ ((__gnu_inline__)).
3426 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
3427 Don't use __attribute__ ((__gnu_inline__)).
3428
10de07f5
JM
34292013-05-01 Joseph Myers <joseph@codesourcery.com>
3430
3431 [BZ #15423]
3432 * math/s_catan.c (__catan): Handle small real or imaginary part of
3433 input specially to avoid spurious underflow.
3434 * math/s_catanf.c (__catanf): Likewise.
3435 * math/s_catanh.c (__catanh): Likewise.
3436 * math/s_catanhf.c (__catanhf): Likewise.
3437 * math/s_catanhl.c (__catanhl): Likewise.
3438 * math/s_catanl.c (__catanl): Likewise.
3439 * math/libm-test.inc (catan_test): Add more tests.
3440 (catanh_test): Likewise.
3441 * sysdeps/i386/fpu/libm-test-ulps: Update.
3442 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3443
cb4d5414
AZ
34442013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3445
3446 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3447
caf84319
JM
34482013-04-30 Joseph Myers <joseph@codesourcery.com>
3449
3450 [BZ #15416]
3451 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
3452 accurately for denominator in atan2.
3453 * math/s_catanf.c (__catanf): Likewise.
3454 * math/s_catanh.c (__catanh): Likewise.
3455 * math/s_catanhf.c (__catanhf): Likewise.
3456 * math/s_catanhl.c (__catanhl): Likewise.
3457 * math/s_catanl.c (__catanl): Likewise.
3458 * math/libm-test.inc (catan_test): Add more tests.
3459 (catanh_test): Likewise.
3460 * sysdeps/i386/fpu/libm-test-ulps: Update.
3461 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3462
d569c6ee
SP
34632013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3464
6dbe713d
SP
3465 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
3466
f0ee064b
SP
3467 * benchtests/Makefile (bench): Remove slow benchmarks.
3468 * benchtests/atan-inputs: Add slow benchmark inputs.
3469 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
3470 (BENCH_FUNC): Accept variant offset.
3471 (VARIANT): Define.
3472 * benchtests/bench-skeleton.c (main): Run benchmark for each
3473 variant.
3474 * benchtests/cos-inputs: Add slow benchmark inputs.
3475 * benchtests/exp-inputs: Likewise.
3476 * benchtests/pow-inputs: Likewise.
3477 * benchtests/sin-inputs: Likewise.
3478 * benchtests/slowatan-inputs: Remove.
3479 * benchtests/slowatan.c: Remove.
3480 * benchtests/slowcos-inputs: Remove.
3481 * benchtests/slowcos.c: Remove.
3482 * benchtests/slowexp-inputs: Remove.
3483 * benchtests/slowexp.c: Remove.
3484 * benchtests/slowpow-inputs: Remove.
3485 * benchtests/slowpow.c: Remove.
3486 * benchtests/slowsin-inputs: Remove.
3487 * benchtests/slowsin.c: Remove.
3488 * benchtests/slowtan-inputs: Remove.
3489 * benchtests/slowtan.c: Remove.
3490 * benchtests/tan-inputs: Add slow benchmark inputs.
3491 * scripts/bench.pl: Parse comments and directives.
3492
d569c6ee
SP
3493 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
3494 in CPPFLAGS.
3495 ($(objpfx)bench-%.c): Remove *-ITER.
3496 * benchtests/bench-modf.c: Remove definition of ITER.
3497 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
3498 (main): Loop for DURATION seconds instead of fixed number of
3499 iterations.
3500 * scripts/bench.pl: Don't expect iterations in parameters.
3501
a6a242fe
RM
35022013-04-29 Roland McGrath <roland@hack.frob.com>
3503
3504 * io/fchdir.c (__fchdir): Renamed from fchdir.
3505 (fchdir): Define as weak alias.
3506
f2da7793
JM
35072013-04-29 Joseph Myers <joseph@codesourcery.com>
3508
3509 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
3510 (ERRNO_EDOM): Likewise.
3511 (ERRNO_ERANGE): Likewise.
3512 (noErrnoTests): New variable.
3513 (init_max_error): Set errno to 0.
3514 (test_single_errno): New function.
3515 (test_errno): Likewise.
3516 (check_float_internal): Call test_errno. Set errno to 0.
3517 (check_complex): Refer to errno tests in comment.
3518 (check_int): Call test_errno. Set errno to 0.
3519 (check_long): Likewise.
3520 (check_bool): Likewise.
3521 (check_longlong): Likewise.
3522 (cos_test): Use ERRNO_* flags for errno tests instead of
3523 check_int.
3524 (expm1_test): Likewise.
3525 (fmod_test): Likewise.
3526 (ilogb_test): Likewise.
3527 (lgamma_test): Likewise.
3528 (pow_test): Likewise.
3529 (remainder_test): Likewise.
3530 (sin_test): Likewise.
3531 (tan_test): Likewise.
3532 (yn_test): Likewise.
3533 (initialize): Set errno to 0.
3534 (main): Print number of errno tests.
3535 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
3536
b1a36ceb
AJ
35372013-04-29 Andreas Jaeger <aj@suse.de>
3538
c3ed8088
AJ
3539 [BZ #15084]
3540 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
3541 and RES_USEVC.
3542
f1a24198
AJ
3543 [BZ #15085]
3544 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
3545 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
3546 unimplemented.
3547
9ce3b2cb
AJ
3548 [BZ #15380]
3549 * stdlib/random.c (__initstate): Return NULL if
3550 __initstate fails.
3551
f1a24198 3552 [BZ #15086]
b1a36ceb
AJ
3553 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
3554 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
3555 RES_SNGLKUPREOP.
3556
7e7b6f36
AZ
35572013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3558
3559 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3560
4d14f449
JM
35612013-04-29 Joseph Myers <joseph@codesourcery.com>
3562
3563 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
3564 of individual tests.
3565 (casin_test): Likewise.
3566 (casinh_test): Likewise.
3567
5b4217d7
JM
35682013-04-27 Joseph Myers <joseph@codesourcery.com>
3569
3570 [BZ #15409]
3571 * math/s_catan.c (__catan): Handle arguments with large real or
3572 imaginary part separately without squaring.
3573 * math/s_catanf.c (__catanf): Likewise.
3574 * math/s_catanh.c (__catanh): Likewise.
3575 * math/s_catanhf.c (__catanhf): Likewise.
3576 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3577 and redefine.
3578 (__catanhl): Handle arguments with large real or imaginary part
3579 separately without squaring.
3580 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3581 and redefine.
3582 (__catanl): Handle arguments with large real or imaginary part
3583 separately without squaring.
3584 * math/libm-test.inc (catan_test): Add more tests.
3585 (catanh_test): Likewise.
3586 * sysdeps/i386/fpu/libm-test-ulps: Update.
3587 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3588
4220c3ef
AJ
35892013-04-27 Andreas Jaeger <aj@suse.de>
3590
3591 [BZ #15007]
3592 * stdlib/stdlib.h: Update guards for qecvt.
3593 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
3594 <stdlib.h>.
3595
4721b2d1
AM
35962013-04-27 Allan McRae <allan@archlinux.org>
3597
3598 * sysdeps/i386/fpu/libm-test-ulps: Update.
3599
f0302940
JM
36002013-04-26 Joseph Myers <joseph@codesourcery.com>
3601
9457fd95
JM
3602 [BZ #15406]
3603 * math/s_catan.c: Include <float.h>.
3604 (__catan): Ensure underflow exception occurs for underflowed
3605 result.
3606 * math/s_catanf.c: Include <float.h>.
3607 (__catanf): Ensure underflow exception occurs for underflowed
3608 result.
3609 * math/s_catanh.c: Include <float.h>.
3610 (__catanh): Ensure underflow exception occurs for underflowed
3611 result.
3612 * math/s_catanhf.c: Include <float.h>.
3613 (__catanhf): Ensure underflow exception occurs for underflowed
3614 result.
3615 * math/s_catanhl.c: Include <float.h>.
3616 (__catanhl): Ensure underflow exception occurs for underflowed
3617 result.
3618 * math/s_catanl.c: Include <float.h>.
3619 (__catanl): Ensure underflow exception occurs for underflowed
3620 result.
3621 * math/libm-test.inc (catan_test): Add more tests.
3622 (catanh_test): Likewise.
3623
f0302940
JM
3624 [BZ #15405]
3625 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
3626 underflowed result.
3627 * math/s_ccoshf.c (__ccoshf): Likewise.
3628 * math/s_ccoshl.c (__ccoshl): Likewise.
3629 * math/s_csin.c (__csin): Likewise.
3630 * math/s_csinf.c (__csinf): Likewise.
3631 * math/s_csinh.c (__csinh): Likewise.
3632 * math/s_csinhf.c (__csinhf): Likewise.
3633 * math/s_csinhl.c (__csinhl): Likewise.
3634 * math/s_csinl.c (__csinl): Likewise.
3635 * math/libm-test.inc (ccos_test): Add more tests.
3636 (ccosh_test): Likewise.
3637 (csin_test): Likewise.
3638 (csinh_test): Likewise.
3639
aa630f59
AZ
36402013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3641
3642 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
3643 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
3644 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
3645 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
3646 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
3647 powerpc/power5+/fpu folders.
3648 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
3649
3650
1b835983
MT
36512013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
3652
3653 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3654
73709b26
JM
36552013-04-25 Joseph Myers <joseph@codesourcery.com>
3656
3657 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
3658 additions to variable.
3659 [$(config-machine) = x86_64] (modules-names): Likewise.
3660 ($(objpfx)tst-audit3): Remove dependency.
3661 ($(objpfx)tst-audit3.out): Likewise.
3662 ($(objpfx)tst-audit4): Likewise.
3663 ($(objpfx)tst-audit4.out): Likewise.
3664 ($(objpfx)tst-audit5): Likewise.
3665 ($(objpfx)tst-audit5.out): Likewise.
3666 ($(objpfx)tst-audit6): Likewise.
3667 ($(objpfx)tst-audit6.out): Likewise.
3668 ($(objpfx)tst-audit7): Likewise.
3669 ($(objpfx)tst-audit7.out): Likewise.
3670 (tst-audit3-ENV): Remove variable.
3671 (tst-audit4-ENV): Likewise.
3672 (tst-audit5-ENV): Likewise.
3673 (tst-audit6-ENV): Likewise.
3674 (tst-audit7-ENV): Likewise.
3675 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
3676 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
3677 addition to variable.
3678 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
3679 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
3680 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
3681 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
3682 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
3683 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
3684 tst-audit3, tst-audit4 and tst-audit5.
3685 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
3686 tst-audit6 and tst-audit7.
3687 [$(subdir) = elf] (modules-names): Add audit modules for those
3688 tests.
3689 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
3690 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
3691 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
3692 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
3693 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
3694 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
3695 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
3696 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
3697 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
3698 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
3699 [$(subdir) = elf] (tst-audit3-ENV): New variable.
3700 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
3701 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
3702 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
3703 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
3704 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
3705 Likewise.
3706 [$(subdir) = elf && $(config-cflags-avx) = yes]
3707 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
3708 [$(subdir) = elf && $(config-cflags-avx) = yes]
3709 (CFLAGS-tst-auditmod4a.c): Likewise.
3710 [$(subdir) = elf && $(config-cflags-avx) = yes]
3711 (CFLAGS-tst-auditmod4b.c): Likewise.
3712 [$(subdir) = elf && $(config-cflags-avx) = yes]
3713 (CFLAGS-tst-auditmod6b.c): Likewise.
3714 [$(subdir) = elf && $(config-cflags-avx) = yes]
3715 (CFLAGS-tst-auditmod6c.c): Likewise.
3716 [$(subdir) = elf && $(config-cflags-avx) = yes]
3717 (CFLAGS-tst-auditmod7b.c): Likewise.
3718 * elf/tst-audit3.c: Move to ...
3719 * sysdeps/x86_64/tst-audit3.c: ... here.
3720 * elf/tst-audit4.c: Move to ...
3721 * sysdeps/x86_64/tst-audit4.c: ... here.
3722 * elf/tst-audit5.c: Move to ...
3723 * sysdeps/x86_64/tst-audit5.c: ... here.
3724 * elf/tst-audit6.c: Move to ...
3725 * sysdeps/x86_64/tst-audit6.c: ... here.
3726 * elf/tst-audit7.c: Move to ...
3727 * sysdeps/x86_64/tst-audit7.c: ... here.
3728 * elf/tst-auditmod3a.c: Move to ...
3729 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
3730 * elf/tst-auditmod3b.c: Move to ...
3731 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
3732 * elf/tst-auditmod4a.c: Move to ...
3733 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
3734 * elf/tst-auditmod4b.c: Move to ...
3735 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
3736 * elf/tst-auditmod5a.c: Move to ...
3737 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
3738 * elf/tst-auditmod5b.c: Move to ...
3739 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
3740 * elf/tst-auditmod6a.c: Move to ...
3741 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
3742 * elf/tst-auditmod6b.c: Move to ...
3743 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
3744 * elf/tst-auditmod6c.c: Move to ...
3745 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
3746 * elf/tst-auditmod7a.c: Move to ...
3747 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
3748 * elf/tst-auditmod7b.c: Move to ...
3749 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
3750
1ef74943
PP
37512013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
3752
3753 [BZ #15366]
3754 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
3755 define unconditionally.
3756 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
3757 define unconditionally.
3758 (INT8_C, INT16_C, etc.): Likewise.
3759
93fd48c5
MR
37602013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
3761
ae9552cf
MR
3762 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
3763 __ehdr_start with hidden visibility.
3764
93fd48c5
MR
3765 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
3766
418601aa
CD
37672013-04-24 Carlos O'Donell <carlos@redhat.com>
3768
3769 * math/libm-test.inc (cos_test): Use accurate hex constants.
3770 (sincost_test): Likewise.
3771
2f38fbfe
JM
37722013-04-24 Joseph Myers <joseph@codesourcery.com>
3773
5e221800
JM
3774 * math/libm-test.inc (catan_test): Add more tests.
3775 (catanh_test): Likewise.
3776
77f143fd
JM
3777 * math/s_catanf.c (__catanf): Use suffixed floating-point
3778 constants.
3779 * math/s_catanhf.c (__catanhf): Likewise.
3780 * math/s_catanhl.c (__catanhl): Likewise.
3781 * math/s_catanl.c (__catanl): Likewise.
3782
2f38fbfe
JM
3783 [BZ #15394]
3784 * math/s_catan.c (__catan): Calculate imaginary part of result
3785 with log1p not log unless computing log of number close to 0.
3786 * math/s_catanf.c (__catanf): Likewise.
3787 * math/s_catanl.c (__catanl): Likewise.
3788 * math/s_catanh.c (__catanh): Calculate real part of result with
3789 log1p not log unless computing log of number close to 0.
3790 * math/s_catanhf.c (__catanhf): Likewise.
3791 * math/s_catanhl.c (__catanhl): Likewise.
3792 * math/libm-test.inc (catan_test): Add more tests.
3793 (catanh_test): Likewise.
3794 * sysdeps/i386/fpu/libm-test-ulps: Update.
3795 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3796
45d69176
SP
37972013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3798
3799 * benchtests/Makefile: Mention files in which fast and slow
3800 paths of math functions are implemented.
3801
87f51853
RM
38022013-04-23 Roland McGrath <roland@hack.frob.com>
3803
3804 * sysdeps/posix/timespec_get.c: New file.
3805
3c026539
AZ
38062013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3807
3808 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
3809 POWER.
3810 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
3811 for POWER.
3812 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
3813 powerpc/power5/fpu folders.
3814 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
3815 * benchtests/Makefile: Add modf testcase.
3816 * benchtests/bench-modf.c: New file: Benchmark test for mo
3817
ff491d14
SP
38182013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
3819
3820 [BZ #14888]
3821 * time/Makefile (tests): Add tst-strptime-whitespace.
3822 * time/strptime_l.c (get_number): Use ISSPACE.
3823 (__strptime_internal): Likewise.
3824 * time/tst-strptime-whitespace.c: New test case.
3825
7ed3f4e8
AS
38262013-04-23 Andreas Schwab <schwab@linux-m68k.org>
3827
3828 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
3829 member.
3830 (_nss_files_init): Set it here.
3831
5c95f7b6
HC
38322013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
3833
3834 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
3835 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
3836 unsigned.
3837
d34c9158
JBG
38382013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
3839
3840 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
3841
2169712d
SP
38422013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3843
3844 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
3845 size just once.
3846
29c5de99
DM
38472013-04-21 David S. Miller <davem@davemloft.net>
3848
3849 * po/ru.po: Update Russion translation from translation project.
3850
ccdad15d
AC
38512013-04-17 Adam Conrad <adconrad@0c3.net>
3852
3853 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
3854 and setfsgid.
3855
0f122b8d
CD
38562013-04-17 Carlos O'Donell <carlos@redhat.com>
3857
5c5b07da 3858 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 3859 * configure: Regenerate.
5c5b07da 3860 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
3861 Add example to error message.
3862 * sysdeps/i386/configure: Regenerate.
3863
037714dd
SP
38642013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3865
3866 * benchtests/Makefile (bench): Add cos, tan, slowcos and
3867 slowtan.
3868 * benchtests/cos-inputs: New file.
3869 * benchtests/slowcos-inputs: New file.
3870 * benchtests/slowcos.c: New file.
3871 * benchtests/slowtan-inputs: New file.
3872 * benchtests/slowtan.c: New file.
3873 * benchtests/tan-inputs: New file.
3874
e913141d
RM
38752013-04-16 Roland McGrath <roland@hack.frob.com>
3876
3877 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
3878 considered kosher.
3879
a2964074
SP
38802013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3881
4856bcd2
SP
3882 * benchtests/Makefile: Include cppflags-iterator.mk to add
3883 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
3884
a2964074
SP
3885 * Makefile.in (bench-clean): New target.
3886 * benchtests/Makefile (bench-clean): Likewise.
3887
9fbf9aca
DH
38882013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
3889
3890 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
3891
207d1e2a
TS
38922013-04-15 Thomas Schwinge <thomas@codesourcery.com>
3893
3894 * stdio-common/tstdiomisc.c: Fix coding-style violation.
3895
306dfba9
AS
38962013-04-15 Andreas Schwab <schwab@suse.de>
3897
3898 * nscd/grpcache.c (cache_addgr): Properly check for short write.
3899 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3900 * nscd/pwdcache.c (cache_addpw): Likewise.
3901 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
3902 more than recsize.
3903
206a6699
SP
39042013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3905
3906 * benchtests/Makefile (bench): Write all output to
3907 bench-out.tmp together.
3908
0582f6b3
AS
39092013-04-15 Andreas Schwab <schwab@suse.de>
3910
3911 * nscd/nscd.c (main): Don't fork again after closing files.
3912
acb4325f
SP
39132013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3914
5cb26d0a
SP
3915 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
3916
acb4325f
SP
3917 * benchtests/Rules (bench-deps): Collect dependencies into a
3918 single variable. Add Makefile to dependencies.
3919 ($(objpfx)bench-%.c): Depend on bench-deps.
3920
47792506
RM
39212013-04-12 Roland McGrath <roland@hack.frob.com>
3922 Xavier Roche <roche+kml2@exalead.com>
3923
3924 [BZ #15361]
3925 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
3926 just that it's a file descriptor.
3927 * manual/llio.texi (Synchronizing AIO Operations): Update description
3928 for EBADF error from aio_fsync.
3929
8fc1bee5
SP
39302013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3931
3932 * Rules (bench): Move target definition...
3933 * benchtests/Makefile: ... here.
3934
aba5e333
CD
39352013-04-11 Carlos O'Donell <carlos@redhat.com>
3936
3937 * math/libm-test.inc (cos_test): Fix PI/2 test.
3938 (sincos_test): Likewise.
3939 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
3940 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
3941
273cdee8
AS
39422013-04-11 Andreas Schwab <schwab@suse.de>
3943
6ecec3b6
AS
3944 [BZ #13988]
3945 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
3946 accept exponent character only when digits were seen.
3947 * stdio-common/Makefile (tests): Add bug26.
3948 * stdio-common/bug26.c: New file.
3949
273cdee8
AS
3950 [BZ #14293]
3951 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
3952 non-freeable.
3953
8da491f5
SP
39542013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3955
01dc6df9
SP
3956 * Makeconfig (rtld-prefix): Define built linker prefix.
3957 * Rules (run-bench): Use it.
3958 * math/Makefile (run-regen-ulps): Likewise.
3959
8da491f5
SP
3960 * Rules (bench): Remove eval.
3961
abe7f530
SP
39622013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3963 Roland McGrath <roland@hack.frob.com>
3964 Ondrej Bilka <neleai@seznam.cz>
3965
3966 [BZ #15346]
3967 * time/getdate.c: Include ctype.h and alloca.h.
3968 (__getdate_r): Trim leading and trailing spaces of input.
3969 * time/tst-getdate.c (tests): Add tests with leading and
3970 trailing spaces.
3971
61c23e62
RM
39722013-04-08 Roland McGrath <roland@hack.frob.com>
3973
3974 [BZ #14280]
3975 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
3976 when computing value.
3977
7208a313
CD
39782013-04-06 Carlos O'Donell <carlos@redhat.com>
3979
085b2d41
CD
3980 * math/README.libm-test (How can I generate "libm-test-ulps"?):
3981 Use testrun.sh to run libm tests.
3982
7208a313
CD
3983 [BZ #15309]
3984 * elf/dl-open.c (dl_open_worker): memset all of seen array.
3985
872c0acd
MM
39862013-04-06 Marko Myllynen <myllynen@redhat.com>
3987
3988 [BZ #15264]
3989 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
3990
26510bdd
CD
39912013-04-06 Carlos O'Donell <carlos@redhat.com>
3992
3993 * Makefile.in (regen-ulps): New target.
3994 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
3995 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
3996 [ifneq (no,$(PERL)] (regen-ulps): New target.
3997 [ifeq (no,$(PERL)] (regen-ulps): New target.
3998 * math/libm-test.inc (ulps_file_name): Define.
3999 (output_dir): New variable.
4000 (options): Add "output-dir" option.
4001 (parse_opt): Handle 'o' case.
4002 (main): If output_dir is non-NULL use it as a prefix
4003 otherwise use "".
4004 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
4005
a01f19c8
CD
40062013-04-06 Carlos O'Donell <carlos@redhat.com>
4007
4008 [BZ #10060, #10062]
4009 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
4010 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
4011 fail configure if __sync_val_compare_and_swap is not inlined.
4012 * sysdeps/i386/configure: Regenerate.
4013 * configure.in: Build for i686 when configured for i386.
4014 * configure: Regenerate.
4015 * README: Remove i386 reference.
4016
b7a329a5
CD
40172013-04-06 Carlos O'Donell <carlos@redhat.com>
4018
4019 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
4020 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4021
bf0f50df
TS
40222013-04-05 Thomas Schwinge <thomas@codesourcery.com>
4023
ee091edf
TS
4024 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
4025 (lmsnanval): New variables.
4026 (F): Add conversion tests.
4027 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
4028 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
4029
a8b792d6
TS
4030 * stdio-common/tstdiomisc.c (F): Properly collect individual
4031 tests' results.
4032
a1cbf437
TS
4033 [BZ #14686, #15336]
4034 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
4035 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
4036 Instead, use input NaN values or generate a qNaN by arithmetic
4037 operation. Also fix bugs to comply with the standard.
4038 * math/libm-test.inc (remainder_test): Add more tests.
4039
8b43a0c9
TS
4040 [BZ #15335, #15342]
4041 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
4042 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
4043 input NaN values or generate a qNaN by arithmetic operation.
4044
d91da4ce
TS
4045 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
4046 unreachable code.
4047
bf0f50df
TS
4048 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
4049 definitions.
4050
05e166c8
JM
40512013-04-03 Joseph Myers <joseph@codesourcery.com>
4052
4053 [BZ #14478]
4054 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
4055 underflowed result.
4056 * math/s_cexpf.c (__cexpf): Likewise.
4057 * math/s_cexpl.c (__cexpl): Likewise.
4058 * math/libm-test.inc (cexp_test): Add more tests.
4059
1cef1b19
AS
40602013-04-03 Andreas Schwab <schwab@suse.de>
4061
4062 [BZ #15330]
4063 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
4064 order arrays from heap if bigger than alloca cutoff.
4065
74d87055
TS
40662013-04-03 Thomas Schwinge <thomas@codesourcery.com>
4067
4068 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
4069 (SNAN_TESTS_double): Refer to GCC PR56831.
4070 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
4071 GCC PR56828.
4072
d755bba4
SP
40732013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4074
90d5d5bb
SP
4075 * Rules (bench): Move bench.out after the run is complete.
4076
73e0cd5d
SP
4077 * Rules (bench): Echo currently running benchmark.
4078
64aabd4b
SP
4079 * benchtests/Makefile (bench): Add atan and slowatan.
4080 * benchtests/atan-inputs: New file.
4081 * benchtests/slowatan-inputs: New file.
4082 * benchtests/slowatan.c: New file.
4083
c871eccd
SP
4084 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
4085 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
4086 its value.
4087
d755bba4
SP
4088 [BZ #15305]
4089 * sysdeps/unix/sysv/linux/kernel-features.h
4090 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
4091 __ASSUME_XFS_RESTRICTED_CHOWN.
4092 * sysdeps/unix/sysv/linux/pathconf.c
4093 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
4094 Save and restore errno.
4095
52ce4860
JM
40962013-04-02 Joseph Myers <joseph@codesourcery.com>
4097
4098 [BZ #15327]
4099 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
4100 arguments using __kernel_casinh.
4101 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
4102 arguments using __kernel_casinhf.
4103 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
4104 arguments using __kernel_casinhl.
4105 * math/libm-test.inc (cacosh_test): Add more tests.
4106 * sysdeps/i386/fpu/libm-test-ulps: Update.
4107 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4108
81f311c2
SP
41092013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4110
e7906a47
SP
4111 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
4112 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
4113
92e3664b
SP
4114 * bench/Makefile (bench): Add sin and slowsin.
4115 * benchtests/sin-inputs: New file.
4116 * benchtests/slowsin-inputs: New file.
4117 * benchtests/slowsin.c: New file.
4118
81f311c2
SP
4119 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
4120 (bench): Add slowexp and slowpow.
4121 (exp-ITER): Increase iterations.
4122 (pow-ITER): Likewise.
4123 * benchtests/exp-inputs: Change input.
4124 * benchtests/pow-inputs: Likewise.
4125 * benchtests/slowexp-inputs: New file.
4126 * benchtests/slowexp.c: New file.
4127 * benchtests/slowpow-inputs: New file.
4128 * benchtests/slowpow.c: New file.
4129
ab0f1aa9
AZ
41302013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4131
4132 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
4133 instructions.
4134 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
4135 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
4136 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
4137 * benchtests/Makefile: Add rint benchtest.
4138 * benchtests/rint-inputs: Input for rint benchtest.
4139
57267616
TS
41402013-04-02 Thomas Schwinge <thomas@codesourcery.com>
4141
4142 * Versions.def (libm): Add GLIBC_2.18.
4143 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
4144 hidden libm prototypes.
4145 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
4146 * math/Makefile (libm-calls): Add s_issignaling.
4147 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
4148 __issignalingf, __issignalingl. Adjust all libm.abilist files.
4149 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
4150 declaration.
4151 * math/math.h [__USE_GNU] (issignaling): New macro.
4152 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
4153 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
4154 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
4155 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
4156 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
4157 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
4158 * manual/arith.texi (issignaling): New section.
4159 * manual/libm-err-tab.pl (@all_functions): Update comment.
4160 * math/gen-libm-test.pl (parse_args): Apply special handling for
4161 issignaling.
4162 * math/libm-test.inc (print_float, issignaling_test): New
4163 functions.
4164 (check_float_internal): Add issignaling checks.
4165 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
4166 default definition.
4167 * sysdeps/powerpc/math-tests.h: New file.
4168 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
4169 tests.
4170 * math/test-snan.c (TEST_FUNC): Likewise.
4171
6142896d
DM
41722013-03-30 David S. Miller <davem@davemloft.net>
4173
4174 * po/de.po: Update from translation team.
4175
ccc8cadf
JM
41762013-03-30 Joseph Myers <joseph@codesourcery.com>
4177
4178 [BZ #10357]
4179 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4180 imaginary part less than 1.0 and real part less than 0.5
4181 specially.
4182 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4183 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4184 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
4185 (cacos_test): Add more tests.
4186 (casin_test): Likewise.
4187 (casinh_test): Likewise.
4188 * sysdeps/i386/fpu/libm-test-ulps: Update.
4189 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4190
0f6a8d4b
SP
41912013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4192
0d1029de
SP
4193 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
4194 ONE with its value.
4195
c2d94018
SP
4196 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
4197 (__pow_mp): Replace ONE and MONE with their values.
4198 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4199 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
4200 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4201 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
4202 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4203 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4204
27ec37f1
SP
4205 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
4206
a64d7e0e
SP
4207 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
4208 (__pow_mp): Replace ZERO and MZERO with their values.
4209 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
4210 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4211 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4212 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4213 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4214 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
4215 (__sqr): Likewise.
4216
d26dd3eb
SP
4217 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
4218
0f6a8d4b
SP
4219 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
4220
e57b0c61
RM
42212013-03-28 Roland McGrath <roland@hack.frob.com>
4222
4223 * include/stdlib.h [!SHARED] (__call_tls_dtors):
4224 Declare with __attribute__ ((weak)).
4225 * stdlib/exit.c (__libc_atexit) [!SHARED]:
4226 Call __call_tls_dtors only if it's not NULL.
4227
356b3480
RM
42282013-03-28 Roland McGrath <roland@hack.frob.com>
4229
288f7d79
RM
4230 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
4231 didn't do it already, then set _dl_phdr and _dl_phnum based on the
4232 magic __ehdr_start linker symbol if it's defined.
4233 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
4234 them up here if it was already done.
4235
dc0a0263
RM
4236 * elf/dl-support.c (_dl_phdr): Make pointer to const.
4237 (_dl_aux_init): Use const in cast when setting it.
4238 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
4239 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
4240 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
4241
3d3436ae
RM
4242 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
4243 Declare them here.
4244 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
4245 * csu/libc-tls.c: Nor here.
4246 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
4247
356b3480
RM
4248 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
4249 (__libc_message): Never call vsyslog.
4250
b0f1246a
AM
42512013-03-28 Alan Modra <amodra@gmail.com>
4252
4253 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
4254 Define as empty.
4255 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
4256 Likewise.
4257
fbbe2b9a
AZ
42582013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4259
4260 [BZ #15214]
4261 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
4262 underflow.
4263 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4264
1728ab37
SP
42652013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4266
7a86be6e
SP
4267 [BZ #15304]
4268 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
4269 Don't add gid passed as argument.
4270
1728ab37
SP
4271 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
4272
3a7182a1
JM
42732013-03-27 Joseph Myers <joseph@codesourcery.com>
4274
4275 [BZ #15307]
4276 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4277 imaginary part between 1.0 and 1.5 and real part less than 0.5
4278 specially.
4279 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4280 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4281 * math/libm-test.inc (cacos_test): Add more tests.
4282 (casin_test): Likewise.
4283 (casinh_test): Likewise.
4284 * sysdeps/i386/fpu/libm-test-ulps: Update.
4285 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4286
6f2e90e7
SP
42872013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4288
5739f705
SP
4289 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
4290 constants.
4291 (norm): Likewise.
4292 (denorm): Likewise.
4293 (__dbl_mp): Likewise.
4294 (add_magnitudes): Likewise.
4295 (sub_magnitudes): Likewise.
4296 (__add): Likewise.
4297 (__sub): Likewise.
4298 (__mul): Likewise.
4299 (__sqr): Likewise.
4300 (__inv): Likewise.
4301 (__dvd): Likewise.
4302
e375e83d
SP
4303 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
4304 commented code.
4305 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
4306 (__dubcos): Likewise.
4307 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
4308 (__ieee754_acos): Likewise.
4309 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
4310 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
4311 (__exp1): Likewise.
4312 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4313 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
4314 (log1): Likewise.
4315 (my_log2): Likewise.
4316 (checkint): Likewise.
4317 * sysdeps/ieee754/dbl-64/e_remainder.c
4318 (__ieee754_remainder): Likewise.
4319 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4320 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
4321 (bsloww): Likewise.
4322 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4323
6f2e90e7
SP
4324 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
4325 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
4326 MANTISSA_STORE_T to store computations on mantissa. Use
4327 macros for rounding and division.
4328 (denorm): Likewise.
4329 (__dbl_mp): Likewise.
4330 (add_magnitudes): Likewise.
4331 (sub_magnitudes): Likewise.
4332 (__mul): Likewise.
4333 (__sqr): Likewise.
4334 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
4335 powers of two in terms of TWOPOW macro.
4336 (mp_no): Make type of mantissa as MANTISSA_T.
4337 [!RADIXI]: Define RADIXI.
4338 [!TWO52]: Define TWO52.
4339 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
4340
fce14d4e
AZ
43412013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4342
4343 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
4344 llroundl symbol when building for PPC32.
4345
9ad027fb
MW
43462013-03-24 Mark H Weaver <mhw@netris.org>
4347
4348 * manual/arith.texi (Normalization Functions): Fix prototypes for
4349 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
4350
e42a38dd
AZ
43512013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4352
4353 [BZ #13889]
4354 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
4355 high value to check if expl overflow.
4356 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
4357 to check for underflow and overflow.
4358 * math/libm-test.inc: Add exp test.
4359
2e0fb521
DL
43602013-03-21 Dmitry V. Levin <ldv@altlinux.org>
4361
4362 [BZ #11120]
4363 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
4364 with NOT_IN_libc.
4365
b5784d95
AZ
43662013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4367
4368 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
4369 symbol.
4370
5aa4a1a1
TS
43712013-03-21 Thomas Schwinge <thomas@codesourcery.com>
4372
bdef0be7
TS
4373 * math/gen-libm-test.pl (parse_args, special_functions): Properly
4374 wrap blocks consisting of several statements.
4375
5aa4a1a1
TS
4376 * sysdeps/generic/math-tests.h: New file.
4377 * sysdeps/i386/fpu/math-tests.h: Likewise.
4378 * math/test-snan.c: Include it.
4379 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
4380
98c48fe5
JM
43812013-03-21 Joseph Myers <joseph@codesourcery.com>
4382
4383 [BZ #15285]
4384 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
4385 (__ieee754_j0l): Do not improve calculations using cos of twice
4386 input for inputs above LDBL_MAX / 2.0L.
4387 (__ieee754_y0l): Likewise.
4388 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
4389 (__ieee754_j1l): Do not improve calculations using cos of twice
4390 input for inputs above LDBL_MAX / 2.0L.
4391 (__ieee754_y1l): Likewise.
4392 * math/libm-test.inc (j0_test): Add another test.
4393 (j1_test): Likewise.
4394 (y0_test): Likewise.
4395 (y1_test): Likewise.
4396 * sysdeps/i386/fpu/libm-test-ulps: Update.
4397
3775a8bc
SP
43982013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4399
4400 * Rules ($(objpfx)bench-%.c): Include code from a C source
4401 file.
4402
0a1b2ae6
JM
44032013-03-21 Joseph Myers <joseph@codesourcery.com>
4404
4405 [BZ #15287]
4406 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4407 imaginary part 1.0 and real part less than 0.5 specially.
4408 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4409 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4410 * math/libm-test.inc (cacos_test): Add more tests.
4411 (casin_test): Likewise.
4412 (casinh_test): Likewise.
4413 * sysdeps/i386/fpu/libm-test-ulps: Update.
4414 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4415
b33d4ce4
SP
44162013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4417
4418 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
4419 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
4420
bef0b507
JM
44212013-03-20 Joseph Myers <joseph@codesourcery.com>
4422
4423 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
4424 * config.make.in (config-cflags-sse4): Remove variable.
4425 (config-cflags-avx): Likewise.
4426 (config-cflags-sse2avx): Likewise.
4427 (config-cflags-novzeroupper): Likewise.
4428 (config-asflags-i686): Likewise.
4429 (have-mfma4): Likewise.
4430 (have-as-vis3): Likewise.
4431 (MIG): Likewise.
4432 * configure.in (MIG): Do not AC_SUBST.
4433 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
4434 (libc_cv_cc_sse4): Do not AC_SUBST.
4435 (libc_cv_cc_avx): Likewise.
4436 (libc_cv_cc_sse2avx): Likewise.
4437 (libc_cv_cc_novzeroupper): Likewise.
4438 (libc_cv_cc_fma4): Likewise.
4439 (libc_cv_as_i686): Likewise.
4440 (libc_cv_sparc_as_vis3): Likewise.
4441 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
4442 LIBC_CONFIG_VAR.
4443 (config-asflags-i686): Likewise.
4444 (config-cflags-avx): Likewise.
4445 (config-cflags-sse2avx): Likewise.
4446 (have-mfma4): Likewise.
4447 (config-cflags-novzeroupper): Likewise.
4448 * sysdeps/mach/configure.in (MIG): Likewise.
4449 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
4450 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
4451 LIBC_CONFIG_VAR.
4452 (config-cflags-avx): Likewise.
4453 (config-cflags-sse2avx): Likewise.
4454 (have-mfma4): Likewise.
4455 (config-cflags-novzeroupper): Likewise.
4456 * configure: Regenerated.
4457 * sysdeps/i386/configure: Likewise.
4458 * sysdeps/mach/configure: Likewise.
4459 * sysdeps/sparc/configure: Likewise.
4460 * sysdeps/x86_64/configure: Likewise.
4461
912cc4b3
RM
44622013-03-20 Roland McGrath <roland@hack.frob.com>
4463
4464 [BZ #14812]
4465 * locale/programs/localedef.c (options): Put N_ translation marker
4466 on argument names, not just descriptions.
4467
04eed2b0
MS
44682013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4469
4470 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
4471
a065ceff
OB
44722013-03-20 Ondřej Bílka <neleai@seznam.cz>
4473
9bb2a810 4474 [BZ #14176]
a065ceff
OB
4475 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
4476
a600e5ce
RM
44772013-03-19 Roland McGrath <roland@hack.frob.com>
4478
4479 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
4480 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
4481 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
4482 [!BEFORE_ABORT] (before_abort): New function.
4483 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
4484 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
4485 (writev_for_fatal): New function.
4486 (WRITEV_FOR_FATAL): New macro; call that.
4487 (backtrace_and_maps): New function.
4488 (BEFORE_ABORT): New macro; call that.
4489 (struct str_list): Type removed.
4490 (__libc_message, __libc_fatal): Functions removed.
4491 Include <sysdeps/posix/libc_fatal.c> instead.
4492
6b18bea6
JM
44932013-03-19 Joseph Myers <joseph@codesourcery.com>
4494
4495 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
4496 constants.
4497 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
4498 double constants.
4499
aaa8cb4b
AS
45002013-03-19 Andreas Schwab <schwab@suse.de>
4501
44673770
AS
4502 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
4503 * sysdeps/gnu/configure: Regenerate.
4504
aaa8cb4b
AS
4505 * configure.in: Substitute libc_cv_rtlddir.
4506 * configure: Regenerate.
4507 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
4508 * Makeconfig (rtlddir, inst_rtlddir): New variables.
4509 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
4510 * elf/Makefile (install-others, CFLAGS-interp.c)
4511 (ldso_install, common-ldd-rewrite): Likewise.
4512 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
4513 $(inst_slibdir)/$(rtld-installed-name).
4514 * scripts/rellns-sh: Add -p option.
4515 * Makerules (make-shlib-link): Use rellns-sh to get relative name
4516 for source.
4517
d3cfc668
SP
45182013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4519
4520 * manual/nptl.texi: Renamed to ...
4521 * manual/threads.texi: ... this.
4522 * manual/Makefile (chapters): Update.
4523
0e2b9cdd
RM
45242013-03-18 Roland McGrath <roland@hack.frob.com>
4525
4526 [BZ #14812]
4527 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
4528 on argument names, not just descriptions.
0e2b9cdd
RM
4529 * malloc/memusagestat.c (options): Likewise.
4530 * nss/getent.c (options): Likewise.
63270c24
RM
4531
45322013-03-18 Benno Schulenberg <bensberg@justemail.net>
4533
4534 [BZ #14812]
4535 * iconv/iconv_prog.c (options): Put N_ translation marker
4536 on argument names, not just descriptions.
4537 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 4538
b2e1393c
OB
45392013-03-18 Ondrej Bilka <neleai@seznam.cz>
4540
4541 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
4542 implementation which is faster on all x86_64 architectures.
4543 Tested on AMD, Intel Nehalem, SNB, IVB.
4544 * sysdeps/x86_64/strnlen.S: Likewise.
4545
4546 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
4547 Remove all multiarch strlen and strnlen versions.
4548 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
4549 Remove strlen and strnlen related parts.
4550
4551 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
4552 Inline strlen part.
4553 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
4554
4555 * sysdeps/x86_64/multiarch/strlen.S: Remove.
4556 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
4557 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
4558 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
4559 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
4560 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
4561
ec4ff04d
CD
45622013-03-17 Carlos O'Donell <carlos@redhat.com>
4563
4564 * manual/memory.texi (Malloc Tunable Parameters):
4565 Sort parameters alphabetically. Add comments for missing entries.
4566
cd18e90a
DM
45672013-03-17 David S. Miller <davem@davemloft.net>
4568
4569 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4570
2a185d32
JM
45712013-03-16 Joseph Myers <joseph@codesourcery.com>
4572
d2f9799e
JM
4573 [BZ #15283]
4574 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
4575 for arguments at most half maximum finite value.
4576 * math/libm-test.inc (j0_test): Add more tests.
4577 (j1_test): Likewise.
4578 (y0_test): Likewise.
4579 (y1_test): Likewise.
4580 * sysdeps/i386/fpu/libm-test-ulps: Update.
4581 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4582
2a185d32
JM
4583 [BZ #14155]
4584 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
4585 1 / x and functions P and Q for arguments above 0x1p256L.
4586 (__ieee754_y0l): Likewise.
4587 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
4588 (__ieee754_y1l): Likewise.
4589 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
4590 (j1_test): Likewise.
4591 (y0_test): Likewise.
4592 (y1_test): Likewise.
4593
6cbec759
TS
45942013-03-16 Thomas Schwinge <thomas@codesourcery.com>
4595
4596 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
4597 variable.
4598
bc16e260
RM
45992013-03-15 Roland McGrath <roland@hack.frob.com>
4600
aefc9b8c
RM
4601 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
4602 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
4603 zero since it's initialized to EXEC_PAGESIZE.
4604
bc16e260
RM
4605 * sysdeps/unix/sysv/linux/ldsodefs.h
4606 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
4607 * sysdeps/generic/ldsodefs.h: ... here.
4608
a57da955
TS
46092013-03-15 Thomas Schwinge <thomas@codesourcery.com>
4610
af00a34d
TS
4611 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
4612
495ded2c
TS
4613 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
4614 math/test-snan.c.
4615 * math/test-snan.c: Renamed from
4616 sysdeps/powerpc/fpu/test-powerpc-snan.c.
4617 * math/Makefile (tests): Add test-snan.
4618 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
4619 test-powerpc-snan.
4620
777b0332
TS
4621 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
4622 SUFFIX. Initialize qNaN_var with __builtin_nan family of
4623 functions.
4624 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
4625 __builtin_nan family of functions.
4626 * math/libm-test.inc (initialize): Initialize qnan_value with
4627 __builtin_nan family of functions.
4628 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
4629 Remove variables.
4630 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
4631 Remove functions.
4632 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
4633 storage class. Initialize qNaN_var and sNaN_var with
4634 __builtin_nan and __builtin_nans families of functions,
4635 respectively.
4636
64d063b8
TS
4637 * math/libm-test.inc (acosh_test): Also test with qNaN input.
4638 (sqrt_test): Remove duplicate test with qNaN input.
4639 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
4640 (round_test, signbit_test, significand_test): Note missing +/-Inf
4641 as well as qNaN tests.
4642
67e971f1
TS
4643 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
4644 qNaN_var. Fix a few strings, too.
4645 * math/libm-test.inc (nan_value): Rename to qnan_value.
4646 * math/gen-libm-test.pl (%beautify): Adjust to that.
4647 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
4648 * math/test-misc.c (main): Likewise.
4649 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
4650 to __qnan_bytes, and __qnan_union, respectively.
4651 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
4652 Likewise.
4653 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
4654 and lqnanval, respectively.
4655 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
4656 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
4657 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
4658 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
4659
64487e12
TS
4660 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
4661 * math/test-misc.c (main) [__x86_64__]: Enable test for long
4662 doubles.
4663
e015e27b
TS
4664 * math/test-misc.c (main): Fix copy'n'pastos.
4665 * misc/tst-efgcvt.c (special): Likewise.
4666
a57da955
TS
4667 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
4668 Remove declarations.
4669
1e380345
SP
46702013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4671
4672 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
4673 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
4674 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
4675 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
4676
ef26eece
AZ
46772013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4678
4679 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
4680 macro to return vdso values correctly in IFUNC implementations.
4681 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
4682 Optimization by using IFUNC.
4683
8cfdb7e0
SP
46842013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4685 Richard Henderson <rth@redhat.com>
4686 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4687
4688 * Makefile.in (bench): New target.
4689 * NEWS: Mention the benchmark framework.
4690 * Rules (bench): Likewise.
4691 (binaries-bench): Generate binaries for functions to
4692 benchmark.
4693 * benchtests/Makefile: New makefile for benchmark tests.
4694 * benchtests/bench-skeleton.c: New skeleton file for benchmark
4695 programs.
4696 * benchtests/exp-inputs: New input file for EXP function.
4697 * benchtests/pow-inputs: New input file for POW function.
4698 * scripts/bench.pl: New script to generate source files for
4699 benchmark programs.
4700
bcda9880
SP
47012013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4702
d22ca8cd
SP
4703 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
4704 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
4705 computations on mantissa. Use macros for rounding and
4706 division.
4707 (denorm): Likewise.
4708 (__dbl_mp): Likewise.
4709 (add_magnitudes): Likewise.
4710 (sub_magnitudes): Likewise.
4711 (__mul): Likewise.
4712 (__sqr): Likewise.
4713 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
4714 powers of two in terms of TWOPOW macro.
4715 (mp_no): Make type of mantissa as MANTISSA_T.
4716 [!RADIXI]: Define RADIXI.
4717 [!TWO52]: Define TWO52.
4718 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
4719
bcda9880
SP
4720 * manual/nptl.texi (cindex): Modify threads to pthreads.
4721
06d5adfb
JM
47222013-03-15 Joseph Myers <joseph@codesourcery.com>
4723
4724 * sysdeps/x86_64/preconfigure: Regenerated.
4725
41c7328e
JM
47262013-03-14 Joseph Myers <joseph@codesourcery.com>
4727
4728 [BZ #14155]
4729 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
4730 0x1p28 and above.
4731 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
4732 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
4733 0x1p28 and above.
4734 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
4735 * math/libm-test.inc (j0_test): Do not allow one spurious
4736 underflow exception.
4737 (y1_test): Likewise.
4738
e25cfa60
SP
47392013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4740
0409959c
SP
4741 * manual/Makefile (chapters): Add nptl.
4742 * manual/debug.texi (Debugging Support): Add link to Threads
4743 chapter.
4744 * manual/nptl.texi: New file.
4745
e25cfa60
SP
4746 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
4747
58a1335e
PB
47482013-03-14 Petr Baudis <pasky@ucw.cz>
4749
4750 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
4751 for non-NULL pointer before the memory validity test. Pointed
4752 out by Holger Brunck <holger.brunck@keymile.com>.
4753
9dc7c64f
AS
47542013-03-13 Andreas Schwab <schwab@suse.de>
4755
4756 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
4757 instead of .os.
4758
54206aa6
JM
47592013-03-13 Joseph Myers <joseph@codesourcery.com>
4760
4761 * timezone/zic.c: Update from tzcode 2013b.
4762
e98cdb38
CD
47632013-03-12 Carlos O'Donell <carlos@redhat.com>
4764
4765 * manual/install.texi (Configuring and compiling):
4766 Mention i686 and i586.
4767 * INSTALL: Regenerate.
4768
9967e003
RM
47692013-03-12 Roland McGrath <roland@hack.frob.com>
4770
4771 * sysdeps/init_array/elf-init.c: New file.
4772 * csu/elf-init.c
4773 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
4774 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
4775
4776 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
4777 __gmon_start__ as global, but as static with a .preinit_array pointer.
4778 * sysdeps/init_array/gmon-start.c: New file. Use that.
4779 * sysdeps/init_array/crti.S: New file, empty except for comments.
4780 * sysdeps/init_array/crtn.S: Likewise.
4781
e6b5a293 47822013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
4783
4784 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
4785 definining bcopy.
80f844c9
OB
4786 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4787 Remove Prefer_SSE_for_memop.
4788 * sysdeps/x86_64/multiarch/init-arch.h: Remove
4789 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
4790 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
4791 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
4792 memset-x86-64.
80f844c9 4793 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 4794 Remove bzero, memset ifunc support.
80f844c9
OB
4795 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
4796 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
4797 * sysdeps/x86_64/multiarch/memset.S: Likewise.
4798 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4799
fb6b0fcb
AS
48002013-03-11 Andreas Schwab <schwab@suse.de>
4801
4802 [BZ #15234]
4803 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
4804 by SHLIB_COMPAT.
4805 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
4806 (GLIBC_2.16): Remove pthread_atfork.
4807
3e6bd4b1
PP
48082013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
4809
4810 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
4811 (ptestcases.h): Likewise.
4812
222d7f00
RM
48132013-03-08 Roland McGrath <roland@hack.frob.com>
4814
4815 * Makeconfig ($(common-objpfx)config.status): Depend on
4816 sysdeps/*/preconfigure{,.in} too.
4817
1ba4f030
JM
48182013-03-08 Joseph Myers <joseph@codesourcery.com>
4819
a222d91a
JM
4820 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
4821 (__free_hook): Use void * instead of __malloc_ptr_t.
4822 (__malloc_hook): Likewise.
4823 (__realloc_hook): Likewise.
4824 (__memalign_hook): Likewise.
4825 (__after_morecore_hook): Likewise.
4826 * malloc/arena.c (save_malloc_hook): Likewise.
4827 (save_free_hook): Likewise.
4828 * malloc/hooks.c (malloc_hook_ini): Likewise.
4829 (realloc_hook_ini): Likewise.
4830 (memalign_hook_ini): Likewise.
4831 * malloc/malloc.c (malloc_hook_ini): Likewise.
4832 (realloc_hook_ini): Likewise.
4833 (memalign_hook_ini): Likewise.
4834 (__free_hook): Likewise.
4835 (__malloc_hook): Likewise.
4836 (__realloc_hook): Likewise.
4837 (__memalign_hook): Likewise.
4838 (__libc_malloc): Likewise.
4839 (__libc_free): Likewise.
4840 (__libc_realloc): Likewise.
4841 (__libc_memalign): Likewise.
4842 (__libc_valloc): Likewise.
4843 (__libc_pvalloc): Likewise.
4844 (__libc_calloc): Likewise.
4845 (__posix_memalign): Likewise.
4846 * malloc/morecore.c (__sbrk): Likewise.
4847 (__default_morecore): Likewise.
4848
5cc45e10
JM
4849 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
4850
dd54b864
JM
4851 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
4852 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
4853 __malloc_ptrdiff_t.
4854
1ba4f030
JM
4855 * malloc/malloc.h (__malloc_size_t): Remove macro.
4856 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
4857 __malloc_size_t.
4858 (old_memalign_hook): Likewise.
4859 (old_realloc_hook): Likewise.
4860 (struct hdr): Likewise.
4861 (flood): Likewise.
4862 (mallochook): Likewise.
4863 (memalignhook): Likewise.
4864 (reallochook): Likewise.
4865 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
4866 (tr_old_realloc_hook): Likewise.
4867 (tr_old_memalign_hook): Likewise.
4868 (tr_mallochook): Likewise.
4869 (tr_reallochook): Likewise.
4870 (tr_memalignhook): Likewise.
4871
edf66e57
AZ
48722013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4873
4874 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
4875 default_ldbl_pack and using as default implementation.
4876 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
4877 implementation.
4878 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
4879 redundant definition.
4880 (ldbl_insert_mantissa): Likewise.
4881 (ldbl_canonicalize): Likewise.
4882 (ldbl_nearbyint): Likewise.
4883 (ldbl_pack): Rename to ldbl_pack_ppc.
4884 (ldbl_unpack): Rename to ldbl_unpack_ppc.
4885 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
4886 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
4887
6d9145d8
SP
48882013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4889
4890 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
4891 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
4892 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
4893 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
4894 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
4895 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
4896 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
4897 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
4898
4dd4e157
AJ
48992013-03-07 Andreas Jaeger <aj@suse.de>
4900
4901 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4902 bits/mman-linux.h.
4903
adbb8027
SP
49042013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
4905
ce544b5b
SP
4906 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
4907 Include mpa.h and declare __MPEXP.
4908 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
4909 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
4910 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
4911 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
4912 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
4913 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
4914 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
4915
4cc149fd
SP
4916 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
4917 (__slowpow): Use long double EXPL and LOGL functions to
4918 compute POW.
4919 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
4920 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
4921 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
4922 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
4923 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
4924 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
4925
e6ebd4a7
SP
4926 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
4927 intermediate variable to calculate exponent.
4928 (__sqr): Likewise.
4929 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
4930 Likewise.
4931 (__sqr): Likewise.
4932
82a9811d
SP
4933 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
4934 [!NO__SQR]: Define __sqr.
4935 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
4936 and NO__SQR. Remove all code except __mul and __sqr. Include
4937 sysdeps/ieee754/dbl-64/mpa.c.
4938 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4939
adbb8027
SP
4940 [BZ #12723]
4941 * posix/Makefile (tests): Add tst-pathconf.
4942 * posix/tst-pathconf.c: New test case.
4943 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
4944 _PC_PIPE_BUF.
4945 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
4946
39120df9
PF
49472013-03-06 Patsy Franklin <pfrankli@redhat.com>
4948
4949 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
4950
67525cb8
AJ
49512013-03-06 Andreas Jaeger <aj@suse.de>
4952
664a9ce4
AJ
4953 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
4954 definition via __MAP_ANONYMOUS.
4955
8e39047d
AJ
4956 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
4957 it's not part of Linux headers.
4958
67525cb8
AJ
4959 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
4960 (MAP_HUGE_MASK): Define.
4961
4962 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
4963 Define.
4964 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
4965 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
4966 Define.
4967 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
4968 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
4969 Define.
4970 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
4971 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
4972 Define.
4973 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
4974
4975 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
4976 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
4977 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
4978 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
4979 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
4980 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
4981
4982 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
4983 Handle f2fs.
4984
4985 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
4986 Handle f2fs and efivarfs.
4987
4988 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
4989 f2fs.
4990
4991 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
4992 (EFIVARFS_MAGIC): Add.
4993 (F2FS_LINK_MAX): Add.
4994
e1b42695
PP
49952013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
4996
4997 * stdio-common/vfprintf.c: Replace __builtin_expect with
4998 __glibc_unlikely.
4999
2d67d91a
JM
50002013-03-06 Joseph Myers <joseph@codesourcery.com>
5001
5002 [BZ #13550]
5003 * sysdeps/generic/bp-sym.h: Remove file.
5004 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
5005 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
5006 <bp-sym.h> and <bp-asm.h>.
5007 (__longjmp): Don't use BP_SYM.
5008 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
5009 and <bp-asm.h>.
5010 (memcpy): Don't use BP_SYM.
5011 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
5012 <bp-sym.h> and <bp-asm.h>.
5013 (memcpy): Don't use BP_SYM.
5014 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
5015 <bp-asm.h>.
5016 (memcpy): Don't use BP_SYM.
5017 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
5018 <bp-asm.h>.
5019 (memset): Don't use BP_SYM.
5020 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5021 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5022 (__bzero): Don't use BP_SYM.
5023 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5024 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5025 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
5026 <bp-sym.h> and <bp-asm.h>.
5027 (memcmp): Don't use BP_SYM. Remove comment about bounded
5028 pointers.
5029 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
5030 <bp-sym.h> and <bp-asm.h>.
5031 (memcpy): Don't use BP_SYM.
5032 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
5033 <bp-sym.h> and <bp-asm.h>.
5034 (memset): Don't use BP_SYM.
5035 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5036 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5037 (__bzero): Don't use BP_SYM.
5038 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5039 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5040 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
5041 <bp-sym.h> and <bp-asm.h>.
5042 (strncmp): Don't use BP_SYM. Remove comment about bounded
5043 pointers.
5044 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
5045 <bp-sym.h> and <bp-asm.h>.
5046 (memcpy): Don't use BP_SYM.
5047 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
5048 <bp-sym.h> and <bp-asm.h>.
5049 (memset): Don't use BP_SYM.
5050 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5051 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5052 (__bzero): Don't use BP_SYM.
5053 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5054 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5055 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
5056 <bp-sym.h> and <bp-asm.h>.
5057 (__memchr): Don't use BP_SYM.
5058 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
5059 <bp-sym.h> and <bp-asm.h>.
5060 (memcmp): Don't use BP_SYM. Remove comment about bounded
5061 pointers.
5062 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
5063 <bp-sym.h> and <bp-asm.h>.
5064 (memcpy): Don't use BP_SYM.
5065 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
5066 <bp-sym.h> and <bp-asm.h>.
5067 (__mempcpy): Don't use BP_SYM.
5068 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
5069 <bp-sym.h> and <bp-asm.h>.
5070 (__memrchr): Don't use BP_SYM.
5071 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
5072 <bp-sym.h> and <bp-asm.h>.
5073 (memset): Don't use BP_SYM.
5074 (__bzero): Likewise.
5075 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
5076 <bp-sym.h> and <bp-asm.h>.
5077 (__rawmemchr): Don't use BP_SYM.
5078 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
5079 <bp-sym.h> and <bp-asm.h>.
5080 (__STRCMP): Don't use BP_SYM.
5081 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
5082 <bp-sym.h> and <bp-asm.h>.
5083 (strchr): Don't use BP_SYM.
5084 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
5085 <bp-sym.h> and <bp-asm.h>.
5086 (__strchrnul): Don't use BP_SYM.
5087 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
5088 <bp-sym.h> and <bp-asm.h>.
5089 (strlen): Don't use BP_SYM.
5090 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
5091 <bp-sym.h> and <bp-asm.h>.
5092 (strncmp): Don't use BP_SYM. Remove comment about bounded
5093 pointers.
5094 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
5095 <bp-sym.h> and <bp-asm.h>.
5096 (__strnlen): Don't use BP_SYM.
5097 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
5098 <bp-sym.h> and <bp-asm.h>.
5099 (__GI__setjmp): Don't use BP_SYM.
5100 (_setjmp): Likewise.
5101 (__sigsetjmp): Likewise.
5102 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
5103 (L(start_addresses)): Don't use BP_SYM.
5104 (_start): Likewise.
5105 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
5106 <bp-asm.h>.
5107 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
5108 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
5109 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5110 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5111 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
5112 <bp-asm.h>.
5113 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
5114 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
5115 about bounded pointers.
5116 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5117 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5118 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
5119 <bp-asm.h>.
5120 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
5121 about bounded pointers. Remove GKM FIXME comments.
5122 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5123 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
5124 <bp-asm.h>.
5125 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
5126 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
5127 Remove GKM FIXME comments.
5128 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5129 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5130 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
5131 <bp-asm.h>.
5132 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
5133 about bounded pointers. Remove GKM FIXME comment.
5134 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
5135 and <bp-asm.h>.
5136 (strncmp): Don't use BP_SYM. Remove comment about bounded
5137 pointers.
5138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
5139 <bp-sym.h> and <bp-asm.h>.
5140 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
5141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
5142 <bp-sym.h> and <bp-asm.h>.
5143 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
5144 comment.
5145
cdcf361f
PP
51462013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
5147
5148 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
5149 call free(NULL).
5150
3c4a2b15
DM
51512013-03-05 David S. Miller <davem@davemloft.net>
5152
5153 * po/es.po: Update from translation team.
5154
cdcf361f 51552013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
5156
5157 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
5158 <bits/mman-linux.h>.
5159 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5160 is fine.
5161 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
5162 <bits/mman-linux.h> to end of file.
5163 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5164 is fine.
5165 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
5166 <bits/mman-linux.h> to end of file.
5167 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5168 is fine.
5169 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
5170 <bits/mman-linux.h> to end of file.
5171
5172 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
5173 (MCL_CURRENT, MCL_FUTURE): Define here.
5174
5f67c04f
AK
51752013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5176
8a4473cc 5177 [BZ #15232]
5f67c04f
AK
5178 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
5179 attribute_hidden.
5180 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
5181
c3e94a95
AK
51822013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5183
5184 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
5185 fourth parameter needed for rt_sigprocmask syscall.
5186 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
5187 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
5188 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
5189 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
5190 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
5191 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
5192
cfb6382a
JM
51932013-03-04 Joseph Myers <joseph@codesourcery.com>
5194
5195 [BZ #13550]
5196 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
5197 comment about bounded pointers.
5198 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
5199 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
5200
539d8e01
AJ
52012013-03-04 Andreas Jaeger <aj@suse.de>
5202
5203 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
5204 common definitions.
5205
5206 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
5207 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
5208 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
5209 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5210 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
5211 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5212
2e167a70 52132013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
5214
5215 [BZ #15055]
5216 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
5217 __ieee754_sqrl instead of __sqrl.
5218
68508633
JM
52192013-03-01 Joseph Myers <joseph@codesourcery.com>
5220
5221 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
5222 * sysdeps/powerpc/fpu_control.h: ... here.
5223 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
5224 * sysdeps/powerpc/bits/fenvinline.h: ... here.
5225 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
5226 * sysdeps/powerpc/bits/mathinline.h: ... here.
5227
7775448e
RM
52282013-03-01 Roland McGrath <roland@hack.frob.com>
5229
5230 * elf/dl-hwcaps.c (_dl_important_hwcaps):
5231 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
5232 to just [NEED_DL_SYSINFO_DSO].
5233 * elf/dl-support.c: Likewise.
5234 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
5235 * elf/rtld.c (dl_main): Likewise.
5236 * elf/setup-vdso.h (setup_vdso): Likewise.
5237 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
5238 * sysdeps/unix/sysv/linux/dl-sysdep.c
5239 (_dl_discover_osversion): Likewise.
5240
4e9b5995
CD
52412013-03-01 Carlos O'Donell <carlos@redhat.com>
5242
5243 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
5244 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
5245
e23872c8
SP
52462013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
5247
e5c74c63
SP
5248 * NEWS: Mention libm performance improvements and non-x86 PI
5249 futex support.
5250
e23872c8
SP
5251 * csu/libc-start.c (__pthread_initialize_minimal): Change
5252 function arguments.
5253 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
5254
b5510883
JM
52552013-02-28 Joseph Myers <joseph@codesourcery.com>
5256
5257 [BZ #13550]
5258 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
5259 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
5260 <bp-sym.h> and <bp-asm.h>.
5261 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5262 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
5263 and <bp-asm.h>.
5264 (memcpy): Don't use BP_SYM.
5265 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
5266 <bp-asm.h>.
5267 (__mpn_add_n): Don't use BP_SYM.
5268 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
5269 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
5270 and <bp-asm.h>.
5271 (__mpn_addmul_1): Don't use BP_SYM.
5272 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5273 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
5274 <bp-sym.h>.
5275 (_setjmp): Don't use BP_SYM.
5276 (__novmx_setjmp): Likewise.
5277 (__GI__setjmp): Likewise.
5278 (__vmx_setjmp): Likewise.
5279 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
5280 <bp-sym.h>.
5281 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
5282 (__bzero): Don't use BP_SYM.
5283 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5284 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5285 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
5286 <bp-sym.h> and <bp-asm.h>.
5287 (memcpy): Don't use BP_SYM.
5288 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
5289 <bp-sym.h> and <bp-asm.h>.
5290 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5291 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
5292 <bp-sym.h> and <bp-asm.h>.
5293 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5294 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
5295 <bp-asm.h>.
5296 (__mpn_lshift): Don't use BP_SYM.
5297 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5298 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
5299 <bp-asm.h>.
5300 (memset): Don't use BP_SYM.
5301 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5302 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5303 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
5304 <bp-asm.h>.
5305 (__mpn_mul_1): Don't use BP_SYM.
5306 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5307 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
5308 <bp-sym.h> and <bp-asm.h>.
5309 (memcmp): Don't use BP_SYM.
5310 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
5311 <bp-sym.h> and <bp-asm.h>.
5312 (memcpy): Don't use BP_SYM.
5313 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
5314 <bp-sym.h> and <bp-asm.h>.
5315 (memset): Don't use BP_SYM.
5316 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
5317 <bp-sym.h> and <bp-asm.h>.
5318 (strncmp): Don't use BP_SYM.
5319 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
5320 <bp-sym.h> and <bp-asm.h>.
5321 (memcpy): Don't use BP_SYM.
5322 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
5323 <bp-sym.h> and <bp-asm.h>.
5324 (memset): Don't use BP_SYM.
5325 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
5326 <bp-sym.h> and <bp-asm.h>.
5327 (__memchr): Don't use BP_SYM.
5328 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
5329 <bp-sym.h> and <bp-asm.h>.
5330 (memcmp): Don't use BP_SYM.
5331 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
5332 <bp-sym.h> and <bp-asm.h>.
5333 (memcpy): Don't use BP_SYM.
5334 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
5335 <bp-sym.h> and <bp-asm.h>.
5336 (__mempcpy): Don't use BP_SYM.
5337 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
5338 <bp-sym.h> and <bp-asm.h>.
5339 (__memrchr): Don't use BP_SYM.
5340 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
5341 <bp-sym.h> and <bp-asm.h>.
5342 (memset): Don't use BP_SYM.
5343 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
5344 <bp-sym.h> and <bp-asm.h>.
5345 (__rawmemchr): Don't use BP_SYM.
5346 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
5347 <bp-sym.h> and <bp-asm.h>.
5348 (__STRCMP): Don't use BP_SYM.
5349 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
5350 <bp-sym.h> and <bp-asm.h>.
5351 (strchr): Don't use BP_SYM.
5352 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
5353 <bp-sym.h> and <bp-asm.h>.
5354 (__strchrnul): Don't use BP_SYM.
5355 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
5356 <bp-sym.h> and <bp-asm.h>.
5357 (strlen): Don't use BP_SYM.
5358 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
5359 <bp-sym.h> and <bp-asm.h>.
5360 (strncmp): Don't use BP_SYM.
5361 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
5362 <bp-sym.h> and <bp-asm.h>.
5363 (__strnlen): Don't use BP_SYM.
5364 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
5365 <bp-asm.h>.
5366 (__mpn_rshift): Don't use BP_SYM.
5367 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5368 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
5369 <bp-sym.h> and <bp-asm.h>.
5370 (__sigsetjmp): Don't use BP_SYM.
5371 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
5372 (L(start_addresses)): Don't use BP_SYM.
5373 (_start): Likewise.
5374 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
5375 <bp-asm.h>.
5376 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
5377 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5378 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5379 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
5380 <bp-asm.h>.
5381 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
5382 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5383 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5384 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
5385 <bp-asm.h>.
5386 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
5387 comments.
5388 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5389 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
5390 <bp-asm.h>.
5391 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
5392 FIXME comments.
5393 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5394 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5395 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
5396 <bp-asm.h>.
5397 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
5398 comment.
5399 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
5400 and <bp-asm.h>.
5401 (strncmp): Don't use BP_SYM,
5402 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
5403 <bp-asm.h>.
5404 (__mpn_sub_n): Don't use BP_SYM.
5405 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5406 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
5407 and <bp-asm.h>.
5408 (__mpn_submul_1): Don't use BP_SYM.
5409 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
5411 <bp-sym.h> and <bp-asm.h>.
5412 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
5413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
5414 <bp-sym.h> and <bp-asm.h>.
5415 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
5416 comment.
5417
8d19fe64
SP
54182013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5419
5420 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
5421 Use ZK to minimize writes to Z.
5422 (sub_magnitudes): Simplify code a bit.
5423 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
5424 Use ZK to minimize writes to Z.
5425 (sub_magnitudes): Simplify code a bit.
5426
85bd816a
RM
54272013-02-27 Roland McGrath <roland@hack.frob.com>
5428
5429 * csu/gmon-start.c: Add special exception to license text.
5430
b5977bf2
RH
54312013-02-27 Richard Henderson <rth@redhat.com>
5432
5433 * scripts/config.guess: Update from config.git.
5434 * scripts/config.sub: Likewise.
5435
11d6e2f2
SP
54362013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5437
09c14ed2
SP
5438 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
5439
a688864e
SP
5440 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
5441
6295157a
SP
5442 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
5443
b8de2202
SP
5444 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
5445
11d6e2f2
SP
5446 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
5447
7e80ddb8
RM
54482013-02-26 Roland McGrath <roland@hack.frob.com>
5449
5450 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
5451 [$(build-shared = yes].
7e80ddb8 5452
7da6d9ed
SP
54532013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5454
45f05884
SP
5455 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
5456 (__mul): Reduce iterations for calculating mantissa.
5457
2236d359
SP
5458 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
5459 MPTWO.
5460 (__mpranred): Likewise.
5461
7da6d9ed
SP
5462 [BZ #15160]
5463 * malloc/memusagestat.c (main): Draw graphs for heap and stack
5464 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
5465
b7688c42
PE
54662013-02-26 Paul Eggert <eggert@cs.ucla.edu>
5467
5468 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
5469 Define __attribute__.
5470
53a5c423
SP
54712013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5472
5473 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
5474 unused.
5475 * posix/regex_internal.h (__attribute): Remove.
5476 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
5477 (re_string_context_at): Likewise.
5478 (bitset_not): Use __attribute__ and mark function as possibly
5479 unused.
5480 (bitset_merge): Likewise.
5481 (bitset_mask): Likewise.
5482 (re_string_char_size_at): Likewise.
5483 (re_string_wchar_at): Likewise.
5484 (re_string_elem_size_at): Likewise.
5485
60f5a8b5
SP
54862013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5487
2a983a2e
SP
5488 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
5489 code.
5490 (cc32): Likewise.
5491
e69804d1
SP
5492 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
5493 (__acr): Likewise.
5494 (__cpy): Likewise.
5495 (norm): Likewise.
5496 (denorm): Likewise.
5497 (__dbl_mp): Likewise.
5498 (add_magnitudes): Likewise.
5499 (sub_magnitudes): Likewise.
5500 (__mul): Likewise.
5501 (__inv): Likewise.
5502
2f22a1e8
SP
5503 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
5504 style.
5505
8930ddc7
SP
5506 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
5507 style.
5508
dc60cb11
SP
5509 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
5510 code.
5511
60f5a8b5
SP
5512 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
5513 up changes with default code.
5514 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
5515 Likewise.
5516
b4d1fd33
AM
55172013-02-24 Allan McRae <allan@archlinux.org>
5518
faf6f8bc
AM
5519 * manual/socket.texi (The Internet Namespace): Order menu items
5520 to match that in the file.
5521
b4d1fd33
AM
5522 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
5523 node listing of the info page menu.
5524
2366713d
JM
55252013-02-21 Joseph Myers <joseph@codesourcery.com>
5526
5527 [BZ #13550]
5528 * sysdeps/i386/bp-asm.h: Remove file.
5529 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
5530 (PARMS): Do not use macros from bp-asm.h.
5531 (S1): Likewise.
5532 (S2): Likewise.
5533 (SIZE): Likewise.
5534 (__mpn_add_n): Do not use BP_SYM
5535 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
5536 "bp-asm.h".
5537 (PARMS): Do not use macros from bp-asm.h.
5538 (S1): Likewise.
5539 (SIZE): Likewise.
5540 (__mpn_addmul_1): Do not use BP_SYM
5541 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
5542 "bp-asm.h".
5543 (PARMS): Do not use macros from bp-asm.h.
5544 (SIGMSK): Likewise.
5545 (_setjmp): Likewise. Do not use BP_SYM.
5546 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
5547 "bp-asm.h".
5548 (PARMS): Do not use macros from bp-asm.h.
5549 (SIGMSK): Likewise.
5550 (setjmp): Likewise. Do not use BP_SYM.
5551 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
5552 "bp-asm.h".
5553 (PARMS): Do not use macros from bp-asm.h.
5554 (__frexp): Do not use BP_SYM.
5555 (frexp): Likewise.
5556 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
5557 "bp-asm.h".
5558 (PARMS): Do not use macros from bp-asm.h.
5559 (__frexpf): Do not use BP_SYM.
5560 (frexpf): Likewise.
5561 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
5562 "bp-asm.h".
5563 (PARMS): Do not use macros from bp-asm.h.
5564 (__frexpl): Do not use BP_SYM.
5565 (frexpl): Likewise.
5566 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
5567 "bp-asm.h".
5568 (PARMS): Do not use macros from bp-asm.h.
5569 (__remquo): Do not use BP_SYM.
5570 (remquo): Likewise.
5571 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
5572 "bp-asm.h".
5573 (PARMS): Do not use macros from bp-asm.h.
5574 (__remquof): Do not use BP_SYM.
5575 (remquof): Likewise.
5576 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
5577 "bp-asm.h".
5578 (PARMS): Do not use macros from bp-asm.h.
5579 (__remquol): Do not use BP_SYM.
5580 (remquol): Likewise.
5581 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
5582 "bp-asm.h".
5583 (PARMS): Do not use macros from bp-asm.h.
5584 (DEST): Likewise.
5585 (SRC): Likewise.
5586 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
5587 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
5588 "bp-asm.h".
5589 (PARMS): Do not use macros from bp-asm.h.
5590 (strlen): Do not use BP_SYM.
5591 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
5592 "bp-asm.h".
5593 (PARMS): Do not use macros from bp-asm.h.
5594 (S1): Likewise.
5595 (S2): Likewise.
5596 (SIZE): Likewise.
5597 (__mpn_add_n): Do not use BP_SYM.
5598 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
5599 "bp-asm.h".
5600 (PARMS): Do not use macros from bp-asm.h.
5601 (S1): Likewise.
5602 (SIZE): Likewise.
5603 (__mpn_addmul_1): Do not use BP_SYM.
5604 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
5605 weak_alias.
5606 (bzero): Likewise.
5607 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
5608 "bp-asm.h".
5609 (PARMS): Do not use macros from bp-asm.h.
5610 (S): Likewise.
5611 (SIZE): Likewise.
5612 (__mpn_lshift): Do not use BP_SYM.
5613 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
5614 "bp-asm.h".
5615 (PARMS): Do not use macros from bp-asm.h.
5616 (DEST): Likewise.
5617 (SRC): Likewise.
5618 (LEN): Likewise.
5619 (memcpy): Likewise. Do not use BP_SYM.
5620 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
5621 libc_hidden_def and weak_alias.
5622 (mempcpy): Do not use BP_SYM in weak_alias.
5623 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
5624 "bp-asm.h".
5625 (PARMS): Do not use macros from bp-asm.h.
5626 (DEST): Likewise.
5627 (LEN): Likewise.
5628 [!BZERO_P] (CHR): Likewise.
5629 (memset): Likewise. Do not use BP_SYM.
5630 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
5631 "bp-asm.h".
5632 (PARMS): Do not use macros from bp-asm.h.
5633 (S1): Likewise.
5634 (SIZE): Likewise.
5635 (__mpn_mul_1): Do not use BP_SYM.
5636 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
5637 "bp-asm.h".
5638 (PARMS): Do not use macros from bp-asm.h.
5639 (S): Likewise.
5640 (SIZE): Likewise.
5641 (__mpn_rshift): Do not use BP_SYM.
5642 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
5643 "bp-asm.h".
5644 (PARMS): Do not use macros from bp-asm.h.
5645 (STR): Likewise.
5646 (CHR): Likewise.
5647 (strchr): Likewise. Do not use BP_SYM.
5648 (index): Do not use BP_SYM in weak_alias.
5649 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
5650 "bp-asm.h".
5651 (PARMS): Do not use macros from bp-asm.h.
5652 (DEST): Likewise.
5653 (SRC): Likewise.
5654 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
5655 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
5656 "bp-asm.h".
5657 (PARMS): Do not use macros from bp-asm.h.
5658 (strlen): Do not use BP_SYM.
5659 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
5660 "bp-asm.h".
5661 (PARMS): Do not use macros from bp-asm.h.
5662 (S1): Likewise.
5663 (S2): Likewise.
5664 (SIZE): Likewise.
5665 (__mpn_sub_n): Do not use BP_SYM.
5666 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
5667 "bp-asm.h".
5668 (PARMS): Do not use macros from bp-asm.h.
5669 (S1): Likewise.
5670 (SIZE): Likewise.
5671 (__mpn_submul_1): Do not use BP_SYM.
5672 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
5673 "bp-asm.h".
5674 (PARMS): Do not use macros from bp-asm.h.
5675 (S1): Likewise.
5676 (S2): Likewise.
5677 (SIZE): Likewise.
5678 (__mpn_add_n): Do not use BP_SYM.
5679 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
5680 weak_alias.
5681 (bzero): Likewise.
5682 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
5683 "bp-asm.h".
5684 (PARMS): Do not use macros from bp-asm.h.
5685 (BLK2): Likewise.
5686 (LEN): Likewise.
5687 (memcmp): Do not use BP_SYM.
5688 (bcmp): Do not use BP_SYM in weak_alias.
5689 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
5690 "bp-asm.h".
5691 (PARMS): Do not use macros from bp-asm.h.
5692 (DEST): Likewise.
5693 (SRC): Likewise.
5694 (LEN): Likewise.
5695 (memcpy): Likewise. Do not use BP_SYM.
5696 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
5697 "bp-asm.h".
5698 (PARMS): Do not use macros from bp-asm.h.
5699 (DEST): Likewise.
5700 (SRC): Likewise.
5701 (LEN): Likewise.
5702 (memmove): Likewise. Do not use BP_SYM.
5703 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
5704 "bp-asm.h".
5705 (PARMS): Do not use macros from bp-asm.h.
5706 (DEST): Likewise.
5707 (SRC): Likewise.
5708 (LEN): Likewise.
5709 (__mempcpy): Likewise. Do not use BP_SYM.
5710 (mempcpy): Do not use BP_SYM in weak_alias.
5711 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
5712 "bp-asm.h".
5713 (PARMS): Do not use macros from bp-asm.h.
5714 (DEST): Likewise.
5715 (LEN): Likewise.
5716 [!BZERO_P] (CHR): Likewise.
5717 (memset): Likewise. Do not use BP_SYM.
5718 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
5719 "bp-asm.h".
5720 (PARMS): Do not use macros from bp-asm.h.
5721 (STR2): Likewise.
5722 (strcmp): Do not use BP_SYM.
5723 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
5724 "bp-asm.h".
5725 (PARMS): Do not use macros from bp-asm.h.
5726 (STR): Likewise.
5727 (DELIM): Likewise.
5728 [USE_AS_STRTOK_R] (SAVE): Likewise.
5729 (FUNCTION): Likewise. Do not use BP_SYM.
5730 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
5731 aliases.
5732 (strtok_r): Likewise.
5733 (__GI___strtok_r): Likewise.
5734 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
5735 (PARMS): Do not use macros from bp-asm.h.
5736 (S): Likewise.
5737 (SIZE): Likewise.
5738 (__mpn_lshift): Do not use BP_SYM.
5739 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
5740 (PARMS): Do not use macros from bp-asm.h.
5741 (STR): Likewise.
5742 (CHR): Likewise.
5743 (__memchr): Do not use BP_SYM.
5744 (memchr): Do not use BP_SYM in weak_alias.
5745 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
5746 (PARMS): Do not use macros from bp-asm.h.
5747 (BLK2): Likewise.
5748 (LEN): Likewise.
5749 (memcmp): Do not use BP_SYM.
5750 (bcmp): Do not use BP_SYM in weak_alias.
5751 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
5752 (PARMS): Do not use macros from bp-asm.h.
5753 (S1): Likewise.
5754 (SIZE): Likewise.
5755 (__mpn_mul_1): Do not use BP_SYM.
5756 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
5757 "bp-asm.h".
5758 (PARMS): Do not use macros from bp-asm.h.
5759 (STR): Likewise.
5760 (CHR): Likewise.
5761 (__rawmemchr): Do not use BP_SYM.
5762 (rawmemchr): Do not use BP_SYM in weak_alias.
5763 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
5764 (PARMS): Do not use macros from bp-asm.h.
5765 (S): Likewise.
5766 (SIZE): Likewise.
5767 (__mpn_rshift): Do not use BP_SYM.
5768 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
5769 (PARMS): Do not use macros from bp-asm.h.
5770 (SIGMSK): Likewise.
5771 (__sigsetjmp): Likewise. Do not use BP_SYM.
5772 * sysdeps/i386/start.S: Do not include "bp-sym.h".
5773 (_start): Do not use BP_SYM.
5774 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
5775 (PARMS): Do not use macros from bp-asm.h.
5776 (DEST): Likewise.
5777 (SRC): Likewise.
5778 (__stpcpy): Likewise. Do not use BP_SYM.
5779 (stpcpy): Do not use BP_SYM in weak_alias.
5780 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
5781 "bp-asm.h".
5782 (PARMS): Do not use macros from bp-asm.h.
5783 (DEST): Likewise.
5784 (SRC): Likewise.
5785 (LEN): Likewise.
5786 (__stpncpy): Likewise. Do not use BP_SYM.
5787 (stpncpy): Do not use BP_SYM in weak_alias.
5788 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
5789 (PARMS): Do not use macros from bp-asm.h.
5790 (STR): Likewise.
5791 (CHR): Likewise.
5792 (strchr): Likewise. Do not use BP_SYM.
5793 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
5794 "bp-asm.h".
5795 (PARMS): Do not use macros from bp-asm.h.
5796 (STR): Likewise.
5797 (CHR): Likewise.
5798 (__strchrnul): Likewise. Do not use BP_SYM.
5799 (strchrnul): Do not use BP_SYM in weak_alias.
5800 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
5801 "bp-asm.h".
5802 (PARMS): Do not use macros from bp-asm.h.
5803 (STOP): Likewise.
5804 (strcspn): Do not use BP_SYM.
5805 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
5806 "bp-asm.h".
5807 (PARMS): Do not use macros from bp-asm.h.
5808 (STR): Likewise.
5809 (STOP): Likewise.
5810 (strpbrk): Likewise. Do not use BP_SYM.
5811 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
5812 "bp-asm.h".
5813 (PARMS): Do not use macros from bp-asm.h.
5814 (STR): Likewise.
5815 (CHR): Likewise.
5816 (strrchr): Likewise. Do not use BP_SYM.
5817 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
5818 (PARMS): Do not use macros from bp-asm.h.
5819 (SKIP): Likewise.
5820 (strspn): Do not use BP_SYM.
5821 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
5822 (PARMS): Do not use macros from bp-asm.h.
5823 (STR): Likewise.
5824 (DELIM): Likewise.
5825 (SAVE): Likewise.
5826 (FUNCTION): Likewise. Do not use BP_SYM.
5827 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
5828 aliases.
5829 (strtok_r): Likewise.
5830 (__GI___strtok_r): Likewise.
5831 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
5832 (PARMS): Do not use macros from bp-asm.h.
5833 (S1): Likewise.
5834 (S2): Likewise.
5835 (SIZE): Likewise.
5836 (__mpn_sub_n): Do not use BP_SYM.
5837 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
5838 "bp-asm.h".
5839 (PARMS): Do not use macros from bp-asm.h.
5840 (S1): Likewise.
5841 (SIZE): Likewise.
5842 (__mpn_submul_1): Do not use BP_SYM.
5843 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
5844 <bp-sym.h>.
5845 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
5846 and <bp-asm.h>.
5847 (PARMS): Do not use macros from bp-asm.h.
5848 (FLAGS): Likewise.
5849 (PTID): Likewise.
5850 (TLS): Likewise.
5851 (CTID): Likewise.
5852 (__clone): Do not use BP_SYM.
5853 (clone): Do not use BP_SYM in weak_alias.
5854 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
5855 and <bp-asm.h>.
5856 (PARMS): Do not use macros from bp-asm.h.
5857 (LEN): Likewise.
5858 (__mmap64): Do not use BP_SYM.
5859 (mmap64): Do not use BP_SYM in weak_alias.
5860 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
5861 <bp-sym.h> and <bp-asm.h>.
5862 (PARMS): Do not use macros from bp-asm.h.
5863 (__posix_fadvise64_l64): Do not use BP_SYM.
5864 * sysdeps/unix/sysv/linux/i386/semtimedop.S
5865 (PARMS): Do not use macros from bp-asm.h.
5866 (NSOPS): Likewise.
5867 (semtimedop): Do not use BP_SYM.
5868 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
5869 and <bp-asm.h>.
5870
582a3cff
AM
58712013-02-21 Allan McRae <allan@archlinux.org>
5872
5873 * manual/message.texi (Charset conversion in gettext):
5874 Move @end statement to beginning of line.
5875
bab8a695
SP
58762013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5877
80945231
SP
5878 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
5879 static.
5880 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
5881 Likewise.
5882
bab8a695
SP
5883 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
5884 (denorm): Likewise.
5885 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
5886 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
5887
e21d7aa7
AK
58882013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5889
5890 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
5891 tail-call to the resolved function if pltexit isn't needed.
5892
4c7a4263
SP
58932013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5894
5895 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
5896 or Y being zero as being unlikely.
5897 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
5898 Likewise.
5899
41f49342
CD
59002013-02-20 Carlos O'Donell <carlos@redhat.com>
5901
5902 * manual/nss.texi (System Databases and Name Service Switch):
5903 Remove frobnicate @pxref.
5904
50022a93
TS
59052013-02-20 Thomas Schwinge <thomas@codesourcery.com>
5906
5907 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
5908 __attribute__ ((unused)) to __attribute__ ((__unused__)).
5909
08cbd996
PM
59102013-02-20 Petr Machata <pmachata@redhat.com>
5911
5912 * elf/elf.h (R_ARM_TARGET1): New macro.
5913 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
5914 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
5915 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
5916 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
5917 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
5918 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
5919 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
5920 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
5921 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
5922 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
5923 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
5924 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
5925 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
5926 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
5927 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
5928 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
5929 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
5930 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
5931 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
5932 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
5933 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
5934 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
5935 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
5936 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
5937 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
5938 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
5939 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
5940 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
5941 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
5942 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
5943 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
5944 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
5945 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
5946 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
5947 (R_ARM_THM_GOT_BREL12): Likewise.
5948 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
5949 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
5950 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
5951 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
5952 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
5953 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
5954 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
5955 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
5956 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
5957
c7b275d6
TS
59582013-02-20 Thomas Schwinge <thomas@codesourcery.com>
5959
5960 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
5961 __attribute_used__ to __attribute__ ((unused)).
5962
20cd7fb3
SP
59632013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5964
5965 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
5966 powerpc mpa.c.
5967 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
5968 comment formatting.
5969 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
5970
92945b52
JM
59712013-02-19 Joseph Myers <joseph@codesourcery.com>
5972
5973 [BZ #13550]
5974 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
5975 Remove macro.
5976 (ENTER): Remove both macro definitions.
5977 (LEAVE): Likewise.
5978 (CHECK_BOUNDS_LOW): Likewise.
5979 (CHECK_BOUNDS_HIGH): Likewise.
5980 (CHECK_BOUNDS_BOTH): Likewise.
5981 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
5982 (RETURN_BOUNDED_POINTER): Likewise.
5983 (RETURN_NULL_BOUNDED_POINTER): Likewise.
5984 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
5985 (POP_ERRNO_LOCATION_RETURN): Likewise.
5986 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
5987 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5988 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
5989 macros.
5990 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5991 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
5992 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
5993 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
5994 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
5995 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
5996 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
5997 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
5998 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
5999 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
6000 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
6001 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
6002 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6003 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
6004 removed macros.
6005 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6006 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
6007 macros.
6008 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6009 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
6010 * sysdeps/i386/i586/memset.S (memset): Likewise.
6011 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
6012 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6013 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
6014 macros.
6015 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6016 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
6017 Change uses of L(2) to L(out).
6018 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
6019 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
6020 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
6021 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6022 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
6023 removed macros.
6024 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6025 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
6026 macros.
6027 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6028 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
6029 (RETURN): Do not use macro LEAVE.
6030 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
6031 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
6032 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
6033 * sysdeps/i386/i686/memset.S (memset): Likewise.
6034 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
6035 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
6036 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6037 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
6038 Likewise.
6039 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6040 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
6041 L(1_2) and L(1_3) into L(1).
6042 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
6043 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
6044 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6045 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
6046 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6047 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
6048 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
6049 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6050 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
6051 macros.
6052 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
6053 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6054 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
6055 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
6056 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
6057 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6058 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
6059 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
6060 * sysdeps/i386/strcspn.S (strcspn): Likewise.
6061 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
6062 * sysdeps/i386/strrchr.S (strrchr): Likewise.
6063 * sysdeps/i386/strspn.S (strspn): Likewise.
6064 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
6065 conditional code.
6066 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6067 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
6068 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
6069 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
6070 L(1_3) into L(1_1).
6071 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
6072 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6073 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
6074 macros.
6075 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6076
2389741a
JJ
60772013-02-19 Jakub Jelinek <jakub@redhat.com>
6078
6079 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
6080 macro.
6081
2016b3cd
SP
60822013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6083
e4f22324
SP
6084 * math/atest-exp.c (exp_mpn): Remove ROUND.
6085 * math/atest-exp2.c (exp_mpn): Likewise.
6086 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
6087
2016b3cd
SP
6088 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
6089 * stdlib/tst-tls-atexit-lib.c: Likewise.
6090 * stdlib/tst-tls-atexit.c: Likewise.
6091
4be9b544
MF
60922013-02-18 Mike Frysinger <vapier@gentoo.org>
6093
6094 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
6095 and __attribute_alloc_size__.
6096
2f62b9ee
MF
60972013-02-18 Mike Frysinger <vapier@gentoo.org>
6098
6099 * include/programs/xmalloc.h: Change __attribute_alloc_size to
6100 __attribute_alloc_size__.
6101 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
6102 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
6103
6ff444c4
MF
61042013-02-18 Mike Frysinger <vapier@gentoo.org>
6105
6106 * include/programs/xmalloc.h: New file.
6107 * catgets/gencat.c: Include it.
6108 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
6109 * elf/pldd.c: Likewise.
6110 * iconv/iconv_charmap.c: Likewise.
6111 * iconv/iconvconfig.c: Likewise.
6112 * iconv/strtab.c: Likewise.
6113 * locale/programs/locale.c: Likewise.
6114 * locale/programs/localedef.h: Likewise.
6115 * locale/programs/simple-hash.c: Likewise.
6116 * nscd/nscd.h: Likewise.
6117 * nss/makedb.c: Likewise.
6118 * sysdeps/generic/ldconfig.h: Likewise.
6119
be179c8a
SP
61202013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6121
ba384f6e
SP
6122 * Versions.def: Add GLIBC_2.18.
6123 * include/link.h (struct link_map): New member l_tls_dtor_count.
6124 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
6125 (__call_tls_dtors): Likewise.
6126 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
6127 __cxa_thread_atexit_impl.
6128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6129 Likewise.
6130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6131 Likewise.
6132 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
6133 Likewise.
6134 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
6135 Likewise.
6136 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6137 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
6138 Likewise.
6139 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
6140 Likewise.
6141 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6142 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
6143 Likewise.
6144 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
6145 (tests): Add test case tst-tls-atexit.
6146 (modules-names): Add shared library for tst-tls-atexit.
6147 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
6148 (GLIBC_PRIVATE): Add __call_tls_dtors.
6149 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
6150 for libstdc++.
6151 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
6152 * stdlib/tst-tls-atexit.c: New test case.
6153 * stdlib/tst-tls-atexit-lib.c: New test case.
6154
ffaa74cf 6155 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 6156
be179c8a
SP
6157 * elf/Versions (ld): Add _dl_find_dso_for_object.
6158 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
6159 * elf/dl-open.c (_dl_find_dso_for_object): New function.
6160 (dl_open_worker): Use _dl_find_dso_for_object.
6161 * elf/dl-sym.c (do_sym): Likewise.
6162 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
6163
f78b5caa
AK
61642013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6165
6166 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
6167 Syntactic changes only.
6168 (_dl_runtime_profile): Do a tail-call to the resolved function.
6169
29691210
JM
61702013-02-17 Joseph Myers <joseph@codesourcery.com>
6171
6172 [BZ #13550]
6173 * sysdeps/x86_64/bp-asm.h: Remove file.
6174 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
6175 <bp-sym.h> and <bp-asm.h>.
6176 (__clone): Do not use BP_SYM.
6177 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
6178 <bp-sym.h> and <bp-asm.h>.
6179 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6180 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
6181 "bp-asm.h".
6182 (_setjmp): Do not use BP_SYM.
6183 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
6184 "bp-asm.h".
6185 (setjmp): Do not use BP_SYM.
6186 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
6187 libc_hidden_def.
6188 (mempcpy): Do not use BP_SYM in weak_alias.
6189 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
6190 "bp-asm.h".
6191 (strchr): Do not use BP_SYM.
6192 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
6193 "bp-asm.h".
6194 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
6195 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
6196 (_start): Do not use BP_SYM.
6197 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
6198 "bp-asm.h".
6199 (strcat): Do not use BP_SYM.
6200 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
6201 "bp-asm.h".
6202 (STRCMP): Do not use BP_SYM.
6203 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
6204 "bp-asm.h".
6205 (STRCPY): Do not use BP_SYM.
6206 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
6207 "bp-asm.h".
6208 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
6209 "bp-asm.h".
6210 (FUNCTION): Do not use BP_SYM.
6211 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
6212 weak_alias.
6213 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
6214
f238fd19
AJ
62152013-02-17 Andreas Jaeger <aj@suse.de>
6216
6217 * time/Versions: Sort entries.
6218 * string/Versions: Likewise.
6219 * resolv/Versions: Likewise.
6220 * posix/Versions: Likewise.
6221 * iconv/Versions: Likewise.
6222 * elf/Versions: Likewise.
6223 * wcsmbs/Versions: Likewise.
6224
bd07f23c 62252013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 6226
22af19f9
SP
6227 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
6228 loop termination condition.
6229
4709fe76
SP
6230 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
6231 variable to calculate EZ.
6232 (__sqr): Likewise.
2d0e0f29
SP
6233
6234 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
6235 the lower precision input.
6236
daaa7713
JM
62372013-02-15 Joseph Myers <joseph@codesourcery.com>
6238
6239 [BZ #13550]
6240 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
6241 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
6242 (run-via-rtld-prefix): Do not handle %-bp tests.
6243 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
6244 (all-object-suffixes): Remove .ob.
6245 (bppfx): Remove variable.
6246 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
6247 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
6248 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
6249 [$(build-bounded) = yes] (libtype.ob): Likewise.
6250 * Makerules (elide-routines.ob): Remove variable.
6251 (do-tests-clean): Do not handle *-bp.out.
6252 (common-mostlyclean): Do not handle *-bp and *-bp.out.
6253 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
6254 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
6255 (tests): Do not include $(tests-bp.out).
6256 (xtests): Do not include $(xtests-bp.out).
6257 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
6258 [$(build-bounded) = yes] ($(addprefix
6259 $(objpfx),$(binaries-bounded))): Remove rule.
6260 ($(objpfx)%-bp.out): Remove rule.
6261 * config.make.in (build-bounded): Remove variable.
6262 * crypt/Makefile [$(build-bounded) = yes]
6263 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
6264 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
6265 append to variable.
6266 [$(build-bounded) = yes] (install-lib): Likewise.
6267 [$(build-bounded) = yes] (generated): Likewise.
6268 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
6269 Remove rule.
6270 * intl/Makefile [$(build-bounded) = yes]
6271 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
6272 * math/Makefile [$(build-bounded) = yes]
6273 ($(tests:%=$(objpfx)%-bp): Likewise.
6274 * misc/Makefile [$(build-bounded) = yes]
6275 ($(objpfx)tst-tsearch-bp): Likewise.
6276 * nptl/Makeconfig (bounded-thread-library): Remove variable.
6277 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
6278 Remove dependency.
6279 * string/Makefile (o-objects.ob): Remove variable.
6280 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
6281 (CFLAGS-.ob): Remove variable.
6282 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
6283 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
6284 both definitions of variable.
6285 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
6286 (ASFLAGS-.ob): Remove variable.
6287
e97ed6dd
JM
62882013-02-14 Joseph Myers <joseph@codesourcery.com>
6289
2bdd4ca6
JM
6290 [BZ #13550]
6291 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
6292 Remove __BOUNDED_POINTERS__ from condition.
6293 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
6294 * string/bits/string2.h [!__NO_STRING_INLINES &&
6295 !__BOUNDED_POINTERS__]: Likewise.
6296 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
6297 Likewise.
6298 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
6299 Remove conditional code.
6300 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
6301 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
6302 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
6303 condition.
6304
e97ed6dd
JM
6305 [BZ #13550]
6306 * csu/libc-start.c: Do not include <bp-sym.h>.
6307 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
6308 * elf/dl-open.c: Do not include <bp-sym.h>.
6309 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
6310 * math/fegetenv.c: Do not include <bp-sym.h>.
6311 (fegetenv): Do not use BP_SYM in versioned symbols.
6312 * nptl/sysdeps/pthread/bits/libc-lockP.h
6313 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
6314 <bp-sym.h>.
6315 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6316 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
6317 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6318 (__pthread_mutex_destroy): Likewise.
6319 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6320 (__pthread_mutex_lock): Likewise.
6321 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6322 (__pthread_mutex_trylock): Likewise.
6323 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6324 (__pthread_mutex_unlock): Likewise.
6325 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6326 (__pthread_mutexattr_init): Likewise.
6327 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6328 (__pthread_mutexattr_destroy): Likewise.
6329 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6330 (__pthread_mutexattr_settype): Likewise.
6331 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6332 (__pthread_rwlock_init): Likewise.
6333 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6334 (__pthread_rwlock_destroy): Likewise.
6335 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6336 (__pthread_rwlock_rdlock): Likewise.
6337 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6338 (__pthread_rwlock_tryrdlock): Likewise.
6339 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6340 (__pthread_rwlock_wrlock): Likewise.
6341 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6342 (__pthread_rwlock_trywrlock): Likewise.
6343 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6344 (__pthread_rwlock_unlock): Likewise.
6345 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6346 (__pthread_key_create): Likewise.
6347 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6348 (__pthread_setspecific): Likewise.
6349 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6350 (__pthread_getspecific): Likewise.
6351 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
6352 Likewise.
6353 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6354 (_pthread_cleanup_push_defer): Likewise.
6355 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6356 (_pthread_cleanup_pop_restore): Likewise.
6357 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6358 (pthread_setcancelstate): Likewise.
6359 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
6360 <bp-sym.h>.
6361 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
6362 (memchr): Do not use BP_SYM in weak_alias.
6363 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
6364 (fegetenv): Do not use BP_SYM in versioned symbols.
6365 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
6366 (fesetenv): Do not use BP_SYM in versioned symbols.
6367 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
6368 (feupdateenv): Do not use BP_SYM in versioned symbols.
6369 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
6370 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
6371 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
6372 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
6373 (open64): Do not use BP_SYM in weak_alias.
6374 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
6375 (fegetenv): Do not use BP_SYM in versioned symbols.
6376 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
6377 (fesetenv): Do not use BP_SYM in versioned symbols.
6378 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
6379 (feupdateenv): Do not use BP_SYM in versioned symbols.
6380 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
6381 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
6382 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
6383 (feraiseexcept): Do not use BP_SYM in versioned symbols.
6384 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
6385 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
6386 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
6387 <bp-sym.h>.
6388 (__libc_start_main): Do not use BP_SYM.
6389
d6752ccd
SP
63902013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6391
cb57ce60
SP
6392 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
6393 redundant return line.
6394 (norm): Likewise.
6395 (denorm): Likewise.
6396 (dbl_mp): Likewise.
6397 (sub_magnitudes): Likewise.
6398 (__add): Likewise.
6399 (__sub): Likewise.
6400 (__mul): Likewise.
6401 (__inv): Likewise.
6402 (__dvd): Likewise.
6403 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
6404 (norm): Likewise.
6405 (denorm): Likewise.
6406 (dbl_mp): Likewise.
6407 (sub_magnitudes): Likewise.
6408 (__add): Likewise.
6409 (__sub): Likewise.
6410 (__mul): Likewise.
6411 (__inv): Likewise.
6412 (__dvd): Likewise.
6413
f414520d
SP
6414 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
6415 instead of __mul.
6416 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
6417 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
6418 (cc32): Likewise.
6419
d6752ccd
SP
6420 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
6421 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
6422 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
6423 of __mul for squares.
6424 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
6425 function
6426 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
6427 Likewise.
6428 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
6429 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
6430
70d9946a
JM
64312013-02-13 Joseph Myers <joseph@codesourcery.com>
6432
6433 [BZ #13550]
6434 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
6435 code.
6436 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
6437 prototype or function definition. Rename ubp_* variables and
6438 parameters. Remove argv definitions conditional on
6439 [__BOUNDED_POINTERS__].
6440 * debug/backtrace.c (__backtrace): Do not use __unbounded.
6441 * elf/dl-runtime.c (_dl_fixup): Likewise.
6442 * include/set-hooks.h (RUN_HOOK): Likewise.
6443 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
6444 definition.
6445 * string/strcpy.c (strcpy): Do not use __unbounded.
6446 * sysdeps/generic/frame.h (struct layout): Likewise.
6447 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
6448 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
6449 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
6450 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
6451 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
6452 (__backtrace): Likewise.
6453 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
6454 use __ptrvalue.
6455 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
6456 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
6457 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
6458 Likewise.
6459 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
6460 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
6461 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
6462 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
6463 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
6464 Do not use __unbounded.
6465 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
6466 Rename __unboundedrlimits parameter to rlimits in prototype.
6467 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
6468 Do not use __unbounded.
6469 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
6470 not use __ptrvalue.
6471 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
6472 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
6473 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
6474 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
6475 __ptrvalue or __unbounded.
6476 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
6477 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
6478 use __unbounded.
6479 (__new_msgctl): Do not use __ptrvalue.
6480 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
6481 __unbounded.
6482 (__libc_msgrcv): Do not use __ptrvalue.
6483 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
6484 startup_info): Do not use __unbounded.
6485 (__libc_start_main): Likewise. Rename ubp_* variables and
6486 parameters. Remove argv definitions conditional on
6487 [__BOUNDED_POINTERS__].
6488 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
6489 __ptrvalue.
6490 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
6491 use __unbounded.
6492 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
6493 or __ptrvalue.
6494 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
6495 use __unbounded.
6496 (__new_shmctl): Do not use __ptrvalue.
6497 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
6498 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
6499 Likewise.
6500 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
6501 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
6502 (__libc_sigaction): Likewise.
6503 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
6504 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
6505 Likewise.
6506 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
6507
cc7834d6
OB
65082013-02-13 Ondřej Bílka <neleai@seznam.cz>
6509
ffb1ec7b 6510 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
6511
6512 * string/mempcpy.c: Implement by calling memcpy.
6513
bdf02814
SP
65142013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6515
c2af38aa
SP
6516 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
6517
4e92d59e
SP
6518 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
6519 evaluation.
6520
909279a5
SP
6521 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
6522 values in the mantissa.
6523
bdf02814
SP
6524 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
6525 minimize writes to Z.
6526 (sub_magnitudes): Simplify code a bit.
6527
cd525923
RM
65282013-02-12 Roland McGrath <roland@hack.frob.com>
6529
6530 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
6531 from the message. The linker prefixes all warnings with that already.
6532
7e2f0d2d
AS
65332013-02-12 Andreas Schwab <schwab@suse.de>
6534
a445af0b
AS
6535 [BZ #15078]
6536 * posix/regexec.c (extend_buffers): Add parameter min_len.
6537 (check_matching): Pass minimum needed length.
6538 (clean_state_log_if_needed): Likewise.
6539 (get_subexp): Likewise.
6540 * posix/Makefile (tests): Add bug-regex34.
6541 (bug-regex34-ENV): Define.
6542 * posix/bug-regex34.c: New file.
6543
7e2f0d2d
AS
6544 [BZ #11561]
6545 * posix/regcomp.c (parse_bracket_exp): When looking up collating
6546 elements compare against the byte sequence of it, not its name.
6547 * posix/Makefile (tests): Add bug-regex35.
6548 (bug-regex35-ENV): Define.
6549 * posix/bug-regex35.c: New file.
6550
a175b684
TV
65512013-02-11 Tom de Vries <tom@codesourcery.com>
6552
6553 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
6554 comment.
6555 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
6556 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
6557 (CHECK_EOL): Add undef.
6558
310998fe 65592013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
6560
6561 * bits/stdlib-bsearch.h: New file.
6562 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 6563 * stdlib/stdlib.h: Likewise.
41eda41d 6564
8ded91fb
RM
65652013-02-11 Roland McGrath <roland@hack.frob.com>
6566
6567 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
6568 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
6569 declaration.
6570 * manual/search.texi (Array Search Function): Add missing const in
6571 lfind prototype.
6572 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
6573 declaration to use rlim_t.
6574 (Basic Scheduling Functions): Remove erroneous const from
6575 sched_getparam prototype. Remove erroneous * from
6576 sched_get_priority_max and sched_get_priority_min prototypes.
6577 (Resource Usage): Fix summary @comment on vtimes to refer to
6578 sys/vtimes.h rather than vtimes.h.
6579 Add missing *s in vtimes prototype.
6580 (Limits on Resources): Fix ulimit prototype to return long int.
6581 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
6582 prototypes to use long int rather than double.
6583 (BSD Random): Fix initstate and setstate to use char *, not void *.
6584 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
6585 prototype to make second argument 'struct aiocb64 *const[]'.
6586 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
6587 (Status of AIO Operations): Remove erroneous const in aio_return and
6588 aio_return64 prototypes.
6589 (Synchronizing I/O): Fix sync prototype to return void.
6590 * manual/startup.texi (Suboptions): Remove an erroneous const in
6591 getsubopt prototype.
6592 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
6593 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
6594 use size_t rather than int.
6595 (Scanning All Users): Likewise for getpwent_r.
6596 (Setting Groups): Add missing const to setgroups prototype.
6597 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
6598 * manual/socket.texi (Host Names): Fix gethostbyaddr and
6599 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
6600 'const void *' rather than 'const char *'.
6601 (Host Address Functions): Likewise for inet_ntop.
6602 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
6603 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
6604 ssize_t for return value.
6605 (Sending Data): Likewise for send, sendto, sendmsg.
6606 (Socket Option Functions): Add a missing const in setsockopt prototype.
6607 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
6608 use wchar_t for the argument.
6609 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
6610 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
6611 take no arguments.
6612 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
6613 double/float/long double for second argument.
6614 Fix return types of significand, significandf, significandl.
6615 * manual/filesys.texi (Setting Permissions): Use mode_t for second
6616 argument in fchmod prototype.
6617 (File Owner): Use uid_t and gid_t in fchown prototype.
6618 (File Times): Add const to utimes, futimes, and lutimes prototypes.
6619 (Making Special Files): Use mode_t and dev_t in mknod prototype.
6620 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
6621 use 'const struct dirent **' as argument types to CMP function pointer
6622 argument.
6623 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
6624 (File Times): Fix summary magic @comment for struct utimbuf and utime
6625 to refer to utime.h, not time.h.
6626 * manual/string.texi (Argz Functions): Add missing const in
6627 argz_extract and argz_next prototypes.
6628 (Finding Tokens in a String): Likewise for basename.
6629 (String/Array Comparison): Fix typo in wcscasecmp prototype.
6630 (Copying and Concatenation): Fix typo in wmemmove prototype.
6631 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
6632 (Signal Stack): Remove erroneous const in sigstack prototype.
6633 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
6634 prototype.
6635 (Simple Calendar Time): Likewise for stime.
6636 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
6637 prototype.
6638 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
6639 say sys/sysctl.h instead.
6640 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
6641 and vsyslog prototypes.
6642
fe77fe6d
TV
66432013-02-11 Tom de Vries <tom@codesourcery.com>
6644
6645 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
6646 Remove.
6647
3a09b620
RM
66482013-02-11 Roland McGrath <roland@hack.frob.com>
6649
6650 * misc/sys/mman.h: Fix typo in mremap comment.
6651
550a0b89
RM
66522013-02-08 Roland McGrath <roland@hack.frob.com>
6653
6654 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
6655 the '\0' terminator.
6656
a2da1673
JM
66572013-02-08 Joseph Myers <joseph@codesourcery.com>
6658
6659 [BZ #13550]
6660 * debug/segfault.c: Don't include <bp-checks.h>.
6661 * sysdeps/generic/bp-checks.h: Remove file.
6662 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
6663 (__GETDENTS): Don't use CHECK_N.
6664 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
6665 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
6666 (__getgroups): Don't use CHECK_N.
6667 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
6668 (setgroups): Don't use CHECK_N.
6669 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
6670 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
6671 (__libc_msgrcv): Don't use CHECK_N.
6672 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
6673 (__libc_msgsnd): Don't use CHECK_N.
6674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
6675 <bp-checks.h>.
6676 (__libc_pread): Don't use CHECK_N.
6677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
6678 include <bp-checks.h>.
6679 (__libc_pread64): Don't use CHECK_N.
6680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
6681 include <bp-checks.h>.
6682 (__libc_pwrite): Don't use CHECK_N.
6683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
6684 include <bp-checks.h>.
6685 (__libc_pwrite64): Don't use CHECK_N.
6686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
6687 <bp-checks.h>.
6688 (__libc_pread): Don't use CHECK_N.
6689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
6690 include <bp-checks.h>.
6691 (__libc_pread64): Don't use CHECK_N.
6692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
6693 include <bp-checks.h>.
6694 (__libc_pwrite): Don't use CHECK_N.
6695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
6696 include <bp-checks.h>.
6697 (__libc_pwrite64): Don't use CHECK_N.
6698 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
6699 (do_pread): Don't use CHECK_N.
6700 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
6701 (do_pread64): Don't use CHECK_N.
6702 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
6703 (do_pwrite): Don't use CHECK_N.
6704 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
6705 (do_pwrite64): Don't use CHECK_N.
6706 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
6707 (__libc_readv): Don't use CHECK_N.
6708 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
6709 (semop): Don't use CHECK_N.
6710 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
6711 <bp-checks.h>.
6712 (semtimedop): Don't use CHECK_N.
6713 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
6714 (__libc_pread): Don't use CHECK_N.
6715 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
6716 <bp-checks.h>.
6717 (__libc_pread64): Don't use CHECK_N.
6718 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
6719 <bp-checks.h>.
6720 (__libc_pwrite): Don't use CHECK_N.
6721 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
6722 <bp-checks.h>.
6723 (__libc_pwrite64): Don't use CHECK_N.
6724 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
6725 <bp-checks.h>.
6726 (__libc_msgrcv): Don't use CHECK_N.
6727 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
6728 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
6729 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
6730 (__libc_writev): Don't use CHECK_N.
6731
b84660a8
RM
67322013-02-08 Roland McGrath <roland@hack.frob.com>
6733
7f3e75f8
RM
6734 * string/strcpy.c: Removed unused variable.
6735
b84660a8
RM
6736 * Makeconfig (+sysdep-includes): Define with := rather than =.
6737 Use an existing include/ subdir of each sysdeps dir before it.
6738
471514d3
CD
67392013-02-08 Carlos O'Donell <carlos@redhat.com>
6740
6741 * nscd/connection.c (register_traced_file): Comment function.
6742 [HAVE_INOTIFY] (union __inev): Define.
6743 [HAVE_INOTIFY] (inotify_check_files): New function.
6744 [HAVE_INOTIFY] (clear_db_cache): Likewise.
6745 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
6746 clear_db_cache.
6747 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
6748
b2d3c3be
CD
67492013-02-08 Carlos O'Donell <carlos@redhat.com>
6750
6751 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
6752 loaded if not already and that a failure is permanent.
6753
b39949d2
CD
67542013-02-08 Carlos O'Donell <carlos@redhat.com>
6755
ddacd1db 6756 [BZ #15006]
b39949d2
CD
6757 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
6758 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
6759
b2c9eff4
JM
67602013-02-08 Joseph Myers <joseph@codesourcery.com>
6761
f3aae3f3
JM
6762 [BZ #13550]
6763 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
6764 (CHECK_1_NULL_OK): Likewise.
6765 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
6766 (__fxstat): Do not use CHECK_1.
6767 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
6768 <bp-checks.h>.
6769 (___fxstat64): Do not use CHECK_1.
6770 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
6771 <bp-checks.h>.
6772 (__fxstatat): Do not use CHECK_1.
6773 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
6774 <bp-checks.h>.
6775 (__fxstatat64): Do not use CHECK_1.
6776 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
6777 <bp-checks.h>.
6778 (__fxstat): Do not use CHECK_1.
6779 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
6780 <bp-checks.h>.
6781 (__fxstatat): Do not use CHECK_1.
6782 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
6783 <bp-checks.h>.
6784 (__getresgid): Do not use CHECK_1.
6785 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
6786 <bp-checks.h>.
6787 (__getresuid): Do not use CHECK_1.
6788 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
6789 <bp-checks.h>.
6790 (__lxstat): Do not use CHECK_1.
6791 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
6792 <bp-checks.h>.
6793 (__old_msgctl): Do not use CHECK_1.
6794 (__new_msgctl): Likewise.
6795 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
6796 <bp-checks.h>.
6797 (__new_setrlimit): Do not use CHECK_1.
6798 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
6799 <bp-checks.h>.
6800 (__old_shmctl): Do not use CHECK_1.
6801 (__new_shmctl): Likewise.
6802 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
6803 <bp-checks.h>.
6804 (__xstat): Do not use CHECK_1.
6805 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
6806 (__lxstat): Do not use CHECK_1.
6807 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
6808 <bp-checks.h>.
6809 (___lxstat64): Do not use CHECK_1.
6810 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
6811 (__old_msgctl): Do not use CHECK_1.
6812 (__new_msgctl): Likewise.
6813 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
6814 <bp-checks.h>.
6815 (__gettimeofday): Do not use CHECK_1.
6816 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
6817 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
6818 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
6819 <bp-checks.h>.
6820 (__gettimeofday): Do not use CHECK_1.
6821 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
6822 (__old_shmctl): Do not use CHECK_1_NULL_OK.
6823 (__new_shmctl): Do not use CHECK_1.
6824 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
6825 <bp-checks.h>.
6826 (do_sigtimedwait): Do not use CHECK_1.
6827 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
6828 <bp-checks.h>.
6829 (do_sigwaitinfo): Do not use CHECK_1.
6830 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
6831 <bp-checks.h>.
6832 (msgctl): Do not use CHECK_1.
6833 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
6834 <bp-checks.h>.
6835 (shmctl): Do not use CHECK_1.
6836 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
6837 (ustat): Do not use CHECK_1.
6838 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
6839 <bp-checks.h>.
6840 (__fxstat): Do not use CHECK_1.
6841 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
6842 <bp-checks.h>.
6843 (__fxstatat): Do not use CHECK_1.
6844 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
6845 <bp-checks.h>.
6846 (__lxstat): Do not use CHECK_1.
6847 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
6848 <bp-checks.h>.
6849 (__xstat): Do not use CHECK_1.
6850 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
6851 (__xstat): Do not use CHECK_1.
6852 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
6853 (___xstat64): Do not use CHECK_1.
6854
b2c9eff4
JM
6855 [BZ #13550]
6856 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
6857 definitions.
6858 (CHECK_BOUNDS_HIGH): Likewise.
6859 * string/strcpy.c: Do not include <bp-checks.h>.
6860 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
6861
f1d70dad
RM
68622013-02-07 Roland McGrath <roland@hack.frob.com>
6863
6864 * nscd/nscd-client.h (__nscd_drop_map_ref):
6865 Add __attribute__ ((unused)).
6866 * nis/nss-nisplus.h (niserr2nss): Likewise.
6867
6868 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
6869 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
6870
6871 * csu/libc-tls.c (init_static_tls, init_slotinfo):
6872 Remove inline keyword.
6873 * include/rounding-mode.h (round_away): Likewise.
6874 * libio/wfileops.c (adjust_wide_data): Likewise.
6875 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
6876 (__m128i_strloadu_tolower): Likewise.
6877 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
6878 (__m128i_strloadu_tolower): Likewise.
6879 * time/mktime.c (ydhms_diff): Likewise.
6880 * locale/elem-hash.h (elem_hash): Likewise.
6881 * locale/setlocale.c (setdata): Likewise.
6882 * posix/regex_internal.h (re_string_char_size_at): Likewise.
6883 (re_string_wchar_at): Likewise.
6884 (bitset_not, bitset_merge, bitset_mask): Likewise.
6885 [!(__GNUC__ > 3)] (inline): Remove macro.
6886 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
6887 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
6888 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
6889 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
6890 * string/memcmp.c (memcmp_bytes): Likewise.
6891 * locale/programs/locarchive.c (compute_hashval): Likewise.
6892 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
6893 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
6894 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
6895 * nss/getent.c (print_rpc, print_protocols): Likewise.
6896 (print_passwd, print_group, print_aliases): Likewise.
6897 * nis/nss-nisplus.h (niserr2nss): Likewise.
6898 * nscd/connections.c (restart_p): Likewise.
6899 Change return type to bool.
6900
eab55bfb
RM
69012013-02-05 Roland McGrath <roland@hack.frob.com>
6902
7bd642f5
RM
6903 * Makeconfig (all-Depend-files): Add existing
6904 $(sorted-subdirs:=/Depend) files.
6905 (all-subdirs): Remove nss.
6906 * sysdeps/unix/inet/Subdirs: Add it here instead.
6907 * hesiod/Depend: New file.
6908
573c29b2
RM
6909 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
6910 instead of calling alloca.
6911
b2e25af0
RM
6912 * io/lseek.c (__lseek): Rename to __libc_lseek.
6913 Define __lseek as an alias.
6914
eab55bfb
RM
6915 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
6916
9a0d1941
CD
69172013-02-04 Carlos O'Donell <carlos@redhat.com>
6918
6919 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
6920 else clause and remove check for non-standard endianness.
6921
b83bbec4
DM
69222013-02-04 David S. Miller <davem@davemloft.net>
6923
6924 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6925
6277fdab
JM
69262013-02-04 Joseph Myers <joseph@codesourcery.com>
6927
6928 [BZ #13550]
6929 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
6930 (__ubp_memchr): Remove prototype.
6931 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
6932 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
6933 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
6934 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
6935 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
6936 Remove alias.
6937 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
6938 (__ubp_memchr): Likewise.
6939 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
6940 (__ubp_memchr): Likewise.
6941 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
6942 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
6943 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
6944 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
6945 CHECK_STRING.
6946 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
6947 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
6948 (__getcwd): Do not use CHECK_STRING.
6949 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
6950 <bp-checks.h>.
6951 (__real_chown): Do not use CHECK_STRING.
6952 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
6953 <bp-checks.h>.
6954 (fchownat): Do not use CHECK_STRING.
6955 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
6956 CHECK_STRING.
6957 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
6958 <bp-checks.h>.
6959 (__lchown): Do not use CHECK_STRING.
6960 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
6961 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
6962 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
6963 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
6964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
6965 include <bp-checks.h>.
6966 (truncate64): Do not use CHECK_STRING.
6967 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
6968 <bp-checks.h>.
6969 (__real_chown): Do not use CHECK_STRING.
6970 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
6971 <bp-checks.h>.
6972 (__lchown): Do not use CHECK_STRING.
6973 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
6974 <bp-checks.h>.
6975 (__chown): Do not use CHECK_STRING.
6976 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
6977 <bp-checks.h>.
6978 (truncate64): Do not use CHECK_STRING.
6979 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
6980 Likewise.
6981 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
6982 (__xmknod): Do not use CHECK_STRING.
6983 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
6984 <bp-checks.h>.
6985 (__xmknodat): Do not use CHECK_STRING.
6986 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
6987 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
6988
903ae060
AS
69892013-02-04 Andreas Schwab <schwab@suse.de>
6990
6991 [BZ #14142]
6992 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
6993 * include/netdb.h: Likewise for h_errno.
6994 * elf/tst-stackguard1.c: Include <tls.h>.
6995
542f9466
JK
69962013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6997
6998 * elf/link.h (struct link_map): Extend the l_addr comment.
6999 * include/link.h (struct link_map): Likewise.
7000
e782a927
JM
70012013-02-01 Joseph Myers <joseph@codesourcery.com>
7002
7003 [BZ #13550]
7004 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
7005 (BOUNDED_1): Remove macro.
7006 * debug/backtrace.c: Don't include <bp-checks.h>.
7007 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
7008 (__backtrace): Likewise.
7009 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
7010 <bp-checks.h>.
7011 (__backtrace): Don't use BOUNDED_1.
7012 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
7013 <bp-checks.h>.
7014 (__backtrace): Don't use BOUNDED_1.
7015 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
7016 (__backtrace): Don't use BOUNDED_1.
7017 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
7018 (shmat): Don't use BOUNDED_N.
7019
8cf28c5e
JM
70202013-01-31 Joseph Myers <joseph@codesourcery.com>
7021
3a7ac8a0
JM
7022 [BZ #13550]
7023 * sysdeps/generic/bp-start.h: Remove file.
7024 * csu/libc-start.c: Don't include <bp-start.h>.
7025 (LIBC_START_MAIN): Set up __environ directly instead of using
7026 INIT_ARGV_and_ENVIRON.
7027 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
7028 <bp-start.h>.
7029
f3499f95
JM
7030 [BZ #13550]
7031 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
7032 definitions.
7033 (CHECK_FCNTL): Likewise.
7034 (CHECK_N_PAGES): Likewise.
7035
32a45bea
JM
7036 [BZ #13550]
7037 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
7038 definitions.
7039 (CHECK_SIGSET_NULL_OK): Likewise.
7040 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
7041 <bp-checks.h>.
7042 (sigpending): Don't use CHECK_SIGSET.
7043 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
7044 <bp-checks.h>.
7045 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7046 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
7047 <bp-checks.h>.
7048 (do_sigsuspend): Don't use CHECK_SIGSET.
7049 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
7050 use CHECK_SIGSET.
7051 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
7052 (do_sigwait): Don't use CHECK_SIGSET.
7053 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
7054 use CHECK_SIGSET.
7055 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
7056 include <bp-checks.h>.
7057 (sigpending): Don't use CHECK_SIGSET.
7058 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
7059 include <bp-checks.h>.
7060 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7061 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
7062 <bp-checks.h>.
7063 (sigpending): Don't use CHECK_SIGSET.
7064 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
7065 <bp-checks.h>.
7066 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7067
2e8a5c8c
JM
7068 [BZ #13550]
7069 * sysdeps/generic/bp-semctl.h: Remove file.
7070 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
7071 <bp-checks.h> and <bp-semctl.h>.
7072 (__old_semctl): Don't use CHECK_SEMCTL.
7073 (__new_semctl): Likewise.
7074 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
7075 and <bp-semctl.h>.
7076 (__old_semctl): Don't use CHECK_SEMCTL.
7077 (__new_semctl): Likewise.
7078 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
7079 <bp-checks.h> and <bp-semctl.h>.
7080 (__old_semctl): Don't use CHECK_SEMCTL.
7081 (__new_semctl): Likewise.
7082 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
7083 <bp-checks.h> and <bp-semctl.h>.
7084 (semctl): Don't use CHECK_SEMCTL.
7085
c2d54929
JM
7086 [BZ #13550]
7087 * Makerules (elide-bp-thunks): Remove variable.
7088 (elide-routines.oS): Don't use $(elide-bp-thunks).
7089 (elide-routines.os): Likewise.
7090 (elide-routines.o): Likewise.
7091 (elide-routines.op): Likewise.
7092 (elide-routines.og): Likewise.
7093 (objects): Don't use $(bp-thunks).
7094 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
7095 include.
7096 (common-generated): Do not add s-proto-bp.d.
7097 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
7098 (int): Likewise.
7099 (typ): Likewise.
7100 Do not generate makefile rules for bounded-pointer thunks.
7101 * sysdeps/generic/bp-thunks.h: Remove file.
7102 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
7103 * sysdeps/unix/s-proto-bp.S: Likewise.
7104
8cf28c5e
JM
7105 [BZ #15062]
7106 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
7107 parts of result separately when argument is not close to line from
7108 -i to i and one part of argument is small.
7109 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7110 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7111 * math/libm-test.inc (cacos_test): Add more tests.
7112 (casin_test): Likewise.
7113 (casinh_test): Likewise.
7114 * sysdeps/i386/fpu/libm-test-ulps: Update.
7115 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7116
c4e33b8d
DM
71172013-01-31 David S. Miller <davem@davemloft.net>
7118
7119 * po/de.po: Update from translation team.
7120
3b60b421
MK
71212013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
7122
7123 * time/tzfile.c: Include stdint.h for SIZE_MAX.
7124
bb931195
TS
71252013-01-25 Thomas Schwinge <thomas@codesourcery.com>
7126
b5a5da23
TS
7127 * configure.in (_AC_PROG_CC_C89): New definition.
7128 * configure: Regenerate.
7129
bb931195
TS
7130 * configure.in (AC_PROG_CPP): New definition.
7131 * configure: Regenerate.
7132
8c53a12c
JM
71332013-01-23 Joseph Myers <joseph@codesourcery.com>
7134
7135 * debug/tst-backtrace.h: New file.
7136 * debug/tst-backtrace2.c: Include tst-backtrace.h.
7137 (ret): Remove variable.
7138 (x): Likewise.
7139 (FAIL): Remove macro.
7140 (NO_INLINE): Likewise.
7141 (fn1): Use match function instead of strstr.
7142 * debug/tst-backtrace3.c: Include tst-backtrace.h.
7143 (ret): Remove variable.
7144 (x): Likewise.
7145 (FAIL): Remove macro.
7146 (NO_INLINE): Likewise.
7147 (fn): Use match function instead of strstr.
7148 * debug/tst-backtrace4.c: Include tst-backtrace.h.
7149 (ret): Remove variable.
7150 (x): Likewise.
7151 (FAIL): Remove macro.
7152 (NO_INLINE): Likewise.
7153 (handle_signal): Use match function instead of strstr.
7154 * debug/tst-backtrace5.c: Include tst-backtrace.h.
7155 (ret): Remove variable.
7156 (x): Likewise.
7157 (FAIL): Remove macro.
7158 (NO_INLINE): Likewise.
7159 (handle_signal): Use match function instead of strstr.
7160
4858fa2a
RM
71612013-01-23 Roland McGrath <roland@hack.frob.com>
7162
7163 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
7164
bae8e7f5
DM
71652013-01-23 David S. Miller <davem@davemloft.net>
7166
7167 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
7168 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
7169 argument of CAS if possible.
7170 * sysdeps/sparc/sparc64/bits/atomic.h
7171 (__arch_compare_and_exchange_val_32_acq): Likewise.
7172 (__arch_compare_and_exchange_val_64_acq): Likewise.
7173
9cbbc4ae
PT
71742013-01-23 Pino Toscano <toscano.pino@tiscali.it>
7175
7176 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
7177 * sysdeps/posix/ulimit.c: ... this.
92a601b8 7178 Include <limits.h>.
67b3f58c 7179 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 7180
5655a0b5
AC
71812013-01-23 Adam Conrad <adconrad@0c3.net>
7182
7183 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
7184 (LDFLAGS-tst-array5): Likewise.
7185
052aff95
JM
71862013-01-23 Joseph Myers <joseph@codesourcery.com>
7187
7188 [BZ #15036]
7189 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
7190 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
7191 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
7192 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
7193
7c1e01aa
DM
71942013-01-21 David S. Miller <davem@davemloft.net>
7195
7196 * sysdeps/sparc/backtrace.c: New file.
7197 * sysdeps/sparc/sparc32/backtrace.h: New file.
7198 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
7199 * sysdeps/sparc/sparc64/backtrace.h: New file.
7200 * sysdeps/sparc/sparc64/backtrace.c: Delete.
7201 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
7202 -funwind-tables.
7203
ab087e0a
AS
72042013-01-21 Andreas Schwab <schwab@suse.de>
7205
7206 [BZ #15020]
7207 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
7208 closed its stdout.
7209
ed689c2f
AS
72102013-01-20 Andreas Schwab <schwab@linux-m68k.org>
7211
7212 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
7213 "mpa2.h".
7214 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7215
31d470ac
JM
72162013-01-18 Joseph Myers <joseph@codesourcery.com>
7217 Mark Mitchell <mark@codesourcery.com>
7218 Tom de Vries <tom@codesourcery.com>
7219 Paul Pluzhnikov <ppluzhnikov@google.com>
7220
7221 * debug/tst-backtrace2.c: New file.
7222 * debug/tst-backtrace3.c: Likewise.
7223 * debug/tst-backtrace4.c: Likewise.
7224 * debug/tst-backtrace5.c: Likewise.
7225 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
7226 (CFLAGS-tst-backtrace3.c): Likewise.
7227 (CFLAGS-tst-backtrace4.c): Likewise.
7228 (CFLAGS-tst-backtrace5.c): Likewise.
7229 (LDFLAGS-tst-backtrace2): Likewise.
7230 (LDFLAGS-tst-backtrace3): Likewise.
7231 (LDFLAGS-tst-backtrace4): Likewise.
7232 (LDFLAGS-tst-backtrace5): Likewise.
7233 (tests): Add new tests tst-backtrace2, tst-backtrace3,
7234 tst-backtrace4 and tst-backtrace5.
7235
90567f30 72362013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
7237 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7238
7239 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
7240 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
7241 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
7242 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
7243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7244 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
7245 "+r" and remove output regs list as redundant. Add explicit inline
7246 asm to specify register of return val to work around compiler codegen
7247 bug. Remove (int) cast on return value. Add return type parameter to
7248 use in macro so that this macro does not truncate return value for
7249 64-bit values.
7250 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
7251 pass to INTERNAL_VSYSCALL_NCS.
7252 (INLINE_VSYSCALL): Add 'long int' as return type to
7253 INTERNAL_VSYSCALL_NCS macro invocation.
7254 (INTERNAL_VSYSCALL): Add 'long int' as return type to
7255 INTERNAL_VSYSCALL_NCS macro invocation.
7256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7257
d3b9ea61
SP
72582013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7259
0b57daeb
SP
7260 [BZ #14496]
7261 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
7262 Fix application of SIMD FP exception mask.
7263
caa99d06
SP
7264 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
7265 mp_no from a power of two.
7266 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
7267 __mpexp_twomm1. Use __pow_mp.
7268
d3b9ea61
SP
7269 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
7270 multiplication.
7271
1dbaee3c
DM
72722013-01-17 David S. Miller <davem@davemloft.net>
7273
7274 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7275
728d7b43
JM
72762013-01-17 Joseph Myers <joseph@codesourcery.com>
7277
7278 [BZ #15023]
7279 * include/complex.h: Condition contents on [!_COMPLEX_H].
7280 (__kernel_casinhf): New prototype.
7281 (__kernel_casinh): Likewise.
7282 (__kernel_casinhl): Likewise.
7283 * math/Makefile (libm_calls): Add k_casinh.
7284 * math/k_casinh.c: New file.
7285 * math/k_casinhf.c: Likewise.
7286 * math/k_casinhl.c: Likewise.
7287 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
7288 finite nonzero arguments.
7289 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
7290 finite nonzero arguments.
7291 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
7292 finite nonzero arguments.
7293 * math/s_casinh.c: Do not include <float.h>.
7294 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
7295 * math/s_casinhf.c: Do not include <float.h>.
7296 (__casinhf): Move code for finite nonzero arguments to
7297 k_casinhf.c.
7298 * math/s_casinhl.c: Do not include <float.h>.
7299 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
7300 redefine.
7301 (__casinhl): Move code for finite nonzero arguments to
7302 k_casinhl.c.
7303 * math/libm-test.inc (cacos_test): Add more tests.
7304 * sysdeps/i386/fpu/libm-test-ulps: Update.
7305 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7306
2a26ef3a
PT
73072013-01-17 Pino Toscano <toscano.pino@tiscali.it>
7308
7309 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
7310 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
7311 [!HAVE_MREMAP]: Remove [defined linux] case.
7312 * malloc/arena.c: Do not include <malloc-sysdep.h>.
7313
a897655d
SP
73142013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7315
7316 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
7317
881ebe89 73182013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
7319
7320 * elf/elf.h (R_386_SIZE32): New relocation.
7321 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
7322 R_386_SIZE32.
7323 (elf_machine_rela): Likewise.
7324 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
7325 R_X86_64_SIZE64 and R_X86_64_SIZE32.
7326
59981e9b
JM
73272013-01-17 Joseph Myers <joseph@codesourcery.com>
7328
7329 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
7330 (FP_FAST_FMA): Do not define.
7331 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
7332 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
7333 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
7334 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
7335 !_SOFT_FLOAT]: Likewise.
7336 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
7337 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
7338 value.
7339 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
7340 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
7341 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
7342 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
7343 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
7344 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
7345 file.
7346
cfa8054f
AS
73472013-01-16 Andreas Schwab <schwab@suse.de>
7348
7349 [BZ #14327]
7350 * include/stdlib.h (__mktemp): Add declaration.
7351 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
7352 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
7353
dd930cc5
SP
73542013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7355
881ebe89
SP
7356 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
7357 definitions.
7358 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
7359 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
7360 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
7361 definitions here.
7362 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
7363 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
7364 definitions.
7365 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
7366 and ONE.
7367 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
7368 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
7369 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
7370 definitions.
7371 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
7372 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
7373 definitions.
7374 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 7375
dd930cc5
SP
7376 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
7377
c19a9f89
DM
73782013-01-15 David S. Miller <davem@davemloft.net>
7379
1aa61767
DM
7380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7381 trunc{,f} to libm-sysdep_routes.
7382 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
7384 file.
7385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
7386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
7387 file.
7388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
7389 file.
7390 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
7391 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
7392 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
7393 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
7394 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
7395 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
7396 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
7397 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
7398
c42d5e98
DM
7399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7400 nearbyint{,f} to libm-sysdep_routes.
7401 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
7403 New file.
7404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
7405 file.
7406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
7407 New file.
7408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
7409 file.
7410 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
7411 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
7412 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
7413 file.
7414 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
7415 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
7416 file.
7417 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
7418 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
7419 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
7420
c19a9f89
DM
7421 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
7422 libc_feholdexcept and libc_fesetenv.
7423
357679d2
MF
74242013-01-15 Mike Frysinger <vapier@gentoo.org>
7425
7426 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
7427
65a82e3d
DM
74282013-01-14 David S. Miller <davem@davemloft.net>
7429
8b954ab9
DM
7430 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
7431 (SPARC_ASM_VIS2_IFUNC): Likewise.
7432 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
7433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
7434 use of 'siam' instruction.
7435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
7436 Likewise.
7437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
7438 Likewise.
7439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
7440 Likewise.
7441 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
7442 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
7443 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
7444 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
7445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
7446 file.
7447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
7448 file.
7449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
7450 file.
7451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
7452 file.
7453 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
7454 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
7455 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
7456 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
7457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
7458 new VIS2 routines.
7459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
7460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
7462 Likewise.
7463 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
7464 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
7465 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
7466 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
7467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
7468 routines to libm-sysdep_routines.
7469 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7470
65a82e3d
DM
7471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7472 fdim/fdimf to libm-sysdep_routines.
7473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
7474 file.
7475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
7476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
7477 file.
7478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
7479 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
7480 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
7481 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
7482 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
7483 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
7484 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
7485
e34ab705
SP
74862013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7487
2a91b573
SP
7488 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
7489 to optimize copies.
7490
1066a534
SP
7491 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
7492 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
7493 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7494
e34ab705
SP
7495 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
7496 local variable MPTWO.
7497 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
7498 Likewise.
7499
aba5e596
MF
75002013-01-13 Mike Frysinger <vapier@gentoo.org>
7501
7502 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
7503 GLOB_NOESCAPE.
7504
e557e9e5
MF
75052013-01-13 Mike Frysinger <vapier@gentoo.org>
7506
7507 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
7508
0428cec9
MF
75092013-01-13 Mike Frysinger <vapier@gentoo.org>
7510
7511 * manual/pattern.texi (glob_t): Document gl_flags.
7512 (glob64_t): Likewise.
7513
8794a964
DM
75142013-01-11 David S. Miller <davem@davemloft.net>
7515
66438c3f
RM
7516 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
7517 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
7518 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
7519 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
7520 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
7521 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
7522 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
7523 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
7524 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
7525 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
7526 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
7527 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
7528 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
7529
4ae4244d
DM
7530 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
7531 sparc V9 rather than using V8 code.
7532 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
7533 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
7534
8794a964
DM
7535 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
7536 Move to...
7537 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
7538 Here.
7539
6270516e
RM
75402013-01-11 Roland McGrath <roland@hack.frob.com>
7541
7542 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
7543 not in the main loop.
7544 * configure: Regenerated.
7545
6a57d931
JM
75462013-01-11 Joseph Myers <joseph@codesourcery.com>
7547
7548 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
7549 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
7550 to just #else.
7551 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
7552 [!__GLIBC_HAVE_LONG_LONG] case.
7553 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
7554 condition to just #else.
7555 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
7556 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
7557 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
7558 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
7559 unconditional.
7560 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
7561 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
7562 #elif condition to just #else.
7563 * sysdeps/unix/sysv/linux/sys/sysmacros.h
7564 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
7565 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
7566 #elif condition to just #else.
7567
0e8529e9
SE
75682013-01-11 Steve Ellcey <sellcey@mips.com>
7569
7570 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
7571 (EF_MIPS_ARCH_64): Fix value.
7572 (EF_MIPS_ARCH_32R2): New.
7573 (EF_MIPS_ARCH_64R2): New.
7574
740b3dbe
L
75752013-01-11 H.J. Lu <hongjiu.lu@intel.com>
7576
7577 * Makeconfig (+link-pie-before-libc): New.
7578 (+link-pie-after-libc): Likewise.
7579 (+link-pie-tests): Likewise.
7580 (+link-pie): Rewritten.
7581 (link-before-libc): Remove $(config-LDFLAGS).
7582 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
7583 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
7584 (config-LDFLAGS): Renamed to ...
7585 (rtld-LDFLAGS): This.
7586 (rtld-tests-LDFLAGS): New macro.
7587 (link-libc-rpath-link): Likewise.
7588 (link-libc-tests-rpath-link): Likewise.
7589 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
7590 (link-libc): Prepand $(link-libc-rpath-link).
7591 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
7592 (test-program-prefix): New macro.
7593 (test-via-rtld-prefix): Likewise.
7594 (test-program-cmd): Likewise.
7595 (host-test-program-cmd): Likewise.
7596 * Makefile ($(common-objpfx)testrun.sh): Replace
7597 $(run-program-prefix) with $(test-program-prefix).
7598 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
7599 $(rtld-LDFLAGS).
7600 ($(common-objpfx)shlib.lds): Likewise.
7601 (build-module-helper): Likewise.
7602 ($(common-objpfx)format.lds): Likewise.
7603 * Rules (binaries-pie-tests): New.
7604 (binaries-pie-notests): Likewise.
7605 (binaries-pie): Rewritten.
7606 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
7607 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
7608 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
7609 (make-test-out): Replace $(host-built-program-cmd) with
7610 $(host-test-program-cmd).
7611 * config.make.in (build-hardcoded-path-in-tests): New variable.
7612 * configure.in (--enable-hardcoded-path-in-tests): New configure
7613 option.
7614 (hardcoded_path_in_tests): New AC_SUBST.
7615 * configure: Regenerated.
7616 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
7617 $(built-program-cmd) with $(test-program-cmd).
7618 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
7619 (test_program_cmd): This.
7620 * elf/Makefile ($(objpfx)order.out): Run test with
7621 $(test-program-prefix).
7622 ($(objpfx)order2.out): Likewise.
7623 ($(objpfx)tst-initorder.out): Likewise.
7624 ($(objpfx)tst-initorder2.out): Likewise.
7625 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
7626 $(test-program-cmd).
7627 ($(objpfx)tst-array1-static.out): Likewise.
7628 ($(objpfx)tst-array2.out): Likewise.
7629 ($(objpfx)tst-array3.out): Likewise.
7630 ($(objpfx)tst-array4.out): Likewise.
7631 ($(objpfx)tst-array5.out): Likewise.
7632 ($(objpfx)tst-array5-static.out): Likewise.
7633 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
7634 $(test-program-cmd).
7635 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
7636 $(run-program-prefix) with $(test-program-prefix).
7637 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
7638 (test_program_prefix): This.
7639 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
7640 $(run-program-prefix) with $(test-program-prefix).
7641 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
7642 (test_program_prefix): This.
7643 * iconvdata/tst-tables.sh: Likewise.
7644 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
7645 $(run-program-prefix) with $(test-program-prefix).
7646 ($(objpfx)tst-translit.out): Likewise.
7647 ($(objpfx)tst-gettext2.out): Likewise.
7648 ($(objpfx)tst-gettext4.out): Likewise.
7649 ($(objpfx)tst-gettext6.out): Likewise.
7650 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
7651 (test_program_prefix): This.
7652 * intl/tst-gettext2.sh: Likewise.
7653 * intl/tst-gettext4.sh Likewise.
7654 * intl/tst-gettext6.sh: Likewise.
7655 * intl/tst-translit.sh: Likewise.
7656 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
7657 with $(test-program-cmd).
7658 * libio/Makefile ($(objpfx)test-freopen.out): Replace
7659 $(run-program-prefix) with $(test-program-prefix).
7660 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
7661 (test_program_prefix): This.
7662 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
7663 $(run-program-prefix) with $(test-program-prefix).
7664 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
7665 (test_program_prefix): This.
7666 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
7667 * posix/Makefile ($(objpfx)globtest.out): Replace
7668 $(run-via-rtld-prefix) and $(test-wrapper) with
7669 $(test-program-prefix) and $(test-via-rtld-prefix).
7670 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
7671 $(test-program-prefix).
7672 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
7673 $(host-test-program-cmd).
7674 (tst-spawn-ARGS): Likewise.
7675 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
7676 $(test-program-prefix).
7677 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
7678 (test_via_rtld_prefix): This.
7679 (test_wrapper): Renamed to ...
7680 (test_program_prefix): This.
7681 (run_program_prefix): Replaced by test_program_prefix.
7682 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
7683 (test_program_prefix): This.
7684 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
7685 with $(host-test-program-cmd).
7686 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
7687 $(run-program-prefix) with $(test-program-prefix).
7688 ($(objpfx)tst-printf.out): Likewise.
7689 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
7690 $(test-program-cmd).
7691 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
7692 (test_program_prefix): This.
7693 * stdio-common/tst-unbputc.sh: Likewise.
7694 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
7695 $(run-program-prefix) with $(test-program-prefix).
7696 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
7697 (test_program_prefix): This.
7698 * string/Makefile ($(objpfx)tst-svc.out): Replace
7699 $(built-program-cmd) with $(test-program-cmd).
7700
c6fe55cf
AJ
77012013-01-11 Andreas Jaeger <aj@suse.de>
7702
7703 [BZ #15003]
7704 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
7705 value. Sync with Linux 3.7.
7706
9e6919c8
DM
77072013-01-10 David S. Miller <davem@davemloft.net>
7708
7709 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
7710 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
7711 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
7712
1c9f1a02
RM
77132013-01-10 Roland McGrath <roland@hack.frob.com>
7714
7715 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
7716 never set.
7717 * configure: Regenerated.
7718
b9de2dde
DM
77192013-01-10 David S. Miller <davem@davemloft.net>
7720
7721 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
7722 sparc V9 rather than using V8 code.
7723 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
7724 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
7725
e7f68ef4
RM
77262013-01-10 Roland McGrath <roland@hack.frob.com>
7727
7728 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
7729 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
7730 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
7731 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
7732 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
7733 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
7734 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
7735 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
7736 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
7737 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
7738 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
7739 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
7740 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
7741 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
7742 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
7743 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
7744 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
7745 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
7746 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
7747 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
7748 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
7749 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
7750 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
7751 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
7752 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
7753 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
7754 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
7755
5a47cc9c
DM
77562013-01-10 David S. Miller <davem@davemloft.net>
7757
7758 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7759
4cf8f209
L
77602013-01-10 H.J. Lu <hongjiu.lu@intel.com>
7761
7762 * posix/Makefile (tests-static): New variable.
7763 (tests): Add $(tests-static).
7764 (tst-exec-static-ARGS): New variable.
7765 (tst-spawn-static-ARGS): Likewise.
7766 * posix/tst-exec-static.c: New file.
7767 * posix/tst-spawn-static.c: Likewise.
7768 * posix/tst-exec.c: Support run directly.
7769 * posix/tst-spawn.c: Likewise.
7770
fed0faa1
JM
77712013-01-10 Joseph Myers <joseph@codesourcery.com>
7772
828beb13
JM
7773 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
7774 long.
7775 * math/bits/mathcalls.h (llrint): Likewise.
7776 (llround): Likewise.
7777 * stdlib/stdlib.h (struct drand48_data): Likewise.
7778 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
7779 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
7780 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
7781 Likewise.
7782 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
7783 Likewise.
7784 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
7785 (elf_greg_t): Likewise.
7786 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
7787 (__jmp_buf): Likewise.
7788 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
7789 definitions.
7790 (llrint): Likewise, for all definitions.
7791 (llrintl): Likewise.
7792
fed0faa1
JM
7793 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
7794 Remove [__GNUC__] condition.
7795 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
7796 condition to just [__USE_ISOC99].
7797 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
7798
1a20cb20
L
77992013-01-10 H.J. Lu <hongjiu.lu@intel.com>
7800
7801 [BZ #14200]
7802 * sysdeps/unix/sysv/linux/x86/bits/environments.h
7803 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
7804 defined.
7805 (_POSIX_V6_ILP32_OFF32): Likewise.
7806 (_XBS5_ILP32_OFF32): Likewise.
7807 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
7808 (__ILP32_OFFBIG_LDFLAGS): Likewise.
7809
751b85f7
SP
78102013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7811
7490eb81
SP
7812 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
7813
751b85f7
SP
7814 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
7815 doubles __mpexp_twomm1. Adjust usage.
7816 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
7817 Remove.
7818
988197f0
AS
78192013-01-10 Andreas Schwab <schwab@suse.de>
7820
7821 [BZ #14964]
7822 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
7823 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
7824
e83d7298
DM
78252013-01-09 David S. Miller <davem@davemloft.net>
7826
034ed64b 7827 [BZ #15003]
e83d7298
DM
7828 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
7829 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
7830 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
7831 TCP_FASTOPEN): Define.
7832 (tcp_repair_opt): New structure.
7833 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
7834 enum values.
7835 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
7836 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
7837 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
7838 (tcp_cookie_transactions): New structure.
7839
d5e0b9bd
AB
78402013-01-09 Anton Blanchard <anton@samba.org>
7841
7842 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
7843 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
7844 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
7845 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
7846
0c07e3ea
JM
78472013-01-09 Joseph Myers <joseph@codesourcery.com>
7848
7849 * include/features.h (__USE_ANSI): Remove.
7850
232f7002
RM
78512013-01-09 Roland McGrath <roland@hack.frob.com>
7852
ad98e30c
RM
7853 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
7854
232f7002
RM
7855 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
7856
950c99ca
SP
78572013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
7858
b5792741
SP
7859 * sysdeps/s390/fpu/libm-test-ulps: Update.
7860
47cf2278
SP
7861 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7862
950c99ca
SP
7863 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
7864 (__acr): Likewise.
7865 (__cpy): Likewise.
7866 (norm): Likewise.
7867 (denorm): Likewise.
7868 (__mp_dbl): Likewise.
7869 (__dbl_mp): Likewise.
7870 (add_magnitudes): Likewise.
7871 (sub_magnitudes): Likewise.
7872 (__add): Likewise.
7873 (__sub): Likewise.
7874 (__mul): Likewise.
7875 (__inv): Likewise.
7876 (__dvd): Likewise.
7877 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
7878 (__acr): Likewise.
7879 (__cpy): Likewise.
7880 (norm): Likewise.
7881 (denorm): Likewise.
7882 (__mp_dbl): Likewise.
7883 (__dbl_mp): Likewise.
7884 (add_magnitudes): Likewise.
7885 (sub_magnitudes): Likewise.
7886 (__add): Likewise.
7887 (__sub): Likewise.
7888 (__mul): Likewise.
7889 (__inv): Likewise.
7890 (__dvd): Likewise.
7891 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
7892 (__acr): Likewise.
7893 (__cpy): Likewise.
7894 (norm): Likewise.
7895 (denorm): Likewise.
7896 (__mp_dbl): Likewise.
7897 (__dbl_mp): Likewise.
7898 (add_magnitudes): Likewise.
7899 (sub_magnitudes): Likewise.
7900 (__add): Likewise.
7901 (__sub): Likewise.
7902 (__mul): Likewise.
7903 (__inv): Likewise.
7904 (__dvd): Likewise.
7905
eede9df9
JM
79062013-01-08 Joseph Myers <joseph@codesourcery.com>
7907
7908 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
7909 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
7910 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
7911 2 && __USE_EXTERN_INLINES]: Likewise.
7912
c40ea3d9
AJ
79132013-01-08 Andreas Jaeger <aj@suse.de>
7914
7915 [BZ# 14985]
7916 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
7917 Remove.
7918 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
7919 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
7920
2ccdea26
AB
79212013-01-07 Anton Blanchard <anton@samba.org>
7922
7923 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
7924 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
7925 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
7926 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
7927 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
7928 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7929 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
7930 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
7931 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
7932 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
7933 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7934 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7935 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
7936 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7937 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
7938 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7939 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7940 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7941 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
7942 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
7943 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
7944 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
7945 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
7946 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
7947 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
7948 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
7949 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
7950 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
7951 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
7952 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
7953 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
7954 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7955 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
7956 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
7957 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
7958 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
7959 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
7960 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
7961 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
7962 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
7963 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
7964 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
7965 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
7966
a9708fed
JM
79672013-01-07 Joseph Myers <joseph@codesourcery.com>
7968
375607b9
JM
7969 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
7970 (__MALLOC_PMT): Likewise.
7971 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
7972 [__GNUC__], only on [_LIBC].
7973 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
7974 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
7975 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
7976 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
7977 forward declaration.
7978 (realloc_hook_ini): Likewise.
7979 (memalign_hook_ini): Likewise.
7980 (__libc_memalign): Do not use __MALLOC_PMT in variable
7981 declaration.
7982 (__libc_valloc): Likewise.
7983 (__libc_pvalloc): Likewise.
7984 (__libc_calloc): Likewise.
7985 (__posix_memalign): Likewise.
7986
a9708fed
JM
7987 [BZ #14996]
7988 * math/s_casinh.c: Include <float.h>.
7989 (__casinh): Do not do computation with squaring and square root
7990 for large arguments.
7991 * math/s_casinhf.c: Include <float.h>.
7992 (__casinhf): Do not do computation with squaring and square root
7993 for large arguments.
7994 * math/s_casinhl.c: Include <float.h>.
7995 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
7996 (__casinhl): Do not do computation with squaring and square root
7997 for large arguments.
7998 * math/libm-test.inc (casin_test): Add more tests.
7999 (casinh_test): Likewise.
8000 * sysdeps/i386/fpu/libm-test-ulps: Update.
8001 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8002
afec409a
L
80032013-01-04 H.J. Lu <hongjiu.lu@intel.com>
8004
8005 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
8006 (__x86_64_raw_data_cache_size): Likewise.
8007 (__x86_64_data_cache_size_half): Likewise.
8008 (__x86_64_raw_data_cache_size_half): Likewise.
8009 (__x86_64_shared_cache_size): Likewise.
8010 (__x86_64_raw_shared_cache_size): Likewise.
8011 (__x86_64_shared_cache_size_half): Likewise.
8012 (__x86_64_raw_shared_cache_size_half): Likewise.
8013 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
8014 to ...
8015 (__x86_data_cache_size): This.
8016 (__x86_64_raw_data_cache_size): Renamed to ...
8017 (__x86_raw_data_cache_size): This.
8018 (__x86_64_data_cache_size_half): Renamed to ...
8019 (__x86_data_cache_size_half): This.
8020 (__x86_64_raw_data_cache_size_half): Renamed to ...
8021 (__x86_raw_data_cache_size_half): This.
8022 (__x86_64_shared_cache_size): Renamed to ...
8023 (__x86_shared_cache_size): This.
8024 (__x86_64_raw_shared_cache_size): Renamed to ...
8025 (__x86_raw_shared_cache_size): This.
8026 (__x86_64_shared_cache_size_half): Renamed to ...
8027 (__x86_shared_cache_size_half): This.
8028 (__x86_64_raw_shared_cache_size_half): Renamed to ...
8029 (__x86_raw_shared_cache_size_half): This.
8030 * sysdeps/x86_64/memcpy.S: Updated.
8031 * sysdeps/x86_64/memset.S: Likewise.
8032 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
8033 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8034 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8035
0b3986d0
DM
80362013-01-04 David S. Miller <davem@davemloft.net>
8037
8038 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8039
e47686e9
AS
80402013-01-04 Andreas Schwab <schwab@linux-m68k.org>
8041
d643bac1
AS
8042 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
8043 1 to avoid redefinition warning.
8044 (__USE_GNU): Don't define.
8045 (init_signaling_nan): Protoize.
8046
e47686e9
AS
8047 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8048
b18decba
SP
80492013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8050
fffb407f
SP
8051 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
8052 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
8053 (__cpymn): Likewise.
8054 (norm): Remove commented code.
8055 (denorm): Likewise.
8056 (__mp_dbl): Likewise.
8057 (__inv): Likewise.
8058 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
8059 (__cpymn): Likewise.
8060 (norm): Remove commented code.
8061 (denorm): Likewise.
8062 (__mp_dbl): Likewise.
8063 (__inv): Likewise.
8064
b18decba
SP
8065 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
8066 mp_no value for 1.0 and 2.0.
8067 (norm): Use RADIXI instead of radixi.d.
8068 (denorm): Likewise.
8069 (__mul): Use 0.0 instead of zero.d.
8070 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
8071 mp_no value for 1.0 and 2.0.
8072 (norm): Use RADIXI instead of radixi.d.
8073 (denorm): Likewise.
8074 (__mul): Use 0.0 instead of zero.d.
8075
cdc1c96f
JM
80762013-01-04 Joseph Myers <joseph@codesourcery.com>
8077
8078 [BZ #14994]
8079 * math/s_casinh.c (__casinh): Reduce finite argument to first
8080 quadrant then set signs of results at the end.
8081 * math/s_casinhf.c (__casinhf): Likewise.
8082 * math/s_casinhl.c (__casinhl): Likewise.
8083 * math/libm-test.inc (casin_test): Add more tests.
8084 (casinh_test): Likewise.
8085 * sysdeps/i386/fpu/libm-test-ulps: Update.
8086 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8087
302913e1
SP
80882013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8089
6420d207
SP
8090 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
8091
a9e48ab4
SP
8092 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
8093
b7837264
SP
8094 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
8095 declarations.
8096 (denorm): Likewise.
8097 (__mp_dbl): Likewise.
8098 (__inv): Likewise.
8099
f8af25d2
SP
8100 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
8101 and adjust the header comment.
8102
302913e1
SP
8103 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
8104 variable name from declaration.
8105
5d7dd1ca
L
81062013-01-03 H.J. Lu <hongjiu.lu@intel.com>
8107
8108 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8109 Initialize COMMON_CPUID_INDEX_7 element.
8110 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
8111 (CPUID_RTM): Likewise.
8112 (HAS_RTM): Likewise.
8113 (COMMON_CPUID_INDEX_7): New enum.
8114
2f5f40f4
AS
81152013-01-03 Andreas Schwab <schwab@linux-m68k.org>
8116
8117 [BZ #14981]
8118 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
8119 size is zero, record memory as freed.
8120
4056f4a0
AJ
81212013-01-03 Andreas Jaeger <aj@suse.de>
8122
8123 * po/ia.po: Add new Interlingua translation.
8124
ab15736f 81252012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
8126
8127 * locale/programs/localedef.c: Fix description of '--posix' flag.
8128
568035b7
JM
81292013-01-02 Joseph Myers <joseph@codesourcery.com>
8130
e6898b8d
JM
8131 * NEWS: Update dates in second copyright notice.
8132 * README: Update copyright dates in example.
8133 * manual/libc.texinfo: Update copyright dates.
8134 * scripts/test-installation.pl: Update copyright date in --version
8135 output.
8136
0e2f9562
JM
8137 * hurd/ctty-input.c: Fix copyright notice formatting.
8138 * hurd/ctty-output.c: Likewise.
8139 * hurd/dtable.c: Likewise.
8140 * hurd/hurd-raise.c: Likewise.
8141 * hurd/hurdprio.c: Likewise.
8142 * hurd/msgportdemux.c: Likewise.
8143 * misc/sys/file.h: Likewise.
8144 * misc/sys/ioctl.h: Likewise.
8145 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
8146 * sysdeps/mach/hurd/chdir.c: Likewise.
8147 * sysdeps/mach/hurd/fchdir.c: Likewise.
8148 * sysdeps/mach/hurd/rename.c: Likewise.
8149 * sysdeps/mach/hurd/rmdir.c: Likewise.
8150 * sysdeps/mach/hurd/seekdir.c: Likewise.
8151 * sysdeps/mach/hurd/setsid.c: Likewise.
8152 * sysdeps/posix/wait3.c: Likewise.
8153
568035b7
JM
8154 * All files with FSF copyright notices: Update copyright dates
8155 using scripts/update-copyrights.
8156 * intl/plural.c: Regenerated.
8157 * locale/programs/charmap-kw.h: Likewise.
8158 * locale/programs/locfile-kw.h: Likewise.
8159
da08f647
SP
81602013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8161
0f5477af
SP
8162 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
8163 four values.
8164
44e0d4c2
SP
8165 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
8166 calculation loop and add branch prediction.
8167
4d55b4e5
SP
8168 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
8169 check access beyond bounds of m1np.
8170
da08f647
SP
8171 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
8172 MPTWO.
8173 (__inv): Remove local variable MPTWO to use the global
8174 constant.
8175 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
8176 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
8177 variable MPTWO.
8178 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
8179 MP3HALFS static const.
8180
8e051029
DM
81812013-01-01 David S. Miller <davem@davemloft.net>
8182
8183 * po/ca.po: Update from translation team.
8184
f4cf5f2d
JM
81852013-01-01 Joseph Myers <joseph@codesourcery.com>
8186
8187 * scripts/update-copyrights: New file.
8188 * Makeconfig: Reformat copyright notice.
8189 * ctype/ctype.h: Likewise.
8190 * debug/swprintf_chk.c: Likewise.
8191 * elf/dl-cache.c: Likewise.
8192 * elf/dl-debug.c: Likewise.
8193 * elf/dl-object.c: Likewise.
8194 * grp/initgroups.c: Likewise.
8195 * hurd/Makefile: Likewise.
8196 * hurd/hurd/signal.h: Likewise.
8197 * hurd/hurdfault.c: Likewise.
8198 * hurd/hurdioctl.c: Likewise.
8199 * hurd/hurdlookup.c: Likewise.
8200 * hurd/intr-msg.c: Likewise.
8201 * iconv/gconv_open.c: Likewise.
8202 * libio/swprintf.c: Likewise.
8203 * locale/lc-ctype.c: Likewise.
8204 * locale/nl_langinfo.c: Likewise.
8205 * mach/Machrules: Likewise.
8206 * mach/Makefile: Likewise.
8207 * malloc/obstack.h: Likewise.
8208 * manual/Makefile: Likewise.
8209 * manual/tsort.awk: Likewise.
8210 * misc/bits/stab.def: Likewise.
8211 * nis/nis_print_group_entry.c: Likewise.
8212 * nis/nis_table.c: Likewise.
8213 * nis/nss_compat/compat-pwd.c: Likewise.
8214 * nis/nss_compat/compat-spwd.c: Likewise.
8215 * po/Makefile: Likewise.
8216 * posix/fnmatch.c: Likewise.
8217 * posix/regex.h: Likewise.
8218 * resolv/Makefile: Likewise.
8219 * resolv/nss_dns/dns-network.c: Likewise.
8220 * resolv/res_hconf.c: Likewise.
8221 * scripts/gen-sorted.awk: Likewise.
8222 * soft-fp/soft-fp.h: Likewise.
8223 * stdio-common/printf.h: Likewise.
8224 * stdlib/monetary.h: Likewise.
8225 * stdlib/random.c: Likewise.
8226 * stdlib/random_r.c: Likewise.
8227 * sysdeps/generic/Makefile: Likewise.
8228 * sysdeps/gnu/Makefile: Likewise.
8229 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8230 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8231 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8232 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8233 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8234 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8235 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8236 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8237 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8238 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8239 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8240 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8241 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
8242 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
8243 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
8244 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
8245 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8246 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8247 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8248 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8249 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8250 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8251 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8252 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
8253 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
8254 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
8255 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
8256 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
8257 * sysdeps/mach/hurd/errnos.awk: Likewise.
8258 * sysdeps/mach/hurd/fork.c: Likewise.
8259 * sysdeps/mach/hurd/getcwd.c: Likewise.
8260 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
8261 * sysdeps/mach/hurd/mmap.c: Likewise.
8262 * sysdeps/mach/hurd/utimes.c: Likewise.
8263 * sysdeps/mach/hurd/xmknod.c: Likewise.
8264 * sysdeps/posix/profil.c: Likewise.
8265 * sysdeps/posix/readdir_r.c: Likewise.
8266 * sysdeps/powerpc/bits/mathdef.h: Likewise.
8267 * sysdeps/powerpc/bits/setjmp.h: Likewise.
8268 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
8269 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
8270 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8271 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
8272 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8273 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8274 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8275 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
8276 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8277 * sysdeps/pthread/lio_listio.c: Likewise.
8278 * sysdeps/sparc/dl-procinfo.h: Likewise.
8279 * sysdeps/unix/i386/sysdep.S: Likewise.
8280 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
8281 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
8282 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
8283 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
8284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8285 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
8286 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
8287 * sysdeps/unix/sysv/linux/speed.c: Likewise.
8288 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
8289 * sysdeps/wordsize-32/divdi3.c: Likewise.
8290 * time/sys/time.h: Likewise.
8291 * wcsmbs/Makefile: Likewise.
8292
0549fbba
DM
82932013-01-01 David S. Miller <davem@davemloft.net>
8294
a141f1a7
DM
8295 * po/fr.po: Update from translation team.
8296
0549fbba
DM
8297 * catgets/gencat.c: Update copyright year.
8298 * csu/version.c: Likewise.
8299 * debug/catchsegv.sh: Likewise.
8300 * debug/pcprofiledump.c: Likewise.
8301 * debug/xtrace.sh: Likewise.
8302 * elf/ldconfig.c: Likewise.
8303 * elf/ldd.bash.in: Likewise.
8304 * elf/pldd.c: Likewise.
8305 * elf/sotruss.ksh: Likewise.
8306 * elf/sprof.c: Likewise.
8307 * iconv/iconv_prog.c: Likewise.
8308 * iconv/iconvconfig.c: Likewise.
8309 * locale/programs/locale.c: Likewise.
8310 * locale/programs/localedef.c: Likewise.
8311 * login/programs/pt_chown.c: Likewise.
8312 * malloc/memusage.sh: Likewise.
8313 * malloc/memusagestat.c: Likewise.
8314 * malloc/mtrace.pl: Likewise.
8315 * nscd/nscd.c: Likewise.
8316 * nss/getent.c: Likewise.
8317 * nss/makedb.c: Likewise.
8318 * posix/getconf.c: Likewise.
8319
18ea052c
SP
83202012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
8321
8322 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
8323 numbers.
8324
9c89fca6
MF
83252012-12-30 Mike Frysinger <vapier@gentoo.org>
8326
8327 * math/bits/mathcalls.h (modf): Use __nonnull.
8328
085ec079
SP
83292012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8330
8331 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
8332 (split): Use macro CN instead of the bare value.
8333 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
8334 could be used.
8335 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
8336 instead of the bare value.
8337 (power1): Likewise.
8338
6d9f97e1
SP
83392012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8340
d63f73be
SP
8341 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
8342 __ATAN_TWOM.
8343 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8344
6d9f97e1
SP
8345 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
8346 their values.
8347 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
8348 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
8349 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
8350 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
8351
4c4febf5
AJ
83522012-12-28 Andreas Jaeger <aj@suse.de>
8353
af5843ef
AJ
8354 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
8355 values are from Linux 3.7.
8356
4c4febf5
AJ
8357 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
8358 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
8359
99136f82
SP
83602012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8361
2f216c3c 8362 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
8363 TRUE case.
8364
99136f82
SP
8365 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
8366 (norm): Likewise.
8367 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
8368 variables with preprocessor constants.
8369 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8370 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
8371 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
8372
7fffbdff
BH
83732012-12-27 Bruno Haible <bruno@clisp.org>
8374
8375 [BZ #14317]
8376 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
8377 only if needed.
8378
b76eb5f0
SP
83792012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8380
31a7fe5c
SP
8381 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
8382 and use variable directly.
8383 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
8384
b76eb5f0
SP
8385 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
8386 MPONE.
8387 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
8388 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
8389 variable MPONE.
8390 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
8391 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
8392 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
8393 include directive. Remove local variable MPONE.
8394 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
8395 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
8396 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8397
2c8bfe7d
DM
83982012-12-25 David S. Miller <davem@davemloft.net>
8399
8400 * version.h (RELEASE): Set to "development".
8401 (VERSION): Set to "2.17.90".
8402 * NEWS: Add 2.18 section.
8403
147d03b0
DM
84042012-12-21 David S. Miller <davem@davemloft.net>
8405
8406 * po/hr.po: Update from translation team.
8407
a8ebb2b9
AK
84082012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8409
8410 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
8411
95b4f1b6
SE
84122012-12-19 Steve Ellcey <sellcey@mips.com>
8413
b2d94007 8414 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 8415
cedb2a90
MS
84162012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8417
8418 * manual/contrib.texi (Contributors): Spelling correction.
8419
bbf527d6
DM
84202012-12-15 David S. Miller <davem@davemloft.net>
8421
8422 * po/ru.po: Update from translation team.
8423
bc38c906
DM
84242012-12-13 David S. Miller <davem@davemloft.net>
8425
85429b1a
DM
8426 * NEWS: Mention IFUNC testsuite enhancements.
8427
d283e353
DM
8428 * po/pl.po: Update from translation team.
8429 * po/bg.po: Likewise.
8430
bc38c906
DM
8431 * manual/contrib.texi (Contributors): Update entries for Hongjiu
8432 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
8433
a181b0d7
DM
84342012-12-11 David S. Miller <davem@davemloft.net>
8435
4641d57e
DM
8436 * po/sv.po: Update from translation team.
8437
f7bc6495
DM
8438 * po/vi.po: Update from translation team.
8439
6fc9048f
DM
8440 * po/cs.po: Update from translation team.
8441
a181b0d7
DM
8442 * po/de.po: Update from translation team.
8443 * po/eo.po: Likewise.
8444 * po/nl.po: Likewise.
8445
f70bfe80
SP
84462012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8447
3c8b4190
SP
8448 [BZ #14246]
8449 * manual/argp.texi (Argp Helper Functions): Move node to follow
8450 Argp Parsing State.
8451
f70bfe80
SP
8452 [BZ #14872]
8453 * manual/conf.texi (Limits on File System Capacity): Mention if
8454 terminating null is included in the max size.
8455
188f0adf
AJ
84562012-12-10 Andreas Jaeger <aj@suse.de>
8457
8458 * po/cs.po: Update from translation team.
8459
56e7d3ad
SP
84602012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8461
8462 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
8463 void pointer and cast to uintptr_t.
8464 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
8465 path.
8466 * sysdeps/s390/s390-64/memcpy.S: Likewise.
8467 * sysdeps/s390/s390-64/memset.S: Likewise.
8468
76f2d2ea 84692012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
8470
8471 [BZ #14833]
8472 * menual/message.texi (Message Translation): Fix typos.
8473 (Helper programs for gettext): Likewise.
8474
67cbf9a2
AS
84752012-12-07 Andreas Schwab <schwab@linux-m68k.org>
8476
8477 [BZ #14898]
8478 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
8479 Change to -1.
8480
682d0e9a
DM
84812012-12-07 David S. Miller <davem@davemloft.net>
8482
8483 * po/libc.pot: Update.
8484
573cd484
RH
84852012-12-07 Richard Henderson <rth@redhat.com>
8486
7e9da188 8487 [BZ #10114]
573cd484
RH
8488 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
8489 normal/normal case to before the switch.
8490 (_FP_DIV): Likewise.
8491
e933a943
MF
84922012-12-06 Carlos O'Donell <carlos@systemhalted.org>
8493 Mike Frysinger <vapier@gentoo.org>
8494
8495 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
8496 check for __NR_fadvise64_64.
8497
82123268
CM
84982012-12-06 Chris Metcalf <cmetcalf@tilera.com>
8499
8500 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
8501 0, not just to plain "0" as a statement.
8502 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
8503 with cw.
8504
d9814526
JM
85052012-12-06 Joseph Myers <joseph@codesourcery.com>
8506
8507 * NEWS: Use sourceware.org in Bugzilla URL.
8508
7728c574
SP
85092012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8510
f16946dd
SP
8511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
8512 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
8513
5704bbcb
SP
8514 * stdio-common/tst-put-error.c (do_test): Add newline to the
8515 padded test to ensure flush.
8516
17aa0516
JL
85172012-12-05 Jeff Law <law@redhat.com>
8518
8519 * sunrpc/etc.rpc (fedfs_admin): Add entry.
8520
363313b5
JM
85212012-12-05 Joseph Myers <joseph@codesourcery.com>
8522
effbd42a
JM
8523 * README: Don't refer to ports add-on as distributed separately.
8524 Mention AArch64 in list of systems supported in the ports add-on.
8525
87600365
JM
8526 * LICENSES: Add more non-FSF copyright and license notices.
8527
a0d7066a
JM
8528 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
8529 ((unused)).
8530
66ca5a5b
JM
8531 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
8532
363313b5
JM
8533 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
8534 10000 as width of padded output.
8535
b37984ad
JM
85362012-12-04 Joseph Myers <joseph@codesourcery.com>
8537
9003570a
JM
8538 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
8539
b37984ad
JM
8540 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
8541 variable LX with __attribute__ ((unused)).
8542 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
8543 Likewise.
8544 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
8545 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8546 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
8547 with __attribute__ ((unused)).
8548
c8df52ec
DM
85492012-12-04 David S. Miller <davem@abraco.davemloft.net>
8550
8551 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
8552
b3b099af
JM
85532012-12-04 Joseph Myers <joseph@codesourcery.com>
8554
c33aa6e3
JM
8555 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
8556 (CFLAGS-nldbl-acos.c): New variable.
8557 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
8558 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
8559 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
8560 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
8561 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
8562 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
8563 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
8564 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
8565 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
8566 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
8567 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
8568 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
8569 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
8570 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
8571 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
8572 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
8573 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
8574 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
8575 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
8576 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
8577 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
8578 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
8579 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
8580 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
8581 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
8582 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
8583 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
8584 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
8585 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
8586 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
8587 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
8588 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
8589 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
8590 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
8591 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
8592 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
8593 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
8594 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
8595 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
8596 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
8597 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
8598 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
8599 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
8600 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
8601 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
8602 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
8603 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
8604 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
8605 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
8606 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
8607 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
8608 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
8609 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
8610 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
8611 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
8612 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
8613 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
8614 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
8615 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
8616 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
8617 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
8618 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
8619 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
8620 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
8621 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
8622 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
8623 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
8624 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
8625 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
8626 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
8627 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
8628 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
8629 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
8630 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
8631 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
8632 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
8633 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
8634 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
8635 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
8636 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
8637 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
8638 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
8639 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
8640 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
8641 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
8642 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
8643 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
8644 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
8645 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
8646 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
8647 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
8648 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
8649 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
8650 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
8651 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
8652 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
8653 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
8654
20f0018d
JM
8655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8656 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
8657
b3b099af
JM
8658 [BZ #14914]
8659 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
8660 whole low double instead of just low 47 bits when splitting values
8661 into two parts.
8662
029264d1
AM
86632012-12-03 Allan McRae <allan@archlinux.org>
8664
8665 * manual/stdio.texi (Predefined Printf Handlers): Remove
8666 @hsep and @vsep usage.
8667
c9d6789e
MF
86682012-12-03 Mike Frysinger <vapier@gentoo.org>
8669
8670 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
8671 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
8672
4b7634a5
JL
86732012-12-03 Jeff Law <law@redhat.com>
8674
8675 * time/sys/time.h (settimeofday): Do not mark TV argument
8676 as __nonnull.
8677
eb6cbd24
MF
86782012-12-01 Mike Frysinger <vapier@gentoo.org>
8679
8680 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
8681 when currently writing and seek to current position when not.
8682 * libio/Makefile (tests): Remove bug-fclose1.
8683 * libio/bug-fclose1.c: Delete.
8684
f638872a
JM
86852012-12-01 Joseph Myers <joseph@codesourcery.com>
8686
8687 * manual/arith.texi (feenableexcept): Fix typo.
8688 (fedisableexcept): Likewise.
8689
48085d14
RM
86902012-11-30 Roland McGrath <roland@hack.frob.com>
8691
8692 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
8693 second, differently-typed declaration, rather than a cast.
8694
1a538b9f
SP
86952012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8696
8697 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
8698 * include/rpc/svc.h: ... here.
8699
d07f2ff1 87002012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
8701
8702 [BZ #13013]
8703 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
8704 depending n and resplen2 to catch cases where answer
8705 equals answerp2.
8706
c93ec1f0
CD
87072012-11-29 Carlos O'Donell <carlos@systemhalted.org>
8708
8709 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
8710 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
8711
37db69de
MF
87122012-11-29 Mike Frysinger <vapier@gentoo.org>
8713
8714 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
8715
e10c4e4f
RM
87162012-11-29 Roland McGrath <roland@hack.frob.com>
8717
8718 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
8719
2af1b328
JL
87202012-11-28 Jeff Law <law@redhat.com>
8721
8722 [BZ #13761]
8723 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
8724 dataset_temporary. Track alloca usage into alloca_used.
8725 If dataset is large allocate and release it via malloc/free.
8726
111db5b1
FW
87272012-06-04 Florian Weimer <fweimer@redhat.com>
8728
f06cc227 8729 [BZ #14197]
111db5b1
FW
8730 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
8731
dd694abd
DM
87322012-11-28 David S. Miller <davem@davemloft.net>
8733
8734 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8735
9984dd01
JM
87362012-11-28 Joseph Myers <joseph@codesourcery.com>
8737
8738 [BZ #14803]
8739 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
8740 of pi/2 rounded to nearest to 64 bits.
8741 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
8742 nearest to 64 bits.
8743 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
8744 bits.
8745
14bc93a9
JL
87462012-11-28 Jeff Law <law@redhat.com>
8747 Martin Osvald <mosvald@redhat.com>
8748
8749 [BZ #14889]
8750 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
8751 * sunrpc/svc.c: Include time.h.
8752 (__svc_accept_failed): New function.
8753 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
8754 any reason other than EINTR, call __svc_accept_failed.
8755 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
8756 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
8757
e3c6aa3a
AS
87582012-11-28 Andreas Schwab <schwab@suse.de>
8759
8760 * scripts/abilist.awk: Also handle indirect functions in .opd
8761 section.
8762
1bead169
JM
87632012-11-28 Joseph Myers <joseph@codesourcery.com>
8764
8765 [BZ #13881]
8766 * sysdeps/x86/fpu/powl_helper.c: New file.
8767 * sysdeps/x86/fpu/Makefile: Likewise.
8768 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
8769 (p3): New object.
8770 (__ieee754_powl): Use __powl_helper for finite arguments except
8771 integer exponents below 8.
8772 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
8773 (p3): New object.
8774 (__ieee754_powl): Use __powl_helper for finite arguments except
8775 integer exponents below 8.
8776 * math/libm-test.inc (pow_test): Add more tests and enable some
8777 previously disabled tests.
8778 * sysdeps/i386/fpu/libm-test-ulps: Update.
8779 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8780
0817d63d
SP
87812012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8782 Carlos O'Donell <carlos_odonell@mentor.com>
8783
8784 * nss/makedb.c (is_prime): Assert that input is odd and greater
8785 than 4. Note that fact in a comment too.
8786 (next_prime): Add 4 to input.
8787
de2fd463
SP
87882012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8789
8790 [BZ #11741]
8791 * libio/Makefile (tests): Add test case tst-fwrite-error.
8792 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
8793 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
8794 * libio/tst-fwrite-error.c: New test case.
8795
c515fb51
L
87962012-11-26 H.J. Lu <hongjiu.lu@intel.com>
8797
8798 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
8799 before casting to void *.
8800 * include/libc-internal.h (__pointer_type): New macro.
8801 (__integer_if_pointer_type_sub): Likewise.
8802 (__integer_if_pointer_type): Likewise.
8803 (cast_to_integer): Likewise.
8804 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
8805 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
8806 before casting to atomic64_t.
8807 (atomic_exchange_acq): Likewise.
8808 (__arch_exchange_and_add_body): Likewise.
8809 (__arch_add_body): Likewise.
8810 (atomic_add_negative): Likewise.
8811 (atomic_add_zero): Likewise.
8812
4cf77aa9
JM
88132012-11-26 Joseph Myers <joseph@codesourcery.com>
8814
8815 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
8816 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
8817 (add_fdes): Likewise.
8818 (linear_search_fdes): Likewise.
8819 (binary_search_unencoded_fdes): Likewise.
8820
d260b3b4
AS
88212012-11-26 Andreas Schwab <schwab@linux-m68k.org>
8822
8823 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
8824
67060746
AC
88252012-11-24 Adam Conrad <adconrad@0c3.net>
8826
8827 * configure.in: Autodetect C++ header directories.
8828 * configure: Regenerated.
8829
800938a1
MF
88302012-11-23 Mike Frysinger <vapier@gentoo.org>
8831
8832 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
8833
4e6e34e6
AS
88342012-11-23 Andreas Schwab <schwab@linux-m68k.org>
8835
8836 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8837
7c7feb47
JM
88382012-11-22 Joseph Myers <joseph@codesourcery.com>
8839
7184dcdf
JM
8840 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
8841 LDBL_MANT_DIG == 106]: Disable some tests.
8842 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
8843 Likewise.
8844 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
8845 Likewise.
8846
0a42601f
JM
8847 [BZ #14871]
8848 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
8849 input for small inputs. Return +/- pi/2 for large inputs.
8850 * math/libm-test.inc (atan_test): Add more tests.
8851
79c9b9fe
JM
8852 * sysdeps/generic/unwind-dw2-fde-glibc.c
8853 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
8854 __attribute__ ((unused)).
8855
c60d3bf2
JM
8856 [BZ #14645]
8857 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
8858 x * y if x and y are nonzero and z is zero.
8859
ef1e0867
JM
8860 [BZ #14811]
8861 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
8862 nonzero exponents with absolute value below 0x1p-117 to +/-
8863 0x1p-117.
8864
1468ded3
JM
8865 [BZ #14869]
8866 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
8867 up arguments below 2**-450, not just those below 2**-500.
8868 * math/libm-test.inc (hypot_test): Add another test.
8869
8e27e3cc
JM
8870 [BZ #14868]
8871 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
8872 Return a+b for ratio over 2**120, not 2**60.
8873 * math/libm-test.inc (hypot_test): Add another test.
8874
c9c0279b
JM
8875 * math/libm-test.inc (clog_test): Use
8876 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
8877 (clog10_test): Likewise.
8878
7c7feb47
JM
8879 [BZ #6778]
8880 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
8881
fff1530e
AS
88822012-11-22 Andreas Schwab <schwab@suse.de>
8883
8884 * sysdeps/i386/fpu/libm-test-ulps: Update.
8885
94558d30
PT
88862012-11-22 Pino Toscano <toscano.pino@tiscali.it>
8887
8888 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
8889 printf output with newline.
8890
7e1be741
L
88912012-11-21 H.J. Lu <hongjiu.lu@intel.com>
8892
6bfea974
L
8893 [BZ #14865]
8894 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
8895 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
8896 -z nodlopen, -z initfirst and -z execstack support.
8897 * configure: Regenerated.
8898
7e1be741
L
8899 * elf/elf.h (DF_1_NODIRECT): New macro.
8900 (DF_1_IGNMULDEF): Likewise.
8901 (DF_1_NOKSYMS): Likewise.
8902 (DF_1_NOHDR): Likewise.
8903 (DF_1_EDITED): Likewise.
8904 (DF_1_NORELOC): Likewise.
8905 (DF_1_SYMINTPOSE): Likewise.
8906 (DF_1_GLOBAUDIT): Likewise.
8907 (DF_1_SINGLETON): Likewise.
8908 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
8909 DT_1_SUPPORTED_MASK bits.
8910 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
8911
105ce2ce
CD
89122012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
8913
8914 * sysdeps/unix/make-syscalls.sh: Document prefixes.
8915
123be9de
TS
89162012-11-20 Thomas Schwinge <thomas@codesourcery.com>
8917
d072f3f7
TS
8918 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
8919 macro.
8920
123be9de
TS
8921 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
8922 (sendmmsg): Move declarations...
8923 * socket/sys/socket.h: ... here.
8924 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
8925 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
8926 include it from...
8927 * socket/recvmmsg.c: ... this new file.
8928 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
8929 (sendmmsg): Rename to __sendmmsg, create weak alias and make
8930 definition of __sendmmsg hidden.
8931 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
8932 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
8933 Move ENOSYS stub into and include it from...
8934 * socket/sendmmsg.c: ... this new file.
8935 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
8936 (sysdep_routines): Move recvmmsg and sendmmsg...
8937 * socket/Makefile (routines): ... here.
8938 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
8939 (GLIBC_PRIVATE): Add __sendmmsg.
8940 * include/sys/socket.h (__sendmmsg): Add declarations.
8941 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
8942 sendmmsg.
8943
cf9a5d18
JM
89442012-11-20 Joseph Myers <joseph@codesourcery.com>
8945
8946 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
8947 variable I1 with __attribute__ ((unused)).
8948 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
8949
ecd4caf9
JM
89502012-11-19 Joseph Myers <joseph@codesourcery.com>
8951
be14d48f
JM
8952 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
8953 DUMMY variables with __attribute__ ((unused)).
8954
ecd4caf9
JM
8955 * bits/byteswap.h: Include <bits/types.h>.
8956 (__bswap_64): Use __uint64_t instead of unsigned long long int.
8957
986cab95
PT
89582012-11-19 Pino Toscano <toscano.pino@tiscali.it>
8959
8960 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
8961 string_t. Do not manually set errno.
8962 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
8963 length with __strnlen. Make sure to both set errno and return it on
8964 failure.
8965
6d33cc9d
DM
89662012-11-19 David S. Miller <davem@davemloft.net>
8967
8968 With help from Joseph Myers.
8969 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
8970 very large arguments properly.
8971 * math/libm-test.inc (atan_test): New tests.
8972 (atan2_test): New tests.
8973 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8974 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8975
ee663277
JM
89762012-11-19 Joseph Myers <joseph@codesourcery.com>
8977
877f2d8e
JM
8978 [BZ #14856]
8979 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
8980 Define to 3.
8981
116fc08a
JM
8982 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
8983 [POSIX] (EADDRNOTAVAIL): Likewise.
8984 [POSIX] (EAFNOSUPPORT): Likewise.
8985 [POSIX] (EALREADY): Likewise.
8986 [POSIX] (ECONNABORTED): Likewise.
8987 [POSIX] (ECONNREFUSED): Likewise.
8988 [POSIX] (ECONNRESET): Likewise.
8989 [POSIX] (EDESTADDRREQ): Likewise.
8990 [POSIX] (EDQUOT): Likewise.
8991 [POSIX] (EHOSTUNREACH): Likewise.
8992 [POSIX] (EIDRM): Likewise.
8993 [POSIX] (EISCONN): Likewise.
8994 [POSIX] (ELOOP): Likewise.
8995 [POSIX] (EMULTIHOP): Likewise.
8996 [POSIX] (ENETDOWN): Likewise.
8997 [POSIX] (ENETUNREACH): Likewise.
8998 [POSIX] (ENOBUFS): Likewise.
8999 [POSIX] (ENODATA): Likewise.
9000 [POSIX] (ENOLINK): Likewise.
9001 [POSIX] (ENOMSG): Likewise.
9002 [POSIX] (ENOPROTOOPT): Likewise.
9003 [POSIX] (ENOSR): Likewise.
9004 [POSIX] (ENOSTR): Likewise.
9005 [POSIX] (ENOTCONN): Likewise.
9006 [POSIX] (ENOTSOCK): Likewise.
9007 [POSIX] (EOPNOTSUPP): Likewise.
9008 [POSIX] (EOVERFLOW): Likewise.
9009 [POSIX] (EPROTO): Likewise.
9010 [POSIX] (EPROTONOSUPPORT): Likewise.
9011 [POSIX] (EPROTOTYPE): Likewise.
9012 [POSIX] (ESTALE): Likewise.
9013 [POSIX] (ETIME): Likewise.
9014 [POSIX] (ETXTBSY): Likewise.
9015 [POSIX] (EWOULDBLOCK): Likewise.
9016 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
9017 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
9018 [POSIX] (SEEK_CUR): Likewise.
9019 [POSIX] (SEEK_END): Likewise.
9020 [POSIX || UNIX98] (mode_t): Do not require.
9021 [POSIX] (off_t): Likewise.
9022 [POSIX] (pid_t): Likewise.
9023 [POSIX] (sys/stat.h): Do not allow header.
9024 [POSIX] (unistd.h): Likewise.
9025 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
9026 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
9027 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
9028 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
9029 require.
9030 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
9031 sigevent): Specify elements.
9032 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
9033 entry.
9034 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
9035 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
9036
a483863f
JM
9037 * conform/data/cpio.h-data [POSIX]: Disable whole file.
9038 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
9039 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
9040 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
9041 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
9042 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
9043 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
9044 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
9045 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
9046 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
9047 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
9048 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
9049 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
9050 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
9051 Likewise.
9052 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
9053 Likewise.
9054 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
9055 Likewise.
9056 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
9057 Likewise.
9058 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
9059 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
9060 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
9061 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
9062 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
9063 Specify lower bound on value.
9064 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
9065 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
9066 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
9067 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
9068 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
9069 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
9070 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
9071 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
9072 value.
9073 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
9074 as optional.
9075 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
9076 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
9077 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
9078 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
9079 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
9080 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
9081 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
9082 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
9083 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
9084 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
9085 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
9086 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
9087 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
9088 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
9089 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
9090 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
9091 entry.
9092 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
9093 optional.
9094 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
9095 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
9096 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
9097 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
9098 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
9099 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
9100 Likewise.
9101 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
9102 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
9103 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
9104 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
9105 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
9106 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
9107 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
9108 as optional.
9109 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
9110 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
9111 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
9112 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
9113 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
9114 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
9115 specify as optional.
9116 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
9117 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
9118 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
9119 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
9120 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
9121 [XPG3] (NL_LANGMAX): Likewise.
9122 [POSIX || XPG3] (NL_MSGMAX): Likewise.
9123 [POSIX || XPG3] (NL_NMAX): Likewise.
9124 [POSIX || XPG3] (NL_SETMAX): Likewise.
9125 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
9126 [XPG3] (NZERO): Likewise.
9127 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
9128 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
9129 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
9130 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
9131 (REG_ERANGE): Expect.
9132 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
9133 optional-constant.
9134 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
9135 Use (void) in prototype.
9136 [POSIX] (*_t): Allow.
9137 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
9138 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
9139 (WRDE_BADVAL): Expect.
9140
5ba924e3
JM
9141 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
9142 expect.
9143 [XPG3 || XPG4] (O_RSYNC): Likewise.
9144 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
9145 Likewise.
9146 [XPG3 || XPG4] (pthread_sigmask): Likewise.
9147 [XPG3 || XPG4] (sigqueue): Likewise.
9148 [XPG3 || XPG4] (sigtimedwait): Likewise.
9149 [XPG3 || XPG4] (sigwaitinfo): Likewise.
9150 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
9151 [XPG3 || XPG4] (vsnprintf): Likewise.
9152 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
9153 Likewise.
9154 [XPG3 || XPG4] (blksize_t): Likewise.
9155 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
9156 Likewise.
9157 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
9158 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
9159 [XPG3 || XPG4] (struct itimerspec): Likewise.
9160 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
9161 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
9162 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
9163 [XPG3 || XPG4] (clockid_t): Likewise.
9164 [XPG3 || XPG4] (timer_t): Likewise.
9165 [XPG3 || XPG4] (clock_getres): Likewise.
9166 [XPG3 || XPG4] (clock_gettime): Likewise.
9167 [XPG3 || XPG4] (clock_settime): Likewise.
9168 [XPG3 || XPG4] (nanosleep): Likewise.
9169 [XPG3 || XPG4] (timer_create): Likewise.
9170 [XPG3 || XPG4] (timer_delete): Likewise.
9171 [XPG3 || XPG4] (timer_gettime): Likewise.
9172 [XPG3 || XPG4] (timer_getoverrun): Likewise.
9173 [XPG3 || XPG4] (timer_settime): Likewise.
9174 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
9175 [XPG3 || XPG4] (getlogin_r): Likewise.
9176 [XPG3 || XPG4] (pread): Likewise.
9177 [XPG3 || XPG4] (pthread_atfork): Likewise.
9178 [XPG3 || XPG4] (pwrite): Likewise.
9179
ee663277
JM
9180 [BZ #14835]
9181 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
9182 <bits/siginfo.h>.
9183
942caa16
PT
91842012-11-19 Pino Toscano <toscano.pino@tiscali.it>
9185
e19af380
PT
9186 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
9187 finalizing MALLSTREAM.
9188
942caa16
PT
9189 * sysdeps/mach/hurd/syncfs.c: New file.
9190
cfde9b46
SP
91912012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9192
9193 [BZ #14719]
9194 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
9195 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
9196 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
9197 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
9198 (_nss_dns_gethostbyname4_r): Likewise.
9199 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
9200 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
9201
f6da27e5
PH
92022012-11-19 Peng Haitao <penght@cn.fujitsu.com>
9203
9204 [BZ #13763]
9205 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
9206
6665d4a2
SM
92072012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
9208
1f51ee92
SM
9209 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
9210 * elf/cache.c (print_entry): Print ",AArch64" for
9211 FLAG_AARCH64_LIB64
9212
6665d4a2
SM
9213 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
9214 * elf/cache.c (print_entry): Print ",hard-float" for
9215 FLAG_ARM_LIBHF.
9216
05b227bd
DM
92172012-11-18 David S. Miller <davem@davemloft.net>
9218
9219 With help from Joseph Myers.
9220 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
9221 cutoff to 2**-13.
9222 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
9223 cutoff to 2**-25.
9224 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
9225 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
9226 small.
9227 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
9228 * math/libm-test.inc (y0_test): New tests.
9229 (y1_test): New tests.
9230 * sysdeps/i386/fpu/libm-test-ulps: Update.
9231 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9232 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9233
786b0b67
AS
92342012-11-18 Andreas Schwab <schwab@linux-m68k.org>
9235
9236 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
9237 64-bit targets.
9238 * configure: Regenerated.
9239
8e18b86d
DM
92402012-11-17 David S. Miller <davem@davemloft.net>
9241
9242 [BZ #14811]
9243 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
9244 nonzero exponents with absolute value below 0x1p-128 to +/-
9245 0x1p-128.
9246
531f1ae0
JM
92472012-11-17 Joseph Myers <joseph@codesourcery.com>
9248
12df29e2
JM
9249 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
9250
150dc1a0
JM
9251 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
9252
531f1ae0
JM
9253 * posix/getconf-speclist.c: New file.
9254 * posix/posix-envs.def: Likewise.
9255 * posix/confstr.c (START_ENV_GROUP): New macro.
9256 (END_ENV_GROUP): Likewise.
9257 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
9258 (KNOWN_PRESENT_ENV_STRING): Likewise.
9259 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
9260 (UNKNOWN_ENVIRONMENT): Likewise.
9261 (confstr): Include posix-envs.def instead of handling
9262 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
9263 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
9264 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
9265 (END_ENV_GROUP): Likewise.
9266 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
9267 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
9268 (UNKNOWN_ENVIRONMENT): Likewise.
9269 (__sysconf): Include posix-envs.def instead of handling associated
9270 cases directly here.
9271 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
9272 preprocessing getconf-speclist.c rather than running getconf or
9273 generating empty file.
9274
a93f9cbc
PT
92752012-11-16 Pino Toscano <toscano.pino@tiscali.it>
9276
9277 * scripts/check-local-headers.sh: Ignore 'mach' headers.
9278
d64d9f87
AL
92792012-11-16 Andrej Lajovic <natrij@gmail.com>
9280
9281 [BZ #14672]
9282 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
9283
447885eb
DM
92842012-11-16 David S. Miller <davem@davemloft.net>
9285
9286 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
9287 smaller than LDBL_EPSILON/2.0L, just return xm1.
9288
bcbf9830
L
92892012-11-16 H.J. Lu <hongjiu.lu@intel.com>
9290
9291 * elf/tst-array1.c (init): Set constructor priority to 1000.
9292 (fini): Set destructor priority to 1000.
9293 * elf/tst-array2dep.c: Likewise.
9294
2b766585
SP
92952012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9296
9297 [BZ #11741]
9298 * libio/fileops.c (_IO_new_file_write): Correctly return error.
9299 (_IO_new_file_xsputn): Also return EOF if none of the input
9300 data was written when overflow failed.
9301 * libio/iopadn.c (_IO_padn): Likewise.
9302 * libio/iowpadn.c (_IO_wpadn): Likewise.
9303 * stdio-common/tst-put-error.c: Add copyright notice.
9304 (do_test): Add case for printing padded string.
9305 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
9306 _IO_padn returned error.
9307 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
9308 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
9309 return EOF.
9310
b1848fde
SP
93112012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9312
9313 * libio/libioP.h: Add comment note that the references to C++
9314 bits are now obsolete.
9315
2fd89785
MS
93162012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9317
9318 * math/libm-test.inc (check_complex): Use asprintf.
9319
e3ea5409
JM
93202012-11-14 Joseph Myers <joseph@codesourcery.com>
9321
9322 * debug/pcprofiledump.c (print_version): Update copyright year.
9323 * malloc/memusagestat.c (print_version): Likewise.
9324
2e64d265
L
93252012-11-14 H.J. Lu <hongjiu.lu@intel.com>
9326
9327 [BZ #14831]
9328 * elf/Makefile (tests): Add tst-audit8.
9329 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
9330 ($(objpfx)tst-audit8.out): New target.
9331 (tst-audit8-ENV): New variable.
9332 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
9333 audit if l_reloc_result is NULL.
9334 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
9335 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
9336 * elf/tst-audit8.c: New file.
9337
c485e4d2
MS
93382012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9339
9340 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
9341 * misc/Makefile (CFLAGS-select.c): Define.
9342 * posix/Makefile (CFLAGS-pause.c): Define.
9343
3a0d900a
DM
93442012-11-13 David S. Miller <davem@davemloft.net>
9345
9346 * crypt/Makefile: Move test targets after toplevel Rules
9347 inclusion. Grab any necessary sysdep routines when linking.
9348 * crypt/md5.c (md5_process_block): Remove define, we will always
9349 name it __md5_process_block.
9350 (md5_finish_ctx): Update md5_process_block call.
9351 (md5_stream): Likewise.
9352 (md5_process_bytes): Likewise.
9353 (md5_process_block): Rename to __md5_process_block and move to ...
9354 * crypt/md5-block.c: ... here.
9355 * crypt/sha256.c (sha256_process_block): Move to ...
9356 * crypt/sha256-block.c: ... here.
9357 * crypt/sha512.c (sha512_process_block): Move to ...
9358 * crypt/sha512-block.c: ... here.
9359 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
9360 path.
9361 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
9362 * sysdeps/sparc/sparc64/multiarch/Makefile
9363 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
9364 crypt subdir.
9365 (localedef-aux): Add md5 crypto assembler when in locale subdir.
9366 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
9367 multiarch changes.
9368 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
9369 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
9370 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
9371 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
9372 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
9373 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
9374 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
9375 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
9376 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
9377 file.
9378 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
9379 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
9380 file.
9381 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
9382
8ca89318
JM
93832012-11-13 Joseph Myers <joseph@codesourcery.com>
9384
e27d476a
JM
9385 * timezone/tzselect.ksh: Update from tzcode git revision
9386 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
9387 * timezone/zdump.c: Likewise.
9388 * timezone/zic.c: Likewise.
9389 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
9390 in TZVERSION setting, not $(PKGVERSION).
9391 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
9392 REPORT_BUGS_TO settings.
9393
8ca89318
JM
9394 [BZ #14838]
9395 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
9396 macro.
9397
47594329
MS
93982012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9399
9400 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
9401 detection to immediately after _FP_ROUND().
9402 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
9403 bits are 0.
9404
640ac3f1
DM
94052012-11-11 David S. Miller <davem@davemloft.net>
9406
9407 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
9408 inttypes.h
9409 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
9410 __close rather than their public counterparts.
9411
3d2577bb
JM
94122012-11-10 Joseph Myers <joseph@codesourcery.com>
9413
9414 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
9415 file.
9416 [UNIX98] (sem_timedwait): Do not expect.
9417 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
9418 [XPG4 || UNIX98] (sockatmark): Do not expect.
9419 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
9420 (clock_getcpuclockid): Do not expect.
9421 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
9422 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
9423 Do not expect.
9424 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
9425 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
9426 [UNIX98] (vwscanf): Likewise.
9427 [UNIX98] (vswscanf): Likewise.
9428
fb1ae1ee
JM
94292012-11-09 Joseph Myers <joseph@codesourcery.com>
9430
9ec6f8bd
JM
9431 * timezone/version.h: Remove file.
9432 * timezone/README: Do not refer to version.h.
9433 * timezone/Makefile ($(objpfx)zic.o): New dependency on
9434 $(objpfx)version.h.
9435 ($(objpfx)zdump.o): Likewise.
c3f81911 9436 ($(objpfx)version.h): New target.
9ec6f8bd 9437
0aa8f8a1
JM
9438 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
9439 2012i.
9440 * timezone/README: Don't mention modification to tzselect.ksh.
9441 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
9442 work on unmodified tzselect.ksh. Substitute version numbers in
9443 tzselect.ksh.
9444
4e87147f
JM
9445 * Makefile (format-me): Remove.
9446 (INSTALL): Adjust indentation. Use commands directly instead of
9447 using $(format-me).
9448
8b748aed
JM
9449 * aclocal.m4 (ACX_PKGVERSION): New macro.
9450 (ACX_BUGURL): Likewise.
9451 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
9452 (PKGVERSION): New AC_DEFINE_UNQUOTED.
9453 (REPORT_BUGS_TO): Likewise.
9454 * configure: Regenerated.
9455 * config.h.in (PKGVERSION): New macro.
9456 (REPORT_BUGS_TO): Likewise.
9457 * config.make.in (PKGVERSION): New variable.
9458 (PKGVERSION_TEXI): Likewise.
9459 (REPORT_BUGS_TO): Likewise.
9460 (REPORT_BUGS_TEXI): Likewise.
9461 * Makefile (format-me): Use -I$(common-objpfx)manual.
9462 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
9463 ($(common-objpfx)manual/%): New target.
9464 (manual/%): Remove target.
9465 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
9466 (print_version): Use PKGVERSION.
9467 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
9468 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
9469 and REPORT_BUGS_TO.
9470 ($(objpfx)xtrace): Likewise.
9471 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
9472 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
9473 (print_version): Use PKGVERSION.
9474 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
9475 (do_version): Use PKGVERSION.
9476 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
9477 REPORT_BUGS_TO.
9478 (common-ldd-rewrite): Likewise.
9479 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
9480 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
9481 (print_version): Use PKGVERSION.
9482 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
9483 * elf/pldd.c (argp_program_bug_address): Remove variable.
9484 (more_help): New function.
9485 (argp): Use more_help.
9486 (print_version): Use PKGVERSION.
9487 * elf/sln.c (main): Use PKGVERSION.
9488 (usage): Use REPORT_BUGS_TO.
9489 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
9490 (top level): Use PKGVERSION.
9491 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
9492 (print_version): Use PKGVERSION.
9493 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
9494 (print_version): Use PKGVERSION.
9495 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
9496 (print_version): Use PKGVERSION.
9497 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
9498 (print_version): Use PKGVERSION.
9499 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
9500 (print_version): Use PKGVERSION.
9501 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
9502 (print_version): Use PKGVERSION.
9503 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
9504 and BUGURL.
9505 ($(objpfx)memusage): Likewise.
9506 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
9507 (do_version): Use PKGVERSION.
9508 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
9509 (print_version): Use PKGVERSION.
9510 * malloc/mtrace.pl ($PACKAGE): Remove variable.
9511 ($PKGVERSION): New variable.
9512 ($REPORT_BUGS_TO): Likewise.
9513 (usage): Use $REPORT_BUGS_TO.
9514 (top level): Use $PKGVERSION.
9515 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
9516 ($(objpfx)pkgvers.texi): New rule.
9517 ($(objpfx)stamp-pkgvers): Likewise.
9518 * manual/install.texi: Include pkgvers.texi.
9519 (--with-pkgversion): Document new configure option.
9520 (--with-bugurl): Likewise.
9521 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
9522 than necessarily for this particular distribution. Use
9523 REPORT_BUGS_TO for where to report bugs.
9524 * INSTALL: Regenerated.
9525 * manual/libc.texinfo: Include pkgvers.texi.
9526 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
9527 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
9528 (print_version): Use PKGVERSION.
9529 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
9530 (print_version): Use PKGVERSION.
9531 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
9532 (print_version): Use PKGVERSION.
9533 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
9534 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
9535 macro.
9536 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
9537 (print_version): Use PKGVERSION.
9538 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
9539 (print_version): Use PKGVERSION.
9540 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
9541 and PKGVERSION.
9542
92e4b6a9
JM
9543 * timezone/checktab.awk: Update from tzcode 2012i.
9544 * timezone/ialloc.c: Likewise.
9545 * timezone/private.h: Likewise.
9546 * timezone/scheck.c: Likewise.
9547 * timezone/tzfile.h: Likewise.
9548 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
9549 (TZVERSION): Hardcode tzcode version number.
9550 * timezone/zdump.c: Update from tzcode 2012i.
9551 * timezone/zic.c: Likewise.
9552 * timezone/version.h: New file.
9553 * timezone/README: Describe version.h. Update upstream location.
9554
9bde902c
JM
9555 [BZ #14824]
9556 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
9557 (mktemp): Enable declaration.
9558 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
9559 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
9560 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
9561 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
9562 Likewise.
9563 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
9564 Likewise.
9565 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
9566 Likewise.
9567 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
9568 Likewise.
9569 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
9570 Likewise.
9571 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
9572 Likewise.
9573
fb1ae1ee
JM
9574 [BZ #14821]
9575 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
9576 offset in buffer as u_int32_t not u_long. Consistently use memcpy
9577 for copies of such integer values.
9578 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
9579 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
9580
2c1adbcb
AJ
95812012-11-09 Andreas Jaeger <aj@suse.de>
9582
9583 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
9584 definitions and declarations that are provided by
9585 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
9586
d0f8457e
AK
95872012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9588
3a235abb 9589 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
9590 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
9591 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
9592 definition.
9593
57241e26
MS
95942012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9595
9596 * elf/elf.h: Update comment before AArch64 relocations.
9597
60e8270d
DM
95982012-11-07 David S. Miller <davem@davemloft.net>
9599
9600 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
9601 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
9602 (__start_context): Declare.
9603 (__makecontext_ret): Delete.
9604 (__makecontext): Hook up __start_context instead of
9605 __makecontext_ret.
9606 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
9607 (sysdep_routines): Add __start_context when in stdlib.
9608
0fbb0fbc
JM
96092012-11-07 Joseph Myers <joseph@codesourcery.com>
9610
9611 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
9612 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
9613 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
9614 hardcoded "nm".
9615 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
9616 (READELF): New variable. Use it instead of hardcoded "readelf".
9617
eb48db7e
L
96182012-11-07 H.J. Lu <hongjiu.lu@intel.com>
9619
9620 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
9621 * sysdeps/x86/Makefile: Here.
9622 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
9623 * sysdeps/x86/tst-xmmymm.sh: This.
9624
05bcf62a
JM
96252012-11-07 Joseph Myers <joseph@codesourcery.com>
9626
c4b6cf53
JM
9627 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
9628 expectations.
9629 [UNIX98] (pthread_barrier_t): Do not expect.
9630 [UNIX98] (pthread_barrierattr_t): Likewise.
9631 [UNIX98] (pthread_spinlock_t): Likewise.
9632 [UNIX98] (pthread_barrier_destroy): Likewise.
9633 [UNIX98] (pthread_barrier_init): Likewise.
9634 [UNIX98] (pthread_barrier_wait): Likewise.
9635 [UNIX98] (pthread_barrierattr_destroy): Likewise.
9636 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
9637 [UNIX98] (pthread_barrierattr_init): Likewise.
9638 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
9639 [UNIX98] (pthread_getcpuclockid): Likewise.
9640 [UNIX98] (pthread_mutex_timedlock): Likewise.
9641 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
9642 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
9643 [UNIX98] (pthread_sigmask): Likewise.
9644 [UNIX98] (pthread_spin_destroy): Likewise.
9645 [UNIX98] (pthread_spin_init): Likewise.
9646 [UNIX98] (pthread_spin_lock): Likewise.
9647 [UNIX98] (pthread_spin_trylock): Likewise.
9648 [UNIX98] (pthread_spin_unlock): Likewise.
9649 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
9650 Do not expect.
9651 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
9652 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
9653 [XPG3 || XPG4] (pthread_cond_t): Likewise.
9654 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
9655 [XPG3 || XPG4] (pthread_key_t): Likewise.
9656 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
9657 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
9658 [XPG3 || XPG4] (pthread_once_t): Likewise.
9659 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
9660 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
9661 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
9662 [XPG3 || XPG4] (pthread_t): Likewise.
9663
cbe6e120
JM
9664 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
9665 not expect.
9666 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
9667
1b126443
JM
9668 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
9669 Change function return type to int.
9670
b961a573
JM
9671 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
9672 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
9673 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
9674 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
9675 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
9676 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
9677 [!POSIX] (posix_madvise): Likewise.
9678 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
9679 && !UNIX98].
9680 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
9681 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
9682 (mode_t): Likewise.
9683 (posix_mem_offset): Likewise.
9684 (posix_typed_mem_get_info): Likewise.
9685 (posix_typed_mem_open): Likewise.
9686
9e188909
JM
9687 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
9688 Change condition to [XOPEN2K8].
9689
05bcf62a
JM
9690 * conform/conformtest.pl: Preprocess allow-header data with -x c
9691 instead of from stdin.
9692 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
9693 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
9694 [C99-based standards] (cerfc): Likewise.
9695 [C99-based standards] (cexp2): Likewise.
9696 [C99-based standards] (cexpm1): Likewise.
9697 [C99-based standards] (clog10): Likewise.
9698 [C99-based standards] (clog1p): Likewise.
9699 [C99-based standards] (clog2): Likewise.
9700 [C99-based standards] (clgamma): Likewise.
9701 [C99-based standards] (ctgamma): Likewise.
9702 [C99-based standards] (cerff): Likewise.
9703 [C99-based standards] (cerfcf): Likewise.
9704 [C99-based standards] (cexp2f): Likewise.
9705 [C99-based standards] (cexpm1f): Likewise.
9706 [C99-based standards] (clog10f): Likewise.
9707 [C99-based standards] (clog1pf): Likewise.
9708 [C99-based standards] (clog2f): Likewise.
9709 [C99-based standards] (clgammaf): Likewise.
9710 [C99-based standards] (ctgammaf): Likewise.
9711 [C99-based standards] (cerfl): Likewise.
9712 [C99-based standards] (cerfcl): Likewise.
9713 [C99-based standards] (cexp2l): Likewise.
9714 [C99-based standards] (cexpm1l): Likewise.
9715 [C99-based standards] (clog10l): Likewise.
9716 [C99-based standards] (clog1pl): Likewise.
9717 [C99-based standards] (clog2l): Likewise.
9718 [C99-based standards] (clgammal): Likewise.
9719 [C99-based standards] (ctgammal): Likewise.
9720 * conform/data/inttypes.h-data [C99-based standards]: Include
9721 stdint.h-data. Remove all expectations for stdint.h contents.
9722 [C99-based standards] (PRI*): Do not allow.
9723 [C99-based standards] (SCN*): Likewise.
9724 [C99-based standards] (*_t): Likewise.
9725 [C99-based-standards] (PRId8): Expect macro.
9726 [C99-based-standards] (PRIi8): Likewise.
9727 [C99-based-standards] (PRIo8): Likewise.
9728 [C99-based-standards] (PRIu8): Likewise.
9729 [C99-based-standards] (PRIx8): Likewise.
9730 [C99-based-standards] (PRIX8): Likewise.
9731 [C99-based-standards] (SCNd8): Likewise.
9732 [C99-based-standards] (SCNi8): Likewise.
9733 [C99-based-standards] (SCNo8): Likewise.
9734 [C99-based-standards] (SCNu8): Likewise.
9735 [C99-based-standards] (SCNx8): Likewise.
9736 [C99-based-standards] (PRIdLEAST8): Likewise.
9737 [C99-based-standards] (PRIiLEAST8): Likewise.
9738 [C99-based-standards] (PRIoLEAST8): Likewise.
9739 [C99-based-standards] (PRIuLEAST8): Likewise.
9740 [C99-based-standards] (PRIxLEAST8): Likewise.
9741 [C99-based-standards] (PRIXLEAST8): Likewise.
9742 [C99-based-standards] (SCNdLEAST8): Likewise.
9743 [C99-based-standards] (SCNiLEAST8): Likewise.
9744 [C99-based-standards] (SCNoLEAST8): Likewise.
9745 [C99-based-standards] (SCNuLEAST8): Likewise.
9746 [C99-based-standards] (SCNxLEAST8): Likewise.
9747 [C99-based-standards] (PRIdFAST8): Likewise.
9748 [C99-based-standards] (PRIiFAST8): Likewise.
9749 [C99-based-standards] (PRIoFAST8): Likewise.
9750 [C99-based-standards] (PRIuFAST8): Likewise.
9751 [C99-based-standards] (PRIxFAST8): Likewise.
9752 [C99-based-standards] (PRIXFAST8): Likewise.
9753 [C99-based-standards] (SCNdFAST8): Likewise.
9754 [C99-based-standards] (SCNiFAST8): Likewise.
9755 [C99-based-standards] (SCNoFAST8): Likewise.
9756 [C99-based-standards] (SCNuFAST8): Likewise.
9757 [C99-based-standards] (SCNxFAST8): Likewise.
9758 [C99-based-standards] (PRId16): Likewise.
9759 [C99-based-standards] (PRIi16): Likewise.
9760 [C99-based-standards] (PRIo16): Likewise.
9761 [C99-based-standards] (PRIu16): Likewise.
9762 [C99-based-standards] (PRIx16): Likewise.
9763 [C99-based-standards] (PRIX16): Likewise.
9764 [C99-based-standards] (SCNd16): Likewise.
9765 [C99-based-standards] (SCNi16): Likewise.
9766 [C99-based-standards] (SCNo16): Likewise.
9767 [C99-based-standards] (SCNu16): Likewise.
9768 [C99-based-standards] (SCNx16): Likewise.
9769 [C99-based-standards] (PRIdLEAST16): Likewise.
9770 [C99-based-standards] (PRIiLEAST16): Likewise.
9771 [C99-based-standards] (PRIoLEAST16): Likewise.
9772 [C99-based-standards] (PRIuLEAST16): Likewise.
9773 [C99-based-standards] (PRIxLEAST16): Likewise.
9774 [C99-based-standards] (PRIXLEAST16): Likewise.
9775 [C99-based-standards] (SCNdLEAST16): Likewise.
9776 [C99-based-standards] (SCNiLEAST16): Likewise.
9777 [C99-based-standards] (SCNoLEAST16): Likewise.
9778 [C99-based-standards] (SCNuLEAST16): Likewise.
9779 [C99-based-standards] (SCNxLEAST16): Likewise.
9780 [C99-based-standards] (PRIdFAST16): Likewise.
9781 [C99-based-standards] (PRIiFAST16): Likewise.
9782 [C99-based-standards] (PRIoFAST16): Likewise.
9783 [C99-based-standards] (PRIuFAST16): Likewise.
9784 [C99-based-standards] (PRIxFAST16): Likewise.
9785 [C99-based-standards] (PRIXFAST16): Likewise.
9786 [C99-based-standards] (SCNdFAST16): Likewise.
9787 [C99-based-standards] (SCNiFAST16): Likewise.
9788 [C99-based-standards] (SCNoFAST16): Likewise.
9789 [C99-based-standards] (SCNuFAST16): Likewise.
9790 [C99-based-standards] (SCNxFAST16): Likewise.
9791 [C99-based-standards] (PRId32): Likewise.
9792 [C99-based-standards] (PRIi32): Likewise.
9793 [C99-based-standards] (PRIo32): Likewise.
9794 [C99-based-standards] (PRIu32): Likewise.
9795 [C99-based-standards] (PRIx32): Likewise.
9796 [C99-based-standards] (PRIX32): Likewise.
9797 [C99-based-standards] (SCNd32): Likewise.
9798 [C99-based-standards] (SCNi32): Likewise.
9799 [C99-based-standards] (SCNo32): Likewise.
9800 [C99-based-standards] (SCNu32): Likewise.
9801 [C99-based-standards] (SCNx32): Likewise.
9802 [C99-based-standards] (PRIdLEAST32): Likewise.
9803 [C99-based-standards] (PRIiLEAST32): Likewise.
9804 [C99-based-standards] (PRIoLEAST32): Likewise.
9805 [C99-based-standards] (PRIuLEAST32): Likewise.
9806 [C99-based-standards] (PRIxLEAST32): Likewise.
9807 [C99-based-standards] (PRIXLEAST32): Likewise.
9808 [C99-based-standards] (SCNdLEAST32): Likewise.
9809 [C99-based-standards] (SCNiLEAST32): Likewise.
9810 [C99-based-standards] (SCNoLEAST32): Likewise.
9811 [C99-based-standards] (SCNuLEAST32): Likewise.
9812 [C99-based-standards] (SCNxLEAST32): Likewise.
9813 [C99-based-standards] (PRIdFAST32): Likewise.
9814 [C99-based-standards] (PRIiFAST32): Likewise.
9815 [C99-based-standards] (PRIoFAST32): Likewise.
9816 [C99-based-standards] (PRIuFAST32): Likewise.
9817 [C99-based-standards] (PRIxFAST32): Likewise.
9818 [C99-based-standards] (PRIXFAST32): Likewise.
9819 [C99-based-standards] (SCNdFAST32): Likewise.
9820 [C99-based-standards] (SCNiFAST32): Likewise.
9821 [C99-based-standards] (SCNoFAST32): Likewise.
9822 [C99-based-standards] (SCNuFAST32): Likewise.
9823 [C99-based-standards] (SCNxFAST32): Likewise.
9824 [C99-based-standards] (PRId64): Likewise.
9825 [C99-based-standards] (PRIi64): Likewise.
9826 [C99-based-standards] (PRIo64): Likewise.
9827 [C99-based-standards] (PRIu64): Likewise.
9828 [C99-based-standards] (PRIx64): Likewise.
9829 [C99-based-standards] (PRIX64): Likewise.
9830 [C99-based-standards] (SCNd64): Likewise.
9831 [C99-based-standards] (SCNi64): Likewise.
9832 [C99-based-standards] (SCNo64): Likewise.
9833 [C99-based-standards] (SCNu64): Likewise.
9834 [C99-based-standards] (SCNx64): Likewise.
9835 [C99-based-standards] (PRIdLEAST64): Likewise.
9836 [C99-based-standards] (PRIiLEAST64): Likewise.
9837 [C99-based-standards] (PRIoLEAST64): Likewise.
9838 [C99-based-standards] (PRIuLEAST64): Likewise.
9839 [C99-based-standards] (PRIxLEAST64): Likewise.
9840 [C99-based-standards] (PRIXLEAST64): Likewise.
9841 [C99-based-standards] (SCNdLEAST64): Likewise.
9842 [C99-based-standards] (SCNiLEAST64): Likewise.
9843 [C99-based-standards] (SCNoLEAST64): Likewise.
9844 [C99-based-standards] (SCNuLEAST64): Likewise.
9845 [C99-based-standards] (SCNxLEAST64): Likewise.
9846 [C99-based-standards] (PRIdFAST64): Likewise.
9847 [C99-based-standards] (PRIiFAST64): Likewise.
9848 [C99-based-standards] (PRIoFAST64): Likewise.
9849 [C99-based-standards] (PRIuFAST64): Likewise.
9850 [C99-based-standards] (PRIxFAST64): Likewise.
9851 [C99-based-standards] (PRIXFAST64): Likewise.
9852 [C99-based-standards] (SCNdFAST64): Likewise.
9853 [C99-based-standards] (SCNiFAST64): Likewise.
9854 [C99-based-standards] (SCNoFAST64): Likewise.
9855 [C99-based-standards] (SCNuFAST64): Likewise.
9856 [C99-based-standards] (SCNxFAST64): Likewise.
9857 [C99-based-standards] (PRIdMAX): Likewise.
9858 [C99-based-standards] (PRIiMAX): Likewise.
9859 [C99-based-standards] (PRIoMAX): Likewise.
9860 [C99-based-standards] (PRIuMAX): Likewise.
9861 [C99-based-standards] (PRIxMAX): Likewise.
9862 [C99-based-standards] (PRIXMAX): Likewise.
9863 [C99-based-standards] (SCNdMAX): Likewise.
9864 [C99-based-standards] (SCNiMAX): Likewise.
9865 [C99-based-standards] (SCNoMAX): Likewise.
9866 [C99-based-standards] (SCNuMAX): Likewise.
9867 [C99-based-standards] (SCNxMAX): Likewise.
9868 [C99-based-standards] (PRIdPTR): Likewise.
9869 [C99-based-standards] (PRIiPTR): Likewise.
9870 [C99-based-standards] (PRIoPTR): Likewise.
9871 [C99-based-standards] (PRIuPTR): Likewise.
9872 [C99-based-standards] (PRIxPTR): Likewise.
9873 [C99-based-standards] (PRIXPTR): Likewise.
9874 [C99-based-standards] (SCNdPTR): Likewise.
9875 [C99-based-standards] (SCNiPTR): Likewise.
9876 [C99-based-standards] (SCNoPTR): Likewise.
9877 [C99-based-standards] (SCNuPTR): Likewise.
9878 [C99-based-standards] (SCNxPTR): Likewise.
9879 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
9880 allow.
9881 * conform/data/stdint.h-data: Update comments to clarify
9882 requirements.
9883 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
9884 type.
9885 [C99-based standards] (INT8_MAX): Likewise.
9886 [C99-based standards] (INT16_MIN): Likewise.
9887 [C99-based standards] (INT16_MAX): Likewise.
9888 [C99-based standards] (INT32_MIN): Likewise.
9889 [C99-based standards] (INT32_MAX): Likewise.
9890 [C99-based standards] (INT64_MIN): Likewise.
9891 [C99-based standards] (INT64_MAX): Likewise.
9892 [C99-based standards] (UINT8_MAX): Likewise.
9893 [C99-based standards] (UINT16_MAX): Likewise.
9894 [C99-based standards] (UINT32_MAX): Likewise.
9895 [C99-based standards] (UINT64_MAX): Likewise.
9896 [C99-based standards] (INT_LEAST8_MIN): Likewise.
9897 [C99-based standards] (INT_LEAST8_MAX): Likewise.
9898 [C99-based standards] (INT_LEAST16_MIN): Likewise.
9899 [C99-based standards] (INT_LEAST16_MAX): Likewise.
9900 [C99-based standards] (INT_LEAST32_MIN): Likewise.
9901 [C99-based standards] (INT_LEAST32_MAX): Likewise.
9902 [C99-based standards] (INT_LEAST64_MIN): Likewise.
9903 [C99-based standards] (INT_LEAST64_MAX): Likewise.
9904 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
9905 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
9906 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
9907 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
9908 [C99-based standards] (INT_FAST8_MIN): Likewise.
9909 [C99-based standards] (INT_FAST8_MAX): Likewise.
9910 [C99-based standards] (INT_FAST16_MIN): Likewise.
9911 [C99-based standards] (INT_FAST16_MAX): Likewise.
9912 [C99-based standards] (INT_FAST32_MIN): Likewise.
9913 [C99-based standards] (INT_FAST32_MAX): Likewise.
9914 [C99-based standards] (INT_FAST64_MIN): Likewise.
9915 [C99-based standards] (INT_FAST64_MAX): Likewise.
9916 [C99-based standards] (UINT_FAST8_MAX): Likewise.
9917 [C99-based standards] (UINT_FAST16_MAX): Likewise.
9918 [C99-based standards] (UINT_FAST32_MAX): Likewise.
9919 [C99-based standards] (UINT_FAST64_MAX): Likewise.
9920 [C99-based standards] (INTPTR_MIN): Likewise.
9921 [C99-based standards] (INTPTR_MAX): Likewise.
9922 [C99-based standards] (UINTPTR_MAX): Likewise.
9923 [C99-based standards] (INTMAX_MIN): Likewise.
9924 [C99-based standards] (INTMAX_MAX): Likewise.
9925 [C99-based standards] (UINTMAX_MAX): Likewise.
9926 [C99-based standards] (PTRDIFF_MIN): Likewise.
9927 [C99-based standards] (PTRDIFF_MAX): Likewise.
9928 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
9929 [C99-based standards] (SIZE_MAX): Likewise.
9930 [C99-based standards] (WCHAR_MAX): Likewise.
9931 [C99-based standards] (WINT_MAX): Likewise.
9932 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
9933 constraint on value.
9934 [C99-based standards] (WCHAR_MIN): Likewise.
9935 [C99-based standards] (WINT_MIN): Likewise.
9936 [C99-based standards] (*_t): Allow.
9937 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
9938 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
9939 Include math.h-data and complex.h-data. Remove all expectations
9940 of math.h and complex.h contents.
9941 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
9942 at end of line.
9943 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
9944 (struct tm): Expect tag.
9945 [C99-based-standards] (wcstof): Expect function.
9946 [C99-based-standards] (wcstold): Likewise.
9947 [C99-based-standards] (wcstoll): Likewise.
9948 [C99-based-standards] (wcstoull): Likewise.
9949 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
9950 macro-int-constant. Specify type.
9951 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
9952 constraint on value.
9953 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
9954 Specify type.
9955 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
9956 Specify value.
9957 [ISO C standards]: Do not allow headers.
9958 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
9959 wcs[abcdefghijklmnopqrstuvwxyz]*.
9960 [ISO C standards] (*_t): Do not allow.
9961 * conform/data/wctype.h-data [C99-based standards] (iswblank):
9962 Expect function.
9963 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
9964 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
9965 Specify type.
9966 [ISO C standards]: Do not allow headers.
9967 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
9968 is[abcdefghijklmnopqrstuvwxyz]*.
9969 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
9970 to[abcdefghijklmnopqrstuvwxyz]*.
9971 [ISO C standards] (*_t): Do not allow.
9972 * conform/data/stdalign.h-data: New file.
9973 * conform/data/stdbool.h-data: Likewise.
9974 * conform/data/stdnoreturn.h-data: Likewise.
9975
7514feb8
RM
99762012-11-07 Roland McGrath <roland@hack.frob.com>
9977
9978 [BZ #14815]
9979 * manual/filesys.texi (Directory Entries): Typo fix.
9980 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
9981
19b2ecfc
MS
99822012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9983
9984 * elf/elf.h (EM_AARCH64): New macro.
9985 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
9986 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
9987 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
9988 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
9989 (R_AARCH64_TLSDESC): Likewise.
9990 (NT_ARM_TLS): Likewise.
9991 (NT_ARM_HW_BREAK): Likewise.
9992 (NT_ARM_HW_WATCH): Likewise.
9993
60e235ee
JM
99942012-11-07 Joseph Myers <joseph@codesourcery.com>
9995
9996 [BZ #14811]
9997 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
9998 (__ieee754_powl): Saturate nonzero exponents with absolute value
9999 below 0x1p-79 to +/- 0x1p-79.
10000 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
10001 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
10002 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
10003 nonzero exponents with absolute value below 0x1p-32 to +/-
10004 0x1p-32.
10005 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
10006 (__ieee754_powl): Saturate nonzero exponents with absolute value
10007 below 0x1p-79 to +/- 0x1p-79.
10008 * math/libm-test.inc (pow_test): Add more tests.
10009
0ab234b7
AK
100102012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10011
10012 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
10013 _dl_s390_cap_flags with kernel. Increase string length.
10014 (_dl_s390_platforms): Add z196 and zEC12.
10015
45832f74
JM
100162012-11-07 Joseph Myers <joseph@codesourcery.com>
10017
10018 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
10019 Change XOPEN21K to XOPEN2K.
10020
19218757
MK
100212012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
10022
10023 * string/memmove.c: Use memcpy when possible.
10024
c5f45721
AJ
100252012-11-06 Andreas Jaeger <aj@suse.de>
10026
10027 * po/eo.po: Update from translation team.
10028
82477c28
JM
100292012-11-06 Joseph Myers <joseph@codesourcery.com>
10030
10031 [BZ #14793]
10032 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
10033 exponent and small x and y exponents, scale x or y up. Increase
10034 by 2 the exponent used in scaling up.
10035 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10036 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10037 * math/libm-test.inc (fma_test): Add more tests.
10038 (fma_test_towardzero): Likewise.
10039 (fma_test_downward): Likewise.
10040 (fma_test_upward): Likewise.
10041
99252c8c
JM
100422012-11-05 Joseph Myers <joseph@codesourcery.com>
10043
acfa885f
JM
10044 [BZ #14805]
10045 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
10046 fenv_t *.
10047
99252c8c
JM
10048 [BZ #14801]
10049 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
10050 namespace for names of struct fields.
10051 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
10052 fenv_t fields.
10053 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
10054 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
10055
d6d98dea
ST
100562012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
10057
10058 [BZ #3665]
10059 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
10060
e10bb107
TS
100612012-11-04 Thomas Schwinge <thomas@codesourcery.com>
10062
10063 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
10064 PTR_DEMANGLE.
10065
10066 [BZ #5246]
10067 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
10068 PTR_DEMANGLE.
10069
a0c2940d
JM
100702012-11-04 Joseph Myers <joseph@codesourcery.com>
10071
10072 [BZ #14797]
10073 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
10074 definitely overflow as x * y not x * y + z.
10075 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10076 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10077 * math/libm-test.inc (fma_test): Add more tests.
10078 (fma_test_towardzero): Likewise.
10079 (fma_test_downward): Likewise.
10080 (fma_test_upward): Likewise.
10081
b830319d
TS
100822012-11-04 Thomas Schwinge <thomas@codesourcery.com>
10083
10084 [BZ #157]
10085
10086 * include/stub-tag.h: Remove file.
10087 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
10088 '#include' of it.
10089 * manual/maint.texi (Porting): Don't reference it.
10090 * Makerules ($(objpfx)stubs): Likewise.
10091 * dirent/closedir.c: Don't include <stub-tag.h>.
10092 * dirent/dirfd.c: Likewise.
10093 * dirent/fdopendir.c: Likewise.
10094 * dirent/getdents.c: Likewise.
10095 * dirent/getdents64.c: Likewise.
10096 * dirent/opendir.c: Likewise.
10097 * dirent/readdir.c: Likewise.
10098 * dirent/readdir64.c: Likewise.
10099 * dirent/readdir64_r.c: Likewise.
10100 * dirent/readdir_r.c: Likewise.
10101 * dirent/rewinddir.c: Likewise.
10102 * dirent/seekdir.c: Likewise.
10103 * dirent/telldir.c: Likewise.
10104 * gmon/profil.c: Likewise.
10105 * grp/setgroups.c: Likewise.
10106 * inet/if_index.c: Likewise.
10107 * io/access.c: Likewise.
10108 * io/chdir.c: Likewise.
10109 * io/chmod.c: Likewise.
10110 * io/chown.c: Likewise.
10111 * io/close.c: Likewise.
10112 * io/dup.c: Likewise.
10113 * io/dup2.c: Likewise.
10114 * io/dup3.c: Likewise.
10115 * io/euidaccess.c: Likewise.
10116 * io/faccessat.c: Likewise.
10117 * io/fchdir.c: Likewise.
10118 * io/fchmod.c: Likewise.
10119 * io/fchmodat.c: Likewise.
10120 * io/fchown.c: Likewise.
10121 * io/fchownat.c: Likewise.
10122 * io/fcntl.c: Likewise.
10123 * io/flock.c: Likewise.
10124 * io/fstatfs.c: Likewise.
10125 * io/fstatfs64.c: Likewise.
10126 * io/fstatvfs.c: Likewise.
10127 * io/fstatvfs64.c: Likewise.
10128 * io/futimens.c: Likewise.
10129 * io/fxstat.c: Likewise.
10130 * io/fxstat64.c: Likewise.
10131 * io/fxstatat.c: Likewise.
10132 * io/fxstatat64.c: Likewise.
10133 * io/getcwd.c: Likewise.
10134 * io/isatty.c: Likewise.
10135 * io/lchmod.c: Likewise.
10136 * io/lchown.c: Likewise.
10137 * io/link.c: Likewise.
10138 * io/linkat.c: Likewise.
10139 * io/lseek.c: Likewise.
10140 * io/lseek64.c: Likewise.
10141 * io/lxstat64.c: Likewise.
10142 * io/mkdir.c: Likewise.
10143 * io/mkdirat.c: Likewise.
10144 * io/mkfifo.c: Likewise.
10145 * io/mkfifoat.c: Likewise.
10146 * io/open.c: Likewise.
10147 * io/open64.c: Likewise.
10148 * io/openat.c: Likewise.
10149 * io/openat64.c: Likewise.
10150 * io/pipe.c: Likewise.
10151 * io/pipe2.c: Likewise.
10152 * io/poll.c: Likewise.
10153 * io/posix_fadvise.c: Likewise.
10154 * io/posix_fadvise64.c: Likewise.
10155 * io/posix_fallocate.c: Likewise.
10156 * io/posix_fallocate64.c: Likewise.
10157 * io/read.c: Likewise.
10158 * io/readlink.c: Likewise.
10159 * io/readlinkat.c: Likewise.
10160 * io/rmdir.c: Likewise.
10161 * io/sendfile.c: Likewise.
10162 * io/sendfile64.c: Likewise.
10163 * io/statfs.c: Likewise.
10164 * io/statfs64.c: Likewise.
10165 * io/statvfs.c: Likewise.
10166 * io/statvfs64.c: Likewise.
10167 * io/symlink.c: Likewise.
10168 * io/symlinkat.c: Likewise.
10169 * io/ttyname.c: Likewise.
10170 * io/ttyname_r.c: Likewise.
10171 * io/umask.c: Likewise.
10172 * io/unlink.c: Likewise.
10173 * io/unlinkat.c: Likewise.
10174 * io/utime.c: Likewise.
10175 * io/utimensat.c: Likewise.
10176 * io/write.c: Likewise.
10177 * io/xmknod.c: Likewise.
10178 * io/xmknodat.c: Likewise.
10179 * io/xstat.c: Likewise.
10180 * io/xstat64.c: Likewise.
10181 * login/getpt.c: Likewise.
10182 * login/grantpt.c: Likewise.
10183 * login/unlockpt.c: Likewise.
10184 * math/e_acoshl.c: Likewise.
10185 * math/e_acosl.c: Likewise.
10186 * math/e_asinl.c: Likewise.
10187 * math/e_atan2l.c: Likewise.
10188 * math/e_atanhl.c: Likewise.
10189 * math/e_coshl.c: Likewise.
10190 * math/e_expl.c: Likewise.
10191 * math/e_fmodl.c: Likewise.
10192 * math/e_gammal_r.c: Likewise.
10193 * math/e_hypotl.c: Likewise.
10194 * math/e_j0l.c: Likewise.
10195 * math/e_j1l.c: Likewise.
10196 * math/e_jnl.c: Likewise.
10197 * math/e_lgammal_r.c: Likewise.
10198 * math/e_log10l.c: Likewise.
10199 * math/e_log2l.c: Likewise.
10200 * math/e_logl.c: Likewise.
10201 * math/e_powl.c: Likewise.
10202 * math/e_rem_pio2l.c: Likewise.
10203 * math/e_sinhl.c: Likewise.
10204 * math/e_sqrtl.c: Likewise.
10205 * math/fclrexcpt.c: Likewise.
10206 * math/fedisblxcpt.c: Likewise.
10207 * math/feenablxcpt.c: Likewise.
10208 * math/fegetenv.c: Likewise.
10209 * math/fegetexcept.c: Likewise.
10210 * math/fegetround.c: Likewise.
10211 * math/feholdexcpt.c: Likewise.
10212 * math/fesetenv.c: Likewise.
10213 * math/fesetround.c: Likewise.
10214 * math/feupdateenv.c: Likewise.
10215 * math/fgetexcptflg.c: Likewise.
10216 * math/fraiseexcpt.c: Likewise.
10217 * math/fsetexcptflg.c: Likewise.
10218 * math/ftestexcept.c: Likewise.
10219 * math/k_cosl.c: Likewise.
10220 * math/k_rem_pio2l.c: Likewise.
10221 * math/k_sinl.c: Likewise.
10222 * math/k_tanl.c: Likewise.
10223 * math/s_asinhl.c: Likewise.
10224 * math/s_atanl.c: Likewise.
10225 * math/s_cbrtl.c: Likewise.
10226 * math/s_erfl.c: Likewise.
10227 * math/s_expm1l.c: Likewise.
10228 * math/s_log1pl.c: Likewise.
10229 * math/s_tanhl.c: Likewise.
10230 * misc/acct.c: Likewise.
10231 * misc/brk.c: Likewise.
10232 * misc/chflags.c: Likewise.
10233 * misc/chroot.c: Likewise.
10234 * misc/fchflags.c: Likewise.
10235 * misc/fgetxattr.c: Likewise.
10236 * misc/flistxattr.c: Likewise.
10237 * misc/fremovexattr.c: Likewise.
10238 * misc/fsetxattr.c: Likewise.
10239 * misc/fsync.c: Likewise.
10240 * misc/ftruncate.c: Likewise.
10241 * misc/futimes.c: Likewise.
10242 * misc/futimesat.c: Likewise.
10243 * misc/getdomain.c: Likewise.
10244 * misc/getdtsz.c: Likewise.
10245 * misc/gethostid.c: Likewise.
10246 * misc/gethostname.c: Likewise.
10247 * misc/getloadavg.c: Likewise.
10248 * misc/getpagesize.c: Likewise.
10249 * misc/getsysstats.c: Likewise.
10250 * misc/getxattr.c: Likewise.
10251 * misc/gtty.c: Likewise.
10252 * misc/ioctl.c: Likewise.
10253 * misc/lgetxattr.c: Likewise.
10254 * misc/listxattr.c: Likewise.
10255 * misc/llistxattr.c: Likewise.
10256 * misc/lremovexattr.c: Likewise.
10257 * misc/lsetxattr.c: Likewise.
10258 * misc/lutimes.c: Likewise.
10259 * misc/madvise.c: Likewise.
10260 * misc/mincore.c: Likewise.
10261 * misc/mlock.c: Likewise.
10262 * misc/mlockall.c: Likewise.
10263 * misc/mmap.c: Likewise.
10264 * misc/mprotect.c: Likewise.
10265 * misc/msync.c: Likewise.
10266 * misc/munlock.c: Likewise.
10267 * misc/munlockall.c: Likewise.
10268 * misc/munmap.c: Likewise.
10269 * misc/preadv.c: Likewise.
10270 * misc/preadv64.c: Likewise.
10271 * misc/ptrace.c: Likewise.
10272 * misc/pwritev.c: Likewise.
10273 * misc/pwritev64.c: Likewise.
10274 * misc/readv.c: Likewise.
10275 * misc/reboot.c: Likewise.
10276 * misc/remap_file_pages.c: Likewise.
10277 * misc/removexattr.c: Likewise.
10278 * misc/revoke.c: Likewise.
10279 * misc/select.c: Likewise.
10280 * misc/setdomain.c: Likewise.
10281 * misc/setegid.c: Likewise.
10282 * misc/seteuid.c: Likewise.
10283 * misc/sethostid.c: Likewise.
10284 * misc/sethostname.c: Likewise.
10285 * misc/setregid.c: Likewise.
10286 * misc/setreuid.c: Likewise.
10287 * misc/setxattr.c: Likewise.
10288 * misc/sstk.c: Likewise.
10289 * misc/stty.c: Likewise.
10290 * misc/swapoff.c: Likewise.
10291 * misc/swapon.c: Likewise.
10292 * misc/sync.c: Likewise.
10293 * misc/syncfs.c: Likewise.
10294 * misc/syscall.c: Likewise.
10295 * misc/truncate.c: Likewise.
10296 * misc/ualarm.c: Likewise.
10297 * misc/usleep.c: Likewise.
10298 * misc/ustat.c: Likewise.
10299 * misc/utimes.c: Likewise.
10300 * misc/vhangup.c: Likewise.
10301 * misc/writev.c: Likewise.
10302 * posix/_exit.c: Likewise.
10303 * posix/alarm.c: Likewise.
10304 * posix/execve.c: Likewise.
10305 * posix/fexecve.c: Likewise.
10306 * posix/fork.c: Likewise.
10307 * posix/fpathconf.c: Likewise.
10308 * posix/getaddrinfo.c: Likewise.
10309 * posix/getegid.c: Likewise.
10310 * posix/geteuid.c: Likewise.
10311 * posix/getgid.c: Likewise.
10312 * posix/getgroups.c: Likewise.
10313 * posix/getlogin.c: Likewise.
10314 * posix/getlogin_r.c: Likewise.
10315 * posix/getpgid.c: Likewise.
10316 * posix/getpid.c: Likewise.
10317 * posix/getppid.c: Likewise.
10318 * posix/getresgid.c: Likewise.
10319 * posix/getresuid.c: Likewise.
10320 * posix/getsid.c: Likewise.
10321 * posix/getuid.c: Likewise.
10322 * posix/glob64.c: Likewise.
10323 * posix/nanosleep.c: Likewise.
10324 * posix/pathconf.c: Likewise.
10325 * posix/pause.c: Likewise.
10326 * posix/posix_madvise.c: Likewise.
10327 * posix/pread.c: Likewise.
10328 * posix/pread64.c: Likewise.
10329 * posix/pwrite.c: Likewise.
10330 * posix/pwrite64.c: Likewise.
10331 * posix/sched_getaffinity.c: Likewise.
10332 * posix/sched_getp.c: Likewise.
10333 * posix/sched_gets.c: Likewise.
10334 * posix/sched_primax.c: Likewise.
10335 * posix/sched_primin.c: Likewise.
10336 * posix/sched_rr_gi.c: Likewise.
10337 * posix/sched_setaffinity.c: Likewise.
10338 * posix/sched_setp.c: Likewise.
10339 * posix/sched_sets.c: Likewise.
10340 * posix/sched_yield.c: Likewise.
10341 * posix/setgid.c: Likewise.
10342 * posix/setlogin.c: Likewise.
10343 * posix/setpgid.c: Likewise.
10344 * posix/setresgid.c: Likewise.
10345 * posix/setresuid.c: Likewise.
10346 * posix/setsid.c: Likewise.
10347 * posix/setuid.c: Likewise.
10348 * posix/sleep.c: Likewise.
10349 * posix/spawni.c: Likewise.
10350 * posix/sysconf.c: Likewise.
10351 * posix/times.c: Likewise.
10352 * posix/wait.c: Likewise.
10353 * posix/wait3.c: Likewise.
10354 * posix/wait4.c: Likewise.
10355 * posix/waitpid.c: Likewise.
10356 * resolv/gai_sigqueue.c: Likewise.
10357 * resource/getpriority.c: Likewise.
10358 * resource/getrlimit.c: Likewise.
10359 * resource/getrusage.c: Likewise.
10360 * resource/nice.c: Likewise.
10361 * resource/setpriority.c: Likewise.
10362 * resource/setrlimit.c: Likewise.
10363 * resource/ulimit.c: Likewise.
10364 * rt/aio_cancel.c: Likewise.
10365 * rt/aio_fsync.c: Likewise.
10366 * rt/aio_read.c: Likewise.
10367 * rt/aio_sigqueue.c: Likewise.
10368 * rt/aio_suspend.c: Likewise.
10369 * rt/aio_write.c: Likewise.
10370 * rt/clock_getres.c: Likewise.
10371 * rt/clock_gettime.c: Likewise.
10372 * rt/clock_nanosleep.c: Likewise.
10373 * rt/clock_settime.c: Likewise.
10374 * rt/lio_listio.c: Likewise.
10375 * rt/mq_close.c: Likewise.
10376 * rt/mq_getattr.c: Likewise.
10377 * rt/mq_notify.c: Likewise.
10378 * rt/mq_open.c: Likewise.
10379 * rt/mq_receive.c: Likewise.
10380 * rt/mq_send.c: Likewise.
10381 * rt/mq_setattr.c: Likewise.
10382 * rt/mq_timedreceive.c: Likewise.
10383 * rt/mq_timedsend.c: Likewise.
10384 * rt/mq_unlink.c: Likewise.
10385 * rt/shm_open.c: Likewise.
10386 * rt/shm_unlink.c: Likewise.
10387 * rt/timer_create.c: Likewise.
10388 * rt/timer_delete.c: Likewise.
10389 * rt/timer_getoverr.c: Likewise.
10390 * rt/timer_gettime.c: Likewise.
10391 * rt/timer_settime.c: Likewise.
10392 * setjmp/__longjmp.c: Likewise.
10393 * setjmp/setjmp.c: Likewise.
10394 * signal/kill.c: Likewise.
10395 * signal/killpg.c: Likewise.
10396 * signal/raise.c: Likewise.
10397 * signal/sigaction.c: Likewise.
10398 * signal/sigaltstack.c: Likewise.
10399 * signal/sigblock.c: Likewise.
10400 * signal/sigignore.c: Likewise.
10401 * signal/sigintr.c: Likewise.
10402 * signal/signal.c: Likewise.
10403 * signal/sigpause.c: Likewise.
10404 * signal/sigpending.c: Likewise.
10405 * signal/sigqueue.c: Likewise.
10406 * signal/sigreturn.c: Likewise.
10407 * signal/sigset.c: Likewise.
10408 * signal/sigsetmask.c: Likewise.
10409 * signal/sigstack.c: Likewise.
10410 * signal/sigsuspend.c: Likewise.
10411 * signal/sigtimedwait.c: Likewise.
10412 * signal/sigvec.c: Likewise.
10413 * signal/sigwait.c: Likewise.
10414 * signal/sigwaitinfo.c: Likewise.
10415 * signal/sysv_signal.c: Likewise.
10416 * socket/accept.c: Likewise.
10417 * socket/accept4.c: Likewise.
10418 * socket/bind.c: Likewise.
10419 * socket/connect.c: Likewise.
10420 * socket/getpeername.c: Likewise.
10421 * socket/getsockname.c: Likewise.
10422 * socket/getsockopt.c: Likewise.
10423 * socket/isfdtype.c: Likewise.
10424 * socket/listen.c: Likewise.
10425 * socket/recv.c: Likewise.
10426 * socket/recvfrom.c: Likewise.
10427 * socket/recvmsg.c: Likewise.
10428 * socket/send.c: Likewise.
10429 * socket/sendmsg.c: Likewise.
10430 * socket/sendto.c: Likewise.
10431 * socket/setsockopt.c: Likewise.
10432 * socket/shutdown.c: Likewise.
10433 * socket/sockatmark.c: Likewise.
10434 * socket/socket.c: Likewise.
10435 * socket/socketpair.c: Likewise.
10436 * stdio-common/ctermid.c: Likewise.
10437 * stdio-common/cuserid.c: Likewise.
10438 * stdio-common/remove.c: Likewise.
10439 * stdio-common/rename.c: Likewise.
10440 * stdio-common/renameat.c: Likewise.
10441 * stdio-common/tempname.c: Likewise.
10442 * stdlib/getcontext.c: Likewise.
10443 * stdlib/makecontext.c: Likewise.
10444 * stdlib/setcontext.c: Likewise.
10445 * stdlib/swapcontext.c: Likewise.
10446 * stdlib/system.c: Likewise.
10447 * streams/fattach.c: Likewise.
10448 * streams/fdetach.c: Likewise.
10449 * streams/getmsg.c: Likewise.
10450 * streams/getpmsg.c: Likewise.
10451 * streams/putmsg.c: Likewise.
10452 * streams/putpmsg.c: Likewise.
10453 * sysdeps/unix/bsd/getpt.c: Likewise.
10454 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
10455 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
10456 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
10457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
10458 Likewise.
10459 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
10460 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
10461 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
10462 * sysvipc/msgctl.c: Likewise.
10463 * sysvipc/msgget.c: Likewise.
10464 * sysvipc/msgrcv.c: Likewise.
10465 * sysvipc/msgsnd.c: Likewise.
10466 * sysvipc/semctl.c: Likewise.
10467 * sysvipc/semget.c: Likewise.
10468 * sysvipc/semop.c: Likewise.
10469 * sysvipc/semtimedop.c: Likewise.
10470 * sysvipc/shmat.c: Likewise.
10471 * sysvipc/shmctl.c: Likewise.
10472 * sysvipc/shmdt.c: Likewise.
10473 * sysvipc/shmget.c: Likewise.
10474 * termios/tcdrain.c: Likewise.
10475 * termios/tcflow.c: Likewise.
10476 * termios/tcflush.c: Likewise.
10477 * termios/tcgetattr.c: Likewise.
10478 * termios/tcgetpgrp.c: Likewise.
10479 * termios/tcsendbrk.c: Likewise.
10480 * termios/tcsetattr.c: Likewise.
10481 * termios/tcsetpgrp.c: Likewise.
10482 * time/adjtime.c: Likewise.
10483 * time/clock.c: Likewise.
10484 * time/getitimer.c: Likewise.
10485 * time/gettimeofday.c: Likewise.
10486 * time/setitimer.c: Likewise.
10487 * time/settimeofday.c: Likewise.
10488 * time/stime.c: Likewise.
10489 * time/time.c: Likewise.
10490
104912012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 10492
a20492cf
PT
10493 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
10494 /usr/old/bin.
10495
72e182e3
PT
10496 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
10497 instead of spaces.
10498 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
10499
fbeafede
JM
105002012-11-03 Joseph Myers <joseph@codesourcery.com>
10501
5b5b04d6
JM
10502 [BZ #14796]
10503 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
10504 FE_TONEAREST before applying Dekker multiplication and Knuth
10505 addition. Clear inexact exceptions and check for exact zero
10506 results afterwards.
10507 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10508 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10509 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10510 * math/libm-test.inc (fma_test): Add more tests.
10511 (fma_test_towardzero): Likewise.
10512 (fma_test_downward): Likewise.
10513 (fma_test_upward): Likewise.
10514 * sysdeps/generic/math_private.h (default_libc_fesetround): New
10515 function.
10516 (libc_fesetround): New macro.
10517 (libc_fesetroundf): Likewise.
10518 (libc_fesetroundl): Likewise.
10519 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
10520 function.
10521 (libc_fesetround_387): Likewise.
10522 (libc_fesetroundf): New macro.
10523 (libc_fesetround): Likewise.
10524 (libc_fesetroundl): Likewise.
10525 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
10526 function.
10527 (libc_fesetroundf): New macro.
10528 (libc_fesetround): Likewise.
10529 (libc_fesetroundl): Likewise.
10530 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
10531 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
10532 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
10533 libm_hidden_ver.
10534 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
10535 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
10536 libm_hidden_def.
10537 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
10538 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
10539 libm_hidden_ver.
10540 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
10541 libm_hidden_def.
10542
fbeafede
JM
10543 [BZ #3439]
10544 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
10545 integer constant usable in #if and use that to give value to enum
10546 constant.
10547 (FE_DIVBYZERO): Likewise.
10548 (FE_UNDERFLOW): Likewise.
10549 (FE_OVERFLOW): Likewise.
10550 (FE_INVALID): Likewise.
10551 (FE_INVALID_SNAN): Likewise.
10552 (FE_INVALID_ISI): Likewise.
10553 (FE_INVALID_IDI): Likewise.
10554 (FE_INVALID_ZDZ): Likewise.
10555 (FE_INVALID_IMZ): Likewise.
10556 (FE_INVALID_COMPARE): Likewise.
10557 (FE_INVALID_SOFTWARE): Likewise.
10558 (FE_INVALID_SQRT): Likewise.
10559 (FE_INVALID_INTEGER_CONVERSION): Likewise.
10560 (FE_TONEAREST): Likewise.
10561 (FE_TOWARDZERO): Likewise.
10562 (FE_UPWARD): Likewise.
10563 (FE_DOWNWARD): Likewise.
10564 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
10565 (FE_DIVBYZERO): Likewise.
10566 (FE_OVERFLOW): Likewise.
10567 (FE_UNDERFLOW): Likewise.
10568 (FE_INEXACT): Likewise.
10569 (FE_TONEAREST): Likewise.
10570 (FE_DOWNWARD): Likewise.
10571 (FE_UPWARD): Likewise.
10572 (FE_TOWARDZERO): Likewise.
10573 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
10574 (FE_UNDERFLOW): Likewise.
10575 (FE_OVERFLOW): Likewise.
10576 (FE_DIVBYZERO): Likewise.
10577 (FE_INVALID): Likewise.
10578 (FE_TONEAREST): Likewise.
10579 (FE_TOWARDZERO): Likewise.
10580 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
10581 (FE_OVERFLOW): Likewise.
10582 (FE_UNDERFLOW): Likewise.
10583 (FE_DIVBYZERO): Likewise.
10584 (FE_INEXACT): Likewise.
10585 (FE_TONEAREST): Likewise.
10586 (FE_TOWARDZERO): Likewise.
10587 (FE_UPWARD): Likewise.
10588 (FE_DOWNWARD): Likewise.
10589 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
10590 (FE_DIVBYZERO): Likewise.
10591 (FE_OVERFLOW): Likewise.
10592 (FE_UNDERFLOW): Likewise.
10593 (FE_INEXACT): Likewise.
10594 (FE_TONEAREST): Likewise.
10595 (FE_DOWNWARD): Likewise.
10596 (FE_UPWARD): Likewise.
10597 (FE_TOWARDZERO): Likewise.
10598
105ca950
CM
105992012-11-02 Chris Metcalf <cmetcalf@tilera.com>
10600
10601 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
10602
a542b389
AS
106032012-11-03 Andreas Schwab <schwab@linux-m68k.org>
10604
10605 * scripts/cross-test-ssh.sh (command): Use newlines to separate
10606 commands. Quote $PWD.
10607 (blacklist_exports): Don't use remove_newlines. Replace "declare
10608 -x" by "export".
10609 (remove_newlines): Remove.
10610
f62c8abc
L
106112012-11-02 H.J. Lu <hongjiu.lu@intel.com>
10612
10613 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
10614 * stdlib/stdlib.h (atof): Moved to ...
10615 * include/bits/stdlib-float.h: Here. New file.
10616 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
10617 * stdlib/bits/stdlib-float.h: New file.
10618 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
10619 -mno-sse -mno-mmx.
10620 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
10621 <xmmintrin.h>.
10622
0155d5b2
JM
106232012-11-02 Joseph Myers <joseph@codesourcery.com>
10624
a68d0680
JM
10625 * conform/conformtest.pl (@headers): Add fenv.h.
10626 * conform/data/fenv.h-data: New file.
10627 * include/fenv.h [_ISOMAC]: Disable all contents of file except
10628 include of <math/fenv.h>.
10629
caf7f573
JM
10630 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
10631 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
10632 && !UNIX98]. Enables tests for XOPEN2K8.
10633 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
10634 POSIX2008]: Likewise.
10635
6c073ad6
JM
10636 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
10637 (struct rusage): Do not expect type or its members.
10638
0155d5b2
JM
10639 [BZ #3439]
10640 * math/math.h (FP_NAN): Define macro to integer constant usable in
10641 #if and use that to give value to enum constant.
10642 (FP_INFINITE): Likewise.
10643 (FP_ZERO): Likewise.
10644 (FP_SUBNORMAL): Likewise.
10645 (FP_NORMAL): Likewise.
10646
b5dcacb4
AS
106472012-11-02 Andreas Schwab <schwab@linux-m68k.org>
10648
10649 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
10650 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
10651 arguments.
10652
f7934be8
RM
106532012-11-02 Roland McGrath <roland@hack.frob.com>
10654
10655 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
10656 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
10657 autoconf-time if not.
10658 * configure.in: Remove AC_PREREQ.
10659
d7d08bde
TMQMF
106602012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10661
10662 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
10663 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
10664 of the internal implementation.
10665
dcdae19a
JM
106662012-11-02 Joseph Myers <joseph@codesourcery.com>
10667
10668 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
10669 except include of <misc/sys/syslog.h>.
10670
d6cffd3e
AS
106712012-11-01 Andreas Schwab <schwab@linux-m68k.org>
10672
10673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
10674 function returns with a NULL context exit with zero.
10675
b3563932
TMQMF
106762012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10677
10678 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
10679
b288a93d
L
106802012-11-01 H.J. Lu <hongjiu.lu@intel.com>
10681
10682 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
10683 (run_program_cmd): This.
10684 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
10685 (tst_langinfo): New variable. Use it.
10686
a2421a68
SAS
106872012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
10688
10689 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
10690 floating point opcodes.
10691
6f796e1b
TS
106922012-11-01 Thomas Schwinge <thomas@codesourcery.com>
10693
7402596b
TS
10694 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
10695 variable.
10696
d0d4f868
TS
10697 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
10698
6f796e1b
TS
10699 * sysdeps/mach/hurd/powerpc: Remove directory.
10700 * sysdeps/mach/powerpc: Likewise.
10701
4da224a2
AS
107022012-11-01 Andreas Schwab <schwab@linux-m68k.org>
10703
10704 * scripts/check-local-headers.sh: Ignore c++ headers.
10705
341dd673
TS
107062012-11-01 Thomas Schwinge <thomas@codesourcery.com>
10707
10708 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
10709 __libc_cleanup_region_start argument.
10710
473611b2
JM
107112012-11-01 Joseph Myers <joseph@codesourcery.com>
10712
10713 [BZ #14784]
10714 [BZ #14785]
10715 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
10716 x * y using scaling, not as x * y + z.
10717 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10718 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10719 * math/libm-test.inc (fma_test): Add more tests.
10720 (fma_test_towardzero): Likewise.
10721 (fma_test_downward): Likewise.
10722 (fma_test_upward): Likewise.
10723
4078da3d
TS
107242012-11-01 Thomas Schwinge <thomas@codesourcery.com>
10725
10726 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
10727
903252aa
JM
107282012-10-31 Joseph Myers <joseph@codesourcery.com>
10729
10730 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
10731 New variable.
10732
cbc818d0
TS
107332012-10-31 Thomas Schwinge <thomas@codesourcery.com>
10734
10735 * rt/tst-shm.c (worker): Correct checking for mmap failure.
10736
5a03cb1e
AS
107372012-10-31 Andreas Schwab <schwab@linux-m68k.org>
10738
10739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10740 Fix sort order.
10741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10742 Likewise.
10743
90aff2ff
TMQMF
107442012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10745
10746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10747 Fix the order of the list for glibc 2.17.
10748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10749 Likewise.
10750
1818fcb7
AS
107512012-10-31 Andreas Schwab <schwab@linux-m68k.org>
10752
10753 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10754
ef82f4da
JM
107552012-10-31 Joseph Myers <joseph@codesourcery.com>
10756
16a0e2ec
JM
10757 [BZ #14610]
10758 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
10759 for low part of x being zero before using __atanl (y).
10760 * math/libm-test.inc (atan2_test): Add another test.
10761
0eb69512
JM
10762 * manual/install.texi (Configuring and compiling): Document
10763 general use of test-wrapper and test-wrapper-env.
10764 * INSTALL: Regenerated.
10765
ef82f4da
JM
10766 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
10767 (__fma): Do not extract and scale down low bits on after-rounding
10768 systems when result rounded to normal precision would have normal
10769 exponent.
10770 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
10771 (__fmal): Do not extract and scale down low bits on after-rounding
10772 systems when result rounded to normal precision would have normal
10773 exponent.
10774 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
10775 (__fmal): Do not extract and scale down low bits on after-rounding
10776 systems when result rounded to normal precision would have normal
10777 exponent.
10778 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
10779 macro.
10780 (fma_test): Add more tests.
10781 (fma_test_towardzero): Likewise.
10782 (fma_test_downward): Likewise.
10783 (fma_test_upward): Likewise.
10784
954ef0d9
L
107852012-10-30 H.J. Lu <hongjiu.lu@intel.com>
10786
10787 * sysdeps/i386/tininess.h: Renamed to ...
10788 * sysdeps/x86/tininess.h: This.
10789 * sysdeps/x86_64/tininess.h: Removed.
10790
df61ffb2
JM
107912012-10-30 Joseph Myers <joseph@codesourcery.com>
10792
10793 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
10794 input. Use $(build-program-cmd).
10795 ($(objpfx)tst-array1-static.out): Likewise.
10796 ($(objpfx)tst-array2.out): Likewise.
10797 ($(objpfx)tst-array3.out): Likewise.
10798 ($(objpfx)tst-array4.out): Likewise.
10799 ($(objpfx)tst-array5.out): Likewise.
10800 ($(objpfx)tst-array5-static.out): Likewise.
10801
01767843
CM
108022012-10-30 Chris Metcalf <cmetcalf@tilera.com>
10803
47cc1490
CM
10804 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
10805 if defined.
10806
01767843
CM
10807 * nss/nsswitch.h (nss_interface_function): Provide new
10808 macro for use with NSS functions.
10809 * grp/initgroups.c: Use new macro.
10810 * nss/getXXbyYY.c: Likewise.
10811 * nss/getXXbyYY_r.c: Likewise.
10812 * nss/getXXent.c: Likewise.
10813 * nss/getXXent_r.c: Likewise.
10814 * sysdeps/posix/getaddrinfo.c: Likewise.
10815
8321aa97
AJ
108162012-10-30 Andreas Jaeger <aj@suse.de>
10817
10818 * po/ru.po: Update Russion translation from translation project.
10819
2a27fd6d
JM
108202012-10-30 Joseph Myers <joseph@codesourcery.com>
10821
8627a232
JM
10822 [BZ #14152]
10823 [BZ #14783]
10824 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
10825 result and shift together with sticky bit instead of replicating
10826 round-to-nearest rounding.
10827 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10828 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10829 * math/libm-test.inc (fma_test): Add more tests. Do not permit
10830 missing underflow exceptions.
10831 (fma_test_towardzero): Add more tests.
10832 (fma_test_downward): Likewise.
10833 (fma_test_upward): Likewise.
10834
2a27fd6d
JM
10835 [BZ #14047]
10836 * sysdeps/generic/tininess.h: New file.
10837 * sysdeps/i386/tininess.h: Likewise.
10838 * sysdeps/sh/tininess.h: Likewise.
10839 * sysdeps/x86_64/tininess.h: Likewise.
10840 * stdlib/tst-strtod-underflow.c: Likewise.
10841 * stdlib/tst-tininess.c: Likewise.
10842 * stdlib/strtod_l.c: Include <tininess.h>.
10843 (round_and_return): Do not set errno for exact underflow cases.
10844 Force an underflow exception when setting errno for underflow.
10845 Determine underflow based on rounding to normal precision if
10846 TININESS_AFTER_ROUNDING.
10847 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
10848 ERANGE for exact underflow cases.
10849 * stdlib/Makefile (tests): Add tst-tininess and
10850 tst-strtod-underflow.
10851 ($(objpfx)tst-tininess): Use $(link-libm).
10852 ($(objpfx)tst-strtod-underflow): Likewise.
10853
e7170363
AJ
108542012-10-30 Andreas Jaeger <aj@suse.de>
10855
e5088dc6
AJ
10856 [BZ#14767]
10857 * elf/Makefile (tests): Remove conditional for have-initfini-array
10858 since this is now always required and the variable does not exist
10859 anymore.
10860 (tests-static): Likewise.
10861 (modules-names): Likewise.
10862
e7170363 10863 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
10864
10865 * elf/tst-array1.c (fini_array): Make writeable so that it can be
10866 merged with constructor/destructor.
10867 (init_array): Likewise.
10868 * elf/tst-array2dep.c (fini_array): Likewise.
10869 (init_array): Likewise.
10870
60457d8a
MF
108712012-10-29 Mike Frysinger <vapier@gentoo.org>
10872
10873 * manual/message.texi: Delete @cartouche tags.
10874
8bece752
PT
108752012-10-29 Pino Toscano <toscano.pino@tiscali.it>
10876
94ce799f
PT
10877 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
10878 EOPNOTSUPP.
10879 * sysdeps/mach/hurd/fsync.c: Likewise.
10880
8bece752
PT
10881 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
10882 [_POSIX_REALTIME_SIGNALS]: Change condition to
10883 [_POSIX_REALTIME_SIGNALS > 0].
10884
86ebe6b1
AJ
108852012-10-27 Andreas Jaeger <aj@suse.de>
10886
10887 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
10888 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
10889 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
10890 [__WORDSIZE != 64]: Likewise.
10891
54399c08
L
108922012-10-26 H.J. Lu <hongjiu.lu@intel.com>
10893
10894 * iconvdata/tst-table.sh: Remove ${SHELL}.
10895 * iconvdata/tst-tables.sh: Likewise.
10896
e2211bed
DM
108972012-10-25 David S. Miller <davem@davemloft.net>
10898
10899 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10900 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
10901 of strtoull.
10902
f303f97c
DM
10903 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
10904 ifunc-impl-list.c
10905 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10906 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
10907 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
10908 file.
10909
1e9d84cd
RM
109102012-10-25 Roland McGrath <roland@hack.frob.com>
10911
10912 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10913 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
10914 __getdirentries.
10915
df381762
JM
109162012-10-25 Joseph Myers <joseph@codesourcery.com>
10917 Jim Blandy <jimb@codesourcery.com>
10918
10919 * scripts/cross-test-ssh.sh: New file.
10920 * manual/install.texi (Configuring and compiling): Document use of
10921 cross-test-ssh.sh.
10922 * INSTALL: Regenerated.
10923
bff64913
PT
109242012-10-25 Pino Toscano <toscano.pino@tiscali.it>
10925
10926 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
10927 EOPNOTSUPP.
10928
25fe8932
JM
109292012-10-25 Joseph Myers <joseph@codesourcery.com>
10930
10931 * Makeconfig (run-program-prefix): Fix comment.
10932
cc1290d0
JM
109332012-10-24 Joseph Myers <joseph@codesourcery.com>
10934 Jim Blandy <jimb@codesourcery.com>
10935
10936 * Makeconfig (test-wrapper): New variable,
10937 (test-wrapper-env): Likewise.
10938 [$(cross-compiling) = yes && $(test-wrapper) != ""]
10939 (run-built-tests): Define to yes.
10940 (run-program-prefix): Use $(test-wrapper).
10941 (built-program-cmd): Likewise.
10942 * Rules (make-test-out): Use $(test-wrapper-env) and
10943 $(host-built-program-cmd).
10944 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
10945 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
10946 tst-pathopt.sh.
10947 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
10948 $(test-wrapper-env) to tst-rtld-load-self.sh.
10949 ($(objpfx)order2.out): Use $(test-wrapper).
10950 ($(objpfx)tst-initorder.out): Likewise.
10951 ($(objpfx)tst-initorder2.out): Likewise.
10952 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
10953 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
10954 (test_wrapper_env): New variable. Use it to run ld.so.
10955 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
10956 Use it to run ld.so.
10957 (test_wrapper_env): Likewise.
10958 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
10959 $(test-wrapper) to run-iconv-test.sh.
10960 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
10961 (ICONV): Use $test_wrapper.
10962 * posix/Makefile ($(objpfx)globtest.out): Pass
10963 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
10964 globtest.sh, not $(run-program-prefix).
10965 * posix/globtest.sh (run_via_rtld_prefix): New variable.
10966 (test_wrapper): Likewise.
10967 (test_wrapper_env): Likewise. Use it to run globtest with HOME
10968 set together with run_via_rtld_prefix.
10969 (run_program_prefix): Define in terms of test_wrapper and
10970 run_via_rtld_prefix.
10971
6e6249d0
RM
109722012-10-24 Roland McGrath <roland@hack.frob.com>
10973
10974 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
10975 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
10976 Targets removed.
10977
10978 [BZ #14743]
10979 * include/time.h: Remove librt_hidden_proto (clock_gettime).
10980 Declare __clock_getres, __clock_gettime, __clock_settime,
10981 __clock_nanosleep, and __clock_getcpuclockid.
10982 * rt/clock_gettime.c: Define __clock_gettime as an alias.
10983 Remove librt_hidden_def (clock_gettime).
10984 * sysdeps/unix/clock_gettime.c: Likewise.
10985 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
10986 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
10987 * rt/clock_getres.c: Define __clock_getres as an alias.
10988 * sysdeps/posix/clock_getres.c: Likewise.
10989 * rt/clock_settime.c: Define __clock_settime as an alias.
10990 * sysdeps/unix/clock_settime.c: Likewise.
10991 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
10992 * sysdeps/unix/clock_nanosleep.c: Likewise.
10993 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
10994 * rt/clock-compat.c: New file.
10995 * rt/Makefile (librt-routines): Add clock-compat and move
10996 $(clock-routines) to ...
10997 (routines): ... here, new variable.
10998 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
10999 Don't add get_clockfreq here.
11000 * rt/Versions (libc: GLIBC_2.17): New version set.
11001 Add clock_* symbols here.
11002 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
11003 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
11004 (GLIBC_2.17): Add clock_* symbols.
11005 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
11006 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
11007 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11009 Likewise.
11010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11011 Likewise.
11012 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11013 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
11014 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
11015 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
11016 * NEWS: Mention the move.
11017
11018 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
11019 Use __open, __read, __close rather than their public counterparts.
11020 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11021 (__get_clockfreq_via_cpuinfo): Likewise.
11022 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
11023 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
11024
11025 * config.h.in (HAVE_IFUNC): New #undef.
11026 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
11027 was successful.
11028 * configure: Regenerated.
11029
0cae3f4b
MF
110302012-10-24 Mike Frysinger <vapier@gentoo.org>
11031
11032 * configure.in: Move READELF check to start of file.
11033 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
11034 libc_cv_asm_gnu_indirect_function in the process.
11035 * configure: Regenerated.
11036
8175a253
MF
110372012-10-24 Mike Frysinger <vapier@gentoo.org>
11038
11039 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
11040 send the output to /dev/null.
11041 (libc_cv_cc_with_libunwind): Likewise.
11042 (libc_cv_as_noexecstack): Likewise.
11043 * configure: Regenerate.
11044
0708a7d1
JM
110452012-10-24 Joseph Myers <joseph@codesourcery.com>
11046
10b40d85
JM
11047 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
11048
0708a7d1
JM
11049 * posix/globtest.sh (TMPDIR): Do not set.
11050 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
11051 (testout): Likewise.
11052
9fddec1a
AJ
110532012-10-24 Andreas Jaeger <aj@suse.de>
11054
3a8db22f
AJ
11055 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
11056 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
11057 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
11058 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
11059 posix_fadvise64, posix_fallocate64.
11060
9fddec1a
AJ
11061 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
11062 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
11063 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
11064 Likewise.
11065 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
11066 Likewise.
11067 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
11068
11069 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
11070 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
11071 <bits/fcntl-linux.h>.
11072 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
11073
11074 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
11075 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
11076 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
11077 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
11078 [__WORDSIZE != 64]: Likewise.
11079
ebfd1bbd
JM
110802012-10-23 Joseph Myers <joseph@codesourcery.com>
11081
03ac099f
JM
11082 * Makeconfig (run-built-tests): New variable.
11083 * Rules [$(cross-compiling) = yes]: Change condition to
11084 [$(run-built-tests) = no].
11085 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
11086 to [$(run-built-tests) = yes].
11087 * elf/Makefile [$(cross-compiling) = no]: Likewise
11088 * grp/Makefile [$(cross-compiling) = no]: Likewise.
11089 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
11090 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
11091 * intl/Makefile [$(cross-compiling) = no]: Likewise.
11092 * io/Makefile [$(cross-compiling) = no]: Likewise.
11093 * libio/Makefile [$(cross-compiling) = no]: Likewise.
11094 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
11095 * misc/Makefile [$(cross-compiling) = no]: Likewise.
11096 * posix/Makefile [$(cross-compiling) = no]: Likewise.
11097 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
11098 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
11099 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
11100 * string/Makefile [$(cross-compiling) = no]: Likewise.
11101
ebfd1bbd
JM
11102 * posix/Makefile ($(objpfx)globtest.out): Pass
11103 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
11104 $(rtld-installed-name).
11105 * posix/globtest.sh (elf_objpfx): Remove variable.
11106 (rtld_installed_name): Likewise.
11107 (library_path): Likewise.
11108 (run_program_prefix): New variable. Use for running globtest
11109 binary.
11110
166bca24
JB
111112012-10-23 Jim Blandy <jimb@codesourcery.com>
11112 Joseph Myers <joseph@codesourcery.com>
11113
11114 * Makeconfig (host-built-program-cmd): New variable.
11115 * elf/Makefile (tst-stackguard1-ARGS): Use
11116 $(host-built-program-cmd).
11117 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
11118 (tst-spawn-ARGS): Likewise.
11119 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
11120
88866099
JM
111212012-10-23 Joseph Myers <joseph@codesourcery.com>
11122 Jim Blandy <jimb@codesourcery.com>
11123
11124 * Makeconfig (run-via-rtld-prefix): New variable.
11125 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
11126 (built-program-cmd): Likewise.
11127
b4b4c296
AJ
111282012-10-22 Andreas Jaeger <aj@suse.de>
11129
11130 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
11131 __O_RSYNC if it exists, otherwise to O_SYNC.
11132
6fb54a22
JB
111332012-10-22 Jim Blandy <jimb@codesourcery.com>
11134 Joseph Myers <joseph@codesourcery.com>
11135
11136 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
11137 /dev/null.
11138 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
11139 from /dev/null
11140 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
11141 /dev/null.
11142
481b90b9
AJ
111432012-10-22 Andreas Jaeger <aj@suse.de>
11144
2a0e2669
AJ
11145 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
11146 Define always.
11147 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
11148
76e38f9a
AJ
11149 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11150 bits/fcntl-linux.h.
11151
7cd37b43
AJ
11152 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
11153 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
11154
481b90b9
AJ
11155 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
11156 to __O_LARGEFILE.
11157 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
11158 to __O_LARGEFILE.
11159
aba75984
JB
111602012-10-21 Jim Blandy <jimb@codesourcery.com>
11161 Joseph Myers <joseph@codesourcery.com>
11162
11163 * config.make.in (NM): New variable.
11164
88d4247f
AJ
111652012-10-21 Andreas Jaeger <aj@suse.de>
11166
11167 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
11168 definitions and declarations that are provided by
11169 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
11170
f2eed205
L
111712012-10-20 H.J. Lu <hongjiu.lu@intel.com>
11172
11173 [BZ #14683]
11174 * elf/Makefile (tests-static): Add tst-leaks1-static.
11175 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
11176 ($(objpfx)tst-leaks1-static): New rule.
11177 ($(objpfx)tst-leaks1-static-mem): Likewise.
11178 (tst-leaks1-static-ENV): New macro.
11179 * elf/dl-open.c (dl_open_worker): Check the main application
11180 only if SHARED is defined.
11181 * elf/tst-leaks1-static.c: New file.
11182
335e6931
AJ
111832012-10-20 Andreas Jaeger <aj@suse.de>
11184
11185 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
11186 generic values for Linux.
11187 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
11188 and declarations that are provided by <bits/fcntl-linux.h> and
11189 include <bits/fcntl-linux.h>.
11190 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11191 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11192
ac5c94d3
RM
111932012-10-20 Roland McGrath <roland@hack.frob.com>
11194
11195 * io/fcntl.h: Move include of <bits/types.h> to the top and
11196 include it unconditionally.
11197
de54b33a
L
111982012-10-20 H.J. Lu <hongjiu.lu@intel.com>
11199
228cfb01
L
11200 * wcsmbs/Makefile (tests-ifunc): New variable.
11201 (tests): Add $(tests-ifunc).
11202 * wcsmbs/test-wcschr-ifunc.c: New file.
11203 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
11204 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
11205 * wcsmbs/test-wcslen-ifunc.c: Likewise.
11206 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
11207 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
11208
69f07e5f
L
11209 * string/Makefile (tests-ifunc): New variable.
11210 (tests): Add $(tests-ifunc).
11211 * string/test-memccpy.c (TEST_NAME): New macro.
11212 * string/test-memchr.c (TEST_NAME): Likewise.
11213 * string/test-memcmp.c (TEST_NAME): Likewise.
11214 * string/test-memcpy.c (TEST_NAME): Likewise.
11215 * string/test-memmem.c (TEST_NAME): Likewise.
11216 * string/test-memmove.c (TEST_NAME): Likewise.
11217 * string/test-memset.c (TEST_NAME): Likewise.
11218 * string/test-rawmemchr.c (TEST_NAME): Likewise.
11219 * string/test-stpcpy.c (TEST_NAME): Likewise.
11220 * string/test-stpncpy.c (TEST_NAME): Likewise.
11221 * string/test-strcasecmp.c (TEST_NAME): Likewise.
11222 * string/test-strcasestr.c (TEST_NAME): Likewise.
11223 * string/test-strcat.c (TEST_NAME): Likewise.
11224 * string/test-strchr.c (TEST_NAME): Likewise.
11225 * string/test-strcmp.c(TEST_NAME): Likewise.
11226 * string/test-strcpy.c (TEST_NAME): Likewise.
11227 * string/test-strcspn.c (TEST_NAME): Likewise.
11228 * string/test-strlen.c (TEST_NAME): Likewise.
11229 * string/test-strncasecmp.c (TEST_NAME): Likewise.
11230 * string/test-strncmp.c (TEST_NAME): Likewise.
11231 * string/test-strncpy.c (TEST_NAME): Likewise.
11232 * string/test-strnlen.c (TEST_NAME): Likewise.
11233 * string/test-strpbrk.c (TEST_NAME): Likewise.
11234 * string/test-strrchr.c (TEST_NAME): Likewise.
11235 * string/test-strspn.c (TEST_NAME): Likewise.
11236 * string/test-strstr.c (TEST_NAME): Likewise.
11237 * string/test-bcopy-ifunc.c: New file.
11238 * string/test-bzero-ifunc.c: Likewise.
11239 * string/test-memccpy-ifunc.c: Likewise.
11240 * string/test-memchr-ifunc.c: Likewise.
11241 * string/test-memcmp-ifunc.c: Likewise.
11242 * string/test-memcpy-ifunc.c: Likewise.
11243 * string/test-memmem-ifunc.c: Likewise.
11244 * string/test-memmove-ifunc.c: Likewise.
11245 * string/test-mempcpy-ifunc.c: Likewise.
11246 * string/test-memset-ifunc.c: Likewise.
11247 * string/test-rawmemchr-ifunc.c: Likewise.
11248 * string/test-stpcpy-ifunc.c: Likewise.
11249 * string/test-stpncpy-ifunc.c: Likewise.
11250 * string/test-strcasecmp-ifunc.c: Likewise.
11251 * string/test-strcasestr-ifunc.c: Likewise.
11252 * string/test-strcat-ifunc.c: Likewise.
11253 * string/test-strchr-ifunc.c: Likewise.
11254 * string/test-strchrnul-ifunc.c: Likewise.
11255 * string/test-strcmp-ifunc.c: Likewise.
11256 * string/test-strcpy-ifunc.c: Likewise.
11257 * string/test-strcspn-ifunc.c: Likewise.
11258 * string/test-strlen-ifunc.c: Likewise.
11259 * string/test-strncasecmp-ifunc.c: Likewise.
11260 * string/test-strncat-ifunc.c: Likewise.
11261 * string/test-strncmp-ifunc.c: Likewise.
11262 * string/test-strncpy-ifunc.c: Likewise.
11263 * string/test-strnlen-ifunc.c: Likewise.
11264 * string/test-strpbrk-ifunc.c: Likewise.
11265 * string/test-strrchr-ifunc.c: Likewise.
11266 * string/test-strspn-ifunc.c: Likewise.
11267 * string/test-strstr-ifunc.c: Likewise.
11268
de54b33a
L
11269 * debug/Makefile (tests-ifunc): New variable.
11270 (tests): Add $(tests-ifunc).
11271 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
11272 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
11273 * debug/test-stpcpy_chk-ifunc.c: New file.
11274 * debug/test-strcpy_chk-ifunc.c: Likewise.
11275
88481c16
SP
112762012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11277
11278 [BZ #13601]
11279 * elf/dl-load.c (open_verify): Retry read if the entire ELF
11280 header is not read in.
11281
135948bd
JM
112822012-10-19 Joseph Myers <joseph@codesourcery.com>
11283
89f1c388
JM
11284 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
11285 script to $(SHELL) as $<. Pass $(common-objpfx) to script
11286 directly. Pass built executable to script as
11287 $(built-program-cmd).
11288 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
11289 $testprogram without using LD_LIBRARY_PATH and $ldso.
11290
e40a0d21
JM
11291 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
11292 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
11293 $(rtld-installed-name).
11294 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
11295 (rtld_installed_name): Likewise.
11296 (library_path): Likewise.
11297 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
11298 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
11299 $(run-program-prefix) to tst-tables.sh.
11300 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
11301 it to run tst-table-from and tst-table-to.
11302 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
11303 Pass it to tst-table.sh.
11304 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
11305 $(run-program-prefix) to tst-gettext.sh.
11306 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
11307 tst-translit.sh.
11308 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
11309 tst-gettext2.sh.
11310 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
11311 to run tst-gettext.
11312 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
11313 to run tst-gettext2.
11314 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
11315 to run tst-translit.
11316 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
11317 $(run-program-prefix) to tst-mtrace.sh.
11318 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
11319 to run tst-mtrace.
11320 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
11321 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
11322 $(rtld-installed-name).
11323 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
11324 (rtld_installed_name): Likewise.
11325 (run_program_prefix): New variable. Use it to run wordexp-test.
11326
728e272a
JM
11327 * Makeconfig (ARCH): Remove all definitions.
11328 (machine): Likewise.
11329 [ARCH]: Remove conditional code.
11330 [!objdir]: Give error.
11331 [!objdir] (objpfx): Remove.
11332 [!objdir] (common-objpfx): Likewise.
11333 [!objdir] (common-objdir): Likewise.
11334 * configure.in (config_makefile): Remove. Hardcode Makefile in
11335 AC_CONFIG_FILES call.
11336 * configure: Regenerated.
11337
d528cdcf
JM
11338 [BZ #13888]
11339 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
11340 or TMPDIR.
11341 (testout): Likewise.
11342
135948bd
JM
11343 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
11344 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
11345 $(rtld-installed-name).
11346 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
11347 (rtld_installed_name): Likwise.
11348 (runit): Remove function.
11349 (run_getconf): New variable, Use it for running getconf binary.
11350
38c78296
L
113512012-10-18 H.J. Lu <hongjiu.lu@intel.com>
11352
11353 [BZ #14716]
11354 * string/test-memmem.c (check_result): New function.
11355 (do_one_test): Use it.
11356 (check1): New function.
11357 (test_main): Use it.
11358
d077f65f
MT
113592012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
11360
11361 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
11362
ced52c71
JM
113632012-10-18 Joseph Myers <joseph@codesourcery.com>
11364
11365 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
11366 (_G_LSEEK64): Likewise.
11367 (_G_MMAP64): Likewise.
11368 (_G_FSTAT64): Likewise.
11369 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
11370 (_G_LSEEK64): Likewise.
11371 (_G_MMAP64): Likewise.
11372 (_G_FSTAT64): Likewise.
11373 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
11374 unconditional. Call __mmap64 directly.
11375 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
11376 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
11377 __lseek64 directly.
11378 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
11379 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
11380 __mmap64 directly.
11381 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
11382 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
11383 __lseek64 directly.
11384 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
11385 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
11386 __lseek64 directly.
11387 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
11388 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
11389 __lseek64 directly.
11390 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
11391 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
11392 __fxstat64 directly.
11393 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
11394 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
11395 unconditional.
11396 (freopen64) [!_G_OPEN64]: Remove conditional code.
11397 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
11398 unconditional.
11399 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
11400 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
11401 unconditional.
11402 (ftello64) [!_G_LSEEK64]: Remove conditional code.
11403 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
11404 unconditional.
11405 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
11406 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
11407 unconditional.
11408 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
11409 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
11410 unconditional.
11411 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
11412 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
11413 unconditional.
11414 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
11415 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
11416 unconditional.
11417 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
11418
b741de23
SP
114192012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11420
11421 [BZ #12140]
11422 * manual/memory.texi (Malloc Tunable Parameters): Add note
11423 about free list pointers overwriting some perturb bytes.
11424 Wording suggested by Roland McGrath.
11425
f9b9d9c9
JM
114262012-10-17 Joseph Myers <joseph@codesourcery.com>
11427
11428 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
11429 (lgamma_test): Likewise.
11430 (tgamma_test): Likewise.
11431
172a631a
FW
114322012-10-16 Florian Weimer <fweimer@redhat.com>
11433
11434 [BZ #14700]
11435 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
11436 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
11437
e9f37252
MK
114382012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
11439
11440 * NEWS: Mention BZ #14716.
11441 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
11442 when removing AVAILABLE1_USES_J macro.
11443
d394eb74
L
114442012-10-12 H.J. Lu <hongjiu.lu@intel.com>
11445
11446 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
11447 (__bswap_64): __uint64_t for unsigned 64-bit int.
11448
ca38dc17
AS
114492012-10-12 Andreas Schwab <schwab@linux-m68k.org>
11450
11451 * include/string.h (memmem): Declare libc hidden alias.
11452 * string/memmem.c (memmem): Define libc hidden alias.
11453 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
11454 __read, __close instead of open, read, close.
11455
9a387d1f
L
114562012-10-11 H.J. Lu <hongjiu.lu@intel.com>
11457
ac49ecaf
L
11458 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
11459 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
11460 global and hidden.
11461 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
11462 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
11463 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
11464 Likewise.
11465 (__rawmemchr_sse2): Likewise.
11466 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
11467 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
11468 (__strchr_sse2): Likewise.
11469 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
11470 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
11471 (__strcasecmp_sse2): Likewise.
11472 (__strncasecmp_sse2): Likewise.
11473 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
11474 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
11475 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
11476 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
11477 (__strrchr_sse2): Likewise.
11478 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
11479 ifunc-impl-list.c.
11480 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
11481 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
11482 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
11483 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11484 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
11485 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
11486 * sysdeps/x86_64/multiarch/memset.S: Likewise.
11487 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11488 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
11489 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
11490 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
11491 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
11492 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
11493 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
11494 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
11495 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11496 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
11497 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
11498 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
11499 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
11500 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
11501 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
11502 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
11503 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
11504 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
11505 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11506 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
11507 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
11508 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
11509 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
11510
b090e8ea
L
11511 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
11512 global and hidden.
11513 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
11514 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
11515 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
11516 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
11517 Likewise.
11518 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
11519 Likewise.
11520 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
11521 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
11522 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
11523 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
11524 ifunc-impl-list.c.
11525 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11526 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11527 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11528 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11529 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11530 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11531 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11532 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11533 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11534 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11535 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11536 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11537 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11538 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
11539 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
11540 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11541 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
11542 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
11543 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11544 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11545 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11546 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11547 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11548 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11549 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11550 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
11551 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
11552 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
11553 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
11554 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
11555 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
11556 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
11557 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
11558 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
11559 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
11560 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
11561 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
11562 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
11563 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
11564 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
11565 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
11566
11dd4af6
L
11567 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
11568 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
11569 * include/ifunc-impl-list.h: New file.
11570 * misc/ifunc-impl-list.c: Likewise.
11571 * misc/Makefile (routines): Add ifunc-impl-list.
11572 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
11573 * string/test-string.h: Include <ifunc-impl-list.h>.
11574 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
11575 impl_array): New variables.
11576 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
11577 are defined.
11578 (test_init): Call __libc_ifunc_impl_list to initialize
11579 func_list if TEST_IFUNC and TEST_NAME are defined.
11580
9a387d1f
L
11581 * string/Makefile (strop-tests): Add bcopy and bzero.
11582 * string/test-bcopy.c: New file.
11583 * string/test-bzero.c: Likewise.
11584 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
11585 defined.
11586 * string/test-memset.c: Support bzero test if TEST_BZERO is
11587 defined.
11588 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
11589 __libc_memmove.
11590 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
11591 __libc_memset.
11592 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
11593 of memset.
11594
472371b9
JM
115952012-10-10 Joseph Myers <joseph@codesourcery.com>
11596
1e4a9536
JM
11597 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
11598 * configure: Regenerated.
11599
d173d12e
JM
11600 * Makeconfig (+link-static-before-libc): Don't include
11601 $(link-static-libc).
11602
472371b9
JM
11603 * libio/libio.h (_IO_pos_t): Remove.
11604
89a3ad0b
AO
116052012-10-10 Alexandre Oliva <aoliva@redhat.com>
11606
11607 * NEWS: Add note about FIPS mode. Wording suggested by Roland
11608 McGrath.
11609
e7451425
AO
116102012-10-10 Alexandre Oliva <aoliva@redhat.com>
11611
11612 * crypt/crypt-entry.c: Include fips-private.h.
11613 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
11614 * crypt/md5c-test.c (main): Tolerate disabled MD5.
11615 * sysdeps/unix/sysv/linux/fips-private.h: New file.
11616 * sysdeps/generic/fips-private.h: New file, dummy fallback.
11617
4ba74a35
AO
116182012-10-10 Alexandre Oliva <aoliva@redhat.com>
11619
11620 * crypt/crypt-private.h: Include stdbool.h.
11621 (_ufc_setup_salt_r): Return bool.
11622 * crypt/crypt-entry.c: Include errno.h.
11623 (__crypt_r): Return NULL with EINVAL for bad salt.
11624 * crypt/crypt_util.c (bad_for_salt): New.
11625 (_ufc_setup_salt_r): Check that salt is long enough and within
11626 the specified alphabet.
11627 * crypt/badsalttest.c: New file.
11628 * crypt/Makefile (tests): Add it.
11629 ($(objpfx)badsalttest): New.
11630
f96f1242
MK
116312012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
11632
11633 * NEWS: Add entry for BZ #14602.
11634
0e8e0c1c
JM
116352012-10-09 Joseph Myers <joseph@codesourcery.com>
11636
11637 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
11638 type-generic.
11639 * math/libm-test.inc: Update comment listing what functions and
11640 macros are tested.
11641 (isgreater_test): New function.
11642 (isgreaterequal_test): Likewise.
11643 (isless_test): Likewise.
11644 (islessequal_test): Likewise.
11645 (islessgreater_test): Likewise.
11646 (isunordered_test): Likewise.
11647 (main): Call the new functions.
11648
273edc5e
RM
116492012-10-09 Roland McGrath <roland@hack.frob.com>
11650
b8493de0
RM
11651 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
11652 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
11653 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
11654 * sysdeps/i386/configure: Regenerated.
11655 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
11656 * sysdeps/mach/configure: Regenerated.
11657 * sysdeps/mach/hurd/configure: Regenerated.
11658 * sysdeps/powerpc/configure: Regenerated.
11659 * sysdeps/powerpc/powerpc32/configure: Regenerated.
11660 * sysdeps/powerpc/powerpc64/configure: Regenerated.
11661 * sysdeps/s390/s390-32/configure: Regenerated.
11662 * sysdeps/s390/s390-64/configure: Regenerated.
11663 * sysdeps/sh/configure: Regenerated.
11664 * sysdeps/sparc/configure: Regenerated.
11665 * sysdeps/unix/sysv/linux/configure: Regenerated.
11666 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
11667 * sysdeps/x86_64/configure: Regenerated.
11668
273edc5e
RM
11669 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
11670 defined. Don't check if MAP is NULL.
11671
c8450f70
JM
116722012-10-09 Joseph Myers <joseph@codesourcery.com>
11673
11674 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
11675 (_G_stat64): Likewise.
11676 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
11677 (_G_stat64): Likewise.
11678 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
11679 instead of struct _G_stat64.
11680 * libio/fileops.c (mmap_remap_check): Likewise.
11681 (decide_maybe_mmap): Likewise.
11682 (_IO_new_file_seekoff): Likewise.
11683 (_IO_file_stat): Likewise.
11684 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
11685 _G_off64_t.
11686 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
11687 instead of struct _G_stat64.
11688 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
11689
57e605ba
MK
116902012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
11691
11692 [BZ #14602]
11693 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
11694 Replace with ...
11695 (CHECK_EOL): New macro.
11696 (two_way_short_needle): Check beginning of haystack for EOL. Use
11697 CHECK_EOL.
11698 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
11699 Replace with CHECK_EOL.
11700 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
11701 Replace with CHECK_EOL.
11702
ef1bb361
JM
117032012-10-08 Joseph Myers <joseph@codesourcery.com>
11704
11705 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
11706 type-generic.
11707 * math/libm-test.inc: Update comment listing what functions and
11708 macros are tested.
11709 (finite_test): New function.
11710 (isinf_test): Likewise.
11711 (isnan_test): Likewise.
11712 (fpclassify_test): Test subnormal input.
11713 (isfinite_test): Likewise.
11714 (isnormal_test): Likewise.
11715 (main): Call the new functions.
11716
55f11534
JN
117172012-10-08 Jonathan Nieder <jrnieder@gmail.com>
11718
11719 [BZ #14660]
11720 * Makerules (%.dynsym): Force C locale when running
11721 $(OBJDUMP) --dynamic-syms.
11722
1ab29350
AS
117232012-10-08 Andreas Schwab <schwab@linux-m68k.org>
11724
11725 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
11726 <stdint.h>.
11727
f1ecb7ef
DM
117282012-10-06 David S. Miller <davem@davemloft.net>
11729
11730 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
11731 upper 32-bits of the length value in %o2 since we use branch-on-register
11732 tests which consider the entire 64-bit register.
11733
5d41d91a
L
117342012-10-06 H.J. Lu <hongjiu.lu@intel.com>
11735
11736 * string/test-strstr.c (check2): Add a test for page boundary.
11737
3baddb72
DM
117382012-10-05 David S. Miller <davem@davemloft.net>
11739
11740 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
11741 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
11742 file.
11743 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
11744 sysdep_routines.
11745 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
11746 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
11747 and bzero when HWCAP_SPARC_CRYPTO is present.
11748
9cee5585
L
117492012-10-05 H.J. Lu <hongjiu.lu@intel.com>
11750
d7e0dab9
L
11751 [BZ #14602]
11752 * string/test-strstr.c (check2): New function.
11753 (test_main): Call check2.
11754
03759f47
L
11755 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
11756 and bug-strchr1.
11757 * string/bug-strcasestr1.c (do_test): Moved to ...
11758 * string/test-strcasestr.c (check1): Here. New function.
11759 (do_one_test): Break out result checking code into ...
11760 (check_result): This. New function.
11761 (do_one_test): Call check_result.
11762 (test_main): Call check1.
11763 * string/bug-strchr1.c (do_test): Moved to ...
11764 * string/test-strchr.c (check1): Here. New function.
11765 (do_one_test): Break out result checking code into ...
11766 (check_result): This. New function.
11767 (do_one_test): Call check_result.
11768 (test_main): Call check1.
11769 * string/bug-strstr1.c (main): Moved to ...
046f153e 11770 * string/test-strstr.c (check1): Here. New function.
03759f47
L
11771 (do_one_test): Break out result checking code into ...
11772 (check_result): This. New function.
11773 (do_one_test): Call check_result.
11774 (test_main): Call check1.
11775 * string/bug-strcasestr1.c: Removed.
11776 * string/bug-strchr1.c: Likewise.
11777 * string/bug-strstr1.c: Likewise.
11778
53cea63e
L
11779 * elf/Makefile (dl-routines): Add hwcaps.
11780 * elf/dl-support.c (_dl_important_hwcaps): Removed.
11781 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
11782 (_dl_important_hwcaps): Moved to ...
11783 * elf/dl-hwcaps.c: Here. New file.
11784 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
11785
9cee5585 11786 [BZ #14557]
bb859b06
L
11787 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
11788 if IS_IN_rtld isn't defined.
11789
9cee5585
L
11790 * elf/dl-support.c (_dl_sysinfo_map): New.
11791 Include "get-dynamic-info.h" and "setup-vdso.h".
11792 (_dl_non_dynamic_init): Call setup_vdso.
11793 * elf/dynamic-link.h: Don't include <assert.h>.
11794 (elf_get_dynamic_info): Moved to ...
11795 * elf/get-dynamic-info.h: Here. New file.
11796 * elf/dynamic-link.h: Include "get-dynamic-info.h".
11797 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
11798 * elf/setup-vdso.h: Here. New file.
11799 * elf/rtld.c: Include "setup-vdso.h".
11800 (dl_main): Call setup_vdso.
11801
23c31b76
JM
118022012-10-05 Joseph Myers <joseph@codesourcery.com>
11803
28234b07
JM
11804 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
11805 creal in comment listing functions tested. List finite, isinf,
11806 isnan, isless, islessequal, isgreater, isgreaterequal,
11807 islessgreater, isunordered, lgamma_r and pow10 as functions and
11808 macros not tested. Mention which functions not tested are aliases
11809 for other functions. Fix typo. Note that signs of NaNs are not
11810 tested.
11811
23c31b76
JM
11812 * scripts/config.guess: Update from config.git.
11813 * scripts/config.sub: Likewise.
11814
9043e228
RM
118152012-10-04 Roland McGrath <roland@hack.frob.com>
11816
11817 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
11818 * misc/madvise.c (madvise): Renamed to __madvise.
11819 Make madvise a weak alias.
11820 * include/sys/mman.h: Declare __madvise.
11821 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
11822 * sysdeps/unix/syscalls.list
11823 (madvise): Make __madvise the strong name, and madvise a weak alias.
11824 * sysdeps/unix/sysv/linux/syscalls.list
11825 (madvise, mmap): Remove redundant entries.
11826 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
11827 * malloc/malloc.c (mtrim): Likewise.
11828 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
11829
f57f8055
RM
118302012-10-03 Roland McGrath <roland@hack.frob.com>
11831
11832 * sysdeps/mach/hurd/dl-cache.c: File removed.
11833 * config.h.in (USE_LDCONFIG): New #undef.
11834 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
11835 * configure: Regenerated.
11836 * elf/Makefile (dl-routines): Add dl-cache only under
11837 [$(use-ldconfig) = yes].
11838 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
11839 cache on [USE_LDCONFIG].
11840 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
11841 [USE_LDCONFIG].
11842 * elf/rtld.c (dl_main): Likewise.
11843
5bb0c10a
PT
118442012-10-03 Pino Toscano <toscano.pino@tiscali.it>
11845
11846 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
11847 _SC_LEVEL4_CACHE_LINESIZE.
11848
010188c6
RM
118492012-10-03 Roland McGrath <roland@hack.frob.com>
11850
11851 * sysdeps/unix/bsd/confstr.h: File removed.
11852
b6c5ec07
AO
118532012-10-02 Alexandre Oliva <aoliva@redhat.com>
11854
11855 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
11856 sys/sdt-config.h.
11857
408223d4
RM
118582012-10-02 Roland McGrath <roland@hack.frob.com>
11859
11860 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
11861 Make 'mapoff' field ElfW(Off) rather than off_t.
11862
bb9510dc
DL
118632012-10-02 Dmitry V. Levin <ldv@altlinux.org>
11864
fc997c6e
DL
11865 * nscd/Makefile: Remove nscd-cflags and all its users.
11866 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
11867 (CFLAGS-nonlib): Add compiler flags for nscd modules.
11868
bb9510dc
DL
11869 [BZ #10631]
11870 * malloc.c (malloc_printerr): Clarify error message.
11871
05699367
L
118722012-10-02 H.J. Lu <hongjiu.lu@intel.com>
11873
11874 [BZ #14648]
11875 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11876 Set bit_FMA_Usable if FMA is supported.
11877 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
11878 macro.
11879 (bit_FMA4_Usable): Updated.
11880 (index_FMA_Usable): New macro.
11881 (CPUID_FMA): Likewise
11882 (HAS_FMA): Defined with bit_FMA_Usable.
11883
51367701
RM
118842012-10-01 Roland McGrath <roland@hack.frob.com>
11885
11886 * bits/types.h (__swblk_t): Type removed.
11887 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
11888 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
11889 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11890 (__SWBLK_T_TYPE): Likewise.
11891 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
11892 (__SWBLK_T_TYPE): Likewise.
11893 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11894 (__SWBLK_T_TYPE): Likewise.
11895 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11896 (__SWBLK_T_TYPE): Likewise.
11897
4d57bf63 118982012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 11899 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
11900
11901 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
11902 (xdr_mapname): Use YPMAXMAP as maxsize.
11903 (xdr_peername): Use YPMAXPEER as maxsize.
11904 (xdr_keydat): Use YPAXRECORD as maxsize.
11905 (xdr_valdat): Use YPMAXRECORD as maxsize.
11906
93c65d43
RM
119072012-10-01 Roland McGrath <roland@hack.frob.com>
11908
497a03d6
RM
11909 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
11910
93c65d43
RM
11911 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
11912 * csu/init-first.c: ... here.
11913 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
11914 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
11915 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
11916 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
11917 * sysdeps/i386/init-first.c: File removed.
11918 * sysdeps/sh/init-first.c: File removed.
11919
bec749fd
JM
119202012-10-01 Joseph Myers <joseph@codesourcery.com>
11921
11922 [BZ #14645]
11923 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
11924 if x * y might underflow to zero and z is zero.
11925 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11926 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11927 * math/libm-test.inc (min_subnorm_value): New variable.
11928 (fma_test): Add more tests.
11929 (fma_test_towardzero): Likewise.
11930 (fma_test_downward): Likewise
11931 (fma_test_upward): Likewise.
11932 (initialize): Set min_subnorm_value.
11933
8ec5b013
JM
119342012-09-29 Joseph Myers <joseph@codesourcery.com>
11935
11936 [BZ #14638]
11937 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
11938 0 + 0.
11939 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
11940 mode for addition resulting in exact zero.
11941 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
11942 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
11943 exact 0 + 0.
11944 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11945 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11946 * math/libm-test.inc (fma_test): Add more tests.
11947 (fma_test_towardzero): New function.
11948 (fma_test_downward): Likewise.
11949 (fma_test_upward): Likewise.
11950 (main): Call the new functions.
11951
b1fa802e
DM
119522012-09-28 David S. Miller <davem@davemloft.net>
11953
11954 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
11955
d3b9fd9e
RM
119562012-09-28 Roland McGrath <roland@hack.frob.com>
11957
ea4d37b3
RM
11958 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
11959 instead of SIGALRM.
11960
ac51c949
RM
11961 * sysdeps/gnu/_G_config.h: Moved to ...
11962 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
11963 * sysdeps/mach/hurd/_G_config.h: Moved to ...
11964 * sysdeps/generic/_G_config.h: ... here.
11965
28c195f7
RM
11966 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
11967
848917f9
RM
11968 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
11969
6bacf05b
RM
11970 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
11971 Conditionalize target on [libnss_test1.so-version].
11972
91363dbb
RM
11973 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
11974
cc87f7d8
RM
11975 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
11976 (elfobjdir): Move out of conditionals.
11977
b1c608fe
RM
11978 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
11979 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
11980 (__nss_lookup_function): Conditionalize label remove_from_tree on
11981 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 11982
1d9a6d96
DM
119832012-09-28 David S. Miller <davem@davemloft.net>
11984
11985 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
11986 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
11987 file.
11988 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
11989 sysdep_routines.
11990 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
11991 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
11992 when HWCAP_SPARC_CRYPTO is present.
11993
72581615
PT
119942012-09-28 Pino Toscano <toscano.pino@tiscali.it>
11995
11996 * io/tst-mknodat.c: Create a FIFO instead of a socket.
11997
715a900c
JL
119982012-09-28 Andreas Schwab <schwab@linux-m68k.org>
11999
12000 [BZ #6530]
12001 * stdio-common/vfprintf.c (process_string_arg): Revert
12002 2000-07-22 change.
12003
120042011-09-28 Jonathan Nieder <jrnieder@gmail.com>
12005
12006 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
12007 for testcase.
12008 * stdio-common/tst-sprintf.c: Include <locale.h>
12009 (main): Test sprintf's handling of incomplete multibyte
12010 characters.
12011
9bac1d86
L
120122012-09-28 H.J. Lu <hongjiu.lu@intel.com>
12013
12014 * elf/dl-runtime.c (VERSYMIDX): Removed.
12015 * elf/dl-version.c (VERSYMIDX): Likewise.
12016 * elf/do-rel.h (VERSYMIDX): Likewise.
12017 (VALIDX): Likewise.
12018 * elf/dynamic-link.h (VERSYMIDX): Likewise.
12019 * elf/rtld.c (VALIDX): Likewise.
12020 (ADDRIDX): Likewise.
9bac1d86
L
12021 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
12022 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
12023 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
12024 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
12025 (VALIDX): Likewise.
12026 (ADDRIDX): Likewise.
9bac1d86 12027
b31606c0
PT
120282012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12029
12030 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
12031
11541177
JL
120322012-09-28 Dmitry V. Levin <ldv@altlinux.org>
12033
12034 [BZ #11438]
12035 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
12036 to global scope.
12037 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
12038 addresses are in the same scope as 192.0.2/24.
12039 * posix/gai.conf: Document new scope table defaults.
12040
adb26fae
SP
120412012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12042
12043 [BZ #5298]
12044 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
12045 for ftell. Compute offsets from write pointers instead.
12046 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
12047
4573c6b0
SP
120482012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12049
12050 [BZ #14543]
12051 * libio/Makefile (tests): New test case tst-fseek.
12052 * libio/tst-fseek.c: New test case to verify that fseek/ftell
12053 combination works in wide mode.
12054 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
12055 state when the external buffer state changes.
12056
aa9bbfe6
DM
120572012-09-27 David S. Miller <davem@davemloft.net>
12058
12059 [BZ #14376]
12060 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
12061 pass reloc->r_addend in as the 'high' argument to
12062 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
12063
784421e7
DM
12064 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12065
c39bc8b8
PT
120662012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12067
12068 * rt/tst-aio2.c: Include <pthread.h>.
12069 * rt/tst-aio3.c: Likewise.
12070
1ccc2399
SE
120712012-09-27 Steve Ellcey <sellcey@mips.com>
12072
12073 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
12074
31ed4153
L
120752012-09-27 H.J. Lu <hongjiu.lu@intel.com>
12076
25f5f885
L
12077 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
12078 contents on [SHARED].
31ed4153 12079
b7bfe116
MP
120802012-09-26 Marek Polacek <polacek@redhat.com>
12081
12082 [BZ #14530]
12083 [BZ #13741]
12084 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
12085 for C++ and GCC <4.3 as well as for non GCC compilers.
12086
43c4edba
MT
120872012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
12088
12089 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12090
6a1bf82f
RM
120912012-09-25 Roland McGrath <roland@hack.frob.com>
12092
12093 * Makefile.in (all, install): Declare with .PHONY.
12094 Reported by Michael Hope <michael.hope@linaro.org>.
12095
8ad11b9a
TMQMF
120962012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12097
12098 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
12099 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
12100 system header.
12101 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
12102 Likewise.
12103 (sydep_routines): Add the new and the internal functions.
12104 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
12105 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
12106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
12107 (GLIBC_2.17): Add the new function.
12108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
12109 (GLIBC_2.17): Likewise.
12110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
12111 (GLIBC_2.17): Likewise.
12112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
12113 (GLIBC_2.17): Likewise.
12114 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
12115
7e2fca8d
AM
121162012-09-25 Alan Modra <amodra@gmail.com>
12117
12118 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
12119 Add release barrier before setting once_control to say
12120 initialisation is done. Add hints on lwarx. Use macro in
12121 place of isync.
12122 (clear_once_control): Add release barrier.
12123
b87c4b24
JM
121242012-09-25 Joseph Myers <joseph@codesourcery.com>
12125
d032e0d2
JM
12126 [BZ #13629]
12127 * math/s_clog.c (__clog): Handle more values close to |z| = 1
12128 specially.
12129 * math/s_clog10.c (__clog10): Likewise.
12130 * math/s_clog10f.c (__clog10f): Likewise.
12131 * math/s_clog10l.c (__clog10l): Likewise.
12132 * math/s_clogf.c (__clogf): Likewise.
12133 * math/s_clogl.c (__clogl): Likewise.
12134 * math/Makefile (libm-calls): Add x2y2m1.
12135 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
12136 (__x2y2m1): Likewise.
12137 (__x2y2m1l): Likewise.
12138 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
12139 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
12140 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
12141 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
12142 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
12143 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
12144 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
12145 * sysdeps/i386/fpu/libm-test-ulps: Update.
12146 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12147
b87c4b24
JM
12148 [BZ #14621]
12149 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
12150 int as type of variable DEPTH.
12151 (glob): Use size_t instead of int as type of variables NEWCOUNT
12152 and OLD_PATHC.
12153
6d3bf199
LD
121542012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12155
22bf5c17
LD
12156 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
12157 Add s_sincosf-sse2.
12158 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
12159 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
12160 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
12161 macros for using routine as __sincosf_ia32.
12162 Use macro for function declaration and weak_alias.
12163 * sysdeps/i386/fpu/libm-test-ulps: Update.
12164
12165 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
12166 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12167
12168 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
12169 subnormal argument.
12170 * math/s_cexpf.c (__cexpf): Likewise.
12171 * math/s_csinf.c (__csinf): Likewise.
12172 * math/s_csinhf.c (__csinhf): Likewise.
12173 * math/s_ctanf.c (__ctanf): Likewise.
12174 * math/s_ctanhf.c (__ctanhf): Likewise.
12175 * math/s_ccosh.c (__ccoshf): Likewise.
12176 * math/s_cexp.c (__cexpl): Likewise.
12177 * math/s_csin.c (__csin): Likewise.
12178 * math/s_csinh.c (__csinh): Likewise.
12179 * math/s_ctan.c (__ctan): Likewise.
12180 * math/s_ctanh.c (ctanh): Likewise.
12181 * math/s_ccoshl.c (__ccoshl): Likewise.
12182 * math/s_cexpl.c (__cexpl): Likewise.
12183 * math/s_csinl.c (__csinl): Likewise.
12184 * math/s_csinhl.c (__csinhl): Likewise.
12185 * math/s_ctanl.c (__ctanl): Likewise.
12186 * math/s_ctanhl.c (__ctanhl): Likewise.
12187
203e5603
JM
121882012-09-25 Joseph Myers <joseph@codesourcery.com>
12189
12190 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
12191 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
12192 (_IO_off_t): Define to __off_t, not _G_off_t.
12193 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
12194 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
12195 (_IO_wint_t): Define to wint_t, not _G_wint_t.
12196 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
12197 type of __dummy and __dummy2 fields.
12198 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
12199 (_G_ssize_t): Likewise.
12200 (_G_off_t): Likewise.
12201 (_G_pid_t): Likewise.
12202 (_G_uid_t): Likewise.
12203 (_G_wchar_t): Likewise.
12204 (_G_wint_t): Likewise.
12205 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
12206 (_G_ssize_t): Likewise.
12207 (_G_off_t): Likewise.
12208 (_G_pid_t): Likewise.
12209 (_G_uid_t): Likewise.
12210 (_G_wchar_t): Likewise.
12211 (_G_wint_t): Likewise.
12212 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
12213 (_G_ssize_t): Likewise.
12214 (_G_off_t): Likewise.
12215 (_G_pid_t): Likewise.
12216 (_G_uid_t): Likewise.
12217 (_G_wchar_t): Likewise.
12218 (_G_wint_t): Likewise.
12219
9fab36eb
SP
122202012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12221
12222 * malloc/arena.c: Include malloc-sysdep.h.
12223 (shrink_heap): Use check_may_shrink_heap to decide if madvise
12224 is sufficient to shrink the heap or an unmap is needed.
12225 * sysdeps/generic/malloc-sysdep.h: New file. Define
12226 new function check_may_shrink_heap.
12227 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
12228 new function check_may_shrink_heap.
12229
2b4f00d1
SP
122302012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12231
12232 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
12233 comments.
12234
9a9028b1
DL
122352012-09-24 Dmitry V. Levin <ldv@altlinux.org>
12236
57c69bef
DL
12237 * catgets/test-gencat.sh: Add "set -e".
12238 * elf/tst-pathopt.sh: Likewise.
12239 * grp/tst_fgetgrent.sh: Likewise.
12240 * iconvdata/run-iconv-test.sh: Likewise.
12241 * intl/tst-gettext.sh: Likewise.
12242 * intl/tst-gettext2.sh: Likewise.
12243 * intl/tst-gettext4.sh: Likewise.
12244 * intl/tst-gettext6.sh: Likewise.
12245 * intl/tst-translit.sh: Likewise.
12246 * io/ftwtest-sh: Likewise.
12247 * libio/test-freopen.sh: Likewise.
12248 * malloc/tst-mtrace.sh: Likewise.
12249 * posix/globtest.sh: Likewise.
12250 * posix/tst-getconf.sh: Likewise.
12251 * posix/wordexp-tst.sh: Likewise.
12252 * stdio-common/tst-printf.sh: Likewise.
12253 * stdio-common/tst-unbputc.sh: Likewise.
12254 * stdlib/tst-fmtmsg.sh: Likewise.
12255 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
12256 * catgets/Makefile: Do not specify -e option when running
12257 testsuite shell scripts.
12258 * elf/Makefile: Likewise.
12259 * grp/Makefile: Likewise.
12260 * iconvdata/Makefile: Likewise.
12261 * intl/Makefile: Likewise.
12262 * io/Makefile: Likewise.
12263 * libio/Makefile: Likewise.
12264 * malloc/Makefile: Likewise.
12265 * posix/Makefile: Likewise.
12266 * stdio-common/Makefile: Likewise.
12267 * stdlib/Makefile: Likewise.
12268 * sysdeps/x86_64/Makefile: Likewise.
12269
9a9028b1
DL
12270 * io/ftwtest-sh: Add copyright header.
12271 * posix/globtest.sh: Likewise.
12272 * posix/tst-getconf.sh: Likewise.
12273 * posix/wordexp-tst.sh: Likewise.
12274 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
12275
ced6f16e
L
122762012-09-24 H.J. Lu <hongjiu.lu@intel.com>
12277
94b32c39
L
12278 [BZ #13679]
12279 * Makeconfig (+link): Defined as $(+link-static) if
12280 $(build-shared) isn't yes.
12281 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
12282 isn't yes.
12283 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
12284
189e935b
L
12285 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
12286
ced6f16e
L
12287 [BZ #14562]
12288 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
12289 new chunk size with MALLOC_ALIGN_MASK.
12290
a9f8e53a
JM
122912012-09-24 Joseph Myers <joseph@codesourcery.com>
12292
12293 [BZ #5044]
12294 * stdio-common/printf_fphex.c: Include <stdbool.h> and
12295 <rounding-mode.h>.
12296 (__printf_fphex): Determine rounding using get_rounding_mode and
12297 round_away.
12298 * stdio-common/tst-printf-round.c (struct hex_test): New
12299 structure.
12300 (hex_tests): New variable.
12301 (test_hex_in_one_mode): New function.
12302 (do_test): Also run tests for hex float output.
12303
43153109
JM
123042012-09-21 Joseph Myers <joseph@codesourcery.com>
12305
12306 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
12307 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
12308 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
12309 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
12310 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
12311 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
12312 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
12313 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
12314
8a26625d
JM
123152012-09-20 Joseph Myers <joseph@codesourcery.com>
12316
12317 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
12318 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
12319 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
12320 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
12321
f3fd569c
DL
123222012-09-19 Dmitry V. Levin <ldv@altlinux.org>
12323
12324 [BZ #14579]
12325 * elf/rtld.c (dl_main): Limit the check for self loading to normal
12326 mode only.
12327 * elf/tst-rtld-load-self.sh: New test.
12328 * elf/Makefile: Run it.
12329
63bbedd4
JM
123302012-09-18 Joseph Myers <joseph@codesourcery.com>
12331
12332 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
12333 (tst-writev-ENV): Remove.
12334 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
12335
626f8b6a
CM
123362012-09-17 Chris Metcalf <cmetcalf@tilera.com>
12337
12338 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
12339
b7aaa4d6
JM
123402012-09-17 Joseph Myers <joseph@codesourcery.com>
12341
12342 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
12343 unconditional.
12344 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
12345 Likewise.
12346 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
12347 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
12348 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
12349 Likewise.
12350
65513990
L
123512012-09-14 H.J. Lu <hongjiu.lu@intel.com>
12352
12353 [BZ #14587]
12354 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
12355 * config.make.in (have-cpp-asm-debuginfo): Removed.
12356 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
12357 * configure: Regenerated.
12358
784761be
JM
123592012-09-14 Joseph Myers <joseph@codesourcery.com>
12360
12361 [BZ #5044]
12362 * stdio-common/printf_fp.c: Include <stdbool.h> and
12363 <rounding-mode.h>.
12364 (___printf_fp): Determine rounding using get_rounding_mode and
12365 round_away.
12366 * stdio-common/tst-printf-round.c: New file.
12367 * stdio-common/Makefile (tests): Add tst-printf-round.
12368 (link-libm): New variable.
12369 ($(objpfx)tst-printf-round): Depend in $(link-libm).
12370
9503345f
L
123712012-09-13 H.J. Lu <hongjiu.lu@intel.com>
12372
12373 [BZ #14576]
12374 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
12375 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
12376 Likewise.
12377 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
12378 Likewise.
12379
ad35fc00
JM
123802012-09-13 Joseph Myers <joseph@codesourcery.com>
12381
12382 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
12383 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12384 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12385 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12386
6c9b0f68
JM
123872012-09-12 Joseph Myers <joseph@codesourcery.com>
12388
12389 [BZ #14518]
12390 * include/rounding-mode.h: New file.
12391 * sysdeps/generic/get-rounding-mode.h: Likewise.
12392 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
12393 * stdlib/strtod_l.c: Include <rounding-mode.h>.
12394 (MAX_VALUE): New macro.
12395 (MIN_VALUE): Likewise.
12396 (overflow_value): New function.
12397 (underflow_value): Likewise.
12398 (round_and_return): Use overflow_value and underflow_value to
12399 determine return values in overflow and underflow cases. Use
12400 round_away to determine rounding depending on rounding mode.
12401 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
12402 determine return values in overflow and underflow cases.
12403 * stdlib/tst-strtod-round.c: Include <fenv.h>.
12404 (struct test_results): New structure.
12405 (struct test): Use struct test_results to store expected results
12406 for all rounding modes.
12407 (TEST): Include expected results for all rounding modes.
12408 (test_in_one_mode): New function.
12409 (do_test): Use test_in_one_mode to compute and check results.
12410 Check results for all rounding modes.
12411 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
12412 $(link-libm).
12413
19fcedd5
AM
124142012-12-09 Allan McRae <allan@archlinux.org>
12415
1e9d84cd 12416 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 12417
8bbfd2f1
JM
124182012-09-11 Joseph Myers <joseph@codesourcery.com>
12419
12420 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
12421 (_G_int32_t): Likewise.
12422 (_G_uint16_t): Likewise.
12423 (_G_uint32_t): Likewise.
12424 (_G_HAVE_BOOL): Likewise.
12425 (_G_HAVE_ATEXIT): Likewise.
12426 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12427 (_G_HAVE_IO_FILE_OPEN): Likewise.
12428 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
12429 (_G_int32_t): Likewise.
12430 (_G_uint16_t): Likewise.
12431 (_G_uint32_t): Likewise.
12432 (_G_HAVE_BOOL): Likewise.
12433 (_G_HAVE_ATEXIT): Likewise.
12434 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12435 (_G_HAVE_IO_FILE_OPEN): Likewise.
12436 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
12437 (_G_int32_t): Likewise.
12438 (_G_uint16_t): Likewise.
12439 (_G_uint32_t): Likewise.
12440 (_G_HAVE_BOOL): Likewise.
12441 (_G_HAVE_ATEXIT): Likewise.
12442 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12443 (_G_HAVE_IO_FILE_OPEN): Likewise.
12444
b1dc5912
L
124452012-09-11 H.J. Lu <hongjiu.lu@intel.com>
12446
12447 * csu/libc-tls.c: Update copyright years.
12448
0e886ef9
JM
124492012-09-10 Joseph Myers <joseph@codesourcery.com>
12450
28361c5e
JM
12451 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
12452 [!_G_USING_THUNKS]: Remove conditional code.
12453 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
12454 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
12455
0e886ef9
JM
12456 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
12457 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
12458 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12459 (_G_VTABLE_LABEL_PREFIX): Likewise.
12460 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12461 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12462 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12463 (_G_VTABLE_LABEL_PREFIX): Likewise.
12464 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
12465 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12466 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12467 (_G_VTABLE_LABEL_PREFIX): Likewise.
12468 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
12469
bcba7aa2
L
124702012-09-10 H.J. Lu <hongjiu.lu@intel.com>
12471
12472 * libio/Makefile: Include ../Makeconfig before tests.
12473 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
12474 only if $(build-shared) is yes.
12475
06585ee8
L
12476 * iconv/gconv_db.c: Update copyright years.
12477
80ccd52c
LD
124782012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12479
12480 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
12481 unwind info if defined PIC. Fix special cases description.
12482 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
12483
12484 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
12485 DP_HI_MASK entry.
12486 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
12487
691bc9c1
L
124882012-09-07 H.J. Lu <hongjiu.lu@intel.com>
12489
3d9b46b3
L
12490 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
12491
de2139a9
L
12492 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
12493 is NULL.
12494
5ca78dd0
L
12495 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
12496 (LDLIBS-tst-chk4): This.
12497 (LDFLAGS-tst-chk5): Renamed to ...
12498 (LDLIBS-tst-chk5): This.
12499 (LDFLAGS-tst-chk6): Renamed to ...
12500 (LDLIBS-tst-chk6): This.
12501 (LDFLAGS-tst-lfschk4): Renamed to ...
12502 (LDLIBS-tst-lfschk4): This.
12503 (LDFLAGS-tst-lfschk5): Renamed to ...
12504 (LDLIBS-tst-lfschk5): This.
12505 (LDFLAGS-tst-lfschk6): Renamed to ...
12506 (LDLIBS-tst-lfschk6): This.
12507
691bc9c1
L
12508 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
12509 on $(common-objpfx)soversions.mk.
12510
65cafb1c
JM
125112012-09-07 Joseph Myers <joseph@codesourcery.com>
12512
12513 [BZ #10014]
12514 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
12515 example host name.
12516
c78ab094
SP
125172012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
12518
12519 * malloc/arena.c (arena_get_retry): New function that gets
12520 another arena for the caller to try its request on.
12521 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
12522 current arena cannot fulfill the request.
12523 (__libc_memalign): Likewise.
12524 (__libc_memalign): Likewise.
12525 (__libc_pvalloc): Likewise.
12526 (__libc_calloc): Likewise.
12527
01f49f59
JT
125282012-09-05 John Tobey <john.tobey@gmail.com>
12529
12530 [BZ #13542]
12531 * manual/arith.texi (Operations on Complex): Fix description
12532 of carg branch cut.
12533
4c23fed5
JM
125342012-09-06 Joseph Myers <joseph@codesourcery.com>
12535
1d3c8572
JM
12536 [BZ #10014]
12537 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
12538 host name.
12539
4c23fed5
JM
12540 [BZ #10038]
12541 * manual/memory.texi (Memory): Make order of menu items match
12542 order of sections.
12543
04570aaa
L
125442012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12545
12546 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
12547 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
12548 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
12549
b80af2f4
L
125502012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12551
12552 * csu/libc-tls.c (static_dtv): Renamed to ...
12553 (_dl_static_dtv): This. Make it global.
12554 (_dl_initial_dtv): Removed.
12555 (__libc_setup_tls): Updated.
12556 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
12557 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
12558 DL_INITIAL_DTV.
12559
2abe9f15
PM
125602012-09-06 Petr Machata <pmachata@redhat.com>
12561
12562 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
12563 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
12564 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
12565 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
12566
0948c3af
L
125672012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12568
12569 [BZ #14545]
12570 * csu/libc-tls.c (_dl_initial_dtv): New variable.
12571 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
12572 freeing dtv[-1].
12573
a5055ad1
L
125742012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12575
12576 [BZ #14544]
12577 * Makeconfig (link-static-before-libc): Replace $(+prector)
12578 with $(+prectorT).
12579 (link-static-after-libc): Replace $(+postctor) with
12580 $(+postctorT).
12581 (link-bounded): Replace $(+prector)/$(+postctor) with
12582 $(+prectorT)/$(+postctorT).
12583 (+prectorT): New macro.
12584 (+postctorT): Likewise.
12585
ed8c2ecd
JM
125862012-09-06 Joseph Myers <joseph@codesourcery.com>
12587
12588 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
12589 (round_str): Handle values above the maximum for IBM long double
12590 as inexact.
12591 * stdlib/tst-strtod-round.c (tests): Regenerated.
12592
14c996c8
AK
125932012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12594
12595 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
12596 assembler flag.
12597 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
12598 zarch_nohighgprs around the zarch optimized routines.
12599 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
12600 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
12601 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
12602 for zarch.
12603
430d6ce6
DM
126042012-09-05 David S. Miller <davem@davemloft.net>
12605
12606 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12607
ff04dda4
DM
12608 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
12609 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
12610 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
12611 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
12612 entries.
12613
24d4e01b
AO
126142012-09-05 Alexandre Oliva <aoliva@redhat.com>
12615
12616 * malloc/arena.c: Fold copyright years.
12617 * malloc/mcheck.c, malloc/memusage.c: Likewise.
12618
61d58174
AO
126192012-09-05 Alexandre Oliva <aoliva@redhat.com>
12620
12621 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
12622
20196a5e
AO
126232012-09-05 Alexandre Oliva <aoliva@redhat.com>
12624
12625 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
12626
5c447383
AO
126272012-09-05 Alexandre Oliva <aoliva@redhat.com>
12628
12629 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
12630 change internal state upon failure.
12631
fad64255
AO
126322012-09-05 Alexandre Oliva <aoliva@redhat.com>
12633
12634 * malloc/mcheck.c (mcheck_check_all): Fix typo.
12635 * malloc/memusage.c (mmap): Likewise.
12636 (mmap64, mremap): Likewise. Adjust name in comment.
12637
1ffb8c90
SP
126382012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12639
12640 * libio/fileops.c: Fix typos in comments.
12641 * libio/oldfileops.c: Likewise.
12642 * libio/wfileops.c: Likewise.
12643
6ef9cc37
SP
126442012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12645
12646 [BZ #1349]
12647 * malloc/Makefile (tests): Add tst-malloc-usable test case.
12648 (tst-malloc-usable-ENV): Set environment for test case.
12649 * malloc/hooks.c (malloc_check_get_size): New function to get
12650 requested size.
12651 * malloc/malloc.c (musable): Use malloc_check_get_size.
12652 * malloc/tst-malloc-usable.c: New test case.
12653
4d038ae3
AS
126542012-09-05 Andreas Schwab <schwab@linux-m68k.org>
12655
12656 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
12657
c4e85184
AM
126582012-09-05 Allan McRae <allan@archlinux.org>
12659
b9dafc56 12660 [BZ #13966]
c4e85184
AM
12661 * configure.in (CXX_SYSINCLUDES): Use compiler output to
12662 determine header location.
12663 * configure: Regenerated.
12664
e1343020
AS
126652012-09-05 Andreas Schwab <schwab@linux-m68k.org>
12666
12667 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
12668 float format.
12669 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
12670 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
12671 format.
e1343020
AS
12672 (test): Regenerate.
12673
0a9f1987
DM
126742012-09-04 David S. Miller <davem@davemloft.net>
12675
12676 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
12677 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
12678 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
12679
29237804
FW
126802012-09-04 Florian Weimer <fweimer@redhat.com>
12681
12682 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
12683 failures.
12684
edb3cb88
FW
12685 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
12686
60160d83
JM
126872012-09-04 Joseph Myers <joseph@codesourcery.com>
12688
12689 [BZ #9914]
12690 * libio/iogetdelim.c: Include <limits.h>.
12691 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
12692 + len + 1 would overflow.
12693
bcd6c8dc
AJ
126942012-09-03 Andreas Jaeger <aj@suse.de>
12695
12696 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12697 * sysdeps/i386/fpu/libm-test-ulps: Update.
12698
4ffffbd2
LD
126992012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12700
12701 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
12702 Add s_sinf-sse2, s_conf-sse2.
12703
12704 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
12705 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
12706 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
12707 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
12708
12709 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
12710 for using routine as __sinf_ia32.
12711 Use macro for function declaration and weak_alias.
12712 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
12713 for using routine as __cosf_ia32.
12714 Use macro for function declaration and weak_alias.
12715
12716 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
12717 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
12718
12719 * sysdeps/x86_64/fpu/s_sinf.S: New file.
12720 * sysdeps/x86_64/fpu/s_cosf.S: New file.
12721 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12722
12723 * math/libm-test.inc (cos_test): Add more test cases.
12724 (sin_test): Likewise.
12725 (sincos_test): Likewise.
12726
511fa286
AK
127272012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12728
12729 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
12730 (IFUNC_RESOLVE): Make pointers to the specialized implementations
12731 hidden.
12732 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
12733
5f30cfec
L
127342012-09-02 H.J. Lu <hongjiu.lu@intel.com>
12735
12736 [BZ #14538]
12737 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
12738 first element of the GOT.
12739 (elf_machine_load_address): Return the difference between
12740 the runtime address of _DYNAMIC and elf_machine_dynamic ().
12741
0786794f
AM
127422012-09-01 Allan McRae <allan@archlinux.org>
12743
5f30cfec
L
12744 [BZ #13412]
12745 * configure.in (AWK): Require gawk version 3.0 or later.
12746 * configure: Regenerated.
0786794f 12747
26889eac
JM
127482012-09-01 Joseph Myers <joseph@codesourcery.com>
12749
12750 * sysdeps/unix/sysv/linux/kernel-features.h
12751 (__ASSUME_POSIX_CPU_TIMERS): Remove.
12752 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
12753 [__NR_clock_getres]: Make code unconditional.
12754 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
12755 (clock_getcpuclockid): Remove code left unreachable by removal of
12756 conditionals.
12757 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
12758 code unconditional.
12759 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
12760 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
12761 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
12762 Make code unconditional.
12763 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
12764 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
12765 * sysdeps/unix/sysv/linux/clock_settime.c
12766 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
12767 conditional code.
12768 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
12769 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
12770
d22e28b0
L
127712012-08-29 H.J. Lu <hongjiu.lu@intel.com>
12772
12773 [BZ #14476]
12774 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
12775 scripts/test-installation.pl.
12776
12777 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
12778 and $ld_so_version if it is set.
12779
050af9c4
SP
127802012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12781
12782 [BZ #14516]
12783 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
12784 failure if reading from procfs failed.
12785 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
12786
ad845c0b
JM
127872012-08-27 Joseph Myers <joseph@codesourcery.com>
12788
12789 * sysdeps/unix/sysv/linux/kernel-features.h
12790 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
12791 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
12792 Remove conditional code.
12793 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12794 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
12795 Remove conditional code.
12796 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12797 * sysdeps/unix/sysv/linux/i386/fxstat.c
12798 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
12799 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12800 * sysdeps/unix/sysv/linux/i386/fxstatat.c
12801 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
12802 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12803 * sysdeps/unix/sysv/linux/i386/lxstat.c
12804 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
12805 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12806 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
12807 Remove conditional code.
12808 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12809 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
12810 Remove conditional code.
12811 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12812 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
12813 <kernel-features.h>.
12814 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
12815 Remove.
12816 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
12817 Remove conditional code.
12818 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12819 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
12820 Remove conditional.
12821
5dbf56af
MF
128222012-08-27 Mike Frysinger <vapier@gentoo.org>
12823
12824 [BZ #5400]
12825 * NEWS: Add fixed bug number.
12826
d6e70f43
JM
128272012-08-27 Joseph Myers <joseph@codesourcery.com>
12828
7efb4737
JM
12829 [BZ #14519]
12830 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
12831 underflowing exponent in case of negative sign.
12832 * stdlib/tst-strtod-round-data: Add more tests.
12833 * stdlib/tst-strtod-round.c (tests): Regenerated.
12834
af92131a
JM
12835 [BZ #3479]
12836 * stdlib/strtod_l.c (NDIG): Remove.
12837 (HEXNDIG): Likewise.
12838 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
12839 smallest representable value.
12840 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
12841 lie within an exact representation of 1/2 ulp of the result.
12842 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
12843 unconditionally.
12844 (TENS_P9_IDX): Define unconditionally.
12845 (TENS_P9_SIZE): Likewise.
12846 (TENS_P10_IDX): Likewise.
12847 (TENS_P10_SIZE): Likewise.
12848 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
12849 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
12850 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
12851 entries for 10^2^13 and 10^2^14.
12852 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
12853 (TENS_P13_IDX): Define.
12854 (TENS_P13_SIZE): Likewise.
12855 (TENS_P14_IDX): Likewise.
12856 (TENS_P14_SIZE): Likewise.
12857 (_fpioconst_pow10): Change array size to
12858 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
12859 unconditional.
12860 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
12861 1024]: Add entries for 10^2^13 and 10^2^14.
12862 [LAST_POW10 > _LAST_POW10]: Remove #error.
12863 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
12864 (_fpioconst_pow10): Change array size to
12865 FPIOCONST_POW10_ARRAY_SIZE.
12866 * stdlib/gen-fpioconst.c: New file.
12867 * stdlib/gen-tst-strtod-round.c: Likewise.
12868 * stdlib/tst-strtod-round-data: Likewise.
12869 * stdlib/tst-strtod-round.c: Likewise.
12870 * stdlib/Makefile (tests): Add tst-strtod-round.
12871
d6e70f43
JM
12872 [BZ #14459]
12873 * stdlib/strtod_l.c: Include <stdint.h>.
12874 (NDEBUG): Do not define.
12875 (round_and_return): Change EXPONENT parameter to type intmax_t.
12876 Rearrange calculations to avoid internal overflow possibilities.
12877 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
12878 Rearrange calculations to avoid internal overflow possibilities.
12879 Assert that number fits inside MPNSIZE limbs.
12880 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
12881 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
12882 calculations and add assertions to avoid internal overflow
12883 possibilities. Add casts to avoid signed/unsigned operations.
12884 * stdlib/tst-strtod-overflow.c: New file.
12885 * stdlib/Makefile (tests): Add tst-strtod-overflow.
12886
1f529f7d
MP
128872012-08-25 Marek Polacek <polacek@redhat.com>
12888
12889 * time/time.h: Fix some typos in comments.
12890
59a629f1
RM
128912012-08-23 Roland McGrath <roland@hack.frob.com>
12892
12893 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
12894 * posix/tst-rfc3484-2.c: Likewise.
12895 * posix/tst-rfc3484-3.c: Likewise.
12896
d3bafbc9
SM
128972012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
12898
12899 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
12900 (EF_ARM_ABI_FLOAT_HARD): Likewise.
12901
4efcc022
JM
129022012-08-23 Joseph Myers <joseph@codesourcery.com>
12903
12904 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
12905 #include of fxstatat64.c.
12906
3cc3ef96
RM
129072012-08-22 Roland McGrath <roland@hack.frob.com>
12908
f04e2132
RM
12909 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
12910 * shadow/getspent_r.c: Likewise.
12911 * shadow/getspnam.c: Likewise.
12912 * shadow/getspnam_r.c: Likewise.
12913 * gshadow/getsgent.c: Likewise.
12914 * gshadow/getsgent_r.c: Likewise.
12915 * gshadow/getsgnam.c: Likewise.
12916 * gshadow/getsgnam_r.c: Likewise.
12917 * inet/getnetbyad.c: Likewise.
12918 * inet/getnetbyad_r.c: Likewise.
12919 * inet/getnetbynm.c: Likewise.
12920 * inet/getnetbynm_r.c: Likewise.
12921 * inet/getnetent.c: Likewise.
12922 * inet/getnetent_r.c: Likewise.
12923 * inet/getproto.c: Likewise.
12924 * inet/getproto_r.c: Likewise.
12925 * inet/getprtent.c: Likewise.
12926 * inet/getprtent_r.c: Likewise.
12927 * inet/getprtname.c: Likewise.
12928 * inet/getprtname_r.c: Likewise.
12929 * inet/getrpcbyname.c: Likewise.
12930 * inet/getrpcbyname_r.c: Likewise.
12931 * inet/getrpcbynumber.c: Likewise.
12932 * inet/getrpcbynumber_r.c: Likewise.
12933 * inet/getrpcent.c: Likewise.
12934 * inet/getrpcent_r.c: Likewise.
12935 * inet/getaliasent.c: Likewise.
12936 * inet/getaliasent_r.c: Likewise.
12937 * inet/getaliasname.c: Likewise.
12938 * inet/getaliasname_r.c: Likewise.
12939 * nscd/getgrgid_r.c: Likewise.
12940 * nscd/getgrnam_r.c: Likewise.
12941 * nscd/gethstbyad_r.c: Likewise.
12942 * nscd/gethstbynm3_r.c: Likewise.
12943 * nscd/getpwnam_r.c: Likewise.
12944 * nscd/getpwuid_r.c: Likewise.
12945 * nscd/getsrvbynm_r.c: Likewise.
12946 * nscd/getsrvbypt_r.c: Likewise.
12947 * nscd/gai.c: Likewise.
12948
c53d909c
RM
12949 * configure.in (build_nscd): New substituted variable, set
12950 by --disable-build-nscd and defaults to $use_nscd.
12951 * configure: Regenerated.
12952 * config.make.in (build-nscd): New substituted variable.
12953 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
12954 Change conditional to require [$(build-nscd) = yes] as well.
12955 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
12956
3cc3ef96
RM
12957 [BZ# 13696]
12958 * configure.in (use_nscd): New substituted variable, set by
12959 --disable-nscd. If enabled, define USE_NSCD.
12960 * configure: Regenerated.
12961 * config.h.in: Add USE_NSCD.
12962 * config.make.in (use-nscd): New substituted variable.
12963 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
12964 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
12965 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
12966 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
12967 (CFLAGS-getgrnam_r.c): Likewise.
12968 (CFLAGS-initgroups.c): Likewise.
12969 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
12970 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
12971 Variables removed.
12972 * inet/getnetgrent_r.c
12973 (nscd_setnetgrent): New function, broken out of ...
12974 (setnetgrent): ... here. Call it.
12975 (innetgr): Conditionalize nscd bits on [USE_NSCD].
12976 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
12977 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
12978 * nscd/Makefile (routines, aux): Move definitions after include of
12979 Makeconfig. Conditionalize on [$(use-nscd) != no].
12980 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
12981 Conditionalize on [USE_NSCD].
12982 (is_nscd, nscd_init_cb): Likewise.
12983 (nss_load_library): Conditionalize init callback on [USE_NSCD].
12984 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
12985 * nss/nss_db/db-init.c: Likewise.
12986 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
12987 [USE_NSCD].
12988 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
12989 (make_request): Use it.
12990 (cache_valid_p): New function.
12991 (__check_pf): Use it.
12992 * NEWS: Add item for --disable-nscd.
12993
07e51550
DL
129942012-08-22 Dmitry V. Levin <ldv@altlinux.org>
12995
12996 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
12997 to support sed >= 4.2.1-20-ga9bf076.
12998 * configure: Regenerated.
12999
35a5b08b
RM
130002012-08-22 Roland McGrath <roland@hack.frob.com>
13001
13002 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
13003 Conditionalize whole body on [IREL].
13004
8479f23a
JL
130052012-08-22 Jeff Law <law@redhat.com>
13006
13007 [BZ #14505]
13008 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
13009 if the family is PF_UNSPEC.
13010
48da0b21
MF
130112012-08-22 Mike Frysinger <vapier@gentoo.org>
13012
13013 * Makerules (lib-version): Rename from V.
13014 (install-lib-nosubdir): Change V to lib-version.
13015
15d0da8c
WS
130162012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
13017
13018 [BZ #14252]
13019 * powerpc32/power6/wcschr.c: New file.
13020 * powerpc32/power6/wcscpy.c: New file.
13021 * powerpc32/power6/wcsrchr.c: New file.
13022 * powerpc64/power6/wcschr.c: New file.
13023 * powerpc64/power6/wcscpy.c: New file.
13024 * powerpc64/power6/wcsrchr.c: New file.
13025
bcca0895
MK
130262012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
13027
13028 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
13029 (two_way_short_needle): Use it.
5a4aaa33
RM
13030 * string/strstr.c (AVAILABLE1_USES_J): Define.
13031 * string/strcasestr.c: Likewise.
99677e57
MK
13032
13033 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
13034 array references.
13035 * string/strcasestr.c (TOLOWER): Make side-effect safe.
13036
400726de
MK
13037 [BZ #11607]
13038 * NEWS: Add an entry.
13039 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
13040 define their defaults.
13041 (two_way_short_needle): Detect end-of-string on-the-fly.
13042 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
13043 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
13044 * string/bug-strcasestr1.c: New test.
13045 * string/Makefile: Run it.
13046
20a71f2c
MK
130472012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
13048
13049 [BZ #11607]
13050 * string/str-two-way.h (two_way_short_needle): Optimize matching of
13051 the first character.
13052
21ad0558
RM
130532012-08-21 Roland McGrath <roland@hack.frob.com>
13054
13055 * csu/elf-init.c (__libc_csu_irel): Function removed.
13056 * csu/libc-start.c (apply_irel): New function.
13057 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
13058
0e1d9911
JM
130592012-08-21 Joseph Myers <joseph@codesourcery.com>
13060
13061 * sysdeps/unix/sysv/linux/kernel-features.h
13062 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
13063 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
13064 <kernel-features.h>.
13065 [__NR_fadvise64_64]: Make code unconditional.
13066 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
13067 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
13068 !__NR_fadvise64_64)]: Likewise.
13069 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
13070 !__NR_fadvise64_64))]: Likewise.
13071 [__NR_fadvise64]: Make code unconditional.
13072 [!__NR_fadvise64]: Remove conditional code.
13073 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
13074 <kernel-features.h>.
13075 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13076 unconditional.
13077 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13078 conditional code.
13079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
13080 not include <kernel-features.h>.
13081 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13082 unconditional.
13083 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13084 conditional code.
13085 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
13086 include <kernel-features.h>.
13087 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13088 unconditional.
13089 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13090 conditional code.
13091
14a50c9d
WS
130922012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
13093
13094 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
13095 slight instruction rearrangements per scrollpipe analysis.
13096 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
13097
c0f4faf0
RM
130982012-08-20 Roland McGrath <roland@hack.frob.com>
13099
696da859
RM
13100 * manual/syslog.texi (syslog; vsyslog, closelog):
13101 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
13102 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
13103
c0f4faf0
RM
13104 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
13105 DSOCAPS to match condition on defining it.
13106
348363b2
JM
131072012-08-20 Joseph Myers <joseph@codesourcery.com>
13108
a35cbf28
JM
13109 * sysdeps/unix/sysv/linux/kernel-features.h
13110 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
13111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
13112 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13113 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
13115 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13116 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
13118 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13119 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13120
445f7ecd
JM
13121 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
13122 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
13123
348363b2
JM
13124 * sysdeps/unix/sysv/linux/kernel-features.h
13125 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
13126 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
13127 unconditional.
13128 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13129 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
13130 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
13131 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13132 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
13133 Make code unconditional.
13134 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13135 (__mmap64) [!__NR_mmap2]: Likewise.
13136 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
13137 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
13138 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13139 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
13140 [__NR_mmap2]: Make code unconditional.
13141 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13142 (__mmap64) [!__NR_mmap2]: Likewise.
13143
bc5bc0e5
AK
131442012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13145
13146 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
13147
88d506de
AJ
131482012-08-18 Andreas Jaeger <aj@suse.de>
13149
13150 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
13151
493387d2
MF
131522012-08-18 Mike Frysinger <vapier@gentoo.org>
13153
13154 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
13155 * include/unistd.h (__have_sock_cloexec): Likewise.
13156 (__have_pipe2): Likewise.
13157 (__have_dup3): Likewise.
13158
a277af22
MF
131592012-08-18 Mike Frysinger <vapier@gentoo.org>
13160
13161 [BZ #9685]
13162 * include/unistd.h (__have_pipe2): Change define into an extern int.
13163 (__have_dup3): Likewise.
13164 * socket/have_sock_cloexec.c: Include fcntl.h.
13165 (__have_pipe2): New variable.
13166 (__have_dup3): Likewise.
13167
fdab8fd3
MF
131682012-08-17 Mike Frysinger <vapier@gentoo.org>
13169
13170 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
13171
31035e80
MP
131722012-08-17 Marek Polacek <polacek@redhat.com>
13173
13174 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
13175 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
13176
3bd9e993
RM
131772012-08-17 Roland McGrath <roland@hack.frob.com>
13178
c91c505f
RM
13179 * configure.in: Add AC_SUBST for sysheaders.
13180 * configure: Regenerated.
13181 * config.make.in (sysheaders): New substituted variable.
13182
7c6f9d53
RM
13183 * sysdeps/unix/mkfifo.c: Moved ...
13184 * sysdeps/posix/mkfifo.c: ... here.
13185 * sysdeps/unix/mkfifoat.c: Moved ...
13186 * sysdeps/posix/mkfifoat.c: ... here.
13187
13188 * sysdeps/unix/utime.c: Moved ...
13189 * sysdeps/posix/utime.c: ... here.
13190
13191 * sysdeps/unix/time.c: Moved ...
13192 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
13193 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
13194 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
13195
13196 * sysdeps/unix/nice.c: Moved ...
13197 * sysdeps/posix/nice.c: ... here.
13198
13199 * sysdeps/unix/alarm.c: Moved ...
13200 * sysdeps/posix/alarm.c: ... here.
13201
3bd9e993
RM
13202 * intl/Makefile ($(codeset_mo)): Depend on the input file.
13203
d1f09384
JL
132042012-08-17 Jeff Law <law@redhat.com>
13205
13206 * intl/Makefile (codeset_mo): New variable.
13207 ($(codeset_mo)): New target.
13208 (tst-codeset.out): Depend on that. Remove explicit rule.
13209 (tst-gettext3.out, tst-gettext5.out): Likewise.
13210 (LOCPATH-ENV, tst-codeset-ENV): New variables.
13211 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
13212 * intl/tst-codeset.sh: Remove.
13213 * intl/tst-gettext3.sh: Likewise.
13214 * intl/tst-gettext5.sh: Likewise.
13215
2ae1ae5c
RM
132162012-08-17 Roland McGrath <roland@hack.frob.com>
13217
c31fdb83
RM
13218 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
13219 * sysdeps/unix/syscalls.list: ... here.
13220
a0844057
RM
13221 * sysdeps/posix/getaddrinfo.c
13222 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
13223 (gaiconf_init, gaiconf_reload): Use them.
13224 [!_STATBUF_ST_NSEC]
13225 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
13226 Define using time_t rather than struct timespec.
13227
750c1f2a
RM
13228 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
13229 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
13230 Macros removed.
13231 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
13232 [!NO_THREADS].
13233 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
13234 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
13235 Likewise.
13236
2ae1ae5c
RM
13237 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
13238 __libc_cleanup_push argument.
13239
e66a42f5
RM
13240 * bits/param.h: New file.
13241 * misc/sys/param.h: New file.
13242 * include/sys/param.h: New file.
13243 * misc/Makefile (headers): Add bits/param.h.
13244 * sysdeps/generic/sys/param.h: File removed.
13245 * sysdeps/unix/sysv/linux/bits/param.h: New file.
13246 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
13247 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 13248 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 13249
b7c08a66
RM
13250 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
13251 last change.
13252
b2e1c562
RM
13253 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
13254 [_IO_MTSAFE_IO].
13255 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
13256 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
13257 New macros.
13258
c75ccd4c
RM
13259 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
13260 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
13261 rather than -D_IO_MTSAFE_IO conditionally.
13262 * stdio-common/Makefile (CPPFLAGS): Likewise.
13263 * wcsmbs/Makefile (CPPFLAGS): Likewise.
13264 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
13265 Use $(libio-mtsafe).
13266 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
13267 of -D_IO_MTSAFE_IO.
13268 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
13269 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
13270 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
13271 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
13272 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
13273 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
13274 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
13275 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
13276 (CFLAGS-fread_u_chk.c): Likewise.
13277 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
13278 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
13279 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
13280 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
13281 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
13282 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
13283 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
13284 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
13285 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
13286
13287 * libio/Makefile: Test [$(libc-reentrant) = yes]
13288 instead of [$(filter %REENTRANT, $(defines)) nonempty].
13289
13290 * Makeconfig
13291 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
13292 * sysdeps/pthread/configure: File removed.
13293 * sysdeps/pthread/Makeconfig: New file.
13294 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
13295 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
13296
d9195db8
GB
132972012-08-16 Gary Benson <gbenson@redhat.com>
13298
13299 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
13300 unmapping the first object in a namespace.
13301
86466cd9
RM
133022012-08-16 Roland McGrath <roland@hack.frob.com>
13303
13304 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
13305 (__internal_setnetgrent): ... this. Add internal_function to
13306 definition. Add libc_hidden_def.
13307 (setnetgrent): Update caller.
13308 (internal_endnetgrent): Renamed to ...
13309 (__internal_endnetgrent): ... this. Add internal_function to
13310 definition. Add libc_hidden_def.
13311 (endnetgrent): Update caller.
13312 (internal_getnetgrent_r): Renamed to ...
13313 (__internal_getnetgrent_r): ... this. Add internal_function to
13314 definition. Add libc_hidden_def.
13315 (__getnetgrent_r): Update caller.
13316 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
13317
c3c8283c
JM
133182012-08-16 Joseph Myers <joseph@codesourcery.com>
13319
13320 * stdlib/longlong.h: Update from GCC.
13321
db1ee0a8
RM
133222012-08-16 Roland McGrath <roland@hack.frob.com>
13323
13324 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
13325 on _QL, which is set by umul_ppmm but never used.
13326 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
13327 variables, which are set by GMP macros but never used.
13328 * stdio-common/_itowa.c (_itowa): Likewise.
13329 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
13330 * stdlib/mod_1.c (mpn_mod_1): Likewise.
13331
30f69637
CD
133322012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
13333
13334 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
13335 struct La_sh_regs is not constant.
13336 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
13337 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
13338 and struct La_sparc64_regs are not constant.
13339
93a78ac4
JM
133402012-08-16 Joseph Myers <joseph@codesourcery.com>
13341
13342 * sysdeps/unix/sysv/linux/kernel-features.h
13343 (__ASSUME_POSIX_TIMERS): Remove.
13344 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13345 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13346 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
13347 Make code unconditional.
13348 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13349 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
13350 Make code unconditional.
13351 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13352 * sysdeps/unix/sysv/linux/clock_nanosleep.c
13353 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
13354 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13355 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
13356 Make code unconditional.
13357 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13358 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
13359 (__libc_missing_posix_timers): Remove.
13360
dd924cd7
RM
133612012-08-15 Roland McGrath <roland@hack.frob.com>
13362
4b4f2771
RM
13363 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
13364 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
13365
601c888b
RM
13366 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
13367
176790a7
RM
13368 * elf/dl-sym.c: Include <stdlib.h>.
13369
329bc018
RM
13370 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
13371 constants, which avoids warnings in 32-bit builds.
13372
e04e272d
RM
13373 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
13374 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
13375
952bf94a
RM
13376 * misc/lseek.c: File moved to ...
13377 * io/lseek.c: ... here.
13378
7c99b50a
RM
13379 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
13380
dd924cd7
RM
13381 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
13382 shifting LEN more than 31 bits at once.
13383
b3f479a8
LD
133842012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13385
13386 [BZ #14195]
8c4ae0d4
RM
13387 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
13388 segmentation fault for a case of two empty input strings.
b3f479a8
LD
13389 * string/test-strncasecmp.c (check1): Renamed to...
13390 (bz12205): ...this.
13391 (bz14195): Add new testcase for two empty input strings and N > 0.
13392 (test_main): Call new testcase, adapt for renamed function.
13393
9c55864e
AJ
133942012-08-15 Andreas Jaeger <aj@suse.de>
13395
13396 [BZ #14090]
13397 * crypt/md5test2.c: New test, based on test supplied by Serge
13398 Belyshev <belyshev@depni.sinp.msu.ru>.
13399 * crypt/Makefile (xtests): Add md5test-giant..
13400 * crypt/Makefile ($(objpfx)md5test-giant): Add.
13401
02dcb6c5
PE
134022012-08-15 Paul Eggert <eggert@cs.ucla.edu>
13403
13404 [BZ #14090]
13405 * crypt/md5.c (md5_process_block): Don't assume the buffer
13406 length is less than 2**32.
13407 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
13408 length is less than 2**64.
13409
a3f95dcc
RM
134102012-08-15 Roland McGrath <roland@hack.frob.com>
13411
be75d758
RM
13412 * string/str-two-way.h: Include <sys/param.h>.
13413 (MAX): Macro removed.
13414
7312ca90
RM
13415 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
13416 Move #define and #undef of memmove to just before and after
13417 including <string.h>.
13418
9a0a5486
RM
13419 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
13420 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
13421 and after including <string.h>. Move declarations of
13422 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
13423 to before #include "string/memmove.c".
13424
67cc348d
RM
13425 * include/dirent.h: Declare __getdirentries.
13426
a3f95dcc
RM
13427 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
13428 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
13429
ca98e171
MF
134302012-08-14 Mike Frysinger <vapier@gentoo.org>
13431
13432 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
13433 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
13434 * sysdeps/i386/configure: Regenerated.
13435 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
13436 STABS_CURRENT_FILE, and STABS_FUN.
13437 (END): Remove call to STABS_FUN_END.
13438 (STABS_CURRENT_FILE1): Delete.
13439 (STABS_CURRENT_FILE): Likewise.
13440 (STABS_FUN): Likewise.
13441 (STABS_FUN_END): Likewise.
13442 (STABS_FUN2): Likewise.
13443 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
13444 * sysdeps/x86_64/configure: Regenerated.
13445
5908bf46
RM
134462012-08-14 Roland McGrath <roland@hack.frob.com>
13447
13448 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 13449 * elf/dl-lookup.c: Likewise.
5908bf46 13450
f2c05b9e
JM
134512012-08-14 Joseph Myers <joseph@codesourcery.com>
13452
13453 * sysdeps/unix/sysv/linux/kernel-features.h
13454 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
13455 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
13456 unconditionally.
13457 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
13458 unconditionally.
13459 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
13460 condition on __ASSUME_CLONE_THREAD_FLAGS.
13461
e11f5155
AJ
134622012-08-14 Andreas Jaeger <aj@suse.de>
13463
13464 * sysdeps/i386/fpu/libm-test-ulps: Update.
13465
51a9ba86
MK
134662012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
13467
2fdd4f78
AJ
13468 * include/atomic.h (atomic_exchange_and_add): Split into ...
13469 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
13470 New atomic macros.
51a9ba86 13471
ba6cba9e
MT
134722012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
13473
13474 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13475
42443a47
JL
134762012-08-13 Jeff Law <law@redhat.com>
13477
13478 * manual/stdio.texi (snprintf): Clarify handling of the trailing
13479 null byte in the output string.
13480
121dce05
JM
134812012-08-10 Joseph Myers <joseph@codesourcery.com>
13482
13483 * sysdeps/unix/sysv/linux/kernel-features.h
13484 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
13485 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
13486 (__ASSUME_ARG_MAX_STACK_BASED): Define.
13487 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
13488 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
13489 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
13490 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
13491
bf51f568
JL
134922012-08-09 Jeff Law <law@redhat.com>
13493
13494 [BZ #13939]
13495 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
13496 When avoid_arena is set, don't retry in the that arena. Pick the
13497 next one, whatever it might be.
13498 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
13499 (arena_lock): Pass in new parameter to arena_get2.
13500 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
13501 arena_get2.
13502 (__libc_malloc): Unify retrying after main arena failure with
13503 __libc_memalign version.
13504 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
13505
f85fa270
L
135062012-08-09 H.J. Lu <hongjiu.lu@intel.com>
13507
13508 [BZ #14166]
13509 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
13510 to __redirect_strstr.
13511 (__strstr_sse42): Use typeof __redirect_strstr.
13512 (__strstr_ia32): Likewise.
13513 (__libc_strstr): New prototype.
13514 (strstr): Renamed to ...
13515 (__libc_strstr): This.
13516 (strstr): New strong alias of __libc_strstr.
13517 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
13518 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
13519 __redirect_time.
13520 Include <time.h>.
13521 (__libc_time): New prototype.
13522 (time_ifunc): Replace time with __libc_time.
13523 (time): New strong alias and hidden definition of __libc_time.
13524 (__GI_time): Remove strong alias.
13525 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
13526 Include <stddef.h>.
13527 (memmove): Redefined to __redirect_memmove.
13528 (__memmove_sse2): Use typeof __redirect_memmove.
13529 (__memmove_ssse3): Likewise.
13530 (__memmove_ssse3_back): Likewise.
13531 (__libc_memmove): New prototype.
13532 (memmove): Renamed to ...
13533 (__libc_memmove): This.
13534 (memmove): New strong alias of __libc_memmove.
13535
33b4a91e
MS
135362012-08-08 Mark Salter <msalter@redhat.com>
13537
13538 * elf/elf.h
13539 (R_MN10300_TLS_GD): Define.
13540 (R_MN10300_TLS_LD): Likewise.
13541 (R_MN10300_TLS_LDO): Likewise.
13542 (R_MN10300_TLS_GOTIE): Likewise.
13543 (R_MN10300_TLS_IE): Likewise.
13544 (R_MN10300_TLS_LE): Likewise.
13545 (R_MN10300_TLS_DTPMOD): Likewise.
13546 (R_MN10300_TLS_DTPOFF): Likewise.
13547 (R_MN10300_TLS_TPOFF): Likewise.
13548 (R_MN10300_SYM_DIFF): Likewise.
13549 (R_MN10300_ALIGN): Likewise.
13550 (R_MN10300_NUM): Update.
13551
b36137f1
JM
135522012-08-08 Joseph Myers <joseph@codesourcery.com>
13553
13554 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
13555 Remove.
13556
cdd915fd
RM
135572012-08-08 Roland McGrath <roland@hack.frob.com>
13558
a2433aac
RM
13559 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
13560
cdd915fd
RM
13561 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
13562 sysdeps/unix -> sysdeps/posix move.
13563 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
13564
bf9b740a
AM
135652012-08-07 Allan McRae <allan@archlinux.org>
13566
13567 [BZ #14303]
13568 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
13569 (SUNOS_CPP): Likewise.
13570 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
13571 not found.
13572 (open_input): Call CPP using execvp.
13573
93df14ee
JM
135742012-08-07 Joseph Myers <joseph@codesourcery.com>
13575
13576 * sysdeps/unix/sysv/linux/kernel-features.h
13577 (__ASSUME_PROT_GROWSUPDOWN): Remove.
13578 (__ASSUME_NO_CLONE_DETACHED): Likewise.
13579 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
13580 (__ASSUME_WAITID_SYSCALL): Likewise.
13581 * sysdeps/unix/sysv/linux/dl-execstack.c
13582 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
13583 code unconditional.
13584 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
13585 conditional code.
13586 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
13587 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
13588 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
13589 code.
13590 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
13591 unconditional.
13592 [__ASSUME_WAITID_SYSCALL]: Likewise.
13593 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
13594
d34689de
RM
135952012-08-07 Roland McGrath <roland@hack.frob.com>
13596
a281decc
RM
13597 * sysdeps/unix/closedir.c: Renamed to ...
13598 * sysdeps/posix/closedir.c: ... here.
13599 * sysdeps/unix/dirfd.c: Renamed to ...
13600 * sysdeps/posix/dirfd.c: ... here.
13601 * sysdeps/unix/dirstream.h: Renamed to ...
13602 * sysdeps/posix/dirstream.h: ... here.
13603 * sysdeps/unix/fdopendir.c: Renamed to ...
13604 * sysdeps/posix/fdopendir.c: ... here.
13605 * sysdeps/unix/opendir.c: Renamed to ...
13606 * sysdeps/posix/opendir.c: ... here.
13607 * sysdeps/unix/readdir.c: Renamed to ...
13608 * sysdeps/posix/readdir.c: ... here.
13609 * sysdeps/unix/readdir_r.c: Renamed to ...
13610 * sysdeps/posix/readdir_r.c: ... here.
13611 * sysdeps/unix/rewinddir.c: Renamed to ...
13612 * sysdeps/posix/rewinddir.c: ... here.
13613 * sysdeps/unix/seekdir.c: Renamed to ...
13614 * sysdeps/posix/seekdir.c: ... here.
13615 * sysdeps/unix/telldir.c: Renamed to ...
13616 * sysdeps/posix/telldir.c: ... here.
13617 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
13618 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
13619 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
13620 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
13621
22895b47
RM
13622 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
13623 * bits/fcntl.h: ... here.
13624
707a53b6
RM
13625 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
13626 not 0.
13627 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
13628 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
13629 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
13630 (struct flock): Move l_start, l_len to the beginning.
13631 Use __pid_t for l_pid.
13632 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
13633 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
13634 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
13635 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
13636 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
13637 [__USE_LARGEFILE64] (struct flock64): New type.
13638 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
13639
f0bd3e25
RM
13640 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
13641 * bits/dirent.h: ... here.
13642
d34689de
RM
13643 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
13644 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
13645
6dad2c06
JM
136462012-08-07 Joseph Myers <joseph@codesourcery.com>
13647
13648 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
13649 Change from 2.6.0 to 2.6.16.
13650 * sysdeps/unix/sysv/linux/configure: Regenerated.
13651 * sysdeps/unix/sysv/linux/kernel-features.h
13652 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
13653 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
13654 version.
13655 (__ASSUME_UTIMES): Likewise.
13656 (__ASSUME_CLONE_STOPPED): Remove.
13657 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
13658 architectures, not kernel version.
13659 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
13660 (__ASSUME_NO_CLONE_DETACHED): Likewise.
13661 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
13662 (__ASSUME_WAITID_SYSCALL): Likewise.
13663 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
13664 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
13665 * README: State 2.6.16 as minimum Linux kernel version. Do not
13666 refer to older versions.
13667
03af9520
RM
136682012-08-06 Roland McGrath <roland@hack.frob.com>
13669
8e49df1d
RM
13670 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
13671 Define alphasort64 as an alias.
13672 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
13673 Define versionsort64 as an alias.
13674 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
13675 Define scandir64 as an alias.
13676 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
13677 Define scandirat64 as an alias.
13678 * dirent/alphasort64.c (alphasort64):
13679 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
13680 * dirent/versionsort64.c: Likewise.
13681 * dirent/scandir64.c: Likewise.
13682 * dirent/scandirat64.c: Likewise.
13683 * sysdeps/wordsize-64/alphasort.c: File removed.
13684 * sysdeps/wordsize-64/alphasort64.c: File removed.
13685 * sysdeps/wordsize-64/scandir.c: File removed.
13686 * sysdeps/wordsize-64/scandir64.c: File removed.
13687 * sysdeps/wordsize-64/scandirat.c: File removed.
13688 * sysdeps/wordsize-64/scandirat64.c: File removed.
13689 * sysdeps/wordsize-64/versionsort.c: File removed.
13690 * sysdeps/wordsize-64/versionsort64.c: File removed.
13691 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
13692 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
13693 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
13694 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
13695 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
13696 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
13697 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
13698 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
13699
13700 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
13701 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
13702 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
13703 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13704 [defined __arch64__ || defined __sparcv9]
13705 (__INO_T_MATCHES_INO64_T): New macro.
13706 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
13707 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
13708 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
13709 * sysdeps/unix/sysv/linux/bits/dirent.h
13710 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
13711 (_DIRENT_MATCHES_DIRENT64): New macro.
13712
03af9520
RM
13713 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
13714 Define lockf64 as an alias.
13715 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
13716 Define fseeko64 as an alias.
13717 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
13718 Define ftello64 as an alias.
13719 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
13720 Define _IO_fgetpos64 and fgetpos64 as aliases.
13721 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
13722 Define _IO_fsetpos64 and fsetpos64 as aliases.
13723 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
13724 Conditionalize body on this.
13725 * libio/fseeko64.c: Likewise.
13726 * libio/ftello64.c: Likewise.
13727 * libio/iofgetpos64.c: Likewise.
13728 * libio/iofsetpos64.c: Likewise.
13729 * sysdeps/wordsize-64/lockf.c: File removed.
13730 * sysdeps/wordsize-64/lockf64.c: File removed.
13731 * sysdeps/wordsize-64/fseeko.c: File removed.
13732 * sysdeps/wordsize-64/fseeko64.c: File removed.
13733 * sysdeps/wordsize-64/ftello.c: File removed.
13734 * sysdeps/wordsize-64/ftello64.c: File removed.
13735 * sysdeps/wordsize-64/iofgetpos.c: File removed.
13736 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
13737 * sysdeps/wordsize-64/iofsetpos.c: File removed.
13738 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
13739 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
13740 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
13741 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
13742 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
13743 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
13744 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
13745 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
13746 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
13747 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
13748 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
13749
13750 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
13751 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
13752 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
13753 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13754 [defined __arch64__ || defined __sparcv9]
13755 (__OFF_T_MATCHES_OFF64_T): New macro.
13756 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
13757 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
13758 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13759 (__OFF_T_MATCHES_OFF64_T): New macro.
13760
c5757acd
L
137612012-08-06 H.J. Lu <hongjiu.lu@intel.com>
13762
13763 * stdlib/secure-getenv.c (__secure_getenv): Replace
13764 GLIBC_2_16 with GLIBC_2_17.
13765
3a31811e
L
137662012-08-06 H.J. Lu <hongjiu.lu@intel.com>
13767
13768 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
13769 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
13770
faa2bccb
DM
137712012-08-03 David S. Miller <davem@davemloft.net>
13772
13773 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13774
85fe1997
JM
137752012-08-03 Joseph Myers <joseph@codesourcery.com>
13776
13777 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
13778 Remove.
13779 (__ASSUME_CORRECT_SI_PID): Likewise.
13780 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
13781 (__ASSUME_TMPFS_NAME): Likewise.
13782 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
13783 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
13784 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
13785 (HAVE_AUX_SECURE): Make definition unconditional.
13786 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
13787 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
13788
4f75b7a0
RM
137892012-08-03 Roland McGrath <roland@hack.frob.com>
13790
13791 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
13792 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
13793 * sysdeps/mach/hurd/eloop-threshold.h: New file.
13794 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
13795 __eloop_threshold instead of SYMLOOP_MAX.
13796
13797 * sysdeps/generic/eloop-threshold.h: New file.
13798 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
13799 of MAXSYMLINKS.
13800 * elf/chroot_canon.c (chroot_canon): Likewise.
13801
7aab07e4
JM
138022012-08-03 Joseph Myers <joseph@codesourcery.com>
13803
13804 [BZ #13717]
13805 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
13806 Change to 2.6.0 everywhere.
13807 * sysdeps/unix/sysv/linux/configure: Regenerated.
13808 * sysdeps/unix/sysv/linux/kernel-features.h
13809 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
13810 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
13811 kernel versions.
13812 (__ASSUME_POSIX_TIMERS): Define unconditionally.
13813 (__ASSUME_FUTEX_REQUEUE): Remove.
13814 (__ASSUME_STATFS64): Define unconditionally.
13815 (__ASSUME_AT_SECURE): Likewise.
13816 (__ASSUME_CORRECT_SI_PID): Likewise.
13817 (__ASSUME_TGKILL): Define without depending on kernel version for
13818 i386.
13819 (__ASSUME_UTIMES): Likewise.
13820 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
13821 kernel version.
13822 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
13823 (__ASSUME_TMPFS_NAME): Likewise.
13824 * README: Update reference to Linux kernel versions.
13825
b67e9372
MP
138262012-08-02 Marek Polacek <polacek@redhat.com>
13827
1f529f7d 13828 [BZ# 14150]
b67e9372
MP
13829 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
13830 libc_cv_asm_type_prefix with %.
13831 * configure: Regenerated.
d2441631
RM
13832 * include/libc-symbols.h: Remove comment about
13833 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
13834 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
13835 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
13836 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
13837 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
13838 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
13839 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
13840 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
13841 * elf/tst-unique2mod1.c: Likewise.
13842 * elf/tst-unique1mod2.c: Likewise.
13843 * elf/tst-unique1mod1.c: Likewise.
13844 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
13845 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
13846 Replace ASM_TYPE_DIRECTIVE with .type.
13847 * sysdeps/s390/s390-64/sysdep.h: Likewise.
13848 * sysdeps/i386/sysdep.h: Likewise.
13849 * sysdeps/x86_64/sysdep.h: Likewise.
13850 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
13851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
13852 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 13853 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
13854 * sysdeps/powerpc/powerpc32/sysdep.h:
13855 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
13856 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
13857 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
13858 * sysdeps/i386/fpu/e_powf.S: Likewise.
13859 * sysdeps/i386/fpu/e_expl.S: Likewise.
13860 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
13861 * sysdeps/i386/fpu/e_acosh.S: Likewise.
13862 * sysdeps/i386/fpu/e_pow.S: Likewise.
13863 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
13864 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
13865 * sysdeps/i386/fpu/s_expm1.S: Likewise.
13866 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
13867 * sysdeps/i386/fpu/e_log2.S: Likewise.
13868 * sysdeps/i386/fpu/e_log2l.S: Likewise.
13869 * sysdeps/i386/fpu/e_scalb.S: Likewise.
13870 * sysdeps/i386/fpu/e_powl.S: Likewise.
13871 * sysdeps/i386/fpu/e_log10f.S: Likewise.
13872 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
13873 * sysdeps/i386/fpu/e_logl.S: Likewise.
13874 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
13875 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
13876 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
13877 * sysdeps/i386/fpu/e_log2f.S: Likewise.
13878 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
13879 * sysdeps/i386/fpu/e_log.S: Likewise.
13880 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
13881 * sysdeps/i386/fpu/e_logf.S: Likewise.
13882 * sysdeps/i386/fpu/e_log10l.S: Likewise.
13883 * sysdeps/i386/fpu/e_atanh.S: Likewise.
13884 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
13885 * sysdeps/i386/fpu/e_log10.S: Likewise.
13886 * sysdeps/i386/fpu/s_frexp.S: Likewise.
13887 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
13888 * sysdeps/i386/fpu/s_asinh.S: Likewise.
13889 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
13890 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
13891 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
13892 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
13893 * sysdeps/i386/i686/strtok.S: Likewise.
13894 * sysdeps/i386/i386-mcount.S: Likewise.
13895 * sysdeps/i386/strtok.S: Likewise.
13896 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
13897 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
13898 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13899 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
13900 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
13901 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
13902 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
13903 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
13904 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
13905 * sysdeps/x86_64/_mcount.S: Likewise.
13906 * sysdeps/x86_64/strtok.S: Likewise.
13907 * sysdeps/sh/_mcount.S: Likewise.
13908
2747bf9a
RM
139092012-08-01 Roland McGrath <roland@hack.frob.com>
13910
13911 * libio/iofopen.c: Include <fcntl.h>.
13912 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
13913 (_IO_fopen64, fopen64): Define as aliases.
13914 * libio/iofopen64.c: Include <fcntl.h>.
13915 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
13916 Conditionalize body on this.
13917 * sysdeps/wordsize-64/iofopen.c: File removed.
13918 * sysdeps/wordsize-64/iofopen64.c: File removed.
13919
3fb791b8
MP
139202012-08-01 Marek Polacek <polacek@redhat.com>
13921
13922 * libc/Makeconfig: Use elf in place of binfmt-subdir.
13923 Use dlfcn directly instead of a variable.
13924 (binfmt-subdir): Do not define.
13925 (dlfcn): Likewise.
13926
a9f1039f
JM
139272012-08-01 Joseph Myers <joseph@codesourcery.com>
13928
23bddc06
JM
13929 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
13930 Remove all definitions.
13931 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
13932 <kernel-features.h>.
13933 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
13934 (miss_F_GETOWN_EX): Remove all definitions.
13935 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
13936 macro definition.
13937 [!__ASSUME_FCNTL64]: Remove conditional code.
13938 [__ASSUME_FCNTL64]: Make code unconditional.
13939 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
13940 <kernel-features.h>.
13941 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
13942 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
13943 (lockf64) [__NR_fcntl64]: Make code unconditional.
13944 (lockf64) [__ASSUME_FCNTL64]: Likewise.
13945
a9f1039f
JM
13946 * sysdeps/unix/sysv/linux/kernel-features.h
13947 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
13948 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
13949 Make code unconditional.
13950 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
13951 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
13952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
13953 [__NR_vfork]: Make code unconditional.
13954 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
13955 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
13956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
13957 [__NR_vfork]: Make code unconditional.
13958 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
13959 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
13960
09c0ee5f
RM
139612012-08-01 Roland McGrath <roland@hack.frob.com>
13962
48aec5b9
RM
13963 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
13964 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
13965
cd97c966
RM
13966 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
13967 Define mkstemp64 as an alias.
3f55550c
RM
13968 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
13969 Define mkstemps64 as an alias.
cd97c966
RM
13970 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
13971 Define mkostemp64 as an alias.
b8625cfc
RM
13972 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
13973 Define mkostemps64 as an alias.
cd97c966
RM
13974 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
13975 Conditionalize body on this.
13976 * misc/mkostemp64.c: Likewise.
b8625cfc 13977 * misc/mkostemps64.c: Likewise.
3f55550c 13978 * misc/mkstemps64.c: Likewise.
cd97c966
RM
13979 * sysdeps/wordsize-64/mkstemp64.c: File removed.
13980 * sysdeps/wordsize-64/mkostemp64.c: File removed.
13981 * sysdeps/wordsize-64/mkostemp.c: File removed.
13982 * sysdeps/wordsize-64/mkstemp.c: File removed.
13983 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
13984 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
13985 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
13986 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
13987
09c0ee5f
RM
13988 [BZ #14138]
13989 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
13990 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
13991 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
13992 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
13993
13994 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
13995 compat_symbol macros from <shlib-compat.h> rather than the underlying
13996 default_symbol_version and symbol_version macros, so that DEFAULT
13997 lines in shlib-versions are respected.
13998 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
13999
7e66ee51
FW
140002012-08-01 Florian Weimer <fweimer@redhat.com>
14001
14002 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
14003 Declare with warn_unused_result.
14004 (setgid, setregid, setegid, setresgid): Likewise.
14005 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
14006 Likewise.
14007 * WUR-REPORT: Remove set*id functions.
14008
d2a54255
PT
140092012-07-31 Pino Toscano <toscano.pino@tiscali.it>
14010
14011 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
14012
7ecdb005
RM
140132012-07-31 Roland McGrath <roland@hack.frob.com>
14014
b4180a5e 14015 [BZ #10191]
789bd351
RM
14016 * include/sys/socket.h (__libc_accept, __libc_accept4):
14017 Add attribute_hidden.
14018 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
14019
40ce302d
RM
14020 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
14021 use of PTR_MANGLE.
14022 * inet/getnetgrent_r.c (setup): Likewise.
14023
7ecdb005
RM
14024 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
14025
e2eabb2c
DM
140262012-07-31 David S. Miller <davem@davemloft.net>
14027
14028 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14029
d0419dbf
JM
140302012-07-31 Joseph Myers <joseph@codesourcery.com>
14031
14032 [BZ #13629]
14033 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
14034 value between 1.0 and 2.0 and smaller part has absolute value less
14035 than 1.0.
14036 * math/s_clog10.c (__clog10): Likewise.
14037 * math/s_clog10f.c (__clog10f): Likewise.
14038 * math/s_clog10l.c (__clog10l): Likewise.
14039 * math/s_clogf.c (__clogf): Likewise.
14040 * math/s_clogl.c (__clogl): Likewise.
14041 * math/libm-test.inc (clog_test): Add more tests.
14042 (clog10_test): Likewise.
14043 * sysdeps/i386/fpu/libm-test-ulps: Update.
14044 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14045
2bc13872
FW
140462012-07-31 Florian Weimer <fweimer@redhat.com>
14047
14048 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
14049 Exit with zero in case no suitable GID is found, and write a
14050 message to standard error.
14051
bea9b193
RM
140522012-07-30 Roland McGrath <roland@hack.frob.com>
14053
14054 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
14055 rather than to 1.
14056 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
14057 (MAXPATHLEN): Removed.
14058 (NOGROUP, NODEV): New macros.
14059 (setbit, clrbit, isset, isclr): New macros.
14060 (howmany, roundup, powerof2): New macros.
14061 (DEV_BSIZE): New macro.
14062
14063 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
14064 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
14065
14066 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
14067 definition on [!__NO_LONG_DOUBLE_MATH].
14068
14069 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
14070 PTR_MANGLE and PTR_DEMANGLE.
14071
14072 * socket/accept4.c (accept4): Rename to __libc_accept4.
14073 Define accept4 as a weak alias.
14074
14075 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
14076 on [_DIRENT_HAVE_D_TYPE].
14077 * io/ftw.c (ftw_dir): Likewise.
14078
14079 * io/xmknod.c (__xmknod): Don't check PATH for being null.
14080
14081 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
14082
14083 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
14084 Use the BSD numbers rather than the arbitrary ones we had.
14085 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
14086 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
14087 (SIGXCPU, SIGXFSZ): New macros.
14088 (_NSIG): Now 32.
14089
14090 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
14091 initializer on [_LIBC_REENTRANT].
14092
14093 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
14094 definitions inside [_POSIX_MAPPED_FILES].
14095
14096 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
14097
14098 * dirent/opendir.c: Include <fcntl.h>.
14099
14100 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
14101 (__libc_getspecific): Likewise.
14102 (__libc_key_create): Likewise.
14103
14104 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
14105 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
14106 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
14107 (tmpfile64): Define as alias.
14108 * sysdeps/wordsize-64/tmpfile.c: File removed.
14109 * sysdeps/wordsize-64/tmpfile64.c: File removed.
14110 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
14111 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
14112
14113 * stdio-common/vfscanf.c: Include <stdbool.h>.
14114 * nss/makedb.c: Likewise.
14115 * stdio-common/_i18n_number.h: Likewise.
14116 * argp/argp-help.c: Likewise.
14117 * posix/wordexp.c: Likewise.
14118 * sysdeps/posix/spawni.c: Likewise.
14119 * nss/nss_files/files-initgroups.c: Likewise.
14120 * stdio-common/reg-modifier.c: Include <stdlib.h>.
14121 * nss/nss_files/files-initgroups.c: Likewise.
14122 * nss/nss_db/db-netgrp.c: Likewise.
14123 * nss/nss_db/db-initgroups.c: Likewise.
14124 * io/fchmodat.c: Include <sys/stat.h>.
14125
14126 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
14127 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
14128
14129 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
14130 [HAVE_MMAP].
14131
14132 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
14133 Add multiple inclusion protection.
14134
e5abc686
DM
141352012-07-27 David S. Miller <davem@davemloft.net>
14136
14137 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14138
815e6fa3
GB
141392012-07-27 Gary Benson <gbenson@redhat.com>
14140
14141 [BZ #14298]
14142 * elf/rtld.c: Include <stap-probe.h>.
14143 (dl_main): Added static probes "init_start" and "init_complete".
14144 * elf/dl-load.c: Include <stap-probe.h>.
14145 (lose): Take new parameter "nsid".
14146 Added static probe "map_failed".
14147 (_dl_map_object_from_fd): Pass namespace id to lose.
14148 Added static probe "map_start".
14149 (open_verify): Pass namespace id to lose.
14150 * elf/dl-open.c: Include <stap-probe.h>.
14151 (dl_open_worker) Added static probes "map_complete", "reloc_start"
14152 and "reloc_complete".
14153 * elf/dl-close.c: Include <stap-probe.h>.
14154 (_dl_close_worker): Added static probes "unmap_start" and
14155 "unmap_complete".
14156 * elf/rtld-debugger-interface.txt: New file documenting the above.
14157
9f98c16c
RM
141582012-07-26 Roland McGrath <roland@hack.frob.com>
14159
14160 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
14161 rather than a string variable.
14162 * sunrpc/rpc_main.c (h_output): Likewise.
14163 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
14164
f3c22df3
PT
141652012-07-26 Pino Toscano <toscano.pino@tiscali.it>
14166
14167 * inet/check_native.c: New file.
14168
3129cfc6
JM
141692012-07-26 Joseph Myers <joseph@codesourcery.com>
14170
da865e95
JM
14171 [BZ #13629]
14172 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
14173 if larger part has absolute value 1.0.
14174 * math/s_clog10.c (__clog10): Likewise.
14175 * math/s_clog10f.c (__clog10f): Likewise.
14176 * math/s_clog10l.c (__clog10l): Likewise.
14177 * math/s_clogf.c (__clogf): Likewise.
14178 * math/s_clogl.c (__clogl): Likewise.
14179 * math/libm-test.inc (clog_test): Add more tests.
14180 (clog10_test): Likewise.
14181 * sysdeps/i386/fpu/libm-test-ulps: Update.
14182 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14183
3129cfc6
JM
14184 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
14185 (pltexit): Likewise.
14186 (La_regs): Likewise.
14187 (La_retval): Likewise.
14188 (int_retval): Likewise.
14189 Update #error for removed macros to refer only to definitions in
14190 tst-audit.h.
14191 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
14192 macro.
14193 (pltexit): Likewise.
14194 (La_regs): Likewise.
14195 (La_retval): Likewise.
14196 (int_retval): Likewise.
14197 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
14198 macro.
14199 (pltexit): Likewise.
14200 (La_regs): Likewise.
14201 (La_retval): Likewise.
14202 (int_retval): Likewise.
14203 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
14204 macro.
14205 (pltexit): Likewise.
14206 (La_regs): Likewise.
14207 (La_retval): Likewise.
14208 (int_retval): Likewise.
14209 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
14210 macro.
14211 (pltexit): Likewise.
14212 (La_regs): Likewise.
14213 (La_retval): Likewise.
14214 (int_retval): Likewise.
14215 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
14216 macro.
14217 (pltexit): Likewise.
14218 (La_regs): Likewise.
14219 (La_retval): Likewise.
14220 (int_retval): Likewise.
14221 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
14222 macro.
14223 (pltexit): Likewise.
14224 (La_regs): Likewise.
14225 (La_retval): Likewise.
14226 (int_retval): Likewise.
14227 * sysdeps/generic/tst-audit.h: Update comment to refer only to
14228 macro definitions in tst-audit.h.
14229 * sysdeps/i386/tst-audit.h: New file.
14230 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
14231 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
14232 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
14233 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
14234 * sysdeps/sh/tst-audit.h: Likewise.
14235 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
14236 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
14237 * sysdeps/x86_64/tst-audit.h: Likewise.
14238
bfc07087
AJ
142392012-07-26 Andreas Jaeger <aj@suse.de>
14240
b1b2aaf8
AJ
14241 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
14242 ptrace.
14243
14244 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
14245 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
14246 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
14247 PTRACE_O_MASK.
14248 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
14249 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
14250 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
14251
bfc07087
AJ
14252 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
14253 value.
14254
14255 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
14256 _sigsys.
14257 (si_call_addr, si_syscall, si_arch): Define new macro.
14258 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
14259 _sigsys.
14260 (si_call_addr, si_syscall, si_arch): Define new marcro.
14261 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
14262 _sigsys.
14263 (si_call_addr, si_syscall, si_arch): Define new macro.
14264 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
14265 _sigsys.
14266 (si_call_addr, si_syscall, si_arch): Define new macro.
14267
89b4b02f
JM
142682012-07-25 Joseph Myers <joseph@codesourcery.com>
14269
14270 [BZ #13717]
14271 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14272 Change to 2.4.21 where previously 2.4.1.
14273 * sysdeps/unix/sysv/linux/configure: Regenerated.
14274 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
14275 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
14276 Linux kernel version.
14277 (__ASSUME_STD_AUXV): Remove.
14278 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
14279 kernel version.
14280 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
14281 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
14282 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
14283 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
14284 (__ASSUME_NETLINK_SUPPORT): Likewise.
14285 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
14286 (__no_netlink_support): Remove conditional definition.
14287 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
14288 Remove.
14289 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
14290 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
14291 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
14292 (if_nameindex_ioctl): Remove.
14293 (if_nameindex_netlink): Do not handle __no_netlink_support.
14294 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
14295 code.
14296 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
14297 Remove conditional code.
14298 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
14299 code.
14300 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
14301 unconditional.
14302 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
14303 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
14304 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
14305 Remove.
14306 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
14307 [!__ASSUME_STD_AUXV]: Remove conditional code.
14308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
14309 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
14310 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
14311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
14312 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
14313 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
14314 code.
14315 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
14316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14317 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
14318 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
14319 conditional code.
14320 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
14321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
14322 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
14323 code.
14324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14325 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
14326 conditional code.
14327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
14328 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14329 code unconditional.
14330 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14331 conditional code.
14332 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14333 unconditional.
14334 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14335 conditional code.
14336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14337 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14338 unconditional.
14339 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14340 conditional code.
14341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
14342 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14343 code unconditional.
14344 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14345 conditional code.
14346 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14347 unconditional.
14348 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14349 conditional code.
14350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
14351 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14352 code unconditional.
14353 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14354 conditional code.
14355 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14356 unconditional.
14357 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14358 conditional code.
14359
842a39cd
AS
143602012-07-25 Andreas Schwab <schwab@linux-m68k.org>
14361
14362 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
14363 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
14364 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
14365 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
14366 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
14367 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
14368 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
14369 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
14370 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
14371 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
14372 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
14373 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
14374 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
14375 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
14376 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
14377 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
14378 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
14379 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
14380 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
14381 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
14382 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
14383 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
14384 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
14385
84b3fd84
FW
143862012-07-25 Florian Weimer <fweimer@redhat.com>
14387
14388 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
14389 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
14390 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
14391 Introduce __libc_secure_getenv.
0c7936d5
FW
14392 * stdlib/Versions (2.17): Add secure_getenv
14393 (GLIBC_PRIVATE): Add __libc_secure_getenv.
14394 * stdlib/secure-getenv.c: Rename __secure_getenv to
14395 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
14396 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
14397 * stdlib/tst-secure-getenv.c: New.
14398 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
14399 * manual/startup.texi (Environment Access): Document
14400 secure_getenv.
84b3fd84
FW
14401 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
14402 __libc_secure_getenv.
14403 * inet/ruserpass.c (ruserpass): Likewise.
14404 * malloc/mtrace.c (mtrace): Likewise.
14405 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 14406 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
14407 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
14408 * sysdeps/posix/tempname.c: Likewise. Evaluate
14409 HAVE_SECURE_GETENV.
14410 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 14411 __secure_getenv to __libc_secure_getenv.
84b3fd84 14412 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
14413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14414 Likewise.
14415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14416 Likewise.
14417 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
14418 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
14419 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
14420 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
14421 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
14422 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
14423 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 14424
56e49b71
JM
144252012-07-25 Joseph Myers <joseph@codesourcery.com>
14426
14427 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
14428 (struct La_i86_retval): Likewise.
14429 (struct La_x86_64_regs): Likewise.
14430 (struct La_x86_64_retval): Likewise.
14431 (struct La_x32_regs): Likewise.
14432 (struct La_x32_retval): Likewise.
14433 (struct La_ppc32_regs): Likewise.
14434 (struct La_ppc32_retval): Likewise.
14435 (struct La_ppc64_regs): Likewise.
14436 (struct La_ppc64_retval): Likewise.
14437 (struct La_sh_regs): Likewise.
14438 (struct La_sh_retval): Likewise.
14439 (struct La_s390_32_regs): Likewise.
14440 (struct La_s390_32_retval): Likewise.
14441 (struct La_s390_64_regs): Likewise.
14442 (struct La_s390_64_retval): Likewise.
14443 (struct La_sparc32_regs): Likewise.
14444 (struct La_sparc32_retval): Likewise.
14445 (struct La_sparc64_regs): Likewise.
14446 (struct La_sparc64_retval): Likewise.
14447 (struct audit_ifaces): Remove architecture-specific pltenter and
14448 pltexit members.
14449 * sysdeps/i386/ldsodefs.h: New file.
14450 * sysdeps/powerpc/ldsodefs.h: Likewise.
14451 * sysdeps/s390/ldsodefs.h: Likewise.
14452 * sysdeps/sh/ldsodefs.h: Likewise.
14453 * sysdeps/sparc/ldsodefs.h: Likewise.
14454 * sysdeps/x86_64/ldsodefs.h: Likewise.
14455
354691b7
MP
144562012-07-25 Marek Polacek <polacek@redhat.com>
14457
14458 [BZ #6808]
14459 * math/libm-test.inc (yn_test): Add another test.
14460 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
14461 to ERANGE when the result is +-Inf.
14462 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
14463 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
14464 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
14465 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
14466
bf9e2071
JM
144672012-07-24 Joseph Myers <joseph@codesourcery.com>
14468
14469 * conform/data/time.h-data (NULL): Use macro-constant. Require
14470 equal to 0.
14471 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
14472 clock_t.
14473 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
14474
57633811
TS
144752012-07-23 Thomas Schwinge <thomas@codesourcery.com>
14476
14477 * configure.in <sysdeps resolving>: Correct printing
14478 Implies_before.
14479 * configure: Regenerate.
14480
c23c33b0
TS
144812012-07-22 Thomas Schwinge <thomas@codesourcery.com>
14482
14483 * math/w_ilogb.c: Include <limits.h>.
14484 * math/w_ilogbl.c: Likewise.
14485
b5982523
JM
144862012-07-20 Joseph Myers <joseph@codesourcery.com>
14487
14488 * manual/lang.texi (__va_copy): Document primarily as ISO C99
14489 va_copy. Document allowing for unavailable va_copy only as
14490 pre-C99 compatibility.
14491 * manual/string.texi (Copying and Concatenation): Use va_copy
14492 instead of __va_copy in concat example.
14493
ac4ea442
PT
144942012-07-20 Pino Toscano <toscano.pino@tiscali.it>
14495
14496 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
14497 (__sendto): Use create_address_port. Initialize APORT and deallocate
14498 it if not null.
14499
f98eafbd
PT
14500 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
14501 with O_NOLINK passed to __file_name_lookup.
14502
898c7aab
PT
14503 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
14504 with O_NOLINK passed to __file_name_lookup.
14505
0ced335a
PT
14506 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
14507 negative N or less than NGIDS.
14508
b3404dbd
PT
14509 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
14510 type to string_t. Set ERANGE as errno and return it if NAME is not big
14511 enough. Use memcpy instead of strncpy.
14512
0f48659e
JM
145132012-07-20 Joseph Myers <joseph@codesourcery.com>
14514
14515 * elf/Makefile (check-data): Remove.
14516 (localplt.data): New vpath directive.
14517 ($(objpfx)check-localplt.out): Use localplt.data from vpath
14518 instead of $(check-data).
14519 * scripts/data/localplt-generic.data: Move to ...
14520 * sysdeps/generic/localplt.data: ... here.
14521 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
14522 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
14523 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
14524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
14525 ... here.
14526 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
14527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
14528 ... here.
14529 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
14530 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
14531 ... here.
14532 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
14533 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
14534 ... here.
14535 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
14536 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
14537 ... here.
14538 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
14539 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
14540 ... here.
14541
d37cbdaa
AZ
145422012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14543
14544 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
14545 PPC32 and PPC64 files.
14546 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
14547 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
14548
46f85fc2
AK
145492012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14550
14551 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
14552 __makecontext_ret to ...
14553 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
14554 ... here and call exit if uc_link is NULL. New file.
14555 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
14556 __makecontext_ret.S.
14557 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
14558 __makecontext_ret to ...
14559 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
14560 ... here and call exit if uc_link is NULL. New file.
14561 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
14562 __makecontext_ret.S.
14563
08f43f9b
AK
145642012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14565
14566 * elf/elf.h (R_390_IRELATIVE): New definition.
14567 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
14568 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
14569 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
14570 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
14571 (elf_machine_lazy_rel): Likewise.
14572 * sysdeps/s390/dl-irel.h: New file.
14573 * sysdeps/s390/s390-64/memcpy.S: New asm code.
14574 * sysdeps/s390/s390-64/memset.S: New asm code.
14575 * sysdeps/s390/s390-64/memcmp.S: New asm code.
14576 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
14577 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
14578 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
14579 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
14580 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
14581 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
14582 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
14583 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
14584 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
14585 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
14586 * sysdeps/s390/s390-32/memcpy.S: New asm code.
14587 * sysdeps/s390/s390-32/memset.S: New asm code.
14588 * sysdeps/s390/s390-32/memcmp.S: New asm code.
14589
3b05db33
MP
145902012-07-17 Marek Polacek <polacek@redhat.com>
14591
14592 [BZ #14349]
14593 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
14594 * sysdeps/s390/s390-64/configure.in: Likewise.
14595 * sysdeps/sparc/configure.in: Likewise.
14596 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
14597 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
14598 * sysdeps/i386/configure.in: Likewise.
14599 * sysdeps/x86_64/configure.in: Likewise.
14600 * sysdeps/sh/configure.in: Likewise.
14601 * sysdeps/s390/s390-32/configure: Regenerated.
14602 * sysdeps/s390/s390-64/configure: Likewise.
14603 * sysdeps/x86_64/configure: Likewise.
14604 * sysdeps/sh/configure: Likewise.
14605 * sysdeps/powerpc/powerpc64/configure: Likewise.
14606 * sysdeps/powerpc/powerpc32/configure: Likewise.
14607 * sysdeps/sparc/configure: Likwise.
14608 * sysdeps/i386/configure: Likewise.
14609
a66877c6
MP
14610 * elf/dl-open.c: Comment fixes.
14611
cfc82fd8
JM
146122012-07-17 Joseph Myers <joseph@codesourcery.com>
14613
bd29910a
JM
14614 * Makefile [CXX] (check-data): Remove.
14615 [CXX] (c++-types.data): New vpath directive.
14616 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
14617 vpath. Do not allow for C++ type data being missing.
14618 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
14619 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
14620 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
14621 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
14622 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
14623 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
14624 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
14625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
14626 ... here.
14627 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
14628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
14629 ... here.
14630 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
14631 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
14632 ... here.
14633 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
14634 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
14635 ... here.
14636 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
14637 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
14638 ... here.
14639 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
14640 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
14641 ... here.
14642 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
14643 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
14644 ... here.
14645 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
14646 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
14647
cfc82fd8
JM
14648 * elf/tls-macros.h (TLS_LE): Move architecture-specific
14649 definitions to architecture-specific files.
14650 (TLS_IE): Likewise.
14651 (TLS_LD): Likewise.
14652 (TLS_GD): Likewise.
14653 * sysdeps/i386/tls-macros.h: New file.
14654 * sysdeps/powerpc/tls-macros.h: Likewise.
14655 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
14656 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
14657 * sysdeps/sh/tls-macros.h: Likewise.
14658 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
14659 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
14660 * sysdeps/x86_64/tls-macros.h: Likewise.
14661
f7db3170
TS
146622012-07-17 Thomas Schwinge <thomas@codesourcery.com>
14663
07cbfc23
TS
14664 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
14665 zero value for regular exit case.
14666
f7db3170
TS
14667 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
14668 (__start_context): Preserve zero value for regular exit case.
14669
dc97c227
TS
146702012-07-17 Thomas Schwinge <thomas@codesourcery.com>
14671 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14672
14673 * manual/setjmp.texi (setcontext): Clarify normal process
14674 termination when uc_link is the null pointer.
14675 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
14676 exit call.
14677
d0cd7d02
AS
146782012-07-16 Andreas Schwab <schwab@linux-m68k.org>
14679
14680 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
14681 preprocessor. Test for each exception mask separately.
14682
dd318934
AJ
146832012-07-16 Andreas Jaeger <aj@suse.de>
14684
14685 * po/ru.po: Update from translation team.
14686
8048311a
JM
146872012-07-15 Joseph Myers <joseph@codesourcery.com>
14688
14689 * conform/data/string.h-data (NULL): Use macro-constant. Require
14690 equal to 0.
14691 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
14692 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
14693 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
14694 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
14695 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14696
b637d46e
AJ
146972012-07-13 Andreas Jaeger <aj@suse.de>
14698
14699 * po/fr.po: Update from translation team.
14700
541428fe
MP
147012012-07-12 Marek Polacek <polacek@redhat.com>
14702
14703 [BZ #14173]
14704 * math/libm-test.inc (yn_test): Add test for BZ #14173.
14705 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
14706 loop condition.
14707
ec332e94
JM
147082012-07-12 Joseph Myers <joseph@codesourcery.com>
14709
14710 [BZ #13717]
14711 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14712 Change to 2.4.1 where previously 2.4.0.
14713 * sysdeps/unix/sysv/linux/configure: Regenerated.
14714 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
14715 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
14716 version.
14717 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
14718 (__ASSUME_AT_CLKTCK): Remove.
14719 (__ASSUME_AT_PAGESIZE): Likewise.
14720 (__ASSUME_AT_XID): Likewise.
14721 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
14722 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
14723 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
14724 unconditionally.
14725 (HAVE_AUX_PAGESIZE): Likewise.
14726 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
14727 [__ASSUME_AT_CLKTCK]: Make code unconditional.
14728 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
14729
7b6e99be
JB
147302012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
14731
14732 [BZ #14307]
14733 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
14734 the temporary buffer used to invoke __gethostbyname2_r,
14735 __gethostbyaddr_r and gethostbyname4_r to make room for struct
14736 host_data / struct gaih_addrtuple.
14737 * resolv/nss_dns/dns-host.c (global scope): Move definition of
14738 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
14739 header file nss/nsswitch.h.
14740 * nss/nsswitch.h (global scope): Add definition of implementation
14741 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
14742 resolv/nss_dns/dns-host.c).
14743
608404eb
AJ
147442012-07-11 Andreas Jaeger <aj@suse.de>
14745
14746 * po/fr.po: Update from translation team.
14747
71220aca
AJ
14748 * po/sv.po: Update from translation team
14749 * po/fr.po: Another update from translation team.
14750
28cfe843
AZ
147512012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14752
14753 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
14754 for subnormals or multiply small sinh result by itself.
14755 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
14756 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14757
6b90f981
DM
147582012-07-11 David S. Miller <davem@davemloft.net>
14759
14760 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14761
c6825772
AS
147622012-07-10 Andreas Schwab <schwab@linux-m68k.org>
14763
14764 [BZ #14347]
14765 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
14766 (INTERNAL_MARK): Shift it here.
14767
7b8e0d49
MP
147682012-07-10 Marek Polacek <polacek@redhat.com>
14769
14770 [BZ #14151]
14771 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
14772 libc_cv_asm_global_directive with .globl.
14773 * configure: Regenerated.
14774 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
14775 with .globl.
14776 * sysdeps/i386/configure: Regenerated.
14777 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
14778 with .globl.
14779 * sysdeps/x86_64/configure: Regenerated.
14780 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
14781 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
14782 * elf/tst-unique2mod2.c: Likewise.
14783 * elf/tst-unique2mod1.c: Likewise.
14784 * elf/tst-unique1mod2.c: Likewise.
14785 * elf/tst-unique1mod1.c: Likewise.
14786 * sysdeps/s390/s390-32/sysdep.h: Likewise.
14787 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
14788 * sysdeps/s390/s390-64/sysdep.h: Likewise.
14789 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
14790 * sysdeps/mach/sysdep.h: Likewise.
14791 * sysdeps/i386/sysdep.h: Likewise.
14792 * sysdeps/i386/i386-mcount.S: Likewise.
14793 * sysdeps/x86_64/_mcount.S: Likewise.
14794 * sysdeps/x86_64/sysdep.h: Likewise.
14795 * sysdeps/sh/_mcount.S: Likewise.
14796 * sysdeps/sh/sysdep.h: Likewise.
14797 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
14798 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
14799 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
14800 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
14801 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
14802 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
14803 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
14804 * locale/localeinfo.h: Likewise.
14805 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
14806 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
14807
6c55cda3
RM
148082012-07-09 Roland McGrath <roland@hack.frob.com>
14809
14810 [BZ #14336]
14811 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
14812 system".
14813 * manual/message.texi (The Uniforum approach): Likewise.
14814 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
14815 (glibc iconv Implementation): Likewise.
14816
638a572e
JM
148172012-07-09 Joseph Myers <joseph@codesourcery.com>
14818
14819 [BZ #14337]
14820 * math/s_clog.c (__clog): Avoid scaling a value down where that
14821 could result in underflow.
14822 * math/s_clog10.c (__clog10): Likewise.
14823 * math/s_clog10f.c (__clog10f): Likewise.
14824 * math/s_clog10l.c (__clog10l): Likewise.
14825 * math/s_clogf.c (__clogf): Likewise.
14826 * math/s_clogl.c (__clogl): Likewise.
14827 * math/libm-test.inc (clog_test): Add more tests.
14828 (clog10_test): Likewise.
14829 * sysdeps/i386/fpu/libm-test-ulps: Update.
14830 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14831
261f4859
AS
148322012-07-06 Andreas Schwab <schwab@linux-m68k.org>
14833
0abaf3e4
AS
14834 [BZ #14283]
14835 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
14836 by 7 not 8 to examine high bit of fractional part.
14837
261f4859
AS
14838 [BZ #14042]
14839 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
14840 for call to __mcount_internal.
14841 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
14842 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
14843 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
14844
f17ac40d
JM
148452012-07-06 Joseph Myers <joseph@codesourcery.com>
14846
9ad63c23
JM
14847 [BZ #14154]
14848 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
14849 approximation for values within 0x1p-13f of an odd multiple of
14850 pi/4.
14851 * math/libm-test.inc (tan_test): Do not allow spurious underflow
14852 exception. Add more tests.
14853 * sysdeps/i386/fpu/libm-test-ulps: Update.
14854
f17ac40d
JM
14855 [BZ #6778]
14856 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
14857 inputs and return -1 for them. Do not check for +Inf in case not
14858 reachable for +Inf.
14859 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
14860 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
14861 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
14862 and return -1 for them. Do not check for +Inf in case not
14863 reachable for +Inf.
14864 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
14865 define.
14866 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
14867 and return -1 for them. Do not check for +Inf in case not
14868 reachable for +Inf.
14869 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
14870 spurious underflow.
14871 * sysdeps/i386/fpu/libm-test-ulps: Update.
14872 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14873
fb21f89b
MF
148742012-07-06 Mike Frysinger <vapier@gentoo.org>
14875
14876 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
14877
cdfe2c5e
JM
148782012-07-05 Joseph Myers <joseph@codesourcery.com>
14879
14880 [BZ #14157]
14881 [BZ #14331]
14882 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
14883 could result in spurious underflow. Scale down values above
14884 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
14885 * math/s_csqrtf.c (__csqrtf): Likewise.
14886 * math/s_csqrtl.c (__csqrtl): Likewise.
14887 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
14888 spurious underflow.
14889 * sysdeps/i386/fpu/libm-test-ulps: Update.
14890 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14891
70d35b67
AS
148922012-07-04 Andreas Schwab <schwab@linux-m68k.org>
14893
704bc459
AS
14894 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
14895 xopen-msg.sed.
14896 * catgets/xopen-msg.awk: New file.
14897 * catgets/xopen-msg.sed: Removed.
14898
70d35b67
AS
14899 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
14900 po2text.sed.
14901 * intl/po2test.awk: New file.
14902 * intl/po2test.sed: Removed.
14903
ca61cf32
JM
149042012-07-04 Joseph Myers <joseph@codesourcery.com>
14905
14906 [BZ #14328]
14907 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
14908 or multiply small sinh result by itself.
14909 * math/s_ctanf.c (__ctanf): Likewise.
14910 * math/s_ctanh.c (__ctanh): Likewise.
14911 * math/s_ctanhf.c (__ctanhf): Likewise.
14912 * math/s_ctanhl.c (__ctanhl): Likewise.
14913 * math/s_ctanl.c (__ctanl): Likewise.
14914 * math/libm-test.inc (ctan_test_tonearest): New function.
14915 (ctan_test_towardzero): Likewise.
14916 (ctan_test_downward): Likewise.
14917 (ctan_test_upward): Likewise.
14918 (ctanh_test_tonearest): Likewise.
14919 (ctanh_test_towardzero): Likewise.
14920 (ctanh_test_downward): Likewise.
14921 (ctanh_test_upward): Likewise.
14922 (main): Call these new functions.
14923 * sysdeps/i386/fpu/libm-test-ulps: Update.
14924 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14925
ca48a46a
MF
149262012-07-03 Mike Frysinger <vapier@gentoo.org>
14927
14928 * .gitignore: Delete /ports entry.
14929
9d63d37d
AJ
149302012-07-03 Andreas Jaeger <aj@suse.de>
14931
14932 * po/bg.po: Update from translation team.
14933 * po/cs.po: Likewise.
14934 * po/de.po: Likewise.
14935 * po/hr.po: Likewise.
14936 * po/nl.pl: Likewise.
14937 * po/pl.po: Likewise.
14938 * po/vi.po: Likewise.
14939
370ca3d2
JM
149402012-07-03 Joseph Myers <joseph@codesourcery.com>
14941
95f5a9a8
JM
14942 * Makeconfig [!+link] (+link-before-libc): New variable.
14943 [!+link] (+link-after-libc): Likewise.
14944 [!+link] (+link-tests): Likewise.
14945 [!+link] (+link): Define in terms of $(+link-before-libc) and
14946 $(+link-after-libc).
14947 [!+link-static] (+link-static-before-libc): New variable.
14948 [!+link-static] (+link-static-after-libc): Likewise.
14949 [!+link-static] (+link-static-tests): Likewise.
14950 [!+link-static] (+link-static): Define in terms of
14951 $(+link-static-before-libc) and $(+link-static-after-libc).
14952 [build-shared] (link-libc-before-gnulib): New variable.
14953 [build-shared] (link-libc-tests): Likewise.
14954 [build-shared] (link-libc): Define in terms of
14955 $(link-libc-before-gnulib).
14956 [!build-shared] (link-libc-tests): New variable.
14957 (link-libc-static-tests): New variable.
14958 [!gnulib] (gnulib-arch): New variable.
14959 [!gnulib] (gnulib-tests): Likewise.
14960 [!gnulib] (static-gnulib-arch): Likewise.
14961 [!gnulib] (static-gnulib-tests): Likewise.
14962 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
14963 Define with "=" instead of ":=".
14964 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
14965 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
14966 * Rules (binaries-all-notests): New variable.
14967 (binaries-all-tests): Likewise.
14968 (binaries-static-notests): Likewise.
14969 (binaries-static-tests): Likewise.
14970 (binaries-all): Define using $(binaries-all-notests) and
14971 $(binaries-all-tests).
14972 (binaries-static): Define using $(binaries-static-notests) and
14973 $(binaries-static-tests).
14974 (binaries-shared-tests): New variable.
14975 (binaries-shared-notests): Likewise.
14976 (binaries-shared): Remove variable.
14977 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
14978 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
14979 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
14980 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
14981 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
14982 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
14983 * elf/Makefile (sln-modules): New variable.
14984 (extra-objs): Add $(sln-modules:=.o).
14985 (ldconfig-modules): Add static-stubs.
14986 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
14987 * elf/static-stubs.c: New file.
14988
7a845b2c
JM
14989 [BZ #14283]
14990 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
14991 by 7 not 8 to examine high bit of fractional part. Use volatile
14992 variables when splitting into final array of floats if
14993 __FLT_EVAL_METHOD__ != 0.
14994 * math/libm-test.inc (cos_test): Add another test.
14995 (sin_test): Likewise.
14996 * sysdeps/i386/fpu/libm-test-ulps: Update.
14997
e2283f38
JM
14998 [BZ #14273]
14999 * math/libm-test.inc (cosh_test): Add more tests.
15000
370ca3d2
JM
15001 * version.h (RELEASE): Set to "development".
15002 (VERSION): Set to "2.16.90".
15003
ee9247c3
CD
150042012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
15005
15006 * NEWS: Update copyright. Remove last-updated date.
15007 Mention math library bug fixes and timezone data changes.
15008 * README: Mention GNU/Hurd, x32, and HPPA support status.
15009
4648c381
TS
150102012-06-28 Thomas Schwinge <thomas@codesourcery.com>
15011
15012 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
15013
aac78a43
AJ
150142012-06-27 Andreas Jaeger <aj@suse.de>
15015
15016 * manual/contrib.texi (Contributors): Add Samuel Thibault.
15017
ed3dbfad
AJ
150182012-06-25 Andreas Jaeger <aj@suse.de>
15019
15020 * sysdeps/s390/fpu/libm-test-ulps: Update.
15021
4d0ee855
AS
150222012-06-23 Andreas Schwab <schwab@linux-m68k.org>
15023 Thomas Schwinge <thomas@codesourcery.com>
15024
15025 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
15026 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
15027 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
15028 fanotify_mark.
15029
af1bce34
TS
150302012-06-23 Thomas Schwinge <thomas@codesourcery.com>
15031
a9fa33ba
TS
15032 * sysdeps/mach/start.c: Remove file.
15033 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
15034 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
15035 * sysdeps/sh/init-first.c: Likewise.
15036
58f902b8
TS
15037 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
15038 registers for frame unwinding purposes, add CFI directives.
15039 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
15040 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
15041 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
15042 Likewise.
15043
1518f58b
TS
15044 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
15045 __fortify_fail returning.
15046 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
15047
db9b5059
TS
15048 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
15049 sysdeps/sh/____longjmp_chk.S.
15050 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
15051 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
15052 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
15053 (gen-as-const-headers): Append sigaltstack-offsets.sym.
15054
967705fe
TS
15055 * sysdeps/sh/abort-instr.h: New file.
15056 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
15057 process in case exit returns.
15058
a9def8c4
TS
15059 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
15060 initialize the GOT register before use.
15061
2a649725
TS
15062 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
15063 calculation of ARGC > 4.
15064
af1bce34
TS
15065 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
15066 meaningful names to some local labels.
15067
d230f50a
KK
150682012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15069 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15070
15071 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
15072 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
15073 (__arch_compare_and_exchange_val_16_acq): Likewise.
15074 (__arch_compare_and_exchange_val_32_acq): Likewise.
15075 (atomic_exchange_and_add): Fix gUSA sequence.
15076 (atomic_add): Likewise.
15077 (atomic_add_negative): Likewise.
15078 (atomic_add_zero): Likewise.
15079 (atomic_bit_test_set): Likewise.
15080
0479b305
AS
150812012-06-22 Andreas Schwab <schwab@redhat.com>
15082
15083 [BZ #13579]
15084 * include/link.h (struct link_map): Add l_free_initfini.
15085 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
15086 l_initfini.
15087 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
15088 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
15089 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
15090 set.
15091
0e3933b9
CD
150922012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
15093
15094 * configure.in: Use AC_LANG_SOURCE.
15095 * configure: Regenerate.
15096
4248b1b1
RM
150972012-06-22 Roland McGrath <roland@hack.frob.com>
15098
15099 * configure.in (libc_cv_localstatedir): New substituted variable.
15100 * configure: Regenerated.
15101 * config.make.in (localstatedir): New variable, substituted from
15102 libc_cv_localstatedir.
15103 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
15104 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
15105 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
15106 * sysdeps/gnu/configure: Regenerated.
15107
006dd861
JL
151082012-06-21 Jeff Law <law@redhat.com>
15109
15110 [BZ #14277]
15111 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
15112 free. Simplify list management for _LIBC case.
15113
79662d42
JM
151142012-06-21 Joseph Myers <joseph@codesourcery.com>
15115
b7abb4bf
JM
15116 [BZ #14273]
15117 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
15118 Clear sign bit of 64-bit integer value before comparing against
15119 overflow value.
15120
79662d42
JM
15121 * sysdeps/mach/configure: Regenerated.
15122
1f150908
L
151232012-06-21 H.J. Lu <hongjiu.lu@intel.com>
15124
15125 [BZ #14278]
15126 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
15127
28363bbf
JL
151282012-06-21 Jeff Law <law@redhat.com>
15129
15130 [BZ #13882]
15131 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
15132 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 15133 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
15134 * elf/dl-open.c (dl_open_worker): Likewise.
15135
09615db4
CD
151362012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
15137
15138 * scripts/list-sources.sh: Scan PORTS for translations.
15139 * po/libc.pot: Regenerated.
15140
2174c6dd
AJ
151412012-06-21 Andreas Jaeger <aj@suse.de>
15142
15143 [BZ #12194]
15144 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
15145 warning.
15146 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
15147 * bits/byteswap-16.h (__bswap_16): Likewise.
15148 * bits/byteswap.h (__bswap_constant_16): Likewise.
15149
3ee947b1
L
151502012-06-18 H.J. Lu <hongjiu.lu@intel.com>
15151
15152 [BZ #14117]
a2f34833
L
15153 * sysdeps/i386/fpu_control.h: Removed.
15154 * sysdeps/x86_64/fpu_control.h: Moved to ...
15155 * sysdeps/x86/fpu_control.h: Here.
15156
3ee947b1
L
15157 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
15158 (_FPU_SETCW): Likewise.
15159
ed1825f8
L
151602012-06-15 H.J. Lu <hongjiu.lu@intel.com>
15161
25f1282a
L
15162 [BZ #14117]
15163 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
15164 * sysdeps/x86/fpu/bits/mathinline.h: This.
15165 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
15166
ed1825f8
L
15167 [BZ #14050]
15168 [BZ #14117]
15169 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
15170 functions if __x86_64__ is defined.
15171
36d54b74
CLT
151722012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
15173
15174 * string/endian.h: Add !__ASSEMBLER__ condition for including
15175 conversion interfaces.
15176
10285c21
JM
151772012-06-15 Joseph Myers <joseph@codesourcery.com>
15178
15179 [BZ #14241]
15180 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
15181 of ABS(x) in calculating zero to negative powers other than odd
15182 integers.
15183 * math/libm-test.inc (pow_test): Add more tests.
15184
06c5abbd
AJ
151852012-06-15 Andreas Jaeger <aj@suse.de>
15186
15187 * manual/contrib.texi (Contributors): Update entry of Liubov
15188 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
15189 Machado Filho.
15190
a3aeac40
CH
151912012-06-15 Cyril Hrubis <metan@ucw.cz>
15192
15193 * string/string.h: Add __wur to GNU version of strerror_r.
15194
49bdf4c1
L
151952012-06-14 H.J. Lu <hongjiu.lu@intel.com>
15196
15197 [BZ #14229]
15198 * string/Makefile (tests): Add tst-strtok_r.
15199 * string/tst-strtok_r.c: New file.
15200 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
15201 RAX_LP/RDX_LP on SAVE_PTR.
15202
834f9b8d
RM
152032012-06-14 Roland McGrath <roland@hack.frob.com>
15204
15205 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
15206
75fa1921
JM
152072012-06-14 Joseph Myers <joseph@codesourcery.com>
15208
15209 * libm_test.inc (csqrt_test): Allow more spurious underflow
15210 exceptions.
15211 (j0_test): Likewise.
15212 (j1_test): Likewise.
15213 (y0_test): Likewise.
15214 (y1_test): Likewise.
15215
771766df
CD
152162012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
15217
15218 * po/Makefile (libc.pot): Use UTF-8 charset.
15219
ceb9e56b
PP
152202012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
15221
15222 [BZ #14210]
15223 Suppress sign-conversion warning from FD_SET.
15224 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
15225 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
15226 not unsigned long int.
15227 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
15228
ddb28975
L
152292012-06-12 H.J. Lu <hongjiu.lu@intel.com>
15230
15231 [BZ #14050]
15232 [BZ #14117]
15233 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
15234 __extern_always_inline instead of __extern_inline.
15235 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
15236 (__signbit): Likewise.
15237 (__signbitl): Support C++ namespace.
15238 (lrintf): New inline function.
15239 (lrint): Likewise.
15240 (llrintf): Likewise.
15241 (llrint): Likewise.
15242 (fmaxf): Likewise.
15243 (fmax): Likewise.
15244 (fminf): Likewise.
15245 (fmin): Likewise.
15246 (rint): Likewise.
15247 (rintf): Likewise.
15248 (ceil): Likewise.
15249 (ceilf): Likewise.
15250 (floor): Likewise.
15251 (floorf): Likewise.
15252 (nearbyint): Likewise.
15253 (nearbyintf): Likewise.
15254
d7b4fb26
TS
152552012-06-12 Thomas Schwinge <thomas@codesourcery.com>
15256
15257 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
15258 non-default versions.
15259
eb55f5c2
RM
152602012-06-11 Roland McGrath <roland@hack.frob.com>
15261
15262 [BZ #14218]
15263 * manual/argp.texi (Argp): Reword argp_parse description slightly.
15264
366af02c
TS
152652012-06-09 Thomas Schwinge <thomas@codesourcery.com>
15266
99ff6e5c
TS
15267 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
15268 (FE_UPWARD, FE_DOWNWARD): Don't define.
15269 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
15270 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
15271
366af02c
TS
15272 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
15273 reading it.
15274 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
15275 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15276
793ea851
KK
152772012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15278
15279 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
15280 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
15281 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
15282 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
15283
a728a38f
L
152842012-06-06 H.J. Lu <hongjiu.lu@intel.com>
15285
15286 [BZ #14117]
c08010c7
L
15287 * sysdeps/i386/fpu/bits/fenv.h: Removed.
15288 * sysdeps/i386/fpu/Implies: New file.
15289 * sysdeps/x86_64/fpu/Implies: Likewise.
15290 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
15291 * sysdeps/x86/fpu/bits/fenv.h: This.
15292
a728a38f
L
15293 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
15294 __SSE_MATH__.
15295
6e230d11
SP
152962012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
15297
15298 [BZ #14134]
15299 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
15300 character 0xffff that matches the last element of the
15301 conversion table.
15302
1b671feb
AZ
153032012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15304
15305 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
15306 fmodl commit.
15307
6043738b
AZ
153082012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15309
15310 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
15311 values higher than 25.6283.
15312
34ae0b32
AZ
153132012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15314
15315 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
15316 subnormal exponent extraction and add some __builtin_expect.
15317 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
15318 Fix for subnormal mantissa calculation.
15319
1214ec8f
MF
153202012-06-04 Mike Frysinger <vapier@gentoo.org>
15321
15322 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
15323 cpu2 is -1 and errno is not ENOSYS.
15324
f3d1f93c
L
153252012-06-04 H.J. Lu <hongjiu.lu@intel.com>
15326
15327 [BZ #14117]
0e4a3cd7
L
15328 * sysdeps/i386/i486/bits/string.h: Renamed to ...
15329 * sysdeps/x86/bits/string.h: This.
15330 * sysdeps/x86_64/bits/string.h: Removed.
15331
6704c645
L
15332 * sysdeps/i386/i486/bits/string.h: Define inline functions only
15333 if not compiling for x86-64, but compiling for >= i486.
15334
48495318
L
15335 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
15336 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
15337
14adcbfc
L
15338 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
15339 New macro from Linux kernel 3.4.0.
15340 (FP_XSTATE_MAGIC2): Likewise.
15341 (FP_XSTATE_MAGIC2_SIZE): Likewise.
15342 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
15343 (struct _fpx_sw_bytes): New struct.
15344 (struct _xsave_hdr): Likewise.
15345 (struct _ymmh_state): Likewise.
15346 (struct _xstate): Likewise.
15347
68e408ab
L
15348 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
15349 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
15350 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
15351 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
15352 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
15353 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
15354
f3d1f93c
L
15355 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
15356 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
15357 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
15358 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
15359 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
15360 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
15361
d9dc34cd
TMQMF
153622012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15363
15364 [BZ #13743]
15365 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
15366 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
15367 (sysdep_headers): Include sys/platform/ppc.h.
15368 * sysdeps/powerpc/test-gettimebase.c: Test for
15369 __ppc_get_timebase() to catch future ISA opcode/insn changes.
15370 * manual/Makefile (appendices): Include platform.texi.
15371 * manual/contrib.texi (Contributors): Update @node pointers.
15372 * manual/maint.texi (Maintenance): Likewise.
15373 (Platform): New node.
15374 * manual/platform.texi: New file. Document the new features.
15375
4af3879c
SP
153762012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15377 Jakub Jelinek <jakub@redhat.com>
15378
15379 [BZ #14188]
15380 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
15381 where __builtin_expect is unavailable.
15382
2fd6ff13
DM
153832012-06-03 David S. Miller <davem@davemloft.net>
15384
15385 * stdlib/longlong.h: Updated from GCC.
15386
173f7220
AS
153872012-06-02 Andreas Schwab <schwab@linux-m68k.org>
15388
15389 [BZ #14042]
15390 * sysdeps/powerpc/powerpc32/mcount.c: New file.
15391 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
15392 __mcount_internal.
15393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
15394 (GLIBC_2.16): Likewise.
15395
f34a1c6f
L
153962012-06-01 H.J. Lu <hongjiu.lu@intel.com>
15397
15398 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
15399
88a4576f
JM
154002012-06-01 Joseph Myers <joseph@codesourcery.com>
15401
ea32bcdd
JM
15402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
15403 (default-abi): New variable.
15404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
15405 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
15406 variable.
15407 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
15408 Likewise.
15409 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
15410 Likewise.
15411 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
15412 Likewise.
15413
88a4576f
JM
15414 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
15415 definition. Document in comment.
15416
402fe938
DM
154172012-06-01 David S. Miller <davem@davemloft.net>
15418
15419 * stdlib/longlong.h: Updated from GCC.
15420
3553723f
L
154212012-06-01 H.J. Lu <hongjiu.lu@intel.com>
15422
15423 [BZ #14117]
3bd872c4
L
15424 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
15425 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
15426 sys/debugreg.h sys/io.h here.
15427 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
15428 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
15429 sys/io.h.
15430 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
15431 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
15432 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
15433 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
15434 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
15435 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
15436
3553723f
L
15437 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
15438 Define only if __x86_64__ is defined.
15439
4842e4fe
JM
154402012-06-01 Joseph Myers <joseph@codesourcery.com>
15441
c5bfe3d5
JM
15442 [BZ #14048]
15443 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
15444 Use int64_t for variable i.
15445 * math/libm-test.inc (fmod_test): Add more tests.
15446
4842e4fe
JM
15447 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
15448 z computation is not scheduled after fetestexcept.
15449 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
15450 Use math_force_eval instead of asm to ensure calculation scheduled
15451 before exception test.
15452 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
15453 Ensure a1 + u.d computation is not scheduled after fetestexcept.
15454
efb73488
AJ
154552012-06-01 Aurelien Jarno <aurelien@aurel32.net>
15456
15457 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
15458 computation is not scheduled after fetestexcept.
15459
29bcce7c
L
154602012-06-01 H.J. Lu <hongjiu.lu@intel.com>
15461
15462 [BZ #14117]
15463 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
15464 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
15465
73a68f94
AZ
154662012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15467
15468 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
15469 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
15470
67b6df78
L
154712012-05-31 H.J. Lu <hongjiu.lu@intel.com>
15472
edf2933a 15473 [BZ #14117]
ebc64a18
L
15474 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
15475 <bits/wordsize.h>.
15476 (__WCHAR_MIN): Support __WORDSIZE == 64.
15477 (__WCHAR_MAX): Likewise.
15478
edf2933a
L
15479 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
15480 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
15481
57c6cf40
L
15482 [BZ #14183]
15483 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
15484 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
15485
67b6df78 15486 [BZ #14117]
8eb6281e
L
15487 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
15488 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
15489
aac639f4
L
15490 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
15491 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
15492
67b6df78
L
15493 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
15494 Defined to 1 if __x86_64__ isn't defined.
15495 (_STAT_VER_LINUX_OLD): New.
15496 (st_atime): Remove duplicate.
15497 (st_mtime): Likewise.
15498 (st_ctime): Likewise.
15499
1c2cfe81
DM
155002012-05-31 David S. Miller <davem@davemloft.net>
15501
15502 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
15503 entries.
15504
5be8418c
AS
155052012-06-01 Andreas Schwab <schwab@linux-m68k.org>
15506
e7725326
AS
15507 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
15508 gen-libm-test.pl.
15509
5be8418c
AS
15510 [BZ #14132]
15511 * elf/dl-reloc.c: Include <_itoa.h>.
15512 (_dl_reloc_bad_type): Remove use of INTUSE.
15513 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
15514 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
15515 * stdio-common/psiginfo.c (psiginfo): Likewise.
15516 * stdio-common/psignal.c (psignal): Likewise.
15517 * string/strsignal.c (strsignal): Likewise.
15518 * include/signal.h (_sys_siglist): Declare hidden proto.
15519 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
15520 INTVARDEF with libc_hidden_data_def.
15521 * stdio-common/itoa-udigits.c: Likewise.
15522 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
15523 (_itoa_lower_digits_internal): Remove declaration.
15524 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
15525 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
15526 (_sys_sigabbrev_internal): Remove aliases.
15527 (_sys_siglist): Define hidden alias.
15528
507352f1
MT
155292012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
15530
15531 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15532 bits/sysctl.h.
15533
42bbb1c3
L
155342012-05-31 H.J. Lu <hongjiu.lu@intel.com>
15535
15536 [BZ #14117]
6bd784b6
L
15537 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
15538 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
15539
8bca20f0
L
15540 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
15541 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
15542 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
15543 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
15544 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
15545 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
15546
f9e890a9
L
15547 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
15548 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
15549 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
15550
471101a1
L
15551 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
15552 with __addr.
15553 (insw): Likewise.
15554 (insl): Likewise.
15555 (outsb): Likewise.
15556 (outsw): Likewise.
15557 (outsl): Likewise.
15558
6451c862
L
15559 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
15560 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
15561 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
15562
a254b8c9
L
15563 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
15564 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
15565 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
15566 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
15567 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
15568 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
15569
b8dfdd92
L
15570 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
15571 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
15572
578cd270
L
15573 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
15574 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
15575
de662f5f
L
15576 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
15577 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
15578 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
15579
25653439
L
15580 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
15581 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
15582 to ...
15583 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
15584
6bad24a0
L
15585 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
15586 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
15587 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
15588
42bbb1c3
L
15589 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
15590 for x86-64.
15591 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
15592
2d10d547
JM
155932012-05-31 Joseph Myers <joseph@codesourcery.com>
15594
15595 * math/math.h (M_El): Use two more decimal places.
15596 (M_LOG2El): Likewise.
15597 (M_LOG10El): Likewise.
15598 (M_LN2l): Likewise.
15599 (M_LN10l): Likewise.
15600 (M_PIl): Likewise.
15601 (M_PI_2l): Likewise.
15602 (M_PI_4l): Likewise.
15603 (M_1_PIl): Likewise.
15604 (M_2_PIl): Likewise.
15605 (M_2_SQRTPIl): Likewise.
15606 (M_SQRT2l): Likewise.
15607 (M_SQRT1_2l): Likewise.
15608
f230c29b
DM
156092012-05-31 David S. Miller <davem@davemloft.net>
15610
15611 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
15612 values between float registers.
15613 * sysdeps/sparc/sparc64/memset.S: Likewise.
15614 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
15615
fed806c3
MF
156162012-05-31 Mike Frysinger <vapier@gentoo.org>
15617
15618 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
15619 -D_FORTIFY_SOURCE=1.
15620 (CPPFLAGS-tst-longjmp_chk.c): Define.
15621 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
15622 (CPPFLAGS-tst-longjmp_chk2.c): Define.
15623 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
15624 CFLAGS-tst-wchar-h.c.
15625
30917259
MP
156262012-05-31 Marek Polacek <polacek@redhat.com>
15627
15628 [BZ #14132]
15629 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
15630 __endmntent_internal): Remove declaration.
15631 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
15632 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
15633 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
15634
1c58d5dc
DM
156352012-05-30 David S. Miller <davem@davemloft.net>
15636
15637 * sysdeps/sparc/sparc32/soft-fp/q_util.c
15638 (___Q_simulate_exceptions): Use real FP ops rather than writing
15639 into the %fsr.
15640 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
15641 Likewise.
15642
7dc00e0d
L
156432012-05-30 H.J. Lu <hongjiu.lu@intel.com>
15644
15645 [BZ #14117]
0bd53985
L
15646 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
15647 * sysdeps/x86/bits/xtitypes.h: This.
15648
3a257e66
L
15649 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
15650 * sysdeps/x86/bits/wordsize.h: This.
15651
62f62904
L
15652 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
15653 * sysdeps/x86/bits/huge_vall.h: This.
15654
404fe9d9
L
15655 * sysdeps/i386/bits/select.h: Removed.
15656 * sysdeps/x86_64/bits/select.h: Renamed to ...
15657 * sysdeps/x86/bits/select.h: This.
15658
d48d0446
L
15659 * sysdeps/i386/bits/setjmp.h: Removed.
15660 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
15661 * sysdeps/x86/bits/setjmp.h: This.
15662
7dc00e0d
L
15663 * sysdeps/i386/bits/mathdef.h: Removed.
15664 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
15665 * sysdeps/x86/bits/mathdef.h: This.
15666
03277f8f
AS
156672012-05-30 Andreas Schwab <schwab@linux-m68k.org>
15668
15669 [BZ #14132]
15670 * include/sys/socket.h (__connect_internal)
15671 (__libc_sa_len_internal): Remove declaration.
15672 (__connect, __libc_sa_len): Declare hidden_proto.
15673 (SA_LEN): Remove use of INTUSE.
15674 * socket/connect.c: Add libc_hidden_def.
15675 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
15676 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
15677 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
15678 alias.
15679 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
15680 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
15681 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
15682 of adding _internal alias.
15683
13764867
L
156842012-05-30 H.J. Lu <hongjiu.lu@intel.com>
15685
15686 [BZ #14117]
6bd97696
L
15687 * sysdeps/i386/bits/link.h: Removed.
15688 * sysdeps/i386/bits/linkmap.h: Likewise.
15689 * sysdeps/x86_64/bits/link.h: Renamed to ...
15690 * sysdeps/x86/bits/link.h: This.
15691 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
15692 * sysdeps/x86/bits/linkmap.h: This.
15693
f726f0bb
L
15694 * sysdeps/i386/bits/endian.h: Removed.
15695 * sysdeps/x86_64/bits/endian.h: Renamed to ...
15696 * sysdeps/x86/bits/endian.h: This.
15697
13764867
L
15698 * sysdeps/i386/bits/byteswap.h: Removed.
15699 * sysdeps/i386/bits/byteswap-16.h: Likewise.
15700 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
15701 * sysdeps/x86/bits/byteswap.h: This.
15702 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
15703 * sysdeps/x86/bits/byteswap-16.h: This.
15704 * sysdeps/i386/Implies: Add x86.
15705 * sysdeps/x86_64/Implies: Likewise.
15706
ae251b0b
DM
157072012-05-30 David S. Miller <davem@davemloft.net>
15708
15709 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
15710 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
15711 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
15712 (FP_TRAPPING_EXCEPTIONS): Define.
15713 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
15714 (FP_TRAPPING_EXCEPTIONS): Define.
15715 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
15716 subnormals only when inexact has been signalled or underflow
15717 exceptions are enabled.
15718 (_FP_PACK_CANONICAL): Likewise.
15719
d5c90867
L
157202012-05-30 H.J. Lu <hongjiu.lu@intel.com>
15721
15722 [BZ #14183]
15723 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
15724 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
15725
63f1549e
RH
157262012-05-30 Richard Henderson <rth@twiddle.net>
15727
8d8f2279
RH
15728 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
15729 with #ifndef NOT_IN_libc.
15730
63f1549e
RH
15731 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
15732 marked to avoid plt entry.
15733
0ab0291b
L
157342012-05-30 H.J. Lu <hongjiu.lu@intel.com>
15735
15736 [BZ #14112]
15737 * Makeconfig (default-abi): New macro.
15738 (abi-includes): Likewise.
15739 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
15740 $(abi-$(default-abi)-lib-soname) for soname if defined.
15741 ($(common-objpfx)gnu/lib-names.stmp): Generate from
15742 abi-variants.
15743 * Makefile (installed-stubs): Likewise.
15744 * include/stubs-biarch.h: Removed.
15745 * scripts/lib-names.awk: Only handle one library at a time.
15746 * scripts/soversions.awk: Remove WORDSIZE support.
15747 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
15748 entries.
15749 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
15750 Removed.
15751 (syscall-list-default-condition): Likewise.
15752 (syscall-list-default-condition): Likewise.
15753 (syscall-list-includes): Likewise.
15754 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
15755 syscall-list-* with abi-*. Handle undefined abi-variants.
15756 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
15757 * sysdeps/unix/sysv/linux/i386/Implies: New file.
15758 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
15759 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
15760 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
15761 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
15762 Removed.
15763 (syscall-list-32-options): Likewise.
15764 (syscall-list-32-condition): Likewise.
15765 (syscall-list-64-options): Likewise.
15766 (syscall-list-64-condition): Likewise.
15767 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
15768 macro.
15769 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
15770 Renamed to ...
15771 (abi-*): This.
15772 (abi-64-ld-soname): New macro.
15773 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
15774 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
15775 Renamed to ...
15776 (abi-*): This.
15777 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
15778 * sysdeps/x86_64/x32/shlib-versions: Likewise.
15779
4da0431d
JM
157802012-05-30 Joseph Myers <joseph@codesourcery.com>
15781
3a85279c
JM
15782 * sysdeps/unix/sysv/linux/kernel-features.h
15783 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
15784 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
15785 include <kernel-features.h>.
15786 [!__NR_ftruncate64]: Remove conditional code.
15787 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15788 [__NR_ftruncate64]: Make code unconditional.
15789 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15790 * sysdeps/unix/sysv/linux/truncate64.c: Do not
15791 include <kernel-features.h>.
15792 [!__NR_ftruncate64]: Remove conditional code.
15793 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15794 [__NR_ftruncate64]: Make code unconditional.
15795 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
15797 include <kernel-features.h>.
15798 [!__NR_ftruncate64]: Remove conditional code.
15799 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15800 [__NR_ftruncate64]: Make code unconditional.
15801 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
15803 include <kernel-features.h>.
15804 [!__NR_ftruncate64]: Remove conditional code.
15805 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15806 [__NR_ftruncate64]: Make code unconditional.
15807 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15808
4da0431d
JM
15809 * configure.in (libc_cv_fpie): Weaken to a compile test using
15810 LIBC_TRY_CC_OPTION.
15811 * configure: Regenerated.
15812
11ef492c
AK
158132012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15814
15815 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
15816 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
15817 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
15818 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15819 Refreshed.
15820 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
15821 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
15822 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
15823 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
15824 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
15825 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15826 Refreshed.
15827
d66ef399
DM
158282012-05-27 David S. Miller <davem@davemloft.net>
15829
15830 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
15831 (___Q_zero): New.
15832 (__Q_simulate_exceptions): Return void. Change to simulate
15833 exceptions by writing into the %fsr.
15834 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
15835 (__Qp_handle_exceptions): Likewise.
15836 (numbers): Delete.
15837 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
15838 __Qp_handle_exceptions.
15839 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
15840 __Qp_handle_exceptions.
15841 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
15842 as unused and give dummy FP_RND_NEAREST initializer.
15843 (FP_INHIBIT_RESULTS): Define.
15844 (___Q_simulate_exceptions): Update declaration.
15845 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
15846 formatting.
15847 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
15848 as unused and give dummy FP_RND_NEAREST initializer.
15849 (__Qp_handle_exceptions): Update declaration.
15850 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
15851 formatting.
15852
04fb54b5
TS
158532012-05-27 Thomas Schwinge <thomas@codesourcery.com>
15854
15855 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
15856 the temporary FPU control word.
15857 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
15858 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
15859 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
15860 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
15861 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
15862 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
15863 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
15864 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
15865 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
15866 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
15867 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15868
3f99608f
KK
158692012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15870
15871 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
15872 fields.
15873
65a4de4e
CLT
158742012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
15875
15876 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
15877 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
15878 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
15879 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
15880 Likewise.
15881 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
15882 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
15883 Likewise.
15884
15749d40
UD
158852012-05-27 Ulrich Drepper <drepper@gmail.com>
15886
15887 * po/h.po: Update from translation team.
15888
25dbcb27
AS
158892012-05-26 Andreas Schwab <schwab@linux-m68k.org>
15890
3d3f8e55
AS
15891 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
15892
25dbcb27
AS
15893 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
15894 handling of denormals.
15895 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
15896 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
15897 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
15898 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
15899 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15900 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
15901 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
15902 Likewise.
15903
7ad47a80 159042012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
15905
15906 [BZ #14152]
15907 * math/libm-test.inc (fma_test): Don't always expect underflow
15908 exception.
15909
9c6ea9fa
SP
159102012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15911
15912 [BZ #12416]
15913 * elf/tst-execstack.c: Include stackinfo.h.
15914 (do_test): Adjust test case to ensure that pthread_getattr_np
15915 behaviour remains the same after marking stack executable.
15916
a8239222
JM
159172012-05-25 Joseph Myers <joseph@codesourcery.com>
15918
15919 * sysdeps/unix/sysv/linux/kernel-features.h
15920 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
15921 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
15922 kernel-features.h.
15923 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
15924 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
15925 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
15926 kernel-features.h.
15927 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
15928 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
15929
918b5606
L
159302012-05-25 H.J. Lu <hongjiu.lu@intel.com>
15931
15932 * configure.in: Define the default includes to being none.
15933 * configure: Regenerated.
15934
3a097cc7
RM
159352012-05-25 Roland McGrath <roland@hack.frob.com>
15936
8422c9a5
RM
15937 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
15938 * sysdeps/x86_64/setjmp.S: Likewise.
15939 * sysdeps/i386/bsd-setjmp.S: Likewise.
15940 * sysdeps/i386/bsd-_setjmp.S: Likewise.
15941 * sysdeps/i386/setjmp.S: Likewise.
15942 * sysdeps/i386/__longjmp.S: Likewise.
15943 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
15944 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
15945
3a097cc7
RM
15946 * include/stap-probe.h: New file.
15947 * configure.in: Handle --enable-systemtap.
15948 * configure: Regenerated.
15949 * config.h.in (USE_STAP_PROBE): New #undef.
15950 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
15951 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
15952 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
15953
21708942
JM
159542012-05-25 Joseph Myers <joseph@codesourcery.com>
15955
15956 [BZ #13717]
15957 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
15958 to 2.4.0 where earlier.
15959 * sysdeps/unix/sysv/linux/configure: Regenerated.
15960 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
15961 <kernel-features.h>.
15962 [__ASSUME_32BITUIDS]: Make code unconditional.
15963 [!__ASSUME_32BITUIDS]: Remove conditional code.
15964 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
15965 <kernel-features.h>.
15966 [__ASSUME_32BITUIDS]: Make code unconditional.
15967 [!__ASSUME_32BITUIDS]: Remove conditional code.
15968 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
15969 [__ASSUME_32BITUIDS]: Make code unconditional.
15970 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
15971 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
15972 <kernel-features.h>.
15973 [__ASSUME_32BITUIDS]: Make code unconditional.
15974 [!__ASSUME_32BITUIDS]: Remove conditional code.
15975 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
15976 <kernel-features.h>.
15977 [__ASSUME_32BITUIDS]: Make code unconditional.
15978 [!__ASSUME_32BITUIDS]: Remove conditional code.
15979 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
15980 <kernel-features.h>.
15981 [__ASSUME_32BITUIDS]: Make code unconditional.
15982 [!__ASSUME_32BITUIDS]: Remove conditional code.
15983 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
15984 <kernel-features.h>.
15985 [__ASSUME_32BITUIDS]: Make code unconditional.
15986 [!__ASSUME_32BITUIDS]: Remove conditional code.
15987 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
15988 <kernel-features.h>.
15989 [__ASSUME_32BITUIDS]: Make code unconditional.
15990 [!__ASSUME_32BITUIDS]: Remove conditional code.
15991 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
15992 <kernel-features.h>.
15993 [__ASSUME_32BITUIDS]: Make code unconditional.
15994 [!__ASSUME_32BITUIDS]: Remove conditional code.
15995 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
15996 <kernel-features.h>.
15997 [__ASSUME_32BITUIDS]: Make code unconditional.
15998 [!__ASSUME_32BITUIDS]: Remove conditional code.
15999 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
16000 <kernel-features.h>.
16001 [__ASSUME_32BITUIDS]: Make code unconditional.
16002 [!__ASSUME_32BITUIDS]: Remove conditional code.
16003 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
16004 <kernel-features.h>.
16005 [__ASSUME_32BITUIDS]: Make code unconditional.
16006 [!__ASSUME_32BITUIDS]: Remove conditional code.
16007 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
16008 <kernel-features.h>.
16009 [__ASSUME_32BITUIDS]: Make code unconditional.
16010 [!__ASSUME_32BITUIDS]: Remove conditional code.
16011 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
16012 <kernel-features.h>.
16013 [__NR_setresgid] (__setresgid): Do not declare.
16014 [__ASSUME_32BITUIDS]: Make code unconditional.
16015 [!__ASSUME_32BITUIDS]: Remove conditional code.
16016 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
16017 <kernel-features.h>.
16018 [__NR_setresuid] (__setresuid): Do not declare.
16019 [__ASSUME_32BITUIDS]: Make code unconditional.
16020 [!__ASSUME_32BITUIDS]: Remove conditional code.
16021 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
16022 <kernel-features.h>.
16023 [__ASSUME_32BITUIDS]: Make code unconditional.
16024 [!__ASSUME_32BITUIDS]: Remove conditional code.
16025 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
16026 <kernel-features.h>.
16027 [__ASSUME_32BITUIDS]: Make code unconditional.
16028 [!__ASSUME_32BITUIDS]: Remove conditional code.
16029 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
16030 <kernel-features.h>.
16031 [__ASSUME_32BITUIDS]: Make code unconditional.
16032 [!__ASSUME_32BITUIDS]: Remove conditional code.
16033 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
16034 <kernel-features.h>.
16035 [__ASSUME_32BITUIDS]: Make code unconditional.
16036 [!__ASSUME_32BITUIDS]: Remove conditional code.
16037 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
16038 <kernel-features.h>.
16039 [__ASSUME_32BITUIDS]: Make code unconditional.
16040 [!__ASSUME_32BITUIDS]: Remove conditional code.
16041 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
16042 <kernel-features.h>.
16043 [__ASSUME_32BITUIDS]: Make code unconditional.
16044 [!__ASSUME_32BITUIDS]: Remove conditional code.
16045 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
16046 <kernel-features.h>.
16047 [__ASSUME_32BITUIDS]: Make code unconditional.
16048 [!__ASSUME_32BITUIDS]: Remove conditional code.
16049 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
16050 <kernel-features.h>.
16051 [__ASSUME_32BITUIDS]: Make code unconditional.
16052 [!__ASSUME_32BITUIDS]: Remove conditional code.
16053 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
16054 <kernel-features.h>.
16055 [__ASSUME_32BITUIDS]: Make code unconditional.
16056 [!__ASSUME_32BITUIDS]: Remove conditional code.
16057 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
16058 <kernel-features.h>.
16059 [__ASSUME_32BITUIDS]: Make code unconditional.
16060 [!__ASSUME_32BITUIDS]: Remove conditional code.
16061 * sysdeps/unix/sysv/linux/kernel-features.h
16062 (__ASSUME_SETRESUID_SYSCALL): Remove.
16063 (__ASSUME_SETRESGID_SYSCALL): Likewise.
16064 (__ASSUME_32BITUIDS): Likewise.
16065 (__ASSUME_LDT_WORKS): Likewise.
16066 (__ASSUME_O_DIRECTORY): Likewise.
16067 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
16068 architecture but not kernel version.
16069 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
16070 (__ASSUME_MMAP2_SYSCALL): Likewise.
16071 (__ASSUME_STAT64_SYSCALL): Likewise.
16072 (__ASSUME_IPC64): Likewise.
16073 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
16074 <kernel-features.h>.
16075 [__ASSUME_32BITUIDS]: Make code unconditional.
16076 [!__ASSUME_32BITUIDS]: Remove conditional code.
16077 * sysdeps/unix/sysv/linux/opendir.c: Do not include
16078 <kernel-features.h>.
16079 [__ASSUME_O_DIRECTORY]: Make code unconditional.
16080 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
16081 132096]: Remove conditional code.
16082 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
16083 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
16084 <kernel-features.h>.
16085 [__ASSUME_32BITUIDS]: Make code unconditional.
16086 [!__ASSUME_32BITUIDS]: Remove conditional code.
16087 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
16088 <kernel-features.h>.
16089 [__ASSUME_32BITUIDS]: Make code unconditional.
16090 [!__ASSUME_32BITUIDS]: Remove conditional code.
16091 * sysdeps/unix/sysv/linux/setegid.c: Do not include
16092 <kernel-features.h>.
16093 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
16094 unconditional.
16095 (__setresgid): Do not declare.
16096 [__ASSUME_32BITUIDS]: Make code unconditional.
16097 [!__ASSUME_32BITUIDS]: Remove conditional code.
16098 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
16099 <kernel-features.h>.
16100 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
16101 unconditional.
16102 (__setresuid): Do not declare.
16103 [__ASSUME_32BITUIDS]: Make code unconditional.
16104 [!__ASSUME_32BITUIDS]: Remove conditional code.
16105 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
16106 <kernel-features.h>.
16107 [__ASSUME_32BITUIDS]: Make code unconditional.
16108 [!__ASSUME_32BITUIDS]: Remove conditional code.
16109 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
16110 <kernel-features.h>.
16111 [__ASSUME_32BITUIDS]: Make code unconditional.
16112 [!__ASSUME_32BITUIDS]: Remove conditional code.
16113
a386f1cc
RH
161142012-05-25 Richard Henderson <rth@twiddle.net>
16115
16116 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
16117 dl_hwcap to ifunc resolver.
16118 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
16119 elf_ifunc_invoke.
16120 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
16121 dl_hwcap to ifunc resolver.
16122 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
16123
b6550497
JM
161242012-05-24 Joseph Myers <joseph@codesourcery.com>
16125
16126 [BZ #14153]
16127 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
16128 for |x| <= 2**-26, not 2**-57.
16129 * math/libm-test.inc (acos_test): Do not allow spurious underflow
16130 exception.
16131
b0bc23a1
JL
161322012-05-24 Jeff Law <law@redhat.com>
16133
16134 * stdio-common/Makefile (tests): Add bug25.
16135 * stdio-common/bug25.c: New test.
16136
347c92e9
L
161372012-05-24 H.J. Lu <hongjiu.lu@intel.com>
16138
16139 [BZ #13576]
16140 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
16141 multiple of MALLOC_ALIGNMENT in size.
16142 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
16143
6bcc8b3f
JM
161442012-05-24 Joseph Myers <joseph@codesourcery.com>
16145
16146 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
16147 Require >= 256.
16148 (FILENAME_MAX): Use macro-int-constant.
16149 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
16150 (_IOFBF): Use macro-int-constant.
16151 (_IOLBF): Likewise.
16152 (_IONBF): Likewise.
16153 (SEEK_CUR): Likewise.
16154 (SEEK_END): Likewise.
16155 (SEEK_SET): Likewise.
16156 (TMP_MAX): Likewise.
16157 (EOF): Use macro-int-constant. Require < 0.
16158 (NULL): Use macro-constant. Require == 0.
16159 (stdin): Require type to be FILE *.
16160 (stdout): Likewise.
16161 (stderr): Likewise.
16162 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
16163 macro-int-constant.
16164 (EXIT_SUCCESS): Likewise.
16165 (NULL): Use macro-constant. Require == 0.
16166 (RAND_MAX): Use macro-int-constant.
16167 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
16168 [C99-based standards] (strtof): Require function.
16169 [C99-based standards] (strtold): Likewise.
16170 [C99-based standards] (strtoll): Likewise.
16171 [C99-based standards] (strtoull): Likewise.
16172 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
16173 [ISO || ISO99 || ISO11] (limits.h): Likewise.
16174 [ISO || ISO99 || ISO11] (math.h): Likewise.
16175 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
16176 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
16177 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16178
d18ea0c5
AS
161792012-05-24 Andreas Schwab <schwab@linux-m68k.org>
16180
16181 [BZ #14132]
56d25bb8
AS
16182 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
16183 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
16184 * intl/dgettext.c (DCGETTEXT): Likewise.
16185 * intl/gettext.c (DCGETTEXT): Likewise.
16186 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
16187 * posix/regex_internal.h (gettext): Likewise.
16188 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
16189 Remove declaration.
16190 * include/argz.h (__argz_count_internal)
16191 (__argz_stringify_internal): Remove declaration.
16192 (__argz_count, __argz_stringify): Declare hidden proto.
16193 * intl/dcgettext.c: Remove use of INTDEF.
16194 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
16195 * string/argz-stringify.c: Likewise.
16196 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
16197 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
16198 Declare hidden proto.
d18ea0c5
AS
16199 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
16200 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
16201 Declare hidden proto.
16202 * include/stdio.h (__asprintf_internal): Don't declare.
16203 (__asprintf): Don't define as macro. Declare hidden proto.
16204 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
16205 (__fsetlocking): Declare hidden proto.
16206 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
16207 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
16208 hidden proto.
16209 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
16210 (_IO_setlinebuf): Remove use of INTUSE.
16211 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
16212 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
16213 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
16214 Remove declaration.
16215 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
16216 (_IO_do_flush): Remove use of INTUSE.
16217 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
16218 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
16219 (_IO_adjust_column, _IO_least_wmarker)
16220 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
16221 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
16222 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
16223 (_IO_default_doallocate, _IO_wdefault_doallocate)
16224 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
16225 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
16226 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
16227 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
16228 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
16229 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
16230 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
16231 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
16232 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
16233 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
16234 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
16235 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
16236 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
16237 proto.
16238 (_IO_flush_all_internal, _IO_adjust_column_internal)
16239 (_IO_default_uflow_internal, _IO_default_finish_internal)
16240 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
16241 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
16242 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
16243 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
16244 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
16245 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
16246 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
16247 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
16248 (_IO_file_close_internal, _IO_file_close_it_internal)
16249 (_IO_file_underflow_internal, _IO_file_overflow_internal)
16250 (_IO_file_init_internal, _IO_file_attach_internal)
16251 (_IO_file_fopen_internal, _IO_file_read_internal)
16252 (_IO_file_sync_internal, _IO_file_seek_internal)
16253 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
16254 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
16255 (_IO_str_underflow_internal, _IO_str_overflow_internal)
16256 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
16257 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
16258 (_IO_list_all_internal, _IO_link_in_internal)
16259 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
16260 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
16261 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
16262 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
16263 (_IO_do_write_internal, _IO_padn_internal)
16264 (_IO_getline_info_internal, _IO_getline_internal)
16265 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
16266 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
16267 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
16268 (_IO_vfscanf_internal, _IO_vfprintf_internal)
16269 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
16270 (_IO_init_internal, _IO_un_link_internal): Don't declare.
16271 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
16272 with libc_hidden_ver, remove use of INTUSE.
16273 * libio/genops.c: Likewise.
16274 * libio/freopen.c: Likewise.
16275 * libio/freopen64.c: Likewise.
16276 * libio/iofclose.c: Likewise.
16277 * libio/iofdopen.c: Likewise.
16278 * libio/iofflush.c: Likewise.
16279 * libio/iofflush_u.c: Likewise.
16280 * libio/iofgets.c: Likewise.
16281 * libio/iofgets_u.c: Likewise.
16282 * libio/iofopen.c: Likewise.
16283 * libio/iofopncook.c: Likewise.
16284 * libio/iofread.c: Likewise.
16285 * libio/iofread_u.c: Likewise.
16286 * libio/ioftell.c: Likewise.
16287 * libio/iofwrite.c: Likewise.
16288 * libio/iogetline.c: Likewise.
16289 * libio/iogets.c: Likewise.
16290 * libio/iogetwline.c: Likewise.
16291 * libio/iopadn.c: Likewise.
16292 * libio/iopopen.c: Likewise.
16293 * libio/ioseekoff.c: Likewise.
16294 * libio/ioseekpos.c: Likewise.
16295 * libio/iosetbuffer.c: Likewise.
16296 * libio/iosetvbuf.c: Likewise.
16297 * libio/ioungetc.c: Likewise.
16298 * libio/ioungetwc.c: Likewise.
16299 * libio/iovdprintf.c: Likewise.
16300 * libio/iovsprintf.c: Likewise.
16301 * libio/iovsscanf.c: Likewise.
16302 * libio/memstream.c: Likewise.
16303 * libio/obprintf.c: Likewise.
16304 * libio/oldfileops.c: Likewise.
16305 * libio/oldiofclose.c: Likewise.
16306 * libio/oldiofdopen.c: Likewise.
16307 * libio/oldiofopen.c: Likewise.
16308 * libio/oldiopopen.c: Likewise.
16309 * libio/oldstdfiles.c: Likewise.
16310 * libio/putc.c: Likewise.
16311 * libio/setbuf.c: Likewise.
16312 * libio/setlinebuf.c: Likewise.
16313 * libio/stdfiles.c: Likewise.
16314 * libio/strops.c: Likewise.
16315 * libio/vasprintf.c: Likewise.
16316 * libio/vscanf.c: Likewise.
16317 * libio/vsnprintf.c: Likewise.
16318 * libio/vswprintf.c: Likewise.
16319 * libio/wfiledoalloc.c: Likewise.
16320 * libio/wfileops.c: Likewise.
16321 * libio/wgenops.c: Likewise.
16322 * libio/wmemstream.c: Likewise.
16323 * libio/wstrops.c: Likewise.
16324 * libio/__fpurge.c: Likewise.
16325 * libio/__fsetlocking.c: Likewise.
16326 * assert/assert.c: Likewise.
16327 * debug/fgets_chk.c: Likewise.
16328 * debug/fgets_u_chk.c: Likewise.
16329 * debug/fread_chk.c: Likewise.
16330 * debug/fread_u_chk.c: Likewise.
16331 * debug/gets_chk.c: Likewise.
16332 * debug/obprintf_chk.c: Likewise.
16333 * debug/vasprintf_chk.c: Likewise.
16334 * debug/vdprintf_chk.c: Likewise.
16335 * debug/vsnprintf_chk.c: Likewise.
16336 * debug/vsprintf_chk.c: Likewise.
16337 * malloc/mtrace.c: Likewise.
16338 * misc/error.c: Likewise.
16339 * misc/syslog.c: Likewise.
16340 * stdio-common/asprintf.c: Likewise.
16341 * stdio-common/fxprintf.c: Likewise.
16342 * stdio-common/getw.c: Likewise.
16343 * stdio-common/isoc99_fscanf.c: Likewise.
16344 * stdio-common/isoc99_scanf.c: Likewise.
16345 * stdio-common/isoc99_vfscanf.c: Likewise.
16346 * stdio-common/isoc99_vscanf.c: Likewise.
16347 * stdio-common/isoc99_vsscanf.c: Likewise.
16348 * stdio-common/printf-prs.c: Likewise.
16349 * stdio-common/printf_fp.c: Likewise.
16350 * stdio-common/printf_fphex.c: Likewise.
16351 * stdio-common/printf_size.c: Likewise.
16352 * stdio-common/putw.c: Likewise.
16353 * stdio-common/scanf.c: Likewise.
16354 * stdio-common/sprintf.c: Likewise.
16355 * stdio-common/tmpfile.c: Likewise.
16356 * stdio-common/vfprintf.c: Likewise.
16357 * stdio-common/vfscanf.c: Likewise.
16358 * stdlib/strfmon_l.c: Likewise.
16359 * sunrpc/openchild.c: Likewise.
16360 * sunrpc/xdr_stdio.c: Likewise.
16361 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
16362 * sysdeps/mach/hurd/tmpfile.c: Likewise.
16363
d6c33fda
RM
163642012-05-24 Roland McGrath <roland@hack.frob.com>
16365
c1487492
RM
16366 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
16367
16368 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
16369 in the third column, to generate for the shared library an IFUNC
16370 that uses _dl_vdso_vsym.
16371 * Makerules (COMPILE.c, compile-stdin.c): New variables.
16372 * Makeconfig (object-suffixes-noshared): New variable.
16373
16374 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
16375 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
16376 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
16377 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
16378
d6c33fda
RM
16379 [BZ #14132]
16380 * include/sys/time.h (__gettimeofday): Remove macro.
16381 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
16382 * time/gettimeofday.c (__gettimeofday): Remove #undef.
16383 Remove INTDEF.
16384 (__gettimeofday): Add libc_hidden_def.
16385 (gettimeofday): Add libc_hidden_weak.
16386 * sysdeps/mach/gettimeofday.c: Likewise.
16387 * sysdeps/posix/gettimeofday.c: Likewise.
16388 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
16389 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
16390 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
16391 (__gettimeofday_internal): Remove strong_alias.
16392 (__gettimeofday): Add libc_hidden_def.
16393 (gettimeofday): Add libc_hidden_weak.
16394 * sysdeps/unix/syscalls.list (gettimeofday):
16395 Remove __gettimeofday_internal alias.
16396
b5a2bbe6
L
163972012-05-24 Daniel Jacobowitz <drow@false.org>
16398 H.J. Lu <hongjiu.lu@intel.com>
16399
16400 [BZ #12495]
16401 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
16402 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
16403 (largebin_index_32_big): New.
16404 (largebin_index): Use it for 16-byte alignment.
16405 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
16406 correction with front_misalign.
16407
cfba4fda
L
164082012-05-24 H.J. Lu <hongjiu.lu@intel.com>
16409
7f907421
L
16410 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
16411 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
16412 Likewise.
16413 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
16414 Likewise.
16415 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
16416 Likewise.
16417 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
16418 Likewise.
16419 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
16420 Likewise.
16421 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
16422 Likewise.
16423 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
16424 Likewise.
16425 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
16426 Likewise.
16427 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
16428 Likewise.
16429 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
16430 Likewise.
16431 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
16432 Likewise.
16433 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
16434 Likewise.
16435
cfba4fda
L
16436 * scripts/data/c++-types-x32-linux-gnu.data: New file.
16437 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
16438
80bad0cc
JM
164392012-05-24 Joseph Myers <joseph@codesourcery.com>
16440
7a25eb06
JM
16441 [BZ #10846]
16442 [BZ #14036]
16443 * math/libm-test.inc (exp_test): Add test from bug 14036.
16444 (pow_test): Add test from bug 10846.
16445
795405f9
JM
16446 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
16447 and other flags.
16448 (special_function): Do not include flags in test name.
16449 (parse_args): Likewise.
16450 * sysdeps/i386/fpu/libm-test-ulps: Update.
16451 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16452 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16453 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16454 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16455
80bad0cc
JM
16456 * math/gen-libm-test.pl (%beautify): Add entries for underflow
16457 exceptions.
16458 * math/libm-test.inc ("Philosophy"): Update comment about
16459 exception testing.
16460 (UNDERFLOW_EXCEPTION): New macro.
16461 (UNDERFLOW_EXCEPTION_OK): Likewise.
16462 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
16463 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
16464 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
16465 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
16466 (INVALID_EXCEPTION_OK): Update value.
16467 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
16468 (OVERFLOW_EXCEPTION_OK): Likewise.
16469 (IGNORE_ZERO_INF_SIGN): Likewise.
16470 (test_exceptions): Handle underflow exceptions.
16471 (acos_test): Update for underflow exception expectations.
16472 (cexp_test): Likewise.
16473 (clog_test): Likewise.
16474 (clog10_test): Likewise.
16475 (csqrt_test): Likewise.
16476 (ctan_test): Likewise.
16477 (ctanh_test): Likewise.
16478 (exp_test): Likewise.
16479 (exp10_test): Likewise.
16480 (exp2_test): Likewise.
16481 (expm1_test): Likewise.
16482 (fma_test): Likewise.
16483 (j0_test): Likewise.
16484 (jn_test): Likewise.
16485 (nexttoward_test): Likewise.
16486 (pow_test): Likewise.
16487 (scalbn_test): Likewise.
16488 (scalbln_test): Likewise.
16489 (tan_test): Likewise.
16490 (y1_test): Likewise.
16491 * sysdeps/i386/fpu/libm-test-ulps: Update.
16492 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16493
9e0e3d0b
DM
164942012-05-23 David S. Miller <davem@davemloft.net>
16495
16496 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
16497 (__libc_sigaction): Remove unused local variables.
16498
ccd0a08f
L
164992012-05-23 H.J. Lu <hongjiu.lu@intel.com>
16500
16501 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
16502
62bdf9a6
PE
165032012-05-23 Paul Eggert <eggert@cs.ucla.edu>
16504
f8591f80
PE
16505 mktime: avoid signed integer overflow
16506 * time/mktime.c (__mktime_internal): Do not mishandle the case
16507 where diff == INT_MIN.
16508
94c7d826
PE
16509 mktime: simplify computation of average
16510 * time/mktime.c (ranged_convert): Use new time_t_avg function
16511 instead of rolling our own (probably-slower) code.
16512
ce73d683
PE
16513 mktime: do not assume signed right shift propagates sign bit
16514 * time/mktime.c (isdst_differ): New static function.
16515 (__mktime_internal): No need to normalize tm_isdst now.
16516 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
16517 tm_isdst values.
16518
72a22e59
PE
16519 mktime: merge another wrapv change from gnulib
16520 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
16521 from some compilers.
16522
68605433
PE
16523 mktime: remove incorrect attempt at unusual arithmetics
16524 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
16525 The code didn't really work on such machines anyway.
16526 (TYPE_MINIMUM): Assume two's complement.
16527 (twos_complement_arithmetic): Verify that long_int and time_t
16528 are two's complement (or unsigned, in the latter case).
16529
03cf7fe3
PE
16530 mktime: check signed shifts on long_int and time_t, too
16531 * time/mktime.c (SHR): Check that shifts work as desired
16532 on the types long_int and time_t too, as SHR is used on
16533 such types.
16534
f04dfbc2
PE
16535 mktime: do not assume 'long' is wide enough
16536 * time/mktime.c (verify): Move decl up.
16537 (long_int): New type.
16538 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
16539 to remove assumption in the code that 'long' is wide enough to
16540 store year values. This assumption is not true on x32 and on
16541 some non-glibc platforms.
16542
62bdf9a6
PE
16543 mktime: merge wrapv change from gnulib
16544 * time/mktime.c (WRAPV): New macro.
16545 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
16546 (guess_time_tm, __mktime_internal): Do not assume that signed
16547 integer overflow wraps around; modern compilers generate code
16548 where this assumption is no longer valid.
16549
5e292e4f
L
165502012-05-23 H.J. Lu <hongjiu.lu@intel.com>
16551
16552 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
16553 Replace "jmp L(pseudo_end)" with "ret".
16554 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
16555 Likewise.
16556
8caf8c87
AJ
165572012-05-23 Andreas Jaeger <aj@suse.de>
16558
16559 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
16560 * sysdeps/unix/sysv/linux/poll.c: Remove file.
16561
1a09dc56
AJ
165622012-05-23 Andreas Jaeger <aj@suse.de>
16563 Maximilian Attems <max@stro.at>
16564
16565 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
16566 New macros.
16567
1c87aba0
L
165682012-05-23 H.J. Lu <hongjiu.lu@intel.com>
16569
16570 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
16571 code so that pseudo_end is just ret and the stack pointer is
16572 correct also for static library in error case.
16573
40e45bd5
JM
165742012-05-23 Joseph Myers <joseph@codesourcery.com>
16575
c2670533
JM
16576 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
16577 move to syscalls.list.
16578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
16579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
16580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
16581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
16582
40e45bd5
JM
16583 * manual/install.texi (Running make install): Do not mention Linux
16584 kernel version for which pt_chown is not needed.
16585 (Linux): Do not mention problems with nscd with 2.0 kernels.
16586 * INSTALL: Regenerated.
16587
be08eda5
AJ
165882012-05-23 Andreas Jaeger <aj@suse.de>
16589
16590 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
16591 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
16592 macro.
16593 * sysdeps/unix/sysv/linux/s390/bits/mman.h
16594 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16595 * sysdeps/unix/sysv/linux/sh/bits/mman.h
16596 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16597 * sysdeps/unix/sysv/linux/i386/bits/mman.h
16598 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16599 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
16600 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16601 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
16602 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16603 * sysdeps/unix/sysv/linux/bits/in.h
16604 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
16605
a6a056bb
RM
166062012-05-22 Roland McGrath <roland@hack.frob.com>
16607
16608 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
16609 (PREPARE_VERSION): Just use assert instead, it will be elided
16610 under [NDEBUG] anyway.
16611
c9009328
L
166122012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16613
16614 * sysdeps/unix/sysv/linux/Makefile: Include
16615 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 16616 (sysdep_routines): Remove sysctl.
c9009328
L
16617 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
16618 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
16619 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
16620 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
16621 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
16622
73338355
AJ
166232012-05-22 Andreas Jaeger <aj@suse.de>
16624
16625 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
16626 that pseudo_end is just ret and the stack pointer is correct also
16627 for static library in error case.
16628
d44638b0
PP
166292012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
16630
16631 [BZ #14122]
16632 * nss/nsswitch.c (defconfig_entries): New variable.
16633 (__nss_database_lookup): Don't leak defconfig entries.
16634 (nss_parse_service_list): Don't leak on error paths.
16635 (free_database_entries): New function.
16636 (free_defconfig): New function.
16637 (free_mem): Move common code to free_database_entries.
16638
31a39bd8
L
166392012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16640
da0331a8
L
16641 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
16642 Add arch_prctl.
16643 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
16644
31a39bd8
L
16645 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
16646 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
16647 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
16648 New macro.
16649 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
16650 (INTERNAL_SYSCALL_TYPES): Likewise.
16651 (LOAD_ARGS_TYPES_[1-6]): Likewise.
16652 (LOAD_REGS_TYPES_[1-6]): Likewise.
16653 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
16654 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
16655
45470df3
AZ
166562012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16657
16658 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
16659 copysignl for GLIBC_2_0.
16660 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
16661 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
16662 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
16663 logbl for GLIBC_2_0.
16664 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
16665 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
16666
98a61bcb
L
166672012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16668
a4f6e481
L
16669 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
16670 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
16671
f63d5db6
L
16672 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
16673 Use "neg %eax".
16674
98a61bcb
L
16675 * time/mktime.c: Update copyright years.
16676
95770f14
PE
166772012-05-22 Paul Eggert <eggert@cs.ucla.edu>
16678
6226efbd
PE
16679 mktime: merge comment-quoting-style change from gnulib
16680 * time/mktime.c: Quote 'like this' in comments.
16681 The GNU coding standards suggest that we no longer quote `like this',
16682 as "`" and "'" are typically rendered asymmetrically nowadays.
16683 The typical gnulib style is to quote 'like this' when quoting
16684 code, and "like this" when quoting English.
16685
b99e4f78
PE
16686 * time/mktime.c (compile-command): Add "-I.".
16687
643e01e6
PE
16688 mktime: merge mktime-internal.h change from gnulib
16689 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
16690
2554247d
PE
16691 mktime: merge time_r change from gnulib
16692 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
16693
826dd0ab
PE
16694 mktime: merge DEBUG change from gnulib
16695 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
16696 case system <time.h> has a #define.
16697
bd83aabe
PE
16698 mktime: merge <sys/types.h> change from gnulib
16699 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
16700 since <time.t> is now guaranteed to define time_t.
16701
95770f14
PE
16702 mktime: merge HAVE_CONFIG_H change from gnulib
16703 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
16704
5e1a27a9
L
167052012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16706
0e44a77e
L
16707 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
16708 Use "neg %eax".
16709
5e1a27a9
L
16710 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
16711 __rlim_t cast.
16712 (struct rusage): Use anonymous union to pad each field to
16713 __syscall_slong_t.
16714
46259bec
DM
167152012-05-21 David S. Miller <davem@davemloft.net>
16716
16717 * Makefules (o-iterator): Remove .s cases.
16718 (compile-command.s): Delete.
16719 (COMPILE.s): Delete.
16720 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
16721
59f0c22e
JM
167222012-05-21 Joseph Myers <joseph@codesourcery.com>
16723
16724 * configure.in (libc_cv_predef_stack_protector): Only consider
16725 "foobar" and "__stack_chk_fail" lines in libc_undefs.
16726 * configure: Regenerated.
16727
20c07380
L
167282012-05-21 H.J. Lu <hongjiu.lu@intel.com>
16729
bbb3154b
L
16730 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
16731 New macro. Use R*LP on int and pointer.
16732 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
16733 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
16734 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
16735 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
16736
20c07380
L
16737 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
16738 [__WORDSIZE_TIME64_COMPAT32] instead of
16739 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
16740 (struct utmp): Likewise.
16741 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
16742 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
16743 Renamed to ...
16744 (__WORDSIZE_TIME64_COMPAT32): This.
16745 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
16746 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
16747 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
16748 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
16749 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
16750 (__WORDSIZE_TIME64_COMPAT32): New macro.
16751
d8d1017e
AJ
167522012-05-21 Andreas Jaeger <aj@suse.de>
16753
16754 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
16755 only if [SHARED]. Add prototype for __wcschr_ia32.
16756
6c7fb145
RM
167572012-05-21 Roland McGrath <roland@hack.frob.com>
16758
16759 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
16760 of %rbp unmolested in the jmp_buf while mangling the low bits.
16761 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
16762 unmolested high bits of %rbp while demangling the low bits.
16763 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
16764
66274218
AJ
167652012-05-21 Andreas Jaeger <aj@suse.de>
16766
07c58f8f
AJ
16767 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
16768 * sunrpc/svc_simple.c: Use it for registerrpc.
16769 * sunrpc/xcrypt.c: Use it for passwd2des.
16770
66274218
AJ
16771 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
16772
61f65140
L
167732012-05-21 H.J. Lu <hongjiu.lu@intel.com>
16774
16775 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
16776 Don't define if [__SYSCALL_WORDSIZE != 32].
16777 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
16778 New macro.
16779
5fefb436
AJ
167802012-05-21 Bruno Haible <bruno@clisp.org>
16781 Andreas Jaeger <aj@suse.de>
16782
16783 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
16784 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
16785 inptr and inend for must_buffer_ch.
16786 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
16787 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
16788 * stdio-common/Makefile (tests): Remove bug15.
16789 (bug15-ENV): Remove macro.
16790 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
16791 anymore.
16792
d8e272ab
AJ
167932012-05-19 Andreas Jaeger <aj@suse.de>
16794 Roland McGrath <roland@hack.frob.com>
16795
16796 * manual/contrib.texi: Completely rewritten. It contains now an
16797 alphabetical list of contributors and their contributions.
16798
4a56a162
RH
167992012-05-21 Richard Henderson <rth@twiddle.net>
16800
16801 * misc/getauxval.c (__getauxval): Use unsigned long int.
16802 * misc/sys/auxv.h: Include <sys/cdefs.h>.
16803 (getauxval): Use unsigned long int.
16804
d024d23c
L
168052012-05-21 H.J. Lu <hongjiu.lu@intel.com>
16806
16807 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
16808
cbc00a03
RM
168092012-05-21 Roland McGrath <roland@hack.frob.com>
16810
16811 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
16812 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
16813 __alignof__ (long double).
16814
478143fa
AZ
168152012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16816
16817 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16818
c7683a6d
RH
168192012-05-20 Richard Henderson <rth@twiddle.net>
16820
16821 * misc/getauxval.c: New file.
16822 * misc/sys/auxv.h: New file.
16823 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
16824 (routines): Add getauxval.
16825 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
16826 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
16827 * elf/dl-sysdep.c (_dl_auxv): Remove.
16828 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
16829 * elf/dl-support.c (_dl_auxv): New variable.
16830 (_dl_aux_init): Initialize it.
16831 * manual/startup.texi (Auxiliary Vector): New node.
16832 * sysdeps/generic/bits/hwcap.h: New file.
16833 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
16834 * sysdeps/powerpc/sysdep.h: ... here. Include it.
16835 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
16836 * sysdeps/sparc/sysdep.h: ... here. Include it.
16837 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
16838 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
16839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16840 Update.
c7683a6d
RH
16841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
16842 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
16843 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
16844 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
16845 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
16846 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
16847 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
16848 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
16849
a6f1845d
AZ
168502012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16851
16852 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16853
cbcbe830
DM
168542012-05-19 David S. Miller <davem@davemloft.net>
16855
16856 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16857
e0b16cc2
JM
168582012-05-19 Joseph Myers <joseph@codesourcery.com>
16859
16860 [BZ #14123]
16861 * math/s_ccosh.c: Include <float.h>
16862 (__ccosh): Avoid internal overflow calculating sinh and cosh
16863 values before multiplying by sin and cos values.
16864 * math/s_ccoshf.c: Likewise.
16865 * math/s_ccoshl.c: Likewise.
16866 * math/s_csin.c: Likewise.
16867 * math/s_csinf.c: Likewise.
16868 * math/s_csinl.c: Likewise.
16869 * math/s_csinh.c: Likewise.
16870 * math/s_csinhf.c: Likewise.
16871 * math/s_csinhl.c: Likewise.
16872 * math/libm-test.inc (ccos_test): Add more tests.
16873 (ccosh_test): Likewise.
16874 (csin_test): Likewise.
16875 (csinh_test): Likewise.
16876 * sysdeps/i386/fpu/libm-test-ulps: Update.
16877 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16878
6ad13e08
L
168792012-05-19 H.J. Lu <hongjiu.lu@intel.com>
16880
f66f0ce8
L
16881 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
16882 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
16883
6ad13e08
L
16884 * sysdeps/x86_64/x32/_itoa.h: Add comment.
16885
b1d072a7
JM
168862012-05-19 Joseph Myers <joseph@codesourcery.com>
16887
16888 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
16889 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
16890 * sysdeps/powerpc/soft-fp/Versions: Likewise.
16891 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
16892 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
16893 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
16894 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
16895 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
16896 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
16897 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
16898 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
16899 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
16900 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
16901 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
16902 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
16903 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
16904 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
16905 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
16906 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
16907 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
16908 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
16909 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
16910 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
16911 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
16912 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
16913 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
16914 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
16915 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
16916 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
16917 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
16918 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
16919
9eae47cb
AJ
169202012-05-18 Andreas Jaeger <aj@suse.de>
16921
16922 * csu/.gitignore: Delete.
16923
bb07f69f
L
169242012-05-18 H.J. Lu <hongjiu.lu@intel.com>
16925
16926 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
16927 (timex): Use __syscall_slong_t.
16928
e6bdb741
AJ
169292012-05-18 Andreas Jaeger <aj@suse.de>
16930 Carlos O'Donell <carlos_odonell@mentor.com>
16931
16932 * manual/install.texi (Configuring and compiling): Update
16933 description about files modified in the source directory.
d6c33fda 16934 * INSTALL: Regenerated.
e6bdb741 16935
1b74487e
L
169362012-05-18 H.J. Lu <hongjiu.lu@intel.com>
16937
16938 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
16939 value. Use "or" to set return value to -1.
16940 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
16941 negate return value.
16942
a88b64b9
TMQMF
169432012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16944
16945 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
16946 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
16947 failure if the compiler has Graphite support disabled.
16948 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
16949 Likewise.
16950 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
16951 CFLAGS-memmove.c): Likewise.
16952 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
16953 Likewise.
16954
3707636e
L
169552012-05-18 H.J. Lu <hongjiu.lu@intel.com>
16956
610b8622
L
16957 * sysdeps/x86_64/x32/_itoa.h: New file.
16958
7cd195df
L
16959 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
16960 getdents system call only if kernel and user dirents have the
16961 same d_ino and d_off.
16962
94b07d20
L
16963 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
16964 LLONG_MAX != LONG_MAX.
16965 (_itoa_word): Use _ITOA_WORD_TYPE on value.
16966 (_fitoa_word): Likewise.
16967
18298070
L
16968 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
16969 years.
16970 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
16971 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
16972 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
16973
553c7ea4
L
16974 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
16975 include <bits/wordsize.h>. Check __x86_64__ instead of
16976 __WORDSIZE.
16977 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
16978 if __x86_64__ is defined. Use anonymous union on fpstate.
16979
3707636e
L
16980 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
16981 anonymous union.
16982
b53ef01a
AS
169832012-05-18 Andreas Schwab <schwab@linux-m68k.org>
16984
37fb1dc0
AS
16985 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
16986 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
16987 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
16988 Refer to _rtld_local_ro instead of _rtld_global_ro.
16989 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
16990 Likewise.
16991 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
16992 Likewise.
16993 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
16994 Likewise.
16995 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
16996 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
16997 of _rtld_global, and rtld_progname instead of _dl_argv[0].
16998
b53ef01a
AS
16999 * sysdeps/powerpc/powerpc32/dl-machine.c
17000 (__elf_machine_runtime_setup) [PROF]: Don't reference
17001 _dl_prof_resolve.
17002
7a185db2
AJ
170032012-05-18 Andreas Jaeger <aj@suse.de>
17004
17005 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
17006 function only available for GCCs before 3.4 since GCC 3.4
17007 introduced a builtin.
17008 (lrint): Likewise.
17009 (llrintf): Likewise.
17010 (llrint): Likewise.
17011 (fmaxf): Likewise.
17012 (fmax): Likewise.
17013 (fminf): Likewise.
17014 (fmin): Likewise.
17015 (rint): Likewise.
17016 (rintf): Likewise.
17017 (nearbyint): Likewise.
17018 (nearbyintf): Likewise.
17019 (ceil): Likewise.
17020 (ceilf): Likewise.
17021 (floor): Likewise.
17022 (floorf): Likewise.
17023
3e5aef87
L
170242012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17025
428bd707
L
17026 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
17027 on both fields and cast pointer to __syscall_ulong_t.
17028
3e5aef87
L
17029 * bits/types.h (__fsword_t): New type.
17030 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
17031 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
17032 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17033 (__FSWORD_T_TYPE): Likewise.
17034 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17035 (__FSWORD_T_TYPE): Likewise.
17036 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17037 (__FSWORD_T_TYPE): Likewise.
17038 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
17039 (__FSWORD_T_TYPE): Likewise.
17040 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
17041 __SWORD_TYPE with __fsword_t.
17042 (statfs64): Likewise.
17043
1ba7c3dc
DM
170442012-05-17 David S. Miller <davem@davemloft.net>
17045
17046 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
17047
59910343
AJ
170482012-05-17 Andreas Jaeger <aj@suse.de>
17049
17050 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
17051 warning.
17052
2e4c1e9e
L
170532012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17054
17055 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
17056
de7f5ce7
AJ
170572012-05-17 Andreas Jaeger <aj@suse.de>
17058
17059 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
17060 when it is used.
17061
286abc3d
CM
170622012-05-17 Chris Metcalf <cmetcalf@tilera.com>
17063
17064 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
17065
477cc68e
L
170662012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17067
17068 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
17069 * sysdeps/x86_64/tst-mallocalign1.c: New file.
17070
1a0994f5
CD
170712012-05-17 Andreas Jaeger <aj@suse.de>
17072 Carlos O'Donell <carlos_odonell@mentor.com>
17073
17074 [BZ #14059]
17075 * sysdeps/x86_64/multiarch/init-arch.h
17076 (bit_YMM_Usable): Rename to...
17077 (bit_AVX_Usable): ... this.
17078 (bit_FMA4_Usable): New macro.
17079 (bit_XMM_state): New macro.
17080 (bit_YMM_state): New macro.
17081 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
17082 [__ASSEMBLER__] (index_AVX_Usable): ... this.
17083 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
17084 (CPUID_OSXSAVE): New macro.
17085 (CPUID_AVX): New macro.
17086 (CPUID_FMA4): New macro.
17087 (index_YMM_Usable): Rename to...
17088 (index_AVX_Usable): ... this.
17089 (HAS_AVX): Use HAS_ARCH_FEATURE.
17090 (HAS_FMA4): Likewise.
17091 (HAS_YMM_USABLE): Remove.
17092 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17093 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
17094 are present.
17095 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
17096 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
17097 * sysdeps/x86_64/multiarch/Makefile: Likewise.
17098 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
17099 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
17100
0af797de
CM
171012012-05-17 Chris Metcalf <cmetcalf@tilera.com>
17102
17103 * math/libm-test.c: Support platforms without multiple rounding modes.
17104 * math/bug-nextafter.c: Support platforms without FP exceptions.
17105 * math/bug-nexttoward.c: Likewise.
17106 * math/test-fenv.c: Likewise.
17107 * math/test-misc.c: Likewise.
17108 * stdlib/bug-getcontext.c: Likewise.
17109
e39745ff
AJ
171102012-05-17 Andreas Jaeger <aj@suse.de>
17111
17112 * manual/examples/search.c (critter_cmp): Change signature to
17113 avoid warnings.
17114 * manual/string.texi (Collation Functions): Likewise.
17115
48970aba
L
171162012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17117
17118 * bits/types.h: Fold copyright years.
17119 * bits/typesizes.h: Likewise.
17120 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
17121 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
17122 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
17123 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
17124 * time/time.h: Likewise.
17125
bedee953
PP
171262012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
17127
17128 [BZ #208]
17129 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
17130 in instead of returning them. Return void.
17131 (__libc_mallinfo): Accumulate over all arenas.
17132 (__malloc_stats): Adjust for change in int_mallinfo interface.
17133
61653dfb
RM
171342012-05-16 Roland McGrath <roland@hack.frob.com>
17135
30b99d79
RM
17136 [BZ #10375]
17137 * configure.in (NM): Add AC_CHECK_TOOL for it.
17138 (libc_extra_cflags): New substituted variable.
17139 Check for -fstack-protector being used implicitly.
17140 * configure: Regenerated.
17141 * config.make.in (config-extra-cflags): New variable,
17142 gets @libc_extra_cflags@.
17143 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
17144
61653dfb
RM
17145 [BZ #10375]
17146 * configure.in: Check for _FORTIFY_SOURCE being predefined.
17147 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
17148 * configure: Regenerated.
17149 * config.make.in (CPPUNDEFS): New substituted variable.
17150 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
17151 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
17152 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
17153
661768bb
L
171542012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17155
17156 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
17157 (mq_attr): Use __syscall_slong_t.
17158
d4261567
L
171592012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17160
17161 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
17162 Check __x86_64__ instead of __WORDSIZE.
17163 (_STAT_VER_LINUX): Likewise.
17164 (stat): Check __x86_64__ instead of __WORDSIZE. Use
17165 __syscall_ulong_t and __syscall_slong_t.
17166 (stat64): Likewise.
17167
cf3ff365
L
171682012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17169
17170 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
17171
76cf3e4d
L
171722012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17173
17174 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
17175
a637753a
L
171762012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17177
17178 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
17179 __syscall_ulong_t.
17180
d5e05119
L
17181 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
17182 include <bits/wordsize.h>. Check __x86_64__ instead of
17183 __WORDSIZE.
17184 (greg_t): Use "__extension__ long long int" if __x86_64__ is
17185 defined.
17186 (mcontext_t): Replace "unsigned long" with "unsigned long long".
17187
f62ee380
L
17188 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
17189 include <bits/wordsize.h>. Check __x86_64__ instead of
17190 __WORDSIZE.
17191 (user_regs_struct): Use "__extension__ unsigned long long"
17192 instead of "unsigned long" if __x86_64__ is defined.
17193 (user): Likewise. Pad after pointer field if __ILP32__ is
17194 defined.
17195
4e124ced
JM
171962012-05-16 Joseph Myers <joseph@codesourcery.com>
17197
6a3951a0
JM
17198 * configure.in (makeinfo): Require version 4.5 or later. Allow
17199 versions 5 to 9.
17200 * configure: Regenerated.
17201 * manual/install.texi (texinfo): Increase version requirement to
17202 4.5 or later.
17203 * INSTALL: Regenerated.
17204
4e124ced
JM
17205 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
17206
953ca31a
L
172072012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17208
17209 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
17210
617aca05
L
17211 * sysdeps/x86_64/x32/ffs.c: New file.
17212
5762f7ae
L
17213 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
17214 __syscall_ulong_t.
17215 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
17216 defined. Use __syscall_ulong_t.
17217 (shminfo): Use __syscall_ulong_t.
17218 (shm_info): Likewise.
17219
a26b6856
L
17220 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
17221 __syscall_ulong_t.
17222
cb2b9ef7
L
17223 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
17224 <bits/wordsize.h>.
17225 (msgqnum_t): Use __syscall_ulong_t.
17226 (msglen_t): Likewise.
17227 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
17228 __syscall_ulong_t.
17229
34683bb0
L
17230 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
17231 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17232
84a68786
L
17233 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
17234
48baa5f1
L
17235 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
17236 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
17237
180be88b
L
17238 * sysvipc/sys/msg.h (msgbuf): Replace long int with
17239 __syscall_slong_t.
17240
5e90c8ad
L
17241 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
17242 include <bits/wordsize.h>. Check __x86_64__ instead of
17243 __WORDSIZE.
17244
23dfb58b
L
17245 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
17246 "unsigned long long int" if __x86_64__ is defined.
17247 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
17248
ce5d54b0
L
17249 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
17250 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17251 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
17252
13dc9eac
L
17253 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
17254 <stdint.h>.
17255 (GET_PC): Cast to uintptr_t first.
17256 (GET_FRAME): Likewise.
17257 (GET_STACK): Likewise.
17258
a7895d15
L
17259 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
17260 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
17261 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
17262 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
17263 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
17264 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
17265 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
17266 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
17267 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
17268 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
17269 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
17270 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
17271 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
17272 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
17273 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
17274 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
17275 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
17276 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
17277 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
17278 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
17279 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
17280 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
17281 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
17282 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
17283 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
17284 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
17285 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
17286 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
17287 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
17288
656416c9
AS
172892012-05-16 Andreas Schwab <schwab@linux-m68k.org>
17290
5bd66283
AS
17291 * Makerules (+depfiles): Also collect depfiles from .oS in
17292 $(extra-objs).
17293 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
17294 .oS, $(libnldbl-routines)).
17295
656416c9
AS
17296 * Makerules (native-compile-mkdep-flags): Define.
17297 * sunrpc/Makefile (extra-objs): Add $(addprefix
17298 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
17299 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
17300 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
17301 calling $(make-target-directory).
17302
a46f2169
L
173032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17304
17305 * bits/types.h (__snseconds_t): Removed.
17306 * time/time.h (struct timespec): Replace __snseconds_t with
17307 __syscall_slong_t.
17308 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
17309 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
17310 Likewise.
17311 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17312 (__SNSECONDS_T_TYPE): Likewise.
17313 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17314 (__SNSECONDS_T_TYPE): Likewise.
17315 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17316 (__SNSECONDS_T_TYPE): Likewise.
17317
6af6528b
L
173182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17319
17320 * sysdeps/mach/hurd/bits/typesizes.h
17321 (__SYSCALL_SLONG_TYPE): New macro.
17322 (__SYSCALL_ULONG_TYPE): Likewise.
17323
de986b56
L
173242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17325
17326 * bits/types.h (__syscall_slong_t): New type.
17327 (__syscall_ulong_t): Likewise.
17328
17329 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
17330 (__SYSCALL_ULONG_TYPE): Likewise.
17331 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17332 (__SYSCALL_SLONG_TYPE): Likewise.
17333 (__SYSCALL_ULONG_TYPE): Likewise.
17334 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17335 (__SYSCALL_SLONG_TYPE): Likewise.
17336 (__SYSCALL_ULONG_TYPE): Likewise.
17337 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17338 (__SYSCALL_SLONG_TYPE): Likewise.
17339 (__SYSCALL_ULONG_TYPE): Likewise.
17340
85736dc7
L
173412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17342
17343 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
17344 Add sigaltstack-offsets.sym.
17345 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
17346 <sigaltstack-offsets.h>.
17347 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
17348 longjmp_msg pointer.
17349 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
17350 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
17351 signal stack.
17352 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
17353
cc03b296
JM
173542012-05-15 Joseph Myers <joseph@codesourcery.com>
17355
a9538892
JM
17356 * elf/stackguard-macros.h: Remove file.
17357 * sysdeps/generic/stackguard-macros.h: New file.
17358 * sysdeps/i386/stackguard-macros.h: Likewise.
17359 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
17360 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
17361 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
17362 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
17363 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
17364 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
17365 * sysdeps/x86_64/stackguard-macros.h: Likewise.
17366 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
17367 <elf/stackguard-macros.h>.
17368
cc03b296
JM
17369 [BZ #14109]
17370 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
17371 __aligned__ in attribute.
17372 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
17373 (gregset_t): Likewise.
17374
93171016
L
173752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17376
17377 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
17378 * sysdeps/x86_64/64/Implies-after: Here. New file.
17379 * sysdeps/x86_64/x32/Implies-after: New file.
17380
d86813a0
L
173812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17382
17383 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
17384 and access return value for _dl_profile_fixup. Use R10_LP to
17385 load frame size.
17386
2953ec75
L
173872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17388
17389 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
17390
3b550e9e
L
173912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17392
17393 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
17394 * sysdeps/x86_64/x32/sysdep.h: New file.
17395
eda41706
L
173962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17397
17398 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
17399 * sysdeps/x86_64/setjmp.S: Likewise.
17400
9ea01d93
AZ
174012012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17402
17403 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
17404 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
17405 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
17406 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
17407 remove unused global constant.
17408
02a91938
CM
174092012-05-15 Chris Metcalf <cmetcalf@tilera.com>
17410
17411 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
17412 include of <not-cancel.h>.
17413
6540185f
RM
174142012-05-15 Roland McGrath <roland@hack.frob.com>
17415
17416 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
17417
509072a0
AJ
174182012-05-15 Jeff Law <law@redhat.com>
17419 Andreas Jaeger <aj@suse.de>
17420
17421 [BZ #13594]
17422 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
17423 out from...
17424 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
17425 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
17426 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
17427 code changing __hst_map_handle.map.
17428
ba75122d
RM
174292012-05-15 Roland McGrath <roland@hack.frob.com>
17430
17431 * configure.in (sysnames): Look for Implies-before and Implies-after
17432 files.
17433 * configure: Regenerated.
17434
890d8bd8
L
174352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17436
17437 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
17438 8-byte data alignment with LP_SIZE alignment.
17439
f6ee6623
L
174402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17441
17442 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
17443 into R10_LP.
17444
ea2626f6
L
174452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17446
17447 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
17448
085f715e
L
174492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17450
17451 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
17452 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
17453 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
17454 Likewise.
17455 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
17456
be8498fc
L
174572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17458
17459 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
17460 (stackinfo_sub_sp): Likewise.
17461
70bc83b9
L
174622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17463
17464 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
17465 RAX_LP.
17466
9bc0b730
L
174672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17468
17469 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
17470 into R*_LP.
17471
6d2850e7
L
174722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17473
17474 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
17475 sizes into R*_LP.
17476
3cb84561
L
174772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17478
17479 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
17480
54e2ed81
L
174812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17482
17483 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
17484 into R11_LP and load __x86_64_shared_cache_size_half into
17485 R8_LP.
17486
8a17f349
L
174872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17488
17489 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
17490 R8_LP.
17491
777b1eea
AZ
174922012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17493
17494 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
17495 logb for POWER7.
17496 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
17497 logbf for POWER7.
17498 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
17499 logbl for POWER7.
17500 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
17501 powerpc32/power7/fpu/s_logb.c via #include.
17502 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
17503 powerpc32/power7/fpu/s_logbf.c via #include.
17504 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
17505 powerpc32/power7/fpu/s_logbl.c via #include.
17506
d20d4ac2
JM
175072012-05-15 Joseph Myers <joseph@codesourcery.com>
17508
17509 * README.libm: Remove file.
17510
6cdef1ab
L
175112012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17512
17513 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
17514 count for x32. Use R*_LP and omit operand-size suffix.
17515
0b254d8f
L
175162012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17517
17518 * shlib-versions: Move x86_64-.*-linux.* entries to ...
17519 * sysdeps/x86_64/64/shlib-versions: Here. New file.
17520 * sysdeps/x86_64/x32/shlib-versions: New file.
17521
ceb809dc
RM
175222012-05-14 Roland McGrath <roland@hack.frob.com>
17523
17524 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
17525 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
17526 Use _dl_fatal_printf instead.
17527
37f1abd4
JM
175282012-05-14 Joseph Myers <joseph@codesourcery.com>
17529
17530 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
17531 set if not set by the user. Do not allow for being unset.
17532 * sysdeps/unix/sysv/linux/configure: Regenerated.
17533
11de3a33
L
175342012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17535
17536 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
17537 the `q' suffix from lea and replace .quad with ASM_ADDR.
17538
e02f153a
L
175392012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17540
17541 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
17542 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
17543 instead of $17.
17544 (PTR_DEMANGLE): Likewise.
17545
520ae0fd
L
175462012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17547
17548 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
17549 (LP_OP): Likewise.
17550 (ASM_ADDR): Likewise.
17551 (RAX_LP): Likewise.
17552 (RBP_LP): Likewise.
17553 (RBX_LP): Likewise.
17554 (RCX_LP): Likewise.
17555 (RDI_LP): Likewise.
17556 (RSI_LP): Likewise.
17557 (RSP_LP): Likewise.
17558 (R8_LP): Likewise.
17559 (R9_LP): Likewise.
17560 (R10_LP): Likewise.
17561 (R10_LP): Likewise.
17562 (R11_LP): Likewise.
17563 (R12_LP): Likewise.
17564 (R13_LP): Likewise.
17565 (R14_LP): Likewise.
17566 (R15_LP): Likewise.
17567
b985be81
L
175682012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17569
17570 * sysdeps/x86_64/x32/dl-machine.h: New file.
17571
6a4888ff
AJ
175722012-05-14 Andreas Jaeger <aj@suse.de>
17573
17574 * manual/Makefile (subdir): Remove export of subdir.
17575 (all): Remove target.
17576 (.PHONY): Remove all from list.
17577 (mkinstalldirs): Remove.
17578 (.PHONY): Remove installdirs from list.
17579 ($(inst_infodir)/libc.info): Use make-target-directory.
17580 (installdirs): Remove.
17581 (subdir_%): Remove.
17582 (glibc-targets): Remove.
17583 (lib): Remove.
17584 (stubs): Remove.
17585 ($(objpfx)stubs ../po/manual.pot): Remove.
17586 ($(objpfx)stamp%): Remove.
17587 (make-target-directory): Remove.
17588 (subdir_install): Remove.
17589 (routines): Remove.
17590 (aux): Remove.
17591 (sources): Remove.
17592 (objects): Remove.
17593 (headers): Remove.
17594
17595 [BZ #13750]
17596 * manual/.gitignore: Remove, it's not needed anymore.
17597 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
17598 all files in it.
17599 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
17600 directory.
17601 (texis): Renamed to $(objpfx)texis.
17602 (texis-path): New, contains path to generated files.
17603 (chapters.%): Use texis-path for complete path, add extra argument
17604 libc-texinfo.sh.
17605 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
17606 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
17607 (summary,texi, stamp-summary): Use complete path of
17608 files. Generate files in build dir.
17609 (dir-add.texi): Build in build dir.
17610 (libm-err.texi,stamp-libm-err): Likewise.
17611 (version.texi, stamp-version): Likewise.
17612 (.%c.texi): Likewise.
17613 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
17614 (mostlyclean): Remove target.
17615 (realclean): Remove target.
17616 (generated): Add new variable with contents from mostlyclean and
17617 realclean, remove entries duplicated in common-mostlyclean, add
17618 stamp-libm-err and stamp-version.
17619 (generated-dirs): Add libc directory.
17620 ($(inst_infodir)/libc.info): Install files from build dir.
17621
17622 * manual/install.texi (Configuring and compiling): Adjust since
17623 the info files are not part of the tar ball anymore.
17624
7ac77294
AJ
176252012-05-14 Andreas Jaeger <aj@suse.de>
17626
17627 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
17628 variable.
17629
ffb7875d
JM
176302012-05-14 Joseph Myers <joseph@codesourcery.com>
17631
17632 [BZ #13717]
17633 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
17634 to 2.2.0 where earlier.
17635 * sysdeps/unix/sysv/linux/configure: Regenerated.
17636 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
17637 Remove conditional code.
17638 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
17639 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
17640 Remove conditional code.
17641 [!__NR_lchown]: Likewise.
17642 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
17643 [__NR_lchown]: Likewise.
17644 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
17645 comment referencing __ASSUME_LCHOWN_SYSCALL.
17646 * sysdeps/unix/sysv/linux/i386/sigaction.c
17647 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17648 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17649 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
17650 Remove conditional code.
17651 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
17652 (__protocol_available): Remove #if 0 code.
17653 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
17654 conditional code.
17655 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
17656 * sysdeps/unix/sysv/linux/kernel-features.h
17657 (__ASSUME_GETCWD_SYSCALL): Don't define.
17658 (__ASSUME_REALTIME_SIGNALS): Likewise.
17659 (__ASSUME_PREAD_SYSCALL): Likewise.
17660 (__ASSUME_PWRITE_SYSCALL): Likewise.
17661 (__ASSUME_POLL_SYSCALL): Likewise.
17662 (__ASSUME_LCHOWN_SYSCALL): Likewise.
17663 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
17664 non-SPARC.
17665 (__ASSUME_SIOCGIFNAME): Don't define.
17666 (__ASSUME_MSG_NOSIGNAL): Likewise.
17667 (__ASSUME_SENDFILE): Define unconditionally.
17668 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
17669 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
17670 conditional code.
17671 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
17672 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
17673 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
17674 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
17675 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
17676 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
17677 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
17678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
17679 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17680 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
17682 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17683 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
17685 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17686 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
17688 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17689 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
17691 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17692 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
17694 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17695 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
17697 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17698 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
17700 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17701 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17702 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
17703 Remove conditional code.
17704 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17705 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
17706 Remove conditional code.
17707 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17708 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
17709 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
17710 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
17711 Remove conditional code.
17712 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17713 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
17714 Remove conditional code.
17715 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17716 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
17717 Remove conditional code.
17718 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17719 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
17720 Remove conditional code.
17721 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17722 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
17723 Remove conditional code.
17724 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17725 * sysdeps/unix/sysv/linux/sh/pwrite64.c
17726 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17727 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17728 * sysdeps/unix/sysv/linux/sigaction.c
17729 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17730 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17731 * sysdeps/unix/sysv/linux/sigpending.c
17732 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17733 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17734 * sysdeps/unix/sysv/linux/sigprocmask.c
17735 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17736 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17737 * sysdeps/unix/sysv/linux/sigsuspend.c
17738 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17739 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17740 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
17741 (__libc_missing_rt_sigs): Remove.
17742 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
17743 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
17744 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
17745 Remove conditional code.
17746 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
17747 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
17748 return 1.
17749 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
17750 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
17751 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
17752 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
17753
1bfb7291
AJ
177542012-05-14 Andreas Jaeger <aj@suse.de>
17755
caae5a81
AJ
17756 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
17757 it's not used in glibc.
17758 (__coshm1): Likewise.
17759 (__acosh1p): Likewise.
17760 (__sgn): Likewise.
17761
1bfb7291
AJ
17762 * manual/string.texi (Copying and Concatenation): Add missing
17763 variable in concat example.
17764 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
17765
c044d724
L
177662012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17767
144c5467 17768 [BZ #14103]
c044d724
L
17769 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
17770 __builtin_clzl with __builtin_clzll.
17771
2523c62b
L
177722012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17773
17774 [BZ #14104]
17775 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
17776 libc_freeres_ptr.
17777
d7bb4c42
LD
177782012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17779
17780 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
17781 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
17782 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
17783 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
17784
9dc4e1fb
MF
177852012-05-14 Mike Frysinger <vapier@gentoo.org>
17786
17787 * NEWS: Update ia64 info.
17788
c7df0112
AS
177892012-05-12 Andreas Schwab <schwab@linux-m68k.org>
17790
17791 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
17792 used as bcopy.
17793
dc70356c
TS
177942012-05-12 Thomas Schwinge <thomas@codesourcery.com>
17795
17796 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
17797 * sysdeps/unix/syscalls.list (dup3): Likewise.
17798 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
17799 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
17800
9fb1a21f
L
178012012-05-11 H.J. Lu <hongjiu.lu@intel.com>
17802
17803 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
17804 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
17805
4822a2a5
L
178062012-05-11 H.J. Lu <hongjiu.lu@intel.com>
17807
17808 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
17809 thread pointer.
17810 (TLS_IE): Use mov/add instead of movq/addq to load thread
17811 pointer.
17812 (TLS_GD_PREFIX): New.
17813 (TLS_GD): Use it.
17814
842b81d6
DM
178152012-05-11 David S. Miller <davem@davemloft.net>
17816
17817 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
17818 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
17819 (_FPU_SETCW): Likewise.
17820
1cf463cd
L
178212012-05-10 H.J. Lu <hongjiu.lu@intel.com>
17822
17823 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
17824 is 32-byte aligned.
17825
60cc4a18
AS
178262012-05-11 Andreas Schwab <schwab@linux-m68k.org>
17827
17828 [BZ #11837]
17829 * iconvdata/gb18030.c: Update tables.
17830 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
17831 characters specially.
17832 (BODY for TO_LOOP): Add encoding of missing ranges.
17833
febb44a4
TS
178342012-05-11 Thomas Schwinge <thomas@codesourcery.com>
17835
17836 [BZ #13673]
17837 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
17838 * sysdeps/mach/hurd/dup3.c: Likewise.
17839 * sysdeps/mach/hurd/readlinkat.c: Likewise.
17840 * sysdeps/powerpc/memmove.c:: Likewise.
17841
0a10fb9e
L
178422012-05-10 H.J. Lu <hongjiu.lu@intel.com>
17843
17844 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
17845 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
17846
df8a552f
L
178472012-05-10 H.J. Lu <hongjiu.lu@intel.com>
17848
17849 * elf/elf.h (R_X86_64_RELATIVE64): New.
17850 (R_X86_64_NUM): Updated.
17851 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
17852 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
17853 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
17854 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
17855 tst-quad1pie tst-quad2pie
17856 (modules-names): Add tst-quadmod1 tst-quadmod2.
17857 ($(objpfx)tst-quad1): New dependency.
17858 ($(objpfx)tst-quad2): Likewise.
17859 ($(objpfx)tst-quad1pie): Likewise.
17860 ($(objpfx)tst-quad2pie): Likewise.
17861 * sysdeps/x86_64/tst-quad1.c: New file.
17862 * sysdeps/x86_64/tst-quad1pie.c: New file.
17863 * sysdeps/x86_64/tst-quad2.c: Likewise.
17864 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
17865 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
17866 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
17867 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
17868 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
17869
f34d6f84
ST
178702012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17871
f42d41d1
ST
17872 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
17873 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
17874 * streams/stropts.h (t_scalar_t): Define type.
17875
3c3571fc
ST
17876 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
17877 (_PATH_PRESERVE): Set to "/var/lib".
17878 (_PATH_RWHODIR): Set to "/var/spool/rwho".
17879
61f06bd3
ST
17880 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
17881 instead of int.
17882
918d4d71
ST
17883 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
17884 if __dir_mkfile succeeded.
17885
f34d6f84
ST
17886 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
17887 checking for _hurd_dtablesize. Unlock it right after having
17888 finished _hurd_dtable allocation.
17889
10589b4a
TS
178902012-05-10 Thomas Schwinge <thomas@schwinge.name>
17891
674cdbc7
TS
17892 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
17893 * sysdeps/mach/hurd/configure: Regenerated.
17894 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
17895 special-casing to...
17896 * sysdeps/gnu/configure.in: ... this new file.
17897 * sysdeps/unix/sysv/linux/configure: Regenerated.
17898 * sysdeps/gnu/configure: New generated file.
17899
8e41b99f
TS
17900 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
17901 for Linux: use nsec instead of usec, as well as:
17902 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
17903 members of type struct timespec.
17904 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
17905 New macros.
17906 (struct stat64): Likewise.
17907 (_STATBUF_ST_NSEC): New macro.
17908 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
17909
10589b4a
TS
17910 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
17911 __strtoul_internal rather than strtoul.
17912
63643c85
PT
179132012-05-10 Pino Toscano <toscano.pino@tiscali.it>
17914
17915 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
17916 and reject them.
17917
3faebe6a
ST
179182012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17919
17920 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
17921 which preserves existing values.
17922 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
17923
c6474b07
PT
179242012-05-10 Pino Toscano <toscano.pino@tiscali.it>
17925
17926 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
17927 TIMEOUT values. Return EINVAL for NFDS values either negative or
17928 greater than FD_SETSIZE.
17929
1043890b
ST
179302012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17931
17932 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
17933 allocated, call __vm_protect to finish enabling the existing space, and
17934 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
17935 allocate the remainder.
17936
37ed8b9b
PT
179372012-05-10 Pino Toscano <toscano.pino@tiscali.it>
17938
17939 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
17940 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
17941
db653660
ST
179422012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17943
37ed8b9b
PT
17944 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
17945 sysdeps/mach/hurd/readlink.c.
b29d4053 17946
db653660
ST
17947 * posix/tst-sysconf.c (posix_options): Only use
17948 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
17949 _POSIX_SYNCHRONIZED_IO when they are defined
17950 * sysdeps/mach/hurd/bits/posix_opt.h:
17951 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
17952 (_XOPEN_REALTIME): Undefine macro.
17953 (_XOPEN_REALTIME_THREADS): Undefine macro.
17954 (_XOPEN_SHM): Undefine macro.
17955 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
17956 macro to -1.
17957 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
17958 macro to -1.
17959 (_POSIX_ASYNC_IO): Undefine macro.
17960 (_POSIX_PRIORITIZED_IO): Undefine macro.
17961 (_POSIX_SPIN_LOCKS): Define macro to -1.
17962
ee16e894
ST
17963 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
17964 SA_NODEFER, SA_RESETHAND.
17965 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
17966 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
17967 F_DUPFD_CLOEXEC.
17968
6103ae3b
TS
179692012-05-10 Thomas Schwinge <thomas@schwinge.name>
17970
17971 * elf/Makefile (pldd-modules): Define unconditionally.
17972
80b4e5f3
TS
179732012-05-10 Thomas Schwinge <thomas@schwinge.name>
17974
17975 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
17976
edadcbd6
ST
179772012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17978
17979 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
17980 Return ENOENT when name is empty.
17981 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
17982
80694780
TS
179832012-05-10 Thomas Schwinge <thomas@schwinge.name>
17984
1792c087
TS
17985 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
17986
80694780
TS
17987 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
17988
6b645f0d
ST
179892012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17990
80694780
TS
17991 Fix mlock in all cases except non-readable pages.
17992 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
17993 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 17994
6b645f0d
ST
17995 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
17996 (__mkdir): When path is `/', just fail with EEXIST.
17997 * sysdeps/mach/hurd/mkdirat.c: Likewise.
17998
e468f8a3
TS
179992012-05-10 Thomas Schwinge <thomas@schwinge.name>
18000
18001 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
18002 <sys/uio.h> (for writev).
18003 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
18004 and <sys/param.h> (for MIN).
18005
a4186cff
PT
180062012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18007
18008 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
18009 REQUESTED_TIME. Properly set the remaining time and return EINTR
18010 if interrupted.
18011
510bbf14
TS
180122012-05-10 Thomas Schwinge <thomas@schwinge.name>
18013
18014 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
18015 Depend on against $(link-rpcuserlibs).
18016
5d5722e8
ST
180172012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18018
a4186cff
PT
18019 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
18020 (__libc_stack_end): Do not use attribute_relro.
18021 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
18022 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 18023 to libthread-provided value.
a4186cff
PT
18024 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
18025 attribute_relro.
5d5722e8 18026
37233df9
TS
180272012-05-10 Thomas Schwinge <thomas@schwinge.name>
18028
be971a2b
TS
18029 [BZ #3748]
18030 * bits/libc-lock.h (__libc_once_get): New macro.
18031 * sysdeps/mach/bits/libc-lock.h: Likewise.
18032 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
18033 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
18034 instead of using implementation details.
18035
37233df9
TS
18036 * libio/fileops.c: Unconditionally include <kernel-features.h>.
18037 * libio/freopen.c: Likewise.
18038 * libio/freopen64.c: Likewise.
18039 * misc/syslog.c: Likewise.
18040 * nscd/connections.c: Likewise.
18041 * nscd/netgroupcache.c: Likewise.
18042 * sysdeps/posix/getcwd.c: Likewise.
18043
38de94a5
RM
180442012-05-10 Roland McGrath <roland@hack.frob.com>
18045
18046 * math/w_ilogbf.c: Add #include <limits.h>.
18047
67530489
ST
180482012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18049
a4186cff 18050 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
18051 path instead of returning without unlocking.
18052
67530489
ST
18053 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
18054 immediate-write ioctls.
18055 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
18056
5aa3a74a
TS
180572012-05-10 Thomas Schwinge <thomas@schwinge.name>
18058
18bad2ae
TS
18059 * sysdeps/mach/hurd/i386/init-first.c (init): Use
18060 __builtin_frame_address instead of making assumptions about the
18061 location of the return address relative to DATA. Force early load of
18062 the return address.
18063 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
18064 __builtin_frame_address.
18065
5aa3a74a
TS
18066 dup3 for GNU Hurd.
18067 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
18068 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
18069 implement dup3 and do some further code clean-ups.
18070 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
18071 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
18072
ecd0de9a
ST
180732012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18074
cd9fa985
ST
18075 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
18076
a4186cff
PT
18077 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
18078 HURD_CRITICAL_END around holding _hurd_dtable_lock.
18079 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
18080 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
18081 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
18082 d->port.lock.
802ca5a5 18083
a4186cff
PT
18084 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
18085 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
18086 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 18087
bcf55240
TS
180882012-05-10 Thomas Schwinge <thomas@schwinge.name>
18089
6960eb42
TS
18090 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
18091 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
18092 definitions.
18093
eb43375f
TS
18094 accept4 for GNU Hurd.
18095 * include/sys/socket.h (__libc_accept4): New prototype.
18096 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
18097 to implement __libc_accept4.
18098 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
18099 __libc_accept4.
18100 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
18101
bcf55240
TS
18102 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
18103 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
18104 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
18105 signal-defines.sym.
18106
6178c55b
ST
181072012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18108
a4186cff 18109 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 18110
6f080c2f
TS
181112012-05-10 Thomas Schwinge <thomas@schwinge.name>
18112
18113 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
18114 assertion on O_CLOEXEC flag.
18115 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
18116 * hurd/intern-fd.c: Likewise.
18117 * hurd/port2fd.c: Likewise.
18118
bcfe3a54
ST
181192012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18120
18121 [BZ #3906]
18122 * bits/in.h (IPV6_PKTINFO): Define new macro.
18123 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
18124
89c9aa49
AZ
181252012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18126
18127 [BZ #13954]
18128 [BZ #13955]
18129 [BZ #13956]
18130 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
18131 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
18132 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
18133 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
18134 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18135 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
18136 * math/libm-test.inc (logb_test) : Additional logb tests.
18137
021db4be
AJ
181382012-05-09 Andreas Schwab <schwab@linux-m68k.org>
18139 Andreas Jaeger <aj@suse.de>
18140
18141 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
18142 * configure: Regenerated.
18143 * config.h.in (LINK_OBSOLETE_RPC): New macro.
18144 * config.make.in (link-obsolete-rpc): New substituted variable.
18145 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
18146 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
18147 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
18148 (shared-only-routines): Don't set it under [link-obsolete-rpc],
18149 so that libc.a contains the symbols.
18150 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
18151 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
18152 * sunrpc/auth_none.c: Likewise.
18153 * sunrpc/auth_unix.c: Likewise.
18154 * sunrpc/authdes_prot.c: Likewise.
18155 * sunrpc/authuxprot.c: Likewise.
18156 * sunrpc/clnt_gen.c: Likewise.
18157 * sunrpc/clnt_perr.c: Likewise.
18158 * sunrpc/clnt_raw.c: Likewise.
18159 * sunrpc/clnt_simp.c: Likewise.
18160 * sunrpc/clnt_tcp.c: Likewise.
18161 * sunrpc/clnt_udp.c: Likewise.
18162 * sunrpc/clnt_unix.c: Likewise.
18163 * sunrpc/des_crypt.c: Likewise.
18164 * sunrpc/des_soft.c: Likewise.
18165 * sunrpc/get_myaddr.c: Likewise.
18166 * sunrpc/key_call.c: Likewise.
18167 * sunrpc/key_prot.c: Likewise.
18168 * sunrpc/netname.c: Likewise.
18169 * sunrpc/pm_getmaps.c: Likewise.
18170 * sunrpc/pm_getport.c: Likewise.
18171 * sunrpc/pmap_clnt.c: Likewise.
18172 * sunrpc/pmap_prot.c: Likewise.
18173 * sunrpc/pmap_prot2.c: Likewise.
18174 * sunrpc/pmap_rmt.c: Likewise.
18175 * sunrpc/publickey.c: Likewise.
18176 * sunrpc/rpc_cmsg.c: Likewise.
18177 * sunrpc/rpc_common.c: Likewise.
18178 * sunrpc/rpc_dtable.c: Likewise.
18179 * sunrpc/rpc_prot.c: Likewise.
18180 * sunrpc/rpc_thread.c: Likewise.
18181 * sunrpc/rtime.c: Likewise.
18182 * sunrpc/svc.c: Likewise.
18183 * sunrpc/svc_auth.c: Likewise.
18184 * sunrpc/svc_raw.c: Likewise.
18185 * sunrpc/svc_run.c: Likewise.
18186 * sunrpc/svc_tcp.c: Likewise.
18187 * sunrpc/svc_udp.c: Likewise.
18188 * sunrpc/svc_unix.c: Likewise.
18189 * sunrpc/svcauth_des.c: Likewise.
18190 * sunrpc/xcrypt.c: Likewise.
18191 * sunrpc/xdr.c: Likewise.
18192 * sunrpc/xdr_array.c: Likewise.
18193 * sunrpc/xdr_float.c: Likewise.
18194 * sunrpc/xdr_intXX_t.c: Likewise.
18195 * sunrpc/xdr_mem.c: Likewise.
18196 * sunrpc/xdr_rec.c: Likewise.
18197 * sunrpc/xdr_ref.c: Likewise.
18198 * sunrpc/xdr_sizeof.c: Likewise.
18199 * sunrpc/xdr_stdio.c: Likewise.
18200
b5c086a2
RM
182012012-05-10 Roland McGrath <roland@hack.frob.com>
18202
18203 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
18204 change. Update copyright years.
18205
6d74dd09
JM
182062012-05-10 Joseph Myers <joseph@codesourcery.com>
18207
18208 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
18209
28e72501
MK
182102012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
18211 Joseph Myers <joseph@codesourcery.com>
18212 Paul Pluzhnikov <ppluzhnikov@google.com>
18213
18214 [BZ #14012]
18215 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
18216 requiring rpcgen.
18217 [cross-compiling] (extra-libs): Likewise.
18218 [cross-compiling] (extra-libs-others): Likewise.
18219 [cross-compiling] (librpcsvc-routines): Likewise.
18220 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
18221 [cross-compiling] (omit-deps): Likewise.
18222 (sunrpc-CPPFLAGS): New variable.
18223 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
18224 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
18225 (cross-rpcgen-objs): New variable.
18226 (extra-objs): Append $(cross-rpcgen-objs).
18227 ($(cross-rpcgen-objs)): New rule.
18228 ($(objpfx)cross-rpcgen): Likewise.
18229 (rpcgen-cmd): Define to use $(built-program-file). Expand
18230 comment.
18231 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
18232 ($(objpfx)x%.stmp): Likewise.
18233 * sunrpc/proto.h [IS_IN_build] (_): Define.
18234 [IS_IN_build] (_libc_intl_domainname): Likewise.
18235
c8c59454
L
182362012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18237
18238 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
18239 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
18240 and R_X86_64_TPOFF64.
18241
6f27cd16
JM
182422012-05-10 Joseph Myers <joseph@codesourcery.com>
18243
18244 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
18245 sysdeps/unix/sysv/syscalls.list.
18246 (stime): Likewise.
18247 (utime): Likewise.
18248 * sysdeps/unix/sysv/syscalls.list: Remove file.
18249
02467e1c
PE
182502012-05-10 Paul Eggert <eggert@cs.ucla.edu>
18251
18252 [BZ #3440]
18253 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
18254 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
18255 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
18256 (__LC_IDENTIFICATION): Make these macros useful in #if
18257 expressions, as required by C99.
18258
da392631
AS
182592012-05-10 Andreas Schwab <schwab@linux-m68k.org>
18260
18261 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
18262 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
18263 after this.
18264
8115f29b
L
182652012-05-09 H.J. Lu <hongjiu.lu@intel.com>
18266
18267 * stdlib/longlong.h: Updated from GCC.
18268
bdd74070
AJ
182692012-05-09 Andreas Jaeger <aj@suse.de>
18270
edfe0dbe
AJ
18271 * nscd/nscd.c (run_modes): Make named enum, reorder so that
18272 default is first entry.
18273 (run_mode): Set type.
18274 (main): Remove informal message about syslog.
18275 (options): Fix typo.
18276
bcfe3a54
ST
18277 [BZ #14053]
18278 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 18279 to asm.
bcfe3a54
ST
18280 (lrint): Likewise.
18281 (llrintf): Likewise.
18282 (llrint): Likewise.
18283 (rint): Likewise.
18284 (rintf): Likewise.
18285 (nearbyint): Likewise.
18286 (nearbyintf): Likewise.
bdd74070 18287
91d8d69e
AJ
182882012-05-09 Andreas Jaeger <aj@suse.de>
18289 Pedro Alves <palves@redhat.com>
18290
18291 * nscd/nscd.c (run_mode): Use enum.
18292 (main): Cleanup coding style issue.
18293
bb90b80b
AJ
182942012-05-09 Alexandre Oliva <aoliva@redhat.com>
18295 Andreas Jaeger <aj@suse.de>
18296
bcfe3a54
ST
18297 * nscd/nscd.c (go_background): Replaced with...
18298 (run_mode): ... this.
bb90b80b 18299 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
18300 (options): Add -F --foreground.
18301 (main): Implement it.
18302 (parse_opt): Parse it.
bb90b80b 18303
1a4b75a1
AJ
183042012-05-09 Andreas Jaeger <aj@suse.de>
18305
18306 [BZ #14083]
18307 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
18308 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
18309 -Wconversion warning.
18310 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
18311 Likewise.
18312
b1cc2472
JM
183132012-05-09 Joseph Myers <joseph@codesourcery.com>
18314
18315 * conform/data/locale.h-data (NULL): Use macro-constant. Require
18316 == 0.
18317 (LC_ALL): Use macro-int-constant.
18318 (LC_COLLATE): Likewise.
18319 (LC_CTYPE): Likewise.
18320 (LC_MESSAGES): Likewise.
18321 (LC_MONETARY): Likewise.
18322 (LC_NUMERIC): Likewise.
18323 (LC_TIME): Likewise.
18324 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
18325 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
18326 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18327 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
18328 Specify type.
18329 [C99-based standards] (float_t): Expect type.
18330 [C99-based standards] (double_t): Expect type.
18331 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
18332 type.
18333 [C99-based standards] (HUGE_VALL): Likewise.
18334 [C99-based standards] (INFINITY): Likewise.
18335 [C99-based standards] (NAN): Likewise.
18336 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
18337 [C99-based standards] (FP_NAN): Likewise.
18338 [C99-based standards] (FP_NORMAL): Likewise.
18339 [C99-based standards] (FP_SUBNORMAL): Likewise.
18340 [C99-based standards] (FP_ZERO): Likewise.
18341 [C99-based standards] (FP_FAST_FMA): Use
18342 optional-macro-int-constant. Specify type. Require == 1.
18343 [C99-based standards] (FP_FAST_FMAF): Likewise.
18344 [C99-based standards] (FP_FAST_FMAL): Likewise.
18345 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
18346 [C99-based standards] (FP_ILOGBNAN): Likewise.
18347 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
18348 Specify type.
18349 [C99-based standards] (MATH_ERREXCEPT): Likewise.
18350 [C99-based standards] (math_errhandling): Specify type.
18351 [ISO99 || ISO11] (signgam): Do not allow.
18352 [non-C99-based standards] (copysignf): Do not allow.
18353 [non-C99-based standards] (exp2f): Likewise.
18354 [non-C99-based standards] (log2f): Likewise.
18355 [non-C99-based standards] (modff): Allow.
18356 [non-C99-based standards] (erff): Do not allow.
18357 [non-C99-based standards] (erfcf): Likewise.
18358 [non-C99-based standards] (gammaf): Likewise.
18359 [non-C99-based standards] (hypotf): Likewise.
18360 [non-C99-based standards] (j0f): Likewise.
18361 [non-C99-based standards] (j1f): Likewise.
18362 [non-C99-based standards] (jnf): Likewise.
18363 [non-C99-based standards] (lgammaf): Likewise.
18364 [non-C99-based standards] (tgammaf): Likewise.
18365 [non-C99-based standards] (y0f): Likewise.
18366 [non-C99-based standards] (y1f): Likewise.
18367 [non-C99-based standards] (ynf): Likewise.
18368 [non-C99-based standards] (isnanf): Likewise.
18369 [non-C99-based standards] (acoshf): Likewise.
18370 [non-C99-based standards] (asinhf): Likewise.
18371 [non-C99-based standards] (atanhf): Likewise.
18372 [non-C99-based standards] (cbrtf): Likewise.
18373 [non-C99-based standards] (expm1f): Likewise.
18374 [non-C99-based standards] (ilogbf): Likewise.
18375 [non-C99-based standards] (log1pf): Likewise.
18376 [non-C99-based standards] (logbf): Likewise.
18377 [non-C99-based standards] (nextafterf): Likewise.
18378 [non-C99-based standards] (remainderf): Likewise.
18379 [non-C99-based standards] (rintf): Likewise.
18380 [non-C99-based standards] (scalbf): Likewise.
18381 [non-C99-based standards] (copysignl): Likewise.
18382 [non-C99-based standards] (exp2l): Likewise.
18383 [non-C99-based standards] (log2l): Likewise.
18384 [non-C99-based standards] (modfl): Allow.
18385 [non-C99-based standards] (erfl): Do not allow.
18386 [non-C99-based standards] (erfcl): Likewise.
18387 [non-C99-based standards] (gammal): Likewise.
18388 [non-C99-based standards] (hypotl): Likewise.
18389 [non-C99-based standards] (j0l): Likewise.
18390 [non-C99-based standards] (j1l): Likewise.
18391 [non-C99-based standards] (jnl): Likewise.
18392 [non-C99-based standards] (lgammal): Likewise.
18393 [non-C99-based standards] (tgammal): Likewise.
18394 [non-C99-based standards] (y0l): Likewise.
18395 [non-C99-based standards] (y1l): Likewise.
18396 [non-C99-based standards] (ynl): Likewise.
18397 [non-C99-based standards] (isnanl): Likewise.
18398 [non-C99-based standards] (acoshl): Likewise.
18399 [non-C99-based standards] (asinhl): Likewise.
18400 [non-C99-based standards] (atanhl): Likewise.
18401 [non-C99-based standards] (cbrtl): Likewise.
18402 [non-C99-based standards] (expm1l): Likewise.
18403 [non-C99-based standards] (ilogbl): Likewise.
18404 [non-C99-based standards] (log1pl): Likewise.
18405 [non-C99-based standards] (logbl): Likewise.
18406 [non-C99-based standards] (nextafterl): Likewise.
18407 [non-C99-based standards] (remainderl): Likewise.
18408 [non-C99-based standards] (rintl): Likewise.
18409 [non-C99-based standards] (scalbl): Likewise.
18410 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18411 [non-C99-based standards] (FP_*): Do not allow.
18412 [C99-based standards] (FP_*): Change to
18413 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
18414 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18415 allow.
18416 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
18417 (SIG_ERR): Likewise.
18418 [X/Open-based standards] (SIG_HOLD): Likewise.
18419 (SIG_IGN): Likewise.
18420 (SIGABRT): Use macro-int-constant. Specify type. Require
18421 positive value.
18422 (SIGFPE): Likewise.
18423 (SIGILL): Likewise.
18424 (SIGINT): Likewise.
18425 (SIGSEGV): Likewise.
18426 (SIGTER): Likewise.
18427 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
18428 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
18429 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
18430 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
18431 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
18432 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
18433 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
18434 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
18435 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
18436 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
18437 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
18438 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
18439 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
18440 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
18441 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
18442 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
18443 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
18444 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
18445 [X/Open-based standards] (SIGTRAP): Likewise.
18446 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
18447 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
18448 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
18449 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
18450 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18451 allow.
18452
b9f1922d
IW
184532012-05-08 Ian Wienand <ianw@vmware.com>
18454
18455 [BZ #14080]
18456 * time/tzset.c (__tzset_parse_tz): Update default rules for
18457 daylight time changes in the Energy Policy Act of 2005.
18458
1db86e88
AJ
184592012-05-09 Andreas Jaeger <aj@suse.de>
18460
18461 [BZ #13983]
18462 * elf/ldconfig.c (parse_conf): Change string to make clear that
18463 ldconfig only issued a warning if ld.so.conf does not exist.
18464
dee4a4e3
DM
184652012-05-08 David S. Miller <davem@davemloft.net>
18466
ee0db190
DM
18467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
18468 movxtod instead of popping the value on the stack.
18469
dee4a4e3
DM
18470 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18471
6a43ec98
CD
184722012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
18473
18474 * config.h.in: Add HAVE_ARM_PCS_VFP.
18475
05c2c961
RMG
184762012-05-08 Roland Mc Grath <roland@hack.frob.com>
18477
bcfe3a54
ST
18478 [BZ #13979]
18479 * include/features.h: Warn if user requests __FORTIFY_SOURCE
18480 checking but the checks are disabled for any reason.
05c2c961 18481
4b30f61a
L
184822012-05-08 H.J. Lu <hongjiu.lu@intel.com>
18483
18484 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
18485 and ELF64_R_TYPE with ELFW(R_TYPE).
18486
eee2bc67
JM
184872012-05-08 Joseph Myers <joseph@codesourcery.com>
18488
7ea5391a
JM
18489 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
18490 (ulimit): Likewise.
18491
eee2bc67
JM
18492 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
18493 (settimeofday): Likewise.
18494
abb66a67
MF
184952012-05-08 Mike Frysinger <vapier@gentoo.org>
18496
18497 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
18498 a struct th_u2 inside the union, and move tu_block/tu_code into
18499 a new th_u3 union of tu_block/tu_code inside of that. Move
18500 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
18501 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
18502 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
18503 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
18504 (th_stuff): Change to th_u1.tu_stuff.
18505 (th_data): Define.
18506 (th_msg): Change to th_u1.th_u2.tu_data.
18507
7f18b530
DM
185082012-05-07 David S. Miller <davem@davemloft.net>
18509
05760585
DM
18510 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18511
7f18b530
DM
18512 [BZ #14074]
18513 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
18514 (SETUP_PIC_REG): Use it.
18515 (SETUP_PIC_REG_LEAF): Use it.
18516
495fd99f
JM
185172012-05-07 Joseph Myers <joseph@codesourcery.com>
18518
18519 [BZ #13885]
18520 [BZ #13923]
18521 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18522 USE_AS_EXPM1L.
18523 (EXPL_FINITE): Likewise.
18524 (FLDLOG): Likewise.
18525 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
18526 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
18527 e_expl.S.
18528 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18529 USE_AS_EXPM1L.
18530 (EXPL_FINITE): Likewise.
18531 (FLDLOG): Likewise.
18532 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
18533 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
18534 e_expl.S.
18535 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
18536 test of -max_value argument for long double.
18537 * sysdeps/i386/fpu/libm-test-ulps: Update.
18538 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18539
6693d694
DM
185402012-05-06 David S. Miller <davem@davemloft.net>
18541
18542 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
18543 quad soft-float symbols whose references which are compiler
18544 generated.
18545 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
18546
6c23e11c
JM
185472012-05-06 Joseph Myers <joseph@codesourcery.com>
18548
d8b82cad
JM
18549 [BZ #13884]
18550 [BZ #13914]
18551 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18552 USE_AS_EXP10L.
18553 (EXPL_FINITE): Likewise.
18554 (FLDLOG): Likewise.
18555 (c0): Likewise.
18556 (c1): Likewise.
18557 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
18558 Adjust comments for base varying.
18559 (__expl_finite): Change alias to EXPL_FINITE.
18560 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
18561 e_expl.S.
18562 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
18563 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
18564 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
18565 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
18566 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18567 USE_AS_EXP10L.
18568 (EXPL_FINITE): Likewise.
18569 (FLDLOG): Likewise.
18570 (c0): Likewise.
18571 (c1): Likewise.
18572 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
18573 Adjust comments for base varying.
18574 (__expl_finite): Change alias to EXPL_FINITE.
18575 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
18576 tests for bugs.
18577 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18578
6c23e11c
JM
18579 [BZ #14064]
18580 * math/libm-test.inc (check_float_internal): Correct ulp
18581 calculation for subnormal expected results.
18582
29ba805c
AJ
185832012-05-06 Andreas Jaeger <aj@suse.de>
18584
18585 * Makeconfig (+math-flags): New, set to -frounding-math.
18586 (+cflags): Add +math-flags so that all of glibc gets compiled with
18587 it.
18588
18589 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
18590
7b17aeda
JM
185912012-05-05 Joseph Myers <joseph@codesourcery.com>
18592
5779f134
JM
18593 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
18594 Disable one test.
18595
41498f4d
JM
18596 [BZ #13787]
18597 [BZ #13922]
18598 [BZ #14036]
18599 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
18600 (__ieee754_expl): Allow for and saturate large arguments.
18601 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
18602 (u_threshold): Likewise.
18603 (__exp): Call __ieee754_exp before checking for overflow and
18604 underflow.
18605 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
18606 (u_threshold): Likewise.
18607 (__expf): Call __ieee754_expf before checking for overflow and
18608 underflow.
18609 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
18610 (u_threshold): Likewise.
18611 (__expl): Call __ieee754_expl before checking for overflow and
18612 underflow.
18613 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
18614 (__ieee754_expl): Allow for and saturate large arguments.
18615 * math/libm-test.inc (exp_test): Add another test. Do not allow
18616 missing overflow exception on overflow.
18617 (expm1_test): Do not allow missing overflow exception on overflow.
18618
6698b8bf
JM
18619 * sysdeps/i386/fpu/e_expl.c: Move to ...
18620 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
18621 rather than using inline asm.
18622 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
18623 * sysdeps/x86_64/fpu/e_expl.S: Copy from
18624 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
18625
7b17aeda
JM
18626 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
18627 (nice): Likewise.
18628 (poll): Likewise.
18629 (signal): Likewise.
18630 (time): Likewise.
18631 (times): Likewise.
18632
f7c85819
JM
186332012-05-04 Joseph Myers <joseph@codesourcery.com>
18634
18635 * sysdeps/unix/syscalls.list (adjtime): Add entry from
18636 sysdeps/unix/common/syscalls.list.
18637 (fchmod): Likewise.
18638 (fchown): Likewise.
18639 (ftruncate): Likewise.
18640 (getrusage): Likewise.
18641 (gettimeofday): Likewise.
18642 (setpgid): Likewise.
18643 (setregid): Likewise.
18644 (setreuid): Likewise.
18645 (sigaction): Likewise.
18646 (truncate): Likewise.
18647 (vhangup): Likewise.
18648 * sysdeps/unix/common/syscalls.list: Remove file.
18649 * sysdeps/unix/bsd/Implies: Don't include unix/common.
18650 * sysdeps/unix/sysv/linux/Implies: Likewise.
18651
336270d0
L
186522012-05-04 H.J. Lu <hongjiu.lu@intel.com>
18653
18654 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
18655 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
18656 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
18657 Moved to ...
18658 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
18659 Here.
18660 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
18661 to ...
18662 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
18663 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
18664 to ...
18665 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
18666 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
18667 to ...
18668 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
18669 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
18670 to ...
18671 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
18672 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
18673 to ...
18674 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
18675 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
18676 to ...
18677 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
18678 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
18679 to ...
18680 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
18681 Here.
18682 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
18683 to ...
18684 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
18685 Here.
18686 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
18687 to ...
18688 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
18689 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
18690 Moved to ...
18691 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
18692 Here.
18693 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
18694 to ...
18695 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
18696
d128e450
JM
186972012-05-04 Joseph Myers <joseph@codesourcery.com>
18698
fa8ee516
JM
18699 * sysdeps/unix/common/bits/dirent.h: Remove file.
18700 * sysdeps/unix/common/bits/fcntl.h: Likewise.
18701
d128e450
JM
18702 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
18703 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
18704 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
18705 * sysdeps/unix/bsd/isatty.c: Likewise.
18706 * sysdeps/unix/bsd/tcdrain.c: Likewise.
18707 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
18708 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
18709
ff8faaf0 187102012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 18711
62881be4 18712 [BZ #13563]
31dc8730
AZ
18713 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
18714 long double comparison inaccuracies.
18715 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
18716 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18717
6fef930c
AS
187182012-05-04 Andreas Schwab <schwab@linux-m68k.org>
18719
18720 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
18721 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
18722
8f203e6c
JM
187232012-05-04 Joseph Myers <joseph@codesourcery.com>
18724
18725 [BZ #14049]
18726 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
18727 nonzero digits before rounding a hex value.
18728 * stdlib/tst-strtod.c (tests): Add another test.
18729
5197d9c2
AK
187302012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18731
18732 * sysdeps/s390/fpu/libm-test-ulps: Update.
18733
f0c1dedf
AJ
187342012-05-03 Andreas Jaeger <aj@suse.de>
18735
18736 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
18737 does not get optimized out.
18738 (malloc_opt_barrier): New.
18739
a65ef2ae 187402012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 18741 Roland McGrath <roland@hack.frob.com>
a65ef2ae 18742
2b942cb7 18743 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 18744 intermediate file deletion.
2b942cb7 18745 (generated): Add .symlist files.
a65ef2ae 18746
54b71e02
JM
187472012-05-03 Joseph Myers <joseph@codesourcery.com>
18748
18749 [BZ #13775]
18750 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
18751 Redirect under this condition.
18752 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
18753 [__USE_GNU] (__dprintf_chk): Not under this condition.
18754 [__USE_GNU] (__vdprintf_chk): Likewise.
18755 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
18756 under this condition.
18757 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
18758 [__USE_XOPEN2K8] (dprintf): Define under this condition.
18759 [__USE_XOPEN2K8] (vdprintf): Likewise.
18760 [__USE_GNU] (__dprintf_chk): Not under this condition.
18761 [__USE_GNU] (__vdprintf_chk): Likewise.
18762 [__USE_GNU] (dprintf): Likewise.
18763 [__USE_GNU] (vdprintf): Likewise.
18764
d3dfcc41
RM
187652012-05-03 Roland McGrath <roland@hack.frob.com>
18766
18767 * elf/Makefile (common-generated): Set this instead of generated for
18768 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
18769 $(all-built-dso)-derived lists.
18770
7ac30cc5
AJ
187712012-05-03 Andreas Jaeger <aj@suse.de>
18772
0c51e550
AJ
18773 * sysdeps/i386/fpu/libm-test-ulps: Update.
18774
7ac30cc5
AJ
18775 * FAQ: Removed.
18776 * FAQ.in: Likewise.
18777 * scripts/gen-FAQ.pl: Likewise.
18778 * manual/install.texi (Installation): Point to online location of
18779 FAQ.
18780 * Makefile (files-for-dist): Remove FAQ.
18781 (FAQ): Remove.
18782
d4c2917f
AM
187832012-05-02 Allan McRae <allan@archlinux.org>
18784
18785 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
18786 (LDFLAGS-reldepmod5.so): Likewise.
18787 (LDFLAGS-reldep6mod1.so): Likewise.
18788 (LDFLAGS-reldep6mod4.so): Likewise.
18789 (LDFLAGS-reldep8mod3.so): Likewise.
18790 (LDFLAGS-unload4mod1.so): Likewise.
18791 (LDFLAGS-unload4mod2.so): Likewise.
18792 (LDFLAGS-tst-initorder): Likewise.
18793 (LDFLAGS-tst-initordera2.so): Likewise.
18794 (LDFLAGS-tst-initordera3.so): Likewise.
18795 (LDFLAGS-tst-initordera4.so): Likewise.
18796 (LDFLAGS-tst-initorderb2.so): Likewise.
18797 (LDFLAGS-noload): Likewise.
18798 (LDFLAGS-next): Likewise.
18799 (LDFLAGS-order2mod1.so): Likewise.
18800 (LDFLAGS-order2mod2.so): Likewise.
18801 (LDFLAGS-tst-initorder2): Likewise.
18802 (LDFLAGS-tst-initorder2a.so): Likewise.
18803 (LDFLAGS-tst-initorder2b.so): Likewise.
18804 (LDFLAGS-tst-initorder2c.so): Likewise.
18805 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
18806
d77f993f
DM
188072012-05-02 David S. Miller <davem@davemloft.net>
18808
18809 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18810
171a70b4
PP
188112012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
18812
18813 [BZ #14055]
18814 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
18815
0be196ad
AJ
188162012-05-02 Andreas Jaeger <aj@suse.de>
18817
18818 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
18819 since we manipulate rounding mode.
18820 (CPPFLAGS-test-idouble.c): Likewise.
18821 (CPPFLAGS-test-ifloat.c): Likewise.
18822 (CFLAGS-test-ldouble.c): Likewise.
18823 (CFLAGS-test-double.c): Likewise.
18824 (CFLAGS-test-float.c): Likewise.
18825 (CFLAGS-test-misc.c): Likewise.
18826 (CFLAGS-test-test-fenv.c): Likewise.
18827
4f9d04aa
AZ
188282012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18829
2b942cb7
RM
18830 [BZ #2550]
18831 [BZ #2570]
18832 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
18833 comparisons to determine direction to adjust input.
4f9d04aa 18834
82a79e7d
RM
188352012-05-01 Roland McGrath <roland@hack.frob.com>
18836
f5a01ca9
RM
18837 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
18838 output to the target.
18839
90fe4186
RM
18840 * scripts/localplt.awk: New file.
18841 * elf/Makefile ($(objpfx)check-localplt): Target removed.
18842 (check-localplt-CFLAGS): Variable removed.
18843 ($(all-built-dso:=.jmprel)): New static pattern rule.
18844 (generated): Add those targets.
18845 (localplt-built-dso): New variable.
18846 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
18847
18848 * elf/check-localplt.c: File removed.
18849
82397ed6
RM
18850 * scripts/check-execstack.awk: New file.
18851 * elf/Makefile ($(objpfx)check-execstack): Target removed.
18852 (check-execstack-CFLAGS): Variable removed.
18853 ($(objpfx)check-execstack.h): Target removed.
18854 ($(objpfx)execstack-default): New target.
18855 (generated): Add that instead of check-execstack.h.
18856 ($(all-built-dso:=.phdr)): New static pattern rule.
18857 (generated): Add those targets.
18858 * elf/check-execstack.c: File removed.
18859
82a79e7d
RM
18860 * scripts/check-textrel.awk: New file.
18861 * elf/Makefile ($(objpfx)check-textrel): Target removed.
18862 (check-textrel-CFLAGS): Variable removed.
18863 (all-built-dso): Use := to define.o
18864 ($(all-built-dso:=.dyn)): New static pattern rule.
18865 (generated): Add those targets.
18866 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
18867 * config.make.in (READELF): New substituted variable.
18868 * elf/check-textrel.c: File removed.
18869
62fde54f 188702012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 18871
615605c9
JM
18872 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18873 allow.
18874 * conform/data/ctype.h-data [C99-based standards] (isblank):
18875 Expect function.
18876 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
18877 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
18878 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18879 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
18880 Specify type. Require positive value.
18881 (EILSEQ): Likewise.
18882 (ERANGE): Likewise.
18883 [ISO || POSIX] (EILSEQ): Do not expect.
18884 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
18885 Specify type. Require positive value.
18886 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
18887 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
18888 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
18889 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
18890 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
18891 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
18892 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
18893 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
18894 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
18895 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
18896 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
18897 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
18898 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
18899 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
18900 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
18901 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
18902 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
18903 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
18904 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
18905 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
18906 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
18907 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
18908 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
18909 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
18910 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
18911 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
18912 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
18913 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
18914 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
18915 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
18916 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
18917 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
18918 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
18919 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
18920 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
18921 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
18922 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
18923 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
18924 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
18925 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
18926 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
18927 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
18928 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
18929 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
18930 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
18931 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
18932 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
18933 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
18934 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
18935 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
18936 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
18937 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
18938 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
18939 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
18940 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
18941 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
18942 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
18943 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
18944 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
18945 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
18946 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
18947 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
18948 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
18949 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
18950 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
18951 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
18952 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
18953 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
18954 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
18955 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
18956 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
18957 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
18958 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
18959 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
18960 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
18961 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
18962 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
18963 Require >= 2.
18964 (FLT_ROUNDS): Expect as macro, not constant.
18965 (FLT_MANT_DIG): Use macro-int-constant.
18966 (DBL_MANT_DIG): Likewise.
18967 (LDBL_MANT_DIG): Likewise.
18968 (FLT_DIG): Likewise.
18969 (DBL_DIG): Likewise.
18970 (LDBL_DIG): Likewise.
18971 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
18972 (DBL_MIN_EXP): Likewise.
18973 (LDBL_MIN_EXP): Likewise.
18974 (FLT_MAX_EXP): Use macro-int-constant.
18975 (DBL_MAX_EXP): Likewise.
18976 (LDBL_MAX_EXP): Likewise.
18977 (FLT_MAX_10_EXP): Likewise.
18978 (DBL_MAX_10_EXP): Likewise.
18979 (LDBL_MAX_10_EXP): Likewise.
18980 (FLT_MAX): Use macro-constant.
18981 (DBL_MAX): Likewise.
18982 (LDBL_MAX): Likewise.
18983 (FLT_EPSILON): Use macro-constant. Give upper bound.
18984 (DBL_EPSILON): Likewise.
18985 (LDBL_EPSILON): Likewise.
18986 (FLT_MIN): Likewise.
18987 (DBL_MIN): Likewise.
18988 (LDBL_MIN): Likewise.
18989 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
18990 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
18991 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
18992 [ISO11] (FLT_HAS_SUBNORM): Likewise.
18993 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
18994 [ISO11] (DBL_DECIMAL_DIG): Likewise.
18995 [ISO11] (FLT_DECIMAL_DIG): Likewise.
18996 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
18997 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
18998 [ISO11] (FLT_TRUE_MIN): Likewise.
18999 [ISO11] (LDBL_TRUE_MIN): Likewise.
19000 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19001 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
19002 (SCHAR_MIN): Use macro-int-constant. Specify type.
19003 (SCHAR_MAX): Likewise.
19004 (UCHAR_MAX): Likewise.
19005 (CHAR_MIN): Likewise.
19006 (CHAR_MAX): Likewise.
19007 (MB_LEN_MAX): Use macro-int-constant.
19008 (SHRT_MIN): Use macro-int-constant. Specify type.
19009 (SHRT_MAX): Likewise.
19010 (USHRT_MAX): Likewise.
19011 (INT_MAX): Likewise.
19012 (INT_MIN): Use macro-int-constant. Specify type. Make upper
19013 bound negative.
19014 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
19015 bound with "U".
19016 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
19017 bound with "L".
19018 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
19019 bound negative. Suffix upper bound with "L".
19020 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
19021 bound with "UL".
19022 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
19023 Specify type.
19024 [C99-based standards] (LLONG_MAX): Likewise.
19025 [C99-based standards] (ULLONG_MAX): Likewise.
19026 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
19027 == 0.
19028 [ISO11] (max_align_t): Require type.
19029 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19030
c9140a62
JM
19031 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
19032 from $CFLAGS, without defining away __attribute__ calls.
19033 (checknamespace): Use $CFLAGS_namespace.
19034
9af0bf29
JM
19035 * conform/conformtest.pl (@keywords): Only include C99 keywords
19036 for standards based on C99 or C11.
19037
343222a2
JM
19038 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
19039 Disable tests.
19040 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
19041 UNIX98]: Likewise.
19042
661f8cf0
JM
19043 * conform/conformtest.pl: Handle "macro-int-constant" and test for
19044 usability of symbols in #if.
19045
ee74b9cb
JM
19046 * conform/conformtest.pl: If macro or constant types start
19047 "promoted:", expect the symbol to be of the following type
19048 promoted by the integer promotions.
62fde54f 19049
aafc49b3
JM
19050 * conform/conformtest.pl: Parse all "constant" and "macro" lines
19051 in one place. Also handle "macro-constant".
19052
fefdf574
JM
19053 * conform/conformtest.pl: Only accept expected macro values with
19054 "==". Parse all "macro" lines in one place.
19055 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
19056
f2d922fe
JM
19057 * conform/conformtest.pl: Handle braced types on "constant" lines
19058 instead of handling "typed-constant".
19059 * conform/data/signal.h-data: Use "constant" instead of
19060 "typed-constant".
19061
d22956c9
JM
19062 * conform/conformtest.pl: Handle "optional-" at start of lines in
19063 one place rather than duplicating several cases. Handle each
19064 format of "macro" line with initial "optional-".
19065
028e2e38
JM
19066 * conform/conformtest.pl: Only accept expected constant or
19067 optional-constant values with "==". Parse all "constant" lines in
19068 one place. Parse all "optional-constant" lines in one place.
19069 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
19070 * conform/data/fmtmsg.h-data: Likewise.
19071 * conform/data/netinet/in.h-data: Likewise.
19072 * conform/data/tar.h-data: Likewise.
19073 * conform/data/limits.h-data: Use "==" form on "constant" and
19074 "optional-constant" lines.
19075
1b8f2850
JM
19076 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
19077 Use -std=c99 for XOPEN2K.
19078 (@knownproblems): Remove.
19079 (newtoken): Don't check %isknown.
19080
a05a144b
JM
19081 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
19082 Do not expect macro.
19083 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
19084 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
19085 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
19086 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
19087 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
19088 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
19089 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
19090 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
19091 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
19092 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
19093 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
19094 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
19095 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
19096 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
19097 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
19098 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
19099 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
19100 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
19101 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
19102 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
19103 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
19104 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
19105 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
19106 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
19107 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
19108 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
19109 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
19110 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
19111 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
19112 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
19113 [XPG3] (acosh): Likewise.
19114 [XPG3] (asinh): Likewise.
19115 [XPG3] (atanh): Likewise.
19116 [XPG3] (cbrt): Likewise.
19117 [XPG3] (expm1): Likewise.
19118 [XPG3] (ilogb): Likewise.
19119 [XPG3] (log1p): Likewise.
19120 [XPG3] (logb): Likewise.
19121 [XPG3] (nextafter): Likewise.
19122 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
19123 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
19124 [XPG3] (remainder): Likewise.
19125 [XPG3] (rint): Likewise.
19126 [XPG3 || XPG4 || UNIX98] (round): Likewise.
19127 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
19128 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
19129 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
19130 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
19131 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
19132 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
19133 [UNIX98 || XOPEN2K] (scalb): Expect.
19134 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
19135 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
19136 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
19137 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
19138 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
19139 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
19140 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
19141 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
19142 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
19143 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
19144 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
19145 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
19146 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
19147 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
19148 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
19149 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
19150 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
19151 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
19152 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
19153 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
19154 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
19155 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
19156 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
19157 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
19158 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
19159 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
19160 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
19161 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
19162 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
19163 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
19164 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
19165 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
19166 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
19167 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
19168 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
19169 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
19170 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
19171 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
19172 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
19173 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
19174 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
19175 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
19176 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
19177 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
19178 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
19179 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
19180 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
19181 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
19182 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
19183 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
19184 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
19185 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
19186 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
19187 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
19188 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
19189 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
19190 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
19191 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
19192 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
19193 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
19194 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
19195 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
19196 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
19197 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
19198 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
19199 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
19200 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
19201 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
19202 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
19203 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
19204 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
19205 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
19206 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
19207 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
19208 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
19209 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
19210 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
19211 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
19212 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
19213 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
19214 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
19215 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
19216 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
19217 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
19218 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
19219 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
19220 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
19221 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
19222 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
19223 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
19224 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
19225 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
19226 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
19227 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
19228 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
19229 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
19230 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
19231 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
19232 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
19233 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
19234 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
19235 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
19236 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
19237 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
19238 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
19239 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
19240 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
19241 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
19242 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
19243 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
19244 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
19245 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
19246 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
19247 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
19248 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
19249 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
19250 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
19251 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
19252 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
19253 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
19254 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
19255 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
19256 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
19257 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
19258 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
19259 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
19260 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
19261 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
19262 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
19263 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
19264 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
19265 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
19266 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
19267 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
19268 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
19269 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
19270 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
19271
73c5ebe3
JM
19272 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
19273 _XOPEN_SOURCE_EXTENDED for XPG4.
19274
39c33b6c
JM
19275 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
19276
62fde54f
JM
19277 * Makeconfig (localtime): Remove variable.
19278 (inst_localtime-file): Likewise.
19279
0741d64c
AS
192802012-05-01 Andreas Schwab <schwab@linux-m68k.org>
19281
19282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
19283 Update.
19284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19285 Update.
19286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
19287 Update.
19288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
19289 Update.
19290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
19291 Update.
19292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
19293 Update.
19294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19295 Update.
19296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
19297 Update.
19298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19299 Update.
19300
7cb029ee
JM
193012012-05-01 Joseph Myers <joseph@codesourcery.com>
19302
19303 [BZ #2550]
19304 [BZ #2570]
19305 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
19306 comparisons to determine direction to adjust input.
19307 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
19308 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
19309 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
19310 Likewise.
19311 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
19312 Likewise.
19313 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
19314 Likewise.
19315 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
19316 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
19317 Likewise.
19318 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
19319 Likewise.
19320 * math/libm-test.inc (nexttoward_test): Add more tests.
19321
412bd966
AS
193222012-05-01 Andreas Schwab <schwab@linux-m68k.org>
19323
19324 [BZ #14040]
19325 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
19326 in version GLIBC_2.1, not GLIBC_2.0.
19327 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
19328 Likewise.
19329
9568c0c2
JM
193302012-04-30 Joseph Myers <joseph@codesourcery.com>
19331
adfbc8ac
JM
19332 [BZ #13942]
19333 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
19334 (1 - x) * (1 + x).
19335 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
19336 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
19337 * math/libm-test.inc (acos_test): Add more tests.
19338 (asin_test): Likewise.
19339 * sysdeps/i386/fpu/libm-test-ulps: Update.
19340 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19341
5ba3cc69
JM
19342 [BZ #14034]
19343 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
19344 of square root.
19345 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
19346 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
19347 * math/libm-test.inc (acos_test_tonearest): New function.
19348 (acos_test_towardzero): Likewise.
19349 (acos_test_downward): Likewise.
19350 (acos_test_upward): Likewise.
19351 (asin_test_tonearest): Likewise.
19352 (asin_test_towardzero): Likewise.
19353 (asin_test_downward): Likewise.
19354 (asin_test_upward): Likewise.
19355 (main): Call the new functions.
19356 * sysdeps/i386/fpu/libm-test-ulps: Update.
19357 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19358
9568c0c2
JM
19359 [BZ #13884]
19360 [BZ #13924]
19361 * math/e_exp10.c: Include <float.h>.
19362 (__ieee754_exp10): Handle underflow here rather than multiplying
19363 large negative argument by M_LN10.
19364 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
19365 of __ieee754_expf.
19366 * math/e_exp10l.c: Include <float.h>.
19367 (__ieee754_exp10l): Handle underflow here rather than multiplying
19368 large negative argument by M_LN10l.
19369 * math/libm-test.inc (exp10_test): Add another test. Do not allow
19370 spurious overflow exception on underflow.
19371
5ac3ea17
MP
193722012-04-29 Marek Polacek <polacek@redhat.com>
19373
19374 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
19375 (__fortify_function): New macro.
19376 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
19377 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
19378 __extern_always_inline.
19379 * libio/bits/stdio2.h: Likewise.
19380 * libio/bits/stdio.h: Likewise.
19381 * string/string.h: Likewise.
19382 * string/bits/string3.h: Likewise.
19383 * include/stdio.h: Likewise.
19384 * stdlib/bits/stdlib.h: Likewise.
19385 * stdlib/stdlib.h: Likewise.
19386 * rt/bits/mqueue2.h: Likewise.
19387 * rt/mqueue.h: Likewise.
19388 * posix/bits/unistd.h: Likewise.
19389 * posix/unistd.h: Likewise.
19390 * io/bits/poll2.h: Likewise.
19391 * io/bits/fcntl2.h: Likewise.
19392 * io/fcntl.h: Likewise.
19393 * io/sys/poll.h: Likewise.
19394 * misc/bits/syslog.h: Likewise.
19395 * misc/bits/syslog-ldbl.h: Likewise.
19396 * misc/sys/syslog.h: Likewise.
19397 * socket/bits/socket2.h: Likewise.
19398 * socket/sys/socket.h: Likewise.
19399 * debug/tst-chk1.c: Likewise.
19400 * wcsmbs/bits/wchar2.h: Likewise.
19401 * wcsmbs/bits/wchar-ldbl.h: Likewise.
19402 * wcsmbs/wchar.h: Likewise.
19403
ecf0ebfb
AJ
194042012-04-29 Andreas Jaeger <aj@suse.de>
19405
19406 * Makerules (tests): Remove enable-check-abi protection.
19407 (check-abi-warn): Remove.
19408 (check-abi-%): Remove check-abi-warn usage.
19409
19410 * configure.in: Remove check-abi configure option.
19411 * configure: Regenerated.
19412 * config.make.in (enable-check-abi): Remove.
19413
6d5c57fa
AS
194142012-04-28 Andreas Schwab <schwab@linux-m68k.org>
19415
24c5d07e 19416 [BZ #14033]
ded5180a
AS
19417 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
19418 double functions to double *_finite functions.
19419
7e0d315d
AS
19420 [BZ #13941]
19421 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
19422 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
19423 LDBL_MIN_EXP.
19424 * stdio-common/Makefile (tests): Add tst-sprintf3.
19425 * stdio-common/tst-sprintf3.c: New file.
19426
6d5c57fa
AS
19427 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
19428 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
19429
0749ff8b
JM
194302012-04-28 Joseph Myers <joseph@codesourcery.com>
19431
19432 * conform/conformtest.pl: Remove duplicate typed-constant
19433 handling.
19434
8dbd5d7b
DM
194352012-04-28 David S. Miller <davem@davemloft.net>
19436
19437 * Makerules (%.abilist): Add vpath on sysdep_dirs.
19438 (check-abi-%): Remove AWK script prerequisite and explicit
19439 abilist directory.
19440 (check-abi): Rewrite to just diff the symlist with the abilist.
19441 (config-tls, config-abi-config): Delete, no longer used.
19442 (update-abi-%): Remove AWK script and explicit abilist directory.
19443 (update-abi): Rewrite to simply compare and conditionally copy the
19444 symlist and the sysdep abilist file. Remove update-abi-config
19445 checks.
19446 * abilist/ld.abilist: Remove.
19447 * abilist/libBrokenLocale.abilist: Remove.
19448 * abilist/libanl.abilist: Remove.
19449 * abilist/libcrypt.abilist: Remove.
19450 * abilist/libdl.abilist: Remove.
19451 * abilist/librt.abilist: Remove.
19452 * abilist/libthread_db.abilist: Remove.
19453 * abilist/libutil.abilist: Remove.
19454 * scripts/extract-abilist.awk: Remove.
19455 * scripts/merge-abilist.awk: Remove.
19456 * sysdeps/generic/libcidn.abilist: New file.
19457 * sysdeps/generic/libnss_compat.abilist: New file.
19458 * sysdeps/generic/libnss_db.abilist: New file.
19459 * sysdeps/generic/libnss_dns.abilist: New file.
19460 * sysdeps/generic/libnss_files.abilist: New file.
19461 * sysdeps/generic/libnss_hesiod.abilist: New file.
19462 * sysdeps/generic/libnss_nis.abilist: New file.
19463 * sysdeps/generic/libnss_nisplus.abilist: New file.
19464 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
19465 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
19466 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
19467 file.
19468 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
19469 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
19470 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
19471 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
19472 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
19473 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
19474 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
19475 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
19476 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
19477 file.
19478 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
19479 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
19480 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
19481 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
19482 file.
19483 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
19484 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
19485 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
19486 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
19487 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
19488 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
19489 file.
19490 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
19491 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
19492 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
19493 file.
19494 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
19495 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
19496 New file.
19497 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
19498 New file.
19499 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
19500 New file.
19501 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
19502 New file.
19503 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
19504 New file.
19505 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
19506 New file.
19507 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
19508 New file.
19509 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
19510 New file.
19511 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
19512 New file.
19513 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
19514 New file.
19515 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
19516 New file.
19517 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
19518 New file.
19519 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
19520 New file.
19521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
19522 file.
19523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
19524 New file.
19525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
19526 New file.
19527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
19528 file.
19529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
19530 New file.
19531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
19532 New file.
19533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
19534 file.
19535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
19536 New file.
19537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19538 New file.
19539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
19540 New file.
19541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
19542 New file.
19543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
19544 New file.
19545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
19546 New file.
19547 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
19548 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
19549 file.
19550 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
19551 New file.
19552 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
19553 file.
19554 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
19555 file.
19556 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
19557 file.
19558 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
19559 file.
19560 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
19561 file.
19562 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19563 New file.
19564 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
19565 file.
19566 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
19567 file.
19568 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
19569 New file.
19570 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
19571 file.
19572 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
19573 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
19574 file.
19575 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
19576 New file.
19577 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
19578 file.
19579 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
19580 file.
19581 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
19582 file.
19583 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
19584 file.
19585 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
19586 file.
19587 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19588 New file.
19589 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
19590 file.
19591 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
19592 file.
19593 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
19594 New file.
19595 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
19596 file.
19597 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
19598 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
19599 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
19600 file.
19601 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
19602 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
19603 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
19604 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
19605 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
19606 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
19607 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
19608 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
19609 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
19610 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
19611 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
19612 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
19613 file.
19614 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
19615 New file.
19616 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
19617 file.
19618 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
19619 file.
19620 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
19621 file.
19622 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
19623 file.
19624 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
19625 file.
19626 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
19627 New file.
19628 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
19629 New file.
19630 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
19631 file.
19632 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
19633 New file.
19634 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
19635 file.
19636 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
19637 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
19638 file.
19639 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
19640 New file.
19641 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
19642 file.
19643 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
19644 file.
19645 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
19646 file.
19647 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
19648 file.
19649 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
19650 file.
19651 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
19652 New file.
19653 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
19654 New file.
19655 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
19656 file.
19657 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
19658 New file.
19659 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
19660 file.
19661
41d73a1b
JM
196622012-04-28 Joseph Myers <joseph@codesourcery.com>
19663
19664 * conform/conformtest.pl: Fix typo in handling typed-constant from
19665 allow-header.
19666
28aeeda4
JM
196672012-04-27 Joseph Myers <joseph@codesourcery.com>
19668
adae8f5e
JM
19669 * README: Cut down references to pre-2.6 Linux kernels and
19670 Linuxthreads. Update lists of configurations in libc and ports
19671 and sort alphabetically. Say "or newer" with Linux kernel version
19672 requirements.
19673
28aeeda4
JM
19674 * config.h.in [IS_IN_build]: Allow compiling without optimization.
19675
a462cb63
RA
196762012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19677
19678 [BZ #887]
19679 * math/libm-test.inc (logb_test_downward): New test to expose
19680 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
19681 rounding mode.
19682
6ad3493e
JM
196832012-04-27 Joseph Myers <joseph@codesourcery.com>
19684
19685 [BZ #14027]
19686 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
19687 to be done.
19688 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
19689 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
19690
2ce4f015
JM
196912012-04-26 Joseph Myers <joseph@codesourcery.com>
19692
5aeb141a
JM
19693 * sysdeps/unix/i386/brk.S: Remove file.
19694 * sysdeps/unix/i386/dl-brk.S: Likewise.
19695 * sysdeps/unix/i386/pipe.S: Likewise.
19696 * sysdeps/unix/i386/sigreturn.S: Likewise.
19697 * sysdeps/unix/i386/syscall.S: Likewise.
19698 * sysdeps/unix/i386/vfork.S: Likewise.
19699 * sysdeps/unix/i386/wait.S: Likewise.
19700
7143acae
JM
19701 * sysdeps/unix/common/tcsendbrk.c: Move to ...
19702 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
19703
2ce4f015
JM
19704 * configure.in (arm*-none*): Do not allow without
19705 --enable-hacker-mode.
19706 (netbsd*): Remove case setting base_os.
19707 (386bsd*): Likewise.
19708 (freebsd*): Likewise.
19709 (bsdi*): Likewise.
19710 (osf*): Likewise.
19711 (sunos*): Likewise.
19712 (ultrix*): Likewise.
19713 (newsos*): Likewise.
19714 (dynix*): Likewise.
19715 (*bsd*): Likewise.
19716 (sysv*): Likewise.
19717 (isc*): Likewise.
19718 (esix*): Likewise.
19719 (sco*): Likewise.
19720 (minix*): Likewise.
19721 (irix4*): Likewise.
19722 (irix6*): Likewise.
19723 (solaris[2-9]*): Likewise.
19724 (none): Likewise.
19725 * configure: Regenerated.
19726
0ac229c8
AZ
197272012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19728
19729 [BZ #11521]
19730 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
19731 overflow or cancellation in calculating denominator.
19732 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
19733 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
19734 down expression to avoid unexpected rounding in newer GCCs.
19735 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
19736
33f244f4
DM
197372012-04-26 David S. Miller <davem@davemloft.net>
19738
19739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
19740 long-double compat symbols.
19741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
19742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
19743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
19744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
19745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
19746 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
19747 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
19748 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
19749 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
19750 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
19751 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
19752 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
19753 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
19754
cfa1f3e8
DM
197552012-04-25 David S. Miller <davem@davemloft.net>
19756
19757 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
19758 HWCAP_* values only after the memory barriers have been defined.
19759 (atomic_full_barrier): Define.
19760 (atomic_read_barrier): Define.
19761 (atomic_write_barrier): Define.
19762
6e236b92
SP
197632012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19764
19765 * shlib-versions: Add libgcc_s version information.
19766 * sysdeps/generic/libgcc_s.h: Remove.
19767 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
19768 libgcc_s.h.
19769 * sysdeps/gnu/unwind-resume.c: Likewise.
19770 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
19771
aab39a09
DM
197722012-04-25 David S. Miller <davem@davemloft.net>
19773
19774 * sysdeps/unix/sparc/brk.S: Delete.
19775 * sysdeps/unix/sparc/dl-brk.S: Delete.
19776 * sysdeps/unix/sparc/pipe.S: Delete.
19777 * sysdeps/unix/sparc/sysdep.S: Delete.
19778 * sysdeps/unix/sparc/sysdep.h: Delete.
19779 * sysdeps/unix/sparc/vfork.S: Delete.
19780 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
19781 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
19782 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
19783 ret_ERRVAL, r0, r1, MOVE): Define.
19784 (JUMPTARGET): Remove.
19785 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
19786 sysdeps/unix/sparc/sysdep.h
19787 (ENTRY, END): Remove.
19788 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19789
a3cc4f48
JM
197902012-04-25 Joseph Myers <joseph@codesourcery.com>
19791
2ed8cda2
JM
19792 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
19793 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
19794 -DIS_IN_build.
19795
35d76d59
JM
19796 * timezone/README: Update upstream location and email address for
19797 tzcode and tzdata.
19798 * timezone/zdump.c: Update from tzcode 2012b.
19799 * timezone/zic.c: Likewise.
19800
a3cc4f48
JM
19801 * configure.in (libc_cv_as_needed): Remove test.
19802 * configure: Regenerated.
19803 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
19804 conditional definition.
19805 [$(have-as-needed) != yes] (no-as-needed): Likewise.
19806 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
19807 * config.make.in (have-as-needed): Remove variable.
19808
ceab42c3
SP
198092012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19810 Paul Pluzhnikov <ppluzhnikov@google.com>
19811
19812 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
19813 strings correctly.
19814
3ce2865f
CLT
198152012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
19816
19817 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
19818 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
19819 * sysdeps/sh/strlen.S: Likewise.
19820
f37e0d68
JM
198212012-04-24 Joseph Myers <joseph@codesourcery.com>
19822
ae186e9a
JM
19823 * sysdeps/unix/fork.S: Remove file.
19824 * sysdeps/unix/i386/fork.S: Likewise.
19825 * sysdeps/unix/sparc/fork.S: Likewise.
19826
b96914af
JM
19827 * sysdeps/unix/system.c: Remove file.
19828 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
19829
f37e0d68
JM
19830 * sysdeps/unix/getegid.S: Remove file.
19831 * sysdeps/unix/geteuid.S: Likewise.
19832
87ef29ca
RM
198332012-04-24 Roland McGrath <roland@hack.frob.com>
19834
83bcd236
RM
19835 * scripts/check-localplt.awk: New file.
19836 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
19837 of diff.
19838 * scripts/data/localplt-generic.data: Add a comment.
19839
87ef29ca
RM
19840 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
19841 NODE when __dir_mkfile failed.
19842 * sysdeps/mach/hurd/symlinkat.c: Likewise.
19843 Reported by Ludovic Courtès <ludo@gnu.org>.
19844
e5a6e567
AJ
198452012-04-24 Andreas Jaeger <aj@suse.de>
19846
19847 * Makerules (common-clean): Also remove gen-as-const-headers
19848 files.
19849
c1820385
JM
198502012-04-24 Joseph Myers <joseph@codesourcery.com>
19851
19852 * Makerules (native-compile): Do not change working directory for
19853 build. Use $(OUTPUT_OPTION) in command.
19854 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
19855
94e02fc4
AZ
198562012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19857
19858 [BZ #13886]
19859 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
19860 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
19861 * math/libm-test.inc (floor_test): Add more tests.
19862 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
19863
3a533ca3
JM
198642012-04-24 Joseph Myers <joseph@codesourcery.com>
19865
940ab4b3
JM
19866 * sysdeps/unix/getdents.c: Remove file.
19867 * sysdeps/unix/sysv/getdents.c: Likewise.
19868 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
19869
90e037bd
JM
19870 * sysdeps/unix/syscalls.list (madvise): Add syscall from
19871 sysdeps/unix/mman/syscalls.list.
19872 (mmap): Likewise.
19873 (mprotect): Likewise.
19874 (msync): Likewise.
19875 (munmap): Likewise.
19876 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
19877 * sysdeps/unix/mman/syscalls.list: Remove.
19878 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
19879
3a533ca3
JM
19880 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
19881 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
19882 * configure: Regenerated.
19883 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
19884 $(libgcc_s_suffix).
19885 * config.make.in (libgcc_s_suffix): Remove variable.
19886
1ad743de
JM
198872012-04-23 Joseph Myers <joseph@codesourcery.com>
19888
4ad451e2
JM
19889 * sysdeps/unix/sysv/gethostname.c: Move to ...
19890 * sysdeps/posix/gethostname.c: ... here.
19891
5e37ce39
JM
19892 * sysdeps/unix/execve.S: Remove file.
19893
1ad743de
JM
19894 * sysdeps/unix/_exit.S: Remove file.
19895
4e681b5b
AJ
198962012-04-23 Andreas Jaeger <aj@suse.de>
19897
19898 [BZ #13739]
19899 * manual/Makefile: Remove make dist support, there's no
19900 need for a stand-alone documentation tar ball.
19901 (TEXI2DVI): Define always, it's not in Makeconfig.
19902 (dist): Removed.
19903 (tar-it): Removed.
19904 (edition): Removed.
19905 (glibc-doc-$(edition).tar): Removed
19906 (%.Z): Removed.
19907 (%.gz): Removed.
19908 (%.uu): Removed.
19909 (ETAGS): Remove, it's in Makeconfig.
19910 (move-if-change): Remove, it's in Makeconfig.
19911
38686a03 199122012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
19913
19914 [BZ #13970]
19915 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
19916 (strtod, strtof, strtold, strtol, strtoul, strtoq)
19917 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
19918 (strtod_l, strtof_l, strtold_l): Remove __wur.
19919 It is not necessarily an error to ignore strtol's return value.
19920 One can reliably look at the stored endptr to decide whether
19921 the number had valid syntax.
19922
7c0616fa
AJ
199232012-04-21 Andreas Jaeger <aj@suse.de>
19924
803cb6b7 19925 [BZ #13739]
7c0616fa
AJ
19926 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
19927
b0fe253f
JM
199282012-04-21 Joseph Myers <joseph@codesourcery.com>
19929
19930 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
19931 * sysdeps/unix/sysv/Versions: Remove file.
19932
8280f22d
MT
199332012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
19934
19935 [BZ #13927]
19936 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19937
75ce411f 199382012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
19939
19940 [BZ #7064]
19941 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
19942 version from __vm86.
19943
097d59fa
JM
199442012-04-20 Joseph Myers <joseph@codesourcery.com>
19945
a90f3bcb
JM
19946 * sysdeps/unix/common/lxstat.c: Remove file.
19947 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
19948
edc7ea78
JM
19949 * sysdeps/unix/sysv/Makefile: Remove file.
19950
cb78c221
JM
19951 * sysdeps/unix/sysv/direct.h: Remove file.
19952
efa6a45f
JM
19953 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
19954 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
19955 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
19956 * sysdeps/unix/sysv/bits/signum.h: Likewise.
19957 * sysdeps/unix/sysv/bits/stat.h: Likewise.
19958 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
19959 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
19960
9c9f2d0c
JM
19961 * sysdeps/unix/sysv/setrlimit.c: Remove file.
19962
4541c83b
JM
19963 * sysdeps/unix/xmknod.c: Remove file.
19964 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
19965
f5d153a0
JM
19966 * sysdeps/unix/sysv/settimeofday.c: Remove file.
19967
aa746595
JM
19968 * sysdeps/unix/sysv/i386/time.S: Remove file.
19969
cce5905e
JM
19970 * sysdeps/unix/fxstat.c: Remove file.
19971 * sysdeps/unix/xstat.c: Likewise.
19972 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
19973
37fa3841
JM
19974 * sysdeps/unix/sysv/sigaction.c: Remove file.
19975
ff1962a3
JM
19976 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
19977 (sysdep_headers): Remove variable.
19978 [termio.h not in sysdep_headers] (generated): Likewise.
19979 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
19980 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
19981 * sysdeps/unix/sysv/tcdrain.c: Likewise.
19982 * sysdeps/unix/sysv/tcflow.c: Likewise.
19983 * sysdeps/unix/sysv/tcflush.c: Likewise.
19984 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
19985 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
19986 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
19987 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
19988 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
19989
e7740d31
JM
19990 * sysdeps/unix/siglist.c: Remove file.
19991
ee06f18b
JM
19992 * sysdeps/unix/getppid.S: Remove file.
19993
097d59fa
JM
19994 * sysdeps/unix/mkdir.c: Remove file.
19995 * sysdeps/unix/rmdir.c: Likewise.
19996
ff3d51ec
AS
199972012-04-19 Andreas Schwab <schwab@linux-m68k.org>
19998
19999 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
20000 ERR_MAX value.
20001 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
20002 errlist-compat value.
20003
50f81fd7
DM
200042012-04-18 David S. Miller <davem@davemloft.net>
20005
20006 * sysdeps/generic/memcopy.h (reg_char): Delete.
20007 * debug/strcat_chk.c: Use char, not reg_char.
20008 * debug/strcpy_chk.c: Likewise.
20009 * debug/strncat_chk.c: Likewise.
20010 * debug/strncpy_chk.c: Likewise.
20011 * string/memchr.c: Likewise.
20012 * string/memrchr.c: Likewise.
20013 * string/rawmemchr.c: Likewise.
20014 * string/strcat.c: Likewise.
20015 * string/strchr.c: Likewise.
20016 * string/strchrnul.c: Likewise.
20017 * string/strcmp.c: Likewise.
20018 * string/strcpy.c: Likewise.
20019 * string/strncat.c: Likewise.
20020 * string/strncmp.c: Likewise.
20021 * string/strncpy.c: Likewise.
20022
8ff41c46
WS
200232012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20024
20025 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
20026 __builtin_memcopy is called when src and dest ranges are known to not
20027 overlap.
20028
6b652f46
WS
200292012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20030
20031 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
20032 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
20033 fwd_align_merge macro call.
20034 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
20035 bwd_align_merge macro call.
20036 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20037
b282631e
WS
200382012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20039
20040 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
20041 bwd_align_merge macros.
20042 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
20043 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
20044 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20045
95aa737c
DM
200462012-04-18 David S. Miller <davem@davemloft.net>
20047
20048 * sysdeps/sparc/sparc64/memcopy.h: Delete.
20049
7a99a614
AJ
200502012-04-18 Andreas Jaeger <aj@suse.de>
20051
20052 [BZ# 6794]
20053 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
20054 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
20055 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20056
20057 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
20058 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
20059 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20060
20061 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
20062 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
20063 Adjust for changed ldbl-128 files.
20064
20065 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
20066 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
20067 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20068
e5270c23
DM
200692012-04-17 David S. Miller <davem@davemloft.net>
20070
20071 * sysdeps/sparc/sparc32/memcopy.h: Delete.
20072
fb5e92c9
AS
200732012-04-17 Andreas Schwab <schwab@linux-m68k.org>
20074
20075 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
20076 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
20077 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
20078 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
20079 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
20080 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
20081
76da7265
AZ
200822012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20083
20084 [BZ #6794]
20085 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
20086 * math/libm-test.inc: Add ilogb errno and exception tests.
20087 * math/w_ilogb.c: New file: ilogb wrapper.
20088 * math/w_ilogbf.c: New file: ilogbf wrapper.
20089 * math/w_ilogbl.c: New file: ilogbl wrapper.
20090 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
20091 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
20092 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
20093 exception being thrown with 0.0 as argument.
20094 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
20095 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
20096 exception being thrown with 0.0 as argument.
20097 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
20098 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
20099 exception being thrown with 0.0 as argument.
20100 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
20101 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
20102 exception being thrown with 0.0 as argument.
20103 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
20104 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 20105 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
20106 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
20107 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
20108 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
20109 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
20110 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
20111 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
20112
0396e69d
PB
201132012-04-17 Petr Baudis <pasky@ucw.cz>
20114
20115 * include/sys/uio.h: Change __vector to __iovec to avoid clash
20116 with altivec.
20117
750b5926
MP
201182012-04-16 Marek Polacek <polacek@redhat.com>
20119
20120 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
20121
751728a1
MP
201222012-04-16 Marek Polacek <polacek@redhat.com>
20123
20124 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
20125 operands of fdivp instruction.
20126
34a27407
L
201272012-04-13 H.J. Lu <hongjiu.lu@intel.com>
20128
20129 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
20130 * elf/tst-auditmod3b.c: Likewise.
20131 * elf/tst-auditmod4b.c: Likewise.
20132 * elf/tst-auditmod5b.c: Likewise.
20133 * elf/tst-auditmod6b.c: Likewise.
20134 * elf/tst-auditmod6c.c: Likewise.
20135 * elf/tst-auditmod7b.c: Likewise.
20136 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
20137 * sysdeps/x86_64/preconfigure.in: Likewise.
20138 * sysdeps/x86_64/preconfigure: Regenerated.
20139
7e73e17d
L
201402012-04-13 H.J. Lu <hongjiu.lu@intel.com>
20141
20142 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
20143 __ILP32__.
20144
c7a6ab72
AB
201452012-04-13 Antoine Balestrat <merkil33@gmail.com>
20146
20147 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
20148 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
20149
a9e8e0e0
CL
201502012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
20151
20152 [BZ #13973]
20153 * locale/iso-639.def: Fix gl language name. Spotted by
20154 Yaron Shahrabani.
20155
ec98af7d
RM
201562012-04-12 Roland McGrath <roland@hack.frob.com>
20157
20158 [BZ #2074]
20159 * libio/libio.h (__io_write_fn): Update comment.
20160
247c3ede
PB
201612012-04-12 Petr Baudis <pasky@ucw.cz>
20162
20163 [BZ #2074]
20164 * stdio.texi (Hook Functions): The user provided writer function
20165 is not allowed to return -1.
20166
55939d6d
DM
201672012-04-11 David S. Miller <davem@davemloft.net>
20168
20169 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20170
90020f5a
MF
201712012-04-11 Mike Frysinger <vapier@gentoo.org>
20172
20173 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
20174 Add a leading slash to rtkaio.
20175
288f9098
JM
201762012-04-11 Jim Meyering <meyering@redhat.com>
20177
90020f5a
MF
20178 [BZ #11959]
20179 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
20180 It is not necessarily an error to ignore fwrite's return
20181 value. One can reliably use ferror to test for errors after
20182 the fact.
288f9098 20183
4be2b570
L
201842012-04-10 H.J. Lu <hongjiu.lu@intel.com>
20185
20186 * bits/types.h (__snseconds_t): New type.
20187 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
20188
20189 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
20190 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20191 (__SNSECONDS_T_TYPE): Likewise.
20192 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20193 (__SNSECONDS_T_TYPE): Likewise.
20194 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20195 (__SNSECONDS_T_TYPE): Likewise.
20196
288f9098 201972012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
20198
20199 [BZ #2636]
20200 * manual/time.texi (Processor Time): Return type of times is
20201 elapsed real time since an arbitrary point in the past.
20202 (CPU Time): Move CLK_TCK from here...
20203 (Processor Time): ...to here. Correct description.
20204 * manual/conf.texi (Constants for Sysconf): Correct description of
20205 _SC_CLK_TCK.
20206
d7dd4413
DM
202072012-04-10 David S. Miller <davem@davemloft.net>
20208
20209 [BZ #13967]
20210 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
20211 where the is a gap between DT_REL(A) and DT_JMPREL.
20212
b46068fc
L
202132012-04-10 H.J. Lu <hongjiu.lu@intel.com>
20214
20215 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
20216 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
20217 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
20218
73d65cc3
SP
202192012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20220
20221 * elf/dl-support.c (_dl_inhibit_cache): New variable.
20222 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
20223 (dl_main): Handle --inhibit-cache.
20224 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
20225 _dl_inhibit_cache.
20226 * elf/dl-load.c (_dl_map_object): Use it.
20227 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
20228
bcc8d661
JM
202292012-04-09 Joseph Myers <joseph@codesourcery.com>
20230
8f9a2fae
JM
20231 [BZ #13872]
20232 * sysdeps/i386/fpu/e_powl.S (p78): New object.
20233 (__ieee754_powl): Saturate large exponents rather than testing for
20234 overflow of y*log2(x).
20235 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20236 * math/libm-test.inc (pow_test): Do not permit spurious overflow
20237 exceptions.
20238
bcc8d661
JM
20239 [BZ #11521]
20240 * math/s_ctan.c: Include <float.h>.
20241 (__ctan): Avoid internal overflow or cancellation in calculating
20242 denominator.
20243 * math/s_ctanf.c: Likewise.
20244 * math/s_ctanl.c: Likewise.
20245 * math/s_ctanh.c: Likewise.
20246 * math/s_ctanhf.c: Likewise.
20247 * math/s_ctanhl.c: Likewise.
20248 * math/libm-test.inc (ctan_test): Add more tests.
20249 (ctanh_test): Likewise.
20250 * sysdeps/i386/fpu/libm-test-ulps: Update.
20251 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20252
823fbbb4
AJ
202532012-04-09 Andreas Jaeger <aj@suse.de>
20254
03879793
AJ
20255 [BZ #6894]
20256 * manual/filesys.texi (Directory Entries): Mention that d_namlen
20257 is an optional BSD extension.
20258
823fbbb4
AJ
20259 [BZ #10254]
20260 * manual/stdio.texi (Opening Streams): Document additional fopen
20261 parameters.
20262
8de131cb
RM
202632012-04-09 Roland McGrath <roland@hack.frob.com>
20264
20265 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
20266 %eax without telling the compiler.
20267
c0ed9d7d
CD
202682012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
20269
20270 [BZ # 13963]
20271 * manual/install.texi: Use sourceware.org.
20272
c483f6b4
JM
202732012-04-09 Joseph Myers <joseph@codesourcery.com>
20274
d7dd9453
JM
20275 [BZ #13873]
20276 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
20277 (__ieee754_pow): Generate overflow and underflow using huge*huge
20278 and tiny*tiny rather than just returning constant infinity or zero
20279 for large exponents.
20280 * math/libm-test.inc (pow_test): Require overflow exceptions for
20281 applicable cases of large exponents.
20282
c483f6b4
JM
20283 [BZ #706]
20284 * sysdeps/i386/fpu/e_pow.S (p10): New object.
20285 (__ieee754_pow): Use iterative multiplication algorithm only for
20286 integer exponents with absolute value below 1024. Check for odd
20287 integer exponents when using algorithm for real exponents.
20288 * math/libm-test.inc (pow_test): Add more tests.
20289 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20290
d2de7579
JM
202912012-04-08 Joseph Myers <joseph@codesourcery.com>
20292
20293 [BZ #13705]
20294 * math/libm-test.inc (exp_test): Do not allow overflow exception
20295 on underflow test.
20296
f77f1232
AJ
202972012-04-08 Aurelien Jarno <aurelien@aurel32.net>
20298
20299 [BZ #13705]
20300 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
20301 instead of __kernel_standard_f.
20302
3884932b
MF
203032012-04-08 Mike Frysinger <vapier@gentoo.org>
20304
20305 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
20306 * sysdeps/x86_64/memset_chk.S: Likewise.
20307
54472e9c
AJ
203082012-04-08 Andreas Jaeger <aj@suse.de>
20309
6ab0fbfc
AJ
20310 [BZ #10153]
20311 * manual/startup.texi (Environment Access): Describe return value
20312 for putenv and setenv.
20313
61efba8c
AJ
20314 [BZ #6895]
20315 * manual/filesys.texi (Directory Entries): Add description for
20316 DT_LNK.
20317
95c3f29a
AJ
20318 [BZ #6890]
20319 * manual/filesys.texi (Directory Entries): Clarify that it's file
20320 system not operating system in the description of DT_UNKNOWN.
20321
54472e9c
AJ
20322 [BZ #6578]
20323 * manual/syslog.texi (closelog): Fix reference, it's openlog.
20324
624254b1
SC
203252012-04-08 Stephen Compall <s11@member.fsf.org>
20326
20327 [BZ #6649]
20328 * manual/llio.texi (Opening and Closing Files): Add cross
20329 reference to explain mode argument.
20330
1e4920e0
MF
203312012-04-07 Mike Frysinger <vapier@gentoo.org>
20332
20333 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
20334 * sysdeps/x86_64/memset_chk.S: Likewise.
20335
5ed848f3
DM
203362012-04-07 David S. Miller <davem@davemloft.net>
20337
20338 * elf/elf.h (R_SPARC_WDISP10): Define.
20339 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
20340 R_SPARC_SIZE32.
20341 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
20342 R_SPARC_SIZE64 and R_SPARC_H34.
20343
96154cd8
CD
203442012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
20345
20346 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
20347 conditions and remove no longer applicable assertion.
20348
9904dc47
L
203492012-04-06 H.J. Lu <hongjiu.lu@intel.com>
20350
20351 * bits/byteswap.h: Include <features.h>.
20352 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
20353 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
20354
f8887d0a
L
203552012-04-06 H.J. Lu <hongjiu.lu@intel.com>
20356
20357 * bits/byteswap.h (__bswap_16): Removed.
20358 Include <bits/byteswap-16.h> to get __bswap_16.
20359 * sysdeps/i386/bits/byteswap.h: Likewise.
20360 * sysdeps/s390/bits/byteswap.h: Likewise.
20361 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20362 * bits/byteswap-16.h: New file.
20363 * sysdeps/i386/bits/byteswap-16.h: Likewise.
20364 * sysdeps/s390/bits/byteswap-16.h: Likewise.
20365 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
20366 * string/Makefile (headers): Add bits/byteswap-16.h.
20367
62470f60
PP
203682012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
20369
20370 [BZ #13895]
20371 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
20372 extra indirection.
20373 * nss/Makefile (tests-static, tests): Add tst-nss-static.
20374 * nss/tst-nss-static.c: New.
20375
4dad7bab
RM
203762012-04-06 Robert Millan <rmh@gnu.org>
20377
20378 [BZ #6486]
20379 * manual/llio.texi (File Position Primitive): lseek
20380 refers to WHENCE when it really means OFFSET.
20381
e9142a17
AJ
203822012-04-06 Andreas Jaeger <aj@suse.de>
20383
2c040eff
AJ
20384 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
20385 strncmp declarations.
20386
e9142a17
AJ
20387 * abilist/libc.abilist: Add __poll and __ppoll.
20388
ff9f1c5f
DM
203892012-04-05 David S. Miller <davem@davemloft.net>
20390
dcd2ae90
DM
20391 * scripts/check-local-headers.sh: Accept a host triplet in the
20392 path matched by the exclude regexp.
20393
993eb054
DM
20394 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
20395 definition.
20396 * sysdeps/powerpc/powerpc32/dl-machine.h
20397 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
20398 * sysdeps/s390/s390-32/dl-machine.h
20399 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20400 * sysdeps/sparc/sparc32/dl-machine.h
20401 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20402 * sysdeps/sparc/sparc64/dl-machine.h
20403 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20404
ff9f1c5f
DM
20405 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
20406 lazy binding.
48e2e132 20407 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
20408 undefined symbol errors.
20409
48e2e132 20410 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
20411 DT_NEEDED entries.
20412
e80d6f94
MM
204132012-04-05 Michael Matz <matz@suse.de>
20414
20415 [BZ #13592]
20416 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
20417
349fa79f
AJ
204182012-04-05 Andreas Jaeger <aj@suse.de>
20419
20420 [BZ #13908]
20421 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
20422 comment.
20423
f402708f
KK
204242012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20425
20426 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
20427 which ROUND is no valid rounding mode.
20428
2ecccfc9
KK
204292012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20430
20431 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
20432 read again.
20433 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
20434
8a53f50f
KK
204352012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20436
20437 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
20438 an exception using FPU order intentionally.
20439
204402012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20441
20442 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
20443 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
20444 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
20445 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
20446
d653abb7
SJ
204472012-04-05 Simon Josefsson <simon@josefsson.org>
20448
20449 [BZ #12340]
20450 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
20451 EINVAL when BUFLEN is too smal.
20452
c3b1bf7d
TS
204532012-04-05 Thomas Schwinge <thomas@codesourcery.com>
20454
20455 [BZ #13553]
20456 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
20457 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
20458
b1aa60f3
AJ
204592012-04-03 Andreas Jaeger <aj@suse.de>
20460
c3b1bf7d 20461 [BZ #13938]
67f60a26
AJ
20462 * manual/setjmp.texi (System V contexts): Fix sentence.
20463
b1aa60f3
AJ
20464 [BZ #13926]
20465 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
20466 New macro for this case.
20467 [!__GNUC__] (__bswap_64): New inline function for this case.
20468 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20469 * bits/byteswap.h: Likewise.
20470 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
20471 ull, guard with __GLIBC_HAVE_LONG_LONG.
20472
20473 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
20474 __GLIBC_HAVE_LONG_LONG.
20475
20476 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
20477 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
20478
39c59c35
TMQMF
204792012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20480
20481 [BZ #13691]
20482 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
20483 inptr and inend, rather than using last_ch.
20484
135ffda8
DM
204852012-04-02 David S. Miller <davem@davemloft.net>
20486
20487 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
20488 * stdio-common/printf-parse.h (read_int): Change return type to
20489 'int', return -1 on INT_MAX overflow.
20490 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
20491 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
20492 overflows INT_MAX. Check for overflow of in-format-string precision
20493 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
20494 SIZE_MAX not INT_MAX for integer overflow test.
20495 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
20496 skip the construct in the format string but do not record anything.
20497 * stdio-common/bug22.c: Adjust to test both width/prevision
20498 INT_MAX overflow as well as total length INT_MAX overflow. Check
20499 explicitly for proper errno values.
20500
228c019e
TS
205012012-04-02 Thomas Schwinge <thomas@codesourcery.com>
20502
302cadd3
TS
20503 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
20504 CHAR_MAX.
20505 * string/test-strcmp.c [! WIDE]: Likewise.
20506 * time/tst-mktime2.c: Likewise for INT_MAX.
20507 * string/test-string.h: #include <sys/param.h> for MIN.
20508
228c019e
TS
20509 * csu/init-first.c (__libc_init_first): Call __ctype_init.
20510 * sysdeps/i386/init-first.c (init): Likewise.
20511 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
20512 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
20513 * sysdeps/sh/init-first.c (init): Likewise.
20514
cfa633f5
UD
205152012-04-01 Ulrich Drepper <drepper@gmail.com>
20516
20517 * po/ru.po: Update from translation team.
d1635ef8 20518 * po/vi.po: Likewise.
cfa633f5 20519
6cd0a5ea
SP
205202012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
20521
20522 * resolv/nss_dns/dns-host.c: Merge copyright years.
20523
4b43400f
LD
205242012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20525
20526 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
20527 Optimize memcpy with prefetch if
20528 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
20529 src, dst pointers have unequal 16 byte alignments.
20530
48c41d04
SP
205312012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20532
20533 [BZ #13928]
20534 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
20535 from a CNAME entry and return the minimum ttl for the query.
20536 (gaih_getanswer_slice): Likewise.
20537
b8dc394d
JL
205382012-03-30 Jeff Law <law@redhat.com>
20539
20540 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
20541 due to long keys.
20542 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
20543 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
20544
2f5a5ed0
JL
20545 * resolv/nss_dns/dns-host.c: Update copyright year.
20546
1d39e359
UD
205472012-03-30 Ulrich Drepper <drepper@gmail.com>
20548
c030f70c 20549 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 20550 requests to save a system call. Fix check that all bytes are sent.
c030f70c 20551
1d39e359
UD
20552 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
20553 comments for sendmmsg.
20554
205552012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
20556
20557 [BZ #13691]
20558 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
20559 with only 1 character between 0x0041 and 0x01b0.
20560 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
20561 * wcsmbs/tst-mbsnrtowcs.c: New file.
20562
20fde227
DM
205632012-03-29 David S. Miller <davem@davemloft.net>
20564
20565 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
20566 small copies by hand.
20567
984a4237
JL
205682012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20569
20570 [BZ #13761]
20571 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
20572 _nss_compat_initgroups_dyn): Fall back to malloc/free
20573 for large group memberships.
20574
18c9d62b
DM
205752012-03-28 David S. Miller <davem@davemloft.net>
20576
88d85d4f
DM
20577 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
20578 that branches into memcpy.
20579 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
20580 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
20581 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
20582 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
20583 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
20584 bits.
20585 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
20586 implementation too.
20587 * sysdeps/sparc/mempcpy.S: New file.
20588
e5aa83e1
DM
20589 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
20590 the IFUNC routine in the libc case.
20591 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
20592
88570753
DM
20593 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
20594 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
20595 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
20596 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
20597 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
20598 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
20599 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
20600 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
20601
249d7567
DM
20602 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
20603 loop to 256 bytes instead of 64 bytes and fix test signedness.
20604
18c9d62b
DM
20605 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
20606 * sysdeps/sparc/sparc32/Makefile: rather than here...
20607 * sysdeps/sparc/sparc64/Makefile: and here.
20608
05f3d1f6
UD
206092012-03-28 Ulrich Drepper <drepper@gmail.com>
20610
20611 * malloc/mallocbug.c: Avoid warnings about unused variables.
20612
86ae07a8
JL
206132012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
20614
20615 [BZ #13760]
20616 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
20617 in the right place. Discard and retry query if response is
20618 larger than input buffer size.
20619
41bf21a1
JM
206202012-03-28 Joseph Myers <joseph@codesourcery.com>
20621
d6270972
JM
20622 [BZ #369]
20623 [BZ #2678]
20624 [BZ #3866]
20625 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
20626 x for large integer exponent.
20627 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
20628 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
20629 sign of result as needed afterwards.
20630 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
20631 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
20632 result for underflowing pow the same as for overflow.
20633 (__kernel_standard_l): Handle powl overflow and underflow here
20634 rather than calling __kernel_standard.
20635 * math/libm-test.inc (pow_test): Add more tests.
20636
414fca03 20637 [BZ #3868]
41bf21a1
JM
20638 [BZ #13879]
20639 [BZ #13910]
20640 [BZ #13911]
20641 [BZ #13912]
20642 [BZ #13913]
20643 [BZ #13915]
20644 [BZ #13916]
20645 [BZ #13917]
20646 [BZ #13918]
20647 [BZ #13919]
20648 [BZ #13920]
20649 [BZ #13921]
20650 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
20651 * sysdeps/ieee754/k_standard.c: Include <float.h>.
20652 (__kernel_standard_l): New function.
20653 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
20654 __kernel_standard.
20655 * math/w_acosl.c (__acosl): Likewise.
20656 * math/w_asinl.c (__asinl): Likewise.
20657 * math/w_atan2l.c (__atan2l): Likewise.
20658 * math/w_atanhl.c (__atanhl): Likewise.
20659 * math/w_coshl.c (__coshl): Likewise.
20660 * math/w_exp10l.c (__exp10l): Likewise.
20661 * math/w_exp2l.c (__exp2l): Likewise.
20662 * math/w_fmodl.c (__fmodl): Likewise.
20663 * math/w_hypotl.c (__hypotl): Likewise.
20664 * math/w_j0l.c (__j0l, __y0l): Likewise.
20665 * math/w_j1l.c (__j1l, __y1l): Likewise.
20666 * math/w_jnl.c (__jnl, __ynl): Likewise.
20667 * math/w_lgammal.c (__lgammal): Likewise.
20668 * math/w_log10l.c (__log10l): Likewise.
20669 * math/w_log2l.c (__log2l): Likewise.
20670 * math/w_logl.c (__logl): Likewise.
20671 * math/w_powl.c (__powl): Likewise.
20672 * math/w_remainderl.c (__remainderl): Likewise.
20673 * math/w_scalbl.c (sysv_scalbl): Likewise.
20674 * math/w_sinhl.c (__sinhl): Likewise.
20675 * math/w_sqrtl.c (__sqrtl): Likewise.
20676 * math/w_tgammal.c (__tgammal): Likewise.
20677 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
20678 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
20679 * math/libm-test.inc (acos_test): Add more tests.
20680 (acosh_test): Likewise.
20681 (asin_test): Likewise.
20682 (atanh_test): Likewise.
20683 (exp_test): Likewise.
20684 (exp10_test): Likewise.
20685 (exp2_test): Likewise.
20686 (expm1_test): Likewise.
20687 (lgamma_test): Likewise.
20688 (log_test): Likewise.
20689 (log10_test): Likewise.
20690 (log1p_test): Likewise.
20691 (log2_test): Likewise.
20692 (pow_test): Do not allow some spurious overflow exceptions.
20693 (sqrt_test): Add more tests.
20694 (tgamma_test): Likewise.
20695 (y0_test): Likewise.
20696 (y1_test): Likewise.
20697 (yn_test): Likewise.
20698
dd62fda6
AB
206992012-03-27 Anton Blanchard <anton@samba.org>
20700
20701 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
20702 MAP_HUGETLB.
20703 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
20704 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
20705 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
20706
1e3cdfda
AJ
207072012-03-27 David S. Miller <davem@davemloft.net>
20708
b855ab85
DM
20709 * conform/Makefile: Run run-conformtest.sh using $(BASH).
20710
1e3cdfda
AJ
20711 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
20712 have-as-vis3 check.
20713
207142012-03-27 Andreas Jaeger <aj@suse.de>
20715
20716 * sysdeps/x86_64/elf/configure.in: Moved to ...
20717 * sysdeps/x86_64/configure.in: ... here.
20718 * sysdeps/x86_64/elf/start.S: Moved to ...
20719 * sysdeps/x86_64/start.S: ... here.
20720 * sysdeps/x86_64/elf/configure: Delete.
20721
20722 * sysdeps/x86_64/configure.in: Merge contents from
20723 sysdeps/i386/configure.in (without i686 check).
20724
20725 * sysdeps/i386/elf/Versions: Merge into ...
20726 * sysdeps/i386/Versions: ... this.
20727 * sysdeps/i386/elf/Versions: Delete file.
20728 * sysdeps/i386/elf/start.S: Moved to ...
20729 * sysdeps/i386/start.S: ...here.
20730 * sysdeps/i386/elf/configure.in: Merge into...
20731 * sysdeps/i386/configure.in: ...here.
20732 * sysdeps/i386/elf/configure.in: Delete file.
20733 * sysdeps/i386/elf/configure: Delete file.
20734
20735 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
20736 * debug/backtracesyms.c: ... here.
20737 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
20738 * debug/backtracesymsfd.c: ... here.
20739 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
20740 * sysdeps/generic/ifunc-sel.h: ... here.
20741
20742 * sysdeps/unix/i386/start.c: Delete file.
20743 * sysdeps/unix/sparc/start.c: Delete file.
20744 * sysdeps/unix/start.c: Delete file.
20745
20746 * sysdeps/sh/elf/configure.in: Moved to ...
20747 * sysdeps/sh/configure.in: ... here.
20748 * sysdeps/sh/elf/start.S: Moved to ...
20749 * sysdeps/sh/start.S: ... here.
20750 * sysdeps/sh/elf/configure: Delete file.
20751
20752 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
20753 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
20754 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
20755 * sysdeps/powerpc/powerpc64/entry.h: ... here.
20756 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
20757 * sysdeps/powerpc/powerpc64/start.S: here.
20758 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
20759 * sysdeps/powerpc/powerpc64/Makefile: ... this.
20760 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
20761 * sysdeps/powerpc/powerpc64/configure.in: ... this.
20762 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
20763
20764 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
20765 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
20766 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
20767 * sysdeps/powerpc/powerpc32/start.S: ... here.
20768 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
20769 * sysdeps/powerpc/powerpc32/configure.in: ... this.
20770 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
20771
20772 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
20773 * sysdeps/powerpc/ifunc-sel.h: ... here.
20774 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
20775 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
20776
20777 * sysdeps/sparc/elf/configure.in: Moved to ...
20778 * sysdeps/sparc/configure.in: ... here.
20779 * sysdeps/sparc/elf/configure: Delete file.
20780 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
20781 * sysdeps/sparc/sparc32/start.S: ... here.
20782 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
20783 * sysdeps/sparc/sparc64/start.S: ... here.
20784 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
20785 * sysdeps/sparc/sparc32/Makefile: ... this.
20786 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
20787 * sysdeps/sparc/sparc64/Makefile: ... this.
20788
20789 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
20790 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
20791 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
20792 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
20793 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
20794 * sysdeps/s390/s390-32/setjmp.S: ... here.
20795 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
20796 * sysdeps/s390/s390-32/configure.in: ... here.
20797 * sysdeps/s390/s390-32/elf/configure: Delete file.
20798 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
20799 * sysdeps/s390/s390-32/start.S: ... here.
20800
20801 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
20802 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
20803 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
20804 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
20805 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
20806 * sysdeps/s390/s390-64/setjmp.S: ... here.
20807 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
20808 * sysdeps/s390/s390-64/configure.in: ... here
20809 * sysdeps/s390/s390-64/elf/configure: Delete file.
20810 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
20811 * sysdeps/s390/s390-64/start.S: ... here.
20812 * sysdeps/s390/s390-64/elf/configure: Delete.
20813
20814 * configure.in: Remove support for elf directories in sysdeps.
20815
20816 * configure: Regenerated.
20817 * sysdeps/i386/configure: Regenerated.
20818 * sysdeps/powerpc/powerpc32/configure: Regenerated.
20819 * sysdeps/powerpc/powerpc64/configure: Regenerated.
20820 * sysdeps/s390/s390-32/configure: Regenerated.
20821 * sysdeps/s390/s390-64/configure: Regenerated.
20822 * sysdeps/sh/configure: Regenerated.
20823 * sysdeps/sparc/configure: Regenerated.
20824 * sysdeps/x86_64/configure: Regenerated.
20825
a3f61311
AS
208262012-03-26 Andreas Schwab <schwab@linux-m68k.org>
20827
c876e002
AS
20828 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20829
a3f61311
AS
20830 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
20831 denormal result into account.
20832
ac4c54f0
RM
208332012-03-25 Roland McGrath <roland@hack.frob.com>
20834
20835 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
20836 Reported by Allan McRae <allan@archlinux.org>.
20837
6a9b9c02
JL
208382012-03-23 Jeff Law <law@redhat.com>
20839
20840 * nss/getnssent.c (__nss_getent): Fix typo.
20841
4c42a0c1
DM
208422012-03-23 David S. Miller <davem@davemloft.net>
20843
20844 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20845
1532c7ac
L
208462012-03-23 H.J. Lu <hongjiu.lu@intel.com>
20847
20848 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
20849 to pad to uint64_t for each field.
20850 (dl_tls_index): Replace unsigned long with uint64_t.
20851
3ff42526
PP
208522012-03-23 Daniel Jacobowitz <dmj@google.com>
20853 Paul Pluzhnikov <ppluzhnikov@google.com>
20854
20855 [BZ #6528]
20856 * grp/Makefile (otherlibs): Don't set it.
20857 * inet/Makefile (otherlibs): Likewise.
20858 * login/Makefile (otherlibs): Likewise.
20859 * nscd/Makefile (otherlibs): Likewise.
20860 * posix/Makefile (otherlibs): Likewise.
20861 * pwd/Makefile (otherlibs): Likewise.
20862 * rt/Makefile (otherlibs): Likewise.
20863 * sunrpc/Makefile (otherlibs): Likewise.
20864 * nss/Makefile (otherlibs): Likewise.
20865 Add libnss_files to routines and static-only-routines.
20866 ($(objpfx)getent): Remove rule.
20867 * resolv/Makefile: Add libnss_dns and libresolv to routines and
20868 static-only-routines.
20869
7c69cd14
JM
208702012-03-22 Joseph Myers <joseph@codesourcery.com>
20871
20872 [BZ #13892]
20873 * math/s_cexp.c: Include <float.h>.
20874 (__cexp): Handle exp result overflowing not necessarily
20875 overflowing both real and imaginary parts of result.
20876 * math/s_cexpf.c: Likewise.
20877 * math/s_cexpl.c: Likewise.
20878 * math/libm-test.inc (cexp_test): Add more tests.
20879 * sysdeps/i386/fpu/libm-test-ulps: Update.
20880 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20881
81b035fe
L
208822012-03-22 H.J. Lu <hongjiu.lu@intel.com>
20883
20884 * include/link.h (ELFW): New macro.
20885 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
20886 Replace ELF64_R_TYPE with ELFW(R_TYPE).
20887
1da7940c
L
208882012-03-22 H.J. Lu <hongjiu.lu@intel.com>
20889
20890 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
20891 with uint64_t.
20892
b749dbb9
L
208932012-03-22 H.J. Lu <hongjiu.lu@intel.com>
20894
20895 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
20896 declaration.
20897 (struct La_x32_retval): Likewise.
20898
2ff87f3f
L
208992012-03-22 H.J. Lu <hongjiu.lu@intel.com>
20900
20901 * sysdeps/x86_64/preconfigure.in: New file.
20902 * sysdeps/x86_64/preconfigure: New generated file.
20903
c0df8e69
JM
209042012-03-22 Joseph Myers <joseph@codesourcery.com>
20905
48e44791
JM
20906 [BZ #13824]
20907 * math/e_exp2l.c: Include <float.h>.
20908 (__ieee754_exp2l): Handle overflow and underflow cases
20909 separately. Only pass fractional part of argument to
20910 __ieee754_expl.
20911 * math/libm-test.inc (exp2_test): Add more tests.
20912
c0df8e69
JM
20913 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
20914 negating x to take absolute value.
20915 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
20916 Likewise.
20917 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
20918 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
20919 Likewise.
20920 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
20921 computing low part if x was negated.
20922 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
20923
c8e43ba7
L
209242012-03-21 H.J. Lu <hongjiu.lu@intel.com>
20925
20926 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
20927 la_x32_gnu_pltexit.
20928 (pltexit): Cast int_retval to ptrdiff_t.
20929 * elf/tst-auditmod3b.c: Likewise.
20930 * elf/tst-auditmod4b.c: Likewise.
20931 * elf/tst-auditmod5b.c: Likewise.
20932 * elf/tst-auditmod6b.c: Likewise.
20933 * elf/tst-auditmod6c.c: Likewise.
20934 * elf/tst-auditmod7b.c: Likewise.
20935
20936 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
20937 and x32_gnu_pltexit.
20938
20939 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
20940 __ELF_NATIVE_CLASS.
20941 (La_x32_regs): New macro.
20942 (La_x32_retval): Likewise.
20943 (la_x32_gnu_pltenter): New function prototype.
20944 (la_x32_gnu_pltexit): Likewise.
20945
7998fa78
AS
209462012-03-21 Andreas Schwab <schwab@linux-m68k.org>
20947
dcb33988
AS
20948 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
20949 exponent.
20950
233fc563
AS
20951 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20952
7998fa78
AS
20953 * configure.in (libc_cv_cc_nofma): Check for option to disable
20954 generation of FMA instructions.
20955 * configure: Regenerate.
20956 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
20957 * sysdeps/ieee754/dbl-64/Makefile: New file.
20958 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20959 Remove brandred-fma4.
20960 (CFLAGS-brandred-fma4.c): Remove.
20961 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
20962 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
20963 define.
20964 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
20965 define.
20966
8e95c99a
L
209672012-03-21 H.J. Lu <hongjiu.lu@intel.com>
20968
20969 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
20970 LLONG_MAX != LONG_MAX.
20971 (_itoa_word): Use _ITOA_WORD_TYPE on value.
20972 (_fitoa_word): Likewise.
20973 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
20974 LLONG_MAX != LONG_MAX.
20975 * stdio-common/_itowa.h: Include <_itoa.h>.
20976 (_itowa_word): Use _ITOA_WORD_TYPE on value.
20977 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
20978 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
20979 only if not defined.
20980 (_ITOA_WORD_TYPE): Likewise.
20981 (_itoa_word): Use _ITOA_WORD_TYPE on value.
20982 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
20983
6f4db457
DM
209842012-03-21 David S. Miller <davem@davemloft.net>
20985
20986 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20987
7785fe5a
L
209882012-03-21 H.J. Lu <hongjiu.lu@intel.com>
20989
20990 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
20991 of x86_64 when setting libc_cv_slibdir, libdir and
20992 libc_cv_localedir.
20993 * sysdeps/unix/sysv/linux/configure: Regenerated.
20994
4535cd55
JM
209952012-03-21 Joseph Myers <joseph@codesourcery.com>
20996
20997 * manual/lang.texi (Old Varargs): Remove section.
20998 (How Variadic): Update menu.
20999 (va_start): Do not mention varargs.h.
21000
17228132
TS
210012012-03-21 Thomas Schwinge <thomas@codesourcery.com>
21002 Joseph Myers <joseph@codesourcery.com>
21003
21004 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
21005 link test.
21006 * configure: Regenerated.
21007
8149f976
TS
210082012-03-21 Thomas Schwinge <thomas@codesourcery.com>
21009
05f3d1f6
UD
21010 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
21011 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
21012 conformtest.pl
8149f976 21013
1a4ac776
JM
210142012-03-21 Joseph Myers <joseph@codesourcery.com>
21015
be22ce65
JM
21016 * NOTES: Remove.
21017 * Makefile (files-for-dist): Remove NOTES.
21018 (NOTES): Remove rule.
21019 * README: Don't refer to NOTES.
21020 * manual/creature.texi: Don't include macros.texi.
21021 * manual/intro.texi (creature.texi): Remove comment referring to
21022 NOTES.
21023
40b601fb
JM
21024 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
21025 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
21026 * configure: Regenerated.
21027 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
21028 LIBC_TRY_CC_OPTION.
21029 (libc_cv_as_i686): Likewise.
21030 (libc_cv_cc_avx): Likewise.
21031 (libc_cv_cc_sse2avx): Likewise.
21032 (libc_cv_cc_fma4): Likewise.
21033 (libc_cv_cc_novzeroupper): Likewise.
21034 * sysdeps/i386/configure: Regenerated.
21035
1a4ac776
JM
21036 [BZ #13883]
21037 * sysdeps/i386/fpu/s_cexp.S: Remove.
21038 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
21039 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
21040 * math/libm-test.inc (cexp_test): Add more tests.
21041 * sysdeps/i386/fpu/libm-test-ulps: Update.
21042 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21043
a458e7fe
AM
210442012-03-21 Allan McRae <allan@archlinux.org>
21045
21046 * timezone/Makefile: Do not install iso3166.tab and zone.tab
21047
0cb7efc5
JM
210482012-03-21 Joseph Myers <joseph@codesourcery.com>
21049
21050 [BZ #13871]
21051 * math/w_exp2.c: Do not include <float.h>.
21052 (o_threshold, u_threshold): Remove.
21053 (__exp2): Calculate result before checking finiteness and calling
21054 __kernel_standard.
21055 * math/w_exp2f.c: Likewise.
21056 * math/w_exp2l.c: Likewise.
21057 * math/libm-test.inc (exp2_test): Require overflow exception for
21058 1e6 input.
2460d3aa
JM
21059
21060 [BZ #3866]
21061 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
21062 range of signed 64-bit integers before using fistpll. Remove
21063 checks for whether integers fit in mantissa bits.
21064 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
21065 the range of signed 32-bit integers before using fistpl. Remove
21066 checks for whether integers fit in mantissa bits.
21067 * sysdeps/i386/fpu/e_powl.S (p64): New object.
21068 (__ieee754_powl): Test for y outside the range of signed 64-bit
21069 integers before using fistpll. Reduce 64-bit values to 63-bit
21070 ones as needed.
21071 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
21072 divide-by-zero is raised for zero to large negative powers.
21073 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
21074 (__ieee754_powl): Test for y outside the range of signed 64-bit
21075 integers before using fistpll. Reduce 64-bit values to 63-bit
21076 ones as needed.
21077 * math/libm-test.inc (pow_test): Add more tests.
21078
eb96ffb0
L
210792012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21080
21081 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
21082 <stdio-common/_itoa.h>.
21083 * debug/segfault.c: Likewise.
21084 * elf/dl-cache.c: Likewise.
21085 * elf/dl-minimal.c: Likewise.
21086 * elf/dl-misc.c: Likewise.
21087 * elf/dl-sysdep.c: Likewise.
21088 * elf/dl-version.c: Likewise.
21089 * elf/rtld.c: Likewise.
21090 * hurd/hurdsock.c: Likewise.
21091 * hurd/lookup-retry.c: Likewise.
21092 * malloc/malloc.c: Likewise.
21093 * malloc/mtrace.c: Likewise.
21094 * nscd/nscd_getgr_r.c: Likewise.
21095 * nscd/nscd_getpw_r.c: Likewise.
21096 * nscd/nscd_getserv_r.c: Likewise.
21097 * posix/getopt_init.c: Likewise.
21098 * posix/wordexp.c: Likewise.
21099 * stdio-common/_itoa.c: Likewise.
21100 * stdio-common/printf_fphex.c: Likewise.
21101 * stdio-common/vfprintf.c: Likewise.
21102 * string/_strerror.c: Likewise.
21103 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
21104 * sysdeps/i386/i686/hp-timing.h: Likewise.
21105 * sysdeps/mach/_strerror.c: Likewise.
21106 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
21107 * sysdeps/mach/hurd/sethostid.c: Likewise.
21108 * sysdeps/mach/hurd/xmknodat.c: Likewise.
21109 * sysdeps/mach/xpg-strerror.c: Likewise.
21110 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21111 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
21112 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
21113 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
21114 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
21115 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
21116 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
21117 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
21118 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
21119 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
21120 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
21121 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
21122 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
21123 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
21124 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
21125 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
21126 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
21127 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
21128 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
21129 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
21130 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
21131
21132 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
21133
21134 * stdio-common/_itoa.h: Moved to ...
21135 * sysdeps/generic/_itoa.h: Here.
21136
21137 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
21138
21139 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
21140 instead of "_itoa.h" and "_itowa.h".
21141 * stdio-common/vfprintf.: Likewise.
21142
d1af992d
L
211432012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21144
21145 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
21146 <bits/wordsize.h>.
21147 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
21148 (__signbit): Likwise.
21149 (llrintf): Likwise.
21150 (llrint): Likwise.
21151
114883e0
L
211522012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21153
21154 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
21155 __WORDSIZE != 64.
21156
c135cc1b
JM
211572012-03-20 Joseph Myers <joseph@codesourcery.com>
21158
21159 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
21160 OVERFLOW_EXCEPTION_OK.
21161 * math/libm-test.inc ("Philosophy"): Update comment about
21162 exception testing.
21163 (OVERFLOW_EXCEPTION): Define.
21164 (OVERFLOW_EXCEPTION_OK): Likewise.
21165 (INVALID_EXCEPTION_OK): Renumber.
21166 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21167 (IGNORE_ZERO_INF_SIGN): Likewise.
21168 (test_exceptions): Handle FE_OVERFLOW.
21169 (exp10_test): Expect overflow exceptions.
21170 (exp2_test): Likewise.
21171 (expm1_test): Likewise.
21172 (nextafter_test): Likewise.
21173 (pow_test): Likewise.
21174 (scalbn_test): Likewise.
21175 (scalbln_test): Likewise.
21176
95443d88
L
211772012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21178
21179 * sysdeps/x86_64/bits/atomic.h
21180 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
21181 64bit integer.
21182 (atomic_exchange_acq): Likewise.
21183 (__arch_exchange_and_add_body): Likewise.
21184 (__arch_add_body): Likewise.
21185 (atomic_add_negative): Likewise.
21186 (atomic_add_zero): Likewise.
21187
490df6c4
L
211882012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21189
c2722551 21190 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
21191 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
21192
5e52b189
L
211932012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21194
21195 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
21196 Check __x86_64__ instead of __WORDSIZE.
21197
a9879d4c
L
211982012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21199
21200 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
21201
5df98260
DM
212022012-03-19 David S. Miller <davem@davemloft.net>
21203
e1497744
DM
21204 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21205
5df98260
DM
21206 * sysdeps/sparc/fpu/fenv_private.h: New file.
21207 * sysdeps/sparc/fpu/math_private.h: Use it.
21208 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
21209 Remove.
21210 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
21211 (libc_feholdexcept_setroundl): Remove.
21212 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
21213 Remove.
21214 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
21215 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
21216
b4c35121
L
212172012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21218
21219 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
21220 int64_t instead of long int.
21221 (INSERT_WORDS64): Likwise.
21222
56965fd7
L
212232012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21224
21225 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
21226 _Unwind_GetCFA return to _Unwind_Ptr first.
21227
83d1aec8
JM
212282012-03-19 Joseph Myers <joseph@codesourcery.com>
21229
1897ad44
JM
21230 [BZ #13629]
21231 * math/s_clog.c: Include <float.h>.
21232 (__clog): Scale large or subnormal inputs.
21233 * math/s_clogf.c: Likewise.
21234 * math/s_clogl.c: Likewise.
21235 * math/s_clog10.c: Include <float.h>.
21236 (M_LOG10_2): Define.
21237 (__clog10): Scale large or subnormal inputs.
21238 * math/s_clog10f.c: Likewise.
21239 * math/s_clog10l.c: Likewise.
21240 * math/libm-test.inc (clog_test): Add more tests.
21241 (clog10_test): Likewise.
21242 * sysdeps/i386/fpu/libm-test-ulps: Update.
21243 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21244
7726d6a9
JM
21245 [BZ #11451]
21246 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
21247 x and y.
21248 * math/libm-test.inc (atan2_test): Add another test.
21249
83d1aec8
JM
21250 * Makerules (common-objdir-compile): Remove.
21251 * sysdeps/unix/Makefile (config-generated): Do not add
21252 $(unix-generated) to variable.
21253 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
21254 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
21255 Remove rule.
21256 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
21257 Likewise.
21258 [generic bits/local_lim.h] (before-compile): Do not append to
21259 variable.
21260 [generic bits/local_lim.h] (common-generated): Likewise.
21261 [generic sys/param.h] (before-compile): Do not append to variable.
21262 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
21263 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
21264 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
21265 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
21266 include.
21267 [generic sys/param.h] (sys/param.h-includes): Remove variable.
21268 [generic sys/param.h] (sys/param.h-includes): Remove rule.
21269 [generic sys/param.h] ($(addprefix
21270 $(common-objpfx),$(sys/param.h-includes))): Likewise.
21271 [generic sys/param.h] (common-generated): Do not append to
21272 variable.
21273 [generic sys/param.h] (sysdep_headers): Likewise.
21274 [generic bits/errno.h] (before-compile): Do not append to
21275 variable.
21276 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
21277 rule.
21278 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
21279 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
21280 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
21281 [generic bits/errno.h] (common-generated): Do not append to
21282 variable.
21283 [generic bits/ioctls.h] (before-compile): Do not append to
21284 variable.
21285 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
21286 rule.
21287 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
21288 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
21289 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
21290 rule.
21291 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
21292 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
21293 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
21294 [generic bits/ioctls.h] (common-generated): Do not append to
21295 variable.
21296 [generic sys/syscall.h] (syscall.h): Remove variable.
21297 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
21298 rule.
21299 [generic sys/syscall.h] (before-compile): Do not append to
21300 variable.
21301 [generic sys/syscall.h] (common-generated): Likewise.
21302 * sysdeps/unix/errnos-tmpl.c: Remove file.
21303 * sysdeps/unix/errnos.awk: Likewise.
21304 * sysdeps/unix/ioctls-tmpl.c: Likewise.
21305 * sysdeps/unix/ioctls.awk: Likewise.
21306 * sysdeps/unix/mk-local_lim.c: Likewise.
21307 * sysdeps/unix/snarf-ioctls: Likewise.
21308
4851a949
RH
213092012-03-19 Richard Henderson <rth@twiddle.net>
21310
bd37f2ee
RH
21311 * sysdeps/i386/fpu/fenv_private.h: New file.
21312 * sysdeps/i386/fpu/math_private.h: Use it.
21313 (math_opt_barrier, math_force_eval): Remove.
21314 (libc_feholdexcept_setround_53bit): Remove.
21315 (libc_feupdateenv_53bit): Remove.
21316 * sysdeps/x86_64/fpu/math_private.h: Likewise.
21317 (math_opt_barrier, math_force_eval): Remove.
21318 (libc_feholdexcept): Remove.
21319 (libc_feholdexcept_setround): Remove.
21320 (libc_fetestexcept, libc_fesetenv): Remove.
21321 (libc_feupdateenv_test): Remove.
21322 (libc_feupdateenv, libc_feholdsetround): Remove.
21323 (libc_feresetround): Remove.
21324
d0adc922
RH
21325 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
21326 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
21327
0fe0f1f8
RH
21328 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
21329 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
21330 (libc_feupdateenv_testl): New.
21331 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
21332 (libc_feupdateenv_testf): New.
21333 (libc_feupdateenv): Use libc_feupdateenv_test.
21334 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
21335 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
21336
eb92c487
RH
21337 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
21338 (libc_feholdsetroundf, libc_feholdsetroundl): New.
21339 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
21340 (libc_feresetround_noex): New.
21341 (libc_feresetround_noexf): New.
21342 (libc_feresetround_noexl): New.
21343 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
21344 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
21345 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
21346 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
21347 SET_RESTORE_ROUND.
21348 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
21349 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
21350 (__cos): Likewise.
21351 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
21352 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
21353 SET_RESTORE_ROUND_NOEX.
21354 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
21355 SET_RESTORE_ROUND_NOEXF.
21356 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
21357 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
21358 (libc_feholdsetroundf): New.
21359 (libc_feresetround, libc_feresetroundf): New.
21360
7d2e8012
RH
21361 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
21362 (libc_feholdexcept_setround_53bit): Convert from macro to function.
21363 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
21364
b4dabbb4
RH
21365 * sysdeps/generic/math_private.h: Include <fenv.h>.
21366 (default_libc_feholdexcept): New.
21367 (default_libc_feholdexcept_setround): New.
21368 (default_libc_fesetenv, default_libc_feupdateenv): New.
21369 (libc_feholdexcept): Only define if undefined.
21370 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
21371 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
21372 (libc_feholdexcept_setroundl): Likewise.
21373 (libc_feholdexcept_setround_53bit): Likewise.
21374 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
21375 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
21376 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
21377 (libc_feupdateenv_53bit): Likewise.
21378 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
21379 (libc_feholdexcept): Convert from macro to inline function.
21380 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
21381 (libc_fesetenv, libc_feupdateenv): Likewise.
21382
4851a949
RH
21383 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
21384 not previously defined.
21385 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
21386 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
21387 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
21388 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
21389 * sysdeps/ieee754/flt-32/math_private.h: New file.
21390 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
21391 math_private.h below SET_FLOAT_WORD.
21392 (__isnan, __isinf_ns, __finite): Remove.
21393 (__isnanf, __isinf_nsf, __finitef): Remove.
21394
e79d442e
AS
213952012-03-18 Andreas Schwab <schwab@linux-m68k.org>
21396
21397 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21398
90b80344
DM
213992012-03-17 David S. Miller <davem@davemloft.net>
21400
21401 [BZ #6471]
21402 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
21403 for 2.16.
21404
edc21804
DM
214052012-03-16 David S. Miller <davem@davemloft.net>
21406
77e927af
DM
21407 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
21408 warnings.
21409
374976dd
DM
21410 [BZ #6471]
21411 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
21412 properly.
21413 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
21414 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
21415 sysdep_routines when subdir is sysvipc.
21416 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
21417 __getshmlba helper.
21418
edc21804
DM
21419 * sysdeps/sparc/fpu/libm-test/ulps: Update.
21420
473c3ef3
L
214212012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21422
21423 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
21424 [__LP64__].
21425
eb0f39b6
L
214262012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21427
21428 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
21429 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
21430 (__lround): Renamed to ...
21431 (__llround): This. Replace long int with long long int.
21432 Define lround functions as aliases of llround functions.
21433 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
21434
6b6cd74b
L
214352012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21436
21437 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
21438 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
21439 adresses to uintptr_t. Replace "long int" and "unsigned long
21440 int" with "greg_t" on va_arg.
21441
f1a77b01
L
214422012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21443
21444 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
21445 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
21446
21447 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
21448 Move e_machine check before EI_CLASS check. Handle x32
21449 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
21450 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
21451 SKIP_EM_IA_64 and include
21452 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
21453
21454 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
21455 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
21456 (add_system_dir): New macro.
21457
21458 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
21459 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
21460
11b90b9f
JM
214612012-03-16 Joseph Myers <joseph@codesourcery.com>
21462
c36e1d23
JM
21463 [BZ #2551]
21464 [BZ #2552]
21465 [BZ #2553]
21466 [BZ #2554]
21467 [BZ #2562]
21468 [BZ #2563]
21469 [BZ #2565]
21470 [BZ #2566]
21471 [BZ #2576]
21472 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
21473 (y0): Likewise.
21474 * math/w_j0f.c (j0f): Likewise.
21475 (y0f): Likewise.
21476 * math/w_j0l.c (__j0l): Likewise.
21477 (__y0l): Likewise.
21478 * math/w_j1.c (j1): Likewise.
21479 (y1): Likewise.
21480 * math/w_j1f.c (j1f): Likewise.
21481 (y1f): Likewise.
21482 * math/w_j1l.c (__j1l): Likewise.
21483 (__y1l): Likewise.
21484 * math/w_jn.c (jn): Likewise.
21485 (yn): Likewise.
21486 * math/w_jnf.c (jnf): Likewise.
21487 (ynf): Likewise.
21488 * math/w_jnl.c (__jnl): Likewise.
21489 (__ynl): Likewise.
21490 * math/libm-test.inc (j0_test): Add more tests.
21491 (j1_test): Likewise.
21492 (jn_test): Likewise. Add trailing semicolon to existing test.
21493 (y0_test): Likewise.
21494 (y1_test): Likewise.
21495 * sysdeps/i386/fpu/libm-test-ulps: Update.
21496 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21497
11b90b9f
JM
21498 [BZ #13851]
21499 [BZ #13854]
21500 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
21501 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
21502 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
21503 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
21504 (__tanl): Set errno for infinite argument.
21505 * sysdeps/i386/fpu/mptan.c: Remove.
21506 * sysdeps/i386/fpu/s_tan.S: Likewise.
21507 * sysdeps/i386/fpu/s_tanl.S: Likewise.
21508 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
21509 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
21510 * math/libm-test.inc (tan_test): Add more tests and enable more
21511 tests for double and long double.
21512 * sysdeps/i386/fpu/libm-test-ulps: Update.
21513 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21514
6a1bd2a1
JK
215152012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
21516
21517 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
21518 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
21519
10a803e0
RM
215202012-03-16 Roland McGrath <roland@hack.frob.com>
21521
21522 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
21523 * configure.in: Use it for both main tree and add-ons.
21524 * configure: Regenerated.
21525
f196c7f7
L
215262012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21527
21528 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
21529
8848d99d
JM
215302012-03-16 Joseph Myers <joseph@codesourcery.com>
21531
96cbe7f4
JM
21532 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
21533 in comment.
21534
8848d99d
JM
21535 [BZ #13851]
21536 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
21537 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
21538 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
21539 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
21540 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
21541 infinite argument.
21542 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
21543 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
21544 != 0 for prec == 2.
21545 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
21546 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
21547 * sysdeps/i386/fpu/s_cosl.S: Likewise.
21548 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
21549 * sysdeps/i386/fpu/s_sinl.S: Likewise.
21550 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
21551 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
21552 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
21553 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
21554 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
21555 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
21556 * math/libm-test.inc (cos_test): Add more tests and enable more
21557 tests for long double.
21558 (sin_test): Likewise.
21559 (sincos_test): Likewise.
21560 * sysdeps/i386/fpu/libm-test-ulps: Update.
21561 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21562
dd7f4703
DM
215632012-03-16 David S. Miller <davem@davemloft.net>
21564
21565 * sysdeps/sparc/fpu/math_private.h: New file.
21566
006f1daa
DM
215672012-03-15 David S. Miller <davem@davemloft.net>
21568
c0c83bc8
DM
21569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
21570 file.
e6a62e18 21571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
21572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
21573 file.
e6a62e18
DM
21574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
21575 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
21576 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
21577 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
21578 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
21579 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
21580 sysdep routines.
21581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
21582
88cb87d9
DM
21583 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
21584 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
21585
006f1daa 21586 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
21587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
21588 sparc-ifunc.h
006f1daa 21589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
21590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
21591 Likewise.
21592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
21593 Likewise.
006f1daa
DM
21594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
21595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
21596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
21597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
21598 Likewise.
006f1daa
DM
21599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
21600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
21601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
21602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
21603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
21604 Likewise.
21605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
21606 Likewise.
006f1daa
DM
21607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
21608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
21609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
21610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
21611 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
21612 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
21613 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
21614 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
21615 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
21616 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
21617 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
21618 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
21619 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
21620 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
21621 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
21622 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
21623 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
21624 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
21625 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
21626 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
21627 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
21628 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
21629 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
21630 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
21631
11e0098e
AS
216322012-03-15 Andreas Schwab <schwab@linux-m68k.org>
21633
21634 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
21635 scaling.
21636 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21637
e85b09d0
AJ
216382012-03-15 Andreas Jaeger <aj@suse.de>
21639
21640 [BZ #13852]
21641 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
21642 ieee754/flt-32 implementation for sin, cos and sincos.
21643 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
21644 * sysdeps/i386/fpu/s_cosf.S: Likewise.
21645 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
21646 * sysdeps/i386/fpu/s_sinf.S: Likewise.
21647 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
21648 ieee754/flt-32 implementation for tan.
21649
21650 * math/libm-test.inc (cos_test): Enable some large input tests for
21651 float as well
21652 (sin_test): Likewise.
21653 (sincos_test): Likewise.
21654 (tan_test): Add tests for large input.
21655
21656 * sysdeps/i386/fpu/libm-test-ulps: Update.
21657
81c64153
AJ
216582012-03-15 Andreas Jaeger <aj@suse.de>
21659
21660 [BZ #13658]
21661 * math/libm-test.inc (cos_test): Add more test cases.
21662 (sin_test): Likewise.
21663 (sincos_test): Likewise.
21664
7bbfa5c6
AJ
216652012-03-15 Andreas Jaeger <aj@suse.de>
21666
21667 [BZ #13837]
21668 * math/libm-test.inc (cos_test): Add a test case for large input
21669 value.
21670 (sin_test): Likewise.
21671 (sincos_test): Likewise.
21672
216732012-03-15 Andreas Jaeger <aj@suse.de>,
21674 Joseph Myers <joseph@codesourcery.com>
21675
21676 [BZ #13658]
0671f479 21677 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
21678 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
21679 * sysdeps/i386/fpu/branred.c: Likewise.
21680 * sysdeps/i386/fpu/dosincos.c: Likewise.
21681 * sysdeps/i386/fpu/mpa.c: Likewise.
21682 * sysdeps/i386/fpu/s_cos.S: Likewise.
21683 * sysdeps/i386/fpu/s_sin.S: Likewise.
21684 * sysdeps/i386/fpu/s_sincos.S: Likewise.
21685 * sysdeps/i386/fpu/sincos32.c: Likewise.
21686
21687 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
21688 Define.
21689 (libc_feupdateenv_53bit): Define.
21690 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
21691 Define.
21692 (libc_feupdateenv_53bit): Define.
21693
21694 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
21695 53 bit (without extend i386 double precision).
21696
21697 * math/libm-test.inc (sincos_test): Add tests for large input.
21698 (sin): Likewise.
21699 (cos): Likewise.
21700
21701 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
21702
9cad04ea
AS
217032012-03-15 Andreas Schwab <schwab@linux-m68k.org>
21704
21705 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21706
f7062b9a
DM
217072012-03-15 David S. Miller <davem@davemloft.net>
21708
21709 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
21710 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
21711 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
21712 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
21713 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
21714 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
21715 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
21716 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
21717 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
21718 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
21719 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
21720 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
21721 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
21722 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
21723 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
21724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
21725 file.
f7062b9a 21726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
21727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
21728 file.
f7062b9a 21729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
21730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
21731 file.
f7062b9a 21732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
21733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
21734 file.
f7062b9a
DM
21735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
21736 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
21737 fmin/fmax sysdep routines.
21738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
21739
7bd951ff
DM
217402012-03-14 David S. Miller <davem@davemloft.net>
21741
559398ab
DM
21742 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
21743 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
21744 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
21745 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
21746 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
21747 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
21748 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
21749 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
21750 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
21751 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
21752 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
21753 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
21754 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
21755 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
21756 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
21757 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
21758 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
21759 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
21760 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
21761 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
21762 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
21763 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
21764 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
21765 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
21766 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
21767 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
21768 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
21769 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
21770 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
21771 routines.
21772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
21773 file.
559398ab 21774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
21775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
21776 file.
559398ab 21777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
21778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
21779 file.
559398ab 21780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
21781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
21782 file.
559398ab 21783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
21784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
21785 file.
559398ab 21786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
21787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
21788 file.
21789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
21790 file.
21791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
21792 file.
21793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
21794 file.
21795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
21796 New file.
21797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
21798 file.
21799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
21800 file.
559398ab 21801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
21802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
21803 file.
559398ab 21804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
21805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
21806 file.
559398ab 21807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
21808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
21809 file.
559398ab 21810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
21811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
21812 VIS3 routines.
559398ab
DM
21813
21814 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
21815 New file.
21816
5a1c1e32
DM
21817 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21818
eae47a36
DM
21819 * sysdeps/sparc/configure.in: New file.
21820 * sysdeps/sparc/configure: Generate.
21821 * configure.in (libc_cv_sparc_as_vis3): Substitute.
21822 * configure: Regenerate.
21823 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
21824 * config.make.in (have-as-vis3): New.
21825 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
21826 available use -Av9d instead of -Av9a.
21827 * sysdeps/sparc/sparc64/Makefile: Likewise.
21828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
21829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
21830 New file.
21831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
21832 file.
21833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
21834 New file.
21835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
21836 file.
eae47a36
DM
21837 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
21838 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
21839 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
21840 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
21841 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
21842
c0c83bc8
DM
21843 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
21844 fzeros/fnegs to load 0x80000000 into a float register instead of
21845 using the stack.
7bd951ff
DM
21846 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
21847
bd951ccb
JM
218482012-03-14 Joseph Myers <joseph@codesourcery.com>
21849
21850 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21851 bits/syscall.h.
21852 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
21853 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
21854 ($(inst_includedir)/bits/syscall.h): Remove rule.
21855 ($(objpfx)bits/syscall.d): Include instead of
21856 $(objpfx)syscall-list.d.
21857 (generated): Change syscall-list.h and syscall-list.d to
21858 bits/syscall.h and bits/syscall.d.
21859
bb4e6db2
RM
218602012-03-14 Roland McGrath <roland@hack.frob.com>
21861
21862 [BZ #13846]
21863 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
21864
aa4a2ae1
JM
218652012-03-14 Joseph Myers <joseph@codesourcery.com>
21866
e456826d
JM
21867 [BZ #13841]
21868 * math/s_csqrt.c: Include <float.h>.
21869 (__csqrt): Scale large or subnormal inputs.
21870 * math/s_csqrtf.c: Likewise.
21871 * math/s_csqrtl.c: Likewise.
21872 * math/libm-test.inc (csqrt_test): Add more tests.
21873 * sysdeps/i386/fpu/libm-test-ulps: Update.
21874 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21875
aa4a2ae1
JM
21876 [BZ #13840]
21877 * math/libm-test.inc (hypot_test): Add more tests.
21878
7c10fd35
DM
218792012-03-13 David S. Miller <davem@davemloft.net>
21880
21881 [BZ #13840]
21882 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
21883 double-precision for the calculation instead of scaling.
21884
f453b98b
JM
218852012-03-13 Joseph Myers <joseph@codesourcery.com>
21886
21887 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
21888 manipulate bits before adding and subtracting TWO52[sx].
21889 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
21890 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
21891 Likewise.
21892 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
21893
09a3453f
DM
218942012-03-13 David S. Miller <davem@davemloft.net>
21895
8e59da90
DM
21896 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
21897 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
21898 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
21899 rtld-global-offsets.h
21900 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21901
2a8ab7f2
DM
21902 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
21903 large parameters.
21904
10f62770
DM
21905 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
21906
5f0bdb18
DM
21907 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
21908 'err' in the ifdef scope in which it is actually used.
21909
09a3453f
DM
21910 * nss/nss_db/db-init.c: Include string.h
21911
b4b2eb5e
DM
219122012-03-12 David S. Miller <davem@davemloft.net>
21913
98bb2f1c
DM
21914 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
21915 masking out of the most significant byte of random value used.
21916 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21917 Fix coding style in previous change.
21918
b4b2eb5e
DM
21919 * sysdeps/unix/sysv/linux/kernel-features.h
21920 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
21921 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
21922 expression.
21923 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
21924 later.
21925
6e226b09
DM
219262012-03-11 David S. Miller <davem@davemloft.net>
21927
a1bcbd40
DM
21928 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
21929 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
21930 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
21931 for 'resultvar' otherwise things get truncated on 64-bit.
21932
cb9d6174
DM
21933 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21934 Fix masking out of the most significant byte of random value used.
21935
6e226b09
DM
21936 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21937
058c132d
AS
219382012-03-10 Andreas Schwab <schwab@linux-m68k.org>
21939
21940 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21941
2d2cd515
DM
219422012-03-09 David S. Miller <davem@davemloft.net>
21943
21944 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
21945 variables with appropriate CPP guards.
21946 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
21947 frame pointer, not the stack pointer. Correct layout comments. Fix test
21948 on resulting framesize and the management of the outregs buffer for pltexit.
21949 Preserve floating point return values across _dl_call_pltexit call.
21950 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
21951 framesize and the management of the outregs buffer for pltexit.
21952 Preserve floating point return values across _dl_call_pltexit
21953 call.
21954 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
21955 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
21956 (print_exit): Fix format string for return register value.
21957
9a07f9d0
JM
219582012-03-10 Joseph Myers <joseph@codesourcery.com>
21959
21960 * sunrpc/Makefile (others): Add rpcgen.
21961 ($(objpfx)rpcgen): Remove special build rule and dependency on
21962 libc.
21963 * sunrpc/rpcgen.c: New file.
21964
547b5e30
PE
219652012-03-09 Paul Eggert <eggert@cs.ucla.edu>
21966
c524201a
PE
21967 [BZ #13673]
21968 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
21969 * stdio-common/bug-vfprintf-nargs.c: Likewise.
21970 * sysdeps/i386/crti.S: Likewise.
21971 * sysdeps/i386/crtn.S: Likewise.
21972 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
21973 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
21974 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
21975 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
21976 * sysdeps/sh/crti.S: Likewise.
21977 * sysdeps/sh/crtn.S: Likewise.
21978 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
21979
7b6235f2
PE
21980 [BZ #13673]
21981 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
21982 with URL.
21983 * locale/programs/locfile-kw.gperf: Likewise.
21984 * locale/programs/charmap-kw.h: Regenerated.
21985 * locale/programs/locfile-kw.h: Likewise.
21986
547b5e30
PE
21987 [BZ #13673]
21988 * intl/plural.y: Replace FSF snail mail address with URL.
21989 * intl/plural.c: Regenerated.
21990
5f0a5dae
RH
219912012-03-09 Richard Henderson <rth@twiddle.net>
21992
21993 * include/math_private.h: Remove file.
21994 * math/math_private.h: Move file ...
21995 * sysdeps/generic/math_private.h: ... here.
21996
b8c03620
RH
21997 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
21998 * sysdeps/powerpc/fpu/math_private.h: Likewise.
21999 * sysdeps/x86_64/fpu/math_private.h: Likewise.
22000
4e234f5d 22001 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
22002 and <math_private.h>.
22003 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
22004 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
22005 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
22006 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
22007 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
22008 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
22009 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22010 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22011 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22012 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22013 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22014 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
22015 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22016 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22017 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22018 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22019 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22020 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22021 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22022 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
22023 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22024 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22025 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22026 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22027 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
22028 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22029 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22030 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22031 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22032 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22033 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22034 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22035 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
22036 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22037 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
22038 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22039 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22040 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
22041 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
22042 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22043 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
22044 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
22045 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
22046 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
22047 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
22048 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
22049 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
22050 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
22051 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22052 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
22053 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
22054 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
22055 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
22056 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
22057 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
22058 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22059 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22060 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
22061 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
22062 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
22063 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22064 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
22065 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22066 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
22067 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
22068 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22069 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22070 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22071 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
22072 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
22073 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
22074 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22075 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
22076 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22077 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
22078 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
22079 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
22080 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
22081 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
22082 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
22083 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
22084 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
22085 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
22086 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
22087 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22088 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
22089 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
22090 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
22091 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
22092 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
22093 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
22094 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
22095 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22096 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
22097 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
22098 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
22099 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22100 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
22101 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22102 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
22103 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
22104 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
22105 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
22106 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
22107 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
22108 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
22109 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
22110 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
22111 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
22112 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
22113 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
22114 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
22115 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
22116 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
22117 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
22118 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22119 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
22120 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
22121 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
22122 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
22123 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
22124 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
22125 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22126 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
22127 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
22128 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
22129 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
22130 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
22131 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
22132 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
22133 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
22134 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
22135 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
22136 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
22137 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
22138 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
22139 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
22140 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
22141 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
22142 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
22143 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22144 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
22145 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
22146 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
22147 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
22148 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
22149 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
22150 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
22151 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
22152 * sysdeps/ieee754/k_standard.c: Likewise.
22153 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
22154 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
22155 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
22156 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
22157 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
22158 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
22159 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
22160 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
22161 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
22162 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
22163 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22164 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
22165 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
22166 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
22167 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
22168 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
22169 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
22170 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
22171 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
22172 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
22173 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
22174 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
22175 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
22176 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
22177 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
22178 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
22179 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
22180 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
22181 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
22182 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
22183 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
22184 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
22185 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
22186 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
22187 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
22188 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
22189 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
22190 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
22191 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
22192 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
22193 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
22194 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
22195 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
22196 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
22197 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
22198 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
22199 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
22200 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
22201 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
22202 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
22203 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
22204 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
22205 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
22206 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
22207 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
22208 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
22209 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
22210 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
22211 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
22212 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
22213 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
22214 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
22215 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
22216 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
22217 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
22218 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
22219 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
22220 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
22221 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
22222 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
22223 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
22224 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
22225 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
22226 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
22227 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
22228 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
22229 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
22230 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
22231 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22232 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
22233 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
22234 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
22235 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
22236 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
22237 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
22238 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
22239 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
22240 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
22241 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
22242 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
22243 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
22244 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
22245 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
22246 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
22247 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
22248 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
22249 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
22250 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
22251 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
22252 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
22253 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
22254 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
22255 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
22256 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
22257 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
22258 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
22259 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
22260 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
22261 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
22262 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
22263 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
22264 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
22265 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
22266 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
22267 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
22268 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22269 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
22270 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
22271 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22272 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
22273 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22274 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
22275 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22276 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
22277 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
22278 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
22279 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
22280 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
22281 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
22282 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
22283 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
22284 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
22285 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
22286 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
22287 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
22288 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
22289 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
22290 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
22291 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
22292 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
22293 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
22294 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
22295 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
22296 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
22297 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
22298 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
22299 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
22300 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
22301 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
22302 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
22303 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
22304 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
22305 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
22306 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
22307 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
22308 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
22309 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
22310 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
22311 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
22312 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
22313 * sysdeps/ieee754/s_lib_version.c: Likewise.
22314 * sysdeps/ieee754/s_matherr.c: Likewise.
22315 * sysdeps/ieee754/s_signgam.c: Likewise.
22316 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22317 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22318 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
22319 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
22320 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
22321 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
22322 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
22323 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
22324 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
22325 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
22326 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
22327 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
22328 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
22329 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
22330 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
22331 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
22332 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22333 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
22334 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22335 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
22336 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 22337
1991fa03
JM
223382012-03-09 Joseph Myers <joseph@codesourcery.com>
22339
22340 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
22341 * sunrpc/rpc_main.c: Likewise.
22342 * sunrpc/rpc_svcout.c: Likewise.
22343
60d6f5a6
DM
223442012-03-09 David S. Miller <davem@davemloft.net>
22345
22346 * include/math_private.h: New file.
22347
4962050e
JM
223482012-03-09 Joseph Myers <joseph@codesourcery.com>
22349
02a6f887
JM
22350 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
22351 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
22352 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
22353 from <bits/socket_type.h>.
22354 (enum __socket_type): Don't define here.
22355 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
22356 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22357 bits/socket_type.h.
22358
c6e013c1
JM
22359 [BZ #13566]
22360 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
22361 checking __USE_GNU.
22362
4962050e
JM
22363 * Makerules ($(inst_includedir)/%.h): New rule.
22364 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
22365 (install-others): Remove variable setting.
22366 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
22367
38842f45
RH
223682012-03-08 Richard Henderson <rth@twiddle.net>
22369
67bb6da6
RH
22370 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
22371 from macro to inline function; merge with the
22372 !__LIBC_INTERNAL_MATH_INLINES version.
22373 (__ieee754_sqrtf): Likewise.
22374
15194b4b
RH
22375 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
22376 to inline function.
22377 (__rintf, __floor, __floorf): Likewise.
22378
64e21ede
RH
22379 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
22380 macro to inline function.
22381 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
22382
38842f45
RH
22383 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
22384 not <math/math_private.h>.
22385
c64bf5fe
DM
223862012-03-08 David S. Miller <davem@davemloft.net>
22387
22388 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
22389 copyright year.
22390 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
22391
82d86f28
TS
223922012-03-08 Thomas Schwinge <thomas@codesourcery.com>
22393
22394 * resolv/gai_misc.c (handle_requests): Fix struct timespec
22395 normalization.
22396 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
22397 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
22398
aea5d727
UD
223992012-03-08 Ulrich Drepper <drepper@gmail.com>
22400
22401 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
22402 be defined individually, they must be defined as a block. Define
22403 S for printing a string instead of hidint the different by using a
22404 macro for adding the 'l'.
22405 * stdio-common/tst-fphex-wide.c: Adjust.
22406
70bca0a3
MP
224072012-03-07 Marek Polacek <polacek@redhat.com>
22408
22409 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
22410
65b81130
MP
224112012-03-08 Marek Polacek <polacek@redhat.com>
22412
22413 [BZ #13806]
22414 * stdio-common/Makefile (tests): Add tst-fphex-wide.
22415 * stdio-common/tst-fphex.c: Define a few macros to make the
22416 test reusable. Use them.
22417 * stdio-common/tst-fphex-wide.c: New file.
22418
07037eeb
JM
224192012-03-08 Joseph Myers <joseph@codesourcery.com>
22420
a7a93d50
JM
22421 [BZ #6911]
22422 * manual/macros.texi (gnusystems): New macro.
22423 (nongnusystems): Likewise.
22424 (gnulinuxhurdsystems): Likewise.
22425 (gnuhurdsystems): Likewise..
22426 (gnulinuxsystems): Likewise.
22427 * manual/charset.texi: Use new macros or @theglibc{} to refer to
22428 variants of the GNU system, not "GNU system".
22429 * manual/conf.texi: Likewise.
22430 * manual/errno.texi: Likewise. Update example of errno macro
22431 expansion.
22432 * manual/filesys.texi: Likewise.
22433 (getumask): Document as specific to GNU/Hurd.
22434 * manual/install.texi: Likewise. Reword some references to
22435 GNU/Linux.
22436 * manual/intro.texi: Likewise.
22437 * manual/io.texi: Likewise.
22438 (File Name Portability): Detail which constraints are inapplicable
22439 to all GNU systems and which are only inapplicable to GNU/Hurd.
22440 * manual/job.texi: Likewise.
22441 * manual/llio.texi: Likewise.
22442 (O_NOCTTY): Document as present on GNU/Linux.
22443 * manual/maint.texi: Likewise.
22444 * manual/memory.texi: Likewise.
22445 * manual/pattern.texi: Likewise.
22446 * manual/pipe.texi: Likewise.
22447 * manual/process.texi: Likewise.
22448 * manual/resource.texi: Likewise.
22449 (RUSAGE_CHILDREN): Remove statement about specifying a particular
22450 child on GNU/Hurd.
22451 * manual/setjmp.texi: Likewise.
22452 * manual/signal.texi: Likewise.
22453 * manual/startup.texi: Likewise.
22454 * manual/stdio.texi: Likewise.
22455 * manual/terminal.texi: Likewise.
22456 (ONLCR): Document as POSIX.
22457 (OXTABS): Document availability on GNU/Linux as XTABS.
22458 (ONOEOT): Document availability separately from other bits.
22459 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
22460 * manual/time.texi: Likewise.
22461 * manual/users.texi: Likewise.
22462 * INSTALL: Regenerated.
22463 * sysdeps/gnu/errlist.c: Regenerated.
22464
07037eeb
JM
22465 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
22466 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
22467 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
22468 puts.
22469 * configure: Regenerated.
22470
d1d3431a
JM
224712012-03-07 Joseph Myers <joseph@codesourcery.com>
22472
af6a1e37
JM
22473 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
22474 default includes instead of AC_HEADER_CHECK.
22475 * sysdeps/i386/configure: Regenerated.
22476
d1d3431a
JM
22477 [BZ #10716]
22478 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
22479 * math/s_cacoshf.c (__cacoshf): Likewise.
22480 * math/s_cacoshl.c (__cacoshl): Likewise.
22481 * math/s_casinh.c (__casinh): Set signs of result from argument.
22482 * math/s_casinhf.c (__casinhf): Likewise.
22483 * math/s_casinhl.c (__casinhl): Likewise.
22484 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
22485 (casinh_test): Add more tests.
22486 * sysdeps/i386/fpu/libm-test-ulps: Update.
22487 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22488
482ff4da
UD
224892012-03-07 Ulrich Drepper <drepper@gmail.com>
22490
872fda05
UD
22491 * po/zh_TW.po: Update from translation team.
22492
a4300c7a
UD
22493 * login/Makefile (distribute): Remove variable.
22494 * catgets/Makefile: Likewise.
22495 * mach/Makefile: Likewise.
22496 * malloc/Makefile: Likewise.
22497 * misc/Makefile: Likewise.
22498 * iconv/Makefile: Likewise.
22499 * nscd/Makefile: Likewise.
22500 * hurd/Makefile: Likewise.
22501 * manual/Makefile: Likewise.
22502 * locale/Makefile: Likewise.
22503 * intl/Makefile: Likewise.
22504 * conform/Makefile: Likewise.
22505 * nss/Makefile: Likewise.
22506 * time/Makefile: Likewise.
22507 * soft-fp/Makefile: Likewise.
22508 * dirent/Makefile: Likewise.
22509 * gmon/Makefile: Likewise.
22510 * po/Makefile: Likewise.
22511 * rt/Makefile: Likewise.
22512 * socket/Makefile: Likewise.
22513 * math/Makefile: Likewise.
22514 * signal/Makefile: Likewise.
22515 * debug/Makefile: Likewise.
22516 * elf/Makefile: Likewise.
22517 * timezone/Makefile: Likewise.
22518 * stdlib/Makefile: Likewise.
22519 * iconvdata/Makefile: Likewise.
22520 * sunrpc/Makefile: Likewise.
22521 * io/Makefile: Likewise.
22522 * argp/Makefile: Likewise.
22523 * inet/Makefile: Likewise.
22524 * hesiod/Makefile: Likewise.
22525 * grp/Makefile: Likewise.
22526 * csu/Makefile: Likewise.
22527 * wctype/Makefile: Likewise.
22528 * crypt/Makefile: Likewise.
22529 * libio/Makefile: Likewise.
22530 * string/Makefile: Likewise.
22531 * nis/Makefile: Likewise.
22532 * resolv/Makefile: Likewise.
22533 * stdio-common/Makefile: Likewise.
22534 * wcsmbs/Makefile: Likewise.
22535 * dlfcn/Makefile: Likewise.
22536 * posix/Makefile: Likewise.
22537
3b7c4e74 22538 [BZ #6959]
482ff4da
UD
22539 * timezone/Makefile: Don't install timezone files, just the programs
22540 and scripts.
22541
f72ed77d
UD
225422012-03-06 Ulrich Drepper <drepper@gmail.com>
22543
a000466f
UD
22544 * nss/databases.def: Add missing gshadow entry.
22545
f72ed77d
UD
22546 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
22547
a53b7a4e
MP
225482012-03-06 Marek Polacek <polacek@redhat.com>
22549
22550 [BZ #13726]
22551 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
22552 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
22553 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
22554 * stdio-common/tst-long-dbl-fphex.c: New file.
22555
e9258400
DM
225562012-03-06 David S. Miller <davem@davemloft.net>
22557
22558 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22559 (set_obp_int): New function.
22560 (get_obp_int): New function.
22561 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
22562 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
22563 Avoid unused variable warnings on 'val' and use builtin_expect.
22564 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
22565 __builtin_expect.
e9258400
DM
22566 (INLINE_CLONE_SYSCALL): Likewise.
22567
3bd2c723
DM
225682012-03-05 David S. Miller <davem@davemloft.net>
22569
22570 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22571
bbb78d03
AS
225722012-03-05 Andreas Schwab <schwab@linux-m68k.org>
22573
884c5db4
AS
22574 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22575
bbb78d03
AS
22576 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
22577 only for |x| >= 40.
22578 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22579
1c9f702a 225802012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
22581
22582 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
22583 Replace gettimeofday with __vdso_gettimeofday.
22584
7be16f82
RM
22585 * sysdeps/unix/sysv/linux/x86_64/init-first.c
22586 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
22587 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
22588
22589 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
22590 time with __vdso_time.
22591
ed58a00f
JM
225922012-03-05 Joseph Myers <joseph@codesourcery.com>
22593
22594 * manual/lang.texi (size_t): Note types to which size_t may be
22595 equivalent with the GNU C Library, but do not describe when
22596 differences between them are significant.
22597
30ee4ced
AJ
225982012-03-05 Andreas Jaeger <aj@suse.de>
22599
22600 * sysdeps/i386/fpu/libm-test-ulps: Update.
22601
b7cd39e8
JM
226022012-03-05 Joseph Myers <joseph@codesourcery.com>
22603
22604 [BZ #3976]
22605 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
22606 (__ieee754_pow): Save and restore rounding mode and use
22607 round-to-nearest for main computations.
22608 * math/libm-test.inc (pow_test_tonearest): New function.
22609 (pow_test_towardzero): Likewise.
22610 (pow_test_downward): Likewise.
22611 (pow_test_upward): Likewise.
22612 (main): Call the new functions.
22613 * sysdeps/i386/fpu/libm-test-ulps: Update.
22614 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
22615
22616 [BZ #3976]
22617 * math/libm-test.inc (cosh_test_tonearest): New function.
22618 (cosh_test_towardzero): Likewise.
22619 (cosh_test_downward): Likewise.
22620 (cosh_test_upward): Likewise.
22621 (sinh_test_tonearest): Likewise.
22622 (sinh_test_towardzero): Likewise.
22623 (sinh_test_downward): Likewise.
22624 (sinh_test_upward): Likewise.
22625 (main): Call the new functions.
22626 * sysdeps/i386/fpu/libm-test-ulps: Update.
22627 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22628
6c6a98c9
TV
226292012-03-05 Tom de Vries <tom@codesourcery.com>
22630
22631 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
22632 default stack guard is set in last bytes.
22633 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
22634
21bb2d2e 226352012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 22636
21bb2d2e 22637 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 22638
21bb2d2e
AJ
22639 [BZ #13656]
22640 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
22641 possibly allocate from heap instead of stack.
22642 * stdio-common/bug-vfprintf-nargs.c: New file.
22643 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 22644
c6922934
AS
226452012-03-03 Andreas Schwab <schwab@linux-m68k.org>
22646
22647 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22648
bc957d53
MP
226492012-03-03 Marek Polacek <polacek@redhat.com>
22650
22651 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
22652 * math/math_private.h: Likewise.
22653 * stdlib/tst-strtod.c: Likewise.
22654 * sysdeps/i386/i486/bits/atomic.h: Likewise.
22655 * sysdeps/x86_64/bits/atomic.h: Likewise.
22656
6358490d
DM
226572012-03-02 David S. Miller <davem@davemloft.net>
22658
22659 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
22660 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
22661 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
22662 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
22663 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
22664 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
22665 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
22666 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
22667
01ae168d
RM
226682012-03-02 Roland McGrath <roland@hack.frob.com>
22669
d9a17c07
RM
22670 [BZ #13792]
22671 * manual/examples/README: New file, says the example source files
22672 can be used under GPL>=2.
22673 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
22674 line containing just "*/".
22675 * manual/examples/add.c: Add copyright header (GPL>=2).
22676 * manual/examples/argp-ex1.c: Likewise.
22677 * manual/examples/argp-ex2.c: Likewise.
22678 * manual/examples/argp-ex3.c: Likewise.
22679 * manual/examples/argp-ex4.c: Likewise.
22680 * manual/examples/atexit.c: Likewise.
22681 * manual/examples/db.c: Likewise.
22682 * manual/examples/dir.c: Likewise.
22683 * manual/examples/dir2.c: Likewise.
22684 * manual/examples/execinfo.c: Likewise.
22685 * manual/examples/filecli.c: Likewise.
22686 * manual/examples/filesrv.c: Likewise.
22687 * manual/examples/fmtmsgexpl.c: Likewise.
22688 * manual/examples/genpass.c: Likewise.
22689 * manual/examples/inetcli.c: Likewise.
22690 * manual/examples/inetsrv.c: Likewise.
22691 * manual/examples/isockad.c: Likewise.
22692 * manual/examples/longopt.c: Likewise.
22693 * manual/examples/memopen.c: Likewise.
22694 * manual/examples/memstrm.c: Likewise.
22695 * manual/examples/mkfsock.c: Likewise.
22696 * manual/examples/mkisock.c: Likewise.
22697 * manual/examples/mygetpass.c: Likewise.
22698 * manual/examples/pipe.c: Likewise.
22699 * manual/examples/popen.c: Likewise.
22700 * manual/examples/rprintf.c: Likewise.
22701 * manual/examples/search.c: Likewise.
22702 * manual/examples/select.c: Likewise.
22703 * manual/examples/setjmp.c: Likewise.
22704 * manual/examples/sigh1.c: Likewise.
22705 * manual/examples/sigusr.c: Likewise.
22706 * manual/examples/stpcpy.c: Likewise.
22707 * manual/examples/strdupa.c: Likewise.
22708 * manual/examples/strftim.c: Likewise.
22709 * manual/examples/strncat.c: Likewise.
22710 * manual/examples/subopt.c: Likewise.
22711 * manual/examples/swapcontext.c: Likewise.
22712 * manual/examples/termios.c: Likewise.
22713 * manual/examples/testopt.c: Likewise.
22714 * manual/examples/testpass.c: Likewise.
22715 * manual/examples/timeval_subtract.c: Likewise.
22716
01ae168d
RM
22717 [BZ #13792]
22718 * manual/time.texi (Elapsed Time): Move timeval_subtract example
22719 function to ...
22720 * manual/timeval_subtract.c.texi: ... here, new file.
22721
49efa33d
DM
227222012-03-02 David S. Miller <davem@davemloft.net>
22723
22724 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
22725
28afd92d
JM
227262012-03-02 Joseph Myers <joseph@codesourcery.com>
22727
804360ed
JM
22728 [BZ #3976]
22729 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
22730 (__sin): Save and restore rounding mode and use round-to-nearest
22731 for all computations.
22732 (__cos): Save and restore rounding mode and use round-to-nearest
22733 for all computations.
22734 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
22735 <fenv.h>.
22736 (tan): Save and restore rounding mode and use round-to-nearest for
22737 all computations.
22738 * math/libm-test.inc (cos_test_tonearest): New function.
22739 (cos_test_towardzero): Likewise.
22740 (cos_test_downward): Likewise.
22741 (cos_test_upward): Likewise.
22742 (sin_test_tonearest): Likewise.
22743 (sin_test_towardzero): Likewise.
22744 (sin_test_downward): Likewise.
22745 (sin_test_upward): Likewise.
22746 (tan_test_tonearest): Likewise.
22747 (tan_test_towardzero): Likewise.
22748 (tan_test_downward): Likewise.
22749 (tan_test_upward): Likewise.
22750 (main): Call the new functions.
22751 * sysdeps/i386/fpu/libm-test-ulps: Update.
22752 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22753
a6d06d7b
JM
22754 [BZ #10135]
22755 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
22756 small n, then large n, before computing and testing k+n.
22757 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
22758 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
22759 Likewise.
22760 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
22761 Likewise.
22762 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
22763 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
22764 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
22765 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
22766 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
22767 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
22768 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
22769 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
22770 * math/libm-test.inc (scalbn_test): Add more tests.
22771 (scalbln_test): Likewise.
22772
07e12bb3
JM
22773 * manual/filesys.texi (mode_t): Describe constraints on size and
22774 signedness, not exact equivalence to a particular type.
22775 (ino_t): Likewise.
22776 (ino64_t): Likewise.
22777 (dev_t): Likewise.
22778 (nlink_t): Likewise.
22779 (blkcnt_t): Likewise.
22780 (blkcnt64_t): Likewise.
22781 * manual/llio.texi (off_t): Likewise.
22782
28afd92d
JM
22783 [BZ #3976]
22784 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
22785 (__ieee754_exp): Save and restore rounding mode and use
22786 round-to-nearest for all computations.
22787 * math/libm-test.inc (exp_test_tonearest): New function.
22788 (exp_test_towardzero): Likewise.
22789 (exp_test_downward): Likewise.
22790 (exp_test_upward): Likewise.
22791 (main): Call the new functions.
22792 * sysdeps/i386/fpu/libm-test-ulps: Update.
22793 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22794
b1eeb65d
CD
227952012-03-01 Chris Demetriou <cgd@google.com>
22796
22797 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
22798 have predictable order.
22799
53362a4b
DM
228002012-03-01 David S. Miller <davem@davemloft.net>
22801
3c969083
DM
22802 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
22803
759707de
DM
22804 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
22805 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
22806 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
22807 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
22808
dfdb8ff2
DM
22809 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
22810 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
22811 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
22812 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
22813 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
22814 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
22815 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
22816 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
22817 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
22818
ead89f96
DM
22819 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22820
7f66bd07
DM
22821 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
22822 * sysdeps/sparc/fpu/libm-test-ulps: to here.
22823 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
22824
53362a4b
DM
22825 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
22826 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
22827 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
22828 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
22829 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
22830 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
22831 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
22832 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
22833 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
22834 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
22835 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
22836 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
22837 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
22838 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
22839 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
22840 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22841 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
22842 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
22843 * sysdeps/sparc/elf/configure: Regenerated.
22844
7b1902cb
JM
228452012-03-01 Joseph Myers <joseph@codesourcery.com>
22846
bec039bc
JM
22847 * configure.in (AS, LD): Require binutils 2.20 or later.
22848 * configure: Regenerated.
22849 * manual/install.texi (Tools for Compilation): Give binutils 2.20
22850 as required minimum version.
22851 * INSTALL: Regenerated.
22852
7b1902cb
JM
22853 [BZ #2541]
22854 [BZ #4108]
22855 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
22856 before squaring exponent.
22857 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
22858 bottom long double and 27 bits of top long double before squaring
22859 exponent.
22860 * math/libm-test.inc (erfc_test): Add more tests.
22861 * sysdeps/i386/fpu/libm-test-ulps: Update.
22862 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22863 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22864
f775c276
KT
228652012-03-01 Kai Tietz <ktietz@redhat.com>
22866
22867 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
22868 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
22869 containing bit-fields.
22870 * soft-fp/extended.h (_FP_UNION_E): Likewise.
22871 * soft-fp/single.h (_FP_UNION_S): Likewise.
22872 * soft-fp/double.h (_FP_UNION_D): Likewise.
22873
5b8a4d4a
JM
228742012-02-29 Joseph Myers <joseph@codesourcery.com>
22875
0bab47b6
JM
22876 [BZ #13786]
22877 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
22878 not include ../strcmp.S.
22879 [USE_AS_STRNCASECMP_L]: Likewise.
22880 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
22881 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
22882 * sysdeps/i386/i686/multiarch/strncase_l-c.c
22883 (__strncasecmp_l_ia32): Define as alias to
22884 __strncasecmp_l_nonascii.
22885
0fcad3e2
JM
22886 [BZ #5794]
22887 * math/libm-test.inc (expm1_test): Add test for bug 5794.
22888 * sysdeps/i386/fpu/libm-test-ulps: Update.
22889 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22890
5b8a4d4a
JM
22891 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
22892 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22893
8fdceb2e
JL
228942012-02-29 Jeff Law <law@redhat.com>
22895
22896 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
22897 out of bounds read.
22898
1f393a11
MP
228992012-02-29 Marek Polacek <polacek@redhat.com>
22900
22901 [BZ #13706]
22902 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
22903 * elf/Makefile: Add rules to run tst-unused-dep.out.
22904
8847f037
DM
229052012-02-28 David S. Miller <davem@davemloft.net>
22906
22907 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
22908 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
22909 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
22910 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
22911 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
22912 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
22913
169d7f11
JM
229142012-02-29 Joseph Myers <joseph@codesourcery.com>
22915
22916 * math/libm-test.inc (llround_test): Move one test from
22917 lround_test. Use TEST_f_L in moved test.
22918 (lround_test): Move misplaced test to llround_test. Add testcase
22919 from bug 2561.
22920
39adf059
UD
229212012-02-28 Ulrich Drepper <drepper@gmail.com>
22922
22923 * sysdeps/x86_64/fpu/e_expf.S: New file.
22924 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
22925
71b5d1c5
SB
229262012-02-28 Stanislav Brabec <sbrabec@suse.cz>
22927
22928 [BZ #13637]
22929 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
22930 of remain_len that may cause incomplete multi-byte character and
22931 false match.
22932 * posix/bug-regex33.c: New file.
22933 * posix/Makefile (tests): Add bug-regex33.
22934
1f77f049
JM
229352012-02-28 Joseph Myers <joseph@codesourcery.com>
22936
22937 * manual/macros.texi: New file.
22938 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
22939 * manual/libc.texinfo: Include macros.texi.
22940 * manual/creatute.texi: Likewise.
22941 * manual/install.texi: Likewise.
22942 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
22943 @glibcadj{} in references to the GNU C Library.
22944 * manual/charset.texi: Likewise.
22945 * manual/conf.texi: Likewise.
22946 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
22947 when not using those macros.
22948 * manual/creature.texi: Likewise.
22949 * manual/crypt.texi: Likewise.
22950 * manual/errno.texi: Likewise.
22951 * manual/filesys.texi: Likewise.
22952 * manual/header.texi: Likewise.
22953 * manual/install.texi: Likewise.
22954 * manual/intro.texi: Likewise.
22955 * manual/io.texi: Likewise.
22956 * manual/job.texi: Likewise.
22957 * manual/lang.texi: Likewise.
22958 * manual/libc.texiinfo: Likewise.
22959 * manual/llio.texi: Likewise.
22960 * manual/locale.texi: Likewise.
22961 * manual/maint.texi: Likewise.
22962 * manual/math.texi: Likewise.
22963 * manual/memory.texi: Likewise.
22964 * manual/message.texi: Likewise.
22965 * manual/nss.texi: Likewise.
22966 * manual/pattern.texi: Likewise.
22967 * manual/process.texi: Likewise.
22968 * manual/resource.texi: Likewise.
22969 * manual/search.texi: Likewise.
22970 * manual/setjmp.texi: Likewise.
22971 * manual/signal.texi: Likewise.
22972 * manual/socket.texi: Likewise.
22973 * manual/startup.texi: Likewise.
22974 * manual/stdio.texi: Likewise.
22975 * manual/string.texi: Likewise.
22976 * manual/sysinfo.texi: Likewise.
22977 * manual/syslog.texi: Likewise.
22978 * manual/terminal.texi: Likewise.
22979 * manual/time.texi: Likewise.
22980 * manual/users.texi: Likewise.
22981 * INSTALL: Regenerated.
22982 * NOTES: Regenerated.
d40c5d54 22983 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 22984
450bf206
AS
229852012-02-28 Andreas Schwab <schwab@linux-m68k.org>
22986
22987 * include/dirent.h: Include <dirstream.h> before
22988 <dirent/dirent.h>.
22989
741a235b
DM
229902012-02-28 David S. Miller <davem@davemloft.net>
22991
22992 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
22993 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
22994 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
22995 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
22996
d6b5aa58
DM
229972012-02-27 David S. Miller <davem@davemloft.net>
22998
1aff59a3
DM
22999 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
23000 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
23001 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
23002 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
23003
d6b5aa58
DM
23004 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
23005 frame pointer instead of stack pointer relative arg slot.
23006 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
23007 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
23008 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
23009
433f48bf
CD
230102012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
23011
23012 [BZ #3992]
23013 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
23014
d674b76d
DM
230152012-02-27 David S. Miller <davem@davemloft.net>
23016
23017 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
23018 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
23019 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
23020 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
23021 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
23022 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
23023 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
23024 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
23025
0e7727f7
JM
230262012-02-27 Joseph Myers <joseph@codesourcery.com>
23027
23028 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
23029 later. Allow versions 5-9.
43be4ca2 23030 * configure: Regenerated.
0e7727f7
JM
23031 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
23032 required minimum version and 4.6 as recommended version. Do not
23033 mention bugs in GCC 2.7 and 2.8.
43be4ca2 23034 * INSTALL: Regenerated.
0e7727f7 23035
a78bc654
DM
230362012-02-27 David S. Miller <davem@davemloft.net>
23037
428d5830
DM
23038 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
23039 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
23040 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
23041 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
23042 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
23043 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
23044 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
23045 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
23046
a78bc654
DM
23047 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
23048 manipulate bits before adding and subtracting TWO112[sx].
23049 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
23050
4579f81c
RM
230512012-02-27 Roland McGrath <roland@hack.frob.com>
23052
36c8acb4
RM
23053 [BZ #13775]
23054 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
23055 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
23056 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
23057 being in POSIX, because they are in 1003.1-2008.
23058
84ad622b
RM
23059 * rt/tst-aio.c: Include <fcntl.h>.
23060 * rt/tst-aio7.c: Likewise.
23061 * rt/tst-aio64.c: Likewise.
23062
4579f81c
RM
23063 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
23064
abd923db
JM
230652012-02-27 Joseph Myers <joseph@codesourcery.com>
23066
23067 * manual/install.texi (--with-headers): Describe headers as
23068 interface headers, not private headers.
23069 (Specific advice for GNU/Linux systems): Describe use of headers
23070 from "make headers_install", not private headers from older
23071 kernels.
43be4ca2 23072 * INSTALL: Regenerated.
abd923db
JM
23073 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
23074 Change to 2.6.19.
23075 * sysdeps/unix/sysv/linux/configure: Regenerated.
23076
6664049b
JM
23077 * manual/llio.texi (fclean): Remove documentation.
23078
bb8b6697
JM
23079 * manual/Makefile (libc-texi-generated): New variable. Include
23080 version.texi.
23081 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
23082 $(libc-texi-generated), not duplicated list of files.
23083 (version.texi, stamp-version): New rules.
23084 (realclean): Remove $(libc-texi-generated), not individual files
23085 from that list. Do not remove dir-add.texinfo.
23086 * manual/libc.texinfo: Comment out uses of edition numbers and
23087 references to printed manual. Remove last-updated dates.
23088 (EDITION): Comment out.
23089 (ISBN): Likewise.
23090 (VERSION, UPDATED): Remove.
23091 (version.texi): Include.
23092
12e5c3b9
AS
230932012-02-27 Andreas Schwab <schwab@linux-m68k.org>
23094
23095 * sysdeps/posix/spawni.c: Include <signal.h>.
23096 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
23097 * sysdeps/pthread/aio_fsync.c: Likewise.
23098
4efeffc1 230992012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 23100
ba63ba08
UD
23101 * conform/Makefile (tests): Run only when not cross-compiling and
23102 when fast-check is not defined.
23103
d94a4670
UD
23104 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
23105 * conform/data/limits.h-data: Fixes for POSIX2008.
23106 * conform/run-conformtest.sh: Run all tests.
23107 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
23108 headers.
23109 * include/bits/dlfcn.h: Likewise.
23110 * include/langinfo.h: Likewise.
23111 * include/monetary.h: Likewise.
23112 * include/sys/poll.h: Likewise.
23113
23114 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
23115 for __USE_GNU.
23116 * posix/spawn.h: Define __need_sigset_t.
23117 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
23118 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
23119 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
23120 to get sigevent_t only.
23121 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
23122 only for __USE_GNU.
23123 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23124 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
23125 process_vm_writev only for __USE_GNU.
23126 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
23127
23128 * conform/Makefile: For now ignore errors from run-conformtest.
23129 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
23130 POSIX to avoid namespace pollution. Don't prepend headers.
23131 * conform/data/aio.h-data: Fixes for POSIX testing.
23132 * conform/data/fcntl.h-data: Likewise.
23133 * conform/data/glob.h-data: Likewise.
23134 * conform/data/grp.h-data: Likewise.
23135 * conform/data/pthread.h-data: Likewise.
23136 * conform/data/pwd.h-data: Likewise.
23137 * conform/data/signal.h-data: Likewise.
23138 * conform/data/spawn.h-data: Likewise.
23139 * conform/data/stdio.h-data: Likewise.
23140 * conform/data/stdlib.h-data: Likewise.
23141 * conform/data/stropts.h-data: Likewise.
23142 * conform/data/sys/mman.h-data: Likewise.
23143 * conform/data/sys/stat.h-data: Likewise.
23144 * conform/data/sys/types.h-data: Likewise.
23145 * conform/data/sys/wait.h-data: Likewise.
23146 * conform/data/time.h-data: Likewise.
23147 * conform/data/unistd.h-data: Likewise.
23148 * conform/data/utime.h-data: Likewise.
23149
23150 * io/sys/stat.h: fchmod was always in POSIX.
23151 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
23152 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
23153 * rt/aio.h: Define __need_timespec before including <time.h>.
23154 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
23155 struct. Add forward declaration of pthread_attr_t and use it in
23156 sigevent.
23157 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
23158 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
23159 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
23160 always remove CLK_TCK definition.
23161
c20105c3
AS
231622012-02-26 Andreas Schwab <schwab@linux-m68k.org>
23163
23164 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
23165
7a270350
UD
231662012-02-25 Ulrich Drepper <drepper@gmail.com>
23167
31341567
UD
23168 * conform/run-conformtest.sh: New file.
23169 * conform/Makefile: Run run-conformtest for tests.
23170 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
23171 support.
23172
23173 * conform/data/uchar.h-data: New file.
23174 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
23175 * conform/data/arpa/inet.h-data: Likewise.
23176 * conform/data/assert.h-data: Likewise.
23177 * conform/data/complex.h-data: Likewise.
23178 * conform/data/cpio.h-data: Likewise.
23179 * conform/data/ctype.h-data: Likewise.
23180 * conform/data/dirent.h-data: Likewise.
23181 * conform/data/dlfcn.h-data: Likewise.
23182 * conform/data/errno.h-data: Likewise.
23183 * conform/data/fcntl.h-data: Likewise.
23184 * conform/data/float.h-data: Likewise.
23185 * conform/data/fmtmsg.h-data: Likewise.
23186 * conform/data/fnmatch.h-data: Likewise.
23187 * conform/data/ftw.h-data: Likewise.
23188 * conform/data/glob.h-data: Likewise.
23189 * conform/data/grp.h-data: Likewise.
23190 * conform/data/iconv.h-data: Likewise.
23191 * conform/data/inttypes.h-data: Likewise.
23192 * conform/data/langinfo.h-data: Likewise.
23193 * conform/data/libgen.h-data: Likewise.
23194 * conform/data/limits.h-data: Likewise.
23195 * conform/data/locale.h-data: Likewise.
23196 * conform/data/math.h-data: Likewise.
23197 * conform/data/monetary.h-data: Likewise.
23198 * conform/data/mqueue.h-data: Likewise.
23199 * conform/data/ndbm.h-data: Likewise.
23200 * conform/data/net/if.h-data: Likewise.
23201 * conform/data/netdb.h-data: Likewise.
23202 * conform/data/netinet/in.h-data: Likewise.
23203 * conform/data/nl_types.h-data: Likewise.
23204 * conform/data/poll.h-data: Likewise.
23205 * conform/data/pthread.h-data: Likewise.
23206 * conform/data/pwd.h-data: Likewise.
23207 * conform/data/regex.h-data: Likewise.
23208 * conform/data/sched.h-data: Likewise.
23209 * conform/data/search.h-data: Likewise.
23210 * conform/data/semaphore.h-data: Likewise.
23211 * conform/data/setjmp.h-data: Likewise.
23212 * conform/data/signal.h-data: Likewise.
23213 * conform/data/spawn.h-data: Likewise.
23214 * conform/data/stdarg.h-data: Likewise.
23215 * conform/data/stdio.h-data: Likewise.
23216 * conform/data/stdlib.h-data: Likewise.
23217 * conform/data/string.h-data: Likewise.
23218 * conform/data/strings.h-data: Likewise.
23219 * conform/data/stropts.h-data: Likewise.
23220 * conform/data/sys/ipc.h-data: Likewise.
23221 * conform/data/sys/mman.h-data: Likewise.
23222 * conform/data/sys/msg.h-data: Likewise.
23223 * conform/data/sys/resource.h-data: Likewise.
23224 * conform/data/sys/select.h-data: Likewise.
23225 * conform/data/sys/sem.h-data: Likewise.
23226 * conform/data/sys/shm.h-data: Likewise.
23227 * conform/data/sys/socket.h-data: Likewise.
23228 * conform/data/sys/stat.h-data: Likewise.
23229 * conform/data/sys/statvfs.h-data: Likewise.
23230 * conform/data/sys/time.h-data: Likewise.
23231 * conform/data/sys/timeb.h-data: Likewise.
23232 * conform/data/sys/times.h-data: Likewise.
23233 * conform/data/sys/types.h-data: Likewise.
23234 * conform/data/sys/uio.h-data: Likewise.
23235 * conform/data/sys/un.h-data: Likewise.
23236 * conform/data/sys/utsname.h-data: Likewise.
23237 * conform/data/sys/wait.h-data: Likewise.
23238 * conform/data/syslog.h-data: Likewise.
23239 * conform/data/tar.h-data: Likewise.
23240 * conform/data/termios.h-data: Likewise.
23241 * conform/data/utime.h-data: Likewise.
23242 * conform/data/utmpx.h-data: Likewise.
23243 * conform/data/varargs.h-data: Likewise.
23244 * conform/data/wchar.h-data: Likewise.
23245 * conform/data/wctype.h-data: Likewise.
23246 * conform/data/wordexp.h-data: Likewise.
23247
23248 * include/stropts.h: New file.
23249 * include/uchar.h: New file.
23250 * include/aio.h: Changes to allow conformtest.pl to use the headers.
23251 * include/assert.h: Likewise.
23252 * include/ctype.h: Likewise.
23253 * include/dirent.h: Likewise.
23254 * include/dlfcn.h: Likewise.
23255 * include/fcntl.h: Likewise.
23256 * include/fnmatch.h: Likewise.
23257 * include/glob.h: Likewise.
23258 * include/grp.h: Likewise.
23259 * include/libio.h: Likewise.
23260 * include/locale.h: Likewise.
23261 * include/math.h: Likewise.
23262 * include/net/if.h: Likewise.
23263 * include/netdb.h: Likewise.
23264 * include/netinet/in.h: Likewise.
23265 * include/pthread.h: Likewise.
23266 * include/pwd.h: Likewise.
23267 * include/regex.h: Likewise.
23268 * include/sched.h: Likewise.
23269 * include/search.h: Likewise.
23270 * include/setjmp.h: Likewise.
23271 * include/signal.h: Likewise.
23272 * include/stdio.h: Likewise.
23273 * include/stdlib.h: Likewise.
23274 * include/string.h: Likewise.
23275 * include/sys/cdefs.h: Likewise.
23276 * include/sys/mman.h: Likewise.
23277 * include/sys/msg.h: Likewise.
23278 * include/sys/resource.h: Likewise.
23279 * include/sys/select.h: Likewise.
23280 * include/sys/socket.h: Likewise.
23281 * include/sys/stat.h: Likewise.
23282 * include/sys/statvfs.h: Likewise.
23283 * include/sys/time.h: Likewise.
23284 * include/sys/times.h: Likewise.
23285 * include/sys/uio.h: Likewise.
23286 * include/sys/utsname.h: Likewise.
23287 * include/sys/wait.h: Likewise.
23288 * include/termios.h: Likewise.
23289 * include/time.h: Likewise.
23290 * include/ulimit.h: Likewise.
23291 * include/unistd.h: Likewise.
23292 * include/utime.h: Likewise.
23293 * include/wchar.h: Likewise.
23294 * include/wctype.h: Likewise.
23295 * include/wordexp.h: Likewise.
23296
23297 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
23298
7a270350
UD
23299 * time/time.h: TIME_UTC must be a macro.
23300 Make timespec_get available for ISO C11 only as well.
23301
7724defc
UD
233022012-02-24 Ulrich Drepper <drepper@gmail.com>
23303
23304 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
23305 Reported by Peng Haitao <penght@cn.fujitsu.com>.
23306
6b1d1d46
JM
233072012-02-24 Joseph Myers <joseph@codesourcery.com>
23308
23309 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 23310
0f8bbd69
JM
233112012-02-24 Joseph Myers <joseph@codesourcery.com>
23312
23313 * manual/texinfo.tex: Update to version 2012-01-19.16.
23314
66ab80bc
JM
233152012-02-24 Joseph Myers <joseph@codesourcery.com>
23316
23317 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
23318
74981cc5
RM
233192012-02-24 Roland McGrath <roland@hack.frob.com>
23320
ee968201
RM
23321 [BZ #13738]
23322 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
23323 * manual/fdl-1.3.texi: New file.
23324 * manual/fdl-1.1.texi: File removed.
23325
74981cc5
RM
23326 [BZ #13738]
23327 * manual/libc.texinfo (FDL_VERSION): New @set.
23328 Use it for mention of FDL in cover text.
23329 (Documentation License): Use it in @include file name.
23330
7bb764bc
JM
233312012-02-22 Joseph Myers <joseph@codesourcery.com>
23332 Roland McGrath <roland@hack.frob.com>
23333
23334 [BZ #5461]
23335 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
23336 not LONG_LONG_MAX and LONG_LONG_MIN.
23337 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
23338 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
23339 name.
23340 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
23341
6cbeae47
JM
233422012-02-22 Joseph Myers <joseph@codesourcery.com>
23343
23344 [BZ #2547]
23345 [BZ #11365]
23346 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
23347 manipulate bits before adding and subtracting TWO23[sx].
23348 * math/libm-test.inc (nearbyint_test): Add more tests.
23349
fe45ce09
JM
233502012-02-22 Joseph Myers <joseph@codesourcery.com>
23351
23352 [BZ #2548]
23353 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
23354 bits before adding and subtracting TWO23[sx].
23355 * math/libm-test.inc (rint_test): Add more tests.
23356 (rint_test_tonearest): Likewise.
23357 (rint_test_towardzero): Likewise.
23358 (rint_test_downward): Likewise.
23359 (rint_test_upward: Likewise.
23360
ff3b3d82
JM
233612012-02-22 Joseph Myers <joseph@codesourcery.com>
23362
23363 [BZ #10110]
23364 * include/stdc-predef.h: New file. Extracted from features.h.
23365 * include/features.h: Include stdc-predef.h.
23366 * Makefile (headers): Add stdc-predef.h.
23367 * CONFORMANCE (Compiler limitations): Update.
23368
ef0aab35
JM
233692012-02-22 Joseph Myers <joseph@codesourcery.com>
23370
23371 * manual/libc.texinfo (VERSION, UPDATED): Revert.
23372
58639409
DM
233732012-02-21 David S. Miller <davem@davemloft.net>
23374
23375 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
23376 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
23377
c0e70b25
DM
233782012-02-20 David S. Miller <davem@davemloft.net>
23379
23380 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
23381 using a normal save/restore sequence, rather than allocating a
23382 dummy stack frame just to store a frame pointer and restore.
23383 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23384
fb06851d
JM
233852012-02-21 Joseph Myers <joseph@codesourcery.com>
23386
23387 * manual/install.texi: Fix stray word in line-wrapped comment.
23388
7a8b71c3
DM
233892012-02-20 David S. Miller <davem@davemloft.net>
23390
d510c123
DM
23391 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
23392 both binutils and gcc support GOTDATA.
23393
0722d7c2
DM
23394 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
23395 "rd %pc" in the PIC register setup sequences.
23396
3d2b3019
DM
23397 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
23398 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
23399 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
23400 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
23401 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
23402 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
23403 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23404 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23405 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
23406 (SYSCALL_ERROR_HANDLER): Likewise.
23407 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
23408 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23409 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
23410 (SYSCALL_ERROR_HANDLER): Likewise.
23411
c80098a9
DM
23412 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
23413 (HAVE_GCC_GOTDATA): New.
23414 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
23415 relocation support in both binutils and gcc.
23416 * sysdeps/sparc/elf/configure: Regenerate.
23417
3a2545a0
DM
23418 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
23419 * sysdeps/sparc/sparc32/elf/configure: Delete.
23420 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
23421 * sysdeps/sparc/sparc64/elf/configure: Delete.
23422 * sysdeps/sparc/elf/configure.in: New file.
23423 * sysdeps/sparc/elf/configure: Generate.
23424
7a8b71c3
DM
23425 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
23426 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
23427 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
23428 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
23429 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
23430
f1e86fca
JM
234312012-02-21 Joseph Myers <joseph@codesourcery.com>
23432
23433 * manual/install.texi: Do not mention specific glibc version
23434 numbers.
23435 * manual/libc.texinfo (VERSION, UPDATED): Update.
23436 (@copying): Use @copyright{} and range of years.
23437
0e7dfaef
JM
234382012-02-21 Joseph Myers <joseph@codesourcery.com>
23439
23440 [BZ #13695]
23441 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
23442 [crti.S not in sysdirs] (generated): Do not append.
23443 [crti.S not in sysdirs] (omit-deps): Likewise.
23444 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
23445 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
23446 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
23447 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
23448 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
23449 Likewise.
23450 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
23451 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
23452 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
23453 * csu/defs.awk: Remove file.
23454 * sysdeps/generic/initfini.c: Likewise.
23455 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
23456 variable.
23457 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
23458 Likewise.
23459
599af3ca
JM
234602012-02-20 Joseph Myers <joseph@codesourcery.com>
23461
23462 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
23463 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
23464 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
23465 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
23466 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
23467 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
23468 <bits/epoll.h>.
23469 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
23470 (__EPOLL_PACKED): Define to empty if not defined by
23471 <bits/epoll.h>.
23472 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
23473 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23474 bits/epoll.h.
23475
0e499750
JM
234762012-02-20 Joseph Myers <joseph@codesourcery.com>
23477
23478 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
23479 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
23480 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
23481 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
23482 <bits/timerfd.h>.
23483 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
23484 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23485 bits/timerfd.h.
23486
5ad91f6e
JM
234872012-02-20 Joseph Myers <joseph@codesourcery.com>
23488
23489 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
23490 in C locale.
23491 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23492 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
23493 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
23494 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23495
06b99b02
AJ
234962012-02-20 Aurelien Jarno <aurelien@aurel32.net>
23497
23498 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23499 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
23500
7638c0fd
AS
235012012-02-19 Andreas Schwab <schwab@linux-m68k.org>
23502
23503 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
23504 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
23505 defined.
23506 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
23507 Likewise.
23508 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
23509 entry for 2.16.
23510
92221550
AJ
235112012-02-19 Aurelien Jarno <aurelien@aurel32.net>
23512
23513 * math/w_acos.c: Use non-signaling floating-point comparisons.
23514 * math/w_acosf.c: Likewise.
23515 * math/w_acosh.c: Likewise.
23516 * math/w_acoshf.c: Likewise.
23517 * math/w_acoshl.c: Likewise.
23518 * math/w_acosl.c: Likewise.
23519 * math/w_asin.c: Likewise.
23520 * math/w_asinf.c: Likewise.
23521 * math/w_asinl.c: Likewise.
23522 * math/w_atanh.c: Likewise.
23523 * math/w_atanhf.c: Likewise.
23524 * math/w_atanhl.c: Likewise.
23525 * math/w_exp2.c: Likewise.
23526 * math/w_exp2f.c: Likewise.
23527 * math/w_exp2l.c: Likewise.
23528 * math/w_j0.c: Likewise.
23529 * math/w_j0f.c: Likewise.
23530 * math/w_j0l.c: Likewise.
23531 * math/w_j1.c: Likewise.
23532 * math/w_j1f.c: Likewise.
23533 * math/w_j1l.c: Likewise.
23534 * math/w_jn.c: Likewise.
23535 * math/w_jnf.c: Likewise.
23536 * math/w_log.c: Likewise.
23537 * math/w_log10.c: Likewise.
23538 * math/w_log10f.c: Likewise.
23539 * math/w_log10l.c: Likewise.
23540 * math/w_log2.c: Likewise.
23541 * math/w_log2f.c: Likewise.
23542 * math/w_log2l.c: Likewise.
23543 * math/w_logf.c: Likewise.
23544 * math/w_logl.c: Likewise.
23545 * math/w_sqrt.c: Likewise.
23546 * math/w_sqrtf.c: Likewise.
23547 * math/w_sqrtl.c: Likewise.
23548 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23549 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
23550 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23551 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
23552 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
23553
ebaf36eb
JM
235542012-02-19 Joseph Myers <joseph@codesourcery.com>
23555
23556 [BZ #9739]
23557 * manual/string.texi (strnlen): Use correct parameter name in
23558 equivalent expression.
23559
71c254a6
JM
235602012-02-19 Joseph Myers <joseph@codesourcery.com>
23561
23562 [BZ #11174]
23563 * manual/users.texi (seteuid): Consistently use neweuid for
23564 argument name.
23565
16d2c631
JM
235662012-02-19 Joseph Myers <joseph@codesourcery.com>
23567
23568 [BZ #13704]
23569 * manual/nss.texi (Services in the NSS configuration): Correct
23570 list of services in example configuration file.
23571
cd837b09
NB
235722012-02-19 Nick Bowler <nbowler@draconx.ca>
23573
23574 [BZ #11322]
23575 * manual/arith.texi: Remove statements about negative zero
23576 behaving identically to zero.
23577
02c4bbad
JM
235782012-02-18 Joseph Myers <joseph@codesourcery.com>
23579
23580 [BZ #5993]
23581 * manual/install.texi: Do not document upgrading from libc5.
23582
366842e7
JM
235832012-02-18 Joseph Myers <joseph@codesourcery.com>
23584
23585 [BZ #4596]
23586 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
23587
dd54084d
DM
235882012-02-18 David S. Miller <davem@davemloft.net>
23589
23590 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
23591 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
23592 %o7 across the call.
23593 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
23594 instead.
23595 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
23596 SETUP_PIC_REG_LEAF.
23597 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23598 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
23599 * sysdeps/sparc/crtn.S: Likewise.
23600
2bcc53a3
UD
236012012-02-17 Ulrich Drepper <drepper@gmail.com>
23602
23603 * aout/Makefile: Remove.
23604
09c093b5
RK
236052012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
23606
23607 [BZ #13058]
23608 * manual/examples/argp-ex1.c (main): Format definition in GNU
23609 style.
23610 * manual/examples/argp-ex2.c (main): Likewise.
23611 * manual/examples/argp-ex3.c (main): Likewise.
23612 * manual/examples/argp-ex4.c (main): Likewise.
23613 * manual/examples/longopt.c (main): Use new-style prototype
23614 definition.
23615 * manual/examples/strncat.c (main): Specify return type and use
23616 (void) for arguments.
23617 * manual/examples/subopt.c (main): Use char **argv argument.
23618
2ee633a2
JM
236192012-02-17 Joseph Myers <joseph@codesourcery.com>
23620
23621 [BZ #5077]
23622 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
23623 rounding modes.
23624
0520adde
FB
236252012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
23626
23627 [BZ #6907]
23628 * manual/string.texi (strchr): Change when strchrnul is
23629 recommended.
23630
3f4081cd
DGM
236312012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
23632
23633 [BZ #174]
23634 * manual/locale.texi (setlocale): Document LOCPATH.
23635
d1b10e78
JM
236362012-02-17 Joseph Myers <joseph@codesourcery.com>
23637
23638 [BZ #10210]
23639 * manual/process.texi (execle): Move @dots{} before last argument.
23640
79c6869c
PB
236412012-02-17 Paul Bolle <pebolle@tiscali.nl>
23642
23643 [BZ #12047]
23644 * manual/charset.texi (Generic Charset Conversion): Fix typo
23645 (LC_TYPE -> LC_CTYPE).
23646
cc6e48bc
NB
236472012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
23648
23649 [BZ #5805]
23650 * manual/arith.texi (scalbn): Use @var{} on parameter names.
23651 (scalbnf): Likewise.
23652 (scalbnl): Likewise.
23653 (scalbln): Likewise.
23654 (scalblnf): Likewise.
23655 (scalblnl): Likewise.
23656 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
23657 (vwarnx): Likewise.
23658 (verr): Likewise.
23659 (verrx): Likewise.
23660 * manual/filesys.texi (telldir): Use braces around return type.
23661 * manual/llio.texi (mmap): Add space after comma.
23662 (mmap64): Likewise.
23663 * manual/math.texi (jn): Use @var{} on parameter names.
23664 (jnf): Likewise.
23665 (jnl): Likewise.
23666 (yn): Likewise.
23667 (ynf): Likewise.
23668 (ynl): Likewise.
23669 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
23670 line.
23671 * manual/resource.texi (ulimit): Use @dots{} instead of literal
23672 "...".
23673 (sched_get_priority_min): Remove semicolon on @deftypefun line.
23674 (sched_get_priority_max): Likewise.
23675 * manual/signal.texi (sigvec): Add space after comma.
23676 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
23677 names.
23678 (if_indextoname): Likewise.
23679 (if_freenameindex): Likewise.
23680 (sendto): Use ',' instead of '.' in prototype.
23681 * manual/startup.texi (syscall): Use @dots{} instead of literal
23682 "...".
23683 * manual/stdio.texi (__fpending): Separate initial words of
23684 paragraph from @deftypefun line.
23685 * manual/syslog.texi (syslog): Use @dots{} instead of literal
23686 "...".
23687 (vsyslog): Use @var{} on parameter names.
23688 * manual/terminal.texi (stty): Use @var{} on parameter names.
23689 * manual/users.texi (getutmp): Use @var{} on parameter names.
23690 (getutmpx): Likewise.
23691
5b23062f
JM
236922012-02-17 Joseph Myers <joseph@codesourcery.com>
23693
23694 [BZ #6884]
23695 * manual/stdio.texi (fopen): Fix typos in description of
23696 ",ccs=STRING".
23697
8dee4833
AJ
236982012-02-17 Aurelien Jarno <aurelien@aurel32.net>
23699
23700 [BZ #4026]
23701 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
23702 get clock_id definition.
23703
9078ce93
TS
237042012-02-17 Thomas Schwinge <thomas@schwinge.name>
23705
23706 [BZ #4822]
23707 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
23708 (madvise): Cast every argument to void on its own.
23709
3835c55f
JM
237102012-02-17 Joseph Myers <joseph@codesourcery.com>
23711
23712 [BZ #9902]
23713 * manual/startup.texi (Exit Status): Fix typo.
23714
35c47e37
JM
237152012-02-17 Joseph Myers <joseph@codesourcery.com>
23716
23717 [BZ #10140]
23718 * manual/examples/argp-ex1.c: Include <stdlib.h>.
23719 * manual/examples/argp-ex2.c: Likewise.
23720 * manual/examples/argp-ex3.c: Likewise.
23721
e3b69ca7
RH
237222012-02-16 Richard Henderson <rth@redhat.com>
23723
23724 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
23725 * sysdeps/s390/s390-32/initfini.c: Remove.
23726 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
23727 * sysdeps/s390/s390-64/initfini.c: Remove.
23728
df83af67
KK
237292012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23730
23731 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
23732 compiler output for sysdeps/generic/initfini.c.
23733 * sysdeps/sh/elf/initfini.c: Remove file.
23734
f63f3380
DM
237352012-02-16 David S. Miller <davem@davemloft.net>
23736
fb59b3a4
DM
23737 [BZ #11494]
23738 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
23739
f63f3380
DM
23740 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
23741 * sysdeps/sparc/crti.S: New file.
23742 * sysdeps/sparc/crtn.S: New file.
23743 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
23744 * sysdeps/sparc/sparc64/Makefile: Likewise.
23745
df6a4a4a
MF
237462012-02-15 Mike Frysinger <vapier@gentoo.org>
23747
6dd8f3dc 23748 [BZ #3335]
df6a4a4a
MF
23749 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
23750
1cac7236
RM
237512012-02-15 Roland McGrath <roland@hack.frob.com>
23752
d2c736f8
RM
23753 [BZ #4822]
23754 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
23755
1cac7236
RM
23756 * mach/devstream.c (cookie_io_functions_t): Macro removed.
23757 (write, read, close): Likewise.
23758 Patch by Aurelien Jarno <aurelien@aurel32.net>.
23759
8e475601
JM
237602012-02-15 Joseph Myers <joseph@codesourcery.com>
23761
23762 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
23763 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
23764 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
23765 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
23766 <bits/signalfd.h>.
23767 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
23768 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23769 bits/signalfd.h.
23770
ed656b40
MP
237712012-02-14 Marek Polacek <polacek@redhat.com>
23772
23773 * sysdeps/x86_64/crti.S: New file.
23774 * sysdeps/x86_64/crtn.S: New file.
23775 * sysdeps/x86_64/elf/initfini.c: Remove file.
23776
2a979d3a
JM
237772012-02-13 Joseph Myers <joseph@codesourcery.com>
23778
23779 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
23780 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
23781 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
23782 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
23783 <bits/inotify.h>.
23784 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
23785 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23786 bits/inotify.h.
23787
2a418ac3
JM
237882012-02-13 Joseph Myers <joseph@codesourcery.com>
23789
23790 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
23791 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
23792 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
23793 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
23794 <bits/eventfd.h>.
23795 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
23796 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23797 bits/eventfd.h.
23798
fb779be7
TS
237992012-02-10 Thomas Schwinge <thomas@codesourcery.com>
23800
e19e83c5
RM
23801 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
23802 __feraiseexcept instead of feraiseexcept.
7c35ffed 23803
fb779be7
TS
23804 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
23805 nanosleep invocations.
23806 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
23807 strings, and add error checking for a nanosleep invocations.
23808
59ba27a6
PE
238092012-02-09 Paul Eggert <eggert@cs.ucla.edu>
23810
23811 Replace FSF snail mail address with URLs, as per GNU coding standards.
23812 Most of the snail mail addresses were wrong anyway, and omitting
23813 them makes the source code easier to maintain. Almost all of the
23814 changes are to license notices and to locale LC_IDENTIFICATION
23815 addresses, except for this one:
23816 * manual/libc.texinfo: In "Published by", give the FSF's URL,
23817 not its snail mail address.
23818
57b957eb
RH
238192012-02-09 Richard Henderson <rth@twiddle.net>
23820
af850b1c
RH
23821 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
23822 of kernel-features.h.
23823
57b957eb
RH
23824 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
23825
6b73181a
MP
238262012-02-08 Marek Polacek <polacek@redhat.com>
23827
23828 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
23829 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
23830 * sysdeps/gnu/_G_config.h: Likewise.
23831 * sysdeps/generic/_G_config.h: Likewise.
23832
26ecc33a
AS
238332012-02-08 Andreas Schwab <schwab@linux-m68k.org>
23834
6c6dbc63
AS
23835 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
23836 tests.
23837 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23838
e216c012
AS
23839 * sysdeps/powerpc/powerpc32/crti.S: New file.
23840 * sysdeps/powerpc/powerpc32/crtn.S: New file.
23841 * sysdeps/powerpc/powerpc64/crti.S: New file.
23842 * sysdeps/powerpc/powerpc64/crtn.S: New file.
23843
26ecc33a
AS
23844 * Makeconfig (have-initfini): Don't set.
23845 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
23846 * configure.in (nopic_initfini): Don't substitute.
23847 * config.h.in (HAVE_INITFINI): Don't #undef.
23848 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
23849 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
23850
3add8e13
JM
238512012-02-08 Joseph Myers <joseph@codesourcery.com>
23852
23853 Support crti.S and crtn.S provided directly by architectures.
23854 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
23855 [crti.S in sysdirs] (omit-deps): Likewise.
23856 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
23857 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
23858 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
23859 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
23860 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
23861 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
23862 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
23863 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
23864 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
23865 compiler output for sysdeps/generic/initfini.c.
23866 * sysdeps/i386/elf/Makefile: Remove file.
23867 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
23868
a22f12b4
MP
238692012-02-07 Marek Polacek <polacek@redhat.com>
23870
23871 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
23872 * sysdeps/gnu/_G_config.h: Likewise.
23873 * sysdeps/mach/hurd/_G_config.h: Likewise.
23874
148cf100
MP
238752012-02-07 Marek Polacek <polacek@redhat.com>
23876
23877 * math/Makefile (tests): Add tst-CMPLX2.
23878 * math/tst-CMPLX2.c: New file.
23879
cfdc0dd7
AS
238802012-02-07 Andreas Schwab <schwab@linux-m68k.org>
23881
84ba42c4
AS
23882 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23883
cfdc0dd7
AS
23884 * math/libm-test.inc (jn_test): Add missing L suffix.
23885
622c86f4
MP
238862012-02-06 Marek Polacek <polacek@redhat.com>
23887
23888 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
23889 * sysdeps/i386/fpu/e_powf.S: Likewise.
23890 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
23891 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
23892 * sysdeps/i386/fpu/e_acosh.S: Likewise.
23893 * sysdeps/i386/fpu/e_pow.S: Likewise.
23894 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
23895 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
23896 * sysdeps/i386/fpu/s_expm1.S: Likewise.
23897 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
23898 * sysdeps/i386/fpu/e_log2.S: Likewise.
23899 * sysdeps/i386/fpu/e_log2l.S: Likewise.
23900 * sysdeps/i386/fpu/e_scalb.S: Likewise.
23901 * sysdeps/i386/fpu/e_powl.S: Likewise.
23902 * sysdeps/i386/fpu/s_log1p.S: Likewise.
23903 * sysdeps/i386/fpu/e_log10f.S: Likewise.
23904 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
23905 * sysdeps/i386/fpu/e_logl.S: Likewise.
23906 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
23907 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
23908 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
23909 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
23910 * sysdeps/i386/fpu/e_log2f.S: Likewise.
23911 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
23912 * sysdeps/i386/fpu/e_log.S: Likewise.
23913 * sysdeps/i386/fpu/s_cexp.S: Likewise.
23914 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
23915 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
23916 * sysdeps/i386/fpu/e_logf.S: Likewise.
23917 * sysdeps/i386/fpu/e_log10l.S: Likewise.
23918 * sysdeps/i386/fpu/e_atanh.S: Likewise.
23919 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
23920 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
23921 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
23922 * sysdeps/i386/fpu/e_log10.S: Likewise.
23923 * sysdeps/i386/fpu/s_frexp.S: Likewise.
23924 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
23925 * sysdeps/i386/fpu/s_asinh.S: Likewise.
23926 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
23927 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
23928 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
23929 * sysdeps/i386/asm-syntax.h: Likewise.
23930 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
23931 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
23932 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
23933 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
23934 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
23935 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
23936 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
23937 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
23938 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
23939 * sysdeps/powerpc/sysdep.h: Likewise.
23940 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
23941 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
23942
d4a54ac6
JM
239432012-02-06 Joseph Myers <joseph@codesourcery.com>
23944
23945 [BZ #411]
23946 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
23947
314054ea
JM
239482012-02-06 Joseph Myers <joseph@codesourcery.com>
23949
23950 * sysdeps/i386/sysdep.h: Include <features.h>.
23951 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
23952 version.
23953
d8e0ca50
JM
239542012-02-05 Joseph Myers <joseph@codesourcery.com>
23955
23956 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
23957 Define.
23958 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
23959 LOAD_PIC_REG_STR.
23960
b1da7dd9
JM
239612012-02-03 Joseph Myers <joseph@codesourcery.com>
23962
23963 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
23964 (SETUP_PIC_REG): Use GET_PC_THUNK.
23965 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
23966 macro.
23967
9a1d9254
JM
239682012-02-03 Joseph Myers <joseph@codesourcery.com>
23969
23970 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
23971 for non-PIC compilation.
23972 (SETUP_PIC_REG): Add .p2align directive.
23973 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
23974 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
23975 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
23976 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
23977 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
23978 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
23979 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
23980 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
23981 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23982 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23983 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23984 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23985 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23986 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23987 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
23988 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
23989 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
23990 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
23991 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
23992 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
23993 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23994 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
23995 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
23996 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
23997 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
23998 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
23999 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24000 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
24001 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
24002 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
24003 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
24004 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24005 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
24006 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
24007 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
24008 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
24009 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
24010 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
24011 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
24012 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
24013 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
24014
65dc3b75
JM
240152012-02-03 Joseph Myers <joseph@codesourcery.com>
24016
24017 * math/tst-CMPLX.c: Include <stdio.h>.
24018
d55bf177
JM
240192012-01-31 Joseph Myers <joseph@codesourcery.com>
24020
24021 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
24022 float.
24023 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
24024 * sysdeps/sparc/bits/mathdef.h: Likewise.
24025
69db4f8f
MP
240262012-01-31 Marek Polacek <polacek@redhat.com>
24027
24028 * libio/libio.h: Don't define _PARAMS.
24029 * locale/programs/config.h: Don't define PARAMS.
24030 * stdlib/strtol_l.c: Likewise.
24031 (__strtol_l): Remove PARAMS from the prototype.
24032
41b81892
UD
240332012-01-31 Ulrich Drepper <drepper@gmail.com>
24034
3b49edc0
UD
24035 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
24036 names. Just use the correct names. Remove unnecessary wrapper
24037 functions.
24038 * malloc/arena.c: Likewise.
24039 * malloc/hooks.c: Likewise.
24040
41b81892
UD
24041 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
24042 ARENA_TEST says not to. Simplify test for creation of a new arena.
24043 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
24044
27a25b6e
UD
240452012-01-30 Ulrich Drepper <drepper@gmail.com>
24046
24047 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
24048 into tail calls.
24049 (update_get_addr): New function.
24050 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
24051 GET_ADDR_MODULE parameter.
24052
c8a89e7d
JM
240532012-01-30 Joseph Myers <joseph@codesourcery.com>
24054
24055 * crypt/cert.c: Remove __STDC__ conditionals.
24056 * crypt/crypt-entry.c: Likewise.
24057 * crypt/crypt_util.c: Likewise.
24058 * libio/filedoalloc.c: Likewise.
24059 * libio/fileops.c: Likewise.
24060 * libio/genops.c: Likewise.
24061 * libio/iofclose.c: Likewise.
24062 * libio/iofdopen.c: Likewise.
24063 * libio/iofopen.c: Likewise.
24064 * libio/iofopen64.c: Likewise.
24065 * libio/iogetdelim.c: Likewise.
24066 * libio/iopopen.c: Likewise.
24067 * libio/obprintf.c: Likewise.
24068 * libio/oldfileops.c: Likewise.
24069 * libio/oldiofclose.c: Likewise.
24070 * libio/oldiofdopen.c: Likewise.
24071 * libio/oldiofopen.c: Likewise.
24072 * libio/oldiopopen.c: Likewise.
24073 * libio/wfiledoalloc.c: Likewise.
24074 * libio/wgenops.c: Likewise.
24075 * locale/programs/xmalloc.c: Likewise.
24076 * misc/syslog.c: Likewise.
24077 * stdio-common/xbug.c: Likewise.
24078 * string/memchr.c: Likewise.
24079 * string/memcmp.c: Likewise.
24080 * string/memrchr.c: Likewise.
24081 * string/rawmemchr.c: Likewise.
24082 * sysdeps/posix/getcwd.c: Likewise.
24083 * time/strftime_l.c: Likewise.
24084
3b100462
JM
240852012-01-30 Joseph Myers <joseph@codesourcery.com>
24086
24087 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
24088 * config.make.in (config-cflags-sse2avx): Define.
24089 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
24090 Fix typo.
24091
607998af
CM
240922012-01-29 Chris Metcalf <cmetcalf@tilera.com>
24093
24094 * scripts/config.guess: Update from upstream config git repository.
24095 * scripts/config.sub: Likewise.
24096
3601428f
CM
240972012-01-28 Chris Metcalf <cmetcalf@tilera.com>
24098
3ac8b282
CM
24099 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
24100 (EM_NUM): Update.
24101 (R_TILEPRO_*, R_TILEGX_*): New macros.
24102
e034841e
CM
24103 * scripts/firstversions.awk: Fix bug in version range handling.
24104
540d7568
CM
24105 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
24106
3601428f
CM
24107 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
24108
463de862
CM
24109 * include/sys/epoll.h: New file.
24110 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
24111 libc_hidden_def.
24112
73139a76
UD
241132012-01-28 Ulrich Drepper <drepper@gmail.com>
24114
96bc5b45
UD
24115 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
24116 Avoid unnecessary __WORDSIZE == 64 test.
24117 (fmaxf): Use VEX format if possible.
24118 (fmax): Likewise.
24119 (fminf): Likewise.
24120 (fmin): Likewise.
24121
56f6f6a2
UD
24122 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
24123 * math/math_private.h: Remove libc_fegetround* and
24124 libc_fesetround*.
24125 * sysdeps/i386/configure.in: Check for -msse2avx.
24126 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
24127 also if SSE2AVX is defined.
24128 Remove libc_fegetround* and libc_fesetround*.
24129 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
24130 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
24131 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
24132 of HAS_YMM_USABLE.
24133 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24134 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24135 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24136 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24137 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
24138
73139a76
UD
24139 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
24140
d73f93a4
AZ
241412012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24142
24143 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
24144 size is not set.
24145 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
24146
6ee65ed6
UD
241472012-01-27 Ulrich Drepper <drepper@gmail.com>
24148
24149 [BZ #13618]
24150 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
24151 relocation.
24152 * Makeconfig (libm): Define.
24153 * elf/Makefile: Add rules to build and run tst-relsort1.
24154 * elf/tst-relsort1.c: New file.
24155 * elf/tst-relsort1mod1.c: New file.
24156 * elf/tst-relsort1mod2.c: New file.
24157
8db21882
JM
241582012-01-27 Joseph Myers <joseph@codesourcery.com>
24159
24160 * math/s_ldexp.c: Remove __STDC__ conditionals.
24161 * math/s_ldexpf.c: Likewise.
24162 * math/s_ldexpl.c: Likewise.
24163 * math/s_nextafter.c: Likewise.
24164 * math/s_nexttowardf.c: Likewise.
24165 * math/s_significand.c: Likewise.
24166 * math/s_significandf.c: Likewise.
24167 * math/s_significandl.c: Likewise.
24168 * math/w_jnl.c: Likewise.
24169 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
24170 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
24171 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
24172 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
24173 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
24174 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24175 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
24176 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
24177 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24178 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
24179 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
24180 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24181 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
24182 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
24183 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
24184 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
24185 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
24186 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
24187 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24188 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
24189 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
24190 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24191 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24192 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24193 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24194 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24195 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24196 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24197 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
24198 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24199 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24200 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
24201 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24202 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
24203 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
24204 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24205 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
24206 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
24207 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
24208 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
24209 * sysdeps/ieee754/k_standard.c: Likewise.
24210 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
24211 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24212 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
24213 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
24214 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
24215 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
24216 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24217 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
24218 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
24219 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
24220 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
24221 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
24222 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
24223 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
24224 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
24225 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
24226 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
24227 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24228 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24229 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
24230 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24231 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24232 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
24233 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
24234 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24235 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
24236 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
24237 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
24238 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24239 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
24240 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
24241 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
24242 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
24243 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
24244 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
24245 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
24246 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
24247 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
24248 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
24249 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
24250 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
24251 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
24252 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
24253 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
24254 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
24255 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
24256 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
24257 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24258 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
24259 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
24260 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
24261 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24262 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24263 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
24264 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
24265 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
24266 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
24267 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
24268 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
24269 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
24270 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
24271 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
24272 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
24273 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24274 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
24275 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
24276 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
24277 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
24278 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
24279 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
24280 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
24281 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
24282 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
24283 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
24284 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
24285 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
24286 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
24287 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
24288 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
24289 * sysdeps/ieee754/s_matherr.c: Likewise.
24290 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
24291 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
24292 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24293 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24294
965a54a4
JM
242952012-01-26 Joseph Myers <joseph@codesourcery.com>
24296
24297 * crypt/md5.h: Remove __STDC__ conditionals.
24298 * libio/libioP.h: Likewise.
24299 * locale/programs/config.h: Likewise.
24300 * sysdeps/generic/sysdep.h: Likewise.
24301 * sysdeps/i386/asm-syntax.h: Likewise.
24302 * sysdeps/s390/asm-syntax.h: Likewise.
24303 * sysdeps/unix/sysdep.h: Likewise.
24304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
24305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24306
7071ad79
JM
243072012-01-26 Joseph Myers <joseph@codesourcery.com>
24308
24309 * libio/libio.h: Remove __STDC__ conditionals.
24310 * malloc/obstack.h: Likewise.
24311 * math/complex.h: Likewise.
24312 * math/math.h: Likewise.
24313 * sysdeps/generic/_G_config.h: Likewise.
24314 * sysdeps/gnu/_G_config.h: Likewise.
24315 * sysdeps/mach/hurd/_G_config.h: Likewise.
24316 * sysdeps/powerpc/bits/mathdef.h: Likewise.
24317 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
24318 * sysdeps/sparc/bits/mathdef.h: Likewise.
24319
afc5ed09
UD
243202012-01-26 Ulrich Drepper <drepper@gmail.com>
24321
24322 [BZ #13583]
24323 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 24324 Clean up HAS_* macros.
afc5ed09 24325 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
24326 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
24327 possible.
24328 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
24329 HAS_AVX.
24330 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24331 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24332 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24333 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24334 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 24335
bdb6de1d
JM
243362012-01-25 Joseph Myers <joseph@codesourcery.com>
24337
24338 * elf/tst-unique3.cc (gets): Remove declaration.
24339 * elf/tst-unique3lib.cc (gets): Likewise.
24340 * elf/tst-unique3lib2.cc (gets): Likewise.
24341 * elf/tst-unique4.cc (gets): Likewise.
24342
b15549e6
UD
243432012-01-24 Ulrich Drepper <drepper@gmail.com>
24344
24345 * include/stdio.h: Add C++ protection. Add gets declarations and
24346 definitions.
24347 * debug/tst-chk1.c: Don't declare gets here.
24348 * stdio-common/tst-gets.c: Likewise.
24349
a037381f
JM
243502012-01-24 Joseph Myers <joseph@codesourcery.com>
24351
24352 * posix/glob: Remove directory.
24353
f1d4aa75
JM
243542012-01-24 Joseph Myers <joseph@codesourcery.com>
24355
24356 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
24357
81c0c964
PT
243582012-01-22 Pino Toscano <toscano.pino@tiscali.it>
24359
24360 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
24361 of the non-standard EPFNOSUPPORT.
24362
0ea698ae
ST
243632011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
24364
24365 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
24366 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
24367 ANYWHERE set to 1 only on KERN_NO_SPACE error.
24368
d220b117
UD
243692012-01-21 Ulrich Drepper <drepper@gmail.com>
24370
24371 * wcsmbs/uchar.h: Test __STDC_VERSION__.
24372
3e1aa84e
UD
243732012-01-20 Ulrich Drepper <drepper@gmail.com>
24374
24375 * nscd/aicache.c (addhstaiX): Do not cache negative results of
24376 transient errors.
24377 * nscd/grpcache.c (cache_addgr): Likewise.
24378 * nscd/hstcache.c (cache_addhst): Likewise.
24379 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24380 * nscd/pwdcache.c (cache_addpw): Likewise.
24381 * nscd/servicescache.c (cache_addserv): Likewise.
24382
400aa020
UD
243832012-01-16 Ulrich Drepper <drepper@gmail.com>
24384
d77e7869
UD
24385 * malloc/malloc.c: Various cleanups.
24386 * malloc/hooks.c: Likewise.
24387
400aa020
UD
24388 * stdlib/Makefile (tests): Add bug-fmtmsg1.
24389 * stdlib/bug-fmtmsg1.c: New file.
24390
24391 * stdlib/fmtmsg.c (init): Add missing unlock.
24392 Patch by Peng Haitao <penght@cn.fujitsu.com>.
24393
e0a309cf
MP
243942012-01-12 Marek Polacek <polacek@redhat.com>
24395
24396 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
24397 and _GNU_SOURCE.
24398
929d11c7
WS
243992012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
24400
24401 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
24402 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
24403 macro to ensure uniqueness of label name.
24404 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
24405 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
24406
41d0e869
UD
244072012-01-11 Ulrich Drepper <drepper@gmail.com>
24408
0cc5ed3b
UD
24409 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
24410
41d0e869
UD
24411 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
24412 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
24413 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
24414 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
24415
a47a831a
UD
244162012-01-10 Ulrich Drepper <drepper@gmail.com>
24417
daa891c0
UD
24418 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
24419
24420 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
24421 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
24422 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
24423
e58ef0f2
UD
24424 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
24425
a47a831a 24426 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
24427 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
24428 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 24429 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
24430
24431 * math/bits/math-finite.h: Add ldexp support.
24432
a0bfc9c7
MP
244332012-01-10 Marek Polacek <polacek@redhat.com>
24434
24435 * locale/programs/localedef.h (show_archive_content): Add noreturn
24436 attribute.
24437
d6e97a1d
UD
244382012-01-09 Ulrich Drepper <drepper@gmail.com>
24439
24440 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
24441
d5835c26
UD
244422012-01-08 Ulrich Drepper <drepper@gmail.com>
24443
e5f484c6
UD
24444 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
24445
d5835c26
UD
24446 * io/Makefile (headers): Add bits/poll2.h.
24447
d1f741e9
WS
244482011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
24449
24450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
24451 typo #include statement.
24452
ec09c1c4
UD
244532012-01-08 Ulrich Drepper <drepper@gmail.com>
24454
24455 * include/sys/cdefs.h: Define __attribute_alloc_size.
24456 * catgets/gencat.c: Add alloc_size attribute and apply consistently
24457 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
24458 * elf/pldd.c: Likewise.
24459 * iconv/iconv_charmap.c: Likewise.
24460 * iconv/iconvconfig.c: Likewise.
24461 * iconv/strtab.c: Likewise.
24462 * locale/programs/locale.c: Likewise.
24463 * locale/programs/localedef.h: Likewise.
24464 * locale/programs/simple-hash.c: Likewise.
24465 * nscd/nscd.h: Likewise.
24466 * nss/makedb.c: Likewise.
24467 * sysdeps/generic/ldconfig.h: Likewise.
24468 * locale/programs/localedef.c: Remove xmalloc prototype.
24469 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
24470
20b38e03
PP
244712012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
24472
24473 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
24474 appropriate.
24475
a0da5fe1
UD
244762012-01-08 Ulrich Drepper <drepper@gmail.com>
24477
1d5a644a 24478 * math/Makefile (tests): Add tst-CMPLX.
669704fd 24479 * math/tst-CMPLX.c: New file.
1d5a644a 24480
8784a6db
UD
24481 * math/complex.h (CMPLXL): Fix typo.
24482
d9a216c0
UD
24483 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
24484 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
24485 GLIBC_2.16.
24486 * debug/tst-chk1.c: Add poll and ppoll tests.
24487 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
24488 * include/sys/poll.h: Add hidden proto for ppoll.
24489 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
24490 * sysdeps/mach/hurd/ppoll.c: Likewise.
24491 * io/ppoll.c: Likewise.
24492 * debug/poll_chk.c: New file.
24493 * debug/ppoll_chk.c: New file.
24494 * include/bits/poll2.h: New file.
24495 * io/bits/poll2.h: New file.
24496
ac097f5c
UD
24497 [BZ #1350]
24498 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
24499
2119dcfa
UD
24500 * configure.in: static is always set to yes. Remove.
24501 * config.make.in: Don't set build-static.
24502 * Makeconfig: Remove use of build-static.
24503 * dlfcn/Makefile: Likewise.
24504 * elf/Makefile: Likewise.
24505 * math/Makefile: Likewise.
24506 * misc/Makefile: Likewise.
24507 * nptl/Makefile: Likewise.
24508 * sysdeps/mach/hurd/Makefile: Likewise.
24509
121766a9
UD
24510 * configure.in: PWD_P is not used anymore.
24511 * config.make.in: Remove PWD_P entry.
24512
51a1d39c 24513 * configure.in: Remove last remnants of RANLIB.
8720d066 24514 No need to check for signed size_t anymore.
215f4bdc
UD
24515 Don't set libc_commonpagesize and libc_relro_required here for Alpha
24516 and IA-64.
3857022a 24517 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
24518 * aclocal.m4: Likewise.
24519
d3ed7225
UD
24520 * wcsmbs/mbrtoc16.c: Implement using towc function.
24521 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
24522 * wcsmbs/wcsmbsload.c: Likewise.
24523 * iconv/gconv_simple.c: Likewise.
24524 * iconv/gconv_int.h: Likewise.
24525 * iconv/gconv_builtin.h: Likewise.
24526 * iconv/iconv_prog.c: Remove CHAR16 handling.
24527
24528 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
24529
24530 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
24531
a0da5fe1
UD
24532 * configure.in: Remove --with-elf and --enable-bounded options.
24533 Dont set base_machine for ia64. More non-ELF conditions removed.
24534 Remove testing and setting of leading underscore information.
24535 * config.make.in (build-bounded): Set to no.
24536 * config.h.in: Remove NO_UNDERSCORES entry.
24537 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
24538 them.
24539 * csu/start.c: Remove !NO_UNDERSCORE code.
24540 * locale/localeinfo.h: Likewise.
24541 * sysdeps/generic/machine-gmon.h: Likewise.
24542 * sysdeps/generic/sysdep.h: Likewise.
24543 * sysdeps/i386/sysdep.h: Likewise.
24544 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
24545 * sysdeps/mach/sysdep.h: Likewise.
24546 * sysdeps/s390/s390-32/sysdep.h: Likewise.
24547 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24548 * sysdeps/sh/sysdep.h: Likewise.
24549 * sysdeps/sparc/sparc32/alloca.S: Likewise.
24550 * sysdeps/unix/i386/sysdep.S: Likewise.
24551 * sysdeps/unix/sparc/start.c: Likewise.
24552 * sysdeps/unix/sparc/sysdep.S: Likewise.
24553 * sysdeps/unix/sparc/sysdep.h: Likewise.
24554 * sysdeps/unix/start.c: Likewise.
24555 * sysdeps/unix/x86_64/sysdep.S: Likewise.
24556 * sysdeps/x86_64/sysdep.h: Likewise.
24557
df78418a
UD
245582012-01-07 Ulrich Drepper <drepper@gmail.com>
24559
a784e502
UD
24560 [BZ #13553]
24561 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
24562 for non-gcc.
24563 * argp/argp-fmtstream.h: Use const instead __const.
24564 * argp/argp.h: Likewise.
24565 * assert/assert.h: Likewise.
24566 * bits/fenv.h: Likewise.
24567 * bits/sched.h: Likewise.
24568 * bits/sigset.h: Likewise.
24569 * bits/sigthread.h: Likewise.
24570 * catgets/nl_types.h: Likewise.
24571 * conform/data/pthread.h-data: Likewise.
24572 * crypt/crypt-private.h: Likewise.
24573 * crypt/crypt.h: Likewise.
24574 * crypt/crypt_util.c: Likewise.
24575 * ctype/ctype.h: Likewise.
24576 * debug/execinfo.h: Likewise.
24577 * debug/mbsnrtowcs_chk.c: Likewise.
24578 * debug/mbsrtowcs_chk.c: Likewise.
24579 * debug/wcsnrtombs_chk.c: Likewise.
24580 * debug/wcsrtombs_chk.c: Likewise.
24581 * debug/wcstombs_chk.c: Likewise.
24582 * dirent/dirent.h: Likewise.
24583 * dlfcn/dlfcn.h: Likewise.
24584 * elf/neededtest4.c: Likewise.
24585 * grp/grp.h: Likewise.
24586 * gshadow/gshadow.h: Likewise.
24587 * iconv/gconv.h: Likewise.
24588 * iconv/gconv_int.h: Likewise.
24589 * iconv/gconv_simple.c: Likewise.
24590 * iconv/iconv.h: Likewise.
24591 * iconv/loop.c: Likewise.
24592 * iconv/skeleton.c: Likewise.
24593 * include/aio.h: Likewise.
24594 * include/aliases.h: Likewise.
24595 * include/argz.h: Likewise.
24596 * include/arpa/inet.h: Likewise.
24597 * include/assert.h: Likewise.
24598 * include/dirent.h: Likewise.
24599 * include/dlfcn.h: Likewise.
24600 * include/execinfo.h: Likewise.
24601 * include/fcntl.h: Likewise.
24602 * include/fenv.h: Likewise.
24603 * include/glob.h: Likewise.
24604 * include/grp.h: Likewise.
24605 * include/libintl.h: Likewise.
24606 * include/mntent.h: Likewise.
24607 * include/netdb.h: Likewise.
24608 * include/pwd.h: Likewise.
24609 * include/rpc/netdb.h: Likewise.
24610 * include/sched.h: Likewise.
24611 * include/search.h: Likewise.
24612 * include/shadow.h: Likewise.
24613 * include/signal.h: Likewise.
24614 * include/stdio.h: Likewise.
24615 * include/stdlib.h: Likewise.
24616 * include/string.h: Likewise.
24617 * include/sys/socket.h: Likewise.
24618 * include/sys/stat.h: Likewise.
24619 * include/sys/statfs.h: Likewise.
24620 * include/sys/statvfs.h: Likewise.
24621 * include/sys/syslog.h: Likewise.
24622 * include/sys/time.h: Likewise.
24623 * include/sys/uio.h: Likewise.
24624 * include/time.h: Likewise.
24625 * include/unistd.h: Likewise.
24626 * include/utmp.h: Likewise.
24627 * include/wchar.h: Likewise.
24628 * include/wctype.h: Likewise.
24629 * inet/aliases.h: Likewise.
24630 * inet/arpa/inet.h: Likewise.
24631 * inet/netinet/ether.h: Likewise.
24632 * inet/netinet/in.h: Likewise.
24633 * intl/libintl.h: Likewise.
24634 * io/bits/fcntl2.h: Likewise.
24635 * io/fcntl.h: Likewise.
24636 * io/ftw.h: Likewise.
24637 * io/sys/poll.h: Likewise.
24638 * io/sys/stat.h: Likewise.
24639 * io/sys/statfs.h: Likewise.
24640 * io/sys/statvfs.h: Likewise.
24641 * io/utime.h: Likewise.
24642 * libio/bits/stdio.h: Likewise.
24643 * libio/bits/stdio2.h: Likewise.
24644 * libio/libio.h: Likewise.
24645 * libio/libioP.h: Likewise.
24646 * libio/stdio.h: Likewise.
24647 * locale/lc-ctype.c: Likewise.
24648 * locale/locale.h: Likewise.
24649 * login/utmp.h: Likewise.
24650 * malloc/arena.c: Likewise.
24651 * malloc/malloc.c: Likewise.
24652 * malloc/malloc.h: Likewise.
24653 * malloc/mcheck.c: Likewise.
24654 * malloc/mtrace.c: Likewise.
24655 * math/bits/mathcalls.h: Likewise.
24656 * math/fenv.h: Likewise.
24657 * math/math_private.h: Likewise.
24658 * misc/bits/error.h: Likewise.
24659 * misc/bits/syslog.h: Likewise.
24660 * misc/err.h: Likewise.
24661 * misc/error.h: Likewise.
24662 * misc/fstab.h: Likewise.
24663 * misc/mntent.h: Likewise.
24664 * misc/regexp.h: Likewise.
24665 * misc/search.h: Likewise.
24666 * misc/sgtty.h: Likewise.
24667 * misc/sys/mman.h: Likewise.
24668 * misc/sys/syslog.h: Likewise.
24669 * misc/sys/uio.h: Likewise.
24670 * misc/sys/xattr.h: Likewise.
24671 * misc/ttyent.h: Likewise.
24672 * nis/rpcsvc/ypclnt.h: Likewise.
24673 * nss/nss.h: Likewise.
24674 * posix/bits/unistd.h: Likewise.
24675 * posix/fnmatch.h: Likewise.
24676 * posix/glob.h: Likewise.
24677 * posix/sched.h: Likewise.
24678 * posix/spawn.h: Likewise.
24679 * posix/sys/wait.h: Likewise.
24680 * posix/unistd.h: Likewise.
24681 * posix/wordexp.h: Likewise.
24682 * pwd/pwd.h: Likewise.
24683 * resolv/netdb.h: Likewise.
24684 * resource/sys/resource.h: Likewise.
24685 * rt/aio.h: Likewise.
24686 * rt/bits/mqueue2.h: Likewise.
24687 * rt/mqueue.h: Likewise.
24688 * shadow/shadow.h: Likewise.
24689 * signal/signal.h: Likewise.
24690 * socket/send.c: Likewise.
24691 * socket/sendto.c: Likewise.
24692 * socket/sys/socket.h: Likewise.
24693 * stdio-common/printf.h: Likewise.
24694 * stdlib/bits/stdlib.h: Likewise.
24695 * stdlib/fmtmsg.h: Likewise.
24696 * stdlib/monetary.h: Likewise.
24697 * stdlib/stdlib.h: Likewise.
24698 * stdlib/ucontext.h: Likewise.
24699 * streams/stropts.h: Likewise.
24700 * string/argz.h: Likewise.
24701 * string/bits/string2.h: Likewise.
24702 * string/string.h: Likewise.
24703 * string/strings.h: Likewise.
24704 * sunrpc/rpc/auth.h: Likewise.
24705 * sunrpc/rpc/auth_des.h: Likewise.
24706 * sunrpc/rpc/clnt.h: Likewise.
24707 * sunrpc/rpc/netdb.h: Likewise.
24708 * sunrpc/rpc/pmap_clnt.h: Likewise.
24709 * sunrpc/rpc/xdr.h: Likewise.
24710 * sysdeps/generic/inttypes.h: Likewise.
24711 * sysdeps/generic/net/if.h: Likewise.
24712 * sysdeps/generic/sys/swap.h: Likewise.
24713 * sysdeps/gnu/net/if.h: Likewise.
24714 * sysdeps/gnu/utmpx.h: Likewise.
24715 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
24716 * sysdeps/i386/i486/bits/string.h: Likewise.
24717 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
24718 * sysdeps/s390/bits/string.h: Likewise.
24719 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
24720 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
24721 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
24722 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
24723 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
24724 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
24725 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
24726 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
24727 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
24728 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
24729 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
24730 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
24731 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
24732 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
24733 * sysdeps/unix/sysv/linux/readv.c: Likewise.
24734 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
24735 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
24736 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24737 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
24738 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
24739 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
24740 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
24741 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
24742 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
24743 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
24744 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
24745 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
24746 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
24747 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
24748 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
24749 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
24750 * sysvipc/sys/ipc.h: Likewise.
24751 * sysvipc/sys/msg.h: Likewise.
24752 * sysvipc/sys/sem.h: Likewise.
24753 * sysvipc/sys/shm.h: Likewise.
24754 * termios/termios.h: Likewise.
24755 * time/sys/time.h: Likewise.
24756 * time/time.h: Likewise.
24757 * wcsmbs/bits/wchar2.h: Likewise.
24758 * wcsmbs/uchar.h: Likewise.
24759 * wcsmbs/wchar.h: Likewise.
24760 * wctype/wctype.h: Likewise.
24761
0269750c
UD
24762 [BZ #13551]
24763 * Makeconfig: Remove all but ELF support including AIX support.
24764 * Makerules: Likewise.
24765 * config.h.in: Likewise.
24766 * config.make.in: Likewise.
24767 * configure: Likewise.
24768 * configure.in: Likewise.
24769 * csu/Makefile: Likewise.
24770 * csu/version.c: Likewise.
24771 * debug/Makefile: Likewise.
24772 * dlfcn/Makefile: Likewise.
24773 * elf/Makefile: Likewise.
24774 * extra-lib.mk: Likewise.
24775 * iconv/Makefile: Likewise.
24776 * include/libc-symbols.h: Likewise.
24777 * include/shlib-compat.h: Likewise.
24778 * resolv/Makefile: Likewise.
24779 * resolv/res_libc.c: Likewise.
24780 * rt/Makefile: Likewise.
24781 * sysdeps/i386/asm-syntax.h: Likewise.
24782 * sysdeps/i386/sysdep.h: Likewise.
24783 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
24784 * sysdeps/mach/sysdep.h: Likewise.
24785 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
24786 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
24787 * sysdeps/s390/asm-syntax.h: Likewise.
24788 * sysdeps/s390/s390-32/sysdep.h: Likewise.
24789 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24790 * sysdeps/sh/sysdep.h: Likewise.
24791 * sysdeps/unix/sparc/sysdep.h: Likewise.
24792 * sysdeps/wordsize-32/divdi3.c: Likewise.
24793 * sysdeps/x86_64/sysdep.h: Likewise.
24794
00bbd29b
UD
24795 * argp/Versions: Remove _argp_unlock_xxx.
24796
24797 [BZ #13559]
24798 * abilist/ld.abilist: Update. Adjust for removal of tls option.
24799 * abilist/libBrokenLocale.abilist: Likewise.
24800 * abilist/libanl.abilist: Likewise.
24801 * abilist/libc.abilist: Likewise.
24802 * abilist/libcrypt.abilist: Likewise.
24803 * abilist/libdl.abilist: Likewise.
24804 * abilist/libm.abilist: Likewise.
24805 * abilist/libnsl.abilist: Likewise.
24806 * abilist/libpthread.abilist: Likewise.
24807 * abilist/libresolv.abilist: Likewise.
24808 * abilist/librt.abilist: Likewise.
24809 * abilist/libthread_db.abilist: Likewise.
24810 * abilist/libutil.abilist: Likewise.
24811 * abilist/libnss_db.abilist: New file.
24812
24813 * scripts/abilist.awk: Add support for indirect functions.
24814
a2693a0e
UD
24815 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
24816
3f05895f
UD
24817 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
24818
ecb6fb48
UD
24819 * shlib-versions: Remove entries for ports architectures.
24820
664f8cb9
UD
24821 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
24822 files in ports.
24823 * elf/stackguard-macros.h: Remove support for IA-64.
24824 * elf/tst-auditmod1.c: Likewise.
24825 * sysdeps/generic/ldsodefs.h: Likewise.
24826
7ae81d88
UD
24827 * sysdeps/unix/sysv/linux/configure.in: Ports should define
24828 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
24829 configure files.
24830
bdeba135
UD
24831 [BZ #13552]
24832 * configure.in: Remove --enable-omitfp support.
24833 * FAQ.in: Adjust.
24834 * config.make.in: Likewise.
24835 * Makeconfig: Likewise.
24836 * manual/install.texi: Likewise.
24837
d75a0a62
UD
24838 In case anyone cares, the IA-64 architecture could move to ports.
24839 * sysdeps/ia64/*: Removed.
24840 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 24841 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 24842
dcc9756b
UD
24843 [BZ #13555]
24844 * configure.in: Remove entries for unsupported architectures.
24845
d3761ebc 24846 [BZ #13533]
9954432e
UD
24847 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
24848 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
24849 routines.
24850 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
24851 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
24852 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
24853 fall back to using wcrtomb.
24854 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
24855 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
24856 renaming.
24857 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
24858 * wcsmbs/tst-c16c32-1.c: New file.
24859
24860 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
24861 local variable.
24862
c3a87236
UD
24863 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
24864
28926a1b
UD
24865 * elf/tst-unique3.cc: Add explicit declaration of gets.
24866 * elf/tst-unique3lib.cc: Likewise.
24867 * elf/tst-unique3lib2.cc: Likewise.
24868 * elf/tst-unique4.cc: Likewise.
24869
df78418a
UD
24870 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
24871
8ecd6b2a
JM
248722012-01-06 Joseph Myers <joseph@codesourcery.com>
24873
24874 [BZ #13566]
24875 * assert/assert.h (static_assert): Don't define for C++.
24876 * libio/stdio.h (gets): Do declare for C++ <= C++11.
24877 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
24878
9f115170
UD
248792012-01-03 Ulrich Drepper <drepper@gmail.com>
24880
5e0d0300
UD
24881 * iconv/loop.c (single loop): Fix assertion in storing of
24882 remaining bytes.
24883
9f115170
UD
24884 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
24885
81fb02b0
UD
248862012-01-01 Ulrich Drepper <drepper@gmail.com>
24887
24888 * posix/getconf.c: Update copyright year.
24889 * nss/getent.c: Likewise.
a316c1f6 24890 * nss/makedb.c: Likewise.
81fb02b0
UD
24891 * iconv/iconvconfig.c: Likewise.
24892 * iconv/iconv_prog.c: Likewise.
24893 * elf/ldconfig.c: Likewise.
a316c1f6
UD
24894 * elf/pldd.c: Likewise.
24895 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
24896 * catgets/gencat.c: Likewise.
24897 * csu/version.c: Likewise.
24898 * elf/ldd.bash.in: Likewise.
24899 * elf/sprof.c (print_version): Likewise.
24900 * locale/programs/locale.c: Likewise.
24901 * locale/programs/localedef.c: Likewise.
a316c1f6 24902 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
24903 * nscd/nscd.c (print_version): Likewise.
24904 * debug/xtrace.sh: Likewise.
24905 * malloc/memusage.sh: Likewise.
24906 * malloc/mtrace.pl: Likewise.
24907 * debug/catchsegv.sh: Likewise.
24908
2ba92745
JJ
249092011-12-30 Jakub Jelinek <jakub@redhat.com>
24910
24911 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
24912 pure attribute.
24913
dadebdae
UD
249142011-12-24 Ulrich Drepper <drepper@gmail.com>
24915
d3761ebc 24916 [BZ #13533]
db6af3eb
UD
24917 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
24918 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
24919 transformations.
24920 * iconv/gconv_int.h: Likewise.
24921 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
24922 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
24923 from libc for GLIBC_2.16.
24924 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
24925 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
24926 * wcsmbs/uchar.h: Really define mbstate_t.
24927 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
24928 * wcsmbs/c16rtomb.c: New file.
24929 * wcsmbs/mbrtoc16.c: New file.
24930 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
24931 for C/POSIX locale.
24932 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
24933 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
24934
dadebdae
UD
24935 * wcsmbs/wchar.h: Add missing __restrict.
24936
67371b56
UD
249372011-12-23 Ulrich Drepper <drepper@gmail.com>
24938
74033a25
UD
24939 [BZ #13532]
24940 * time/Makefile (routines): Add timespec_get.
24941 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
24942 * time/time.h: Define TIME_UTC and declare timespec_get. Define
24943 timespec for ISO C11.
24944 * time/timespec_get.c: New file.
24945 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
24946 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
24947
380d7e87
UD
24948 [BZ #13531]
24949 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
24950 * stdlib/stdlib.h: Declare aligned_alloc.
24951 * Versions.def: Add GLIBC_2.16 for libc.
24952 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
24953
4e9e7a35
UD
24954 [BZ 13527]
24955 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
24956 ISO C11.
24957
380d7e87 24958 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
24959 code.
24960
03a71829
UD
24961 [BZ #13528]
24962 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
24963
839e283e
UD
24964 [BZ #13529]
24965 * assert/assert.h (static_assert): Define.
24966
ce5294e2 24967 * version.h: Update for 2.16 development version.
90fa7312 24968
8d44e150 24969 [BZ #13526]
d7809905
UD
24970 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
24971 _ISOC11_SOURCE.
24972
c0da14cd
UD
24973 * version.h (RELEASE): Bump for 2.15 release.
24974 * include/features.h (__GLIBC_MINOR__): Bump to 15.
24975
530a3249
MP
24976 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
24977 Patch by Marek Polacek <mpolacek@redhat.com>.
24978
67371b56
UD
24979 * bits/byteswap.h: Protect long long constants with __extension__.
24980 * sysdeps/i386/bits/byteswap.h: Likewise.
24981 * sysdeps/ia64/bits/byteswap.h: Likewise.
24982 * sysdeps/s390/bits/byteswap.h: Likewise.
24983 * sysdeps/x86_64/bits/byteswap.h: Likewise.
24984
15db4de1
LD
249852011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24986
24987 [BZ #13540]
bbe315ea
LD
24988 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
24989 destination buffer.
15db4de1
LD
24990 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
24991
2b2596b1
MP
249922011-12-23 Marek Polacek <polacek@redhat.com>
24993
24994 * elf/dl-addr.c (determine_info): Add inline keyword.
24995 * elf/tst-auditmod4b.c (check_avx): Likewise.
24996 * elf/tst-auditmod6b.c (check_avx): Likewise.
24997 * elf/tst-auditmod6c.c (check_avx): Likewise.
24998 * elf/tst-auditmod7b.c (check_avx): Likewise.
24999
70c6c246
UD
250002011-12-23 Ulrich Drepper <drepper@gmail.com>
25001
25002 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
25003 !__SSE_MATH__.
25004
c044cf14
LD
250052011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25006
15db4de1 25007 [BZ #13540]
c044cf14
LD
25008 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
25009 processing for last bytes.
25010
6b13d9d9
BH
250112011-08-06 Bruno Haible <bruno@clisp.org>
25012
d455f537
BH
25013 [BZ #13061]
25014 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
25015 U+0385, not to U+1FEE.
25016
6b13d9d9
BH
25017 [BZ #13062]
25018 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
25019 entry for U+00A5 U+0301.
25020
db910efd
UD
250212011-12-22 Ulrich Drepper <drepper@gmail.com>
25022
27deeafc
UD
25023 [BZ #13166]
25024 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
25025 buffer for the output is too small.
25026
aed9d171
UD
25027 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
25028 optimization.
25029
db910efd
UD
25030 [BZ #13185]
25031 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
25032 SSE flags if possible.
25033
2bd779ae
LD
250342011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25035
e7f9dac3 25036 [BZ #13540]
2bd779ae
LD
25037 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
25038 processing for last bytes.
25039
154bfc16
JM
250402011-12-22 Joseph Myers <joseph@codesourcery.com>
25041
25042 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
25043 (syscall-list-default-options, syscall-list-default-condition)
25044 (syscall-list-includes): Define.
25045 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
25046 list of ABIs and options and #if conditions for each ABI. Do not
25047 handle common syscalls between ABIs specially.
25048 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
25049 Remove.
25050 (syscall-list-variants, syscall-list-32bit-options)
25051 (syscall-list-32bit-condition, syscall-list-64bit-options)
25052 (syscall-list-64bit-condition): Define.
25053 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
25054 (syscall-list-variants, syscall-list-32bit-options)
25055 (syscall-list-32bit-condition, syscall-list-64bit-options)
25056 (syscall-list-64bit-condition): Define.
25057 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
25058 Remove.
25059 (syscall-list-variants, syscall-list-32bit-options)
25060 (syscall-list-32bit-condition, syscall-list-64bit-options)
25061 (syscall-list-64bit-condition): Define.
25062 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
25063 Remove.
25064 (syscall-list-variants, syscall-list-32bit-options)
25065 (syscall-list-32bit-condition, syscall-list-64bit-options)
25066 (syscall-list-64bit-condition): Define.
25067
21eaf3a5
UD
250682011-12-22 Ulrich Drepper <drepper@gmail.com>
25069
16c6f992
UD
25070 * locale/iso-639.def: Add brx entry.
25071
41043168
UD
25072 [BZ #13328]
25073 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
25074 Proposed by Mariusz_Cukr <marcukr@op.pl>.
25075
21eaf3a5
UD
25076 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
25077 __feraiseexcept_renamed.
25078
e3a851a2
UD
250792011-12-21 Ulrich Drepper <drepper@gmail.com>
25080
4920765e
UD
25081 [BZ #13538]
25082 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
25083 EPOLLET with unsigned values.
25084 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25085 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
25086
e3a851a2
UD
25087 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
25088 to large cancellation.
25089 * math/s_cacoshf.c: Likewise.
25090 * math/s_cacoshl.c: Likewise.
25091
b27e24b8
RK
250922011-11-18 Richard B. Kreckel <kreckel@ginac.de>
25093
25094 [BZ #13305]
aebefeee 25095 [BZ #12786]
b27e24b8
RK
25096 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
25097 * math/s_cacoshf.c: Likewise.
25098 * math/s_cacoshl.c: Likewise.
25099
ee190f67
UD
251002011-12-21 Ulrich Drepper <drepper@gmail.com>
25101
25102 [BZ #13439]
25103 * iconv/gconv.h: Define __GCONV_SWAP.
25104 * iconvdata/unicode.c: The swap bit must be stored in __flags.
25105 * iconvdata/utf-16.c: Likewise.
25106 * iconvdata/utf-32.c: Likewise.
25107
707f25df
AS
251082011-12-21 Andreas Schwab <schwab@linux-m68k.org>
25109
25110 [BZ #13524]
25111 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
25112 numerator after shifting it by one limb.
25113
d2daaa1e
RÁE
251142011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
25115
25116 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
25117 under [__USE_EXTERN_INLINES].
25118
a4647e72
UD
251192011-12-17 Ulrich Drepper <drepper@gmail.com>
25120
25121 [BZ #13446]
25122 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
25123
f0b264f1
AZ
251242011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25125
25126 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
25127 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
25128 optimized code.
25129 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
25130 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
25131 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
25132 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
25133 for strncasecmp/strncasecmp_l compilation.
25134 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
25135 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
25136
8ef4f244
MP
251372011-12-08 Marek Polacek <mpolacek@redhat.com>
25138
25139 [BZ #13484]
25140 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
25141 of __asm__.
25142
97ac2654
UD
251432011-12-17 Ulrich Drepper <drepper@gmail.com>
25144
25145 [BZ #13506]
25146 * time/tzfile.c (__tzfile_read): Check values from file header.
25147
91d2a845
WS
251482011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
25149
25150 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
25151 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
25152 * powerpc/powerpc32/dl-start.S: Likewise.
25153 * powerpc/powerpc32/elf/start.S: Likewise.
25154 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
25155 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
25156 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
25157 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
25158 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
25159 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
25160 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
25161 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
25162 * powerpc/powerpc32/fpu/s_round.S: Likewise.
25163 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
25164 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
25165 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
25166 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
25167 * powerpc/powerpc32/memset.S: Likewise.
25168 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
25169 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25170 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25171 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25172 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25173 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
25174 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
25175 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
25176 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
25177 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
25178 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
25179 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
25180 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
25181
a1267ba1
AZ
251822011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25183
25184 * math/libm-test.inc: Added more nearbyint tests.
25185 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
25186 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
25187 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
25188 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
25189
ad8ac1bd
RL
251902011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
25191
25192 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
25193 FD_CLOEXEC.
25194
1d3e4b61
UD
251952011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25196
25197 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
25198 Add wcscpy-ssse3 wcscpy-c.
25199 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
25200 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
25201 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
25202 * sysdeps/x86_64/wcschr.S: New file.
25203 * sysdeps/x86_64/wcsrchr.S: New file.
25204 * string/test-strcmp.c: Remove checking of wcscmp function for
25205 wrong alignments.
25206 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
25207 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
25208 wcsrchr-sse2 wcsrchr-c.
25209 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
25210 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
25211 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
25212 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
25213 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
25214 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
25215 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
25216 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
25217 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
25218 * wcsmbc/wcschr.c (WCSCHR): New macro.
25219
5b330a2d
UD
252202011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25221
25222 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
25223 * wcsmbs/test-wcsrchr.c: New file.
25224 * string/test-strrchr.c: Add wcsrchr support.
25225 (WIDE): New macro.
25226 * wcsmbs/test-wcscpy.c: New file.
25227 * string/test-strcpy.c: Add wcscpy support.
25228 (WIDE): New macro.
26428b7c 25229
f039c043
UD
252302011-12-10 Ulrich Drepper <drepper@gmail.com>
25231
25232 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
25233 the inner loop.
25234
850fb039
AS
252352011-12-06 Andreas Schwab <schwab@linux-m68k.org>
25236
25237 [BZ #13472]
25238 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
25239
4efbd5cb
UD
252402011-12-04 Ulrich Drepper <drepper@gmail.com>
25241
52ff5dd0 25242 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 25243 Minor optimizations.
52ff5dd0 25244
4efbd5cb
UD
25245 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
25246 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
25247 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
25248
8a426e12
UD
252492011-12-03 Ulrich Drepper <drepper@gmail.com>
25250
aff2453d
UD
25251 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
25252 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
25253 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
25254 for gcc to avoid warnings.
25255 * inet/Makefile (tests): Add tst-checks.
25256 * inet/tst-checks.c: New file.
25257
25258 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
25259 warning.
25260
25261 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
25262 __wmemcmp_sse2.
25263
25264 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
25265 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
25266
8a426e12
UD
25267 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
25268
9bea3473
UD
252692011-12-02 Ulrich Drepper <drepper@gmail.com>
25270
3a965496
UD
25271 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
25272 problem.
25273
9bea3473
UD
25274 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
25275
f101631b
UD
252762011-11-29 Joseph Myers <joseph@codesourcery.com>
25277
25278 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
25279 conditional on GCC version.
25280 (__arch_compare_and_exchange_val_8_acq)
25281 (__arch_compare_and_exchange_val_16_acq)
25282 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
25283 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
25284 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
25285
a98275aa
UD
252862011-12-02 Joseph Myers <joseph@codesourcery.com>
25287
25288 * sysdeps/sh/backtrace.c: New file.
25289
d4cc29a2
AS
252902011-12-02 Andreas Schwab <schwab@redhat.com>
25291
25292 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
25293 parenthesis.
25294
6257af2d
AS
252952011-12-01 Andreas Schwab <schwab@redhat.com>
25296
25297 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
25298 falling back to utime.
25299
b5f44c1a
AS
253002011-11-30 Andreas Schwab <schwab@redhat.com>
25301
25302 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
25303 expectations for float.
25304
f3a6cc0a
AS
253052011-11-29 Andreas Schwab <schwab@redhat.com>
25306
25307 * locale/weight.h (findidx): Add parameter len.
25308 * locale/weightwc.h (findidx): Likewise.
25309 * posix/fnmatch_loop.c (FCT): Adjust caller.
25310 * posix/regcomp.c (build_equiv_class): Likewise.
25311 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
25312 * posix/regexec.c (check_node_accept_bytes): Likewise.
25313 * string/strcoll_l.c (STRCOLL): Likewise.
25314 * string/strxfrm_l.c (STRXFRM): Likewise.
25315
9d65ea3a
UD
253162011-11-17 Ulrich Drepper <drepper@gmail.com>
25317
25318 * Makefile.in: Remove CVSOPT handling.
25319 * configure.in: Remove use of AC_REVISION.
25320 * iconvdata/Makefile (distribute): No need to filter out CVS.
25321 * scripts/list-sources.sh: Remove CVS, subversion and monotone
25322 handling.
25323
5583a086
AS
253242011-11-16 Andreas Schwab <schwab@redhat.com>
25325
25326 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
25327 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
25328 [USE_AS_STRNCASECMP_L]: Likewise.
25329 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
25330 NO_TLS_DIRECT_SEG_REFS.
25331 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
25332 Fix argument offsets for non-PIC.
25333 [USE_AS_STRNCASECMP_L]: Likewise.
25334 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
25335 NO_TLS_DIRECT_SEG_REFS.
25336
d62a8200
UD
253372011-11-15 Ulrich Drepper <drepper@gmail.com>
25338
9d65ea3a 25339 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
25340 O_CLOEXEC.
25341 * locale/loadlocale.c (_nl_load_locale): Likewise.
25342
09f93bd3
AS
253432011-11-15 Andreas Schwab <schwab@redhat.com>
25344
446514f9
AS
25345 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
25346 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
25347 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
25348 (SYSCALL_GETTIME): Set errno on error.
25349
09f93bd3
AS
25350 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
25351 count references to noai6ai_cached.
25352
312be3f9
UD
253532011-11-15 Ulrich Drepper <drepper@gmail.com>
25354
25355 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
25356
25357 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
25358 FD_CLOEXEC for /proc/self/maps.
25359
25360 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
25361 FD_CLOEXEC for /proc/meminfo.
25362
25363 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
25364 gai.conf.
25365
25366 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
25367 FD_CLOEXEC for given file.
25368
25369 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
25370
25371 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
25372 FD_CLOEXEC for /etc/hosts.
25373 (_gethtent): Likewise.
25374
25375 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
25376
25377 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
25378 cancellation and set FD_CLOEXEC for /etc/netgroup.
25379
25380 * nss/nss_files/files-key.c (search): Don't allow cancellation when
25381 reading /etc/publickey.
25382
25383 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
25384 allow cancellation when reading /etc/group.
25385
25386 * nss/nss_files/files-alias.c (internal_setent): Don't allow
25387 cancellation.
25388 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
25389
25390 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
25391 when using data file.
25392
25393 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
25394
25395 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
25396 (write_nis_obj): Use "c" and "e" in fopen.
25397
25398 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
25399
25400 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
25401
25402 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
25403
25404 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
25405
25406 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
25407 locale.alias.
25408
25409 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
25410
25411 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
25412
25413 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
25414
25415 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
25416 file parsing and set FD_CLOEXEC.
25417
82af0fa8
UD
254182011-11-14 Ulrich Drepper <drepper@gmail.com>
25419
25420 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
25421
a5fb313c
AS
254222011-11-14 Andreas Schwab <schwab@redhat.com>
25423
25424 * malloc/arena.c (arena_get2): Don't call reused_arena when
25425 _int_new_arena failed.
25426
6abf3465
UD
254272011-11-14 Ulrich Drepper <drepper@gmail.com>
25428
25429 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
25430 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
25431 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
25432 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25433 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25434 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
25435 to compile strcasecmp and strncasecmp.
25436 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
25437 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
25438
25439 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
25440
76e3966e
UD
254412011-11-13 Ulrich Drepper <drepper@gmail.com>
25442
25443 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
25444 locale-defines.sym to gen-as-const-headers.
25445 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
25446 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
25447 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
25448 to compile strcasecmp and strncasecmp.
25449 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
25450 strcasecmp_l and strncasecmp_l.
25451 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
25452 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
25453 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
25454 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
25455 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
25456 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
25457 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
25458 * sysdeps/i386/i686/multiarch/strncase.S: New file.
25459 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
25460 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
25461 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
25462
ab26144e
UD
254632011-11-12 Ulrich Drepper <drepper@gmail.com>
25464
7edb22ef
UD
25465 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
25466 result of SYSDEP_GETTIME_CPU to retval.
25467 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
25468 parameter list to macro. Remove trailing semicolon. Adjust users.
25469
9694fc44
UD
25470 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
25471 variable.
25472
8ad89ef8
UD
25473 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
25474 mantissa words.
25475 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
25476
0c822ef9
UD
25477 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
25478 from unused variable.
25479
874e0564
UD
25480 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
25481 DWARF definitions.
25482 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
25483 for assembling.
25484
3a2edc79
UD
25485 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
25486 over namespaces.
25487
f3c2577f
UD
25488 * sunrpc/rpc_prot.c (rejected): Fix case value.
25489
294ce126
UD
25490 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
25491 unsigned long long int to avoid warnings in shift.
25492
5e2b63c6
UD
25493 * posix/regex_internal.c (re_string_reconstruct): Actually use result
25494 of use of trans.
25495 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
25496 variable tmp.
25497
e7f4b08e
UD
25498 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
25499 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
25500 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
25501
ab26144e
UD
25502 * nis/nis_table.c (nis_list): Use variable of correct type for
25503 result of __follow_path call.
25504
8a6d5255
AZ
255052011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25506
25507 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
25508 of math functions ceil, trunc, floor, round, and sqrt, when
25509 avaliable on the platform.
25510 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
25511 name clash.
25512 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
25513 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
25514 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
25515
aaddc98c
MP
255162011-10-30 Marek Polacek <mpolacek@redhat.com>
25517
25518 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
25519 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
25520
95b7042b
RM
255212011-11-11 Roland McGrath <roland@hack.frob.com>
25522
25523 * include/unistd.h: Fix __readlink return type.
25524 Reported by Chris Metcalf <cmetcalf@tilera.com>.
25525
57769839
UD
255262011-11-11 Ulrich Drepper <drepper@gmail.com>
25527
25528 * stdlib/ucontext.h: Undo last change for makecontext.
25529
edc5984d
AS
255302011-11-11 Andreas Schwab <schwab@redhat.com>
25531
98591e58
AS
25532 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
25533
edc5984d
AS
25534 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
25535 * setjmp/setjmp.h: Mark functions as non-leaf.
25536 * setjmp/bits/setjmp2.h: Likewise.
25537 * stdlib/ucontext.h: Likewise.
25538
77cdc054
AS
255392011-11-10 Andreas Schwab <schwab@redhat.com>
25540
25541 * malloc/arena.c (_int_new_arena): Don't increment narenas.
25542 (reused_arena): Don't check arena limit.
25543 (arena_get2): Atomically check arena limit.
25544
fe72eebd
UD
255452011-11-08 Ulrich Drepper <drepper@gmail.com>
25546
5f078c32
UD
25547 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
25548 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
25549
fe72eebd
UD
25550 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
25551 instructions.
25552
ae1bc2fa
AS
255532011-11-07 Andreas Schwab <schwab@redhat.com>
25554
7583a88d
AS
25555 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
25556 handler when locking.
25557
ae1bc2fa
AS
25558 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
25559 Fix size of allocated buffer.
25560
10fb0bfa
AS
255612011-11-04 Andreas Schwab <schwab@redhat.com>
25562
998832a4
AS
25563 [BZ #10103]
25564 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
25565 declarations for long double functions.
25566 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
25567
10fb0bfa
AS
25568 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
25569
3d7ba52b
AS
255702011-11-03 Andreas Schwab <schwab@redhat.com>
25571
a9ae54a1
AS
25572 * nscd/nscd.c (main): Don't start AVC thread until credentials are
25573 installed.
25574
3d7ba52b
AS
25575 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
25576 is disabled.
25577
bc8db248
ST
255782011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
25579
25580 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
25581
45b96dd6
AS
255822011-11-01 Andreas Schwab <schwab@linux-m68k.org>
25583
647776f6
AS
25584 * include/alloca.h (stackinfo_alloca_round): Define.
25585 (extend_alloca): Use it.
25586 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
25587 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
25588 here.
25589
d91a8b93
AS
25590 * scripts/check-local-headers.sh: Ignore libaudit.h.
25591
45b96dd6
AS
25592 * nscd/Makefile (extra-objs): Make recursively expanded.
25593
432d41ce
UD
255942011-11-01 Ulrich Drepper <drepper@gmail.com>
25595
34372fc6
UD
25596 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
25597 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
25598
fadb59f8
UD
25599 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
25600 * posix/tst-rfc3484-2.c: Likewise.
25601 * posix/tst-rfc3484-3.c: Likewise.
25602
78239589
UD
25603 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
25604 process_vm_writev.
25605 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
25606 process_vm_writev.
25607 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
25608 process_vm_writev from libc using GLIBC_2.15 version.
25609
432d41ce
UD
25610 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
25611
02f9c6cf
PP
256122011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
25613
25614 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
25615 stack usage.
25616
3a2c0242
UD
256172011-10-31 Ulrich Drepper <drepper@gmail.com>
25618
f4ec4833
UD
25619 [BZ #13367]
25620 * nss/getent.c (initgroups_keys): Show error message in case no group
25621 names are given.
25622
3a2c0242
UD
25623 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
25624 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
25625 __bump_nl_timestamp.
25626 * nscd/connections (nscd_init): When host database is served open
25627 netlink socket and request notification about configuration changes.
25628 (main_loop_poll): Track netlink file descriptor and bump timestamp
25629 in case data becomes available.
25630 (main_loop_epoll): Likewise.
25631 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
25632 (database_pers_head): Add extra_data fileds.
25633 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
25634 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
25635 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
25636 Adjust caller.
25637 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
25638 in6ai data, call __free_in6ai.
25639 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
25640 Add -DHAVE_NETLINK.
25641 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
25642 interface information. Reuse previous data if netlink timestamp
25643 is not changed.
25644 (__bump_nl_timestamp): New function.
25645 (__free_in6ai): New function.
25646
636064eb
UD
256472011-10-30 Ulrich Drepper <drepper@gmail.com>
25648
25649 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
25650 close_not_cancel_no_status here.
25651 (__check_pf): Reorganize code a bit to not call close twice if OOM.
25652
9beb2334
UD
256532011-10-29 Ulrich Drepper <drepper@gmail.com>
25654
6ef76f3b
UD
25655 [BZ #13276]
25656 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
25657 return value.
25658
0ffc4f3e 25659 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
25660 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
25661 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
25662
cb95113e
UD
256632011-07-03 Andreas Jaeger <aj@suse.de>
25664
25665 [BZ #10709]
25666 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
25667 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
25668 * math/libm-test.inc (sin_test): Add test case.
25669
a1b560ff
UD
256702011-10-29 Ulrich Drepper <drepper@gmail.com>
25671
c9aaface
UD
25672 [BZ #13337]
25673 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
25674 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
25675
d272e7f1
UD
25676 * elf/chroot_canon.c (chroot_canon): Cleanups.
25677
1bc33071
UD
25678 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
25679
1760874d
TJ
25680 [BZ #13335]
25681 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
25682 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
25683
51d91b18
UD
25684 * string/test-strchr.c: Make usable for strchrnul testing.
25685 * string/test-strchrnul.c: New file.
25686 * string/Makefile (strop-tests): Add strchrnul.
25687
a1b560ff 25688 * po/it.po: Update from translation team.
b611fb81 25689 * po/es.po: Likewise.
a1b560ff 25690
a5b81e1f
UD
256912011-10-28 Ulrich Drepper <drepper@gmail.com>
25692
fd52bc6d
UD
25693 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
25694 the three constants needed as parameters. Drop the others.
25695 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
25696 __m128i_strloadu_tolower.
52e4b9eb
UD
25697 Create and initialize variable zero and use it in all the places
25698 where _mm_setzero_si128 was used.
fd52bc6d 25699
a5b81e1f
UD
25700 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
25701 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
25702 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
25703 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
25704 anymore.
25705 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
25706 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
25707 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
25708 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
25709 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
25710 __mpranred, __mptan.
25711 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
25712 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
25713 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
25714 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
25715 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
25716 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
25717 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
25718 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
25719 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
25720
b4343346
AS
257212011-10-28 Andreas Schwab <schwab@redhat.com>
25722
0c92d8a8
AS
25723 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
25724 redefine if SHARED.
25725 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
25726
b4343346
AS
25727 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
25728 wide char related routines to wcsmbs subdir.
25729
3871f58f
AS
257302011-10-27 Andreas Schwab <schwab@redhat.com>
25731
25732 [BZ #13344]
25733 * misc/sys/cdefs.h (__THROWNL): Define.
25734 * posix/unistd.h: Use __THREADNL instead of __THREAD
25735 for memory synchronization functions.
25736
94d44d9f
RM
257372011-10-26 Roland McGrath <roland@hack.frob.com>
25738
21b64b15 25739 [BZ #13349]
94d44d9f
RM
25740 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
25741 doesn't exist.
25742 * manual/stdio.texi (Obstack Streams): Node removed.
25743
f6ce9294
AS
257442011-10-26 Andreas Schwab <schwab@redhat.com>
25745
80479147
AS
25746 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
25747 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
25748 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
25749
f6ce9294
AS
25750 * math/math_private.h (math_force_eval): Allow non-addressable
25751 arguments.
25752 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
25753
618280a1
UD
257542011-10-25 Ulrich Drepper <drepper@gmail.com>
25755
e0016b11
UD
25756 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
25757 file is not needed.
25758
25759 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
25760 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
25761 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25762 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25763 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25764 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25765 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
25766 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
25767 Add AVX variants.
25768 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
25769 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
25770 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
25771 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
25772 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
25773 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
25774 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
25775 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
25776 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
25777 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
25778 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
25779 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
25780 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
25781 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
25782 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
25783 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
25784 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
25785 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
25786 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
25787
25788 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
25789 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
25790
618280a1
UD
25791 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
25792 place. Use VEX encoding when compiling for AVX.
25793
37822576
AS
257942011-10-25 Andreas Schwab <schwab@redhat.com>
25795
1f1e1947
AS
25796 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
25797 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
25798
37822576
AS
25799 * string/test-strchr.c (do_test): Don't generate NUL bytes.
25800
31ea014d
UD
258012011-10-25 Ulrich Drepper <drepper@gmail.com>
25802
d7826aa1 25803 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 25804 useless if() expression.
d7826aa1
UD
25805 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
25806 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
25807 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25808 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25809 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25810 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
25811 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
25812 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25813 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
25814 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25815 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
25816 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
25817 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
25818 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
25819 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
25820 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
25821 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
25822 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
25823 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
25824
31ea014d
UD
25825 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
25826
16437fec
AS
258272011-10-25 Andreas Schwab <schwab@redhat.com>
25828
25829 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
25830 condition.
25831 * elf/dl-fini.c (_dl_sort_fini): Likewise.
25832
31d3cc00
UD
258332011-10-25 Ulrich Drepper <drepper@gmail.com>
25834
25835 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
25836 .text section. Avoid duplicate constants.
25837 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25838 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25839 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25840 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25841 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25842 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25843 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25844 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25845 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
25846 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
25847 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
25848 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25849 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
25850 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
25851 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
25852 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
25853 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
25854 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
25855 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25856 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25857 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25858 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25859 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25860 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
25861 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
25862 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
25863 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
25864 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
25865 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
25866 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
25867 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
25868 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
25869 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25870 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
25871 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
25872 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
25873 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
25874 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
25875 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
25876 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
25877 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
25878 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
25879 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
25880 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
25881 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
25882
58985aa9
UD
258832011-10-24 Ulrich Drepper <drepper@gmail.com>
25884
202c9deb
UD
25885 * sysdeps/x86_64/dla.h: Move to ...
25886 * sysdeps/x86_64/fpu/dla.h: ...here.
25887 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
25888 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 25889
af968f62
UD
25890 * config.make.in: Add have-mfma4 entry.
25891 * configure.in: Substitute libc_cv_cc_fma4.
25892 * math/Makefile (dbl-only-routines): Add sincostab.
25893 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
25894 Use __sincostab not sincos.
25895 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
25896 name is a macro.
25897 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25898 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25899 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25900 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
25901 using __copysign.
25902 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
25903 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
25904 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
25905 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
25906 and __inv.
25907 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
25908 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
25909 __copysign.
25910 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
25911 define aliases when function name is a macro.
25912 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
25913 sysdeps/ieee754/dbl-64/sincos.tbl.
25914 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
25915 fma4-enabled routines.
25916 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
25917 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
25918 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
25919 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
25920 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
25921 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
25922 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
25923 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
25924 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
25925 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
25926 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
25927 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
25928 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
25929 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
25930 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
25931 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
25932 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
25933 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
25934 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
25935 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
25936 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
25937 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
25938 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
25939 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
25940 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
25941 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
25942 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
25943 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
25944 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
25945 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
25946
58985aa9
UD
25947 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
25948 rename.
25949 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25950 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25951 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25952 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25953 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25954 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25955 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25956 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25957
a201fbcf
AS
259582011-10-24 Andreas Schwab <schwab@redhat.com>
25959
25960 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
25961
fc2ee42a
LD
259622011-10-23 Ulrich Drepper <drepper@gmail.com>
25963
bb3129bd
UD
25964 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
25965
0275fff8
UD
25966 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
25967 prediction.
25968 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
25969
2fa2ae85
UD
25970 * string/strnlen.c: Don't define STRNLEN, reverse logic.
25971 Remove unused variable magic_bits.
25972 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
25973
fc2ee42a
LD
25974 * string/strnlen.c: Define and use STRNLEN macro.
25975 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
25976 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
25977 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
25978 * wcsmbs/wcslen.c: Define and use WCSLEN.
25979 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
25980 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
25981 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
25982 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
25983 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
25984 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
25985 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
25986
ce7dd29f
LD
259872011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25988
25989 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25990 strnlen-sse2-no-bsf.
25991 Rename strlen-no-bsf to strlen-sse2-no-bsf.
25992 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
25993 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
25994 Add strnlen support.
25995 (USE_AS_STRNLEN): New macro.
25996 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
25997 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
25998 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
25999 * sysdeps/x86_64/wcslen.S: New file.
26000
979c70a3
MZ
260012011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
26002
26003 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
26004 XMM-moves are used for copying on small sizes.
26005
2d09f82f
LD
260062011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26007
26008 * wcsmbs/Makefile (strop-tests): Add wcschr.
26009 * wcsmbs/test-wcschr.c: New file.
26010 * string/test-strchr.c: Update.
26011 Add wcschr support.
26012 (WIDE): New macro.
26013
619fccca
LD
260142011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26015
2d09f82f 26016 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
26017 * wcsmbs/test-wcslen.c: New file.
26018 * string/test-strlen.c: Update.
26019 Add wcslen support.
26020 (WIDE): New macro.
26021
09f699ea
UD
260222011-10-23 Ulrich Drepper <drepper@gmail.com>
26023
26024 * po/it.po: Update from translation team.
26025
95584d3b
LD
260262011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26027
26028 * sysdeps/x86_64/wcscmp.S: Update.
26029 Fix wrong comparison semantics.
26030 wcscmp shall use signed comparison not unsigned.
26031 Don't use substraction to avoid overflow bug.
26032 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
26033 * wcsmbc/wcscmp.c: Likewise.
26034 * string/test-strcmp.c: Likewise.
26035 Add new tests to check cases with negative values.
26036
c8b3296b
UD
260372011-10-23 Ulrich Drepper <drepper@gmail.com>
26038
26039 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
26040 * sysdeps/x86_64/dla.h: ...here. New file.
26041 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
26042 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26043 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26044 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26045 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26046 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26047 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26048 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26049 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26050
246ad57a
AS
260512011-10-23 Andreas Schwab <schwab@linux-m68k.org>
26052
26053 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
26054 __ynl_finite aliases.
26055
a1a87169
UD
260562011-10-22 Ulrich Drepper <drepper@gmail.com>
26057
0d355eb7
UD
26058 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26059
a1a87169
UD
26060 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
26061 define DLA_FMA.
26062 [DLA_FMA] (EMULV): Use DLA_FMA.
26063 [DLA_FMA] (MUL12): Use EMULV.
26064 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
26065 that are not needed.
26066 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26067 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26068 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26069 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26070 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26071 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26072 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26073
ee2aafe0
AS
260742011-10-22 Andreas Schwab <schwab@linux-m68k.org>
26075
26076 * math/s_nan.c: Undef __nan.
26077 * math/s_nanf.c: Undef __nanf.
26078 * math/s_nanl.c: Undef __nanl.
26079 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
26080 "math_private.h".
26081
bc62c2fb
UD
260822011-10-22 Ulrich Drepper <drepper@gmail.com>
26083
77425c63
UD
26084 * math/s_catan.c: Add branch predictions.
26085 * math/s_catanf.c: Likewise.
26086 * math/s_catanh.c: Likewise.
26087 * math/s_catanhf.c: Likewise.
26088 * math/s_catanhl.c: Likewise.
26089 * math/s_catanl.c: Likewise.
26090 * math/s_cexp.c: Likewise.
26091 * math/s_cexpf.c: Likewise.
26092 * math/s_cexpl.c: Likewise.
26093 * math/s_clog.c: Likewise.
26094 * math/s_clog10.c: Likewise.
26095 * math/s_clog10f.c: Likewise.
26096 * math/s_clog10l.c: Likewise.
26097 * math/s_clogf.c: Likewise.
26098 * math/s_clogl.c: Likewise.
26099 * math/s_csqrt.c: Likewise.
26100 * math/s_csqrtf.c: Likewise.
26101 * math/s_csqrtl.c: Likewise.
26102 * math/s_ctanf.c: Likewise.
26103 * math/s_ctanh.c: Likewise.
26104 * math/s_ctanhf.c: Likewise.
26105 * math/s_ctanhl.c: Likewise.
26106 * math/s_ctanl.c: Likewise.
26107
bc62c2fb
UD
26108 * math/math_private.h: Define __nan, __nanf, __nanl.
26109 * math/s_cacosh.c: Include <math_private.h>.
26110 * math/s_cacoshl.c: Likewise.
26111 * math/s_casinh.c: Likewise.
26112 * math/s_casinhf.c: Likewise.
26113 * math/s_casinhl.c: Likewise.
26114 * math/s_ccos.c: Rely entire on ccosh.
26115 * math/s_ccosf.c: Rely entire on ccoshf.
26116 * math/s_ccosl.c: Rely entirely on ccoshl.
26117 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
26118 Remove tests for FE_INVALID.
26119 * math/s_ccoshf.c: Likewise.
26120 * math/s_ccoshl.c: Likewise.
26121 * math/s_csin.c: Likewise.
26122 * math/s_csinf.c: Likewise.
26123 * math/s_csinh.c Likewise.
26124 * math/s_csinhf.c: Likewise.
26125 * math/s_csinhl.c: Likewise.
26126 * math/s_csinl.c: Likewise.
26127 * math/s_ctan.c: Likewise.
26128 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
26129 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
26130 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
26131
8ec250a4
UD
261322011-10-21 Ulrich Drepper <drepper@gmail.com>
26133
c196fed8
UD
26134 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
26135 compilation problems.
26136
8ec250a4
UD
26137 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
26138 __builtin_expect.
26139
8d4f46c6
UD
261402011-10-20 Ulrich Drepper <drepper@gmail.com>
26141
ed72b654
UD
26142 * sysdeps/i386/configure.in: Test for -mfma4 option.
26143 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
26144 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
26145 COMMON_CPUID_INDEX_80000001.
26146 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
26147 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
26148 use it if FMA3 is not supported.
26149 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
26150
8d4f46c6
UD
26151 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
26152 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
26153
d45c60c2
AS
261542011-10-20 Andreas Schwab <schwab@redhat.com>
26155
26156 [BZ #12892]
26157 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
26158 it would create a cycle with a link time dependency.
26159
d9a4d2ab
UD
261602011-10-19 Ulrich Drepper <drepper@gmail.com>
26161
855d1560
UD
26162 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
26163 instruction.
26164 * string/Makefile (strop-tests): Add rawmemchr.
26165 * string/test-rawmemchr.c: New file.
26166
d9a4d2ab
UD
26167 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
26168 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
26169 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
26170 when compiling str{,n}casecmp and when AVX is available. Hook up
26171 new optimized code in initializers.
26172
8f3b1ffe
AS
261732011-10-19 Andreas Schwab <schwab@redhat.com>
26174
26175 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
26176 __feraiseexcept instead of feraiseexcept.
26177
d38f1dba
UD
261782011-10-18 Ulrich Drepper <drepper@gmail.com>
26179
d9a8d0ab
UD
26180 * math/math_private.h: Define defaults for libc_fetestexcept and
26181 libc_feupdateenv.
26182 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
26183 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
26184 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
26185 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
26186 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
26187 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
26188 libc_fetestexcept and libc_feupdateenv.
26189
4855e3dd
UD
26190 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
26191 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
26192 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
26193 * sysdeps/x86_64/fpu/math_private.h: Define special version of
26194 libc_feholdexcept_setround.
26195
581d30e3
UD
26196 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
26197 Add s_nearbyint-c and s_nearbyintf-c.
26198 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
26199 nearbyintf inlines.
26200 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
26201 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
26202 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
26203 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
26204
d38f1dba
UD
26205 * math/math_private.h: Define defaults for libc_fegetround,
26206 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
26207 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
26208 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
26209 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
26210 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
26211 standard functions.
26212 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26213 Remove comments and hacks for old compiler versions.
26214 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
26215 libc_fegetround, libc_fesetround, libc_feholdexcept, and
26216 libc_feholdexceptl.
26217
caa6c9d8
AS
262182011-10-18 Andreas Schwab <schwab@redhat.com>
26219
26220 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
26221 (__feraiseexcept_renamed): Add __NTH.
26222 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
26223 namespace violations.
26224
97c066e6
UD
262252011-10-17 Ulrich Drepper <drepper@gmail.com>
26226
99ce7b04
UD
26227 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
26228
1004d182
UD
26229 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
26230
228a984d
UD
26231 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
26232 recently added interfaces.
26233 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
26234
c8553a6a
UD
26235 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
26236 about macro parameter expansion.
26237
ed22dcf6
UD
26238 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
26239 __NO_MATH_INLINES is defined. Cleanups.
26240
26241 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
26242 and __floorf is target has SSE4.1.
26243 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
26244 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
26245 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
26246 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
26247
b171c137
UD
26248 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
26249 name.
26250 (floorf): Likewise.
26251
97c066e6
UD
26252 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
26253
629f62ef
AS
262542011-10-17 Andreas Schwab <schwab@redhat.com>
26255
49a43d80
AS
26256 * misc/sys/cdefs.h: Fix last change.
26257
629f62ef
AS
26258 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
26259 database lookup.
26260
e453f6cd
UD
262612011-10-16 Ulrich Drepper <drepper@gmail.com>
26262
aa78043a
UD
26263 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
26264
ad0f5cad
UD
26265 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
26266 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26267 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
26268 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26269 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26270 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
26271 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26272 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26273 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
26274 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
26275 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
26276 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
26277 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
26278 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
26279 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
26280 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
26281 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
26282 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
26283 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
26284 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
26285 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
26286 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
26287
26288 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
26289 ceil, ceilf, floor, floorf.
26290
26291 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
26292 Perform IRELATIVE relocations last.
26293
e453f6cd
UD
26294 * elf/do-rel.h: Add another parameter nrelative, replacing the
26295 local variable with the same name. Change name of the function
26296 to end in Rel or Rela (uppercase).
26297 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
26298 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
26299 elf_dynamic_do_##reloc function.
26300
fd5bdc09
UD
263012011-10-15 Ulrich Drepper <drepper@gmail.com>
26302
79b195b5
UD
26303 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
26304 is sufficient, at least on modern CPUs.
26305
d4a28569
UD
26306 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
26307
b61099b5
UD
26308 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
26309 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
26310
bcf01e6d
UD
26311 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
26312 __expl_finite.
26313 * math/bits/math-finite.h: Add entries for exp.
26314 * math/e_expl.c: Add __*_finite alias.
26315 * sysdeps/i386/fpu/e_exp.S: Likewise.
26316 * sysdeps/i386/fpu/e_expf.S: Likewise.
26317 * sysdeps/i386/fpu/e_expl.c: Likewise.
26318 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26319 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
26320 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
26321 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26322 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
26323 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
26324 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
26325
ba1a0d59
UD
26326 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
26327 is sufficient, at least on modern CPUs.
26328
fd5bdc09
UD
26329 * ctype/ctype-info.c (__ctype_init): Define.
26330 * include/ctype.h (__ctype_init): Declare.
26331 (__ctype_b_loc): The variable is always initialized.
26332 (__ctype_toupper_loc): Likewise.
26333 (__ctype_tolower_loc): Likewise.
26334 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
26335 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
26336
7872cfb0
AS
263372011-10-15 Andreas Schwab <schwab@linux-m68k.org>
26338
b468825a
AS
26339 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
26340
7872cfb0
AS
26341 * configure.in: Also look in $cxxmachine/include for C++ system
26342 headers.
26343
be13f7bf
LD
263442011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26345
26346 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
26347 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
26348 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
26349 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
26350 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
26351 (USE_AS_WMEMCMP): New macro.
26352 Fixing indents.
26353 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
26354 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
26355 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
26356 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
26357 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26358 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
26359 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
26360 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
26361 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
26362 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
26363 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
26364 (USE_AS_WMEMCMP): New macro.
26365 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
26366 * sysdeps/string/test-memcmp.c: Update.
26367 Fix simple_wmemcmp.
26368 Add new tests.
26369 * wcsmbs/wmemcmp.c: Update.
26370 (WMEMCMP): New macro.
26371 Fix overflow bug.
26372
556a2007
AJ
263732011-10-12 Andreas Jaeger <aj@suse.de>
26374
26375 [BZ #13268]
26376 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
26377
538faaa7
UD
263782011-10-15 Ulrich Drepper <drepper@gmail.com>
26379
ab6737ff
UD
26380 * libio/iofwide.c (do_length): Avoid warning.
26381
538faaa7
UD
26382 * ctype/ctype.h (__isctype_f): Add missing __THROW.
26383
396a21b1
UD
263842011-10-14 Ulrich Drepper <drepper@gmail.com>
26385
cdf2901f
UD
26386 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
26387
38ad40ce
UD
26388 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
26389 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
26390 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
26391 * sysdeps/i386/i686/fpu/e_log.S: New file.
26392 * sysdeps/i386/i686/fpu/e_logf.S: New file.
26393 * sysdeps/i386/i686/fpu/e_logl.S: New file.
26394
396a21b1
UD
26395 * ctype/ctype.h: Add support for inlined isXXX functions when
26396 compiling C++ code.
26397
6b1f68c9
AS
263982011-10-14 Andreas Schwab <schwab@redhat.com>
26399
349290c0
AS
26400 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26401
6b1f68c9
AS
26402 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
26403
f2282d42
RM
264042011-10-13 Roland McGrath <roland@hack.frob.com>
26405
26406 [BZ #13291]
26407 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
26408
5298ffa8
AS
264092011-10-13 Andreas Schwab <schwab@redhat.com>
26410
714fad23
AS
26411 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
26412 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
26413 feraiseexcept.
26414
81dcc7fb
AS
26415 * sysdeps/x86_64/memrchr.S: Check for zero size.
26416
5298ffa8
AS
26417 * string/stratcliff.c: Add memrchr tests.
26418
951fbcec
LD
264192011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26420
26421 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26422 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
26423 rawmemchr-sse2 rawmemchr-sse2-bsf.
26424 * sysdeps/i386/i686/multiarch/memchr.S: New file.
26425 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
26426 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
26427 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
26428 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
26429 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
26430 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
26431 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
26432 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
26433 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
26434 * string/memrchr.c (MEMRCHR): New macro.
26435
0ac5ae23
UD
264362011-10-12 Ulrich Drepper <drepper@gmail.com>
26437
26438 Add integration with gcc's -ffinite-math-only and optimize wrapper
26439 functions in libm.
26440 * Versions.def: Define GLIBC_2.15 version for libm.
26441 * math/Makefile (headers): Add bits/math-finite.h.
26442 * math/bits/math-finite.h: New file.
26443 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
26444 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
26445 * math/e_acoshl.c: Add __*_finite alias.
26446 * math/e_acosl.c: Likewise.
26447 * math/e_asinl.c: Likewise.
26448 * math/e_atan2l.c: Likewise.
26449 * math/e_atanhl.c: Likewise.
26450 * math/e_coshl.c: Likewise.
26451 * math/e_exp10.c: Likewise.
26452 * math/e_exp10f.c: Likewise.
26453 * math/e_exp10l.c: Likewise.
26454 * math/e_exp2l.c: Likewise.
26455 * math/e_fmodl.c: Likewise.
26456 * math/e_gammal_r.c: Likewise.
26457 * math/e_hypotl.c: Likewise.
26458 * math/e_j0l.c: Likewise.
26459 * math/e_j1l.c: Likewise.
26460 * math/e_jnl.c: Likewise.
26461 * math/e_lgammal_r.c: Likewise.
26462 * math/e_log10l.c: Likewise.
26463 * math/e_log2l.c: Likewise.
26464 * math/e_logl.c: Likewise.
26465 * math/e_powl.c: Likewise.
26466 * math/e_sinhl.c: Likewise.
26467 * math/e_sqrtl.c: Likewise.
26468 * math/e_scalb.c: Completely rewritten and optimized.
26469 * math/e_scalbf.c: Likewise.
26470 * math/e_scalbl.c: Likewise.
26471 * math/w_acos.c: Likewise.
26472 * math/w_acosf.c: Likewise.
26473 * math/w_acosl.c: Likewise.
26474 * math/w_acosh.c: Likewise.
26475 * math/w_acoshf.c: Likewise.
26476 * math/w_acoshl.c: Likewise.
26477 * math/w_asin.c: Likewise.
26478 * math/w_asinf.c: Likewise.
26479 * math/w_asinl.c: Likewise.
26480 * math/w_atan2.c: Likewise.
26481 * math/w_atan2f.c: Likewise.
26482 * math/w_atan2l.c: Likewise.
26483 * math/w_atanh.c: Likewise.
26484 * math/w_atanhf.c: Likewise.
26485 * math/w_atanhl.c: Likewise.
26486 * math/w_exp10.c: Likewise.
26487 * math/w_exp10f.c: Likewise.
26488 * math/w_exp10l.c: Likewise.
26489 * math/w_fmod.c: Likewise.
26490 * math/w_fmodf.c: Likewise.
26491 * math/w_fmodl.c: Likewise.
26492 * math/w_j0.c: Likewise.
26493 * math/w_j0f.c: Likewise.
26494 * math/w_j0l.c: Likewise.
26495 * math/w_j1.c: Likewise.
26496 * math/w_j1f.c: Likewise.
26497 * math/w_j1l.c: Likewise.
26498 * math/w_jn.c: Likewise.
26499 * math/w_jnf.c: Likewise.
26500 * math/w_log.c: Likewise.
26501 * math/w_logf.c: Likewise.
26502 * math/w_logl.c: Likewise.
26503 * math/w_log10.c: Likewise.
26504 * math/w_log10f.c: Likewise.
26505 * math/w_log10l.c: Likewise.
26506 * math/w_log2.c: Likewise.
26507 * math/w_log2f.c: Likewise.
26508 * math/w_log2l.c: Likewise.
26509 * math/w_pow.c: Likewise.
26510 * math/w_powf.c: Likewise.
26511 * math/w_powl.c: Likewise.
26512 * math/w_remainder.c: Likewise.
26513 * math/w_remainderf.c: Likewise.
26514 * math/w_remainderl.c: Likewise.
26515 * math/w_scalb.c: Likewise.
26516 * math/w_scalbf.c: Likewise.
26517 * math/w_scalbl.c: Likewise.
26518 * math/w_sqrt.c: Likewise.
26519 * math/w_sqrtf.c: Likewise.
26520 * math/w_sqrtl.c: Likewise.
26521 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
26522 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
26523 used.
26524 * math/math_private.h: Declare __kernel_standard_f.
26525 * math/w_cosh.c: Remove cruft and optimize a bit.
26526 * math/w_coshf.c: Likewise.
26527 * math/w_coshl.c: Likewise.
26528 * math/w_exp2.c: Likewise.
26529 * math/w_exp2f.c: Likewise.
26530 * math/w_exp2l.c: Likewise.
26531 * math/w_hypot.c: Likewise.
26532 * math/w_hypotf.c: Likewise.
26533 * math/w_hypotl.c: Likewise.
26534 * math/w_lgamma.c: Likewise.
26535 * math/w_lgamma_r.c: Likewise.
26536 * math/w_lgammaf.c: Likewise.
26537 * math/w_lgammaf_r.c: Likewise.
26538 * math/w_lgammal.c: Likewise.
26539 * math/w_lgammal_r.c: Likewise.
26540 * math/w_sinh.c: Likewise.
26541 * math/w_sinhf.c: Likewise.
26542 * math/w_sinhl.c: Likewise.
26543 * math/w_tgamma.c: Likewise.
26544 * math/w_tgammaf.c: Likewise.
26545 * math/w_tgammal.c: Likewise.
26546 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
26547 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26548 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
26549 Minor optimizations. Pretty printing. Remove cruft.
26550 * sysdeps/i386/fpu/e_acosf.S: Likewise.
26551 * sysdeps/i386/fpu/e_acosh.S: Likewise.
26552 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
26553 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
26554 * sysdeps/i386/fpu/e_acosl.c: Likewise.
26555 * sysdeps/i386/fpu/e_asin.S: Likewise.
26556 * sysdeps/i386/fpu/e_asinf.S: Likewise.
26557 * sysdeps/i386/fpu/e_atan2.S: Likewise.
26558 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
26559 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
26560 * sysdeps/i386/fpu/e_atanh.S: Likewise.
26561 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
26562 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
26563 * sysdeps/i386/fpu/e_exp10.S: Likewise.
26564 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
26565 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
26566 * sysdeps/i386/fpu/e_exp2.S: Likewise.
26567 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
26568 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
26569 * sysdeps/i386/fpu/e_fmod.S: Likewise.
26570 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
26571 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
26572 * sysdeps/i386/fpu/e_hypot.S: Likewise.
26573 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
26574 * sysdeps/i386/fpu/e_log.S: Likewise.
26575 * sysdeps/i386/fpu/e_log10.S: Likewise.
26576 * sysdeps/i386/fpu/e_log10f.S: Likewise.
26577 * sysdeps/i386/fpu/e_log10l.S: Likewise.
26578 * sysdeps/i386/fpu/e_log2.S: Likewise.
26579 * sysdeps/i386/fpu/e_log2f.S: Likewise.
26580 * sysdeps/i386/fpu/e_log2l.S: Likewise.
26581 * sysdeps/i386/fpu/e_logf.S: Likewise.
26582 * sysdeps/i386/fpu/e_logl.S: Likewise.
26583 * sysdeps/i386/fpu/e_pow.S: Likewise.
26584 * sysdeps/i386/fpu/e_powf.S: Likewise.
26585 * sysdeps/i386/fpu/e_powl.S: Likewise.
26586 * sysdeps/i386/fpu/e_remainder.S: Likewise.
26587 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
26588 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
26589 * sysdeps/i386/fpu/e_scalb.S: Likewise.
26590 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
26591 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
26592 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
26593 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
26594 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
26595 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
26596 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26597 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26598 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
26599 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26600 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
26601 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
26602 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
26603 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26604 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
26605 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
26606 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
26607 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26608 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
26609 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
26610 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26611 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26612 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
26613 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26614 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26615 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
26616 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
26617 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
26618 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
26619 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
26620 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
26621 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
26622 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
26623 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
26624 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
26625 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26626 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
26627 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
26628 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
26629 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
26630 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
26631 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
26632 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
26633 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
26634 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
26635 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
26636 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
26637 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
26638 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
26639 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
26640 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
26641 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
26642 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
26643 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
26644 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
26645 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
26646 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
26647 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
26648 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
26649 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
26650 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
26651 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
26652 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
26653 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
26654 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
26655 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
26656 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
26657 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
26658 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
26659 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
26660 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
26661 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
26662 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
26663 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
26664 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
26665 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
26666 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
26667 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
26668 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
26669 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
26670 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
26671 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
26672 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
26673 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
26674 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
26675 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
26676 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
26677 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
26678 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
26679 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
26680 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
26681 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
26682 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
26683 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
26684 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
26685 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
26686 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
26687 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26688 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
26689 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
26690 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
26691 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
26692 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
26693 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
26694 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
26695 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
26696 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
26697 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
26698 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
26699 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
26700 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
26701 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
26702 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26703 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
26704 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
26705 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
26706 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
26707 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
26708 (__isnanf): Likewise.
26709 (__isinf_ns): Likewise.
26710 (__isinf_nsf): Likewise.
26711 (__finite): Likewise.
26712 (__finitef): Likewise.
26713 (__ieee754_sqrt): Define as macro.
26714 (__ieee754_sqrtf): Define as macro.
26715 (__ieee754_sqrtl): Define as macro.
26716 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
26717 inlined copy.
26718 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
26719 __FINITE_MATH_ONLY__ consistent.
26720 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
26721
12cc2fcd
AS
267222011-10-10 Andreas Schwab <schwab@linux-m68k.org>
26723
a843a204
AS
26724 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
26725 of rawmemchr.
26726
12cc2fcd
AS
26727 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
26728
c853acd5
UD
267292011-10-09 Ulrich Drepper <drepper@gmail.com>
26730
26731 * po/ja.po: Update from translation team.
26732
c658d255
RM
267332011-10-08 Roland McGrath <roland@hack.frob.com>
26734
110946e4
RM
26735 * locale/programs/locarchive.c (prepare_address_space): New function.
26736 (create_archive, enlarge_archive, open_archive): Use it.
26737
50604220
RM
26738 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
26739 inside [SHARED], where it is used.
26740
c658d255
RM
26741 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
26742
26743 * nss/getent.c (netgroup_keys): Remove unused variable.
26744 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
26745
6a621eb7
UD
267462011-10-08 Ulrich Drepper <drepper@gmail.com>
26747
7edb55ce
UD
26748 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
26749 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
26750 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
26751 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
26752 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
26753 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
26754 * math/Makefile (libm-calls): Add s_isinf_ns.
26755 * math/divtc3.c: Use __isinf_nsl instead of isinf.
26756 * math/multc3.c: Likewise.
26757 * math/s_casin.c: Likewise.
26758 * math/s_casinf.c: Likewise.
26759 * math/s_casinl.c: Likewise.
26760 * math/s_ccos.c: Likewise.
26761 * math/s_ccosf.c: Likewise.
26762 * math/s_ccosl.c: Likewise.
26763 * math/s_ctan.c: Likewise.
26764 * math/s_ctanf.c: Likewise.
26765 * math/s_ctanh.c: Likewise.
26766 * math/s_ctanhf.c: Likewise.
26767 * math/s_ctanhl.c: Likewise.
26768 * math/s_ctanl.c: Likewise.
26769 * math/w_fmod.c: Likewise.
26770 * math/w_fmodf.c: Likewise.
26771 * math/w_fmodl.c: Likewise.
26772 * math/w_remainder.c: Likewise.
26773 * math/w_remainderf.c: Likewise.
26774 * math/w_remainderl.c: Likewise.
26775 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
26776 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
26777 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
26778 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
26779 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
26780 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
26781 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
26782 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
26783
187da0ae
UD
26784 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
26785 of the number.
26786 * stdio-common/printf_fphex.c: Likewise.
26787 * stdio-common/printf_size.c: Likewise.
26788
9277c064
UD
26789 * math/e_exp10.c: Include math_private.h using <...> not "...".
26790 * math/e_exp10f.c: Likewise.
26791 * math/e_exp10l.c: Likewise.
26792 * math/e_exp2l.c: Likewise.
26793 * math/e_j0l.c: Likewise.
26794 * math/e_j1l.c: Likewise.
26795 * math/e_jnl.c: Likewise.
26796 * math/e_lgammal_r.c: Likewise.
26797 * math/e_rem_pio2l.c: Likewise.
26798 * math/e_scalb.c: Likewise.
26799 * math/e_scalbf.c: Likewise.
26800 * math/e_scalbl.c: Likewise.
26801 * math/k_cosl.c: Likewise.
26802 * math/k_sinl.c: Likewise.
26803 * math/k_tanl.c: Likewise.
26804 * math/s_cacoshf.c: Likewise.
26805 * math/s_catan.c: Likewise.
26806 * math/s_catanf.c: Likewise.
26807 * math/s_catanh.c: Likewise.
26808 * math/s_catanhf.c: Likewise.
26809 * math/s_catanhl.c: Likewise.
26810 * math/s_catanl.c: Likewise.
26811 * math/s_ccosh.c: Likewise.
26812 * math/s_ccoshf.c: Likewise.
26813 * math/s_ccoshl.c: Likewise.
26814 * math/s_cexp.c: Likewise.
26815 * math/s_cexpf.c: Likewise.
26816 * math/s_cexpl.c: Likewise.
26817 * math/s_clog.c: Likewise.
26818 * math/s_clog10.c: Likewise.
26819 * math/s_clog10f.c: Likewise.
26820 * math/s_clog10l.c: Likewise.
26821 * math/s_clogf.c: Likewise.
26822 * math/s_clogl.c: Likewise.
26823 * math/s_csin.c: Likewise.
26824 * math/s_csinf.c: Likewise.
26825 * math/s_csinh.c: Likewise.
26826 * math/s_csinhf.c: Likewise.
26827 * math/s_csinhl.c: Likewise.
26828 * math/s_csinl.c: Likewise.
26829 * math/s_csqrt.c: Likewise.
26830 * math/s_csqrtf.c: Likewise.
26831 * math/s_csqrtl.c: Likewise.
26832 * math/s_ctan.c: Likewise.
26833 * math/s_ctanf.c: Likewise.
26834 * math/s_ctanh.c: Likewise.
26835 * math/s_ctanhf.c: Likewise.
26836 * math/s_ctanhl.c: Likewise.
26837 * math/s_ctanl.c: Likewise.
26838 * math/s_ldexp.c: Likewise.
26839 * math/s_ldexpf.c: Likewise.
26840 * math/s_ldexpl.c: Likewise.
26841 * math/s_significand.c: Likewise.
26842 * math/s_significandf.c: Likewise.
26843 * math/s_significandl.c: Likewise.
26844 * math/w_acos.c: Likewise.
26845 * math/w_acosf.c: Likewise.
26846 * math/w_acosh.c: Likewise.
26847 * math/w_acoshf.c: Likewise.
26848 * math/w_acoshl.c: Likewise.
26849 * math/w_acosl.c: Likewise.
26850 * math/w_asin.c: Likewise.
26851 * math/w_asinf.c: Likewise.
26852 * math/w_asinl.c: Likewise.
26853 * math/w_atan2.c: Likewise.
26854 * math/w_atan2f.c: Likewise.
26855 * math/w_atan2l.c: Likewise.
26856 * math/w_atanh.c: Likewise.
26857 * math/w_atanhf.c: Likewise.
26858 * math/w_atanhl.c: Likewise.
26859 * math/w_cosh.c: Likewise.
26860 * math/w_coshf.c: Likewise.
26861 * math/w_coshl.c: Likewise.
26862 * math/w_dremf.c: Likewise.
26863 * math/w_exp10.c: Likewise.
26864 * math/w_exp10f.c: Likewise.
26865 * math/w_exp10l.c: Likewise.
26866 * math/w_exp2.c: Likewise.
26867 * math/w_exp2f.c: Likewise.
26868 * math/w_fmod.c: Likewise.
26869 * math/w_fmodf.c: Likewise.
26870 * math/w_fmodl.c: Likewise.
26871 * math/w_hypot.c: Likewise.
26872 * math/w_hypotf.c: Likewise.
26873 * math/w_hypotl.c: Likewise.
26874 * math/w_j0.c: Likewise.
26875 * math/w_j0f.c: Likewise.
26876 * math/w_j0l.c: Likewise.
26877 * math/w_j1.c: Likewise.
26878 * math/w_j1f.c: Likewise.
26879 * math/w_j1l.c: Likewise.
26880 * math/w_jn.c: Likewise.
26881 * math/w_jnf.c: Likewise.
26882 * math/w_jnl.c: Likewise.
26883 * math/w_lgamma.c: Likewise.
26884 * math/w_lgamma_r.c: Likewise.
26885 * math/w_lgammaf.c: Likewise.
26886 * math/w_lgammaf_r.c: Likewise.
26887 * math/w_lgammal.c: Likewise.
26888 * math/w_lgammal_r.c: Likewise.
26889 * math/w_log.c: Likewise.
26890 * math/w_log10.c: Likewise.
26891 * math/w_log10f.c: Likewise.
26892 * math/w_log10l.c: Likewise.
26893 * math/w_log2.c: Likewise.
26894 * math/w_log2f.c: Likewise.
26895 * math/w_log2l.c: Likewise.
26896 * math/w_logf.c: Likewise.
26897 * math/w_logl.c: Likewise.
26898 * math/w_pow.c: Likewise.
26899 * math/w_powf.c: Likewise.
26900 * math/w_powl.c: Likewise.
26901 * math/w_remainder.c: Likewise.
26902 * math/w_remainderf.c: Likewise.
26903 * math/w_remainderl.c: Likewise.
26904 * math/w_scalb.c: Likewise.
26905 * math/w_scalbf.c: Likewise.
26906 * math/w_scalbl.c: Likewise.
26907 * math/w_sinh.c: Likewise.
26908 * math/w_sinhf.c: Likewise.
26909 * math/w_sinhl.c: Likewise.
26910 * math/w_sqrt.c: Likewise.
26911 * math/w_sqrtf.c: Likewise.
26912 * math/w_sqrtl.c: Likewise.
26913 * math/w_tgamma.c: Likewise.
26914 * math/w_tgammaf.c: Likewise.
26915 * math/w_tgammal.c: Likewise.
26916
6a621eb7
UD
26917 * po/ja.po: Update from translation team.
26918
bf582445
AJ
269192011-09-29 Andreas Jaeger <aj@suse.de>
26920
f9efbf3a
AJ
26921 [BZ #13179]
26922 * sunrpc/netname.c (netname2host): Fix logic.
26923
bf582445
AJ
26924 [BZ #6779]
26925 [BZ #6783]
26926 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
26927 correctly.
26928 * math/w_remainder.c (__remainder): Likewise.
26929 * math/w_remainderf.c (__remainderf): Likewise.
26930 * math/libm-test.inc (remainder_test): Add test cases.
26931
48693bea
AK
269322011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26933
26934 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
26935 sdiv_qrnnd.
26936
42622229
LD
269372011-10-07 Ulrich Drepper <drepper@gmail.com>
26938
26939 * string/test-memcmp.c: Avoid unncessary #defines.
26940 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
26941
093ecf92
LD
269422011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26943
26944 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
26945 Use new sse2 version for core i3 - i7 as it's faster
26946 than sse42 version.
26947 (bit_Prefer_PMINUB_for_stringop): New.
26948 * sysdeps/x86_64/rawmemchr.S: Update.
26949 Replace with faster SSE2 version.
26950 * sysdeps/x86_64/memrchr.S: New file.
26951 * sysdeps/x86_64/memchr.S: Update.
26952 Replace with faster SSE2 version.
26953
fde56e5c
MP
269542011-09-12 Marek Polacek <mpolacek@redhat.com>
26955
26956 * elf/dl-load.c (lose): Add cast to avoid warning.
26957
21fd49a9
UD
269582011-10-07 Ulrich Drepper <drepper@gmail.com>
26959
5a06e643
UD
26960 * po/ca.po: Update from translation team.
26961
684ae515
UD
26962 * inet/getnetgrent_r.c: Hook up nscd.
26963 * nscd/Makefile (routines): Add nscd_netgroup.
26964 (nscd-modules): Add netgroupcache.
26965 (CFLAGS-netgroupcache.c): Define.
26966 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
26967 (cache_search): Add const to second parameter.
26968 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
26969 INNETGR.
26970 (dbs): Add netgrdb entry.
26971 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
26972 (verify_persistent_db): Handle netgrdb.
26973 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
26974 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
26975 GETFDNETGR.
26976 (netgroup_response_header): Define.
26977 (innetgroup_response_header): Define.
26978 (datahead): Add netgroup_response_header and innetgroup_response_header
26979 elements.
26980 * nscd/nscd.conf: Add entries for netgroup cache.
26981 * nscd/nscd.h (dbtype): Add netgrdb.
26982 (_PATH_NSCD_NETGROUP_DB): Define.
26983 (netgroup_iov_disabled): Declare.
26984 (xmalloc, xcalloc, xrealloc): Move declarations here.
26985 (cache_search): Adjust prototype.
26986 Add netgroup-related prototypes.
26987 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
26988 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
26989 (__nscd_innetgr): Declare.
26990 * nscd/selinux.c (perms): Use access_vector_t as element type and
26991 add netgroup-related initializers.
26992 * nscd/netgroupcache.c: New file.
26993 * nscd/nscd_netgroup.c: New file.
26994 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
26995 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
26996 For four parameters use innetgr.
26997 * nss/nss_files/files-init.c: Add definition and callback for netgr.
26998 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
26999 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
27000 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
27001
21fd49a9
UD
27002 * nscd/connections.c (register_traced_file): Don't register file
27003 for disabled databases.
27004
054c0457
UD
270052011-10-06 Ulrich Drepper <drepper@gmail.com>
27006
32b63198
UD
27007 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
27008
054c0457
UD
27009 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
27010 from tree and freeing node.
27011
64031225
JO
270122011-09-25 Jiri Olsa <jolsa@redhat.com>
27013
27014 * nss/nsswitch.c (__nss_database_lookup): Handle
27015 nss_parse_service_list out of memory case.
27016
0490345c
JO
270172011-09-15 Jiri Olsa <jolsa@redhat.com>
27018
27019 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
27020 out of memory case.
27021
3a62d00d
AS
270222011-10-04 Andreas Schwab <schwab@redhat.com>
27023
27024 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
27025 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
27026 pass it down.
27027 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
27028 elf_machine_rela, elf_machine_lazy_rel.
27029 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
27030 (ELF_DYNAMIC_DO_REL): Likewise.
27031 (ELF_DYNAMIC_DO_RELA): Likewise.
27032 (ELF_DYNAMIC_RELOCATE): Likewise.
27033 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
27034 to ELF_DYNAMIC_DO_REL.
27035 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
27036 (dl_main): In trace mode always set __RTLD_NOIFUNC.
27037 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
27038 elf_machine_rela.
27039 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
27040 skip_ifunc, don't call ifunc function if non-zero.
27041 (elf_machine_rela): Likewise.
27042 (elf_machine_lazy_rel): Likewise.
27043 (elf_machine_lazy_rela): Likewise.
27044 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
27045 (elf_machine_lazy_rel): Likewise.
27046 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
27047 Likewise.
27048 (elf_machine_lazy_rel): Likewise.
27049 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27050 Likewise.
27051 (elf_machine_lazy_rel): Likewise.
27052 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
27053 (elf_machine_lazy_rel): Likewise.
27054 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
27055 (elf_machine_lazy_rel): Likewise.
27056 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
27057 (elf_machine_lazy_rel): Likewise.
27058 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
27059 (elf_machine_lazy_rel): Likewise.
27060 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
27061 (elf_machine_lazy_rel): Likewise.
27062 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
27063 (elf_machine_lazy_rel): Likewise.
27064
68577918
UD
270652011-09-28 Ulrich Drepper <drepper@gmail.com>
27066
27067 * nss/nss_files/files-init.c (_nss_files_init): Use static
27068 initialization for all the *_traced_file variables.
27069
68822d74
AS
270702011-09-28 Andreas Schwab <schwab@redhat.com>
27071
27072 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27073
2056100b
RM
270742011-09-27 Roland McGrath <roland@hack.frob.com>
27075
27076 [BZ #13226]
27077 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
27078
32c76b63
AS
270792011-09-27 Andreas Schwab <schwab@redhat.com>
27080
27081 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
27082 Reread the line before reparsing it.
27083
bf972c9d
AS
270842011-09-26 Andreas Schwab <schwab@redhat.com>
27085
27086 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
27087
e057a1b5
JM
270882011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
27089 Maxim Kuvyrkov <maxim@codesourcery.com>
27090 Joseph Myers <joseph@codesourcery.com>
27091
27092 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
27093 if needed for __stack_chk_guard.
27094
bc7e1c36
RM
270952011-09-19 Roland McGrath <roland@hack.frob.com>
27096
ecb1482f
RM
27097 * sysdeps/posix/spawni.c (script_execute): Always define it.
27098 It will be optimized away if unused.
27099 (maybe_script_execute): New function.
27100 (__spawni): Call it.
27101
bc7e1c36
RM
27102 * Makerules: Don't include tls.make.
27103 (config-tls): Always set to thread.
27104 * tls.make.c: File removed.
27105
1c3b002b
MF
271062011-09-19 Mike Frysinger <vapier@gentoo.org>
27107
27108 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
27109 * config.make.in (CPPFLAGS-config): New substituted variable.
27110
2840865d
UD
271112011-09-15 Ulrich Drepper <drepper@gmail.com>
27112
88738eb6
UD
27113 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
27114
cbf645a6 27115 [BZ #13192]
2840865d
UD
27116 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
27117 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
27118
b402e91a
RM
271192011-09-15 Roland McGrath <roland@hack.frob.com>
27120
27121 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
27122 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
27123 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
27124 (CALL_FAIL): Likewise.
27125 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
27126 (CALL_FAIL): Macro removed.
27127 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
27128
4c1a1f71
UD
271292011-09-15 Ulrich Drepper <drepper@gmail.com>
27130
27131 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
27132 for __FINITE_MATH_ONLY__ == 1.
27133
edc121be
AS
271342011-09-15 Andreas Schwab <schwab@redhat.com>
27135
27136 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
27137 __ieee754_sqrt instead of sqrt.
27138 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
27139 __ieee754_sqrtf instead of sqrtf.
27140 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
27141 __floorf instead of floorf.
27142 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
27143 __floorf, __truncf instead of floorf, truncf.
27144
cd205654
UD
271452011-09-14 Ulrich Drepper <drepper@gmail.com>
27146
ee4d0315
UD
27147 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
27148
cd205654
UD
27149 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
27150 __extern_always_inline.
27151 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
27152 32-bit.
27153
48b67d71
AS
271542011-09-14 Andreas Schwab <schwab@redhat.com>
27155
27156 * elf/rtld.c (dl_main): Also relocate in dependency order when
27157 doing symbol dependency testing.
27158
1ae12c75
AS
271592011-09-13 Andreas Schwab <schwab@linux-m68k.org>
27160
27161 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27162 Always define `refsym'.
27163
995a80df
AS
271642011-09-13 Andreas Schwab <schwab@redhat.com>
27165
e529793b
AS
27166 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
27167 (__FD_ELT): Renamed from __FDELT.
27168 * misc/bits/select2.h (__FD_ELT): Likewise.
27169 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
27170 __FD_MASK instead of __FDELT, __FDMASK.
27171 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
27172 Likewise.
27173 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
27174 Likewise.
27175
52d4fef8
AS
27176 * elf/Makefile (gen-ldd): Fix pattern.
27177
995a80df
AS
27178 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
27179 (init_tls): Likewise.
27180
8682f8b0
UD
271812011-09-12 Ulrich Drepper <drepper@gmail.com>
27182
27183 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
27184
de82006d
AS
271852011-09-12 Andreas Schwab <schwab@redhat.com>
27186
a7c8e6a1
AS
27187 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
27188 `struct cmsghdr *' instead of `void *'.
27189 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
27190 Likewise.
27191
0f31fe77
AS
271922011-09-11 Andreas Schwab <schwab@linux-m68k.org>
27193
27194 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
27195 if non-absolute.
27196 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
27197 ldd_rewrite_script.
0f31fe77 27198
32b4c839
UD
271992011-09-11 Ulrich Drepper <drepper@gmail.com>
27200
83cd1420
UD
27201 * configure.in: Remove --with-tls option.
27202 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
27203 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
27204 out in case it is missing.
27205 * sysdeps/ia64/elf/configure.in: Likewise.
27206 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
27207 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
27208 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
27209 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
27210 * sysdeps/sh/elf/configure.in: Likewise.
27211 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
27212 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
27213 * sysdeps/x86_64/elf/configure.in: Likewise.
27214 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
27215 * sysdeps/mach/hurd/tls.h: Likewise.
27216
633f745d
UD
27217 [BZ #13067]
27218 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
27219
f318beb8
UD
27220 [BZ #13090]
27221 * configure.in: Fix use of AC_INIT.
27222
32b4c839
UD
27223 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
27224
3ce1f295
UD
272252011-09-10 Ulrich Drepper <drepper@gmail.com>
27226
bb016596
UD
27227 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
27228 __set_errno.
8e58439c
UD
27229 * malloc/hooks.c: Likewise.
27230
aebae053 27231 [BZ #11929]
02d46fc4
UD
27232 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
27233 variables statically.
27234 (narenas): Initialize.
27235 (list_lock): Initialize.
bb016596
UD
27236 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
27237 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
27238 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
27239 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
27240 Add initializers to main_arena and mp_.
27241 (malloc_state): Remove pagesize member. Change all users to use
27242 GLRO(dl_pagesize).
27243
27244 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
27245 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
27246 is always initialized.
27247
22a89187
UD
27248 * malloc/malloc.c: Removed unused configurations and dead code.
27249 * malloc/arena.c: Likewise.
27250 * malloc/hooks.c: Likewise.
02d46fc4 27251 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 27252
d063d164
UD
27253 * include/tls.h: Removed. USE___THREAD must always be defined.
27254 * bits/libc-tsd.h: Don't handle !USE___THREAD.
27255 * elf/dl-libc.c: Likewise.
27256 * elf/dl-tsd.c: Likewise.
27257 * include/errno.h: Likewise.
27258 * include/netdb.h: Likewise.
27259 * include/resolv.h: Likewise.
27260 * inet/herrno-loc.c: Likewise.
27261 * inet/herrno.c: Likewise.
27262 * malloc/arena.c: Likewise.
27263 * malloc/hooks.c: Likewise.
27264 * malloc/malloc.c: Likewise.
27265 * resolv/res-state.c: Likewise.
27266 * resolv/res_libc.c: Likewise.
27267 * sysdeps/i386/dl-machine.h: Likewise.
27268 * sysdeps/ia64/dl-machine.h: Likewise.
27269 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
27270 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
27271 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
27272 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
27273 * sysdeps/sh/dl-machine.h: Likewise.
27274 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
27275 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
27276 * sysdeps/unix/i386/sysdep.S: Likewise.
27277 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27278 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
27279 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
27280 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27281 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
27282 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27283 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27284 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27285 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27286 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27287 * sysdeps/unix/x86_64/sysdep.S: Likewise.
27288 * sysdeps/x86_64/dl-machine.h: Likewise.
27289 * tls.make.c: Likewise.
27290
3ce1f295
UD
27291 * configure.in: Remove --with-__thread option. Make tests for
27292 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
27293 tls_model attribute fail if no support is available. Remove
27294 USE_IN_LIBIO.
27295 * Makeconfig: Adjust for dropped configure option. All features are
27296 now mandatory.
27297 * Makerules: Likewise.
27298 * Versions.def: Likewise.
27299 * argp/argp-fmtstream.c: Likewise.
27300 * argp/argp-fmtstream.h: Likewise.
27301 * argp/argp-help.c: Likewise.
27302 * assert/assert.c: Likewise.
27303 * config.h.in: Likewise.
27304 * config.make.in: Likewise.
27305 * configure: Likewise.
27306 * configure.in: Likewise.
27307 * csu/Versions: Likewise.
27308 * csu/init.c: Likewise.
27309 * elf/tst-audit2.c: Likewise.
27310 * elf/tst-tls10.c: Likewise.
27311 * elf/tst-tls10.h: Likewise.
27312 * elf/tst-tls11.c: Likewise.
27313 * elf/tst-tls12.c: Likewise.
27314 * elf/tst-tls14.c: Likewise.
27315 * elf/tst-tlsmod11.c: Likewise.
27316 * elf/tst-tlsmod12.c: Likewise.
27317 * elf/tst-tlsmod13.c: Likewise.
27318 * elf/tst-tlsmod13a.c: Likewise.
27319 * elf/tst-tlsmod14a.c: Likewise.
27320 * elf/tst-tlsmod15b.c: Likewise.
27321 * elf/tst-tlsmod16a.c: Likewise.
27322 * elf/tst-tlsmod16b.c: Likewise.
27323 * elf/tst-tlsmod7.c: Likewise.
27324 * elf/tst-tlsmod8.c: Likewise.
27325 * elf/tst-tlsmod9.c: Likewise.
27326 * gmon/gmon.c: Likewise.
27327 * grp/fgetgrent_r.c: Likewise.
27328 * grp/putgrent.c: Likewise.
27329 * hurd/fopenport.c: Likewise.
27330 * include/libc-symbols.h: Likewise.
27331 * include/tls.h: Likewise.
27332 * intl/gettextP.h: Likewise.
27333 * intl/loadinfo.h: Likewise.
27334 * locale/global-locale.c: Likewise.
27335 * locale/localeinfo.h: Likewise.
27336 * mach/devstream.c: Likewise.
27337 * malloc/arena.c: Likewise.
27338 * malloc/set-freeres.c: Likewise.
27339 * misc/err.c: Likewise.
27340 * misc/getttyent.c: Likewise.
27341 * misc/mntent_r.c: Likewise.
27342 * posix/getopt.c: Likewise.
27343 * posix/wordexp.c: Likewise.
27344 * pwd/fgetpwent_r.c: Likewise.
27345 * resolv/Versions: Likewise.
27346 * resolv/res_hconf.c: Likewise.
27347 * shadow/fgetspent_r.c: Likewise.
27348 * shadow/putspent.c: Likewise.
27349 * stdio-common/printf_fphex.c: Likewise.
27350 * stdio-common/tmpfile.c: Likewise.
27351 * stdlib/abort.c: Likewise.
27352 * stdlib/fmtmsg.c: Likewise.
27353 * sunrpc/auth_unix.c: Likewise.
27354 * sunrpc/clnt_perr.c: Likewise.
27355 * sunrpc/clnt_tcp.c: Likewise.
27356 * sunrpc/clnt_udp.c: Likewise.
27357 * sunrpc/clnt_unix.c: Likewise.
27358 * sunrpc/openchild.c: Likewise.
27359 * sunrpc/svc_simple.c: Likewise.
27360 * sunrpc/svc_tcp.c: Likewise.
27361 * sunrpc/svc_udp.c: Likewise.
27362 * sunrpc/svc_unix.c: Likewise.
27363 * sunrpc/xdr.c: Likewise.
27364 * sunrpc/xdr_array.c: Likewise.
27365 * sunrpc/xdr_rec.c: Likewise.
27366 * sunrpc/xdr_ref.c: Likewise.
27367 * sunrpc/xdr_stdio.c: Likewise.
27368
1248c1c4
PB
273692011-09-09 Ulrich Drepper <drepper@gmail.com>
27370
27371 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27372
273732011-07-03 Andreas Jaeger <aj@suse.de>
27374
27375 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
27376 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
27377 regenerate with gen-libm-tests.pl.
27378
273792010-05-12 Petr Baudis <pasky@suse.cz>
27380
27381 [BZ #11589]
27382 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
27383 around j0() zero points by switching to j1().
27384 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27385 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27386 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27387 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27388
f22e1074
UD
273892011-09-09 Ulrich Drepper <drepper@gmail.com>
27390
f19009c1
UD
27391 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
27392 instead of 0.
27393 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 27394 instead of 0.
f19009c1
UD
27395 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27396 Patch in part by Pavel Roskin <proski@gnu.org>.
27397
3f8cc204
UD
27398 [BZ #13138]
27399 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
27400 realloc.
27401 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
27402 Free memory block if necessary.
27403
f22e1074
UD
27404 [BZ #12847]
27405 * libio/genops.c (INTDEF): For string streams the _lock pointer can
27406 be NULL. Don't lock in this case.
27407
0a2349f9
RM
274082011-09-09 Roland McGrath <roland@hack.frob.com>
27409
27410 * elf/elf.h (ELFOSABI_GNU): New macro.
27411 (ELFOSABI_LINUX): Define to that.
27412
f3cdd467
DZ
274132011-07-29 Denis Zaitceff <zaitceff@gmail.com>
27414
27415 * string/strncat.c (strncat): Undef the symbol in case it has been
27416 defined in bits/string.h.
27417
74718d13
UD
274182011-09-09 Ulrich Drepper <drepper@gmail.com>
27419
633e9e0f
UD
27420 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
27421
0a2349f9 27422 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
27423 link map.
27424
f9924780
AJ
274252011-08-17 Andreas Jaeger <aj@suse.de>
27426
27427 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
27428
7f5517aa
PP
274292011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
27430 Ian Lance Taylor <iant@google.com>
27431
27432 * math/libm-test.inc (lround_test): New testcase.
27433 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
27434
762011fe
UD
274352011-09-08 Ulrich Drepper <drepper@gmail.com>
27436
92963737
UD
27437 * Makefile: Remove support for automatic cvs check-ins.
27438 * Makerules: Likewise.
27439 * config.make.in: Likewise.
27440 * configure.in: Likewise.
27441 * intl/Makefile: Likewise.
27442 * locale/Makefile: Likewise.
27443 * po/Makefile: Likewise.
27444 * posix/Makefile: Likewise.
27445 * sysdeps/gnu/Makefile: Likewise.
27446 * sysdeps/mach/hurd/Makefile: Likewise.
27447 * sysdeps/sparc/sparc32/Makefile: Likewise.
27448
b0727fd8
JS
27449 [BZ #13118]
27450 * posix/Makefile (bug-regex32-ENV): Define.
27451 Patch by John Stanley <jpsinthemix@verizon.net>.
27452
a0f33f99
UD
27453 * misc/Makefile (headers): Add bits/select2.h.
27454 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
27455 * misc/bits/select2.h: New file.
27456 * include/bits/select2.h: New file.
27457 * debug/Makefile (routines): Add fdelt_chk.
27458 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
27459 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
27460 FD_ISSET.
27461 * debug/fdelt_chk.c: New file.
27462
762011fe
UD
27463 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
27464 * wcsmbs/test-wmemcmp.c: Likewise.
27465 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 27466 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
27467
274682011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27469
27470 * string/Makefile (strop-tests): Add memcmp.
27471 * string/test-wmemcmp.c: New file.
27472 * string/test-memcmp.c: Add wmemcmp support.
27473
7f513ec8
RM
274742011-09-08 Roland McGrath <roland@hack.frob.com>
27475
0442afb4
RM
27476 [BZ #13153]
27477 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
27478 2011-07-19 change.
27479
7f513ec8
RM
27480 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
27481 garbage value in a __mach_port_mod_refs call in the cases of the
27482 task-self and thread-self ports.
27483
a12b2239
ST
274842011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
27485
27486 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
27487
610f9ab4
AS
274882011-09-08 Andreas Schwab <schwab@redhat.com>
27489
7f513ec8 27490 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 27491
48882a1a
LD
274922011-09-07 Ulrich Drepper <drepper@gmail.com>
27493
b49865be
UD
27494 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
27495
fdc86bc9
UD
27496 * elf/dl-libc.c (dlerror_run): Pass back error code from
27497 dl_catch_error.
27498
c966526a
UD
27499 [BZ #13123]
27500 * elf/dl-load.c (lose): Free l_origin if it is valid.
27501
48882a1a
LD
27502 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
27503 names.
27504 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
27505 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
27506 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
27507 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
27508 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
27509 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
27510
77a2a8b4
AZ
275112011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27512
27513 * sysdeps/powerpc/fpu/e_hypot.c: New file.
27514 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
27515 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
27516 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
27517 * sysdeps/powerpc/fpu/k_cosf.c: New file.
27518 * sysdeps/powerpc/fpu/k_sinf.c: New file.
27519 * sysdeps/powerpc/fpu/s_cosf.c: New file.
27520 * sysdeps/powerpc/fpu/s_sinf.c: New file.
27521 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
27522 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
27523
24f579d8
AM
275242011-08-15 Alan Modra <amodra@gmail.com>
27525
27526 [BZ #13092]
27527 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
27528 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
27529 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
27530 ppc_mcount to static-only-routines.
27531 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
27532 __mcount_internal.
27533 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
27534 __mcount_internal with usual JUMPTARGET. Remove useless nop.
27535
3d4837df
UD
275362011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
27537
27538 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
27539 for finite and infinity parameters.
27540
22700377
WS
275412011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
27542
27543 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
27544 and add nop instructions for throughput optimization.
27545 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
27546
5025581e
WS
275472011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
27548
27549 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
27550 aligned copy for power7 with vector-scalar instructions.
27551 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
27552
08a300c9
L
275532011-07-24 H.J. Lu <hongjiu.lu@intel.com>
27554
27555 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
27556 AVX check.
27557
59178ef9
AS
275582011-09-07 Andreas Schwab <schwab@redhat.com>
27559
27560 [BZ #13144]
27561 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
27562 last change.
27563
e38ba7ab
UD
275642011-09-07 Ulrich Drepper <drepper@gmail.com>
27565
27566 * sysdeps/unix/sysv/linux/x86_64/init-first.c
27567 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
27568 syscall wrapper around clock_gettime in __vdso_clock_gettime.
27569 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
27570 clock_gettime.
27571
d53a73ac
UD
275722011-09-06 Ulrich Drepper <drepper@gmail.com>
27573
fc8bffcc
UD
27574 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
27575 Forgot to demangle the pointer.
27576
ceaa0c5d
UD
27577 * sysdeps/i386/sysdep.h: Define atom_text_section.
27578 * sysdeps/x86_64/sysdep.h: Likewise.
27579 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
27580 section with atom_text_section.
27581 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
27582 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
27583 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
27584 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
27585 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
27586
a77d3c17
UD
27587 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
27588 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
27589 already be defined. Change to take two parameters and don't assign
27590 result to variable. Adjust all users.
27591 Define INTERNAL_GETTIME if not already defined.
27592 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
27593 call.
27594 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
27595 HAVE_CLOCK_GETTIME_VSYSCALL.
27596 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
27597
d53a73ac
UD
27598 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
27599 gettimeofday vsyscall, just use time.
27600
a8f84144
AS
276012011-09-06 Andreas Schwab <schwab@redhat.com>
27602
27603 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
27604 <errno.h>.
27605
ef606249
UD
276062011-09-06 Ulrich Drepper <drepper@gmail.com>
27607
27608 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
27609 syscall on x86-64.
27610 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
27611 syscall.
27612 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
27613 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
27614 syscall if possible.
27615
6585cb60
UD
276162011-09-05 Ulrich Drepper <drepper@gmail.com>
27617
27618 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
27619 e_ident. Don't pass to find_mapsXX.
27620 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
27621
a5f524e4
LD
276222011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27623
27624 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27625 strchr-sse2-no-bsf strrchr-sse2-no-bsf
27626 * sysdeps/x86_64/multiarch/strchr.S: Update.
27627 Check bit_slow_BSF bit.
27628 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
27629 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
27630 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
27631
554881ef
UD
276322011-09-05 Ulrich Drepper <drepper@gmail.com>
27633
d96de963
UD
27634 [BZ #13134]
27635 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
27636 before glibc 2.15.
27637 (tryshell): Define.
27638 (__spawni): Change last parameter to be flag. Test
27639 SPAWN_XFLAGS_USE_PATH flag to use path or not.
27640 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
27641 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
27642 * posix/spawni.c: Likewise.
27643 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
27644 * posix/spawnp.c: Likewise. Change normal version to use
27645 SPAWN_XFLAGS_USE_PATH.
27646 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
27647 SPAWN_XFLAGS_TRY_SHELL.
27648
d48e5868
UD
27649 [BZ #13150]
27650 * posix/glob.h: Remove gcc 1.x support.
27651
554881ef
UD
27652 [BZ #13068]
27653 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
27654
693fb948
LD
276552011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27656
27657 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27658 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
27659 strrchr-sse2-bsf
27660 * sysdeps/i386/i686/multiarch/strchr.S: New file.
27661 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
27662 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
27663 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
27664 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
27665 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
27666
1b48c537
UD
276672011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27668
49d42c37
UD
27669 * sysdeps/x86_64/wcscmp.S: New file.
27670
1b48c537
UD
27671 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
27672 wcscmp-c wcscmp-sse2
27673 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
27674 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
27675 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
27676 * wcsmbs/wcscmp.c: Allow renaming.
27677
15c95c5d
DM
276782011-09-05 David S. Miller <davem@davemloft.net>
27679
27680 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
27681 stack slot, rather than the struct return pointer slot.
27682 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
27683 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
27684 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
27685 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
27686
2f0ad8f3
UD
276872011-09-05 Ulrich Drepper <drepper@gmail.com>
27688
d88ae418
UD
27689 * po/ja.po: Update from translation team.
27690
2f0ad8f3
UD
27691 [BZ #13144]
27692 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
27693 kernel in 64-bit binaries.
27694
5f4318d1
DM
276952011-09-01 David S. Miller <davem@davemloft.net>
27696
27697 * elf/elf.h (HWCAP_SPARC_*): Move to..
27698 * sysdeps/sparc/sysdep.h: this new file and add new values.
27699 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
27700 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
27701 _DL_HWCAP_COUNT to 24.
27702 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
27703 entries.
27704 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
27705 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
27706 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
27707 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
27708 instead of magic constants.
27709 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27710
3ba57516
DM
277112011-08-31 David S. Miller <davem@davemloft.net>
27712
27713 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
27714 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
27715 Reimplement to do errno handling inline.
27716 (SYSCALL_ERROR_HANDLER): New macro.
27717 (__SYSCALL_STRING): Do not do errno handling in asm.
27718 (__CLONE_SYSCALL_STRING): Delete.
27719 (__INTERNAL_SYSCALL_STRING): Delete.
27720 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
27721 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
27722 (PSEUDO): Reimplement to do errno handling inline.
27723 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
27724 (SYSCALL_ERROR_HANDLER): New macro.
27725 (__SYSCALL_STRING): Do not do errno handling in asm.
27726 (__CLONE_SYSCALL_STRING): Delete.
27727 (__INTERNAL_SYSCALL_STRING): Delete.
27728 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
27729 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
27730 i386.
27731 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
27732 (inline_syscall*): Add 'err' argument.
27733 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
27734 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
27735 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
27736 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
27737
27738 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
27739 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
27740
2bc17433
AS
277412011-08-30 Andreas Schwab <schwab@redhat.com>
27742
27743 * elf/rtld.c (dl_main): Relocate objects in dependency order.
27744
fbeb5f4d
JO
277452011-08-29 Jiri Olsa <jolsa@redhat.com>
27746
27747 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
27748 directive.
27749
ad69cc26
DM
277502011-08-24 David S. Miller <davem@davemloft.net>
27751
27752 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
27753
39dd69df
AS
277542011-08-24 Andreas Schwab <schwab@redhat.com>
27755
27756 * elf/Makefile: Add rules to build and run unload8 test.
27757 * elf/unload8.c: New file.
27758 * elf/unload8mod1.c: New file.
27759 * elf/unload8mod1x.c: New file.
27760 * elf/unload8mod2.c: New file.
27761 * elf/unload8mod3.c: New file.
27762
27763 * elf/dl-close.c (_dl_close_worker): Reset private search list if
27764 it wasn't used.
27765
2c0b250a
DM
277662011-08-23 David S. Miller <davem@davemloft.net>
27767
27768 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
27769 subtract stack bias.
27770 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
27771 %sp not %fp in calculations.
27772 (_JMPBUF_UNWINDS_ADJ): Likewise.
27773
22044b48
DM
27774 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
27775 (aio_suspend): Call it to force an exception region around the
27776 AIO_MISC_WAIT() invocation.
27777
2cae4995
AS
277782011-08-23 Andreas Schwab <schwab@redhat.com>
27779
27780 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
27781 backslash.
27782
873a772e
AJ
277832011-07-04 Aurelien Jarno <aurelien@aurel32.net>
27784
27785 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
27786 protection macro.
27787 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
27788 and <dl-machine.h>.
27789 (Elf64_FuncDesc): Remove.
27790
25ad0df1
DM
277912011-08-22 David S. Miller <davem@davemloft.net>
27792
27793 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
27794 sigaltstack check, add missing cfi directives.
27795 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
27796 missing cfi directives, and sigaltstack handling.
27797
e888bcbe
AS
277982011-08-16 Andreas Schwab <schwab@redhat.com>
27799
27800 [BZ #11724]
27801 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
27802 object is seen twice.
27803 * elf/dl-fini.c (_dl_sort_fini): Likewise.
27804
27805 * elf/Makefile (distribute): Add tst-initorder2.c.
27806 (tests): Add tst-initorder2.
27807 (modules-names): Add tst-initorder2a tst-initorder2b
27808 tst-initorder2c tst-initorder2d. Add rules to build them.
27809 ($(objpfx)tst-initorder2.out): New rule.
27810 * elf/tst-initorder2.c: New file.
27811 * elf/tst-initorder2.exp: New file.
27812
87162f46
AS
278132011-08-22 Andreas Schwab <schwab@redhat.com>
27814
70538b7f
AS
27815 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
27816
f55ffe58
AS
27817 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
27818 dependencies back to end of function.
27819
87162f46
AS
27820 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
27821 $(elfobjdir)/ld.so.
27822
91b392a4
UD
278232011-08-21 Ulrich Drepper <drepper@gmail.com>
27824
27825 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
27826 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
27827 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
27828 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
27829 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
27830 of __vdso_gettimeofday.
27831 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
27832 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
27833 attribute_hidden.
27834 (_libc_vdso_platform_setup): Remove initialization of
27835 __vdso_gettimeofday and __vdso_time.
27836
5c43483f
UD
278372011-08-20 Ulrich Drepper <drepper@gmail.com>
27838
775a77e7
UD
27839 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
27840 and fgetc_unlocked.
27841 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
27842 getc_unlocked.
89f447ed 27843
49c74ba9
UD
27844 * elf/dl-open.c (add_to_global): Report additions to the global scope
27845 for LD_DEBUG=scopes.
27846 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 27847 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 27848
5c43483f
UD
27849 [BZ #13114]
27850 * stdio-common/Makefile (tests): Add bug24.
27851 * stdio-common/bug24.c: New file.
27852
a101b025
AJ
278532011-08-19 Andreas Jaeger <aj@suse.de>
27854
27855 [BZ #13114]
27856 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
27857 non-existant file when using close-on-exec mode.
27858
c88f1766
UD
278592011-08-20 Ulrich Drepper <drepper@gmail.com>
27860
0276a718
UD
27861 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
27862 the very first instruction.
27863
c88f1766
UD
27864 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
27865 the CFI state in the end.
27866 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
27867 inclusion of dl-trampoline.h.
27868 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
27869
51ccffa0
AS
278702011-08-19 Andreas Schwab <schwab@redhat.com>
27871
94d7165f
AS
27872 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
27873 expectations for long double.
27874
51ccffa0
AS
27875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
27876 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
27877
fd708658 278782011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
27879
27880 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
27881 artificual limit depends upon the system page size.
27882
44f0a71e
UD
278832011-08-17 Ulrich Drepper <drepper@gmail.com>
27884
27885 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
27886 * resolv/Makefile: Define CFLAGS-libresolv.
27887
8de79a24
AS
278882011-08-17 Andreas Schwab <schwab@redhat.com>
27889
27890 * nss/makedb.c (compute_tables): Make variables used in nested
27891 function static.
27892
27724598
UD
278932011-08-17 Ulrich Drepper <drepper@gmail.com>
27894
c5305d88
UD
27895 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
27896 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
27897 if buffer was too small.
27898
27724598
UD
27899 * elf/pldd.c (main): Attach to all threads in the process.
27900 Rewrite /proc handling to use *at functions.
27901
076fe015
UD
279022011-08-16 Ulrich Drepper <drepper@gmail.com>
27903
174baab3
UD
27904 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
27905 specifies first scope to show.
27906 (dl_open_worker): Update callers. Move printing scope of new
27907 object to before the relocation.
44f0a71e 27908 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
27909 * sysdeps/generic/ldsodefs.h: Update declaration.
27910
076fe015
UD
27911 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
27912 string for the scope number.
27913
a60df2c3
UD
279142011-08-14 Ulrich Drepper <drepper@gmail.com>
27915
27916 * nscd/servicescache.c (cache_addserv): Make sure written is always
27917 initialized.
27918
5e4287d1
RM
279192011-08-14 Roland McGrath <roland@hack.frob.com>
27920
85ae0589
RM
27921 * sysdeps/i386/i486/bits/atomic.h
27922 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
27923 statement expression, so as to suppress "set but not used" warning.
27924 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
27925
69f63097
RM
27926 * string/strncat.c (STRNCAT): Use prototype definition.
27927
675456ef
RM
27928 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
27929 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
27930 -Iprograms here.
27931 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
27932 (localedef-modules): Add localedef.
27933 (locale-modules): Add locale.
27934
5e4287d1
RM
27935 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
27936 * elf/rtld.c (dl_main): Invert order of assignment in last change,
27937 to avoid a warning.
27938
9c96ff23
DM
279392011-08-14 David S. Miller <davem@davemloft.net>
27940
27941 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
27942 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
27943
f9ddf089
UD
279442011-08-13 Ulrich Drepper <drepper@gmail.com>
27945
44f0a71e 27946 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
27947 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
27948 * elf/rtld.c (dl_main): Set l_name of vDSO.
27949 Call _dl_show_scope when DL_DEBUG_SCOPES.
27950 (process_dl_debug): Recognize scopes flag and also set it for all.
27951 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
27952 Declare _dl_show_scope.
27953
1dc27704
UD
27954 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
27955 (do_dlopen): Pass caller_dlopen to dl_open.
27956 (__libc_dlopen_mode): Initialize caller_dlopen.
27957
f9ddf089
UD
27958 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
27959 of libc. Make tolower call locale-independent. Optimize a bit by
27960 using isdigit instead of isalnum.
27961 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
27962
9ac533d3
UD
279632011-08-12 Ulrich Drepper <drepper@gmail.com>
27964
27965 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
27966 was a dependency or dynamically loaded.
27967
89edf2e9
UD
279682011-08-11 Ulrich Drepper <drepper@gmail.com>
27969
8e999d29
UD
27970 * intl/l10nflist.c: Allow architecture-specific pop function.
27971 * sysdeps/x86_64/l10nflist.c: New file.
27972
89edf2e9
UD
27973 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
27974 classification.
27975
14d96785
AS
279762011-08-10 Andreas Schwab <schwab@redhat.com>
27977
27978 * include/dirent.h: Add libc_hidden_proto for scandirat and
27979 scandirat64. Don't declare __scandirat64.
27980 * dirent/scandirat.c: Add libc_hidden_def.
27981 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
27982 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
27983
6761ac04
DM
279842011-08-10 David S. Miller <davem@davemloft.net>
27985
27986 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
27987 enum.
27988 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
27989 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
27990 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
27991
c55fbd1e
UD
279922011-08-09 Ulrich Drepper <drepper@gmail.com>
27993
27994 * Versions.def [libc]: Add GLIBC_2.15.
27995 * dirent/Makefile (routines): Add scandirat and scandirat64.
27996 * dirent/Versions [libc]: Export scandirat and scandirat64 for
27997 GLIBC_2.15.
27998 * dirent/dirent.h: Declare scandirat and scandirat64.
27999 * dirent/scandirat.c: New file.
28000 * dirent/scandirat64.c: New file.
28001 * sysdeps/wordsize-64/scandirat.c: New file.
28002 * sysdeps/wordsize-64/scandirat64.c: New file.
28003 * dirent/opendir.c: Define opendirat.
28004 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
28005 using scandirat.
28006 * dirent/scandir64.c: Adjust for scandir.c change.
28007 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
28008 __scandirat64, and __scandir_cancel_handler.
28009 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
28010 additional parameter and use openat instead of open (outside of ld.so).
28011 Add new __opendir as wrapper around __opendirat.
28012 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
28013 here without requiring old scandirat implementation.
28014
879165f2
UD
280152011-08-08 Ulrich Drepper <drepper@gmail.com>
28016
28017 * dirent/scandir.c (cancel_handler): Renamed to
28018 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
28019 defined. Adjust users.
28020 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
28021 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
28022
cb7e923b
UD
280232011-08-04 Ulrich Drepper <drepper@gmail.com>
28024
16292edd
UD
28025 * string/test-string.h (IMPL): Use __STRING to expand name and then
28026 stringify it.
28027
cb7e923b
UD
28028 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
28029 of cleanups.
28030
cff82933
LD
280312011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28032
28033 * string/Makefile: Update.
28034 (strop-tests): Append strncat.
28035 * string/test-wcscmp.c: New file.
28036 New comprehensive test for wcscmp.
28037 * string/test-strcmp.c: Update.
28038 (WIDE): New define.
28039
9be9bfcc
AS
280402011-07-22 Andreas Schwab <schwab@redhat.com>
28041
28042 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
28043 line.
28044
2e96f1c7
AS
280452011-07-26 Andreas Schwab <schwab@redhat.com>
28046
28047 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
28048 encoding to ACE if AI_IDN.
28049
85188888
JJ
280502011-08-01 Jakub Jelinek <jakub@redhat.com>
28051
28052 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
28053 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
28054
5fa16e9b
LD
280552011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28056
28057 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
28058 Fix overflow bug in strncat.
28059 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
28060
28061 * string/test-strncat.c: Update.
28062 Add new tests for checking overflow bugs.
28063
280642011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28065
28066 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28067 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
28068 * sysdeps/i386/i686/multiarch/strcat.S: New file.
28069 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
28070 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
28071 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
28072 * sysdeps/i386/i686/multiarch/strncat.S: New file.
28073 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
28074 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
28075
28076 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
28077 (USE_AS_STRCAT): Define.
28078 Add strcat and strncat support.
28079 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
28080
8c1a459f
AS
280812011-07-25 Andreas Schwab <schwab@redhat.com>
28082
28083 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
28084 __n bigger than INT_MAX+1.
28085 (__strncmp_g): Likewise.
28086
bba33c28
UD
280872011-07-23 Ulrich Drepper <drepper@gmail.com>
28088
798be72d
UD
28089 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
28090 * libio/stido.h: Likewise.
28091
8accd4dc
UD
28092 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
28093 (AF_NFC): Define.
28094 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
28095 (AF_NFC): Define.
28096
cbff0d96
UD
28097 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
28098 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28099 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28100 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
28101 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28102
9191c04a
UD
28103 [BZ #13021]
28104 * scripts/test-installation.pl: Don't expect libnss_test1 to be
28105 installed.
28106
bba33c28
UD
28107 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
28108 typo.
28109 (_dl_x86_64_save_sse): Likewise.
28110
90f139dd
UD
281112011-07-22 Ulrich Drepper <drepper@gmail.com>
28112
1aae088a
UD
28113 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
28114 OSXSAVE.
28115 (_dl_x86_64_save_sse): Likewise.
28116
8e2045f5
UD
28117 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
28118
90f139dd
UD
28119 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
28120
1d002f25
AS
281212011-07-21 Andreas Schwab <schwab@redhat.com>
28122
28123 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
28124 change.
28125 (_dl_x86_64_save_sse): Use correct AVX check.
28126
21137f89
UD
281272011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28128
28129 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
28130 bug in strncpy/strncat.
28131 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
28132
a65c0b7a
UD
281332011-07-21 Ulrich Drepper <drepper@gmail.com>
28134
28135 * string/tester.c (test_strcat): Add tests for different alignments
28136 of source and destination.
28137 (test_strncat): Likewise.
28138
6986b98a
UD
281392011-07-20 Ulrich Drepper <drepper@gmail.com>
28140
90bb2039
UD
28141 [BZ #12852]
28142 * posix/glob.c (glob): Check passed in values before using them in
28143 expressions to avoid some overflows.
28144 (glob_in_dir): Likewise.
28145
5644ef54
UD
28146 [BZ #13007]
28147 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
28148 check for AVX enablement so that we don't crash with old kernels and
28149 new hardware.
28150 * elf/tst-audit4.c: Add same checks here.
28151 * elf/tst-audit6.c: Likewise.
28152
28153 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 28154
bfc9dc9b
AS
281552011-07-09 Andreas Schwab <schwab@linux-m68k.org>
28156
28157 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
28158
702e64bb
UD
281592011-07-20 Ulrich Drepper <drepper@gmail.com>
28160
28161 * po/cs.po: Update from translation team.
28162 * po/bg.po: Likewise.
28163
295e904f
MP
281642011-07-12 Marek Polacek <mpolacek@redhat.com>
28165
28166 * misc/sys/cdefs.h: Add support for const attribute.
28167 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
28168 to gnu_dev_{major,minor,makedev} functions.
28169
3ff94596
MP
281702011-07-20 Marek Polacek <mpolacek@redhat.com>
28171
28172 * intl/dcigettext.c (get_output_charset): Add missing bracket.
28173
28b59fca
AS
281742011-07-20 Andreas Schwab <schwab@redhat.com>
28175
28176 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
28177 strlen results.
28178
19df733e
AK
281792011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28180
28181 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
28182 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
28183 register in order to avoid conflicts with the soft frame pointer
28184 being held in r11 when necessary.
28185 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
28186 (INTERNAL_VSYSCALL_NCS): Likewise.
28187
c8835729
MP
281882011-07-14 Marek Polacek <mpolacek@redhat.com>
28189
28190 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
28191 * elf/dl-fini.c (_dl_fini): Adjust caller.
28192 * elf/dl-close.c (_dl_close_worker): Likewise.
28193 * sysdeps/generic/ldsodefs.h: Adjust declaration.
28194
b902330c
MP
281952011-07-15 Marek Polacek <mpolacek@redhat.com>
28196
8991e135
MP
28197 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
28198 "aux_cache->nlibs < 0".
28199
b902330c
MP
28200 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
28201 in the reload-count case.
28202
99710781
LD
282032011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28204
28205 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28206 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
28207 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
28208 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
28209 * sysdeps/x86_64/multiarch/strcat.S: New file.
28210 * sysdeps/x86_64/multiarch/strncat.S: New file.
28211 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
28212 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
28213 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
28214 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
28215 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
28216 (USE_AS_STRCAT): Define.
28217 Add strcat and strncat support.
28218 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
28219 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
28220 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
28221 * string/strncat.c: Update.
28222 (USE_AS_STRNCAT): Define.
28223 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28224 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
28225 and i7.
28226 * sysdeps/x86_64/multiarch/init-arch.h
28227 (bit_Prefer_PMINUB_for_stringop): New.
28228 (index_Prefer_PMINUB_for_stringop): Likewise.
28229 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
28230 bit_Prefer_PMINUB_for_stringop.
28231
7dc6bd90
UD
282322011-07-19 Ulrich Drepper <drepper@gmail.com>
28233
28234 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
28235 buffer64.
28236 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
28237 of casting of buffer.
28238 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
28239 buffer32 and buffer64.
28240 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
28241 writes instead of casting of buffer.
28242 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
28243 buffer32.
28244 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
28245 casting of buffer.
28246
e0e72284
AS
282472011-07-19 Andreas Schwab <schwab@redhat.com>
28248
28249 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
28250
feb1eb0b
UD
282512011-07-19 Ulrich Drepper <drepper@gmail.com>
28252
28253 * nscd/nscd.c (termination_handler): Don't do anything for a database
28254 if it has not yet been initialized.
28255
298711ff
UD
282562011-07-18 Ulrich Drepper <drepper@gmail.com>
28257
28258 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
28259
282602011-07-15 Marek Polacek <mpolacek@redhat.com>
28261
28262 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
28263
f9d68389
UD
282642011-07-18 Ulrich Drepper <drepper@gmail.com>
28265
28266 * po/nl.po: Update from translation team.
28267 * po/sv.po: Likewise.
28268
db290cf5
RM
282692011-07-16 Roland McGrath <roland@hack.frob.com>
28270
28271 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
28272 now disallowed by GCC.
5c550700 28273
fd5e21c7
RM
28274 * configure.in (use-default-link): Default to yes if a test -shared
28275 link meets our qualifications.
28276 * configure: Regenerated.
28277
5c550700
RM
28278 * config.make.in (output-format): New variable.
28279 * configure.in: Check for ld --print-output-format support.
28280 * configure: Regenerated.
28281 * Makerules ($(common-objpfx)format.lds)
28282 [$(output-format) != unknown]: Just use $(output-format),
28283 instead of the linker-script munging.
28284
9fa2c032
RM
282852011-07-14 Roland McGrath <roland@hack.frob.com>
28286
a6928d51
RM
28287 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
28288 of $(common-objpfx)shlib.lds.
28289 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
28290
661607b3
RM
28291 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
28292 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
28293
9fa2c032
RM
28294 * configure.in (-z relro check): Adjust test code to add a large
28295 writable data section after it.
28296 * configure: Regenerated.
28297
defe9061
RM
282982011-07-11 Roland McGrath <roland@hack.frob.com>
28299
28300 * configure.in (-z relro check): Fix test code to make the variable
28301 truly const.
28302 * configure: Regenerated.
28303
319b9ad4
UD
283042011-07-11 Ulrich Drepper <drepper@gmail.com>
28305
28306 * nscd/nscd.h (struct traced_file): Define.
28307 (struct database_dyn): Remove inotify_descr, reset_res, and filename
28308 elements. Add traced_files.
28309 (inotify_fd): Declare.
28310 (register_traced_file): Declare.
28311 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
28312 (inotify_fd): Export.
28313 (resolv_conf_descr): Remove.
28314 (nscd_init): Move inotify descriptor creation to main.
28315 Don't register files for notification here.
28316 (register_traced_file): New function.
28317 (invalidate_cache): Don't use reset_res to determine whether to call
28318 res_init, go through the list of registered files.
28319 (main_loop_poll): The inotify descriptors are now stored in the
28320 structures for the traced files.
28321 (main_loop_epoll): Likewise
28322 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
28323 to __nss_disable_nscd.
28324 * nscd/cache.c (prune_cache): There is no single inotify descriptor
28325 for a database anymore. Check the records for all the registered
28326 files instead.
28327 * nss/Makefile (libnss_files-routines): Add files-init.
28328 (libnss_db-routines): Add db-init.
28329 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
28330 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
28331 * nss/nss_db/db-init.c: New file.
28332 * nss/nss_files/files-init.c: New file.
28333 * nss/nsswitch.c (nss_load_library): New function. Broken out of
28334 __nss_lookup_function.
28335 (__nss_lookup_function): Call nss_load_library.
28336 (nss_load_all_libraries): New function.
28337 (__nss_disable_nscd): Take parameter with callback function for files
28338 to register. Set is_nscd. Load all the DSOs for the NSS modules
28339 used for the cached services.
28340 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
28341 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
28342 options for features to all the files in nscd.
28343
28344 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
28345
23bee3e8
RM
283462011-07-10 Roland McGrath <roland@hack.frob.com>
28347
28348 * csu/elf-init.c (__libc_csu_init): Comment typo.
28349
46a5b7f0
UD
283502011-07-09 Ulrich Drepper <drepper@gmail.com>
28351
28352 * po/pl.po: Update from translation team.
28353 * po/ja.po: Likewise.
28354 * po/ru.po: Likewise.
28355 * po/ko.po: Likewise.
28356 * po/fr.po: Likewise.
28357
d30cf5bb
RM
283582011-07-09 Roland McGrath <roland@hack.frob.com>
28359
113ddea4
RM
28360 * configure.in (.ctors/.dtors header and trailer check):
28361 Use an empirical test on a built program.
28362 * configure: Regenerated.
28363
574920b4
RM
28364 * configure.in (-z relro check): Use an empirical test on a built DSO.
28365 Detect, but do not require, on ia64.
28366 * configure: Regenerated.
28367
d30cf5bb
RM
28368 * configure.in (READELF): Find it with AC_CHECK_TOOL.
28369 Update tests that use readelf to use $READELF instead.
28370 * configure: Regenerated.
28371
8538fdb3
UD
283722011-07-08 Ulrich Drepper <drepper@gmail.com>
28373
28374 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
28375 if the result is not used.
28376
04d08991
AJ
283772011-07-05 Andreas Jaeger <aj@suse.de>
28378
28379 [BZ#9696]
28380 * stdlib/tst-strtod.c: Add testcase.
28381
de283087
AD
283822011-07-07 Ulrich Drepper <drepper@gmail.com>
28383
4e5f31c8 28384 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 28385 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
28386 The latter has a higher limit. Take additional parameter to pass to
28387 the new function.
28388 (__pathconf): Pass file to __statfs_link_max.
28389 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
28390 __statfs_link_max.
28391 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
28392 __statfs_link_max.
28393
de283087
AD
28394 [BZ #12868]
28395 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
28396 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28397 Handle Lustre.
28398 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
28399 (__statfs_filesize_max): Likewise.
28400 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
28401
c75fa153
AJ
284022011-07-05 Andreas Jaeger <aj@suse.de>
28403
28404 * resolv/res_comp.c (dn_skipname): Remove unused variable.
28405
1a544854
UD
284062011-07-06 Marek Polacek <mpolacek@redhat.com>
28407
28408 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
28409 `status' variable.
28410 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
28411 Likewise.
28412
6f0eec67
UD
284132011-07-04 H.J. Lu <hongjiu.lu@intel.com>
28414
28415 * Makefile (strop-tests): Add strncat.
28416 * string/test-strncat.c: New file.
28417
aae30307
UD
284182011-06-30 Marek Polacek <mpolacek@redhat.com>
28419
28420 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
28421
c0cfb5eb
UD
284222011-06-21 Andreas Jaeger <aj@suse.de>
28423
28424 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
28425 Copy rule from iconvdata/Makefile.
28426
01636b21
UD
284272011-07-06 Ulrich Drepper <drepper@gmail.com>
28428
28429 [BZ #12922]
28430 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
28431 but no long options are defined, just return 'W'.
28432
9895c8bc
UD
284332011-06-22 Marek Polacek <mpolacek@redhat.com>
28434
28435 [BZ #9696]
28436 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
28437
5d4cf042
UD
284382011-07-06 Ulrich Drepper <drepper@gmail.com>
28439
28440 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
28441 netgroups to read.
960e5535 28442 (innetgr): Likewise.
5d4cf042 28443
751eb97e
RM
284442011-07-05 Roland McGrath <roland@hack.frob.com>
28445
28446 * config.make.in (install_root): Default to $(DESTDIR).
28447
f15f1e45
UD
284482011-07-05 Ulrich Drepper <drepper@gmail.com>
28449
28450 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
28451
4e34ac6a
RM
284522011-07-02 Roland McGrath <roland@hack.frob.com>
28453
5e9b6af4
RM
28454 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
28455
84f9ea0f
RM
28456 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
28457 containing directory rather than embedding absolute directory names.
28458
ea5ee9f7
RM
28459 * scripts/check-local-headers.sh: Rewritten using awk.
28460 Match by word, not by line. Print error messages for matches.
28461 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
28462
1b74661a
RM
28463 * Makerules [shlib-lds-flags empty]:
28464 ($(common-objpfx)libc_pic.opts): New target.
28465 ($(common-objpfx)libc_pic.os.clean): New target.
28466 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
28467
28468 * config.make.in (OBJCOPY): New variable.
28469 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
28470 * configure: Regenerated.
28471
f781ef40
RM
28472 * config.make.in (use-default-link): New variable.
28473 * configure.in (use_default_link): Grok --with-default-link to set it.
28474 * configure: Regenerated.
28475 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
28476 (shlib-lds, shlib-lds-flags): Define to empty.
28477
2d4fa81e
RM
28478 * Makerules (shlib-lds): New variable.
28479 (shlib-lds-flags): New variable.
28480 (build-shlib, build-moduile, build-module-asneeded): Use it.
28481 ($(common-objpfx)libc.so): Use $(shlib-lds).
28482 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
28483 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
28484
31fffa6b
RM
28485 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
28486 DT_FLAGS/DT_FLAGS_1 with zero flags.
28487
4e34ac6a
RM
28488 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
28489 linker script munging.
28490
fcfc776b
UD
284912011-07-02 Ulrich Drepper <drepper@gmail.com>
28492
28493 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
28494 as 128-bit value.
28495 * crypt/sha512.c (sha512_process_block): Perform total addition using
28496 128-bit if possible.
28497 (__sha512_finish_ctx): Likewise.
28498 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
28499 as 64-bit value.
28500 * crypt/sha256.c (SWAP64): Define.
28501 (sha256_process_block): Perform total addition using 64-bit if
28502 possible.
28503 (__sha256_finish_ctx): Likewise.
28504
99231d9a
UD
285052011-07-01 Ulrich Drepper <drepper@gmail.com>
28506
28507 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
28508 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28509 * nscd/hstcache.c (cache_addhst): Likewise.
28510 * nscd/grpcache.c (cache_addgr): Likewise.
28511 * nscd/aicache.c (addhstaiX): Likewise
28512 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
28513
445b4a53
TK
285142011-07-01 Thorsten Kukuk <kukuk@suse.de>
28515
28516 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
28517 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28518 * nscd/hstcache.c (cache_addhst): Likewise.
28519 * nscd/grpcache.c (cache_addgr): Likewise.
28520 * nscd/aicache.c (addhstaiX): Likewise
28521
6d4d8e8e
AS
285222011-07-01 Andreas Schwab <schwab@redhat.com>
28523
28524 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
28525 domain only when needed.
28526
89f654c5
AS
285272011-06-30 Andreas Schwab <schwab@redhat.com>
28528
28529 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
28530 is always restored.
28531
cf3b23ff
UD
285322011-06-29 Ulrich Drepper <drepper@gmail.com>
28533
28534 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
28535 are re-adding the entry.
28536 * nscd/servicescache.c (cache_addserv): Likewise.
28537
751626f9
AJ
285382011-06-30 Aurelien Jarno <aurelien@aurel32.net>
28539
28540 * sysdeps/generic/dl-irel.h: fix protection against multiple
28541 inclusions.
28542 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
28543
9113ea1f
UD
285442011-06-28 Ulrich Drepper <drepper@gmail.com>
28545
5c0b8d90
UD
28546 [BZ #12935]
28547 * malloc/memusage.sh: Fix quoting in message.
28548 * debug/xtrace.sh: Likewise.
28549
9113ea1f
UD
28550 * configure.in: Remove support for --experimental-malloc option, make
28551 it the default.
28552 * config.make.in: Likewise.
28553 * malloc/Makefile: Likewise.
28554
a4172181
AS
285552011-06-27 Andreas Schwab <schwab@redhat.com>
28556
28557 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
28558 two-byte characters.
28559
78a7eee7
RM
285602011-06-27 Roland McGrath <roland@hack.frob.com>
28561
62bede13
RM
28562 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
28563 AC_CACHE_CHECK invocation.
28564 * configure: Regenerated.
28565
78a7eee7
RM
28566 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
28567
5ce33a62
UD
285682011-06-27 Ulrich Drepper <drepper@gmail.com>
28569
034807a9
UD
28570 [BZ #12350]
28571 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
28572 bit from old_res_options.
28573
4902da17
UD
28574 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
28575
5ce33a62
UD
28576 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
28577 value type for setfct.
28578
c2344f56
L
285792011-06-23 H.J. Lu <hongjiu.lu@intel.com>
28580
28581 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
28582 __gettimeofday instead of gettimeofday.
28583
68468076
UD
285842011-06-26 Ulrich Drepper <drepper@gmail.com>
28585
28586 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
28587
acb0d739
L
285882011-06-24 H.J. Lu <hongjiu.lu@intel.com>
28589
28590 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
28591
28592 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
28593 info.
28594
8912479f
L
285952011-06-22 H.J. Lu <hongjiu.lu@intel.com>
28596
28597 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28598 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
28599 strcpy-sse2-unaligned strncpy-sse2-unaligned
28600 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
28601 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
28602 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
28603 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
28604 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
28605 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
28606 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
28607 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
28608 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
28609 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
28610 (STRCPY): Support SSE2 and SSSE3 versions.
28611
d5495a11
UD
286122011-06-24 Ulrich Drepper <drepper@gmail.com>
28613
28614 [BZ #12874]
28615 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
28616 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
28617 kernels which artificially limit size of requests.
28618
0b1cbaae
L
286192011-06-22 H.J. Lu <hongjiu.lu@intel.com>
28620
28621 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28622 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
28623 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
28624 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
28625 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
28626 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
28627 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
28628 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
28629 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
28630 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
28631 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
28632 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
28633 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
28634 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
28635 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
28636 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28637 Enable unaligned load optimization for Intel Core i3, i5 and i7
28638 processors.
28639 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
28640 Define.
28641 (index_Fast_Unaligned_Load): Define.
28642 (HAS_FAST_UNALIGNED_LOAD): Define.
28643
07f494a0
MP
286442011-06-23 Marek Polacek <mpolacek@redhat.com>
28645
28646 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
28647
fa3fc0fe
UD
286482011-06-22 Ulrich Drepper <drepper@gmail.com>
28649
28650 [BZ #12907]
28651 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
28652 until it is clear that the information is realy needed.
28653 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
28654
e12df166
AS
286552011-06-22 Andreas Schwab <schwab@redhat.com>
28656
28657 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
28658
852eb34d
UD
286592011-06-22 Ulrich Drepper <drepper@gmail.com>
28660
84e2a551
UD
28661 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
28662 /sys/devices/system/cpu/online if it is usable.
28663
852eb34d
UD
28664 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
28665 reading the information from the /proc filesystem to once a second.
28666
6e502e19
UD
286672011-06-21 Andreas Jaeger <aj@suse.de>
28668
28669 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
28670 NULL after inclusion of kernel headers.
28671
75d39ff2
UD
286722011-06-21 Ulrich Drepper <drepper@gmail.com>
28673
51f9aa6a
UD
28674 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
28675 calls to internal_setent.
28676
c0244a9d
UD
28677 [BZ #12885]
28678 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
28679 addresses using gethostbyname4_r ignore IPv4 addresses.
28680
c5e3c2ae
UD
28681 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
28682 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
28683
75d39ff2
UD
28684 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
28685
42675c6f
DM
286862011-06-20 David S. Miller <davem@davemloft.net>
28687
28688 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
28689 inclusions.
28690 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
28691
28692 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
28693 (elf_irel): Use it.
28694 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
28695 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
28696 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
28697 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
28698 * sysdeps/x86_64/dl-irel.h: Likewise.
28699
28700 * elf/dl-runtime.c: Use elf_ifunc_invoke.
28701 * elf/dl-sym.c: Likewise.
28702
57912a71
UD
287032011-06-15 Ulrich Drepper <drepper@gmail.com>
28704
28705 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
28706 need to dereference resplen2.
28707
ee22793d
AS
287082011-06-14 Andreas Schwab <schwab@redhat.com>
28709
28710 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
28711
a9e836b0
UD
287122011-06-15 Ulrich Drepper <drepper@gmail.com>
28713
77fb9117
UD
28714 * Makeconfig: Define vardbdir and inst_vardbdir.
28715 * nss/Makefile: Add rules to install db-Makefile.
28716
40c1b22c
UD
28717 * nss/nss_db/db-XXX.c: Cleanup.
28718
9f2da732
UD
28719 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
28720 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
28721 GLIBC_PRIVATE.
28722 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
28723 * nss/makedb.c: Implement -g option to specify that value strings
28724 are generated and should not be added to table iterated over for
28725 get*ent calls.
28726 * nss/nss_db/db-initgroups.c: New file.
28727
82e9a1f7
UD
28728 * nss/getent.c: Add support for initgroups lookups through getgrouplist
28729 interface.
28730
c41af17e
UD
28731 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
28732 (internal_getgrouplist): Adjust to name change.
28733 Update use_initgroups_entry if this is not the first call.
28734 * nss/databases.def: Add initgroups entry.
28735
a9e836b0
UD
28736 * nss/makedb.c (compute_tables): Check result of multiple hash table
28737 sizes to minimize maximum chain length.
28738
2666d441
UD
287392011-06-14 Ulrich Drepper <drepper@gmail.com>
28740
28741 * Versions.def: Add entry for libnss_db.
28742 * shlib-versions: Likewise.
28743 * nss/Makefile: Add rules to build libnss_db.
28744 * nss/Versions: Add libnss_db information. Organize libnss_files
28745 entries better.
28746 * nss/db-Makefile: Add gshadow support. Change rules for the new
28747 makedb progra. Some minor improvements to generate smaller files.
28748 * nss/nss_db/nss_db.h: Move NSS database header data structures to
28749 here from...
28750 * nss/makedb.c: ...here.
28751 Improve database format to be smaller and require less memory at
28752 runtime.
28753 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
28754 db anymore.
28755 * nss/nss_db/db-netgrp.c: Likewise.
28756 * nss/nss_db/db-open.c: Likewise.
28757 * nss/nss_files/flies-XXX.x: Adjust comments.
28758 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
28759 * nss/nss_files/files-grp.c: Likewise.
28760 * nss/nss_files/files-hosts.c: Likewise.
28761 * nss/nss_files/files-network.c: Likewise.
28762 * nss/nss_files/files-proto.c: Likewise.
28763 * nss/nss_files/files-pwd.c: Likewise.
28764 * nss/nss_files/files-rpc.c: Likewise.
28765 * nss/nss_files/files-service.c: Likewise.
28766 * nss/nss_files/files-sgrp.c: Likewise.
28767 * nss/nss_files/files-spwd.c: Likewise.
28768 * nss/nss_db/db-alias.c: Removed.
28769 * nss/nss_db/dummy-db.h: Removed.
28770
9ee76b5a
UD
287712011-06-02 Ulrich Drepper <drepper@gmail.com>
28772
28773 * nss/makedb.c: Rewritten to not use database library.
28774 * nss/Makefile: Update to build new makedb program.
28775
c71ca1f8
AJ
287762011-06-14 Andreas Jaeger <aj@suse.de>
28777
28778 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
28779 memset declaration.
28780
3154bfb8
UD
287812011-06-10 Andreas Schwab <schwab@redhat.com>
28782
28783 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
28784 tmpbuf.
28785
b350afab
RM
287862011-06-10 Roland McGrath <roland@hack.frob.com>
28787
decd4e50
RM
28788 * Makerules (shlib.lds): Fail if the linker script comes out empty.
28789 * elf/Makefile ($(objpfx)ld.so): Likewise.
28790
5615eaf2
RM
28791 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
28792 Don't list ld.so twice in dependencies.
28793
28794 * posix/bug-regex31.c: Include <stdlib.h>.
28795
28796 * nscd/hstcache.c (cache_addhst): Remove unused variable.
28797
28798 * nis/nss_compat/compat-spwd.c
28799 (getspent_next_nss_netgr): Remove unused variable.
28800 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
28801
28802 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
28803 nonmembers" output to use the right array.
28804
28805 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
28806
28807 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
28808
28809 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
28810 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
28811 * catgets/gencat.c (read_input_file): Likewise.
28812 * locale/programs/locarchive.c (enlarge_archive): Likewise.
28813
28814 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
28815 variable definition inside #if's controlling its use.
28816
28817 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
28818
28819 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
28820
28821 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
28822
28823 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
28824 unreachable code.
28825
28826 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
28827
b68e08db
RM
28828 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
28829 * configure: Regenerated.
28830
b350afab
RM
28831 * Makerules: Revert last change.
28832 * elf/Makefile: Likewise.
28833
28368601
RM
288342011-06-09 Roland McGrath <roland@hack.frob.com>
28835
28836 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
28837 * elf/Makefile ($(objpfx)librtld.os): Likewise.
28838 (reloc-link): Likewise.
28839
11988f8f
UD
288402011-06-09 Ulrich Drepper <drepper@gmail.com>
28841
28842 * elf/Makefile: Add rules to build pldd.
28843 * elf/pldd.c: New file.
28844 * elf/pldd-xx.c: New file.
28845
e80fab37
UD
288462011-06-07 Ulrich Drepper <drepper@gmail.com>
28847
28848 * version.h: Update for 2.15 development version.
28849
9b849836
DM
288502011-06-07 David S. Miller <davem@davemloft.net>
28851
28852 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
28853 ifuncs.
28854 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
28855 elf_machine_lazy_rel): Likewise.
28856 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
28857 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
28858 elf_machine_lazy_rel): Likewise.
28859 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
28860 dl_hwcap via passed in argument.
28861 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
28862 Likewise.
28863
5a31b283
AK
288642011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28865
28866 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
28867
069e52f8
RM
288682011-06-06 Roland McGrath <roland@hack.frob.com>
28869
28870 [BZ #12849]
28871 * manual/fdl-1.1.texi: New file, verbatim from:
28872 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
28873 * manual/lgpl-2.1.texi: New file, verbatim from:
28874 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
28875 * manual/Makefile (licenses): New variable, list those new file names.
28876 (texis): Use it.
28877 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
28878
28879 * manual/fdl.texi: File removed.
28880 * manual/lesser.texi: File removed.
28881 * manual/libc.texinfo (Copying, Documentation License):
28882 Use new @include file names, put @appendix directive before @include.
28883
f16846a5
JJ
288842011-06-04 Jakub Jelinek <jakub@redhat.com>
28885
28886 [BZ #12841]
28887 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
28888 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
28889 (mq_open): Add __NTH.
28890
3d29045b
L
288912011-06-02 H.J. Lu <hongjiu.lu@intel.com>
28892
28893 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28894 Assume Intel Core i3/i5/i7 processor if AVX is available.
28895
8c297311
UD
288962011-05-31 Ulrich Drepper <drepper@gmail.com>
28897
28898 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
28899 typo.
28900
c8fc0c91
UD
289012011-05-31 Andreas Schwab <schwab@redhat.com>
28902
28903 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
28904 memory. Use alloca_account. Fix memory leak when retrying.
28905
5b27a807
UD
289062011-05-31 Ulrich Drepper <drepper@gmail.com>
28907
356f8bc6
UD
28908 * version.h (RELEASE): Bump for 2.14 release.
28909 * include/features.h (__GLIBC_MINOR__): Bump to 14.
28910
5b27a807
UD
28911 * config.make.in (RANLIB): Remove entry.
28912
01f16ab0
UD
289132011-05-30 Ulrich Drepper <drepper@gmail.com>
28914
41fce8bd
UD
28915 * po/Makefile (po-sed-cmd): Add ksh to extensions.
28916 (libc.pot): Work around missing support for .ksh extension in xgettext.
28917
4769ae77
UD
28918 [BZ #12684]
28919 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
28920 if both request failed.
28921 (send_dg): In case of server errors clear resplen or *resplen2.
28922
6b1e7d19
UD
28923 [BZ #12454]
28924 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
28925 when there are multiple maps.
28926 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
28927 (_dl_fini): Remove test here.
28928
01f16ab0
UD
28929 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
28930
b1ebd700
UD
289312011-05-29 Ulrich Drepper <drepper@gmail.com>
28932
7ae22829
UD
28933 [BZ #12350]
28934 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
28935 bit from old_res_options.
28936 (gaih_inet): Likewise.
28937
553149f6 28938 [BZ #11099]
18a84741 28939 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
28940 as signed.
28941
652ffab1
UD
28942 * resolv/res_init.c (res_setoptions): Make the code more compact.
28943
16985fd0
UD
28944 [BZ #11558]
28945 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
28946 set RES_USEVC.
28947
0464f746
UD
28948 [BZ #11634]
28949 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
28950
7d17596c
UD
28951 * malloc/malloc.h: Mark malloc hook variables as deprecated.
28952
cf6bbbd7
UD
28953 [BZ #11781]
28954 * malloc/malloc.h: Declare malloc hook variables as volatile.
28955
13f1ab36
UD
28956 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
28957 in last patch.
28958
b1ebd700
UD
28959 [BZ #11799]
28960 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 28961 raise in the comment.
80e2212d
UD
28962 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
28963 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
28964 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 28965
ce67228d
UD
289662011-05-28 Ulrich Drepper <drepper@gmail.com>
28967
8887a920
UD
28968 [BZ #12811]
28969 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
28970 grow the buffers more if it already has to be sufficient.
28971 (build_wcs_upper_buffer): Likewise.
28972 * posix/regexec.c (check_matching): Likewise.
28973 (clean_state_log_if_needed): Likewise.
28974 (extend_buffers): Don't enlarge buffers beyond size of the input
28975 buffer.
28976 Patches mostly by Emil Wojak <emil@wojak.eu>.
28977 * posix/bug-regex32.c: New file.
28978 * posix/Makefile (tests): Add bug-regex32.
28979
4f031072
UD
28980 * locale/findlocale.c (_nl_find_locale): Return right away if
28981 _nl_explode_name failed.
28982 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
28983
d0478f0c
UD
28984 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
28985
de81b246
UD
28986 * debug/xtrace.sh: Unify messages.
28987 * malloc/memusage.sh: Likewise.
28988
c738465a
UD
28989 [BZ #12813]
28990 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
28991 time symbol from vDSO. Substitute with vsyscall if not available.
28992 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
28993 __vdso_time.
28994
f1f929d7
UD
28995 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
28996 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
28997 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
28998 Add sendmmsg and internal_sendmmsg.
28999 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
29000 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
29001 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
29002
ce67228d
UD
29003 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
29004 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
29005 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
29006
e57420c6
UD
290072011-05-27 Ulrich Drepper <drepper@gmail.com>
29008
a8509ca5
UD
29009 [BZ #12813]
29010 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
29011 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
29012 available.
29013 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
29014 __vdso_getcpu.
29015
e57420c6
UD
29016 [BZ #12814]
29017 * iconvdata/Makefile (tests): Add bug-iconv9.
29018 * iconvdata/bug-iconv9.c: New file.
29019
4d07db15
AS
290202011-05-27 Andreas Schwab <schwab@redhat.com>
29021
29022 [BZ #12814]
29023 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
29024
ea486f69
JJ
290252011-05-25 Jakub Jelinek <jakub@redhat.com>
29026
29027 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
29028 (struct user_regs_struct): Change intcs field back to cs.
29029
6f038433
UD
290302011-05-25 Ulrich Drepper <drepper@gmail.com>
29031
29032 * po/ja.po: Update from translation team.
29033
67f86a25
UD
290342011-05-23 Ulrich Drepper <drepper@gmail.com>
29035
29036 [BZ #12795]
29037 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
29038 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
29039
def7fbd6
AS
290402011-05-20 Andreas Schwab <schwab@redhat.com>
29041
29042 * stdlib/longlong.h: Update from GCC.
29043
f50ef8f1
AS
290442011-05-23 Andreas Schwab <schwab@redhat.com>
29045
29046 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
29047 parameter name.
29048 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
29049 Add parameter name.
29050 (__sysconf): Pass it down.
29051
de7ce8f1
UD
290522011-05-22 Ulrich Drepper <drepper@gmail.com>
29053
f2962a71
UD
29054 [BZ #12671]
29055 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
29056 some situations.
29057 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
29058 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
29059 add in in __libc_use_alloca calls. Adjust callers.
29060 (glob): Use malloc in some situations.
29061
de7ce8f1
UD
29062 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
29063 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
29064 pltexit.
29065
aec84f53
UD
290662011-05-21 Ulrich Drepper <drepper@gmail.com>
29067
05bb4a68
UD
29068 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
29069 and CLOCK_BOOTTIME_ALARM.
29070
7ea72f99
UD
29071 [BZ #12782]
29072 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
29073 is returned.
29074
7e4afad5
UD
29075 * string/_strerror.c (__strerror_r): Print negative errors as signed
29076 numbers.
29077
8e211fec
UD
29078 [BZ #12777]
29079 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
29080 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
29081 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
29082
f7d82dc9
UD
29083 * configure.in: Fix typo in redirection and correct removal of test
29084 files in two cases.
29085
cc9e536d
UD
29086 [BZ #12788]
29087 * locale/setlocale.c (new_composite_name): Fix test to check for
29088 identical name of all categories.
29089
aec84f53
UD
29090 [BZ #12792]
29091 * libio/filedoalloc.c (local_isatty): New function.
29092 (_IO_file_doallocate): Use local_isatty.
29093 * stdio-common/perror.c (perror): In case a new stream is used
29094 forward the stream error.
29095 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
29096 error flag.
29097
78e64fdc
RT
290982011-05-20 Ulrich Drepper <drepper@gmail.com>
29099
34a9094f
UD
29100 [BZ #11869]
29101 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
29102 alloca.
29103 * include/alloca.h (extend_alloca_account): Define.
29104
78e64fdc
RT
29105 [BZ #11857]
29106 * posix/regex.h: Fix comments with documentation of user-accessible
29107 fields after compilation and describe correct free'ing of pattern
29108 after re_compile_pattern.
29109 Patch by Reuben Thomas <rrt@sc3d.org>.
29110
457bddfc
RA
291112011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
29112
29113 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
29114 and -mno-altivec to prevent the compiler from using Altivec and/or
29115 VSX instructions when the corresponding registers are not available.
29116
a4527b51
AS
291172011-05-19 Andreas Schwab <schwab@redhat.com>
29118
29119 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
29120
ed690b2f
UD
291212011-05-19 Ulrich Drepper <drepper@gmail.com>
29122
29123 * libio/freopen.c (freopen): Use __dup2, not dup2.
29124 * libio/freopen64.c (freopen64): Likewise.
29125
8db73634
L
291262011-05-17 H.J. Lu <hongjiu.lu@intel.com>
29127
29128 [BZ #12775]
29129 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
29130 * math/Makefile (tests): Add test-powl.
29131 (CFLAGS-test-powl.c): Define.
29132 * math/test-powl.c: New file.
29133
0a197a9d
L
291342011-05-16 H.J. Lu <hongjiu.lu@intel.com>
29135
29136 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
29137
ee30c380
UD
291382011-05-17 Ulrich Drepper <drepper@gmail.com>
29139
29140 [BZ #11837]
29141 * iconvdata/gb18030.c: Update to GB18020-2005.
29142
6ce75379
UD
291432011-05-16 Ulrich Drepper <drepper@gmail.com>
29144
a4b89fd8
AR
29145 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
29146 RE_SYNTAX_POSIX_AWK): Update to match recent development.
29147 Patch by Aharon Robbins <arnold@skeeve.com>.
29148
ea389b12
UD
29149 [BZ #11892]
29150 * stdlib/putenv.c (putenv): Don't always create copy of the variable
29151 on the stack.
29152
68a3f91f
UD
29153 [BZ #11895]
29154 * misc/pselect.c (__pselect): Handle timeout value errors hidden
29155 through underflows.
29156
15cc7dd1
UD
29157 [BZ #12766]
29158 * misc/error.c (error_at_line): Ensure file_name and old_file_name
29159 point to strings before performing equality test for error_one_per_line
29160 mode.
29161
f3799213
UD
29162 [BZ #11697]
29163 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
29164
d79a9c94
UD
29165 [BZ #11820]
29166 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
29167 (struct user_fpregs_struct): Avoid __uint*_t types.
29168
56e5eb46
UD
29169 [BZ #6420]
29170 * malloc/mtrace.c (tr_where): Add additional parameter to point to
29171 symbol info. Use it instead of calling _dl_addr locally.
29172 (lock_and_info): New function.
29173 (tr_freehook): Call lock_and_info and pass symbol info as additional
29174 parameter to tr_where.
29175 (tr_mallochook): Likewise.
29176 (tr_reallochook): Likewise.
29177 (tr_memalignhook): Likewise.
29178
6ce75379
UD
29179 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
29180 used and couldn't be at all thread-safe.
29181
f8a3b5bf
UD
291822011-05-15 Ulrich Drepper <drepper@gmail.com>
29183
94b7cc37
UD
29184 * libio/freopen.c (freopen): Don't close old file descriptor
29185 before the new one is opened. Instead dup the new file descriptor
29186 to the old one after the new stream is created.
29187 * libio/freopen64.c (freopen64): Likewise.
29188 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
29189 * libio/fileops.c (_IO_new_file_close_it): Handle new
29190 _IO_FLAGS2_NOCLOSE flag.
29191 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
29192 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
29193 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
29194 _IO_FLAGS2_NOCLOSE flag.
29195 * include/unistd.h: Add hidden_proto for dup3.
29196 Define __have_dup3.
29197 * io/dup3.c: Define hidden symbol.
29198 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
29199
bd25564e
UD
29200 [BZ #7101]
29201 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
29202 when an incomplete long option is used.
29203 * posix/tst-getopt_long1.c: New file.
29204 * posix/Makefile (tests): Add tst-getopt_long1.
29205
c84cfef4
UD
29206 [BZ #10138]
29207 * scripts/config.guess: Update from autoconf-2.68.
29208 * scripts/config.sub: Likewise.
29209
3b85df27
UD
29210 [BZ #10157]
29211 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
29212 tests into ...
29213 (has_cpuclock): ...this. New function.
29214 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
29215 macro here based on has_cpuclock code.
29216
15a856b1
UD
29217 [BZ #10149]
29218 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29219 First byte (not low byte) is now always NUL.
29220 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
29221
05f399e6
UD
29222 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29223 Use non-cancelable interfaces.
29224
10a52685 29225 [BZ #9809]
94ecc67d
UD
29226 * locale/iso-639.def: Add entry for Sorani.
29227
f8a3b5bf
UD
29228 [BZ #11901]
29229 * include/stdlib.h: Move include protection to the right place.
29230 Define abort_msg_s. Declare __abort_msg with it.
29231 * stdlib/abort.c (__abort_msg): Adjust type.
29232 * assert/assert.c (__assert_fail_base): New function. Majority
29233 of code from __assert_fail. Allocate memory for __abort_msg with
29234 mmap.
29235 (__assert_fail): Now call __assert_fail_base.
29236 * assert/assert-perr.c: Remove bulk of implementation. Use
29237 __assert_fail_base.
29238 * include/assert.hL Declare __assert_fail_base.
29239 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
29240 mmap.
29241 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
29242
1af4e298
UD
292432011-05-14 Ulrich Drepper <drepper@gmail.com>
29244
f8a3b5bf 29245 [BZ #11952]
d26dfc60
MG
29246 [BZ #12453]
29247 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
29248 until all modules are registered in the DTV.
29249 * elf/Makefile: Add rules to build and run tst-tls19.
29250 * elf/tst-tls19.c: New file.
29251 * elf/tst-tls19mod1.c: New file.
29252 * elf/tst-tls19mod2.c: New file.
29253 * elf/tst-tls19mod3.c: New file.
29254 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
29255
2fc54d6f
UD
29256 [BZ #12083]
29257 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
29258 correctly.
29259
98d76b46
UD
29260 [BZ #12601]
29261 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
29262 two-byte sequence errors.
29263 * iconvdata/Makefile (tests): Add bug-iconv8.
29264 * iconvdata/bug-iconv8.c: New file.
29265
da3c19ef
UD
29266 [BZ #12626]
29267 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
29268 buf2 definition.
29269
ca408c15
UD
29270 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
29271
d6f67f7d
UD
29272 [BZ #12432]
29273 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
29274 (dummy_getcfa): New function.
29275 (init): Get _Unwind_GetCFA address, use dummy if not found.
29276 (backtrace_helper): In recursion check, also check whether CFA changes.
29277 (__backtrace): Completely initialize arg.
29278
1af4e298 29279 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
29280 storing incomplete byte sequence in state object. Avoid testing for
29281 guaranteed too small input if we know there is enough data available.
1af4e298 29282
da62f81b
AS
292832011-05-11 Andreas Schwab <schwab@redhat.com>
29284
29285 * Makeconfig (+link-pie): Indent.
29286 * Rules (binaries-pie): Define if $(have-fpie) and
29287 $(build-shared).
29288 (binaries-shared): Also filter out $(binaries-pie).
29289 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
29290 * nscd/Makefile (others-pie): Add nscd.
29291 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
29292 ($(objpfx)nscd): Remove command override.
29293 * login/Makefile (others-pie): Add pt_chown.
29294 ($(objpfx)pt_chown): Remove command override.
29295 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
29296 remove command overrides.
29297
fcabc0f8
UD
292982011-05-13 Ulrich Drepper <drepper@gmail.com>
29299
20030ae6
UD
29300 * libio/tst_putwc.c: Fix error messages.
29301
fcabc0f8
UD
29302 [BZ #12724]
29303 * libio/fileops.c (_IO_new_file_close_it): Always flush when
29304 currently writing and seek to current position when not.
29305 * libio/Makefile (tests): Add bug-fclose1.
29306 * libio/bug-fclose1.c: New file.
29307
320a5dc0
PB
293082011-05-12 Ulrich Drepper <drepper@gmail.com>
29309
29310 [BZ #12511]
29311 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
29312 don't set DF_1_NODELETE here.
29313 (do_lookup_x): When entering new entry test for copy relocation
29314 and if necessary set DF_1_NODELETE flag.
29315 * elf/tst-unique4.cc: New file.
29316 * elf/tst-unique4.h: New file.
29317 * elf/tst-unique4lib.cc: New file.
29318 * elf/Makefile: Add rules to build and run tst-unique4.
29319 Patch by Piotr Bury <pbury@goahead.com>.
29320
22836f52
UD
293212011-05-11 Ulrich Drepper <drepper@gmail.com>
29322
f574184a
UD
29323 [BZ #12052]
29324 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
29325
e1fb097f
UD
29326 [BZ #12625]
29327 * misc/mntent_r.c (addmntent): Flush the stream after the output
29328
22836f52
UD
29329 [BZ #12393]
29330 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
29331 (is_trusted_path_normalize): Skip initial colon. Append slash
29332 to empty buffer. Duplicate is_trusted_path code but allow
29333 constructed patch to be prefix.
29334 (is_dst): Allow $ORIGIN followed by /.
29335 (_dl_dst_substitute): Correct clearing of check_for_trusted.
29336 Correct testing of result of is_trusted_path_normalize
29337 (decompose_rpath): Fix warning.
29338
7b3b0b2a
UD
293392011-05-10 Ulrich Drepper <drepper@gmail.com>
29340
29341 [BZ #11257]
29342 * grp/initgroups.c (internal_getgrouplist): When we found the service
29343 list through the initgroups entry in nsswitch.conf do not always
29344 continue on a successful lookup. Don't always use the
eac80ce2 29345 __nss_group_database value if it is set.
7b3b0b2a
UD
29346 * nss/nsswitch.conf (initgroups): Change action for successful db
29347 lookup to continue for compatibility.
29348
2a81eaa5
UD
293492011-05-09 Ulrich Drepper <drepper@gmail.com>
29350
be97a69e
UD
29351 [BZ #11532]
29352 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
29353 and CP774 modules.
29354 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
29355 and CP774 modules.
29356 * iconvdata/tst-tables.sh: Likewise.
29357 * iconvdata/cp770.c: New file.
29358 * iconvdata/cp771.c: New file.
29359 * iconvdata/cp772.c: New file.
29360 * iconvdata/cp773.c: New file.
29361 * iconvdata/cp774.c: New file.
29362 * iconvdata/testdata/CP770: New file.
29363 * iconvdata/testdata/CP770..UTF8: New file.
29364 * iconvdata/testdata/CP771: New file.
29365 * iconvdata/testdata/CP771..UTF8: New file.
29366 * iconvdata/testdata/CP772: New file.
29367 * iconvdata/testdata/CP772..UTF8: New file.
29368 * iconvdata/testdata/CP773: New file.
29369 * iconvdata/testdata/CP773..UTF8: New file.
29370 * iconvdata/testdata/CP774: New file.
29371 * iconvdata/testdata/CP774..UTF8: New file.
29372
29373 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
29374 END CHARMAP line.
29375 * iconvdata/gen-8bit-gap.sh: Likewise.
29376 * iconvdata/gen-8bit.sh: Likewise.
29377
c1e9e399
UD
29378 * locale/iso-639.def: Add ary entry.
29379
24c55fb3 29380 [BZ #11258]
96b4b1b0
UD
29381 * locale/C-translit.h.in: Add U20A1 transliteration.
29382
bdc2f971
KB
29383 [BZ #12178]
29384 * locale/iso-639.def: Add wae entry.
29385 Patch by Kevin Bortis <bortis@translate-wae.ch>.
29386
2952b117
UD
29387 [BZ #12545]
29388 * locale/programs/localedef.c (construct_output_path): Use ssize_t
29389 for n.
29390
2a81eaa5
UD
29391 [BZ #12711]
29392 * locale/C-translit.h.in: Add entry for U20B9.
29393 Patch by pravin.d.s@gmail.com.
29394
28377d1b
UD
293952011-05-08 Ulrich Drepper <drepper@gmail.com>
29396
7fb90fb8
UD
29397 [BZ #12713]
29398 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
29399 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
29400 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
29401 in rtld. Use *stat64.
7fb90fb8 29402 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 29403 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 29404 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
29405 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
29406 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
29407 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
29408 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
29409 __fstatat64 macros.
7fb90fb8
UD
29410 * include/dirent.h: Add libc_hidden_proto for rewinddir.
29411 * dirent/rewinddir.c: Add libc_hidden_def.
29412 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 29413 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 29414
28377d1b
UD
29415 * include/dirent.h (__alloc_dir): Add flags parameter.
29416 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
29417 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
29418 __alloc_dir.
29419 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
29420 from fdopendir if O_CLOEXEC is already set.
29421
66bdbaa4
AM
294222011-03-15 Alan Modra <amodra@gmail.com>
29423
29424 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
29425 l_tls_firstbyte_offset non-zero. Save padding offset in
29426 l_tls_firstbyte_offset for later use.
29427 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
29428 freeing static tls block.
29429
95721191
JN
294302011-03-05 Jonathan Nieder <jrnieder@gmail.com>
29431
29432 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
29433 where #ifdef was intended. The intent is to prevent ARG_MAX from
29434 being defined by the kernel headers.
29435
f87dfb1f
UD
294362011-05-07 Ulrich Drepper <drepper@gmail.com>
29437
29438 [BZ #12734]
29439 * resolv/resolv.h: Define RES_NOTLDQUERY.
29440 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
29441 no-tld-query and set RES_NOTLDQUERY.
29442 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
29443 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
29444 modern BIND to search name as TLD unless forbidden.
29445
47c3cd7a
UD
294462011-05-07 Petr Baudis <pasky@suse.cz>
29447 Ulrich Drepper <drepper@gmail.com>
29448
29449 [BZ #12393]
29450 * elf/dl-load.c (fillin_rpath): Move trusted path check...
29451 (is_trusted_path): ...to here.
c1e9ea35 29452 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 29453 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 29454 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 29455
8a35c912
PP
294562011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
29457
29458 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
29459 __BEGIN/__END_DECLS.
29460
acd41f47
UD
294612011-05-06 Ulrich Drepper <drepper@gmail.com>
29462
29463 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
29464 NSS_STATUS_NOTFOUND if no record was found.
29465
597df647
AS
294662011-05-05 Andreas Schwab <schwab@redhat.com>
29467
29468 * sunrpc/Makefile (headers): Add rpc/netdb.h.
29469 (headers-not-in-tirpc): Remove rpc/netdb.h
29470 * resolv/netdb.h: Revert last change.
29471
b9af1301
PP
294722011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
29473
29474 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
29475 circular dependency between libgcc.a and libc.a.
29476
4e34d5f5
AS
294772011-05-05 Andreas Schwab <schwab@redhat.com>
29478
29479 * resolv/netdb.h: Don't include <rpc/netdb.h>.
29480 * nis/Makefile: Don't install rpcsvc/*.
29481 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
29482 instead of <rpc/types.h>.
29483 (MAXHOSTNAMELEN): Define.
29484
00ee369c
AS
294852011-05-03 Andreas Schwab <schwab@redhat.com>
29486
29487 * elf/ldconfig.c (add_dir): Don't crash on empty path.
29488
0b592a30
MB
294892011-04-28 Maciej Babinski <mbabinski@google.com>
29490
29491 [BZ #12714]
29492 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
29493 gethostbyname4_r when IPv6 results are possible.
29494
6e04cbbe
UD
294952011-05-02 Ulrich Drepper <drepper@gmail.com>
29496
29497 [BZ #12723]
29498 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
29499 _PC_PIPE_BUF handling.
29500
e4ecafe0
BH
295012011-04-30 Bruno Haible <bruno@clisp.org>
29502
29503 [BZ #12717]
29504 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
29505 * resolv/netdb.h (getnameinfo): Change type of flags parameter
29506 to 'int'.
29507 * inet/getnameinfo.c (getnameinfo): Likewise.
29508
125ee683
UD
295092011-04-29 Ulrich Drepper <drepper@gmail.com>
29510
29511 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
29512 to groups setting in database lookup.
29513 * nss/nsswitch.conf: Add initgroups entry.
29514
b722481a
EB
295152011-04-22 Ulrich Drepper <drepper@gmail.com>
29516
29517 [BZ #12685]
29518 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
29519 mode string.
29520 Patch by Eric Blake <eblake@redhat.com>.
29521
4df46dbd
L
295222011-04-20 H.J. Lu <hongjiu.lu@intel.com>
29523
29524 * sunrpc/Makefile (need-export-routines): Add svc_run.
29525 (routines): Remove svc_run.
29526 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
29527 * sunrpc/clnt_perr.c (clnt_perrno): Export.
29528 * sunrpc/svc_run.c (svc_run): Likewise.
29529 * sunrpc/svc_udp.c (svcudp_create): Likewise.
29530
e84142d2
UD
295312011-04-21 Ulrich Drepper <drepper@gmail.com>
29532
29533 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
29534 problem in reallocation in last patch.
29535
877175d8
UD
295362011-04-20 Ulrich Drepper <drepper@gmail.com>
29537
29538 * sunrpc/Makefile: Move inclusion of Rules.
29539
ab8eed78
UD
295402011-04-19 Ulrich Drepper <drepper@gmail.com>
29541
29542 * nss/nss_files/files-initgroups.c: New file.
29543 * nss/Makefile (libnss_files-routines): Add files-initgroups.
29544 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
29545 _nss_files_initgroups_dyn.
29546
e3d8f584
RS
295472011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
29548
29549 * elf/elf.h (R_ARM_IRELATIVE): Define.
29550
af190f45
UD
295512011-04-19 Ulrich Drepper <drepper@gmail.com>
29552
29553 * po/ru.po: Update from translation team.
29554
53cf59ef
UD
295552011-04-17 Ulrich Drepper <drepper@gmail.com>
29556
29557 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
29558 dependencies.
29559
4c559bcd
MF
295602011-02-06 Mike Frysinger <vapier@gentoo.org>
29561
29562 [BZ #12653]
29563 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
29564 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
29565 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
29566 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
29567 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
29568
4420675c
AS
295692011-03-28 Andreas Schwab <schwab@linux-m68k.org>
29570
29571 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
29572 differing bytes.
29573 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
29574 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
29575 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29576
75ea32ab
UD
295772011-04-17 Ulrich Drepper <drepper@gmail.com>
29578
29579 [BZ #12420]
29580 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
29581 storing it.
29582 * stdlib/bug-getcontext.c: New file.
29583 * stdlib/Makefile: Add rules to build and run bug-getcontext.
29584
27390476
AK
295852011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29586
29587 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
29588 instructions into .machine "z9-109".
29589 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
29590 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
29591
10442705
AK
295922011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29593
29594 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
29595 between environment variables and auxiliary vector.
29596
7b57bfe5
UD
295972011-04-16 Ulrich Drepper <drepper@gmail.com>
29598
29599 * Makefile: Add rules to build linkobj/libc.so.
29600 * include/libc-symbols.h: Define libc_hidden_nolink.
29601 * include/rpc/auth.h: Mark functions which are to be hidden.
29602 * include/rpc/auth_des.h: Likewise.
29603 * include/rpc/auth_unix.h: Likewise.
29604 * include/rpc/clnt.h: Likewise.
29605 * include/rpc/des_crypt.h: Likewise.
29606 * include/rpc/key_prot.h: Likewise.
29607 * include/rpc/pmap_clnt.h: Likewise.
29608 * include/rpc/pmap_prot.h: Likewise.
29609 * include/rpc/pmap_rmt.h: Likewise.
29610 * include/rpc/rpc_msg.h: Likewise.
29611 * include/rpc/svc.h: Likewise.
29612 * include/rpc/svc_auth.h: Likewise.
29613 * include/rpc/xdr.h: Likewise.
29614 * nis/Makefile: Link all DSOs against linkobj/libc.so.
29615 * nss/Makefile: Likewise.
29616 * sunrpc/Makefile: Don't install headers. Build library with normal
29617 entry points. Don't build rpcinfo. Link RPC tests appropriately.
29618 * sunrpc/auth_des.c: Hide exported symbols by default, export some
29619 for the compat linking library. Remove use of INTDEF/INTUSE.
29620 * sunrpc/auth_none.c: Likewise.
29621 * sunrpc/auth_unix.c: Likewise.
29622 * sunrpc/authdes_prot.c: Likewise.
29623 * sunrpc/authuxprot.c: Likewise.
29624 * sunrpc/clnt_gen.c: Likewise.
29625 * sunrpc/clnt_perr.c: Likewise.
29626 * sunrpc/clnt_raw.c: Likewise.
29627 * sunrpc/clnt_simp.c: Likewise.
29628 * sunrpc/clnt_tcp.c: Likewise.
29629 * sunrpc/clnt_udp.c: Likewise.
29630 * sunrpc/clnt_unix.c: Likewise.
29631 * sunrpc/des_crypt.c: Likewise.
29632 * sunrpc/des_soft.c: Likewise.
29633 * sunrpc/get_myaddr.c: Likewise.
29634 * sunrpc/key_call.c: Likewise.
29635 * sunrpc/key_prot.c: Likewise.
29636 * sunrpc/netname.c: Likewise.
29637 * sunrpc/pm_getmaps.c: Likewise.
29638 * sunrpc/pm_getport.c: Likewise.
29639 * sunrpc/pmap_clnt.c: Likewise.
29640 * sunrpc/pmap_prot.c: Likewise.
29641 * sunrpc/pmap_prot2.c: Likewise.
29642 * sunrpc/pmap_rmt.c: Likewise.
29643 * sunrpc/publickey.c: Likewise.
29644 * sunrpc/rpc_cmsg.c: Likewise.
29645 * sunrpc/rpc_common.c: Likewise.
29646 * sunrpc/rpc_dtable.c: Likewise.
29647 * sunrpc/rpc_prot.c: Likewise.
29648 * sunrpc/rpc_thread.c: Likewise.
29649 * sunrpc/rtime.c: Likewise.
29650 * sunrpc/svc.c: Likewise.
29651 * sunrpc/svc_auth.c: Likewise.
29652 * sunrpc/svc_authux.c: Likewise.
29653 * sunrpc/svc_raw.c: Likewise.
29654 * sunrpc/svc_run.c: Likewise.
29655 * sunrpc/svc_simple.c: Likewise.
29656 * sunrpc/svc_tcp.c: Likewise.
29657 * sunrpc/svc_udp.c: Likewise.
29658 * sunrpc/svc_unix.c: Likewise.
29659 * sunrpc/svcauth_des.c: Likewise.
29660 * sunrpc/xcrypt.c: Likewise.
29661 * sunrpc/xdr.c: Likewise.
29662 * sunrpc/xdr_array.c: Likewise.
29663 * sunrpc/xdr_float.c: Likewise.
29664 * sunrpc/xdr_intXX_t.c: Likewise.
29665 * sunrpc/xdr_mem.c: Likewise.
29666 * sunrpc/xdr_rec.c: Likewise.
29667 * sunrpc/xdr_ref.c: Likewise.
29668 * sunrpc/xdr_sizeof.c: Likewise.
29669 * sunrpc/xdr_stdio.c: Likewise.
29670
e6c61494
UD
296712011-04-10 Ulrich Drepper <drepper@gmail.com>
29672
29673 [BZ #12650]
29674 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
29675 * sysdeps/ia64/dl-tls.h: Likewise.
29676 * sysdeps/powerpc/dl-tls.h: Likewise.
29677 * sysdeps/s390/dl-tls.h: Likewise.
29678 * sysdeps/sh/dl-tls.h: Likewise.
29679 * sysdeps/sparc/dl-tls.h: Likewise.
29680 * sysdeps/x86_64/dl-tls.h: Likewise.
29681 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
29682
34fe483e
AS
296832011-03-14 Andreas Schwab <schwab@redhat.com>
29684
29685 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
29686 rpath element also skip the following colon.
29687 (expand_dynamic_string_token): Add is_path parameter and pass
29688 down to DL_DST_REQUIRED and _dl_dst_substitute.
29689 (decompose_rpath): Call expand_dynamic_string_token with
29690 non-zero is_path. Ignore empty rpaths.
29691 (_dl_map_object_from_fd): Call expand_dynamic_string_token
29692 with zero is_path.
29693
f12a32e6
AS
296942011-04-08 Andreas Schwab <schwab@linux-m68k.org>
29695
29696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
29697 Make cancelable.
29698
38a7d692
UD
296992011-04-09 Ulrich Drepper <drepper@gmail.com>
29700
29701 [BZ #12655]
29702 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
29703 Patch by Filipe David Manana <fdmanana@apache.org>.
29704
e451d22b
AS
297052011-04-07 Andreas Schwab <schwab@redhat.com>
29706
29707 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
29708 Maintain aligned stack.
29709 (CHECK_RSP): Remove unused macro.
29710
dedc7c7b
UD
297112011-04-03 Ulrich Drepper <drepper@gmail.com>
29712
29713 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
29714 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
29715
94521213
UD
297162011-04-02 Ulrich Drepper <drepper@gmail.com>
29717
29718 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
29719
8cb700c0 29720 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 29721
0354e355
L
297222011-03-26 H.J. Lu <hongjiu.lu@intel.com>
29723
29724 [BZ #12518]
29725 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
29726 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
29727 * sysdeps/x86_64/memmove.c: New file.
29728 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
29729 (memcpy): Renamed to ...
29730 (__new_memcpy): This.
29731 (memcpy): Provide GLIBC_2_14 memcpy.
29732 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
29733 (memcpy): Provide GLIBC_2_2_5 memcpy.
29734
8593482f
UD
297352011-04-01 Ulrich Drepper <drepper@gmail.com>
29736
29737 [BZ #12631]
29738 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
29739
81a5726b
AS
297402011-03-30 Andreas Schwab <schwab@redhat.com>
29741
29742 * misc/syncfs.c: New file.
29743 * misc/Makefile (routines): Add syncfs.
29744 * posix/unistd.h: Declare syncfs.
29745 * sysdeps/unix/syscalls.list: Add syncfs.
29746
00e5419f
AS
297472011-04-01 Andreas Schwab <schwab@redhat.com>
29748
29749 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
29750 open_by_handle_at.
29751 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
29752 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
29753 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29754 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
29755 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29756 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
29757 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
29758
748876bf
UD
297592011-04-01 Ulrich Drepper <drepper@gmail.com>
29760
658e451d
UD
29761 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
29762 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
29763 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
29764 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29765 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
29766 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29767 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
29768
748876bf
UD
29769 * io/Makefile: Compile fallocate.c, fallocate64.c, and
29770 sync_file_range.c with -fexceptions.
29771 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
29772 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
29773 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
29774 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
29775 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
29776 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
29777 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
29778 sync_file_range as cancellation point
29779 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
29780 now a wrapper around __call_sync_file_range with cancellation handling.
29781 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
29782 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
29783 function name to __call_sync_file_range.
29784 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
29785 Add call_sync_file_range.
748876bf 29786
6e63d5e1
AS
297872011-04-01 Andreas Schwab <schwab@redhat.com>
29788
29789 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 29790 bits/timex.h.
6e63d5e1 29791
46998f74
UD
297922011-04-01 Ulrich Drepper <drepper@gmail.com>
29793
4c1423ed
UD
29794 * iconv/iconv.h: Fix typo in comment.
29795 * io/fcntl.h: Likewise.
29796 * libio/stdio.h: Likewise.
29797 * posix/spawn.h: Likewise.
29798 * posix/unistd.h: Likewise.
29799 * stdlib/stdlib.h: Likewise.
29800 * time/time.h: Likewise.
29801 * wcsmbs/wchar.h: Likewise.
29802
158648c0
UD
29803 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
29804 open_by_handle): Add.
29805 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
29806 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
29807 Augment a few comments.
29808 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
29809 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29810 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
29811 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29812 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
29813 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
29814 open_by_handle.
29815
46998f74
UD
29816 * io/fcntl.h (AT_EMPTY_PATH): Define.
29817
83fe108b
UD
298182011-03-30 Ulrich Drepper <drepper@gmail.com>
29819
29820 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
29821 * sysdeps/unix/sysv/linux/bits/time.h: New file.
29822 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
29823 to...
29824 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
29825 * Versions.def: Add GLIBC_2.14.
29826 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
29827 Export.
83fe108b 29828
bb242059
UD
298292011-03-22 Ulrich Drepper <drepper@gmail.com>
29830
29831 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
29832 round counter.
29833 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
29834
c97a1282
L
298352011-03-20 H.J. Lu <hongjiu.lu@intel.com>
29836
29837 [BZ #12597]
29838 * string/test-strncmp.c (do_page_test): New function.
29839 (check2): Likewise.
29840 (test_main): Call check2.
29841 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
29842
2a115601
UD
298432011-03-20 Ulrich Drepper <drepper@gmail.com>
29844
29845 [BZ #12587]
29846 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
29847 Handle cache information in CPU leaf 4.
29848 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
29849
8126d904
UD
298502011-03-18 Ulrich Drepper <drepper@gmail.com>
29851
042c49c6 29852 [BZ #12583]
8126d904
UD
29853 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
29854 character representation.
29855 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
29856
ccfe366e
RA
298572011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
29858
29859 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
29860 END(__isnan) to END(__isnanf) to match function entry point/label
29861 EALIGN(__isnanf,...).
29862
c6e13027
JJ
298632011-03-10 Jakub Jelinek <jakub@redhat.com>
29864
29865 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
29866
33f85a3f
UD
298672011-03-10 Ulrich Drepper <drepper@gmail.com>
29868
028478fa
UD
29869 [BZ #12510]
29870 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
29871 copy from the symbol referenced in the relocation to initialize the
29872 used variable.
29873 Patch by Piotr Bury <pbury@goahead.com>.
29874 * elf/Makefile: Add rules to build and tst-unique3.
29875 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
29876 * elf/tst-unique3.cc: New file.
29877 * elf/tst-unique3.h: New file.
29878 * elf/tst-unique3lib.cc: New file.
29879 * elf/tst-unique3lib2.cc: New file.
29880
33f85a3f
UD
29881 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
29882
03592fc7
MF
298832011-03-10 Mike Frysinger <vapier@gentoo.org>
29884
29885 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
29886 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
29887 to _start.
03592fc7 29888
6a5ee102
UD
298892011-03-06 Ulrich Drepper <drepper@gmail.com>
29890
29891 * elf/dl-load.c (_dl_map_object): If we are looking for the first
29892 to-be-loaded object along a path to loader is ld.so.
29893
7e4ba49c
HJ
298942011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
29895 Ulrich Drepper <drepper@gmail.com>
29896
29897 * sysdeps/x86_64/memset.S: After aligning destination, code
29898 branches to different locations depending on the value of
29899 misalignment, when multiarch is enabled. Fix this.
29900
299012011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
29902
29903 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
29904 Set _x86_64_preferred_memory_instruction for AMD processsors.
29905 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29906 Set bit_Prefer_SSE_for_memop for AMD processors.
29907
13a804de
UD
299082011-03-04 Ulrich Drepper <drepper@gmail.com>
29909
29910 * libio/fmemopen.c (fmemopen): Optimize a bit.
29911
9d25c392
AS
299122011-03-03 Andreas Schwab <schwab@redhat.com>
29913
29914 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
29915
a5543c6a
RM
299162011-03-03 Roland McGrath <roland@redhat.com>
29917
29918 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
29919
012d35f7
DM
299202011-02-28 Aurelien Jarno <aurelien@aurel32.net>
29921
7e4ba49c 29922 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
29923 __bzero_ultra1 instead of __memset_ultra1.
29924
4bff6e01
AS
299252011-02-23 Andreas Schwab <schwab@redhat.com>
29926 Ulrich Drepper <drepper@gmail.com>
29927
29928 [BZ #12509]
29929 * include/link.h (struct link_map): Add l_orig_initfini.
29930 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
29931 returning unsuccessfully.
29932 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
29933 close of a file loaded at startup, restore the original l_initfini
29934 list.
29935 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
29936 list, store the pointer.
29937 * elf/Makefile ($(objpfx)noload-mem): New rule.
29938 (noload-ENV): Define.
29939 (tests): Add $(objpfx)noload-mem.
29940 * elf/noload.c: Include <memcheck.h>.
29941 (main): Call mtrace. Close all opened handles.
29942
f2092faf
AS
299432011-02-17 Andreas Schwab <schwab@redhat.com>
29944
29945 [BZ #12454]
29946 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
29947 dependencies are missing.
29948
6c8a2e88
ST
299492011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
29950
f2092faf 29951 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
29952 Hurd needs munmap.
29953 * sysdeps/mach/hurd/ifreq.h: New file.
29954
84a42118
PB
299552011-01-27 Petr Baudis <pasky@suse.cz>
29956 Ulrich Drepper <drepper@gmail.com>
29957
071f805e 29958 [BZ 12445]#
84a42118
PB
29959 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
29960 to extend_alloca().
29961 * stdio-common/bug23.c: New file.
29962 * stdio-common/Makefile (tests): Add bug23.
29963
e23fe25b
AS
299642010-09-28 Andreas Schwab <schwab@redhat.com>
29965 Ulrich Drepper <drepper@gmail.com>
29966
29967 [BZ #12489]
29968 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
29969 before performing relro protection. At old place add assertion
29970 to make sure nothing changed.
29971
d3f02e10
NS
299722011-02-17 Nathan Sidwell <nathan@codesourcery.com>
29973 Glauber de Oliveira Costa <glommer@gmail.com>
29974
29975 * elf/elf.h: Add new ARM TLS relocs.
29976
d55fd7a5
RA
299772011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
29978
29979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
29980 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
29981 cast from r3.
29982 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
29983 'tests' variable.
29984 * sysdeps/wordsize-64/tst-writev.c: New file.
29985
2206397e
RA
299862011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
29987
29988 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
29989 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
29990 insns in _dl_start to prevent a TOC reference before relocs are
29991 resolved.
29992
e9433893
UD
299932011-02-15 Ulrich Drepper <drepper@gmail.com>
29994
29995 [BZ #12469]
29996 * Makeconfig: Remove RANLIB definition.
29997 * Makerules: Don't use RANLIB.
29998 * aclocal.m4: Remove ranlib test.
29999 * configure.in: No need to check for ranlib.
30000 * elf/rtld-Rules: Don't use RANLIB.
30001
f75286c6
ST
300022011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
30003
8e31c82d
ST
30004 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
30005 protection macro.
30006 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
30007 inclusion protection macro.
30008
f75286c6
ST
30009 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
30010 SIGRTMIN and SIGRTMAX and print information in that case only when
30011 SIGRTMIN is defined.
30012
c1d0e639
JJ
300132011-02-11 Jakub Jelinek <jakub@redhat.com>
30014
30015 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
30016 arginfo fn returning -1.
30017
30018 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
30019 and thousands string is zero terminated.
30020
edf9294e
AS
300212011-02-03 Andreas Schwab <schwab@redhat.com>
30022
30023 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
30024 sysdeps/unix/sysv/linux/bits/socket.h.
30025
2b7e92df
ST
300262011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
30027
edf9294e
AS
30028 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
30029 (__CPU_COUNT): Remove old macros.
30030 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
30031 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
30032 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
30033 (__sched_cpualloc, __sched_cpufree): Add declarations.
30034
a4c7ea7b
UD
300352011-02-05 Ulrich Drepper <drepper@gmail.com>
30036
30037 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
30038 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
30039 * nscd/aicache.c (addhstaiX): Return timeout of added value.
30040 (readdhstai): Return value of addhstaiX call.
30041 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
30042 (addgrbyX): Return value returned by cache_addgr.
30043 (readdgrbyname): Return value returned by addgrbyX.
30044 (readdgrbygid): Likewise.
30045 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
30046 (addpwbyX): Return value returned by cache_addpw.
30047 (readdpwbyname): Return value returned by addhstbyX.
30048 (readdpwbyuid): Likewise.
30049 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
30050 (addservbyX): Return value returned by cache_addserv.
30051 (readdservbyname): Return value returned by addservbyX:
30052 (readdservbyport): Likewise.
30053 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
30054 (addhstbyX): Return value returned by cache_addhst.
30055 (readdhstbyname): Return value returned by addhstbyX.
30056 (readdhstbyaddr): Likewise.
30057 (readdhstbynamev6): Likewise.
30058 (readdhstbyaddrv6): Likewise.
30059 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
30060 (readdinitgroups): Return value returned by addinitgroupsX.
30061 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
30062 (prune_cache): Keep track of timeout value of re-added entries.
30063 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
30064 * nscd/nscd.h: Adjust prototypes of readd* functions.
30065
a0bf67cc
RM
300662011-02-04 Roland McGrath <roland@redhat.com>
30067
30068 * nis/nis_server.c (nis_servstate): Use the right name for 0.
30069 (nis_stats): Likewise.
30070 * nis/nis_modify.c (nis_modify): Likewise.
30071 * nis/nis_remove.c (nis_remove): Likewise.
30072 * nis/nis_add.c (nis_add): Likewise.
30073
30074 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
30075
30076 * posix/fnmatch_loop.c: Add some consts.
30077
30078 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
30079
435b95eb
L
300802011-02-02 H.J. Lu <hongjiu.lu@intel.com>
30081
30082 [BZ #12460]
30083 * config.make.in (config-cflags-novzeroupper): Define.
30084 * configure.in: Substitute libc_cv_cc_novzeroupper.
30085 * elf/Makefile (AVX-CFLAGS): Define.
30086 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
30087 (CFLAGS-tst-auditmod4a.c): Likewise.
30088 (CFLAGS-tst-auditmod4b.c): Likewise.
30089 (CFLAGS-tst-auditmod6b.c): Likewise.
30090 (CFLAGS-tst-auditmod6c.c): Likewise.
30091 (CFLAGS-tst-auditmod7b.c): Likewise.
30092 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
30093
8517b15e
UD
300942011-02-02 Ulrich Drepper <drepper@gmail.com>
30095
30096 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
30097 function to the callback.
30098 Patch partly by Jiri Olsa <jolsa@redhat.com>.
30099
10a656fe
AS
301002011-02-02 Andreas Schwab <schwab@redhat.com>
30101
30102 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
30103 of errno.
30104
968dad0a
UD
301052011-01-19 Ulrich Drepper <drepper@gmail.com>
30106
9f94d2ea 30107 [BZ #11724]
968dad0a
UD
30108 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
30109 of constructors.
30110 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
30111 of destructors.
30112 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
30113
30114 [BZ #11724]
30115 * elf/Makefile: Add rules to build and run new test.
30116 * elf/tst-initorder.c: New file.
30117 * elf/tst-initorder.exp: New file.
30118 * elf/tst-initordera1.c: New file.
30119 * elf/tst-initordera2.c: New file.
30120 * elf/tst-initordera3.c: New file.
30121 * elf/tst-initordera4.c: New file.
30122 * elf/tst-initorderb1.c: New file.
30123 * elf/tst-initorderb2.c: New file.
30124 * elf/tst-order-a1.c: New file.
30125 * elf/tst-order-a2.c: New file.
30126 * elf/tst-order-a3.c: New file.
30127 * elf/tst-order-a4.c: New file.
30128 * elf/tst-order-b1.c: New file.
30129 * elf/tst-order-b2.c: New file.
30130 * elf/tst-order-main.c: New file.
30131 New test case by George Gensure <werkt0@gmail.com>.
30132
86e92359
UD
301332010-10-01 Andreas Schwab <schwab@redhat.com>
30134
30135 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
30136 decoding ACE if AI_CANONIDN.
30137
5d5732b0
UD
301382011-01-18 Ulrich Drepper <drepper@gmail.com>
30139
30140 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
30141
a77e8cbc
UD
301422011-01-17 Ulrich Drepper <drepper@gmail.com>
30143
6392473f
UD
30144 * version.h (RELEASE): Bump for 2.13 release.
30145 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
30146
620a0529
UD
30147 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
30148
18ba70a5
UD
30149 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
30150 MADV_NOHUGEPAGE.
32465c3e
UD
30151 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
30152 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
30153 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
30154 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
30155 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
30156 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
30157
c0dafcf1
UD
30158 * posix/getconf.c: Update copyright year.
30159 * catgets/gencat.c: Likewise.
30160 * csu/version.c: Likewise.
30161 * debug/catchsegv.sh: Likewise.
30162 * debug/xtrace.sh: Likewise.
30163 * elf/ldconfig.c: Likewise.
30164 * elf/ldd.bash.in: Likewise.
30165 * elf/sprof.c (print_version): Likewise.
30166 * iconv/iconv_prog.c: Likewise.
30167 * iconv/iconvconfig.c: Likewise.
30168 * locale/programs/locale.c: Likewise.
30169 * locale/programs/localedef.c: Likewise.
30170 * malloc/memusage.sh: Likewise.
30171 * malloc/mtrace.pl: Likewise.
30172 * nscd/nscd.c (print_version): Likewise.
30173 * nss/getent.c: Likewise.
30174
a77e8cbc
UD
30175 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
30176 PF_CAIF, and PF_ALG.
30177 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30178
77e8bddf
AS
301792011-01-16 Andreas Schwab <schwab@linux-m68k.org>
30180
1f20b93a
AS
30181 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
30182 (modules-names): Use them.
30183 (ifunc-test-modules, ifunc-pie-tests): Define.
30184 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
30185 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
30186 (test-extras): Likewise.
30187 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
30188 $(compile-command.c).
30189 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
30190 (all-built-dso): Define.
30191 (check-textrel.out, check-execstack.out): Depend on it.
30192
77e8bddf
AS
30193 * configure.in: Don't override --enable-multi-arch.
30194
bc425b33
UD
301952011-01-15 Ulrich Drepper <drepper@gmail.com>
30196
30197 [BZ #6812]
30198 * nscd/hstcache.c (tryagain): Define.
30199 (cache_addhst): Return tryagain not notfound for temporary errors.
30200 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
30201 failed.
30202
794c3ad3
UD
302032011-01-14 Ulrich Drepper <drepper@gmail.com>
30204
70181fdd
UD
30205 [BZ #10563]
30206 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
30207 to make the syscall.
30208 * sysdeps/unix/sysv/linux/setgroups.c: New file.
30209
794c3ad3
UD
30210 [BZ #12378]
30211 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
30212 and fall back to matching as normal character if the string ends before
30213 the matching ']' is found. This is what POSIX requires.
30214 * posix/testfnm.c: Adjust test result.
30215 * posix/globtest.sh: Adjust test result. Add new test.
30216 * posix/tst-fnmatch.input: Likewise.
30217 * posix/tst-fnmatch2.c: Add new test.
30218
68dc9497
AS
302192010-12-28 Andreas Schwab <schwab@linux-m68k.org>
30220
30221 * elf/Makefile (check-execstack): Revert last change. Depend on
30222 check-execstack.h.
30223 (check-execstack.h): New target.
30224 (generated): Add check-execstack.h.
30225 * elf/check-execstack.c: Include "check-execstack.h".
30226 (main): Revert last change.
30227 (handle_file): Return zero if GNU_STACK is absent and
30228 DEFAULT_STACK_PERMS doesn't include PF_X.
30229
451f001b
UD
302302011-01-13 Ulrich Drepper <drepper@gmail.com>
30231
cfa28e56
UD
30232 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
30233 in child fails because the descriptor is already closed.
8cf8ce17
UD
30234 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
30235 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
30236 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 30237
1086d70d
UD
30238 [BZ #12397]
30239 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
30240 syscall.
30241
451f001b
UD
30242 [BZ #10484]
30243 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
30244 temporary buffer used to handle multi lookups locally.
a85b5cb4 30245 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 30246
08769175
UD
302472011-01-12 Ulrich Drepper <drepper@gmail.com>
30248
30249 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
30250 loader is ld.so.
30251
5e49c52e
UD
302522011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
30253
30254 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
30255 alignment for SSE2.
30256
60522a5f
UD
302572011-01-12 Ulrich Drepper <drepper@gmail.com>
30258
30259 [BZ #12394]
30260 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
30261 characters. When rounding increased number of integer digits recompute
30262 number of groups.
30263 * stdio-common/tst-grouping.c: New file.
30264 * stdio-common/Makefile: Add rules to build and run tst-grouping.
30265
f257bbd7
UD
302662011-01-09 Ulrich Drepper <drepper@gmail.com>
30267
30268 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
30269 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
30270
30271 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
30272 void.
30273 * bits/select.h: Likewise.
30274
fa9c15cb
UD
302752011-01-08 Ulrich Drepper <drepper@gmail.com>
30276
30277 * po/ja.po: Update from translation team.
30278
16c2895f
DM
302792011-01-04 David S. Miller <davem@sunset.davemloft.net>
30280
30281 [BZ #11155]
30282 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
30283 implementation just like for lxstat, fxstatat, et al.
30284
2543fef2
JM
302852010-12-27 Jim Meyering <meyering@redhat.com>
30286
30287 [BZ #12348]
30288 * posix/regexec.c (build_trtable): Return failure indication upon
30289 calloc failure. Otherwise, re_search_internal could infloop on OOM.
30290
98727dbe
UD
302912010-12-25 Ulrich Drepper <drepper@gmail.com>
30292
5bd6dc5c
UD
30293 [BZ #12201]
30294 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
30295 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
30296 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
30297 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
30298
97983464
UD
30299 [BZ #12207]
30300 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
30301
98727dbe
UD
30302 [BZ #12204]
30303 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
30304 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
30305
4a531bb0
L
303062010-12-15 H.J. Lu <hongjiu.lu@intel.com>
30307
30308 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
30309 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
30310 script has SORT_BY_INIT_PRIORITY.
30311 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
30312 NO_CTORS_DTORS_SECTIONS is defined.
30313 * elf/soinit.c: Likewise.
30314 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
30315 NO_CTORS_DTORS_SECTIONS is defined.
30316 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
30317 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
30318 * sysdeps/sh/init-first.c: Likewise.
30319 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
30320
07eb4b71
UD
303212010-12-24 Ulrich Drepper <drepper@gmail.com>
30322
30323 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
30324 always use the slow path.
30325
30950a5f
RA
303262010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
30327
30328 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
30329 similar rule which adds the sysdep directories to the header search in
30330 order to pick up the correct platform stackinfo.h.
30331 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
30332 perform test if it is, otherwise return successfully without testing.
30333 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
30334 DEFAULT_STACK_PERMS define in stackinfo.h.
30335 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
30336 defined in stackinfo.h.
30337 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
30338 DEFAULT_STACK_PERMS defined in stackinfo.h.
30339 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
30340 * sysdeps/ia64/stackinfo.h: Likewise.
30341 * sysdeps/s390/stackinfo.h: Likewise.
30342 * sysdeps/sh/stackinfo.h: Likewise.
30343 * sysdeps/sparc/stackinfo.h: Likewise.
30344 * sysdeps/x86_64/stackinfo.h: Likewise.
30345 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
30346 PF_X for powerpc64. Retain PF_X for powerpc32.
30347
db753e2c
UD
303482010-12-19 Ulrich Drepper <drepper@gmail.com>
30349
14b697f7
UD
30350 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
30351 accurately.
db753e2c
UD
30352 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
30353 GETDENTS_64BIT_ALIGNED.
30354
28300719
UD
303552010-12-14 Ulrich Drepper <dreper@gmail.com>
30356
14b697f7 30357 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 30358
4f197237
AS
303592010-12-10 Andreas Schwab <schwab@redhat.com>
30360
dbb0472f
AS
30361 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
30362 _GNU_SOURCE.
30363
4f197237
AS
30364 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
30365 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
30366 Remove __restrict.
30367 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
30368 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
30369
fb88ac72
UD
303702010-12-09 Ulrich Drepper <drepper@gmail.com>
30371
30372 [BZ #11655]
30373 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
30374 are initialized.
30375
42acbb92
JJ
303762010-12-09 Jakub Jelinek <jakub@redhat.com>
30377
30378 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
30379
c038d98d
UD
303802010-12-03 Ulrich Drepper <drepper@gmail.com>
30381
30382 * po/it.po: Update from translation team.
30383
3a4a2499
L
303842010-12-01 H.J. Lu <hongjiu.lu@intel.com>
30385
30386 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
30387 unused codes.
30388
1e24cf6e
UD
303892010-11-30 Ulrich Drepper <drepper@gmail.com>
30390
30391 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
30392
a7690819
AS
303932010-11-24 Andreas Schwab <schwab@redhat.com>
30394
30395 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
30396 specially.
30397 (gaih_getanswer_slice): Likewise.
30398
3bf8d1b1
JJ
303992010-10-20 Jakub Jelinek <jakub@redhat.com>
30400
30401 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
30402
6db52fbb
PB
304032010-05-31 Petr Baudis <pasky@suse.cz>
30404
30405 [BZ #11149]
30406 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
30407 silently even in the chroot mode.
30408
eaca7569
UD
304092010-11-22 Ulrich Drepper <drepper@gmail.com>
30410
30411 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
30412 last patch a bit. Pretty printing
30413
3056dcdb
UD
304142010-05-31 Petr Baudis <pasky@suse.cz>
30415
30416 [BZ #10085]
30417 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
30418 initialization of skip_initgroups_dyn.
30419
cf7c9078
UD
304202010-11-19 Ulrich Drepper <drepper@gmail.com>
30421
30422 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
30423 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
30424
a1fb5e3e
UD
304252010-11-16 Ulrich Drepper <drepper@gmail.com>
30426
30427 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
30428
3540d66b
AS
304292010-11-11 Andreas Schwab <schwab@redhat.com>
30430
30431 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
30432 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
30433 (tst-fnmatch-ENV): Set MALLOC_TRACE.
30434 ($(objpfx)tst-fnmatch-mem): New rule.
30435 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
30436 * posix/tst-fnmatch.c (main): Call mtrace.
30437
13b69574
L
304382010-11-11 H.J. Lu <hongjiu.lu@intel.com>
30439
30440 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30441 Support Intel processor model 6 and model 0x2c.
30442
da93d214
LM
304432010-11-10 Luis Machado <luisgpm@br.ibm.com>
30444
30445 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
30446 signed comparison.
30447
8ca52c6e
L
304482010-11-09 H.J. Lu <hongjiu.lu@intel.com>
30449
30450 [BZ #12205]
30451 * string/test-strncasecmp.c (check_result): New function.
30452 (do_one_test): Use it.
30453 (check1): New function.
30454 (test_main): Use it.
30455 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
30456 Support strcasecmp and strncasecmp.
30457
69da074d
UD
304582010-11-08 Ulrich Drepper <drepper@gmail.com>
30459
30460 [BZ #12194]
30461 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
30462 * sysdeps/x86_64/bits/byteswap.h: Likewise.
30463
ff02d528
L
304642010-11-07 H.J. Lu <hongjiu.lu@intel.com>
30465
30466 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
30467 IFUNC support.
30468 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30469 memset-x86-64.
30470 * sysdeps/x86_64/multiarch/bzero.S: New file.
30471 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
30472 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
30473 * sysdeps/x86_64/multiarch/memset.S: New file.
30474 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
30475 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30476 Set bit_Prefer_SSE_for_memop for Intel processors.
30477 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
30478 Define.
30479 (index_Prefer_SSE_for_memop): Define.
30480 (HAS_PREFER_SSE_FOR_MEMOP): Define.
30481
344d0b54
LM
304822010-11-04 Luis Machado <luisgpm@br.ibm.com>
30483
30484 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
30485 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
30486
c0dde15b
UD
304872010-11-03 H.J. Lu <hongjiu.lu@intel.com>
30488
30489 [BZ #12191]
30490 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
30491 (__x86_64_raw_data_cache_size_half): Likewise.
30492 (__x86_64_raw_shared_cache_size): Likewise.
30493 (__x86_64_raw_shared_cache_size_half): Likewise.
30494
30495 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
30496 (__x86_64_raw_data_cache_size_half): Likewise.
30497 (__x86_64_raw_shared_cache_size): Likewise.
30498 (__x86_64_raw_shared_cache_size_half): Likewise.
30499 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
30500 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
30501 and __x86_64_raw_shared_cache_size_half. Round
30502 __x86_64_data_cache_size_half, __x86_64_data_cache_size
30503 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
30504 to multiple of 256 bytes.
30505
0e516e0e
MS
305062010-11-03 Ulrich Drepper <drepper@gmail.com>
30507
30508 [BZ #12167]
30509 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
30510 of inacessible symlinks. Verify result of symlink before returning it.
30511 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
30512 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
30513
0e012e87
ER
305142010-10-28 Erich Ritz <erichritz@gmail.com>
30515
30516 * math/math.h (isinf): Fix typo in comment.
30517
de0ff7bc
UD
305182010-11-01 Ulrich Drepper <drepper@gmail.com>
30519
30520 * po/da.po: Update from translation team.
30521
fa41c84d
UD
305222010-10-26 Ulrich Drepper <drepper@gmail.com>
30523
30524 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
30525 is added to the list.
30526
f0967738
AK
305272010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30528 Ulrich Drepper <drepper@gmail.com>
30529
30530 * elf/dl-object.c (_dl_new_object): Don't append the new object to
30531 the global list here. Move code to...
30532 (_dl_add_to_namespace_list): ...here. New function.
30533 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
30534 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
30535 * elf/dl-load.c (lose): Don't remove the element from the list.
30536 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
30537 (_dl_map_object): Likewise.
30538
305392010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
30540
30541 [BZ #12159]
30542 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
30543 into all bytes of SSE register.
30544 Patch by Richard Li <richardpku@gmail.com>.
30545
f0967738 305462010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
30547
30548 [BZ #12140]
30549 * malloc/malloc.c (_int_free): Fill correct number of bytes when
30550 perturbing.
30551
d0b9e94f
MB
305522010-10-20 Michael B. Brutman <brutman@us.ibm.com>
30553
30554 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
30555 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
30556 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
30557 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
30558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
30559 submachine.
30560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
30561
8e9f92e9
AS
305622010-10-22 Andreas Schwab <schwab@redhat.com>
30563
30564 * include/dlfcn.h (__RTLD_SECURE): Define.
30565 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
30566 mode & __RTLD_SECURE instead.
30567 (open_path): Rename preloaded parameter to secure.
30568 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
30569 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
30570 * elf/dl-deps.c (openaux): Likewise.
30571 * elf/rtld.c (struct map_args): Remove is_preloaded.
30572 (map_doit): Don't use it.
30573 (dl_main): Likewise.
30574 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
30575 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
30576
bc96fbda
AS
305772010-09-09 Andreas Schwab <schwab@redhat.com>
30578
30579 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
30580 (sysd-rules-targets): Remove duplicates.
30581 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
30582 rtld-%.$o dependency.
30583
22cd1c9b
AS
305842010-10-18 Andreas Schwab <schwab@redhat.com>
30585
30586 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
30587 _dl_map_object do it.
30588
18edac48
UD
305892010-10-19 Ulrich Drepper <drepper@gmail.com>
30590
30591 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
30592 fast fma builtins, define the macros in the C99 standard.
30593 (FP_FAST_FMAF): Likewise.
30594 (FP_FAST_FMAL): Likewise.
30595 * sysdeps/x86_64/bits/mathdef.h: Likewise.
30596
30597 * bits/mathdef.h: Update copyright year.
30598 * sysdeps/powerpc/bits/mathdef.h: Likewise.
30599
d2050124
MM
306002010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
30601
30602 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
30603 builtins, define the macros in the C99 standard.
30604 (FP_FAST_FMAF): Likewise.
30605 (FP_FAST_FMAL): Likewise.
30606 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
30607 multiply/add.
30608 (FP_FAST_FMAF): Likewise.
30609
475facd1
JJ
306102010-10-15 Jakub Jelinek <jakub@redhat.com>
30611
30612 [BZ #3268]
30613 * math/libm-test.inc (fma_test): Some new testcases.
30614 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
30615 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
30616 y and infinite z. Do multiplication by C already in long double.
30617 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
30618 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
30619 y and infinite z. Do bitwise or of inexact bit into u.d.
30620 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
30621 * sysdeps/i386/fpu/s_fmaf.S: Removed.
30622 * sysdeps/i386/fpu/s_fma.S: Removed.
30623 * sysdeps/i386/fpu/s_fmal.S: Removed.
30624
7c08a05c
JJ
306252010-10-16 Jakub Jelinek <jakub@redhat.com>
30626
30627 [BZ #3268]
30628 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
30629 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
30630 computation is not scheduled after fetestexcept. Fix value
30631 of minimum denormal long double.
30632
f3f7372d
JJ
306332010-10-14 Jakub Jelinek <jakub@redhat.com>
30634
30635 [BZ #3268]
30636 * math/libm-test.inc (fma_test): Add some more tests.
30637 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
30638 correctly.
30639
14d43591
AS
306402010-10-15 Andreas Schwab <schwab@redhat.com>
30641
30642 * scripts/data/localplt-s390-linux-gnu.data: New file.
30643 * scripts/data/localplt-s390x-linux-gnu.data: New file.
30644
5e908464
JJ
306452010-10-13 Jakub Jelinek <jakub@redhat.com>
30646
30647 [BZ #3268]
30648 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
30649 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
30650 instead of dbl-64.
30651 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
30652 inlines.
30653 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
30654 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
30655 if one of x and y is very large and the other is subnormal.
30656 * sysdeps/s390/fpu/s_fmaf.c: New file.
30657 * sysdeps/s390/fpu/s_fma.c: New file.
30658 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
30659 * sysdeps/powerpc/fpu/s_fma.S: New file.
30660 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
30661 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
30662 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
30663
306642010-10-12 Jakub Jelinek <jakub@redhat.com>
30665
30666 [BZ #3268]
30667 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
30668 fma tests.
30669 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
30670 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
30671 * sysdeps/i386/i686/multiarch/s_fma.c: Include
30672 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
30673 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
30674 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
30675 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
30676
b833d51f
UD
306772010-10-12 Ulrich Drepper <drepper@redhat.com>
30678
30679 [BZ #12078]
30680 * posix/regcomp.c (parse_branch): One more memory leak plugged.
30681 * posix/bug-regex31.input: Add test case.
30682
1751705d
UD
306832010-10-11 Ulrich Drepper <drepper@gmail.com>
30684
e9b9cbf5
UD
30685 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
30686 * posix/bug-regex31.input: New file.
30687
30688 [BZ #12078]
30689 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
30690 (parse_sub_exp): Fix last change, use postorder.
30691
ef06edbe
UD
30692 * posix/bug-regex31.c: New file.
30693 * posix/Makefile: Add rules to build and run bug-regex31.
30694
a129c80d
UD
30695 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
30696
30697 [BZ #12078]
30698 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
30699
b76b818e
UD
30700 [BZ #12108]
30701 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
30702 to have entries in sys_siglist.
30703
1751705d
UD
30704 [BZ #12093]
30705 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
30706 be NULL.
30707
9ff8d36f
JJ
307082010-10-07 Jakub Jelinek <jakub@redhat.com>
30709
30710 [BZ #3268]
30711 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
30712 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
30713 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
30714 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
30715 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
30716 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
30717 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
30718 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
30719 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
30720 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
30721 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
30722 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
30723 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
30724 * math/ftestexcept.c (fetestexcept): Likewise.
30725 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
30726 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
30727 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
30728 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
30729 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
30730 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
30731 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30732
af325969
UD
307332010-10-11 Ulrich Drepper <drepper@gmail.com>
30734
c579b202 30735 [BZ #12107]
af325969
UD
30736 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
30737 newline.
30738
67a67b95
UD
307392010-10-06 Ulrich Drepper <drepper@gmail.com>
30740
30741 * string/bug-strstr1.c: New file.
30742 * string/Makefile: Add rules to build and run bug-strstr1.
30743
5fb308bc
EB
307442010-10-05 Eric Blake <eblake@redhat.com>
30745
30746 [BZ #12092]
30747 * string/str-two-way.h (two_way_long_needle): Always clear memory
30748 when skipping input due to the shift table.
30749
45db99c7
UD
307502010-10-03 Ulrich Drepper <drepper@gmail.com>
30751
3b111893
UD
30752 [BZ #12005]
30753 * malloc/mcheck.c: Handle large requests.
30754
45db99c7
UD
30755 [BZ #12077]
30756 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
30757 for strncmp and strncasecmp.
30758 * string/stratcliff.c: Add tests for strcmp and strncmp.
30759 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
30760
cf7a1eb8
NI
307612010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
30762
30763 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
30764 __set_fpscr.
30765
6484ba5e
AJ
307662010-09-30 Andreas Jaeger <aj@suse.de>
30767
30768 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
30769 (CGROUP_SUPER_MAGIC): Define.
30770 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30771 Handle btrfs and cgroup file systems.
30772 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
30773 Likewise.
30774
91c42559
LM
307752010-09-27 Luis Machado <luisgpm@br.ibm.com>
30776
30777 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
30778 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
30779
87a97932
AK
307802010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30781
30782 [BZ #12067]
30783 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
30784 trying to locate the ELF header.
30785
c21cc9bc
AS
307862010-09-27 Andreas Schwab <schwab@redhat.com>
30787
30788 [BZ #11611]
30789 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
30790 Mask out sign-bit copies when constructing f_fsid.
30791
315970f6
PB
307922010-09-24 Petr Baudis <pasky@suse.cz>
30793
30794 * debug/stack_chk_fail_local.c: Add missing licence exception.
30795 * debug/warning-nop.c: Likewise.
30796
1ac7a2c7
JM
307972010-09-15 Joseph Myers <joseph@codesourcery.com>
30798
30799 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
30800 implementing getdents64 using getdents syscall, set d_type if
30801 __ASSUME_GETDENTS32_D_TYPE.
30802
56801c50
AS
308032010-09-16 Andreas Schwab <schwab@redhat.com>
30804
30805 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
30806 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
30807
dda51327
UD
308082010-09-21 Ulrich Drepper <drepper@redhat.com>
30809
30810 [BZ #12037]
30811 * posix/unistd.h: Undo change of feature selection for ftruncate from
30812 2010-01-11.
30813
8ffcee4a
UD
308142010-09-20 Ulrich Drepper <drepper@redhat.com>
30815
a545ecd9 30816 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
30817 detection.
30818
e24f0a8b
AS
308192010-09-20 Andreas Schwab <schwab@redhat.com>
30820
30821 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
30822 fanotify_mark.
30823 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
30824
7291c56f
AS
308252010-09-14 Andreas Schwab <schwab@redhat.com>
30826
30827 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
30828 variables after CHECK_SP call.
30829 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
30830
bc5fb037
AS
308312010-09-13 Andreas Schwab <schwab@redhat.com>
30832 Ulrich Drepper <drepper@redhat.com>
30833
30834 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
30835 re-relocationg ld.so.
30836 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
30837 _dl_init_paths call.
30838 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
30839 here anymore.
30840
e66e7419
UD
308412010-09-14 Ulrich Drepper <drepper@redhat.com>
30842
30843 * resolv/res_init.c (__res_vinit): Count the default server we added.
30844
c044aa75
CLT
308452010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
30846 Ulrich Drepper <drepper@redhat.com>
30847
30848 [BZ #11968]
30849 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
30850 (____longjmp_chk): Use %ebx for saving value across system call.
30851 Add unwind info.
30852
32cf4069
AS
308532010-09-06 Andreas Schwab <schwab@redhat.com>
30854
30855 * manual/Makefile: Don't mix pattern rules with normal rules.
30856
817328ee
AS
308572010-09-05 Andreas Schwab <schwab@linux-m68k.org>
30858
30859 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
30860 operation.
30861 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
30862 * libio/iofopncook.c (_IO_cookie_init): Likewise.
30863 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
30864 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
30865 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30866 Likewise.
30867
29fddf61
UD
308682010-09-04 Ulrich Drepper <drepper@redhat.com>
30869
30870 [BZ #11979]
30871 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
30872 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
30873
0959ffc9
UD
308742010-09-02 Ulrich Drepper <drepper@redhat.com>
30875
30876 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
30877 * sysdeps/x86_64/addmul_1.S: Likewise.
30878 * sysdeps/x86_64/lshift.S: Likewise.
30879 * sysdeps/x86_64/mul_1.S: Likewise.
30880 * sysdeps/x86_64/rshift.S: Likewise.
30881 * sysdeps/x86_64/sub_n.S: Likewise.
30882 * sysdeps/x86_64/submul_1.S: Likewise.
30883
ece29840
ST
308842010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
30885
0959ffc9
UD
30886 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
30887 Define __sched_param instead of SCHED_* and sched_param when
ece29840 30888 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 30889 * bits/sched.h [__need_schedparam]
ece29840 30890 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
30891 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
30892 (__defined_schedparam): Define to 1.
ece29840
ST
30893 (__sched_param): New structure, identical to sched_param.
30894 (__need_schedparam): Undefine.
30895
e53a31fe
MF
308962010-08-31 Mike Frysinger <vapier@gentoo.org>
30897
fdc0c10d
MF
30898 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
30899 (epoll_create1): Declare.
30900
e53a31fe
MF
30901 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
30902
a726d796
AS
309032010-08-31 Andreas Schwab <schwab@redhat.com>
30904
30905 [BZ #7066]
30906 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
30907 shifting retval into place.
30908
2f3e3dc7
UD
309092010-09-01 Ulrich Drepper <drepper@redhat.com>
30910
f2933da9
UD
30911 * nis/rpcsvc/nis.h: Update copyright notice.
30912 * nis/rpcsvc/nis.x: Likewise.
30913 * nis/rpcsvc/nis_callback.h: Likewise.
30914 * nis/rpcsvc/nis_callback.x: Likewise.
30915 * nis/rpcsvc/nis_object.x: Likewise.
30916 * nis/rpcsvc/nis_tags.h: Likewise.
30917 * nis/rpcsvc/yp.h: Likewise.
30918 * nis/rpcsvc/yp.x: Likewise.
30919 * nis/rpcsvc/ypupd.h: Likewise.
30920 * nis/yp_xdr.c: Likewise.
30921 * nis/ypupdate_xdr.c: Likewise.
30922
2f3e3dc7
UD
30923 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
30924 mainly the body of pmap_getport. Add parameters to specify timeouts.
30925 (pmap_getport): Use __libc_rpc_getport.
30926 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
30927 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
30928 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
30929
f3dcc2f9
AS
309302010-08-31 Andreas Schwab <schwab@linux-m68k.org>
30931
30932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
30933 fanotify_mark.
30934
6d34eb5b
RM
309352010-08-27 Roland McGrath <roland@redhat.com>
30936
30937 * sysdeps/i386/i686/multiarch/Makefile
30938 (CFLAGS-varshift.c): New variable.
30939
9ea3de11
UD
309402010-08-27 Ulrich Drepper <drepper@redhat.com>
30941
c96d23fc
UD
30942 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
30943 * sysdeps/i386/i686/multiarch/varshift.c: New file.
30944
9ea3de11
UD
30945 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
30946
30947 * sysdeps/x86_64/strlen.S: Minimal code improvement.
30948
623aac7f
L
309492010-08-26 H.J. Lu <hongjiu.lu@intel.com>
30950
30951 * sysdeps/x86_64/strlen.S: Unroll the loop.
30952 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30953 strlen-sse2 strlen-sse2-bsf.
30954 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
30955 __strlen_no_bsf if bit_Slow_BSF is set.
30956 (__strlen_sse42): Removed.
30957 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
30958 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
30959
8b2b7715
RM
309602010-08-25 Roland McGrath <roland@redhat.com>
30961
30962 * sysdeps/x86_64/multiarch/varshift.S: File removed.
30963 * sysdeps/x86_64/multiarch/varshift.c: New file.
30964 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
30965 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
30966 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
30967 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
30968
e73015f2
L
309692010-08-25 H.J. Lu <hongjiu.lu@intel.com>
30970
30971 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30972 strlen-sse2 strlen-sse2-bsf.
30973 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
30974 __strlen_sse2_bsf if bit_Slow_BSF is unset.
30975 (__strlen_sse2): Removed.
30976 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
30977 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
30978 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
30979 bit_Slow_BSF for Atom.
30980 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
30981 (index_Slow_BSF): Define.
30982 (HAS_SLOW_BSF): Define.
30983
df24a73e
UD
309842010-08-25 Ulrich Drepper <drepper@redhat.com>
30985
30986 [BZ #10851]
30987 * resolv/res_init.c (__res_vinit): When no server address at all
30988 is given default to loopback.
30989
f2ac4868
RM
309902010-08-24 Roland McGrath <roland@redhat.com>
30991
09055553
RM
30992 * configure.in: Remove config-name.h generation.
30993 * configure: Regenerated.
30994 * config-name.in: File removed.
30995 * scripts/config-uname.sh: New file.
30996 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
30997 ($(objdir)config-name.h): New target.
30998
f2ac4868
RM
30999 * sunrpc/rpc_parse.h: Avoid nested comment.
31000
73f27d5e
RH
310012010-08-24 Richard Henderson <rth@redhat.com>
31002 Ulrich Drepper <drepper@redhat.com>
31003 H.J. Lu <hongjiu.lu@intel.com>
31004
31005 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
31006 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
31007 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
31008 Replace _mm_srli_si128 with __m128i_shift_right. Replace
31009 _mm_alignr_epi8 with _mm_loadu_si128.
31010 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
31011 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
31012 (__m128i_shift_right): Removed.
31013 * sysdeps/i386/i686/multiarch/varshift.h: New file.
31014 * sysdeps/i386/i686/multiarch/varshift.S: New file.
31015 * sysdeps/x86_64/multiarch/varshift.h: New file.
31016 * sysdeps/x86_64/multiarch/varshift.S: New file.
31017
84b9230c
MF
310182010-08-21 Mike Frysinger <vapier@gentoo.org>
31019
31020 * configure.in: Move assembler checks to before sysdep dir checking.
31021
9bbd0ddc
PB
310222010-08-20 Petr Baudis <pasky@suse.cz>
31023
31024 * LICENSES: Sync the sunrpc license.
31025
9da4bb31
UD
310262010-08-19 Ulrich Drepper <drepper@redhat.com>
31027
a7ab6ec8
UD
31028 * sunrpc/auth_des.c: Update copyright notice once again.
31029 * sunrpc/auth_none.c: Likewise.
31030 * sunrpc/auth_unix.c: Likewise.
31031 * sunrpc/authdes_prot.c: Likewise.
31032 * sunrpc/authuxprot.c: Likewise.
31033 * sunrpc/bindrsvprt.c: Likewise.
31034 * sunrpc/clnt_gen.c: Likewise.
31035 * sunrpc/clnt_perr.c: Likewise.
31036 * sunrpc/clnt_raw.c: Likewise.
31037 * sunrpc/clnt_simp.c: Likewise.
31038 * sunrpc/clnt_tcp.c: Likewise.
31039 * sunrpc/clnt_udp.c: Likewise.
31040 * sunrpc/clnt_unix.c: Likewise.
31041 * sunrpc/des_crypt.c: Likewise.
31042 * sunrpc/des_soft.c: Likewise.
31043 * sunrpc/get_myaddr.c: Likewise.
31044 * sunrpc/getrpcport.c: Likewise.
31045 * sunrpc/key_call.c: Likewise.
31046 * sunrpc/key_prot.c: Likewise.
31047 * sunrpc/openchild.c: Likewise.
31048 * sunrpc/pm_getmaps.c: Likewise.
31049 * sunrpc/pm_getport.c: Likewise.
31050 * sunrpc/pmap_clnt.c: Likewise.
31051 * sunrpc/pmap_prot.c: Likewise.
31052 * sunrpc/pmap_prot2.c: Likewise.
31053 * sunrpc/pmap_rmt.c: Likewise.
31054 * sunrpc/rpc/auth.h: Likewise.
31055 * sunrpc/rpc/auth_unix.h: Likewise.
31056 * sunrpc/rpc/clnt.h: Likewise.
31057 * sunrpc/rpc/des_crypt.h: Likewise.
31058 * sunrpc/rpc/key_prot.h: Likewise.
31059 * sunrpc/rpc/netdb.h: Likewise.
31060 * sunrpc/rpc/pmap_clnt.h: Likewise.
31061 * sunrpc/rpc/pmap_prot.h: Likewise.
31062 * sunrpc/rpc/pmap_rmt.h: Likewise.
31063 * sunrpc/rpc/rpc.h: Likewise.
31064 * sunrpc/rpc/rpc_des.h: Likewise.
31065 * sunrpc/rpc/rpc_msg.h: Likewise.
31066 * sunrpc/rpc/svc.h: Likewise.
31067 * sunrpc/rpc/svc_auth.h: Likewise.
31068 * sunrpc/rpc/types.h: Likewise.
31069 * sunrpc/rpc/xdr.h: Likewise.
31070 * sunrpc/rpc_clntout.c: Likewise.
31071 * sunrpc/rpc_cmsg.c: Likewise.
31072 * sunrpc/rpc_common.c: Likewise.
31073 * sunrpc/rpc_cout.c: Likewise.
31074 * sunrpc/rpc_dtable.c: Likewise.
31075 * sunrpc/rpc_hout.c: Likewise.
31076 * sunrpc/rpc_main.c: Likewise.
31077 * sunrpc/rpc_parse.c: Likewise.
31078 * sunrpc/rpc_parse.h: Likewise.
31079 * sunrpc/rpc_prot.c: Likewise.
31080 * sunrpc/rpc_sample.c: Likewise.
31081 * sunrpc/rpc_scan.c: Likewise.
31082 * sunrpc/rpc_scan.h: Likewise.
31083 * sunrpc/rpc_svcout.c: Likewise.
31084 * sunrpc/rpc_tblout.c: Likewise.
31085 * sunrpc/rpc_util.c: Likewise.
31086 * sunrpc/rpc_util.h: Likewise.
31087 * sunrpc/rpcinfo.c: Likewise.
31088 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
31089 * sunrpc/rpcsvc/key_prot.x: Likewise.
31090 * sunrpc/rpcsvc/klm_prot.x: Likewise.
31091 * sunrpc/rpcsvc/mount.x: Likewise.
31092 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
31093 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
31094 * sunrpc/rpcsvc/rex.x: Likewise.
31095 * sunrpc/rpcsvc/rstat.x: Likewise.
31096 * sunrpc/rpcsvc/rusers.x: Likewise.
31097 * sunrpc/rpcsvc/sm_inter.x: Likewise.
31098 * sunrpc/rpcsvc/spray.x: Likewise.
31099 * sunrpc/rpcsvc/yppasswd.x: Likewise.
31100 * sunrpc/rtime.c: Likewise.
31101 * sunrpc/svc.c: Likewise.
31102 * sunrpc/svc_auth.c: Likewise.
31103 * sunrpc/svc_authux.c: Likewise.
31104 * sunrpc/svc_raw.c: Likewise.
31105 * sunrpc/svc_run.c: Likewise.
31106 * sunrpc/svc_simple.c: Likewise.
31107 * sunrpc/svc_tcp.c: Likewise.
31108 * sunrpc/svc_udp.c: Likewise.
31109 * sunrpc/svc_unix.c: Likewise.
31110 * sunrpc/svcauth_des.c: Likewise.
31111 * sunrpc/xcrypt.c: Likewise.
31112 * sunrpc/xdr.c: Likewise.
31113 * sunrpc/xdr_array.c: Likewise.
31114 * sunrpc/xdr_float.c: Likewise.
31115 * sunrpc/xdr_mem.c: Likewise.
31116 * sunrpc/xdr_rec.c: Likewise.
31117 * sunrpc/xdr_ref.c: Likewise.
31118 * sunrpc/xdr_sizeof.c: Likewise.
31119 * sunrpc/xdr_stdio.c: Likewise.
31120
9da4bb31
UD
31121 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
31122 handling.
31123
bdaa77bc
AS
311242010-08-19 Andreas Schwab <schwab@redhat.com>
31125
31126 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
31127
fe2f79db
LM
311282010-08-19 Luis Machado <luisgpm@br.ibm.com>
31129
31130 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
31131 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
31132 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
31133 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
31134 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
31135 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
31136 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
31137 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
31138 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
31139 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
31140 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
31141 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
31142 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
31143 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
31144
b9b42ee0
AB
311452010-07-26 Anton Blanchard <anton@samba.org>
31146
31147 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
31148 * malloc/arena.c (heap_trim): Likewise.
31149
1c06ba31
UD
311502010-08-16 Ulrich Drepper <drepper@redhat.com>
31151
31152 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
31153 here. Not...
31154 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
31155 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
31156
f8392f40
L
311572010-08-12 H.J. Lu <hongjiu.lu@intel.com>
31158
31159 * sysdeps/i386/elf/Makefile: New file.
31160
3162f12e
AS
311612010-08-14 Andreas Schwab <schwab@linux-m68k.org>
31162
31163 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
31164 from fanotify_init.
31165 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
31166 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
31167
28c90b2c
UD
311682010-08-15 Ulrich Drepper <drepper@redhat.com>
31169
31170 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
31171 of strncasecmp_l.
1feccb6c 31172 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 31173
ca6bb004
UD
311742010-08-14 Ulrich Drepper <drepper@redhat.com>
31175
e9f82e0d
UD
31176 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
31177 strncase_l-nonascii.
31178 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
31179 Add strncase_l-ssse3.
31180 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
31181 * sysdeps/x86_64/strcmp.S: Likewise.
31182 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
31183 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
31184 * sysdeps/x86_64/strncase.S: New file.
31185 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
31186 * sysdeps/x86_64/strncase_l.S: New file.
31187 * string/Makefile (strop-tests): Add strncasecmp.
31188 * string/test-strncasecmp.c: New file.
31189
31190 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
31191 warning.
31192
ca6bb004
UD
31193 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
31194 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
31195
052fa7b3
AS
311962010-08-14 Andreas Schwab <schwab@linux-m68k.org>
31197
31198 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
31199
962dba78
UD
312002010-08-12 Ulrich Drepper <drepper@redhat.com>
31201
31202 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
31203 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
31204 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
31205
bebff237
AM
312062010-05-01 Alan Modra <amodra@gmail.com>
31207
31208 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
31209 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
31210 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
31211 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
31212 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
31213 tidying. Don't tail-call __sigjmp_save for static lib.
31214 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
31215 save location.
31216 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
31217 (CALL_MCOUNT): Add eh info, and nop after bl.
31218 (TAIL_CALL_SYSCALL_ERROR): New macro.
31219 (PSEUDO_RET): Use it.
31220 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
31221 Correct save location of integer regs and cr.
31222 (_dl_profile_resolve): Correct cr save location. Delete nops
31223 after bl when SHARED. Reduce cfi size a little by better
31224 placement of cfi directives.
31225 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
31226 make a stack frame. Instead use parm save area as a temp.
31227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
31228 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
31229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
31230 Don't make a stack frame for parent, use parm save area.
31231 Increase child stack frame to 112 bytes. Don't save unused reg,
31232 and adjust reg usage. Set up cfi on error recovery and
31233 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
31234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
31235 (__makecontext): Add dummy nop after jump to exit.
31236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
31237 Use correct parm save area and cr save, reduce stack frame.
31238 Correct cfi for possible PSEUDO_RET frame setup.
31239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
31240 Branch to local label emitted by PSEUDO_RET rather than
31241 __syscall_error.
31242
02637374
AS
312432010-08-12 Andreas Schwab <schwab@redhat.com>
31244
31245 [BZ #11904]
31246 * locale/programs/locale.c (print_assignment): New function.
31247 (show_locale_vars): Use it.
31248
c3e2f19b
UD
312492010-08-11 Ulrich Drepper <drepper@redhat.com>
31250
3cdaa6ad
UD
31251 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
31252 field.
31253 (struct statfs64): Likewise.
31254 (_STATFS_F_FLAGS): Define.
31255 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
31256 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31257 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
31258 (ST_VALID): Define locally.
31259 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
31260 __statvfs_getflags, use the provided value.
31261 * sysdeps/unix/sysv/linux/kernel-features.h: Define
31262 __ASSUME_STATFS_F_FLAGS.
31263
754f7da3
UD
31264 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
31265
10b3bedc
UD
31266 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
31267 Add sys/fanotify.h.
31268 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
31269 fanotify_mask for GLIBC_2.13.
31270 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
31271 fanotify_init and fanotify_mark.
31272 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
31273 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
31274
c08fb0d7
UD
31275 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
31276 Add prlimit.
31277 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
31278 prlimit64 for GLIBC_2.13.
31279 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
31280 prlimit64.
31281 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
31282 syscall.
31283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
31284 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
31285 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
31286 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
31287 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
31288 add prlimit alias.
31289 * sysdeps/unix/sysv/linux/prlimit.c: New file.
31290
15bac72b
UD
31291 [BZ #11903]
31292 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
31293 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
31294
c3e2f19b
UD
31295 * nss/Makefile: Add rules to build and run tst-nss-test1.
31296 * shlib-versions: Add entry for libnss_test1.
31297 * nss/nss_test1.c: New file.
31298 * nss/tst-nss-test1.c: New file.
31299
31300 * nss/nsswitch.c (__nss_database_custom): Define new variable.
31301 (__nss_configure_lookup): Set appropriate entry in
31302 __nss_configure_lookup to true.
31303 * nss/nsswitch.h: Define enum with indeces of databases in
31304 databases and __nss_database_custom arrays. Declare
31305 __nss_database_custom.
31306 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
31307 to avoid using nscd when custom rules are installed.
31308 * nss/getXXbyYY_r.c: Likewise.
31309 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
31310
31311 * nss/nss_files/files-parse.c: Whitespace fixes.
31312
f15ce4d8
UD
313132010-08-09 Ulrich Drepper <drepper@redhat.com>
31314
31315 [BZ #11883]
31316 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
31317 * posix/fnmatch_loop.c: Likewise.
31318
d22e4cc9
AK
313192010-07-17 Andi Kleen <ak@linux.intel.com>
31320
31321 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
31322 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
31323 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
31324 * Versions.def [GLIBC_2.13]: Add.
31325
805bc17d
UD
313262010-08-06 Ulrich Drepper <drepper@redhat.com>
31327
31328 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31329 Also fail if tpwd after pwuid call is NULL.
31330
5a42321d
ST
313312010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
31332
31333 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
31334 when converting to ms.
31335
fd3ebeda
ST
313362010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
31337
31338 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
31339 EOPNOTSUPP errors with ENOTTY.
31340 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
31341 EOPNOTSUPP errors with ENOTTY.
31342
73507d3a
UD
313432010-07-31 Ulrich Drepper <drepper@redhat.com>
31344
31345 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
31346 Add strcasecmp_l-ssse3.
31347 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
31348 strcasecmp.
31349 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
31350 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
31351 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
31352
fe36dd02
UD
313532010-07-30 Ulrich Drepper <drepper@redhat.com>
31354
66f6765a
UD
31355 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
31356
42e08a54
UD
31357 * string/Makefile (strop-tests): Add strcasecmp.
31358 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
31359 strcasecmp_l-nonascii.
31360 (gen-as-const-headers): Add locale-defines.sym.
31361 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
31362 * sysdeps/x86_64/strcasecmp.S: New file.
31363 * sysdeps/x86_64/strcasecmp_l.S: New file.
31364 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
31365 * sysdeps/x86_64/locale-defines.sym: New file.
31366 * string/test-strcasecmp.c: New file.
31367
fe36dd02
UD
31368 * string/test-strcasestr.c: Test both ends of the range of characters.
31369 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
31370
48cbc0d6
RM
313712010-07-29 Roland McGrath <roland@redhat.com>
31372
76e6d6bc 31373 [BZ #11856]
48cbc0d6
RM
31374 * manual/locale.texi (Yes-or-No Questions): Fix example code.
31375
880113d9
UD
313762010-07-27 Ulrich Drepper <drepper@redhat.com>
31377
31378 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
31379 for ld.so.
31380
deb9cabb
AS
313812010-07-27 Andreas Schwab <schwab@redhat.com>
31382
31383 * manual/memory.texi (Malloc Tunable Parameters): Document
31384 M_PERTURB.
31385
1c7570ff
RM
313862010-07-26 Roland McGrath <roland@redhat.com>
31387
31388 [BZ #11840]
31389 * configure.in (-fgnu89-inline check): Set and substitute
31390 gnu89_inline, not libc_cv_gnu89_inline.
31391 * configure: Regenerated.
31392 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
31393
24fb0f88
UD
313942010-07-26 Ulrich Drepper <drepper@redhat.com>
31395
31396 * string/test-strnlen.c: New file.
31397 * string/Makefile (strop-tests): Add strnlen.
31398 * string/tester.c (test_strnlen): Add a few more test cases.
31399 * string/tst-strlen.c: Better error reporting.
31400
31401 * sysdeps/x86_64/strnlen.S: New file.
31402
8e96b93a
UD
314032010-07-24 Ulrich Drepper <drepper@redhat.com>
31404
31405 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
31406 lower-latency instructions.
31407
dbc676d4
UD
314082010-07-23 Ulrich Drepper <drepper@redhat.com>
31409
31410 * string/test-strcasestr.c: New file.
31411 * string/test-strstr.c: New file.
31412 * string/Makefile (strop-tests): Add strstr and strcasestr.
31413 * string/str-two-way.h: Don't undefine MAX.
31414 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
31415
f6a31e0e
AS
314162010-07-21 Andreas Schwab <schwab@redhat.com>
31417
31418 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31419 strcasestr-nonascii.
31420 (CFLAGS-strcasestr-nonascii.c): Define.
31421 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
31422 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
31423 Remove unused attribute.
31424
5dbc3b6c
RM
314252010-07-20 Roland McGrath <roland@redhat.com>
31426
31427 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
31428 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
31429 ld.so.cache was broken. With it, there is no way to disable dsocaps
31430 like LD_HWCAP_MASK can disable hwcaps.
31431
23d101d8
EPM
314322010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
31433
31434 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
31435
cc9f2e47
UD
314362010-07-16 Ulrich Drepper <drepper@redhat.com>
31437
31438 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
31439 call in strcasestr.
31440 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
31441 __strcasestr_sse42_nonascii.
31442 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
31443 strcasestr-nonascii.c.
31444 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
31445
77c1b069
LM
314462010-06-15 Luis Machado <luisgpm@br.ibm.com>
31447
31448 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
31449 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
31450 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
31451 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
31452
440566c3
UD
314532010-07-09 Ulrich Drepper <drepper@redhat.com>
31454
31455 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
31456 fcntl.
31457
5be9d05d
AS
314582010-07-06 Andreas Schwab <schwab@redhat.com>
31459
c30b7ee2 31460 [BZ #11577]
5be9d05d
AS
31461 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
31462 dl_signal_cerror.
31463
8a492a67
UD
314642010-07-06 Ulrich Drepper <drepper@redhat.com>
31465
31466 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
31467 _PC_PIPE_BUF using F_GETPIPE_SZ.
31468
713df3d5
RM
314692010-07-05 Roland McGrath <roland@redhat.com>
31470
31471 * manual/arith.texi (Rounding Functions): Fix rint description
31472 implicit in round description.
31473
702e8f14
UD
314742010-07-02 Ulrich Drepper <drepper@redhat.com>
31475
31476 * elf/Makefile: Fix linking for a few tests to make recent linker
31477 happy.
31478
52ed8be9
AS
314792010-06-30 Andreas Schwab <schwab@redhat.com>
31480
31481 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
31482 $(common-objpfx)libc_nonshared.a.
31483
f47c9a11
LM
314842010-06-21 Luis Machado <luisgpm@br.ibm.com>
31485
31486 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
31487 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
31488 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
31489 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
31490 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
31491 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
31492 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
31493 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
31494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
31495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
31496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
31497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
31498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
31499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
31500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
31501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
31502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
31503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
31504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
31505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
31506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
31507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
31508 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
31509 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
31510 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
31511 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
31512 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
31513 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
31514 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
31515 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
31516 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
31517 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
31518 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
31519 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
31520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
31521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
31522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
31523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
31524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
31525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
31526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
31527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
31528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
31529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
31530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
31531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
31532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
31533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
31534
6fb8cbcb
L
315352010-06-25 H.J. Lu <hongjiu.lu@intel.com>
31536
31537 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
31538 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
31539 * string/memmove.c (memmove): Renamed to ...
31540 (MEMMOVE): ...this. Default to memmove.
31541 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
31542 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
31543 (END_CHK): Define.
31544 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31545 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
31546 mempcpy-ssse3-back memmove-ssse3-back.
31547 * sysdeps/x86_64/multiarch/bcopy.S: New file .
31548 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
31549 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
31550 * sysdeps/x86_64/multiarch/memcpy.S: New file.
31551 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
31552 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
31553 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
31554 * sysdeps/x86_64/multiarch/memmove.c: New file.
31555 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
31556 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
31557 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
31558 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
31559 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
31560 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
31561 Define.
31562 (index_Fast_Copy_Backward): Define.
31563 (HAS_ARCH_FEATURE): Define.
31564 (HAS_FAST_REP_STRING): Define.
31565 (HAS_FAST_COPY_BACKWARD): Define.
31566
4e733bac 315672010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
31568
31569 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31570 Restore proper fallback handling.
31571
63c4ed22
UD
315722010-06-19 Ulrich Drepper <drepper@redhat.com>
31573
ac2b484c
UD
31574 [BZ #11701]
31575 * posix/group_member.c (__group_member): Correct checking loop.
31576
63c4ed22
UD
31577 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
31578 OOM in getpwuid_r correctly. Return error number when the caller
31579 should return, otherwise -1.
31580 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
31581 call returning > 0 value.
31582 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
31583
765ade4b
AS
315842010-06-07 Andreas Schwab <schwab@redhat.com>
31585
31586 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
31587 libc_nonshared.a from targets in modules-names.
31588
80da2e09
KS
315892010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
31590
31591 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
31592 requires it.
31593
158db122
LM
315942010-06-10 Luis Machado <luisgpm@br.ibm.com>
31595
31596 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
31597 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
31598 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
31599 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
31600
caa78cf8
AS
316012010-06-02 Andreas Schwab <schwab@redhat.com>
31602
31603 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
31604
b2ef2c01
UD
316052010-06-14 Ulrich Drepper <drepper@redhat.com>
31606
31607 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
31608 and F_GETPIPE_SZ.
31609 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
31610 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31611 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31612 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31613 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31614 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
31615
fbd643b6
RM
316162010-06-14 Roland McGrath <roland@redhat.com>
31617
31618 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
31619
f32f2869
JJ
316202010-06-07 Jakub Jelinek <jakub@redhat.com>
31621
31622 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
31623 __REDIRECT followed by __THROW.
31624 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
31625 * posix/getopt.h (getopt): Likewise.
31626
2a50c078
EPM
316272010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
31628
31629 * hurd/lookup-at.c (__file_name_lookup_at): Accept
31630 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
31631 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
31632 in AT_FLAGS.
31633 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
31634 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
31635
eb5ad2eb
LM
316362010-05-28 Luis Machado <luisgpm@br.ibm.com>
31637
31638 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
31639
3c88fe1e
L
316402010-05-26 H.J. Lu <hongjiu.lu@intel.com>
31641
31642 [BZ #11640]
31643 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31644 Properly check family and model.
31645
d2f73151
TY
316462010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
31647
31648 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
31649
ebd2e13d
LM
316502010-05-24 Luis Machado <luisgpm@br.ibm.com>
31651
31652 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
31653
b32b8b45
UD
316542010-05-21 Ulrich Drepper <drepper@redhat.com>
31655
31656 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
31657 symbol reference.
31658
9acbe24d
AS
316592010-05-19 Andreas Schwab <schwab@redhat.com>
31660
31661 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
31662 symbol reference.
31663
f0ccf6ea
AS
316642010-05-21 Andreas Schwab <schwab@redhat.com>
31665
3d04ff3a
AS
31666 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
31667 and internal_recvmmsg.
31668 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
31669 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
31670 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
31671 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
31672
f0ccf6ea
AS
31673 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
31674 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
31675 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
31676
5b08ac57
AS
316772010-05-20 Andreas Schwab <schwab@redhat.com>
31678
31679 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
31680
4828935d
LM
316812010-05-17 Luis Machado <luisgpm@br.ibm.com>
31682
31683 POWER7 optimizations.
31684 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
31685 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
31686
373d545e
UD
316872010-05-19 Ulrich Drepper <drepper@redhat.com>
31688
31689 * version.h: Update for 2.13 development version.
31690
21a2b1ae
AS
316912010-05-12 Andrew Stubbs <ams@codesourcery.com>
31692
31693 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
31694 exceptions. Return 0.
31695
3f7dcb2b
RM
316962010-05-07 Roland McGrath <roland@redhat.com>
31697
31698 * elf/ldconfig.c (main): Add a const.
31699
5f24d53a 317002010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 31701
a160f8d8
UD
31702 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
31703 (args_options): Add no-idn option.
31704 (ahosts_keys_int): Add idn_flags to ai_flags.
31705 (parse_option): Handle 'i' option to clear idn_flags.
31706
5f24d53a
UD
31707 * malloc/malloc.c (_int_free): Possible race in the most recently
31708 added check. Only act on the data if no current modification
31709 happened.
265bb1ce
UD
31710
31711See ChangeLog.17 for earlier changes.