]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Fix typo in comment
[thirdparty/glibc.git] / ChangeLog
CommitLineData
a31ee4b3
SP
12013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2
3 * nscd/connections.c (nscd_init): Fix comment.
4
695c378f
JM
52013-06-22 Joseph Myers <joseph@codesourcery.com>
6
d8412221
JM
7 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
8
695c378f
JM
9 [BZ #15667]
10 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
11 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
12
d1d54715
MR
132013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
14
15 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
16 DL_DST_REQ_STATIC.
17 (DL_DST_REQ_STATIC): Remove macro.
18
8fdda7af
JM
192013-06-21 Joseph Myers <joseph@codesourcery.com>
20
21 [BZ #7006]
22 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
23 with a shift of 0 bits.
24
f3bc5e5a
MR
252013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
26
27 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
28 $(tststatic-ENV).
29
be09e8c9
KK
302013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
31
32 [BZ #15655]
33 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
34
85c2e611
AZ
352013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36
37 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
38 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
39 accepts -fno-tree-loop-distribute-patterns.
40 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
41 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
42 recursive call.
43 * string/memset.c (memset): Likewise.
44 * string/test-memmove.c (simple_memmove): Disable loop transformation
45 to library calls.
46 * string/test-memset.c (simple_memset): Likewise.
47 * benchtests/bench-memmove.c (simple_memmove): Likewise.
48 * benchtests/bench-memset.c (simple_memset): Likewise.
49 * configure: Regenerated.
50
c91e0825
JM
512013-06-20 Joseph Myers <joseph@codesourcery.com>
52
b8c792af
JM
53 * math/test-misc.c (main): Ignore fesetround failure when failures
54 of subsequent rounding tests would be ignored.
55
c91e0825
JM
56 [BZ #15654]
57 * math/fedisblxcpt.c (fedisableexcept): Return 0.
58 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
59 * math/fegetenv.c (__fegetenv): Return 0.
60 * math/fegetexcept.c (fegetexcept): Return 0.
61 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
62 FE_TONEAREST.
63 * math/feholdexcpt.c (feholdexcept): Return 0.
64 * math/fesetenv.c (__fesetenv): Return 0.
65 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
66 argument FE_TONEAREST.
67 * math/feupdateenv.c (__feupdateenv): Return 0.
68 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
69
bfcacbde
RM
702013-06-18 Roland McGrath <roland@hack.frob.com>
71
72 * elf/rtld-Rules (rtld-compile-command.S): New variable.
73 (rtld-compile-command.s, rtld-compile-command.c): New variables.
74 ($(objpfx)rtld-%.os rules): Use them.
75
e55a9b25
AZ
762013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
77
78 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
79 fields.
80
346d65b3
RM
812013-06-17 Roland McGrath <roland@hack.frob.com>
82
12086fb4
RM
83 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
84 length of target pattern, then descending length of dependency pattern.
85 * configure.in (AWK): Require gawk 3.1.2 or newer.
86 * manual/install.texi (Tools for Compilation): Say that we do.
87 * configure: Regenerated.
88
346d65b3
RM
89 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
90 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
91 * scripts/sysd-rules.awk: ... this new script.
92 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
93 than a glob-style pattern.
94
1a846317
JM
952013-06-17 Joseph Myers <joseph@codesourcery.com>
96
97 * math/test-misc.c (main): Do not treat incorrectly rounded
98 conversions as failure unless ROUNDING_TESTS passes.
99
8fc75e6f
JM
1002013-06-15 Joseph Myers <joseph@codesourcery.com>
101
3711a167
JM
102 [BZ #15631]
103 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
104 restore exception state around main square root computation, then
105 check for inexactness explicitly.
106
8fc75e6f
JM
107 * math/libm-test.inc (fma_test_data): Add another test.
108
61dd6208
SP
1092013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
110
adf23d2c
SP
111 * manual/threads.texi (Non-POSIX Extensions): New document
112 node. Document pthread_getattr_default_np and
113 pthread_setattr_default_np.
114
61dd6208
SP
115 * Versions.def (libpthread): Add GLIBC_2.18.
116 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
118 Likewise.
119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
120 Likewise.
121 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
122 Likewise.
123 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
124 Likewise.
125 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
126 Likewise.
127 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
128 Likewise.
129 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
130 Likewise.
131 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
132 Likewise.
133 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
134 Likewise.
135
d086fc7b
LD
1362013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
137
138 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
139 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
140
747ef469
SP
1412013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
142 H.J. Lu <hjl.tools@gmail.com>
143
144 [BZ #15627]
145 * sysdeps/x86_64/rtld-memset.c: Remove file.
146 * sysdeps/x86_64/rtld-memset.S: New file.
147
1b2feed2
JM
1482013-06-14 Joseph Myers <joseph@codesourcery.com>
149
150 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
151 (test_in_one_mode): Take arguments for whether the rounding mode
152 is supported for each floating-point type.
153 (do_test): Pass new arguments to test_in_one_mode using
154 ROUNDING_TESTS.
155
a58ad3f8
RM
1562013-06-13 Roland McGrath <roland@hack.frob.com>
157
158 * posix/tst-waitid.c (do_test): Distinguish different instances of
159 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
160 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
161 before entering the kernel for waitpid.
162
c204ab28
SP
1632013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
164
165 * NEWS: Fix note on clock function precision. Text by Roland
166 McGrath.
167
f4a29fba
RM
1682013-06-13 Roland McGrath <roland@hack.frob.com>
169
170 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
171 it into place only when and if the sanity check passes.
172
1f24b9ad
JM
1732013-06-13 Joseph Myers <joseph@codesourcery.com>
174
175 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
176 output for whether conversion result is exact. Take argument
177 indicating whether type is IBM long double.
178 (round_for_all): Change need_exact field to ibm_ld.
179 * stdlib/tst-strtod-round.c (struct exactness): New type.
180 (struct test): Change bool ld_ok field to struct exactness exact.
181 (TEST): Update all definitions for change to field.
182 (tests): Regenerate array contents.
183 (test_in_one_mode): Take pointer to new field instead of old ld_ok
184 field value. Check for IBM long double here.
185 (do_test): Update calls to test_in_one_mode.
186
58206c68
SP
1872013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
188
189 [BZ #12515]
190 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
191 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
192
2d6f4c5b 1932013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
194
195 [BZ #15605]
196 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
197 generated by the compiler on loop optimizations.
198 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
199 general definitions.
200
94f2c076
JM
2012013-06-12 Joseph Myers <joseph@codesourcery.com>
202
203 * math/bug-nextafter.c: Include <math-tests.h>.
204 (main): Only test for exceptions if EXCEPTION_TESTS is true for
205 the relevant type.
206 * math/bug-nexttoward.c: Include <math-tests.h>.
207 (main): Only test for exceptions if EXCEPTION_TESTS is true for
208 the relevant type.
209 * math/test-misc.c: Include <math-tests.h>.
210 (main): Only test for exceptions if EXCEPTION_TESTS is true for
211 the relevant type.
212
e0e50a0a
AJ
2132013-06-12 Andreas Jaeger <aj@suse.de>
214
215 * po/ia.po: Update Interlingua translation from translation
216 project.
217
25061094
SP
2182013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
219
220 * include/fenv.h: Include stdbool.h.
221 (struct rm_ctx): New structure.
222 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
223 Define macro.
224 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
225 (SET_RESTORE_ROUNDF): Likewise.
226 (SET_RESTORE_ROUNDL): Likewise.
227 (SET_RESTORE_ROUND_NOEX): Likewise.
228 (SET_RESTORE_ROUND_NOEXF): Likewise.
229 (SET_RESTORE_ROUND_NOEXL): Likewise.
230 (SET_RESTORE_ROUND_53BIT): Likewise.
231 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
232 (libc_feresetround_noexf_ctx): Likewise.
233 (libc_feresetround_noexl_ctx): Likewise.
234 (libc_feholdsetround_53bit_ctx): Likewise.
235 (libc_feresetround_53bit_ctx): Likewise.
236 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
237 (libc_feholdexcept_setround_sse_ctx): New function.
238 (libc_fesetenv_sse_ctx): Likewise.
239 (libc_feupdateenv_sse_ctx): Likewise.
240 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
241 (libc_feholdexcept_setround_387_ctx): Likewise.
242 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
243 (libc_feholdsetround_387_prec_ctx): Likewise.
244 (libc_feholdsetround_387_ctx): Likewise.
245 (libc_feholdsetround_387_53bit_ctx): Likewise.
246 (libc_feholdsetround_sse_ctx): Likewise.
247 (libc_feresetround_sse_ctx): Likewise.
248 (libc_feresetround_387_ctx): Likewise.
249 (libc_feupdateenv_387_ctx): Likewise.
250 (libc_feholdexcept_setroundf_ctx): Define macro.
251 (libc_fesetenvf_ctx): Likewise.
252 (libc_feupdateenvf_ctx): Likewise.
253 (libc_feholdsetroundf_ctx): Likewise.
254 (libc_feresetroundf_ctx): Likewise.
255 (libc_feholdexcept_setround_ctx): Likewise.
256 (libc_fesetenv_ctx): Likewise.
257 (libc_feupdateenv_ctx): Likewise.
258 (libc_feholdsetround_ctx): Likewise.
259 (libc_feresetround_ctx): Likewise.
260 (libc_feholdexcept_setroundl_ctx): Likewise.
261 (libc_feupdateenvl_ctx): Likewise.
262 (libc_feholdsetroundl_ctx): Likewise.
263 (libc_feresetroundl_ctx): Likewise.
264 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
265 (libc_feresetround_53bit_ctx): Likewise.
266
59b30555
SP
2672013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
268
269 * locale/iso-639.def: Convert to UTF-8.
270
f1d73d30
JM
2712013-06-11 Joseph Myers <joseph@codesourcery.com>
272
273 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
274 (EXCEPTION_TESTS_double): Likewise.
275 (EXCEPTION_TESTS_long_double): Likewise.
276 (EXCEPTION_TESTS): Likewise.
277 * math/libm-test.inc (test_exceptions): Only test exceptions if
278 EXCEPTION_TESTS (FLOAT).
279
94aca5e7
SP
2802013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
281
282 * benchtests/Makefile (string-bench): Add strcpy_chk and
283 stpcpy_chk.
284 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
285 * benchtests/bench-stpcpy_chk.c: New file.
286 * benchtests/bench-strcpy_chk-ifunc.c: New file.
287 * benchtests/bench-strcpy_chk.c: New file.
288 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
289 code.
290 (do_test): Likewise.
291
fac0c5f2
RA
2922013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
293
294 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
295 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
296 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
297 with tabs where appropriate.
298 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
299 dl-procinfo.h.
300 [PPC_PLATFORM_PPC440]: Likewise.
301 [PPC_PLATFORM_PPC464]: Likewise.
302 [PPC_PLATFORM_PPC476]: Likewise.
303 (_dl_string_platform): Add support for detecting ppc405, ppc440,
304 ppc464, and ppc476 platform strings merging from ports/
305 dl-procinfo.h.
306
f22bc486
AS
3072013-06-11 Andreas Schwab <schwab@suse.de>
308
309 [BZ #14991]
310 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
311 (from_ucs4_idx): Regenerate.
312 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
313 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
314 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
315 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
316 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
317 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
318 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
319 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
320 from FROM_LOOP and TO_LOOP specific macros.
321 (BODY): Handle combining characters.
322 * iconvdata/BIG5HKSCS.irreversible: Update.
323 * iconvdata/BIG5HKSCS.precomposed: New file.
324 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
325 characters.
326 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
327
c1f75dc3
SP
3282013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
329
4eacded2
SP
330 * include/sys/time.h: Fix indentation and add copyright header.
331
fec799f8
SP
332 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
333 (do_test): Likewise.
334 * string/test-memchr.c (do_one_test): Likewise.
335 (do_test): Likewise.
336 * string/test-memcmp.c (do_one_test): Likewise.
337 (do_test): Likewise.
338 * string/test-memcpy.c (do_one_test): Likewise.
339 (do_test): Likewise.
340 * string/test-memmem.c (do_one_test): Likewise.
341 (do_test): Likewise.
342 (do_random_tests): Likewise.
343 * string/test-memmove.c (do_one_test): Likewise.
344 (do_test): Likewise.
345 * string/test-memset.c (do_one_test): Likewise.
346 (do_test): Likewise.
347 * string/test-rawmemchr.c (do_one_test): Likewise.
348 (do_test): Likewise.
349 * string/test-strcasecmp.c (do_one_test): Likewise.
350 (do_test): Likewise.
351 * string/test-strcasestr.c (do_one_test): Likewise.
352 (do_test): Likewise.
353 * string/test-strcat.c (do_one_test): Likewise.
354 (do_test): Likewise.
355 * string/test-strchr.c (do_one_test): Likewise.
356 (do_test): Likewise.
357 * string/test-strcmp.c (do_one_test): Likewise.
358 (do_test): Likewise.
359 * string/test-strcpy.c (do_one_test): Likewise.
360 (do_test): Likewise.
361 * string/test-string.h: Likewise.
362 (test_init): Likewise.
363 * string/test-strlen.c (do_one_test): Likewise.
364 (do_test): Likewise.
365 * string/test-strncasecmp.c (do_one_test): Likewise.
366 (do_test): Likewise.
367 * string/test-strncat.c (do_one_test): Likewise.
368 (do_test): Likewise.
369 * string/test-strncmp.c (do_one_test): Likewise.
370 (do_test_limit): Likewise.
371 (do_test): Likewise.
372 * string/test-strncpy.c (do_one_test): Likewise.
373 (do_test): Likewise.
374 * string/test-strnlen.c (do_one_test): Likewise.
375 (do_test): Likewise.
376 * string/test-strpbrk.c (do_one_test): Likewise.
377 (do_test): Likewise.
378 * string/test-strrchr.c (do_one_test): Likewise.
379 (do_test): Likewise.
380 * string/test-strspn.c (do_one_test): Likewise.
381 (do_test): Likewise.
382 * string/test-strstr.c (do_one_test): Likewise.
383 (do_test): Likewise.
384
97020474
SP
385 * benchtests/Makefile (string-bench): Add string benchmarks.
386 * benchtests/bench-bcopy-ifunc.c: New file.
387 * benchtests/bench-bcopy.c: New file.
388 * benchtests/bench-bzero-ifunc.c: New file.
389 * benchtests/bench-bzero.c: New file.
390 * benchtests/bench-memccpy-ifunc.c: New file.
391 * benchtests/bench-memccpy.c: New file.
392 * benchtests/bench-memchr-ifunc.c: New file.
393 * benchtests/bench-memchr.c: New file.
394 * benchtests/bench-memcmp-ifunc.c: New file.
395 * benchtests/bench-memcmp.c: New file.
396 * benchtests/bench-memmem-ifunc.c: New file.
397 * benchtests/bench-memmem.c: New file.
398 * benchtests/bench-memmove-ifunc.c: New file.
399 * benchtests/bench-memmove.c: New file.
400 * benchtests/bench-mempcpy-ifunc.c: New file.
401 * benchtests/bench-mempcpy.c: New file.
402 * benchtests/bench-memset-ifunc.c: New file.
403 * benchtests/bench-memset.c: New file.
404 * benchtests/bench-rawmemchr-ifunc.c: New file.
405 * benchtests/bench-rawmemchr.c: New file.
406 * benchtests/bench-stpcpy-ifunc.c: New file.
407 * benchtests/bench-stpcpy.c: New file.
408 * benchtests/bench-stpncpy-ifunc.c: New file.
409 * benchtests/bench-stpncpy.c: New file.
410 * benchtests/bench-strcasecmp-ifunc.c: New file.
411 * benchtests/bench-strcasecmp.c: New file.
412 * benchtests/bench-strcasestr-ifunc.c: New file.
413 * benchtests/bench-strcasestr.c: New file.
414 * benchtests/bench-strcat-ifunc.c: New file.
415 * benchtests/bench-strcat.c: New file.
416 * benchtests/bench-strchr-ifunc.c: New file.
417 * benchtests/bench-strchr.c: New file.
418 * benchtests/bench-strchrnul-ifunc.c: New file.
419 * benchtests/bench-strchrnul.c: New file.
420 * benchtests/bench-strcmp-ifunc.c: New file.
421 * benchtests/bench-strcmp.c: New file.
422 * benchtests/bench-strcpy-ifunc.c: New file.
423 * benchtests/bench-strcpy.c: New file.
424 * benchtests/bench-strcspn-ifunc.c: New file.
425 * benchtests/bench-strcspn.c: New file.
426 * benchtests/bench-strlen-ifunc.c: New file.
427 * benchtests/bench-strlen.c: New file.
428 * benchtests/bench-strncasecmp-ifunc.c: New file.
429 * benchtests/bench-strncasecmp.c: New file.
430 * benchtests/bench-strncat-ifunc.c: New file.
431 * benchtests/bench-strncat.c: New file.
432 * benchtests/bench-strncmp-ifunc.c: New file.
433 * benchtests/bench-strncmp.c: New file.
434 * benchtests/bench-strncpy-ifunc.c: New file.
435 * benchtests/bench-strncpy.c: New file.
436 * benchtests/bench-strnlen-ifunc.c: New file.
437 * benchtests/bench-strnlen.c: New file.
438 * benchtests/bench-strpbrk-ifunc.c: New file.
439 * benchtests/bench-strpbrk.c: New file.
440 * benchtests/bench-strrchr-ifunc.c: New file.
441 * benchtests/bench-strrchr.c: New file.
442 * benchtests/bench-strspn-ifunc.c: New file.
443 * benchtests/bench-strspn.c: New file.
444 * benchtests/bench-strstr-ifunc.c: New file.
445 * benchtests/bench-strstr.c: New file.
446
c1f75dc3
SP
447 * benchtests/Makefile: Disable parallel execution of targets.
448 (string-bench): Add memcpy.
449 (benchset): New variable to store a list of benchmark sets.
450 (bench-func): Renamed from bench.
451 (bench-set): New target.
452 (bench): Depend on bench-func and bench-set.
453 * benchtests/README: Add section on benchmark sets.
454 * benchtests/bench-memcpy-ifunc.c: New file.
455 * benchtests/bench-memcpy.c: New file.
456 * benchtests/bench-string.h: New file.
457
50fd745b
AS
4582013-06-11 Andreas Schwab <schwab@suse.de>
459
460 [BZ #15577]
461 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
462 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
463 values in the triple.
464 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
465 terminator in the group key.
466
3ee7e9fe
AJ
4672013-06-11 Andreas Jaeger <aj@suse.de>
468
469 * po/zh_TW.po: Update Chinese (traditional) translation from
470 translation project.
471
89fb6835
SP
4722013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
473
474 * include/time.h (__clock_gettime): Add libc_hidden_proto.
475 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
476 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
477 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
478 (clock_getcpuclockid): Likewise.
479 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
480 Add weak_alias and libc_hidden_def.
481 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
482 * rt/clock_gettime.c (clock_gettime): Rename to
483 __clock_gettime. Add weak_alias and libc_hidden_def.
484 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
485 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
486 __clock_nanosleep. Add weak_alias and libc_hidden_def.
487 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
488 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
489 Likewise.
490 * rt/clock_settime.c (clock_settime): Rename to
491 __clock_settime. Add weak_alias and libc_hidden_def.
492 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
493
0efa6f8b
JM
4942013-06-10 Joseph Myers <joseph@codesourcery.com>
495
b8c61b4b
JM
496 * mach/err_boot.sub: Remove trailing whitespace.
497 * mach/err_ipc.sub: Likewise.
498 * mach/err_mach.sub: Likewise.
499
0efa6f8b
JM
500 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
501 (ROUNDING_TESTS_double): Likewise.
502 (ROUNDING_TESTS_long_double): Likewise.
503 (ROUNDING_TESTS): Likewise.
504 * math/libm-test.inc: Include <math-tests.h>.
505 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
506 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
507 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
508 (IF_ROUND_INIT_FE_UPWARD): Likewise.
509
50b818bf
SP
5102013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
511
512 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
513 of assigning.
514
60d2f8f3
JM
5152013-06-08 Joseph Myers <joseph@codesourcery.com>
516
4902d2c3
JM
517 * sysdeps/gnu/errlist.awk: Do not generate space at end of
518 otherwise empty TRANS lines.
519 * sysdeps/gnu/errlist.c: Regenerated.
520
60d2f8f3
JM
521 * catgets/gencat.c (error_print): Use (void) in function
522 definition.
523 * crypt/crypt_util.c (__init_des): Likewise.
524 * crypt/speeds.c (Stop): Likewise.
525 (main): Likewise.
526 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
527 * inet/ruserpass.c (token): Likewise.
528 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
529 * intl/localealias.c (extend_alias_table): Likewise.
530 * intl/plural-exp.c (init_germanic_plural): Likewise.
531 * libio/fcloseall.c (__fcloseall): Likewise.
532 * libio/genops.c (_IO_flush_all): Likewise.
533 (_IO_flush_all_linebuffered): Likewise.
534 (_IO_cleanup): Likewise.
535 (_IO_iter_begin): Likewise.
536 (_IO_iter_end): Likewise.
537 (_IO_list_lock): Likewise.
538 (_IO_list_unlock): Likewise.
539 (_IO_list_resetlock): Likewise.
540 * libio/getchar.c (getchar): Likewise.
541 * libio/getchar_u.c (getchar_unlocked): Likewise.
542 * libio/getwchar.c (getwchar): Likewise.
543 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
544 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
545 * login/getpt.c (__getpt): Likewise.
546 * login/tst-utmp.c (main): Likewise.
547 * malloc/hooks.c (__malloc_check_init): Likewise.
548 * malloc/malloc.c (__malloc_stats): Likewise.
549 * malloc/mtrace.c (tr_break): Likewise.
550 (mtrace): Likewise.
551 (muntrace): Likewise.
552 * misc/fstab.c (endfsent): Likewise.
553 * misc/getclktck.c (__getclktck): Likewise.
554 * misc/getdtsz.c (__getdtablesize): Likewise.
555 * misc/gethostid.c (gethostid): Likewise.
556 * misc/getpagesize.c (__getpagesize): Likewise.
557 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
558 (__get_nprocs): Likewise.
559 (__get_phys_pages): Likewise.
560 (__get_avphys_pages): Likewise.
561 * misc/getttyent.c (getttyent): Likewise.
562 (setttyent): Likewise.
563 (endttyent): Likewise.
564 * misc/getusershell.c (getusershell): Likewise.
565 (endusershell): Likewise.
566 (setusershell): Likewise.
567 (initshells): Likewise.
568 * misc/hsearch.c (__hdestroy): Likewise.
569 * misc/sync.c (sync): Likewise.
570 * misc/syslog.c (closelog_internal): Likewise.
571 (closelog): Likewise.
572 * misc/ttyslot.c (ttyslot): Likewise.
573 * misc/vhangup.c (vhangup): Likewise.
574 * posix/fork.c (__fork): Likewise.
575 * posix/getegid.c (__getegid): Likewise.
576 * posix/geteuid.c (__geteuid): Likewise.
577 * posix/getgid.c (__getgid): Likewise.
578 * posix/getpid.c (__getpid): Likewise.
579 * posix/getppid.c (__getppid): Likewise.
580 * posix/getuid.c (__getuid): Likewise.
581 * posix/pause.c (pause): Likewise.
582 * posix/setpgrp.c (setpgrp): Likewise.
583 * posix/setsid.c (__setsid): Likewise.
584 * posix/test-vfork.c (noop): Likewise.
585 * resolv/gethnamaddr.c (_endhtent): Likewise.
586 (_gethtent): Likewise.
587 (ht_endhostent): Likewise.
588 (gethostent): Likewise.
589 (dns_service): Likewise.
590 * stdlib/drand48.c (drand48): Likewise.
591 * stdlib/lrand48.c (lrand48): Likewise.
592 * stdlib/mrand48.c (mrand48): Likewise.
593 * stdlib/rand.c (rand): Likewise.
594 * stdlib/random.c (__random): Likewise.
595 * stdlib/setenv.c (clearenv): Likewise.
596 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
597 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
598 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
599 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
600 (__get_nprocs): Likewise.
601 (__get_phys_pages): Likewise.
602 (__get_avphys_pages): Likewise.
603 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
604 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
605 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
606 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
607 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
608 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
609 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
610 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
611 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
612 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
613 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
614 * sysdeps/mach/hurd/sync.c (sync): Likewise.
615 * sysdeps/posix/clock.c (clock): Likewise.
616 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
617 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
618 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
619 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
620 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
621 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
622 (__get_nprocs_conf): Likewise.
623 (__get_phys_pages): Likewise.
624 (__get_avphys_pages): Likewise.
625 * time/clock.c (clock): Likewise.
626 * time/tzset.c (__tzname_max): Likewise.
627
2e09a79a
JM
6282013-06-07 Joseph Myers <joseph@codesourcery.com>
629
630 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
631 (__bswap_32): Do not use "register".
632 * crypt/crypt.c (_ufc_doit_r): Likewise.
633 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
634 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
635 * gmon/gmon.c (__monstartup): Likewise.
636 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
637 * hurd/hurdmalloc.c (more_memory): Likewise.
638 (malloc): Likewise.
639 (free): Likewise.
640 (realloc): Likewise.
641 (malloc_fork_prepare): Likewise.
642 (malloc_fork_parent): Likewise.
643 (malloc_fork_child): Likewise.
644 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
645 (_svcauth_des): Likewise.
646 * inet/inet_lnaof.c (inet_lnaof): Likewise.
647 * inet/inet_net.c (inet_network): Likewise.
648 * inet/inet_netof.c (inet_netof): Likewise.
649 * inet/rcmd.c (__validuser2_sa): Likewise.
650 * io/fts.c (fts_open): Likewise.
651 (fts_load): Likewise.
652 (fts_close): Likewise.
653 (fts_read): Likewise.
654 (fts_children): Likewise.
655 (fts_build): Likewise.
656 (fts_stat): Likewise.
657 (fts_sort): Likewise.
658 (fts_alloc): Likewise.
659 (fts_lfree): Likewise.
660 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
661 (_IO_file_xsgetn): Likewise.
662 (_IO_file_xsgetn_mmap): Likewise.
663 * libio/iofopncook.c (_IO_cookie_read): Likewise.
664 (_IO_cookie_write): Likewise.
665 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
666 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
667 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
668 * malloc/obstack.c (_obstack_begin): Likewise.
669 (_obstack_begin_1): Likewise.
670 (_obstack_newchunk): Likewise.
671 (_obstack_allocated_p): Likewise.
672 (obstack_free): Likewise.
673 (_obstack_memory_used): Likewise.
674 * misc/getttyent.c (getttynam): Likewise.
675 (getttyent): Likewise.
676 (skip): Likewise.
677 (value): Likewise.
678 * misc/getusershell.c (initshells): Likewise.
679 * misc/syslog.c (__vsyslog_chk): Likewise.
680 * misc/ttyslot.c (ttyslot): Likewise.
681 * nis/nis_hash.c (__nis_hash): Likewise.
682 * posix/fnmatch_loop.c (FCT): Likewise.
683 * posix/getconf.c (print_all): Likewise.
684 (main): Likewise.
685 * posix/getopt.c (exchange): Likewise.
686 * posix/glob.c (globfree): Likewise.
687 (prefix_array): Likewise.
688 (__glob_pattern_type): Likewise.
689 * resolv/arpa/nameser.h (NS_GET16): Likewise.
690 (NS_GET32): Likewise.
691 (NS_PUT16): Likewise.
692 (NS_PUT32): Likewise.
693 * resolv/gethnamaddr.c (getanswer): Likewise.
694 (gethostbyname2): Likewise.
695 (gethostbyaddr): Likewise.
696 (_gethtent): Likewise.
697 (_gethtbyname2): Likewise.
698 (_gethtbyaddr): Likewise.
699 * resolv/ns_print.c (dst_s_get_int16): Likewise.
700 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
701 * resolv/res_init.c (__res_vinit): Likewise.
702 (net_mask): Likewise.
703 * resolv/res_mkquery.c (outchar): Likewise.
704 (PRINT): Likewise.
705 * stdio-common/printf_fp.c (outchar): Likewise.
706 (PRINT): Likewise.
707 * stdio-common/printf_fphex.c (outchar): Likewise.
708 (PRINT): Likewise.
709 * stdio-common/printf_size.c (outchar): Likewise.
710 (PRINT): Likewise.
711 * stdio-common/test_rdwr.c (main): Likewise.
712 * stdio-common/tfformat.c (matches): Likewise.
713 * stdio-common/vfprintf.c (outchar): Likewise.
714 (printf_unknown): Likewise.
715 (buffered_vfprintf): Likewise.
716 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
717 * stdio-common/xbug.c (AppendToBuffer): Likewise.
718 (ReadFile): Likewise.
719 * stdlib/qsort.c (SWAP): Likewise.
720 (_quicksort): Likewise.
721 * stdlib/setenv.c (__add_to_environ): Likewise.
722 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
723 * stdlib/strtol_l.c (__strtol_l): Likewise.
724 * stdlib/tst-strtod.c (main): Likewise.
725 * stdlib/tst-strtol.c (main): Likewise.
726 * stdlib/tst-strtoll.c (main): Likewise.
727 * string/bits/string2.h (__strcmp_cc): Likewise.
728 (__strcmp_cg): Likewise.
729 (__strcspn_c1): Likewise.
730 (__strcspn_c2): Likewise.
731 (__strcspn_c3): Likewise.
732 (__strspn_c1): Likewise.
733 (__strspn_c2): Likewise.
734 (__strspn_c3): Likewise.
735 (__strsep_1c): Likewise.
736 (__strsep_2c): Likewise.
737 (__strsep_3c): Likewise.
738 * string/memccpy.c (__memccpy): Likewise.
739 * string/stpcpy.c (__stpcpy): Likewise.
740 * string/strcmp.c (strcmp): Likewise.
741 * string/strrchr.c (strrchr): Likewise.
742 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
743 Likewise.
744 * sysdeps/mach/hurd/getcwd.c
745 (_hurd_canonicalize_directory_name_internal): Likewise.
746 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
747 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
748 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
749 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
750 Likewise, in both definitions.
751 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
752 definitions.
753 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
754 64] (__bswap_64): Likewise.
755 * time/test_time.c (main): Likewise.
756 * time/tzfile.c (__tzfile_read): Likewise.
757 (__tzfile_compute): Likewise.
758 * time/tzset.c (__tzset_parse_tz): Likewise.
759 (tzset_internal): Likewise.
760 (compute_change): Likewise.
761 * wcsmbs/wcscat.c (__wcscat): Likewise.
762 * wcsmbs/wcschr.c (wcschr): Likewise.
763 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
764 * wcsmbs/wcscspn.c (wcscspn): Likewise.
765 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
766 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
767 * wcsmbs/wcsspn.c (wcsspn): Likewise.
768 * wcsmbs/wcsstr.c (wcsstr): Likewise.
769 * wcsmbs/wmemchr.c (wmemchr): Likewise.
770 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
771 * wcsmbs/wmemset.c (wmemset): Likewise.
772
9e54314b
JM
7732013-06-06 Joseph Myers <joseph@codesourcery.com>
774
775 * scripts/config.guess: Update to version 2013-05-16.
776 * scripts/config.sub: Update to version 2013-04-24.
777 * scripts/install-sh: Update to version 2011-11-20.07.
778 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
779 * scripts/move-if-change: Update to version 2012-01-06 07:23.
780
350635a5
OB
7812013-06-06 Ondřej Bílka <neleai@seznam.cz>
782
783 * debug/fgetws_u_chk.c: Fix leading whitespaces.
784 * elf/sln.c: Likewise.
785 * hurd/hurd/ioctl.h: Likewise.
786 * hurd/hurdmalloc.c: Likewise.
787 * hurd/xattr.c: Likewise.
788 * include/shlib-compat.h: Likewise.
789 * inet/ruserpass.c: Likewise.
790 * libio/iofgets_u.c: Likewise.
791 * libio/iofgetws_u.c: Likewise.
792 * locale/programs/ld-identification.c: Likewise.
793 * locale/programs/ld-time.c: Likewise.
794 * mach/msg-destroy.c: Likewise.
795 * nss/nss_files/files-netgrp.c: Likewise.
796 * resolv/res_data.c: Likewise.
797 * soft-fp/op-1.h: Likewise.
798 * soft-fp/op-2.h: Likewise.
799 * soft-fp/op-4.h: Likewise.
800 * soft-fp/op-common.h: Likewise.
801 * stdio-common/printf_fphex.c: Likewise.
802 * stdlib/strtod_l.c: Likewise.
803 * sunrpc/rpc/clnt.h: Likewise.
804 * sysdeps/generic/framestate.c: Likewise.
805 * sysdeps/i386/bsd-_setjmp.S: Likewise.
806 * sysdeps/i386/bsd-setjmp.S: Likewise.
807 * sysdeps/i386/__longjmp.S: Likewise.
808 * sysdeps/i386/setjmp.S: Likewise.
809 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
810 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
811 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
812 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
813 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
814 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
815 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
816 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
817 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
818 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
819 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
820 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
821 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
822 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
823 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
824 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
825 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
826 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
827 * sysdeps/ieee754/support.c: Likewise.
828 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
829 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
830 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
831 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
832 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
833 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
834 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
835 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
836 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
837 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
838 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
839 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
840 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
841 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
842 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
843 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
844 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
846
44a988af
OB
8472013-06-05 Ondřej Bílka <neleai@seznam.cz>
848
25506f09 849 * posix/transbug.c: Remove executable mode.
44a988af 850
9c84384c
JM
8512013-06-05 Joseph Myers <joseph@codesourcery.com>
852
853 * crypt/speeds.c: Remove trailing whitespace.
854 * dlfcn/default.c: Likewise.
855 * elf/ifuncdep2.c: Likewise.
856 * elf/ifuncmain1.c: Likewise.
857 * elf/ifuncmain1vis.c: Likewise.
858 * elf/testobj.h: Likewise.
859 * elf/tst-stackguard1.c: Likewise.
860 * gmon/sys/gmon.h: Likewise.
861 * hurd/hurdmsg.c: Likewise.
862 * hurd/new-fd.c: Likewise.
863 * hurd/ports-get.c: Likewise.
864 * iconvdata/ibm1008_420.c: Likewise.
865 * inet/tst-getni1.c: Likewise.
866 * inet/tst-getni2.c: Likewise.
867 * libio/ioungetc.c: Likewise.
868 * libio/wfiledoalloc.c: Likewise.
869 * manual/libm-err-tab.pl: Likewise.
870 * math/w_dremf.c: Likewise.
871 * misc/ftruncate.c: Likewise.
872 * posix/bug-glob2.c: Likewise.
873 * posix/tst-pcre.c: Likewise.
874 * posix/wait4.c: Likewise.
875 * resolv/README: Likewise.
876 * resolv/res_debug.h: Likewise.
877 * resolv/tst-inet_ntop.c: Likewise.
878 * setjmp/bug269-setjmp.c: Likewise.
879 * soft-fp/extended.h: Likewise.
880 * soft-fp/op-1.h: Likewise.
881 * soft-fp/op-2.h: Likewise.
882 * soft-fp/op-4.h: Likewise.
883 * soft-fp/op-8.h: Likewise.
884 * soft-fp/testit.c: Likewise.
885 * stdio-common/bug16.c: Likewise.
886 * stdlib/random.c: Likewise.
887 * sunrpc/rpcsvc/rquota.x: Likewise.
888 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
889 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
890 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
891 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
892 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
893 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
894 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
895 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
896 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
897 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
898 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
899 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
900 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
901 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
902 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
903 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
904 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
905 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
906 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
907 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
908 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
909 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
910 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
911 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
912 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
913 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
914 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
915 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
916 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
917 * sysdeps/ieee754/s_lib_version.c: Likewise.
918 * sysdeps/mach/hurd/check_fds.c: Likewise.
919 * sysdeps/mach/hurd/getsockname.c: Likewise.
920 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
921 * sysdeps/mach/hurd/recvfrom.c: Likewise.
922 * sysdeps/powerpc/bits/link.h: Likewise.
923 * sysdeps/powerpc/dl-procinfo.c: Likewise.
924 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
925 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
926 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
927 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
928 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
929 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
930 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
931 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
932 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
933 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
934 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
935 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
936 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
937 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
938 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
939 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
940 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
941 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
942 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
943 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
944 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
945 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
946 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
947 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
948 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
949 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
950 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
951 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
952 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
953 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
954 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
955 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
956 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
957 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
958 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
959 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
960 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
961 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
962 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
963 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
964 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
965 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
966 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
967 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
968 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
969 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
970 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
971 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
972 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
973 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
974 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
975 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
976 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
977 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
978 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
979 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
980 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
981 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
982 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
983 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
984 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
985 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
986 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
987 * sysdeps/powerpc/sysdep.h: Likewise.
988 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
989 * sysdeps/s390/s390-64/sub_n.S: Likewise.
990 * sysdeps/sh/dl-trampoline.S: Likewise.
991 * sysdeps/sh/memset.S: Likewise.
992 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
993 * sysdeps/sh/strlen.S: Likewise.
994 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
995 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
996 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
997 * sysdeps/sparc/sparc32/rem.S: Likewise.
998 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
999 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
1000 * sysdeps/sparc/sparc32/strchr.S: Likewise.
1001 * sysdeps/sparc/sparc32/udiv.S: Likewise.
1002 * sysdeps/sparc/sparc32/urem.S: Likewise.
1003 * sysdeps/sparc/sparc64/add_n.S: Likewise.
1004 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
1005 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
1006 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
1007 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
1008 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
1009 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
1010 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
1011 * sysdeps/unix/bsd/times.c: Likewise.
1012 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
1013 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
1014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
1015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
1016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
1017 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
1018 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
1019 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
1020 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
1021 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
1022 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
1023 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
1024 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
1025 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
1026 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
1027 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
1028 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
1029 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
1030 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
1031 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
1032 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
1033 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
1034 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
1035 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
1036 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
1037 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
1038 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
1039 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1040 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
1041 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
1042 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
1043 * sysdeps/x86_64/strcspn.S: Likewise.
1044
869378a5
RA
10452013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1046
1047 * locale/C-translit.h: Revert #include <stdint.h> because this is a
1048 generated file. Regenerate properly from gen-translit.pl.
1049 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
1050 locale/C-translit.h.
1051
840e2943
AS
10522013-06-05 Andreas Schwab <schwab@suse.de>
1053
1054 [BZ #15100]
1055 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
1056 week as 6 instead of -1.
1057 * time/tst-strptime.c (day_tests): Add test case.
1058
4c60cb0c
SP
10592013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1060
1061 * sysdeps/generic/math_private.h
1062 (libc_feholdexcept_setround_53bit): Replace with
1063 libc_feholdsetround_53bit.
1064 (libc_feupdateenv_53bit): Replace with
1065 libc_feresetround_53bit.
1066 (SET_RESTORE_ROUND_53BIT): Adjust.
1067
d180203e
SP
10682013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
1069
96df079a
SP
1070 * string/test-strchrnul.c: Add copyright header.
1071
d180203e
SP
1072 * posix/tst-getaddrinfo4.c: Increase test timeout.
1073
8b0ccb2d
CD
10742013-06-03 Carlos O'Donell <carlos@redhat.com>
1075
1076 [BZ #15536]
1077 * math/libm-test.inc (MAX_EXP): Remove
1078 (MIN_EXP): Define.
1079 (ulp): Use MIN_EXP - MANT_DIG.
1080 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
1081
3b3c4d40
CD
10822013-05-31 Carlos O'Donell <carlos@redhat.com>
1083
1084 * po/be.po: Revert last change.
1085 * po/zh_CN.po: Likewise.
1086 * po/header.pot: Likewise.
1087
fab7ce3f
JM
10882013-05-31 Joseph Myers <joseph@codesourcery.com>
1089
1090 * Makefile ($(common-objpfx)linkobj/libc.so): Define
1091 link-libc-deps to empty as target-specific variable.
1092 * Makerules (link-libc-args): New variable.
1093 (libc-for-link): Likewise.
1094 (link-libc-deps): Likewise.
1095 (lib%.so): Depend on $(link-libc-deps). Link with
1096 $(link-libc-args).
1097 (build-module): Link with $(link-libc-args).
1098 (build-module-asneeded): Likewise.
1099 (build-module-helper-objlist): Filter out $(link-libc-deps) from
1100 list of objects.
1101 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
1102 target-specific variable.
1103 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
1104 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
1105 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
1106 libc.
1107 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
1108 libc and ld.so.
1109 ($(objpfx)libpcprofile.so): Likewise.
1110 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
1111 libc_nonshared.a.
1112 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
1113 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
1114 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
1115 $(link-libc-deps).
1116 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
1117 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
1118 * login/Makefile ($(objpfx)libutil.so): Likewise.
1119 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
1120 * math/Makefile ($(objpfx)libm.so): Likewise.
1121 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
1122 $(objpfx)libnsl.so): Define libc-for-link as target-specific
1123 variable instead of depending directly on libc.
1124 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
1125 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
1126 $(link-libc-deps).
1127 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
1128 libc.
1129 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
1130 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
1131 ($(objpfx)libanl.so): Likewise.
1132 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
1133 ld.so.
1134 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
1135 $(link-libc-deps).
1136 * sysdeps/i386/fpu/Makefile: Remove file.
1137 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
1138 ($(objpfx)libm.so): Remove dependency on ld.so.
1139
eca5920c
PF
11402013-05-30 Patsy Franklin <pfrankli@redhat.com>
1141
1142 [BZ # 15553]
1143 * nis/yp_xdr.c (XDRMAXNAME): Define.
1144 (XDRMAXRECORD): Define.
1145 (xdr_domainname): Use XDRMAXNAME.
1146 (xdr_mapname): Likewise.
1147 (xdr_peername): Likewise.
1148 (xdr_keydat): Use XDRMAXRECORD.
1149 (xdr_valdat): Likewise.
1150
11512013-05-30 Jeff Law <law@redhat.com>
96945714
JL
1152
1153 [BZ #14256]
1154 * manual/errno.texi (ESTALE): Update to account for more than
1155 just NFS file systems.
1156 * sysdeps/gnu/errlist.c: Regenerated.
1157
b9375348
SP
11582013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1159
1160 [BZ #15465]
1161 * elf/Makefile (tests): Add tst-null-argv.
1162 (modules-names): Add tst-null-argv-lib.
1163 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
1164 (tst-null-argv-ENV): Set environment for tst-null-argv.
1165 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
1166 (RTLD_PROGNAME): New macro.
1167 * elf/tst-null-argv.c: New test case.
1168 * elf/tst-null-argv-lib.c: Library for test case.
1169 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
1170 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
1171 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
1172 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
1173 * elf/dl-init.c (call_init): Likewise.
1174 (_dl_init): Likewise.
1175 * elf/dl-load.c (print_search_path): Likewise.
1176 (_dl_map_object): Likewise.
1177 * elf/dl-lookup.c (do_lookup_x): Likewise.
1178 (add_dependency): Likewise.
1179 (_dl_lookup_symbol_x): Likewise.
1180 (_dl_debug_bindings): Likewise.
1181 * elf/dl-open.c (_dl_show_scope): Likewise.
1182 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
1183 * elf/dl-version.c (match_symbol): Likewise.
1184 (_dl_check_map_versions): Likewise.
1185 * elf/rtld.c (dl_main): Likewise.
1186 (print_unresolved): Use RTLD_PROGNAME.
1187 (print_missing_version): Likewise.
1188 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
1189 (elf_machine_rela): Likewise.
1190 * sysdeps/powerpc/powerpc32/dl-machine.c
1191 (__process_machine_rela): Likewise.
1192 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
1193 Likewise.
1194 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
1195 Likewise.
1196 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
1197 Likewise.
1198 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
1199 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
1200 Likewise.
1201 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
1202 Likewise.
1203 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
1204
8a9f20c8
CD
12052013-05-28 Carlos O'Donell <carlos@redhat.com>
1206
1207 * po/be.po: Add descriptive title.
1208 * po/zh_CN.po: Likewise.
1209 * po/header.pot: Likewise.
1210
0e60d68e
MF
12112013-05-28 Mike Frysinger <vapier@gentoo.org>
1212
1213 * locale/programs/locarchive.c (create_archive): Inlucde fname in
1214 error message.
1215 (enlarge_archive): Likewise.
1216
56b672e9
BN
12172013-05-28 Ben North <ben@redfrontdoor.org>
1218
1219 * manual/arith.texi (frexp): It is the magnitude of the return
1220 value which lies in [0.5, 1), not the return value itself.
1221
5e056687
AZ
12222013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1223
1224 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1225
2b66ef5d
TS
12262013-05-26 Thomas Schwinge <thomas@codesourcery.com>
1227
528c2405
TS
1228 * stdio-common/bug26.c (main): Correct fscanf template.
1229
07b4c13d
TS
1230 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
1231 declare _dl_skip_args.
1232
ec9dd97c
TS
1233 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
1234 Don't declare.
1235
2b66ef5d
TS
1236 * manual/platform.texi: Add missing @end deftypefun.
1237
4f8dfe27
JM
12382013-05-24 Joseph Myers <joseph@codesourcery.com>
1239
0323d086
JM
1240 [BZ #15529]
1241 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
1242 bit of mantissa of 2^16382.
1243 * math/libm-test.inc (hypot_test_data): Add more tests.
1244
dd4259b9
JM
1245 * math/libm-test.inc: Add drem and pow10 to list of tested
1246 functions.
1247 (pow10_test): New function.
1248 (drem_test): Likewise.
1249 (drem_test_tonearest): Likewise.
1250 (drem_test_towardzero): Likewise.
1251 (drem_test_downward): Likewise.
1252 (drem_test_upward): Likewise.
1253 (main): Call the new functions.
1254
4f8dfe27
JM
1255 * math/libm-test.inc (finite_test_data): Remove.
1256 (finite_test): Run tests from isfinite_test_data.
1257 (gamma_test_data): Remove.
1258 (gamma_test): Run tests from lgamma_test_data.
1259 * sysdeps/i386/fpu/libm-test-ulps: Update.
1260 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1261
d116b7c4
AZ
12622013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1263
1264 * manual/platform.texi: Add PowerPC PPR function set documentation.
1265 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
1266 implementation.
1267
e96e3767
CD
12682013-05-24 Carlos O'Donell <carlos@redhat.com>
1269
1270 * math/libm-test.inc (MAX_EXP): Define.
1271 (ULPDIFF): Define.
1272 (ulp): New function.
1273 (check_float_internal): Use ULPDIFF.
1274 (cpow_test): Disable failing test.
1275 (check_ulp): Test ulp() implemetnation.
1276 (main): Call check_ulp before starting tests.
1277
b679a606
JM
12782013-05-24 Joseph Myers <joseph@codesourcery.com>
1279
e8bdba36
JM
1280 * math/gen-libm-test.pl (generate_testfile): Do not handle
1281 START_DATA and END_DATA.
1282 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
1283 END_DATA.
1284 (acos_tonearest_test_data): Likewise.
1285 (acos_towardzero_test_data): Likewise.
1286 (acos_downward_test_data): Likewise.
1287 (acos_upward_test_data): Likewise.
1288 (acosh_test_data): Likewise.
1289 (asin_test_data): Likewise.
1290 (asin_tonearest_test_data): Likewise.
1291 (asin_towardzero_test_data): Likewise.
1292 (asin_downward_test_data): Likewise.
1293 (asin_upward_test_data): Likewise.
1294 (asinh_test_data): Likewise.
1295 (atan_test_data): Likewise.
1296 (atanh_test_data): Likewise.
1297 (atan2_test_data): Likewise.
1298 (cabs_test_data): Likewise.
1299 (cacos_test_data): Likewise.
1300 (cacosh_test_data): Likewise.
1301 (carg_test_data): Likewise.
1302 (casin_test_data): Likewise.
1303 (casinh_test_data): Likewise.
1304 (catan_test_data): Likewise.
1305 (catanh_test_data): Likewise.
1306 (cbrt_test_data): Likewise.
1307 (ccos_test_data): Likewise.
1308 (ccosh_test_data): Likewise.
1309 (ceil_test_data): Likewise.
1310 (cexp_test_data): Likewise.
1311 (cimag_test_data): Likewise.
1312 (clog_test_data): Likewise.
1313 (clog10_test_data): Likewise.
1314 (conj_test_data): Likewise.
1315 (copysign_test_data): Likewise.
1316 (cos_test_data): Likewise.
1317 (cos_tonearest_test_data): Likewise.
1318 (cos_towardzero_test_data): Likewise.
1319 (cos_downward_test_data): Likewise.
1320 (cos_upward_test_data): Likewise.
1321 (cosh_test_data): Likewise.
1322 (cosh_tonearest_test_data): Likewise.
1323 (cosh_towardzero_test_data): Likewise.
1324 (cosh_downward_test_data): Likewise.
1325 (cosh_upward_test_data): Likewise.
1326 (cpow_test_data): Likewise.
1327 (cproj_test_data): Likewise.
1328 (creal_test_data): Likewise.
1329 (csin_test_data): Likewise.
1330 (csinh_test_data): Likewise.
1331 (csqrt_test_data): Likewise.
1332 (ctan_test_data): Likewise.
1333 (ctan_tonearest_test_data): Likewise.
1334 (ctan_towardzero_test_data): Likewise.
1335 (ctan_downward_test_data): Likewise.
1336 (ctan_upward_test_data): Likewise.
1337 (ctanh_test_data): Likewise.
1338 (ctanh_tonearest_test_data): Likewise.
1339 (ctanh_towardzero_test_data): Likewise.
1340 (ctanh_downward_test_data): Likewise.
1341 (ctanh_upward_test_data): Likewise.
1342 (erf_test_data): Likewise.
1343 (erfc_test_data): Likewise.
1344 (exp_test_data): Likewise.
1345 (exp_tonearest_test_data): Likewise.
1346 (exp_towardzero_test_data): Likewise.
1347 (exp_downward_test_data): Likewise.
1348 (exp_upward_test_data): Likewise.
1349 (exp10_test_data): Likewise.
1350 (exp2_test_data): Likewise.
1351 (expm1_test_data): Likewise.
1352 (fabs_test_data): Likewise.
1353 (fdim_test_data): Likewise.
1354 (finite_test_data): Likewise.
1355 (floor_test_data): Likewise.
1356 (fma_test_data): Likewise.
1357 (fma_towardzero_test_data): Likewise.
1358 (fma_downward_test_data): Likewise.
1359 (fma_upward_test_data): Likewise.
1360 (fmax_test_data): Likewise.
1361 (fmin_test_data): Likewise.
1362 (fmod_test_data): Likewise.
1363 (fpclassify_test_data): Likewise.
1364 (frexp_test_data): Likewise.
1365 (gamma_test_data): Likewise.
1366 (hypot_test_data): Likewise.
1367 (ilogb_test_data): Likewise.
1368 (isfinite_test_data): Likewise.
1369 (isgreater_test_data): Likewise.
1370 (isgreaterequal_test_data): Likewise.
1371 (isinf_test_data): Likewise.
1372 (isless_test_data): Likewise.
1373 (islessequal_test_data): Likewise.
1374 (islessgreater_test_data): Likewise.
1375 (isnan_test_data): Likewise.
1376 (isnormal_test_data): Likewise.
1377 (issignaling_test_data): Likewise.
1378 (isunordered_test_data): Likewise.
1379 (j0_test_data): Likewise.
1380 (j1_test_data): Likewise.
1381 (jn_test_data): Likewise.
1382 (ldexp_test_data): Likewise.
1383 (lgamma_test_data): Likewise.
1384 (lrint_test_data): Likewise.
1385 (lrint_tonearest_test_data): Likewise.
1386 (lrint_towardzero_test_data): Likewise.
1387 (lrint_downward_test_data): Likewise.
1388 (lrint_upward_test_data): Likewise.
1389 (llrint_test_data): Likewise.
1390 (llrint_tonearest_test_data): Likewise.
1391 (llrint_towardzero_test_data): Likewise.
1392 (llrint_downward_test_data): Likewise.
1393 (llrint_upward_test_data): Likewise.
1394 (log_test_data): Likewise.
1395 (log10_test_data): Likewise.
1396 (log1p_test_data): Likewise.
1397 (log2_test_data): Likewise.
1398 (logb_test_data): Likewise.
1399 (logb_downward_test_data): Likewise.
1400 (lround_test_data): Likewise.
1401 (llround_test_data): Likewise.
1402 (modf_test_data): Likewise.
1403 (nearbyint_test_data): Likewise.
1404 (nextafter_test_data): Likewise.
1405 (nexttoward_test_data): Likewise.
1406 (pow_test_data): Likewise.
1407 (pow_tonearest_test_data): Likewise.
1408 (pow_towardzero_test_data): Likewise.
1409 (pow_downward_test_data): Likewise.
1410 (pow_upward_test_data): Likewise.
1411 (remainder_test_data): Likewise.
1412 (remainder_tonearest_test_data): Likewise.
1413 (remainder_towardzero_test_data): Likewise.
1414 (remainder_downward_test_data): Likewise.
1415 (remainder_upward_test_data): Likewise.
1416 (remquo_test_data): Likewise.
1417 (rint_test_data): Likewise.
1418 (rint_tonearest_test_data): Likewise.
1419 (rint_towardzero_test_data): Likewise.
1420 (rint_downward_test_data): Likewise.
1421 (rint_upward_test_data): Likewise.
1422 (round_test_data): Likewise.
1423 (scalb_test_data): Likewise.
1424 (scalbn_test_data): Likewise.
1425 (scalbln_test_data): Likewise.
1426 (signbit_test_data): Likewise.
1427 (sin_test_data): Likewise.
1428 (sin_tonearest_test_data): Likewise.
1429 (sin_towardzero_test_data): Likewise.
1430 (sin_downward_test_data): Likewise.
1431 (sin_upward_test_data): Likewise.
1432 (sincos_test_data): Likewise.
1433 (sinh_test_data): Likewise.
1434 (sinh_tonearest_test_data): Likewise.
1435 (sinh_towardzero_test_data): Likewise.
1436 (sinh_downward_test_data): Likewise.
1437 (sinh_upward_test_data): Likewise.
1438 (sqrt_test_data): Likewise.
1439 (tan_test_data): Likewise.
1440 (tan_tonearest_test_data): Likewise.
1441 (tan_towardzero_test_data): Likewise.
1442 (tan_downward_test_data): Likewise.
1443 (tan_upward_test_data): Likewise.
1444 (tanh_test_data): Likewise.
1445 (tgamma_test_data): Likewise.
1446 (trunc_test_data): Likewise.
1447 (y0_test_data): Likewise.
1448 (y1_test_data): Likewise.
1449 (yn_test_data): Likewise.
1450 (significand_test_data): Likewise.
1451
b679a606
JM
1452 * math/gen-libm-test.pl (@functions): Remove variable.
1453 (generate_testfile): Don't handle START and END lines.
1454 * math/libm-test.inc (START): New macro.
1455 (END): Likewise.
1456 (END_COMPLEX): Likewise.
1457 (acos_test): Use END macro without arguments.
1458 (acos_test_tonearest): Likewise.
1459 (acos_test_towardzero): Likewise.
1460 (acos_test_downward): Likewise.
1461 (acos_test_upward): Likewise.
1462 (acosh_test): Likewise.
1463 (asin_test): Likewise.
1464 (asin_test_tonearest): Likewise.
1465 (asin_test_towardzero): Likewise.
1466 (asin_test_downward): Likewise.
1467 (asin_test_upward): Likewise.
1468 (asinh_test): Likewise.
1469 (atan_test): Likewise.
1470 (atanh_test): Likewise.
1471 (atan2_test): Likewise.
1472 (cabs_test): Likewise.
1473 (cacos_test): Use END_COMPLEX macro without arguments.
1474 (cacosh_test): Likewise.
1475 (carg_test): Use END macro without arguments.
1476 (casin_test): Use END_COMPLEX macro without arguments.
1477 (casinh_test): Likewise.
1478 (catan_test): Likewise.
1479 (catanh_test): Likewise.
1480 (cbrt_test): Use END macro without arguments.
1481 (ccos_test): Use END_COMPLEX macro without arguments.
1482 (ccosh_test): Likewise.
1483 (ceil_test): Use END macro without arguments.
1484 (cexp_test): Use END_COMPLEX macro without arguments.
1485 (cimag_test): Use END macro without arguments.
1486 (clog_test): Use END_COMPLEX macro without arguments.
1487 (clog10_test): Likewise.
1488 (conj_test): Likewise.
1489 (copysign_test): Use END macro without arguments.
1490 (cos_test): Likewise.
1491 (cos_test_tonearest): Likewise.
1492 (cos_test_towardzero): Likewise.
1493 (cos_test_downward): Likewise.
1494 (cos_test_upward): Likewise.
1495 (cosh_test): Likewise.
1496 (cosh_test_tonearest): Likewise.
1497 (cosh_test_towardzero): Likewise.
1498 (cosh_test_downward): Likewise.
1499 (cosh_test_upward): Likewise.
1500 (cpow_test): Use END_COMPLEX macro without arguments.
1501 (cproj_test): Likewise.
1502 (creal_test): Use END macro without arguments.
1503 (csin_test): Use END_COMPLEX macro without arguments.
1504 (csinh_test): Likewise.
1505 (csqrt_test): Likewise.
1506 (ctan_test): Likewise.
1507 (ctan_test_tonearest): Likewise.
1508 (ctan_test_towardzero): Likewise.
1509 (ctan_test_downward): Likewise.
1510 (ctan_test_upward): Likewise.
1511 (ctanh_test): Likewise.
1512 (ctanh_test_tonearest): Likewise.
1513 (ctanh_test_towardzero): Likewise.
1514 (ctanh_test_downward): Likewise.
1515 (ctanh_test_upward): Likewise.
1516 (erf_test): Use END macro without arguments.
1517 (erfc_test): Likewise.
1518 (exp_test): Likewise.
1519 (exp_test_tonearest): Likewise.
1520 (exp_test_towardzero): Likewise.
1521 (exp_test_downward): Likewise.
1522 (exp_test_upward): Likewise.
1523 (exp10_test): Likewise.
1524 (exp2_test): Likewise.
1525 (expm1_test): Likewise.
1526 (fabs_test): Likewise.
1527 (fdim_test): Likewise.
1528 (finite_test): Likewise.
1529 (floor_test): Likewise.
1530 (fma_test): Likewise.
1531 (fma_test_towardzero): Likewise.
1532 (fma_test_downward): Likewise.
1533 (fma_test_upward): Likewise.
1534 (fmax_test): Likewise.
1535 (fmin_test): Likewise.
1536 (fmod_test): Likewise.
1537 (fpclassify_test): Likewise.
1538 (frexp_test): Likewise.
1539 (gamma_test): Likewise.
1540 (hypot_test): Likewise.
1541 (ilogb_test): Likewise.
1542 (isfinite_test): Likewise.
1543 (isgreater_test): Likewise.
1544 (isgreaterequal_test): Likewise.
1545 (isinf_test): Likewise.
1546 (isless_test): Likewise.
1547 (islessequal_test): Likewise.
1548 (islessgreater_test): Likewise.
1549 (isnan_test): Likewise.
1550 (isnormal_test): Likewise.
1551 (issignaling_test): Likewise.
1552 (isunordered_test): Likewise.
1553 (j0_test): Likewise.
1554 (j1_test): Likewise.
1555 (jn_test): Likewise.
1556 (ldexp_test): Likewise.
1557 (lgamma_test): Likewise.
1558 (lrint_test): Likewise.
1559 (lrint_test_tonearest): Likewise.
1560 (lrint_test_towardzero): Likewise.
1561 (lrint_test_downward): Likewise.
1562 (lrint_test_upward): Likewise.
1563 (llrint_test): Likewise.
1564 (llrint_test_tonearest): Likewise.
1565 (llrint_test_towardzero): Likewise.
1566 (llrint_test_downward): Likewise.
1567 (llrint_test_upward): Likewise.
1568 (log_test): Likewise.
1569 (log10_test): Likewise.
1570 (log1p_test): Likewise.
1571 (log2_test): Likewise.
1572 (logb_test): Likewise.
1573 (logb_test_downward): Likewise.
1574 (lround_test): Likewise.
1575 (llround_test): Likewise.
1576 (modf_test): Likewise.
1577 (nearbyint_test): Likewise.
1578 (nextafter_test): Likewise.
1579 (nexttoward_test): Likewise.
1580 (pow_test): Likewise.
1581 (pow_test_tonearest): Likewise.
1582 (pow_test_towardzero): Likewise.
1583 (pow_test_downward): Likewise.
1584 (pow_test_upward): Likewise.
1585 (remainder_test): Likewise.
1586 (remainder_test_tonearest): Likewise.
1587 (remainder_test_towardzero): Likewise.
1588 (remainder_test_downward): Likewise.
1589 (remainder_test_upward): Likewise.
1590 (remquo_test): Likewise.
1591 (rint_test): Likewise.
1592 (rint_test_tonearest): Likewise.
1593 (rint_test_towardzero): Likewise.
1594 (rint_test_downward): Likewise.
1595 (rint_test_upward): Likewise.
1596 (round_test): Likewise.
1597 (scalb_test): Likewise.
1598 (scalbn_test): Likewise.
1599 (scalbln_test): Likewise.
1600 (signbit_test): Likewise.
1601 (sin_test): Likewise.
1602 (sin_test_tonearest): Likewise.
1603 (sin_test_towardzero): Likewise.
1604 (sin_test_downward): Likewise.
1605 (sin_test_upward): Likewise.
1606 (sincos_test): Likewise.
1607 (sinh_test): Likewise.
1608 (sinh_test_tonearest): Likewise.
1609 (sinh_test_towardzero): Likewise.
1610 (sinh_test_downward): Likewise.
1611 (sinh_test_upward): Likewise.
1612 (sqrt_test): Likewise.
1613 (tan_test): Likewise.
1614 (tan_test_tonearest): Likewise.
1615 (tan_test_towardzero): Likewise.
1616 (tan_test_downward): Likewise.
1617 (tan_test_upward): Likewise.
1618 (tanh_test): Likewise.
1619 (tgamma_test): Likewise.
1620 (trunc_test): Likewise.
1621 (y0_test): Likewise.
1622 (y1_test): Likewise.
1623 (yn_test): Likewise.
1624 (significand_test): Likewise.
1625
bae143d2
OB
16262013-05-24 Ondřej Bílka <neleai@seznam.cz>
1627
1628 [BZ #15381]
1629 * libio/genops.c (_IO_no_init): Initialize wide struct info.
1630
9323d39b
EM
16312013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
1632
d4ea44a0 1633 [BZ #14894]
9323d39b
EM
1634 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
1635 __ppc_mdoio and __ppc_mdoom.
1636 * manual/platform.texi: Document new functions __ppc_yield,
1637 __ppc_mdoio and __ppc_mdoom.
1638
13e23af7
CD
16392013-05-22 Carlos O'Donell <carlos@redhat.com>
1640
1641 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
1642 (main): Mention "tls" pseudo-hwcap is legacy.
1643 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
1644
351fe550
JM
16452013-05-22 Joseph Myers <joseph@codesourcery.com>
1646
1647 * math/gen-libm-test.pl (parse_args): Output only string of
1648 arguments as text for test name, not full call or descriptions of
1649 tests for extra outputs.
1650 (generate_testfile): Do not pass function name to parse_args.
1651 Generate this_func variable from START.
1652 * math/libm-test.inc (struct test_f_f_data): Rename test_name
1653 field to arg_str.
1654 (struct test_ff_f_data): Likewise.
1655 (test_ff_f_data_nexttoward): Likewise.
1656 (struct test_fi_f_data): Likewise.
1657 (struct test_fl_f_data): Likewise.
1658 (struct test_if_f_data): Likewise.
1659 (struct test_fff_f_data): Likewise.
1660 (struct test_c_f_data): Likewise.
1661 (struct test_f_f1_data): Likewise. Remove field extra_name.
1662 (struct test_fF_f1_data): Likewise.
1663 (struct test_ffI_f1_data): Likewise.
1664 (struct test_c_c_data): Rename test_name field to arg_str.
1665 (struct test_cc_c_data): Likewise.
1666 (struct test_f_i_data): Likewise.
1667 (struct test_ff_i_data): Likewise.
1668 (struct test_f_l_data): Likewise.
1669 (struct test_f_L_data): Likewise.
1670 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
1671 and extra2_name.
1672 (COMMON_TEST_SETUP): New macro.
1673 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
1674 (COMMON_TEST_CLEANUP): Likewise.
1675 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
1676 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
1677 macros.
1678 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
1679 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
1680 macros.
1681 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
1682 (RUN_TEST_fff_f): Take argument string. Call new setup and
1683 cleanup macros.
1684 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
1685 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
1686 macros.
1687 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
1688 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
1689 macros.
1690 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
1691 (RUN_TEST_fF_f1): Take argument string. Call new setup and
1692 cleanup macros.
1693 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
1694 (RUN_TEST_fI_f1): Take argument string. Call new setup and
1695 cleanup macros.
1696 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
1697 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
1698 cleanup macros.
1699 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
1700 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
1701 macros.
1702 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
1703 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
1704 macros.
1705 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
1706 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
1707 macros.
1708 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
1709 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
1710 cleanup macros.
1711 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
1712 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
1713 cleanup macros.
1714 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
1715 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
1716 macros.
1717 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
1718 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
1719 cleanup macros.
1720 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
1721 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
1722 macros.
1723 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
1724 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
1725 macros.
1726 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
1727 (RUN_TEST_fFF_11): Take argument string. Call new setup and
1728 cleanup macros.
1729 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
1730
85118d4d
EBM
17312013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1732
1733 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
1734 to _sifields.sigfault.
1735 (si_addr_lsb): Define new macro.
1736 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
1737 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
1738 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
1739
7a44c18f
CD
17402013-05-03 Carlos O'Donell <carlos at redhat.com>
1741
1742 [BZ #15441]
1743 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
1744 returns -1.
1745 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
1746 null return -1.
1747 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
1748 loading the domain.
1749
b50a7181
JM
17502013-05-22 Joseph Myers <joseph@codesourcery.com>
1751
1752 * math/gen-libm-test.pl (parse_args): Do not include expected
1753 result in test name.
1754 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
1755 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1756 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1757 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
1758 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1759 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1760
051063c8
SP
17612013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
1762
3ce9e010
SP
1763 * benchtests/Makefile: Sort function entries.
1764
051063c8
SP
1765 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
1766 tanh, asinh, acosh, atanh.
1767 * benchtests/acos-inputs: New file.
1768 * benchtests/acosh-inputs: New file.
1769 * benchtests/asin-inputs: New file.
1770 * benchtests/asinh-inputs: New file.
1771 * benchtests/atanh-inputs: New file.
1772 * benchtests/cosh-inputs: New file.
1773 * benchtests/log-inputs: New file.
1774 * benchtests/sinh-inputs: New file.
1775 * benchtests/tanh-inputs: New file.
1776
47c22455
DL
17772013-05-21 Dmitry V. Levin <ldv@altlinux.org>
1778
1779 [BZ #15339]
1780 * posix/tst-getaddrinfo4.c: New test.
1781 * posix/Makefile (tests): Add it.
1782
3d04f5db
SP
17832013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1784
1785 [BZ #15339]
1786 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
1787 when no services were used.
1788 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
1789 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
1790
d5dd6189
AS
17912013-05-21 Andreas Schwab <schwab@suse.de>
1792
1793 [BZ #15014]
1794 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
1795 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
1796 successful.
1797 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
1798 redundant variable declarations and reallocation of buffer when
1799 parsing as IPv6 address. Always set NSS status when called from
1800 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
1801 buffer too small. Correct computation of needed size.
1802 * nss/Makefile (tests): Add test-digits-dots.
1803 * nss/test-digits-dots.c: New test.
1804
fef94eab
SP
18052013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1806
1807 * benchtests/Makefile: Remove instructions for adding
1808 benchmark tests.
1809 * benchtests/README: New file to explain how to execute and
1810 enhance the benchmark tests.
1811
e39adf43
AS
18122013-05-21 Andreas Schwab <schwab@suse.de>
1813
1814 [BZ #15493]
1815 * setjmp/Makefile (tests): Add tst-sigsetjmp.
1816 * setjmp/tst-sigsetjmp.c: New test.
1817
b2b671b6
OB
18182013-05-20 Ondřej Bílka <neleai@seznam.cz>
1819
1820 * sysdeps/x86_64/memset.S (memset): New implementation.
1821 (__bzero): Likewise.
1822 (__memset_tail): New function.
1823
2d48b41c
OB
18242013-05-20 Ondřej Bílka <neleai@seznam.cz>
1825
1826 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
1827 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
1828 __memcpy_sse2_unaligned ifunc selection.
1829 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
1830 Add memcpy-sse2-unaligned.S.
1831 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1832 Add: __memcpy_sse2_unaligned.
1833
f16cc3eb
JM
18342013-05-19 Joseph Myers <joseph@codesourcery.com>
1835
3e694268
JM
1836 [BZ #15490]
1837 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
1838 math_force_eval before restoring floating-point envrionment.
1839 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
1840 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
1841 Likewise.
1842 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
1843 <math_private.h>.
1844 (__nearbyintl): Use math_force_eval before restoring
1845 floating-point environment.
1846 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
1847
db62a907
JM
1848 * math/gen-libm-test.pl (special_functions): Remove.
1849 (parse_args): Don't handle TEST_extra. Handle functions with no
1850 return value.
1851 * math/libm-test.inc (struct test_sincos_data): Replace with
1852 struct test_fFF_11_data.
1853 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
1854 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
1855 (sincos_test_data): Change element type to struct
1856 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
1857 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
1858 RUN_TEST_LOOP_sincos.
1859 * math/README.libm-test: Don't mention special handling of
1860 individual functions.
1861 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
1862 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1863 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1864 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
1865 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1866 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1867
f16cc3eb
JM
1868 * math/gen-libm-test.pl (get_variable): Remove function.
1869 (parse_args): Don't show pointer parameters to call in test
1870 names. Use "extra output N" in test names for extra outputs
1871 rather than naming variables.
1872
3779b5b6
JM
18732013-05-18 Joseph Myers <joseph@codesourcery.com>
1874
2ee094ff
JM
1875 [BZ #15488]
1876 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
1877 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
1878 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
1879 double tests.
1880 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
1881 disable.
1882 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
1883 check_long_double.
1884
3779b5b6
JM
1885 * math/gen-libm-test.pl (@tests): Remove variable.
1886 ($count): Likewise.
1887 (new_test): Remove function.
1888 (show_exceptions): New function.
1889 (special_functions): Use show_exceptions instead of new_test.
1890 (parse_args): Likewise.
1891 (generate_testfile): Pass only function name in generated call to
1892 print_max_error or print_complex_max_error.
1893 (get_ulps): Do not handle complex tests specially.
1894 (output_test): Rename to ...
1895 (get_all_ulps_for_test): ... this. Return a string rather than
1896 printing to a file. Require ulps to be present.
1897 (output_ulps): Generate arrays rather than #defines.
1898 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
1899 (struct ulp_data): New type.
1900 (BUILD_COMPLEX_ULP): Remove macro.
1901 (compare_ulp_data): New function.
1902 (find_ulps): Likewise.
1903 (find_test_ulps): Likewise.
1904 (find_function_ulps): Likewise.
1905 (find_complex_function_ulps): Likewise.
1906 (print_max_error): Determine allowed ulps using
1907 find_function_ulps.
1908 (print_complex_max_error): Determine allowed ulps using
1909 find_complex_function_ulps.
1910 (check_float_internal): Determine max ulps using find_test_ulps.
1911 (check_float): Do not take max_ulp parameter. Update call to
1912 check_float_internal.
1913 (check_complex): Likewise.
1914 (check_int): Do not take max_ulp parameter.
1915 (check_long): Likewise.
1916 (check_bool): Likewise.
1917 (check_longlong): Likewise.
1918 (struct test_f_f_data): Remove max_ulp field.
1919 (struct test_ff_f_data): Likewise.
1920 (struct test_ff_f_data_nexttoward): Likewise.
1921 (struct test_fi_f_data): Likewise.
1922 (struct test_fl_f_data): Likewise.
1923 (struct test_if_f_data): Likewise.
1924 (struct test_fff_f_data): Likewise.
1925 (struct test_c_f_data): Likewise.
1926 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
1927 (struct test_fF_f1_data): Likewise.
1928 (struct test_ffI_f1_data): Likewise.
1929 (struct test_c_c_data): Remove max_ulp field.
1930 (struct test_cc_c_data): Likewise.
1931 (struct test_f_i_data): Likewise.
1932 (struct test_ff_i_data): Likewise.
1933 (struct test_f_l_data): Likewise.
1934 (struct test_f_L_data): Likewise.
1935 (struct test_sincos_data): Likewise.
1936 (RUN_TEST_f_f): Do not handle ulps.
1937 (RUN_TEST_LOOP_f_f): Likewise.
1938 (RUN_TEST_2_f): Likewise.
1939 (RUN_TEST_LOOP_2_f): Likewise.
1940 (RUN_TEST_fff_f): Likewise.
1941 (RUN_TEST_LOOP_fff_f): Likewise.
1942 (RUN_TEST_c_f): Likewise.
1943 (RUN_TEST_LOOP_c_f): Likewise.
1944 (RUN_TEST_f_f1): Likewise.
1945 (RUN_TEST_LOOP_f_f1): Likewise.
1946 (RUN_TEST_fF_f1): Likewise.
1947 (RUN_TEST_LOOP_fF_f1): Likewise.
1948 (RUN_TEST_fI_f1): Likewise.
1949 (RUN_TEST_LOOP_fI_f1): Likewise.
1950 (RUN_TEST_ffI_f1): Likewise.
1951 (RUN_TEST_LOOP_ffI_f1): Likewise.
1952 (RUN_TEST_c_c): Likewise.
1953 (RUN_TEST_LOOP_c_c): Likewise.
1954 (RUN_TEST_cc_c): Likewise.
1955 (RUN_TEST_LOOP_cc_c): Likewise.
1956 (RUN_TEST_f_i): Likewise.
1957 (RUN_TEST_LOOP_f_i): Likewise.
1958 (RUN_TEST_f_i_tg): Likewise.
1959 (RUN_TEST_LOOP_f_i_tg): Likewise.
1960 (RUN_TEST_ff_i_tg): Likewise.
1961 (RUN_TEST_LOOP_ff_i_tg): Likewise.
1962 (RUN_TEST_f_b): Likewise.
1963 (RUN_TEST_LOOP_f_b): Likewise.
1964 (RUN_TEST_f_b_tg): Likewise.
1965 (RUN_TEST_LOOP_f_b_tg): Likewise.
1966 (RUN_TEST_f_l): Likewise.
1967 (RUN_TEST_LOOP_f_l): Likewise.
1968 (RUN_TEST_f_L): Likewise.
1969 (RUN_TEST_LOOP_f_L): Likewise.
1970 (RUN_TEST_sincos): Likewise.
1971 (RUN_TEST_LOOP_sincos): Likewise.
1972
8269107f
JM
19732013-05-17 Joseph Myers <joseph@codesourcery.com>
1974
bb38759d
JM
1975 [BZ #15480]
1976 [BZ #15485]
1977 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
1978 main case of finite arguments, set rounding mode to FE_TONEAREST
1979 and discard exceptions.
1980 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
1981 exceptions.
1982 (remainder_tonearest_test_data): New variable.
1983 (remainder_test_tonearest): New function.
1984 (remainder_towardzero_test_data): New variable.
1985 (remainder_test_towardzero): New function.
1986 (remainder_downward_test_data): New variable.
1987 (remainder_test_downward): New function.
1988 (remainder_upward_test_data): New variable.
1989 (remainder_test_upward): New function.
1990 (main): Call the new test functions.
1991
a00bdcf0
JM
1992 * math/libm-test.inc (struct test_f_f1_data): Remove field
1993 extra_init.
1994 (struct test_fF_f1_data): Likewise.
1995 (struct test_ffI_f1_data): Likewise.
1996 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
1997 based on value of EXTRA_EXPECTED.
1998 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
1999 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
2000 EXTRA_VAR based on value of EXTRA_EXPECTED.
2001 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
2002 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
2003 EXTRA_VAR based on value of EXTRA_EXPECTED.
2004 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
2005 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
2006 EXTRA_VAR based on value of EXTRA_EXPECTED.
2007 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
2008 * math/gen-libm-test.pl (parse_args): Don't output initializers
2009 for extra output values.
2010
de407f79
JM
2011 * math/libm-test.inc (check_int): Expect result to be exactly
2012 equal to expected value and do not handle ulps.
2013 (check_long): Likewise.
2014 (check_longlong): Likewise.
2015
8269107f
JM
2016 * math/libm-test.inc (ceil_test_data): Test for "inexact"
2017 exceptions.
2018 (cimag_test_data): Likewise.
2019 (conj_test_data): Likewise.
2020 (copysign_test_data): Likewise.
2021 (cproj_test_data): Likewise.
2022 (creal_test_data): Likewise.
2023 (fabs_test_data): Likewise.
2024 (fdim_test_data): Likewise.
2025 (finite_test_data): Likewise.
2026 (floor_test_data): Likewise.
2027 (fmax_test_data): Likewise.
2028 (fmin_test_data): Likewise.
2029 (fmod_test_data): Likewise.
2030 (fpclassify_test_data): Likewise.
2031 (frexp_test_data): Likewise.
2032 (ilogb_test_data): Likewise.
2033 (isfinite_test_data): Likewise.
2034 (isgreater_test_data): Likewise.
2035 (isgreaterequal_test_data): Likewise.
2036 (isinf_test_data): Likewise.
2037 (isless_test_data): Likewise.
2038 (islessequal_test_data): Likewise.
2039 (islessgreater_test_data): Likewise.
2040 (isnan_test_data): Likewise.
2041 (isnormal_test_data): Likewise.
2042 (issignaling_test_data): Likewise.
2043 (isunordered_test_data): Likewise.
2044 (ldexp_test_data): Likewise.
2045 (lrint_test_data): Likewise.
2046 (lrint_test_data) [TEST_FLOAT]: Disable one test.
2047 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
2048 (lrint_tonearest_test_data): Test for "inexact" exceptions.
2049 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
2050 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
2051 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
2052 test input.
2053 (lrint_towardzero_test_data): Test for "inexact" exceptions.
2054 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
2055 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
2056 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
2057 that test input.
2058 (lrint_downward_test_data): Test for "inexact" exceptions.
2059 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
2060 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
2061 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
2062 test input.
2063 (lrint_upward_test_data): Test for "inexact" exceptions.
2064 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
2065 test input.
2066 (llrint_test_data): Test for "inexact" exceptions.
2067 (llrint_test_data) [TEST_FLOAT]: Disable one test.
2068 (llrint_tonearest_test_data): Test for "inexact" exceptions.
2069 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
2070 (llrint_towardzero_test_data): Test for "inexact" exceptions.
2071 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
2072 (llrint_downward_test_data): Test for "inexact" exceptions.
2073 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
2074 (llrint_upward_test_data): Test for "inexact" exceptions.
2075 (logb_test_data): Likewise.
2076 (logb_downward_test_data): Likewise.
2077 (nextafter_test_data): Likewise.
2078 (nexttoward_test_data): Likewise.
2079 (remainder_test_data): Likewise.
2080 (remquo_test_data): Likewise.
2081 (scalbn_test_data): Likewise.
2082 (scalbln_test_data): Likewise.
2083 (signbit_test_data): Likewise.
2084 (sqrt_test_data): Likewise.
2085 (significand_test_data): Likewise.
2086
48a18de1
SP
20872013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2088
2089 [BZ #15424]
2090 * benchtests/bench-modf.c (struct args): Mark arg0 as
2091 volatile.
2092 * scripts/bench.pl: Mark members of struct args as volatile.
2093
13d3b41a
AZ
20942013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2095
68191c1d 2096 [BZ # 15497]
13d3b41a
AZ
2097 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
2098 negative infinity on POWER6 or lower.
2099 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
2100
2848b105
MR
21012013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
2102
2103 [BZ #15442]
2104 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
2105 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
2106 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
2107 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
2108 (_FP_SETQNAN): New macro.
2109 (_FP_SETQNAN_SEMIRAW): Likewise.
2110 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
2111 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
2112 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
2113 (FP_EXTEND): Use _FP_FRAC_SNANP.
2114 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
2115 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
2116 into account.
2117 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
2118 New macro.
2119 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
2120 Likewise.
2121
323e5cb7
JM
21222013-05-16 Joseph Myers <joseph@codesourcery.com>
2123
c58b274f
JM
2124 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
2125 with DIVIDE_BY_ZERO_EXCEPTION.
2126 (gamma_test_data): Likewise.
2127 (lgamma_test_data): Likewise.
2128 (log_test_data): Likewise.
2129 (log10_test_data): Likewise.
2130 (log2_test_data): Likewise.
2131 (tgamma_test_data): Likewise.
2132
0ab34904
JM
2133 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
2134 (acos_test_tonearest): Likewise.
2135 (acos_test_towardzero): Likewise.
2136 (acos_test_downward): Likewise.
2137 (acos_test_upward): Likewise.
2138 (acosh_test): Likewise.
2139 (asin_test): Likewise.
2140 (asin_test_tonearest): Likewise.
2141 (asin_test_towardzero): Likewise.
2142 (asin_test_downward): Likewise.
2143 (asin_test_upward): Likewise.
2144 (asinh_test): Likewise.
2145 (atan_test): Likewise.
2146 (atanh_test): Likewise.
2147 (atan2_test): Likewise.
2148 (cabs_test): Likewise.
2149 (cacos_test): Likewise.
2150 (cacosh_test): Likewise.
2151 (casin_test): Likewise.
2152 (casinh_test): Likewise.
2153 (catan_test): Likewise.
2154 (catanh_test): Likewise.
2155 (cbrt_test): Likewise.
2156 (ccos_test): Likewise.
2157 (ccosh_test): Likewise.
2158 (cexp_test): Likewise.
2159 (clog_test): Likewise.
2160 (clog10_test): Likewise.
2161 (cos_test): Likewise.
2162 (cos_test_tonearest): Likewise.
2163 (cos_test_towardzero): Likewise.
2164 (cos_test_downward): Likewise.
2165 (cos_test_upward): Likewise.
2166 (cosh_test): Likewise.
2167 (cosh_test_tonearest): Likewise.
2168 (cosh_test_towardzero): Likewise.
2169 (cosh_test_downward): Likewise.
2170 (cosh_test_upward): Likewise.
2171 (cpow_test): Likewise.
2172 (csin_test): Likewise.
2173 (csinh_test): Likewise.
2174 (csqrt_test): Likewise.
2175 (ctan_test): Likewise.
2176 (ctan_test_tonearest): Likewise.
2177 (ctan_test_towardzero): Likewise.
2178 (ctan_test_downward): Likewise.
2179 (ctan_test_upward): Likewise.
2180 (ctanh_test): Likewise.
2181 (ctanh_test_tonearest): Likewise.
2182 (ctanh_test_towardzero): Likewise.
2183 (ctanh_test_downward): Likewise.
2184 (ctanh_test_upward): Likewise.
2185 (erf_test): Likewise.
2186 (erfc_test): Likewise.
2187 (exp_test): Likewise.
2188 (exp_test_tonearest): Likewise.
2189 (exp_test_towardzero): Likewise.
2190 (exp_test_downward): Likewise.
2191 (exp_test_upward): Likewise.
2192 (exp10_test): Likewise.
2193 (exp2_test): Likewise.
2194 (expm1_test): Likewise.
2195 (fmod_test): Likewise.
2196 (gamma_test): Likewise.
2197 (hypot_test): Likewise.
2198 (j0_test): Likewise.
2199 (j1_test): Likewise.
2200 (jn_test): Likewise.
2201 (lgamma_test): Likewise.
2202 (log_test): Likewise.
2203 (log10_test): Likewise.
2204 (log1p_test): Likewise.
2205 (log2_test): Likewise.
2206 (logb_test_downward): Likewise.
2207 (pow_test): Likewise.
2208 (pow_test_tonearest): Likewise.
2209 (pow_test_towardzero): Likewise.
2210 (pow_test_downward): Likewise.
2211 (pow_test_upward): Likewise.
2212 (remainder_test): Likewise.
2213 (remquo_test): Likewise.
2214 (sin_test): Likewise.
2215 (sin_test_tonearest): Likewise.
2216 (sin_test_towardzero): Likewise.
2217 (sin_test_downward): Likewise.
2218 (sin_test_upward): Likewise.
2219 (sincos_test): Likewise.
2220 (sinh_test): Likewise.
2221 (sinh_test_tonearest): Likewise.
2222 (sinh_test_towardzero): Likewise.
2223 (sinh_test_downward): Likewise.
2224 (sinh_test_upward): Likewise.
2225 (sqrt_test): Likewise.
2226 (tan_test): Likewise.
2227 (tan_test_tonearest): Likewise.
2228 (tan_test_towardzero): Likewise.
2229 (tan_test_downward): Likewise.
2230 (tan_test_upward): Likewise.
2231 (tanh_test): Likewise.
2232 (tgamma_test): Likewise.
2233 (y0_test): Likewise.
2234 (y1_test): Likewise.
2235 (yn_test): Likewise.
2236
323e5cb7
JM
2237 * math/gen-libm-test.pl (adjust_arg): Remove function.
2238 (special_function): Remove argument $in_func. Only handle
2239 generating output for tables of tests, not inside functions.
2240 (parse_args): Likewise.
2241 (generate_testfile): Remove variable $in_func. Update call to
2242 parse_args.
2243 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
2244 (MINUS_ZERO_INIT): Rename macro to minus_zero.
2245 (PLUS_INFTY_INIT): Rename macro to plus_infty.
2246 (MINUS_INFTY_INIT): Rename macro to minus_infty.
2247 (QNAN_VALUE_INIT): Rename macro to qnan_value.
2248 (MAX_VALUE_INIT): Rename macro to max_value.
2249 (MIN_VALUE_INIT): Rename macro to min_value.
2250 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
2251 (plus_zero): Remove variable.
2252 (minus_zero): Likewise.
2253 (plus_infty): Likewise.
2254 (minus_infty): Likewise.
2255 (qnan_value): Likewise.
2256 (max_value): Likewise.
2257 (min_value): Likewise.
2258 (min_subnorm_value): Likewise.
2259
e054f494
RA
22602013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2261
2262 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
2263 uint64_t or uint32_t usage.
2264 * crypt/sha256-block.c: Likewise.
2265 * crypt/sha256-crypt.c: Likewise.
2266 * crypt/sha256.c: Likewise.
2267 * crypt/sha512-block.c: Likewise.
2268 * crypt/sha512-crypt.c: Likewise.
2269 * crypt/sha512.c: Likewise.
2270 * debug/backtrace-tst.c: Likewise.
2271 * debug/pcprofiledump.c: Likewise.
2272 * elf/cache.c: Likewise.
2273 * elf/dl-cache.c: Likewise.
2274 * elf/dl-misc.c: Likewise.
2275 * elf/dl-profile.c: Likewise.
2276 * elf/dl-support.c: Likewise.
2277 * elf/ldconfig.c: Likewise.
2278 * elf/sprof.c: Likewise.
2279 * iconv/dummy-repertoire.c: Likewise.
2280 * iconv/iconv_charmap.c: Likewise.
2281 * iconv/skeleton.c: Likewise.
2282 * iconvdata/8bit-generic.c: Likewise.
2283 * iconvdata/cp737.h: Likewise.
2284 * iconvdata/cp775.h: Likewise.
2285 * iconvdata/ibm1008.h: Likewise.
2286 * iconvdata/ibm1025.h: Likewise.
2287 * iconvdata/ibm1046.h: Likewise.
2288 * iconvdata/ibm1097.h: Likewise.
2289 * iconvdata/ibm1112.h: Likewise.
2290 * iconvdata/ibm1122.h: Likewise.
2291 * iconvdata/ibm1123.h: Likewise.
2292 * iconvdata/ibm1124.h: Likewise.
2293 * iconvdata/ibm1129.h: Likewise.
2294 * iconvdata/ibm1130.h: Likewise.
2295 * iconvdata/ibm1132.h: Likewise.
2296 * iconvdata/ibm1133.h: Likewise.
2297 * iconvdata/ibm1137.h: Likewise.
2298 * iconvdata/ibm1140.h: Likewise.
2299 * iconvdata/ibm1141.h: Likewise.
2300 * iconvdata/ibm1142.h: Likewise.
2301 * iconvdata/ibm1143.h: Likewise.
2302 * iconvdata/ibm1144.h: Likewise.
2303 * iconvdata/ibm1145.h: Likewise.
2304 * iconvdata/ibm1146.h: Likewise.
2305 * iconvdata/ibm1147.h: Likewise.
2306 * iconvdata/ibm1148.h: Likewise.
2307 * iconvdata/ibm1149.h: Likewise.
2308 * iconvdata/ibm1153.h: Likewise.
2309 * iconvdata/ibm1154.h: Likewise.
2310 * iconvdata/ibm1155.h: Likewise.
2311 * iconvdata/ibm1156.h: Likewise.
2312 * iconvdata/ibm1157.h: Likewise.
2313 * iconvdata/ibm1158.h: Likewise.
2314 * iconvdata/ibm1160.h: Likewise.
2315 * iconvdata/ibm1161.h: Likewise.
2316 * iconvdata/ibm1162.h: Likewise.
2317 * iconvdata/ibm1163.h: Likewise.
2318 * iconvdata/ibm1164.h: Likewise.
2319 * iconvdata/ibm1166.h: Likewise.
2320 * iconvdata/ibm1167.h: Likewise.
2321 * iconvdata/ibm12712.h: Likewise.
2322 * iconvdata/ibm1390.h: Likewise.
2323 * iconvdata/ibm1399.h: Likewise.
2324 * iconvdata/ibm16804.h: Likewise.
2325 * iconvdata/ibm4517.h: Likewise.
2326 * iconvdata/ibm4899.h: Likewise.
2327 * iconvdata/ibm4909.h: Likewise.
2328 * iconvdata/ibm4971.h: Likewise.
2329 * iconvdata/ibm5347.h: Likewise.
2330 * iconvdata/ibm803.h: Likewise.
2331 * iconvdata/ibm856.h: Likewise.
2332 * iconvdata/ibm901.h: Likewise.
2333 * iconvdata/ibm902.h: Likewise.
2334 * iconvdata/ibm9030.h: Likewise.
2335 * iconvdata/ibm9066.h: Likewise.
2336 * iconvdata/ibm921.h: Likewise.
2337 * iconvdata/ibm922.h: Likewise.
2338 * iconvdata/ibm9448.h: Likewise.
2339 * iconvdata/isiri-3342.h: Likewise.
2340 * iconvdata/jis0201.h: Likewise.
2341 * include/link.h: Likewise.
2342 * include/netdb.h: Likewise.
2343 * inet/check_native.c: Likewise.
2344 * inet/check_pf.c: Likewise.
2345 * inet/getipv4sourcefilter.c: Likewise.
2346 * inet/getnameinfo.c: Likewise.
2347 * inet/getsourcefilter.c: Likewise.
2348 * inet/htonl.c: Likewise.
2349 * inet/setipv4sourcefilter.c: Likewise.
2350 * inet/setsourcefilter.c: Likewise.
2351 * inet/test-inet6_opt.c: Likewise.
2352 * inet/tst-network.c: Likewise.
2353 * locale/C-collate.c: Likewise.
2354 * locale/C-ctype.c: Likewise.
2355 * locale/C-time.c: Likewise.
2356 * locale/C-translit.h: Likewise.
2357 * locale/loadarchive.c: Likewise.
2358 * locale/programs/3level.h: Likewise.
2359 * locale/programs/charmap.c: Likewise.
2360 * locale/programs/charmap.h: Likewise.
2361 * locale/programs/ld-address.c: Likewise.
2362 * locale/programs/ld-collate.c: Likewise.
2363 * locale/programs/ld-ctype.c: Likewise.
2364 * locale/programs/ld-identification.c: Likewise.
2365 * locale/programs/ld-measurement.c: Likewise.
2366 * locale/programs/ld-messages.c: Likewise.
2367 * locale/programs/ld-monetary.c: Likewise.
2368 * locale/programs/ld-name.c: Likewise.
2369 * locale/programs/ld-numeric.c: Likewise.
2370 * locale/programs/ld-paper.c: Likewise.
2371 * locale/programs/ld-telephone.c: Likewise.
2372 * locale/programs/ld-time.c: Likewise.
2373 * locale/programs/linereader.c: Likewise.
2374 * locale/programs/locale.c: Likewise.
2375 * locale/programs/locarchive.c: Likewise.
2376 * locale/programs/locfile.h: Likewise.
2377 * locale/programs/repertoire.c: Likewise.
2378 * locale/programs/simple-hash.c: Likewise.
2379 * locale/programs/simple-hash.h: Likewise.
2380 * malloc/memusage.c: Likewise.
2381 * malloc/memusagestat.c: Likewise.
2382 * nis/nis_defaults.c: Likewise.
2383 * nis/nis_hash.c: Likewise.
2384 * nis/nis_print.c: Likewise.
2385 * nis/nis_xdr.c: Likewise.
2386 * nscd/connections.c: Likewise.
2387 * nscd/hstcache.c: Likewise.
2388 * nscd/nscd_gethst_r.c: Likewise.
2389 * nscd/nscd_getserv_r.c: Likewise.
2390 * nscd/nscd_helper.c: Likewise.
2391 * nscd/servicescache.c: Likewise.
2392 * nss/makedb.c: Likewise.
2393 * nss/nss_db/db-XXX.c: Likewise.
2394 * nss/nss_db/db-initgroups.c: Likewise.
2395 * nss/nss_db/db-netgrp.c: Likewise.
2396 * nss/nss_files/files-network.c: Likewise.
2397 * nss/nss_files/files-parse.c: Likewise.
2398 * posix/bug-regex5.c: Likewise.
2399 * posix/fnmatch_loop.c: Likewise.
2400 * posix/regcomp.c: Likewise.
2401 * posix/regexec.c: Likewise.
2402 * posix/tst-rfc3484-2.c: Likewise.
2403 * posix/tst-rfc3484-3.c: Likewise.
2404 * posix/tst-rfc3484.c: Likewise.
2405 * resolv/nss_dns/dns-canon.c: Likewise.
2406 * resolv/nss_dns/dns-network.c: Likewise.
2407 * resolv/res_init.c: Likewise.
2408 * resolv/res_mkquery.c: Likewise.
2409 * resolv/tst-aton.c: Likewise.
2410 * stdlib/cxa_atexit.c: Likewise.
2411 * stdlib/cxa_finalize.c: Likewise.
2412 * stdlib/gen-fpioconst.c: Likewise.
2413 * stdlib/strtol_l.c: Likewise.
2414 * string/tst-endian.c: Likewise.
2415 * sunrpc/auth_des.c: Likewise.
2416 * sunrpc/clnt_udp.c: Likewise.
2417 * sunrpc/rtime.c: Likewise.
2418 * sunrpc/svcauth_des.c: Likewise.
2419 * sunrpc/xdr.c: Likewise.
2420 * sunrpc/xdr_intXX_t.c: Likewise.
2421 * sunrpc/xdr_rec.c: Likewise.
2422 * sysdeps/generic/ldconfig.h: Likewise.
2423 * sysdeps/generic/ldsodefs.h: Likewise.
2424 * sysdeps/generic/memusage.h: Likewise.
2425 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
2426 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
2427 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
2428 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
2429 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
2430 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
2431 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
2432 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
2433 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
2434 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2435 * sysdeps/posix/getaddrinfo.c: Likewise.
2436 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
2437 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2438 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
2439 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
2440 * sysdeps/powerpc/test-gettimebase.c: Likewise.
2441 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2442 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
2443 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
2444 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
2445 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
2446 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
2447 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
2448 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
2449 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
2450 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
2451 * sysdeps/x86_64/dl-tls.h: Likewise.
2452 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
2453 * time/alt_digit.c: Likewise.
2454 * time/era.c: Likewise.
2455 * wcsmbs/tst-c16c32-1.c: Likewise.
2456
8c75f674
JM
24572013-05-16 Joseph Myers <joseph@codesourcery.com>
2458
2459 * math/libm-test.inc (struct test_sincos_data): New type.
2460 (RUN_TEST_LOOP_sincos): New macro.
2461 (sincos_test_data): New variable.
2462 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
2463
e6e49e59
RH
24642013-05-16 Richard Henderson <rth@redhat.com>
2465
2466 * math/atest-exp2.c (LIMB64): New macro.
2467 (CONSTSZ): New macro.
2468 (mp_exp1, mp_exp_m1, mp_log2): New variables.
2469 (hexdig): Move ...
2470 (print_mpn_fp): ... to function scope.
2471 (read_mpn_hex): Remove.
2472 (get_log2): Remove.
2473 (exp2_mpn): Use mp_log2.
2474 (main): Use mp_exp1.
2475
15c7c18d
JM
24762013-05-16 Joseph Myers <joseph@codesourcery.com>
2477
105a07df
JM
2478 * math/libm-test.inc: Remove comment about not testing "inexact"
2479 exceptions.
2480 (INEXACT_EXCEPTION): New macro.
2481 (NO_INEXACT_EXCEPTION): Likewise.
2482 (INVALID_EXCEPTION_OK): Update value.
2483 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2484 (OVERFLOW_EXCEPTION_OK): Likewise.
2485 (UNDERFLOW_EXCEPTION_OK): Likewise.
2486 (IGNORE_ZERO_INF_SIGN): Likewise.
2487 (ERRNO_UNCHANGED): Likewise.
2488 (ERRNO_EDOM): Likewise.
2489 (ERRNO_ERANGE): Likewise.
2490 (test_exceptions): Handle testing "inexact" exceptions.
2491 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
2492 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
2493 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
2494 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
2495 INEXACT_EXCEPTION.
2496 (rint_towardzero_test_data): Likewise.
2497 (rint_downward_test_data): Likewise.
2498 (rint_upward_test_data): Likewise.
2499
e9eee333
JM
2500 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
2501 with OVERFLOW_EXCEPTION.
2502 (exp10_test_data): Likewise.
2503 (exp2_test_data): Likewise.
2504 (expm1_test_data): Likewise.
2505 (lgamma_test_data): Likewise.
2506 (pow_test_data): Likewise.
2507 (tgamma_test_data): Likewise.
2508 (yn_test_data): Remove duplicate test of overflow.
2509
1c38ff73
JM
2510 * math/libm-test.inc (struct test_cc_c_data): New type.
2511 (RUN_TEST_LOOP_cc_c): New macro.
2512 (cpow_test_data): New variable.
2513 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
2514
15c7c18d
JM
2515 * math/libm-test.inc (struct test_f_L_data): New type.
2516 (RUN_TEST_LOOP_f_L): New macro.
2517 (llrint_test_data): New variable.
2518 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
2519 (llrint_tonearest_test_data): New variable.
2520 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
2521 (llrint_towardzero_test_data): New variable.
2522 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
2523 (llrint_downward_test_data): New variable.
2524 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
2525 (llrint_upward_test_data): New variable.
2526 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
2527 (llround_test_data): New variable.
2528 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
2529
f137ff13
PC
25302013-05-13 Peter Collingbourne <pcc@google.com>
2531
2532 * math/atest-exp2.c (get_log2): Remove const attribute.
2533
3608cb24
JM
25342013-05-15 Joseph Myers <joseph@codesourcery.com>
2535
2536 * math/libm-test.inc (struct test_f_l_data): New type.
2537 (RUN_TEST_LOOP_f_l): New macro.
2538 (lrint_test_data): New variable.
2539 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
2540 (lrint_tonearest_test_data): New variable.
2541 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
2542 (lrint_towardzero_test_data): New variable.
2543 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
2544 (lrint_downward_test_data): New variable.
2545 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
2546 (lrint_upward_test_data): New variable.
2547 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
2548 (lround_test_data): New variable.
2549 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
2550
39b1f617
PC
25512013-05-15 Peter Collingbourne <pcc@google.com>
2552
1deff3dc
PC
2553 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
2554 (EXTRACT_WORDS64) Use where appropriate.
2555 (INSERT_WORDS64) Likewise.
2556
791f3ba0
PC
2557 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
2558 constraints with x constraints.
2559 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
2560
39b1f617
PC
2561 * malloc/obstack.c (_obstack_compat): Add initializer.
2562
12fba011
EM
25632013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
2564
2565 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
2566 si_trapno and add si_addr_lsb to _sifields.sigfault.
2567 (si_trapno): Remove macro.
2568 (si_addr_lsb): Define new macro.
2569 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
2570
d369f531
JM
25712013-05-15 Joseph Myers <joseph@codesourcery.com>
2572
b861c6c4
JM
2573 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
2574 instead of TEST_f_l.
2575 (llrint_test_tonearest): Likewise.
2576 (llrint_test_towardzero): Likewise.
2577 (llrint_test_downward): Likewise.
2578 (llrint_test_upward): Likewise.
2579 (llround_test): Likewise.
2580
7abeee12
JM
2581 * math/libm-test.inc (struct test_f_i_data): Add comment.
2582 (RUN_TEST_LOOP_f_b): New macro.
2583 (RUN_TEST_LOOP_f_b_tg): Likewise.
2584 (finite_test_data): New variable.
2585 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
2586 (isfinite_test_data): New variable.
2587 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2588 (isinf_test_data): New variable.
2589 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2590 (isnan_test_data): New variable.
2591 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2592 (isnormal_test_data): New variable.
2593 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2594 (issignaling_test_data): New variable.
2595 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2596 (signbit_test_data): New variable.
2597 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2598
cbe8c4d3
JM
2599 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
2600 with INVALID_EXCEPTION.
2601 (acosh_test_data): Likewise.
2602 (asin_test_data): Likewise.
2603 (atanh_test_data): Likewise.
2604 (fmod_test_data): Likewise.
2605 (log_test_data): Likewise.
2606 (log10_test_data): Likewise.
2607 (log2_test_data): Likewise.
2608 (pow_test_data): Likewise.
2609 (sqrt_test_data): Likewise.
2610 (y0_test_data): Likewise.
2611 (y1_test_data): Likewise.
2612 (yn_test_data): Likewise.
2613
5575c0e5
JM
2614 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
2615 function contents.
2616
d369f531
JM
2617 * math/libm-test.inc (struct test_ff_i_data): New type.
2618 (RUN_TEST_LOOP_ff_i_tg): New macro.
2619 (isgreater_test_data): New variable.
2620 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2621 (isgreaterequal_test_data): New variable.
2622 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2623 (isless_test_data): New variable.
2624 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2625 (islessequal_test_data): New variable.
2626 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2627 (islessgreater_test_data): New variable.
2628 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2629 (isunordered_test_data): New variable.
2630 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2631
781fd748
DM
26322013-05-14 David S. Miller <davem@davemloft.net>
2633
2634 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2635
87aa21df
JM
26362013-05-14 Joseph Myers <joseph@codesourcery.com>
2637
5e908270
JM
2638 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
2639
f71172e5
JM
2640 * math/libm-test.inc (struct test_fF_f1_data): Change type of
2641 extra_test to int.
2642 (struct test_f_i_data): Change type of max_ulp to int.
2643
8cfa635a
JM
2644 * math/libm-test.inc (test_ffI_f1_data): New type.
2645 (RUN_TEST_LOOP_ffI_f1): New macro.
2646 (remquo_test_data): New variable.
2647 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
2648
2bcb36b2
JM
2649 * setjmp/tst-setjmp-fp.c: New file.
2650 * setjmp/Makefile (tests): Add tst-setjmp-fp.
2651 (link-libm): New variable.
2652 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
2653
acbd839a
JM
2654 * math/libm-test.inc (struct test_f_i_data): New type.
2655 (RUN_TEST_LOOP_f_i): New macro.
2656 (RUN_TEST_LOOP_f_i_tg): Likewise.
2657 (fpclassify_test_data): New variable.
2658 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
2659 (ilogb_test_data): New variable.
2660 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
2661
e414d745
JM
2662 * math/libm-test.inc (scalbln_test): Correct function name in END
2663 call.
2664
d9c2a0fd
JM
2665 * math/libm-test.inc (struct test_f_f1_data): Add comment.
2666 (RUN_TEST_LOOP_fI_f1): New macro.
2667 (frexp_test_data): New variable.
2668 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
2669
9dc9095d
JM
2670 * math/libm-test.inc (struct test_fF_f1_data): New type.
2671 (RUN_TEST_LOOP_fF_f1): New macro.
2672 (modf_test_data): New variable.
2673 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
2674
87aa21df
JM
2675 * math/libm-test.inc (struct test_f_f1_data): New type.
2676 (RUN_TEST_LOOP_f_f1): New macro.
2677 (gamma_test_data): New variable.
2678 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
2679 (lgamma_test_data): New variable.
2680 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
2681
141af660
CD
26822013-05-13 Carlos O'Donell <carlos@redhat.com>
2683
2684 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
2685 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
2686 (main): Comment "tls" pseudo-hwcap.
2687
6d33265c
JM
26882013-05-13 Joseph Myers <joseph@codesourcery.com>
2689
68fc074c
JM
2690 * math/libm-test.inc (struct test_fl_f_data): New type.
2691 (RUN_TEST_LOOP_fl_f): New variable.
2692 (scalbln_test_data): New variable.
2693 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
2694
243216e1
JM
2695 * math/libm-test.inc (struct test_fi_f_data): New type.
2696 (RUN_TEST_LOOP_fi_f): New macro.
2697 (ldexp_test_data): New variable.
2698 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
2699 (scalbn_test_data): New variable.
2700 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
2701
6a1992e2
JM
2702 * math/libm-test.inc (struct test_c_f_data): New type.
2703 (RUN_TEST_LOOP_c_f): New macro.
2704 (cabs_test_data): New variable.
2705 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
2706 (carg_test_data): New variable.
2707 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
2708 (cimag_test_data): New variable.
2709 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
2710 (creal_test_data): New variable.
2711 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
2712
0e400df5
JM
2713 * math/libm-test.inc (struct test_if_f_data): New type.
2714 (RUN_TEST_LOOP_if_f): New macro.
2715 (jn_test_data): New variable.
2716 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
2717 (yn_test_data): New variable.
2718 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
2719
6d33265c
JM
2720 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
2721
f98ece5f
AZ
27222013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2723
2724 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
2725 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
2726
0f7d347b
SP
27272013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2728
43fe811b
SP
2729 * benchtests/Makefile (CPPFLAGS-nonlib): Add
2730 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
2731 (bench-deps): Add bench-timing.h.
2732 * benchtests-bench-skeleton.c: Include bench-timing.h.
2733 (main): Use TIMING_* macros instead of clock_gettime.
2734 * benchtests/bench-timing.h: New file.
2735
0f7d347b
SP
2736 [BZ #14582]
2737 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
2738 Renamed from _LIB_VERSION.
2739 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
2740
601a3a5f
JM
27412013-05-12 Joseph Myers <joseph@codesourcery.com>
2742
4f184d30
JM
2743 * math/libm-test.inc (struct test_fff_f_data): New type.
2744 (RUN_TEST_LOOP_fff_f): New macro.
2745 (fma_test_data): New variable.
2746 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
2747 (fma_towardzero_test_data): New variable.
2748 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
2749 (fma_downward_test_data): New variable.
2750 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
2751 (fma_upward_test_data): New variable.
2752 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
2753
08198877
JM
2754 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
2755 (struct test_c_c_data): New type.
2756 (RUN_TEST_LOOP_c_c): New macro.
2757 (cacos_test_data): New variable.
2758 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
2759 (cacosh_test_data): New variable.
2760 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
2761 (casin_test_data): New variable.
2762 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
2763 (casinh_test_data): New variable.
2764 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
2765 (catan_test_data): New variable.
2766 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
2767 (catanh_test_data): New variable.
2768 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
2769 (ccos_test_data): New variable.
2770 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
2771 (ccosh_test_data): New variable.
2772 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
2773 (cexp_test_data): New variable.
2774 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
2775 (clog_test_data): New variable.
2776 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
2777 (clog10_test_data): New variable.
2778 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
2779 (conj_test_data): New variable.
2780 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
2781 (cproj_test_data): New variable.
2782 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
2783 (csin_test_data): New variable.
2784 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
2785 (csinh_test_data): New variable.
2786 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
2787 (csqrt_test_data): New variable.
2788 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
2789 (ctan_test_data): New variable.
2790 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
2791 (ctan_tonearest_test_data): New variable.
2792 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
2793 (ctan_towardzero_test_data): New variable.
2794 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
2795 (ctan_downward_test_data): New variable.
2796 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
2797 (ctan_upward_test_data): New variable.
2798 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
2799 (ctanh_test_data): New variable.
2800 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
2801 (ctanh_tonearest_test_data): New variable.
2802 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
2803 (ctanh_towardzero_test_data): New variable.
2804 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
2805 (ctanh_downward_test_data): New variable.
2806 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
2807 (ctanh_upward_test_data): New variable.
2808 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
2809 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
2810 of BUILD_COMPLEX.
2811
601a3a5f
JM
2812 * math/libm-test.inc (struct test_ff_f_data): New type.
2813 (struct test_ff_f_data_nexttoward): Likewise.
2814 (RUN_TEST_LOOP_2_f): New macro.
2815 (RUN_TEST_LOOP_ff_f): Likewise.
2816 (atan2_test_data): New variable.
2817 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
2818 (copysign_test_data): New variable.
2819 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
2820 (fdim_test_data): New variable.
2821 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
2822 (fmax_test_data): New variable.
2823 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
2824 (fmin_test_data): New variable.
2825 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
2826 (fmod_test_data): New variable.
2827 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
2828 (hypot_test_data): New variable.
2829 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
2830 (nextafter_test_data): New variable.
2831 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
2832 (nexttoward_test_data): New variable.
2833 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
2834 (pow_test_data): New variable.
2835 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
2836 (pow_tonearest_test_data): New variable.
2837 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
2838 (pow_towardzero_test_data): New variable.
2839 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
2840 (pow_downward_test_data): New variable.
2841 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
2842 (pow_upward_test_data): New variable.
2843 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
2844 (remainder_test_data): New variable.
2845 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
2846 (scalb_test_data): New variable.
2847 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
2848 * sysdeps/i386/fpu/libm-test-ulps: Update.
2849
74c57478
JM
28502013-05-11 Joseph Myers <joseph@codesourcery.com>
2851
8329e4da
JM
2852 * math/libm-test.inc (fma_test): Use max_value instead of local
2853 variable fltmax.
2854 (nextafter_test): Likewise.
2855
74c57478
JM
2856 * math/libm-test.inc (acos_towardzero_test_data): New variable.
2857 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2858 (acos_downward_test_data): New variable.
2859 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2860 (acos_upward_test_data): New variable.
2861 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2862 (acosh_test_data): New variable.
2863 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
2864 (asin_test_data): New variable.
2865 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
2866 (asin_tonearest_test_data): New variable.
2867 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2868 (asin_towardzero_test_data): New variable.
2869 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2870 (asin_downward_test_data): New variable.
2871 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2872 (asin_upward_test_data): New variable.
2873 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2874 (asinh_test_data): New variable.
2875 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
2876 (atan_test_data): New variable.
2877 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
2878 (atanh_test_data): New variable.
2879 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
2880 (cbrt_test_data): New variable.
2881 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
2882 (ceil_test_data): New variable.
2883 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
2884 (cos_test_data): New variable.
2885 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
2886 (cos_tonearest_test_data): New variable.
2887 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2888 (cos_towardzero_test_data): New variable.
2889 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2890 (cos_downward_test_data): New variable.
2891 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2892 (cos_upward_test_data): New variable.
2893 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2894 (cosh_test_data): New variable.
2895 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
2896 (cosh_tonearest_test_data): New variable.
2897 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2898 (cosh_towardzero_test_data): New variable.
2899 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2900 (cosh_downward_test_data): New variable.
2901 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2902 (cosh_upward_test_data): New variable.
2903 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2904 (erf_test_data): New variable.
2905 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
2906 (erfc_test_data): New variable.
2907 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
2908 (exp_test_data): New variable.
2909 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
2910 (exp_tonearest_test_data): New variable.
2911 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2912 (exp_towardzero_test_data): New variable.
2913 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2914 (exp_downward_test_data): New variable.
2915 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2916 (exp_upward_test_data): New variable.
2917 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2918 (exp10_test_data): New variable.
2919 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
2920 (exp2_test_data): New variable.
2921 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
2922 (expm1_test_data): New variable.
2923 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
2924 (fabs_test_data): New variable.
2925 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
2926 (floor_test_data): New variable.
2927 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
2928 (j0_test_data): New variable.
2929 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
2930 (j1_test_data): New variable.
2931 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
2932 (log_test_data): New variable.
2933 (log_test): Run tests with RUN_TEST_LOOP_f_f.
2934 (log10_test_data): New variable.
2935 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
2936 (log1p_test_data): New variable.
2937 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
2938 (log2_test_data): New variable.
2939 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
2940 (logb_test_data): New variable.
2941 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
2942 (logb_downward_test_data): New variable.
2943 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2944 (nearbyint_test_data): New variable.
2945 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
2946 (rint_test_data): New variable.
2947 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
2948 (rint_tonearest_test_data): New variable.
2949 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2950 (rint_towardzero_test_data): New variable.
2951 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2952 (rint_downward_test_data): New variable.
2953 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2954 (rint_upward_test_data): New variable.
2955 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2956 (round_test_data): New variable.
2957 (round_test): Run tests with RUN_TEST_LOOP_f_f.
2958 (sin_test_data): New variable.
2959 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
2960 (sin_tonearest_test_data): New variable.
2961 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2962 (sin_towardzero_test_data): New variable.
2963 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2964 (sin_downward_test_data): New variable.
2965 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2966 (sin_upward_test_data): New variable.
2967 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2968 (sinh_test_data): New variable.
2969 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
2970 (sinh_tonearest_test_data): New variable.
2971 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2972 (sinh_towardzero_test_data): New variable.
2973 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2974 (sinh_downward_test_data): New variable.
2975 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2976 (sinh_upward_test_data): New variable.
2977 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2978 (sqrt_test_data): New variable.
2979 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
2980 (tan_test_data): New variable.
2981 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
2982 (tan_tonearest_test_data): New variable.
2983 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2984 (tan_towardzero_test_data): New variable.
2985 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2986 (tan_downward_test_data): New variable.
2987 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2988 (tan_upward_test_data): New variable.
2989 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2990 (tanh_test_data): New variable.
2991 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
2992 (tgamma_test_data): New variable.
2993 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
2994 (trunc_test_data): New variable.
2995 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
2996 (y0_test_data): New variable.
2997 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
2998 (y1_test_data): New variable.
2999 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
3000 (significand_test_data): New variable.
3001 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
3002
7187d844
CG
30032013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
3004
3005 [BZ #12387]
3006 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
3007
f63fae73
PT
30082013-05-10 Pino Toscano <toscano.pino@tiscali.it>
3009
3010 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
3011
8a67a4b3
AJ
30122013-05-10 Andreas Jaeger <aj@suse.de>
3013
3014 [BZ #15448]
3015 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
3016 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
3017
51df539d
JM
30182013-05-10 Joseph Myers <joseph@codesourcery.com>
3019
3020 * math/gen-libm-test.pl (adjust_arg): New function.
3021 (special_functions): Handle generating output in both functions
3022 and arrays.
3023 (parse_args): Likewise.
3024 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
3025 $in_func argument to parse_args.
3026 * math/libm-test.inc (struct test_f_f_data): New type.
3027 (IF_ROUND_INIT_): New macro.
3028 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
3029 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
3030 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
3031 (IF_ROUND_INIT_FE_UPWARD): Likewise.
3032 (ROUND_RESTORE_): Likewise.
3033 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
3034 (ROUND_RESTORE_FE_TONEAREST): Likewise.
3035 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
3036 (ROUND_RESTORE_FE_UPWARD): Likewise.
3037 (RUN_TEST_LOOP_f_f): New macro.
3038 (acos_test_data): New variable.
3039 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
3040 (acos_tonearest_test_data): New variable.
3041 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3042
5c637fe5
SP
30432013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3044
3045 * benchtests/bench-skeleton.c (startup): Fix coding style.
3046
ab2b9461
JM
30472013-05-10 Joseph Myers <joseph@codesourcery.com>
3048
3049 [BZ #6809]
3050 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
3051 negative infinity argument.
3052 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
3053 negative infinity argument.
3054 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
3055 negative infinity argument.
3056 * math/libm-test.inc (tgamma_test): Expect errno to be set for
3057 domain errors.
3058
4c0fe6fe
FW
30592013-05-10 Florian Weimer <fweimer@redhat.com>
3060
3061 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
3062 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
3063 * iconv/iconv_prog.c (main): Likewise.
3064 * locale/programs/charmap-dir.c (charmap_readdir)
3065 (fopen_uncompressed): Likewise.
3066 * locale/programs/locfile.c (siblings_uncached)
3067 (write_locale_data): Use lstat64 instead of lstat.
3068 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
3069 stat.
3070
a3375d29
AJ
30712013-05-10 Andreas Jaeger <aj@suse.de>
3072
3073 [BZ #15395]
3074 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
3075 localization.
3076 Include <locale.h>.
3077
36129722
CD
30782013-05-09 Carlos O'Donell <carlos@redhat.com>
3079
3080 * elf/dl-close.c (_dl_close_worker): Add comments.
3081
faa7f811
JM
30822013-05-09 Joseph Myers <joseph@codesourcery.com>
3083
ed41ffef
JM
3084 [BZ #15359]
3085 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
3086 high part of pi/2.
3087 (__ieee754_rem_pio2l): Update comments.
3088
d0213cd0
JM
3089 [BZ #15429]
3090 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
3091 high part of pi/2.
3092 (__ieee754_rem_pio2l): Update comments.
3093
0d3e777a
JM
3094 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
3095 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
3096
24f56066
JM
3097 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
3098 M_PI_4l.
3099
faa7f811
JM
3100 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
3101 (M_PI_34_LOG10El): Likewise.
3102 (M_PI2_LOG10El): Likewise.
3103 (M_PI4_LOG10El): Likewise.
3104 (M_PI_LOG10El): Likewise.
3105
e9a5e0fd
AZ
31062013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3107
3108 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3109
d8cd06db
JM
31102013-05-08 Joseph Myers <joseph@codesourcery.com>
3111
a0d9f9d7
JM
3112 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
3113 (MINUS_ZERO_INIT): Likewise.
3114 (PLUS_INFTY_INIT): Likewise.
3115 (MINUS_INFTY_INIT): Likewise.
3116 (QNAN_VALUE_INIT): Likewise.
3117 (MAX_VALUE_INIT): Likewise.
3118 (MIN_VALUE_INIT): Likewise.
3119 (MIN_SUBNORM_VALUE_INIT): Likewise.
3120 (plus_zero): Initialize with PLUS_ZERO_INIT.
3121 (minus_zero): Initialize with MINUS_ZERO_INIT.
3122 (plus_infty): Initialize with PLUS_INFTY_INIT.
3123 (minus_infty): Initialize with MINUS_INFTY_INIT.
3124 (qnan_value): Initialize with QNAN_VALUE_INIT.
3125 (max_value): Initialize with MAX_VALUE_INIT.
3126 (min_value): Initialize with MIN_VALUE_INIT.
3127 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
3128
ae08db3b
JM
3129 * math/libm-test.inc (RUN_TEST_if_f): New macro.
3130 (jn_test): Use TEST_if_f instead of TEST_ff_f.
3131 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
3132 (yn_test): Use TEST_if_f instead of TEST_ff_f.
3133
f44bf14a
JM
3134 * math/libm-test.inc (RUN_TEST_f_f): New macro.
3135 (RUN_TEST_2_f): Likewise.
3136 (RUN_TEST_ff_f): Likewise.
3137 (RUN_TEST_fi_f): Likewise.
3138 (RUN_TEST_fl_f): Likewise.
3139 (RUN_TEST_fff_f): Likewise.
3140 (RUN_TEST_c_f): Likewise.
3141 (RUN_TEST_f_f1): Likewise.
3142 (RUN_TEST_fF_f1): Likewise.
3143 (RUN_TEST_fI_f1): Likewise.
3144 (RUN_TEST_ffI_f1): Likewise.
3145 (RUN_TEST_c_c): Likewise.
3146 (RUN_TEST_cc_c): Likewise.
3147 (RUN_TEST_f_i): Likewise.
3148 (RUN_TEST_f_i_tg): Likewise.
3149 (RUN_TEST_ff_i_tg): Likewise.
3150 (RUN_TEST_f_b): Likewise.
3151 (RUN_TEST_f_b_tg): Likewise.
3152 (RUN_TEST_f_l): Likewise.
3153 (RUN_TEST_f_L): Likewise.
3154 (RUN_TEST_sincos): Likewise.
3155 * math/gen-libm-test.pl (new_test): Take new argument to indicate
3156 whether to show exceptions. Do not include ");\n" in return
3157 value.
3158 (special_functions): Output call to RUN_TEST_sincos instead of
3159 check_float calls. Update calls to new_test.
3160 (parse_args): Output call to single RUN_TEST_* macro instead of
3161 check_* calls and other assignments. Update calls to new_test.
3162
d8cd06db
JM
3163 [BZ #2546]
3164 [BZ #2560]
3165 [BZ #5159]
3166 [BZ #15426]
3167 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
3168 input to result for tgamma overflow.
3169 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
3170 (gamma_coeff): New variable.
3171 (NCOEFF): New macro.
3172 (gamma_positive): New function.
3173 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
3174 underflow here. Use gamma_positive instead of exp (lgamma) for
3175 other arguments.
3176 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
3177 (gamma_coeff): New variable.
3178 (NCOEFF): New macro.
3179 (gammaf_positive): New function.
3180 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
3181 underflow here. Use gamma_positive instead of exp (lgamma) for
3182 other arguments.
3183 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
3184 (gamma_coeff): New variable.
3185 (NCOEFF): New macro.
3186 (gammal_positive): New function.
3187 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
3188 underflow here. Use gamma_positive instead of exp (lgamma) for
3189 other arguments.
3190 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
3191 (gamma_coeff): New variable.
3192 (NCOEFF): New macro.
3193 (gammal_positive): New function.
3194 (__ieee754_gammal_r): Handle positive infinity, overflow and
3195 underflow here. Handle NaN the same as positive infinity. Remove
3196 check x < 0xffffffff for negative integers. Use gamma_positive
3197 instead of exp (lgamma) for other arguments.
3198 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
3199 (gamma_coeff): New variable.
3200 (NCOEFF): New macro.
3201 (gammal_positive): New function.
3202 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
3203 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
3204 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
3205 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
3206 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
3207 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
3208 * sysdeps/generic/math_private.h (__gamma_productf): New
3209 prototype.
3210 (__gamma_product): Likewise.
3211 (__gamma_productl): Likewise.
3212 * math/Makefile (libm-calls): Add gamma_product.
3213 * math/libm-test.inc (tgamma_test): Add more tests.
3214 * sysdeps/i386/fpu/libm-test-ulps: Update.
3215 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3216
bb7cf681
OB
32172013-05-08 Ondřej Bílka <neleai@seznam.cz>
3218
3219 * benchtests/bench-skeleton.c (main): Preheat CPU.
3220
ba853947
AJ
32212013-05-07 Aurelien Jarno <aurelien@aurel32.net>
3222
3223 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
3224
8347c74c
RM
32252013-05-07 Roland McGrath <roland@hack.frob.com>
3226
3227 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
3228 and _dl_skip_args_internal.
3229
e8dd4791
CD
32302013-05-07 Carlos O'Donell <carlos@redhat.com>
3231
3232 * manual/message.texi (Message Translation): Talk about users.
3233 Message to key mapping impacts design.
3234
c7405830
RM
32352013-05-06 Roland McGrath <roland@hack.frob.com>
3236
a9173057
RM
3237 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
3238
976e2f03
RM
3239 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
3240
9723ffc5
RM
3241 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
3242 * sysdeps/wordsize-64/glob64.c: ... here.
3243
962e6658
RM
3244 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
3245 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
3246 New macros.
3247
ee586a6d
RM
3248 * debug/getlogin_r_chk.c: Moved to ...
3249 * login/getlogin_r_chk.c: ... here.
3250 * debug/Makefile (routines): Move getlogin_r_chk to ...
3251 * login/Makefile (routines): ... here.
3252 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
3253 * login/Versions (libc: GLIBC_2.4): ... here.
3254
355f9165
RM
3255 * io/poll.c (__poll): Renamed from poll.
3256 Add libc_hidden_def.
3257 (poll): Define as weak alias.
3258
bd9ffde6
RM
3259 * debug/ptsname_r_chk.c: Moved to ...
3260 * login/ptsname_r_chk.c: ... here.
3261 * debug/Makefile (routines): Move ptsname_r_chk to ...
3262 * login/Makefile (routines): ... here.
3263 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
3264 * login/Versions (libc: GLIBC_2.4): ... here.
3265
8fb16a04
RM
3266 * posix/getlogin.c: Moved to ...
3267 * login/getlogin.c: ... here.
3268 * posix/getlogin_r.c: Moved to ...
3269 * login/getlogin_r.c: ... here.
3270 * posix/getlogin_r.c: Moved to ...
3271 * login/getlogin_r.c: ... here.
3272 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
3273 * login/Makefile (routines): ... here.
3274 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
3275 * login/Versions (libc: GLIBC_2.0): ... here.
3276
b99b892f
RM
3277 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
3278 (setrlimit): Define as weak alias.
3279
c7405830
RM
3280 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
3281 Call __ names for open, ftruncate, and close.
3282 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
3283 (truncate): Define as weak alias.
3284
5bf96de5
JM
32852013-05-06 Joseph Myers <joseph@codesourcery.com>
3286
9ea3513c
JM
3287 * math/gen-libm-test.pl (parse_args): Initialize x before each
3288 test of frexp, modf and remquo.
3289
5bf96de5
JM
3290 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
3291 test signgam value.
3292
16e616a7
AZ
32932013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3294
3295 [BZ #15418]
3296 [BZ #15419]
3297 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
3298 internal tests.
3299 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3300
d5e82754
RM
33012013-05-06 Roland McGrath <roland@hack.frob.com>
3302
3303 * elf/dl-writev.h: New file.
3304 * elf/dl-misc.c: Include it.
3305 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
3306 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
3307
a7548d41
JM
33082013-05-04 Joseph Myers <joseph@codesourcery.com>
3309
b7dab1e4
JM
3310 * math/libm-test.inc (noXFails): Remove variable.
3311 (noXPasses): Likewise.
3312 (BUILD_COMPLEX_INT): Remove macro.
3313 (print_screen): Remove xfail argument.
3314 (print_screen_max_error): Likewise.
3315 (update_stats): Likewise.
3316 (print_max_error): Likewise. Update calls to other affected
3317 functions.
3318 (print_complex_max_error): Likewise.
3319 (test_single_exception): Update calls to print_screen.
3320 (test_single_errno): Likewise.
3321 (check_float_internal): Remove xfail argument. Update calls to
3322 other affected functions.
3323 (check_float): Likewise.
3324 (check_complex): Likewise.
3325 (check_int): Likewise.
3326 (check_long): Likewise.
3327 (check_bool): Likewise.
3328 (check_longlong): Likewise.
3329 (main): Don't print noXFails and noXPasses.
3330 * math/gen-libm-test.pl (top level): Don't mention expected
3331 failure handling in comment.
3332 (new_test): Don't handle expected failures.
3333 (parse_args): Don't mention expected failure handling in comment.
3334 (generate_testfile): Don't handle expected failures.
3335 (parse_ulps): Likewise.
3336 (print_ulps_file): Likewise.
3337 (get_failure): Remove function.
3338 (output_test): Don't handle expected failures.
3339 * make/README.libm-test: Don't mention expected failure handling.
3340
a7548d41
JM
3341 * math/libm-test.inc (plus_zero): Make const. Add initializer.
3342 (minus_zero): Likewise.
3343 (plus_infty): Likewise.
3344 (minus_infty): Likewise.
3345 (qnan_value): Likewise.
3346 (max_value): Likewise.
3347 (min_value): Likewise.
3348 (min_subnorm_value): Likewise.
3349 (initialize): Do not initialize those variables dynamically.
3350
60bfd54c
RM
33512013-05-03 Roland McGrath <roland@hack.frob.com>
3352
cc0e6ed8
RM
3353 * io/open.c (__open_2): Moved to ...
3354 * io/open_2.c: ... this new file.
3355 * io/open64.c (__open64_2): Moved to ...
3356 * io/open64_2.c: ... this new file.
3357 * io/openat.c (__openat_2): Moved to ...
3358 * io/openat_2.c: ... this new file.
3359 * io/openat64.c (__openat64_2): Moved to ...
3360 * io/openat64_2.c: ... this new file.
3361 * io/Makefile (routines): Add them.
3362 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
3363 * sysdeps/unix/sysv/linux/open_2.c: File removed.
3364 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
3365 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
3366 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
3367 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
3368 (__openat64): Add hidden_ver.
3369 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
3370 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
3371
60bfd54c
RM
3372 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
3373 Separately conditionalize setting of GLRO(dl_sysinfo) so
3374 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
3375 as well, but the actual setting is only under [NEED_DL_SYSINFO].
3376
83e7640f
AZ
33772013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3378
3379 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
3380 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
3381 definition.
3382 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
3383 * sysdeps/unix/sysv/linux/powerpc/init-first.c
3384 (_libc_vdso_platform_setup): Add __vdso_time initialization.
3385 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
3386 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
3387
d5dc2af3
JM
33882013-05-03 Joseph Myers <joseph@codesourcery.com>
3389
c31a5b1e
JM
3390 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
3391 test signgam value.
3392
d5dc2af3
JM
3393 * math/libm-test.inc (hypot_test): Do not use
3394 IGNORE_ZERO_INF_SIGN.
3395
164fd39d
AJ
33962013-05-03 Andreas Jaeger <aj@suse.de>
3397
3398 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
3399 Linux 3.9.
3400 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
3401 (PF_MAX): Adjust for VSOCK change.
3402
8237f48c
AZ
34032013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3404
3405 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3406
9df02941
CD
34072013-05-02 Carlos O'Donell <carlos@redhat.com>
3408
3409 [BZ #15264]
3410 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
3411 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
3412 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
3413
d422395e
DM
34142013-05-02 David S. Miller <davem@davemloft.net>
3415
3416 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3417
a07c5731
OB
34182013-05-01 Ondřej Bílka <neleai@seznam.cz>
3419
3420 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
3421
1324e37f
RM
34222013-05-01 Roland McGrath <roland@hack.frob.com>
3423
3424 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
3425
0695940b
RS
34262013-05-01 Richard Smith <richard@metafoo.co.uk>
3427
bb5f27ad 3428 [BZ #14952]
0695940b
RS
3429 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
3430 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
3431 Use __attribute__ ((__gnu_inline__)).
3432 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
3433 Don't use __attribute__ ((__gnu_inline__)).
3434
10de07f5
JM
34352013-05-01 Joseph Myers <joseph@codesourcery.com>
3436
3437 [BZ #15423]
3438 * math/s_catan.c (__catan): Handle small real or imaginary part of
3439 input specially to avoid spurious underflow.
3440 * math/s_catanf.c (__catanf): Likewise.
3441 * math/s_catanh.c (__catanh): Likewise.
3442 * math/s_catanhf.c (__catanhf): Likewise.
3443 * math/s_catanhl.c (__catanhl): Likewise.
3444 * math/s_catanl.c (__catanl): Likewise.
3445 * math/libm-test.inc (catan_test): Add more tests.
3446 (catanh_test): Likewise.
3447 * sysdeps/i386/fpu/libm-test-ulps: Update.
3448 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3449
cb4d5414
AZ
34502013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3451
3452 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3453
caf84319
JM
34542013-04-30 Joseph Myers <joseph@codesourcery.com>
3455
3456 [BZ #15416]
3457 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
3458 accurately for denominator in atan2.
3459 * math/s_catanf.c (__catanf): Likewise.
3460 * math/s_catanh.c (__catanh): Likewise.
3461 * math/s_catanhf.c (__catanhf): Likewise.
3462 * math/s_catanhl.c (__catanhl): Likewise.
3463 * math/s_catanl.c (__catanl): Likewise.
3464 * math/libm-test.inc (catan_test): Add more tests.
3465 (catanh_test): Likewise.
3466 * sysdeps/i386/fpu/libm-test-ulps: Update.
3467 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3468
d569c6ee
SP
34692013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3470
6dbe713d
SP
3471 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
3472
f0ee064b
SP
3473 * benchtests/Makefile (bench): Remove slow benchmarks.
3474 * benchtests/atan-inputs: Add slow benchmark inputs.
3475 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
3476 (BENCH_FUNC): Accept variant offset.
3477 (VARIANT): Define.
3478 * benchtests/bench-skeleton.c (main): Run benchmark for each
3479 variant.
3480 * benchtests/cos-inputs: Add slow benchmark inputs.
3481 * benchtests/exp-inputs: Likewise.
3482 * benchtests/pow-inputs: Likewise.
3483 * benchtests/sin-inputs: Likewise.
3484 * benchtests/slowatan-inputs: Remove.
3485 * benchtests/slowatan.c: Remove.
3486 * benchtests/slowcos-inputs: Remove.
3487 * benchtests/slowcos.c: Remove.
3488 * benchtests/slowexp-inputs: Remove.
3489 * benchtests/slowexp.c: Remove.
3490 * benchtests/slowpow-inputs: Remove.
3491 * benchtests/slowpow.c: Remove.
3492 * benchtests/slowsin-inputs: Remove.
3493 * benchtests/slowsin.c: Remove.
3494 * benchtests/slowtan-inputs: Remove.
3495 * benchtests/slowtan.c: Remove.
3496 * benchtests/tan-inputs: Add slow benchmark inputs.
3497 * scripts/bench.pl: Parse comments and directives.
3498
d569c6ee
SP
3499 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
3500 in CPPFLAGS.
3501 ($(objpfx)bench-%.c): Remove *-ITER.
3502 * benchtests/bench-modf.c: Remove definition of ITER.
3503 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
3504 (main): Loop for DURATION seconds instead of fixed number of
3505 iterations.
3506 * scripts/bench.pl: Don't expect iterations in parameters.
3507
a6a242fe
RM
35082013-04-29 Roland McGrath <roland@hack.frob.com>
3509
3510 * io/fchdir.c (__fchdir): Renamed from fchdir.
3511 (fchdir): Define as weak alias.
3512
f2da7793
JM
35132013-04-29 Joseph Myers <joseph@codesourcery.com>
3514
3515 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
3516 (ERRNO_EDOM): Likewise.
3517 (ERRNO_ERANGE): Likewise.
3518 (noErrnoTests): New variable.
3519 (init_max_error): Set errno to 0.
3520 (test_single_errno): New function.
3521 (test_errno): Likewise.
3522 (check_float_internal): Call test_errno. Set errno to 0.
3523 (check_complex): Refer to errno tests in comment.
3524 (check_int): Call test_errno. Set errno to 0.
3525 (check_long): Likewise.
3526 (check_bool): Likewise.
3527 (check_longlong): Likewise.
3528 (cos_test): Use ERRNO_* flags for errno tests instead of
3529 check_int.
3530 (expm1_test): Likewise.
3531 (fmod_test): Likewise.
3532 (ilogb_test): Likewise.
3533 (lgamma_test): Likewise.
3534 (pow_test): Likewise.
3535 (remainder_test): Likewise.
3536 (sin_test): Likewise.
3537 (tan_test): Likewise.
3538 (yn_test): Likewise.
3539 (initialize): Set errno to 0.
3540 (main): Print number of errno tests.
3541 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
3542
b1a36ceb
AJ
35432013-04-29 Andreas Jaeger <aj@suse.de>
3544
c3ed8088
AJ
3545 [BZ #15084]
3546 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
3547 and RES_USEVC.
3548
f1a24198
AJ
3549 [BZ #15085]
3550 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
3551 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
3552 unimplemented.
3553
9ce3b2cb
AJ
3554 [BZ #15380]
3555 * stdlib/random.c (__initstate): Return NULL if
3556 __initstate fails.
3557
f1a24198 3558 [BZ #15086]
b1a36ceb
AJ
3559 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
3560 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
3561 RES_SNGLKUPREOP.
3562
7e7b6f36
AZ
35632013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3564
3565 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3566
4d14f449
JM
35672013-04-29 Joseph Myers <joseph@codesourcery.com>
3568
3569 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
3570 of individual tests.
3571 (casin_test): Likewise.
3572 (casinh_test): Likewise.
3573
5b4217d7
JM
35742013-04-27 Joseph Myers <joseph@codesourcery.com>
3575
3576 [BZ #15409]
3577 * math/s_catan.c (__catan): Handle arguments with large real or
3578 imaginary part separately without squaring.
3579 * math/s_catanf.c (__catanf): Likewise.
3580 * math/s_catanh.c (__catanh): Likewise.
3581 * math/s_catanhf.c (__catanhf): Likewise.
3582 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3583 and redefine.
3584 (__catanhl): Handle arguments with large real or imaginary part
3585 separately without squaring.
3586 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3587 and redefine.
3588 (__catanl): Handle arguments with large real or imaginary part
3589 separately without squaring.
3590 * math/libm-test.inc (catan_test): Add more tests.
3591 (catanh_test): Likewise.
3592 * sysdeps/i386/fpu/libm-test-ulps: Update.
3593 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3594
4220c3ef
AJ
35952013-04-27 Andreas Jaeger <aj@suse.de>
3596
3597 [BZ #15007]
3598 * stdlib/stdlib.h: Update guards for qecvt.
3599 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
3600 <stdlib.h>.
3601
4721b2d1
AM
36022013-04-27 Allan McRae <allan@archlinux.org>
3603
3604 * sysdeps/i386/fpu/libm-test-ulps: Update.
3605
f0302940
JM
36062013-04-26 Joseph Myers <joseph@codesourcery.com>
3607
9457fd95
JM
3608 [BZ #15406]
3609 * math/s_catan.c: Include <float.h>.
3610 (__catan): Ensure underflow exception occurs for underflowed
3611 result.
3612 * math/s_catanf.c: Include <float.h>.
3613 (__catanf): Ensure underflow exception occurs for underflowed
3614 result.
3615 * math/s_catanh.c: Include <float.h>.
3616 (__catanh): Ensure underflow exception occurs for underflowed
3617 result.
3618 * math/s_catanhf.c: Include <float.h>.
3619 (__catanhf): Ensure underflow exception occurs for underflowed
3620 result.
3621 * math/s_catanhl.c: Include <float.h>.
3622 (__catanhl): Ensure underflow exception occurs for underflowed
3623 result.
3624 * math/s_catanl.c: Include <float.h>.
3625 (__catanl): Ensure underflow exception occurs for underflowed
3626 result.
3627 * math/libm-test.inc (catan_test): Add more tests.
3628 (catanh_test): Likewise.
3629
f0302940
JM
3630 [BZ #15405]
3631 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
3632 underflowed result.
3633 * math/s_ccoshf.c (__ccoshf): Likewise.
3634 * math/s_ccoshl.c (__ccoshl): Likewise.
3635 * math/s_csin.c (__csin): Likewise.
3636 * math/s_csinf.c (__csinf): Likewise.
3637 * math/s_csinh.c (__csinh): Likewise.
3638 * math/s_csinhf.c (__csinhf): Likewise.
3639 * math/s_csinhl.c (__csinhl): Likewise.
3640 * math/s_csinl.c (__csinl): Likewise.
3641 * math/libm-test.inc (ccos_test): Add more tests.
3642 (ccosh_test): Likewise.
3643 (csin_test): Likewise.
3644 (csinh_test): Likewise.
3645
aa630f59
AZ
36462013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3647
3648 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
3649 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
3650 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
3651 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
3652 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
3653 powerpc/power5+/fpu folders.
3654 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
3655
3656
1b835983
MT
36572013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
3658
3659 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3660
73709b26
JM
36612013-04-25 Joseph Myers <joseph@codesourcery.com>
3662
3663 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
3664 additions to variable.
3665 [$(config-machine) = x86_64] (modules-names): Likewise.
3666 ($(objpfx)tst-audit3): Remove dependency.
3667 ($(objpfx)tst-audit3.out): Likewise.
3668 ($(objpfx)tst-audit4): Likewise.
3669 ($(objpfx)tst-audit4.out): Likewise.
3670 ($(objpfx)tst-audit5): Likewise.
3671 ($(objpfx)tst-audit5.out): Likewise.
3672 ($(objpfx)tst-audit6): Likewise.
3673 ($(objpfx)tst-audit6.out): Likewise.
3674 ($(objpfx)tst-audit7): Likewise.
3675 ($(objpfx)tst-audit7.out): Likewise.
3676 (tst-audit3-ENV): Remove variable.
3677 (tst-audit4-ENV): Likewise.
3678 (tst-audit5-ENV): Likewise.
3679 (tst-audit6-ENV): Likewise.
3680 (tst-audit7-ENV): Likewise.
3681 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
3682 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
3683 addition to variable.
3684 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
3685 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
3686 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
3687 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
3688 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
3689 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
3690 tst-audit3, tst-audit4 and tst-audit5.
3691 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
3692 tst-audit6 and tst-audit7.
3693 [$(subdir) = elf] (modules-names): Add audit modules for those
3694 tests.
3695 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
3696 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
3697 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
3698 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
3699 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
3700 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
3701 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
3702 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
3703 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
3704 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
3705 [$(subdir) = elf] (tst-audit3-ENV): New variable.
3706 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
3707 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
3708 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
3709 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
3710 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
3711 Likewise.
3712 [$(subdir) = elf && $(config-cflags-avx) = yes]
3713 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
3714 [$(subdir) = elf && $(config-cflags-avx) = yes]
3715 (CFLAGS-tst-auditmod4a.c): Likewise.
3716 [$(subdir) = elf && $(config-cflags-avx) = yes]
3717 (CFLAGS-tst-auditmod4b.c): Likewise.
3718 [$(subdir) = elf && $(config-cflags-avx) = yes]
3719 (CFLAGS-tst-auditmod6b.c): Likewise.
3720 [$(subdir) = elf && $(config-cflags-avx) = yes]
3721 (CFLAGS-tst-auditmod6c.c): Likewise.
3722 [$(subdir) = elf && $(config-cflags-avx) = yes]
3723 (CFLAGS-tst-auditmod7b.c): Likewise.
3724 * elf/tst-audit3.c: Move to ...
3725 * sysdeps/x86_64/tst-audit3.c: ... here.
3726 * elf/tst-audit4.c: Move to ...
3727 * sysdeps/x86_64/tst-audit4.c: ... here.
3728 * elf/tst-audit5.c: Move to ...
3729 * sysdeps/x86_64/tst-audit5.c: ... here.
3730 * elf/tst-audit6.c: Move to ...
3731 * sysdeps/x86_64/tst-audit6.c: ... here.
3732 * elf/tst-audit7.c: Move to ...
3733 * sysdeps/x86_64/tst-audit7.c: ... here.
3734 * elf/tst-auditmod3a.c: Move to ...
3735 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
3736 * elf/tst-auditmod3b.c: Move to ...
3737 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
3738 * elf/tst-auditmod4a.c: Move to ...
3739 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
3740 * elf/tst-auditmod4b.c: Move to ...
3741 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
3742 * elf/tst-auditmod5a.c: Move to ...
3743 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
3744 * elf/tst-auditmod5b.c: Move to ...
3745 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
3746 * elf/tst-auditmod6a.c: Move to ...
3747 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
3748 * elf/tst-auditmod6b.c: Move to ...
3749 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
3750 * elf/tst-auditmod6c.c: Move to ...
3751 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
3752 * elf/tst-auditmod7a.c: Move to ...
3753 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
3754 * elf/tst-auditmod7b.c: Move to ...
3755 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
3756
1ef74943
PP
37572013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
3758
3759 [BZ #15366]
3760 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
3761 define unconditionally.
3762 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
3763 define unconditionally.
3764 (INT8_C, INT16_C, etc.): Likewise.
3765
93fd48c5
MR
37662013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
3767
ae9552cf
MR
3768 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
3769 __ehdr_start with hidden visibility.
3770
93fd48c5
MR
3771 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
3772
418601aa
CD
37732013-04-24 Carlos O'Donell <carlos@redhat.com>
3774
3775 * math/libm-test.inc (cos_test): Use accurate hex constants.
3776 (sincost_test): Likewise.
3777
2f38fbfe
JM
37782013-04-24 Joseph Myers <joseph@codesourcery.com>
3779
5e221800
JM
3780 * math/libm-test.inc (catan_test): Add more tests.
3781 (catanh_test): Likewise.
3782
77f143fd
JM
3783 * math/s_catanf.c (__catanf): Use suffixed floating-point
3784 constants.
3785 * math/s_catanhf.c (__catanhf): Likewise.
3786 * math/s_catanhl.c (__catanhl): Likewise.
3787 * math/s_catanl.c (__catanl): Likewise.
3788
2f38fbfe
JM
3789 [BZ #15394]
3790 * math/s_catan.c (__catan): Calculate imaginary part of result
3791 with log1p not log unless computing log of number close to 0.
3792 * math/s_catanf.c (__catanf): Likewise.
3793 * math/s_catanl.c (__catanl): Likewise.
3794 * math/s_catanh.c (__catanh): Calculate real part of result with
3795 log1p not log unless computing log of number close to 0.
3796 * math/s_catanhf.c (__catanhf): Likewise.
3797 * math/s_catanhl.c (__catanhl): Likewise.
3798 * math/libm-test.inc (catan_test): Add more tests.
3799 (catanh_test): Likewise.
3800 * sysdeps/i386/fpu/libm-test-ulps: Update.
3801 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3802
45d69176
SP
38032013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3804
3805 * benchtests/Makefile: Mention files in which fast and slow
3806 paths of math functions are implemented.
3807
87f51853
RM
38082013-04-23 Roland McGrath <roland@hack.frob.com>
3809
3810 * sysdeps/posix/timespec_get.c: New file.
3811
3c026539
AZ
38122013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3813
3814 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
3815 POWER.
3816 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
3817 for POWER.
3818 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
3819 powerpc/power5/fpu folders.
3820 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
3821 * benchtests/Makefile: Add modf testcase.
3822 * benchtests/bench-modf.c: New file: Benchmark test for mo
3823
ff491d14
SP
38242013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
3825
3826 [BZ #14888]
3827 * time/Makefile (tests): Add tst-strptime-whitespace.
3828 * time/strptime_l.c (get_number): Use ISSPACE.
3829 (__strptime_internal): Likewise.
3830 * time/tst-strptime-whitespace.c: New test case.
3831
7ed3f4e8
AS
38322013-04-23 Andreas Schwab <schwab@linux-m68k.org>
3833
3834 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
3835 member.
3836 (_nss_files_init): Set it here.
3837
5c95f7b6
HC
38382013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
3839
3840 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
3841 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
3842 unsigned.
3843
d34c9158
JBG
38442013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
3845
3846 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
3847
2169712d
SP
38482013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3849
3850 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
3851 size just once.
3852
29c5de99
DM
38532013-04-21 David S. Miller <davem@davemloft.net>
3854
3855 * po/ru.po: Update Russion translation from translation project.
3856
ccdad15d
AC
38572013-04-17 Adam Conrad <adconrad@0c3.net>
3858
3859 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
3860 and setfsgid.
3861
0f122b8d
CD
38622013-04-17 Carlos O'Donell <carlos@redhat.com>
3863
5c5b07da 3864 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 3865 * configure: Regenerate.
5c5b07da 3866 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
3867 Add example to error message.
3868 * sysdeps/i386/configure: Regenerate.
3869
037714dd
SP
38702013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3871
3872 * benchtests/Makefile (bench): Add cos, tan, slowcos and
3873 slowtan.
3874 * benchtests/cos-inputs: New file.
3875 * benchtests/slowcos-inputs: New file.
3876 * benchtests/slowcos.c: New file.
3877 * benchtests/slowtan-inputs: New file.
3878 * benchtests/slowtan.c: New file.
3879 * benchtests/tan-inputs: New file.
3880
e913141d
RM
38812013-04-16 Roland McGrath <roland@hack.frob.com>
3882
3883 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
3884 considered kosher.
3885
a2964074
SP
38862013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3887
4856bcd2
SP
3888 * benchtests/Makefile: Include cppflags-iterator.mk to add
3889 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
3890
a2964074
SP
3891 * Makefile.in (bench-clean): New target.
3892 * benchtests/Makefile (bench-clean): Likewise.
3893
9fbf9aca
DH
38942013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
3895
3896 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
3897
207d1e2a
TS
38982013-04-15 Thomas Schwinge <thomas@codesourcery.com>
3899
3900 * stdio-common/tstdiomisc.c: Fix coding-style violation.
3901
306dfba9
AS
39022013-04-15 Andreas Schwab <schwab@suse.de>
3903
3904 * nscd/grpcache.c (cache_addgr): Properly check for short write.
3905 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3906 * nscd/pwdcache.c (cache_addpw): Likewise.
3907 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
3908 more than recsize.
3909
206a6699
SP
39102013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3911
3912 * benchtests/Makefile (bench): Write all output to
3913 bench-out.tmp together.
3914
0582f6b3
AS
39152013-04-15 Andreas Schwab <schwab@suse.de>
3916
3917 * nscd/nscd.c (main): Don't fork again after closing files.
3918
acb4325f
SP
39192013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3920
5cb26d0a
SP
3921 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
3922
acb4325f
SP
3923 * benchtests/Rules (bench-deps): Collect dependencies into a
3924 single variable. Add Makefile to dependencies.
3925 ($(objpfx)bench-%.c): Depend on bench-deps.
3926
47792506
RM
39272013-04-12 Roland McGrath <roland@hack.frob.com>
3928 Xavier Roche <roche+kml2@exalead.com>
3929
3930 [BZ #15361]
3931 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
3932 just that it's a file descriptor.
3933 * manual/llio.texi (Synchronizing AIO Operations): Update description
3934 for EBADF error from aio_fsync.
3935
8fc1bee5
SP
39362013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3937
3938 * Rules (bench): Move target definition...
3939 * benchtests/Makefile: ... here.
3940
aba5e333
CD
39412013-04-11 Carlos O'Donell <carlos@redhat.com>
3942
3943 * math/libm-test.inc (cos_test): Fix PI/2 test.
3944 (sincos_test): Likewise.
3945 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
3946 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
3947
273cdee8
AS
39482013-04-11 Andreas Schwab <schwab@suse.de>
3949
6ecec3b6
AS
3950 [BZ #13988]
3951 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
3952 accept exponent character only when digits were seen.
3953 * stdio-common/Makefile (tests): Add bug26.
3954 * stdio-common/bug26.c: New file.
3955
273cdee8
AS
3956 [BZ #14293]
3957 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
3958 non-freeable.
3959
8da491f5
SP
39602013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3961
01dc6df9
SP
3962 * Makeconfig (rtld-prefix): Define built linker prefix.
3963 * Rules (run-bench): Use it.
3964 * math/Makefile (run-regen-ulps): Likewise.
3965
8da491f5
SP
3966 * Rules (bench): Remove eval.
3967
abe7f530
SP
39682013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3969 Roland McGrath <roland@hack.frob.com>
3970 Ondrej Bilka <neleai@seznam.cz>
3971
3972 [BZ #15346]
3973 * time/getdate.c: Include ctype.h and alloca.h.
3974 (__getdate_r): Trim leading and trailing spaces of input.
3975 * time/tst-getdate.c (tests): Add tests with leading and
3976 trailing spaces.
3977
61c23e62
RM
39782013-04-08 Roland McGrath <roland@hack.frob.com>
3979
3980 [BZ #14280]
3981 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
3982 when computing value.
3983
7208a313
CD
39842013-04-06 Carlos O'Donell <carlos@redhat.com>
3985
085b2d41
CD
3986 * math/README.libm-test (How can I generate "libm-test-ulps"?):
3987 Use testrun.sh to run libm tests.
3988
7208a313
CD
3989 [BZ #15309]
3990 * elf/dl-open.c (dl_open_worker): memset all of seen array.
3991
872c0acd
MM
39922013-04-06 Marko Myllynen <myllynen@redhat.com>
3993
3994 [BZ #15264]
3995 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
3996
26510bdd
CD
39972013-04-06 Carlos O'Donell <carlos@redhat.com>
3998
3999 * Makefile.in (regen-ulps): New target.
4000 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
4001 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
4002 [ifneq (no,$(PERL)] (regen-ulps): New target.
4003 [ifeq (no,$(PERL)] (regen-ulps): New target.
4004 * math/libm-test.inc (ulps_file_name): Define.
4005 (output_dir): New variable.
4006 (options): Add "output-dir" option.
4007 (parse_opt): Handle 'o' case.
4008 (main): If output_dir is non-NULL use it as a prefix
4009 otherwise use "".
4010 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
4011
a01f19c8
CD
40122013-04-06 Carlos O'Donell <carlos@redhat.com>
4013
4014 [BZ #10060, #10062]
4015 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
4016 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
4017 fail configure if __sync_val_compare_and_swap is not inlined.
4018 * sysdeps/i386/configure: Regenerate.
4019 * configure.in: Build for i686 when configured for i386.
4020 * configure: Regenerate.
4021 * README: Remove i386 reference.
4022
b7a329a5
CD
40232013-04-06 Carlos O'Donell <carlos@redhat.com>
4024
4025 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
4026 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4027
bf0f50df
TS
40282013-04-05 Thomas Schwinge <thomas@codesourcery.com>
4029
ee091edf
TS
4030 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
4031 (lmsnanval): New variables.
4032 (F): Add conversion tests.
4033 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
4034 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
4035
a8b792d6
TS
4036 * stdio-common/tstdiomisc.c (F): Properly collect individual
4037 tests' results.
4038
a1cbf437
TS
4039 [BZ #14686, #15336]
4040 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
4041 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
4042 Instead, use input NaN values or generate a qNaN by arithmetic
4043 operation. Also fix bugs to comply with the standard.
4044 * math/libm-test.inc (remainder_test): Add more tests.
4045
8b43a0c9
TS
4046 [BZ #15335, #15342]
4047 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
4048 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
4049 input NaN values or generate a qNaN by arithmetic operation.
4050
d91da4ce
TS
4051 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
4052 unreachable code.
4053
bf0f50df
TS
4054 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
4055 definitions.
4056
05e166c8
JM
40572013-04-03 Joseph Myers <joseph@codesourcery.com>
4058
4059 [BZ #14478]
4060 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
4061 underflowed result.
4062 * math/s_cexpf.c (__cexpf): Likewise.
4063 * math/s_cexpl.c (__cexpl): Likewise.
4064 * math/libm-test.inc (cexp_test): Add more tests.
4065
1cef1b19
AS
40662013-04-03 Andreas Schwab <schwab@suse.de>
4067
4068 [BZ #15330]
4069 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
4070 order arrays from heap if bigger than alloca cutoff.
4071
74d87055
TS
40722013-04-03 Thomas Schwinge <thomas@codesourcery.com>
4073
4074 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
4075 (SNAN_TESTS_double): Refer to GCC PR56831.
4076 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
4077 GCC PR56828.
4078
d755bba4
SP
40792013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4080
90d5d5bb
SP
4081 * Rules (bench): Move bench.out after the run is complete.
4082
73e0cd5d
SP
4083 * Rules (bench): Echo currently running benchmark.
4084
64aabd4b
SP
4085 * benchtests/Makefile (bench): Add atan and slowatan.
4086 * benchtests/atan-inputs: New file.
4087 * benchtests/slowatan-inputs: New file.
4088 * benchtests/slowatan.c: New file.
4089
c871eccd
SP
4090 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
4091 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
4092 its value.
4093
d755bba4
SP
4094 [BZ #15305]
4095 * sysdeps/unix/sysv/linux/kernel-features.h
4096 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
4097 __ASSUME_XFS_RESTRICTED_CHOWN.
4098 * sysdeps/unix/sysv/linux/pathconf.c
4099 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
4100 Save and restore errno.
4101
52ce4860
JM
41022013-04-02 Joseph Myers <joseph@codesourcery.com>
4103
4104 [BZ #15327]
4105 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
4106 arguments using __kernel_casinh.
4107 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
4108 arguments using __kernel_casinhf.
4109 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
4110 arguments using __kernel_casinhl.
4111 * math/libm-test.inc (cacosh_test): Add more tests.
4112 * sysdeps/i386/fpu/libm-test-ulps: Update.
4113 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4114
81f311c2
SP
41152013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4116
e7906a47
SP
4117 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
4118 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
4119
92e3664b
SP
4120 * bench/Makefile (bench): Add sin and slowsin.
4121 * benchtests/sin-inputs: New file.
4122 * benchtests/slowsin-inputs: New file.
4123 * benchtests/slowsin.c: New file.
4124
81f311c2
SP
4125 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
4126 (bench): Add slowexp and slowpow.
4127 (exp-ITER): Increase iterations.
4128 (pow-ITER): Likewise.
4129 * benchtests/exp-inputs: Change input.
4130 * benchtests/pow-inputs: Likewise.
4131 * benchtests/slowexp-inputs: New file.
4132 * benchtests/slowexp.c: New file.
4133 * benchtests/slowpow-inputs: New file.
4134 * benchtests/slowpow.c: New file.
4135
ab0f1aa9
AZ
41362013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4137
4138 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
4139 instructions.
4140 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
4141 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
4142 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
4143 * benchtests/Makefile: Add rint benchtest.
4144 * benchtests/rint-inputs: Input for rint benchtest.
4145
57267616
TS
41462013-04-02 Thomas Schwinge <thomas@codesourcery.com>
4147
4148 * Versions.def (libm): Add GLIBC_2.18.
4149 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
4150 hidden libm prototypes.
4151 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
4152 * math/Makefile (libm-calls): Add s_issignaling.
4153 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
4154 __issignalingf, __issignalingl. Adjust all libm.abilist files.
4155 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
4156 declaration.
4157 * math/math.h [__USE_GNU] (issignaling): New macro.
4158 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
4159 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
4160 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
4161 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
4162 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
4163 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
4164 * manual/arith.texi (issignaling): New section.
4165 * manual/libm-err-tab.pl (@all_functions): Update comment.
4166 * math/gen-libm-test.pl (parse_args): Apply special handling for
4167 issignaling.
4168 * math/libm-test.inc (print_float, issignaling_test): New
4169 functions.
4170 (check_float_internal): Add issignaling checks.
4171 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
4172 default definition.
4173 * sysdeps/powerpc/math-tests.h: New file.
4174 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
4175 tests.
4176 * math/test-snan.c (TEST_FUNC): Likewise.
4177
6142896d
DM
41782013-03-30 David S. Miller <davem@davemloft.net>
4179
4180 * po/de.po: Update from translation team.
4181
ccc8cadf
JM
41822013-03-30 Joseph Myers <joseph@codesourcery.com>
4183
4184 [BZ #10357]
4185 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4186 imaginary part less than 1.0 and real part less than 0.5
4187 specially.
4188 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4189 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4190 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
4191 (cacos_test): Add more tests.
4192 (casin_test): Likewise.
4193 (casinh_test): Likewise.
4194 * sysdeps/i386/fpu/libm-test-ulps: Update.
4195 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4196
0f6a8d4b
SP
41972013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4198
0d1029de
SP
4199 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
4200 ONE with its value.
4201
c2d94018
SP
4202 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
4203 (__pow_mp): Replace ONE and MONE with their values.
4204 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4205 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
4206 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4207 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
4208 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4209 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4210
27ec37f1
SP
4211 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
4212
a64d7e0e
SP
4213 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
4214 (__pow_mp): Replace ZERO and MZERO with their values.
4215 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
4216 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4217 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4218 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4219 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4220 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
4221 (__sqr): Likewise.
4222
d26dd3eb
SP
4223 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
4224
0f6a8d4b
SP
4225 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
4226
e57b0c61
RM
42272013-03-28 Roland McGrath <roland@hack.frob.com>
4228
4229 * include/stdlib.h [!SHARED] (__call_tls_dtors):
4230 Declare with __attribute__ ((weak)).
4231 * stdlib/exit.c (__libc_atexit) [!SHARED]:
4232 Call __call_tls_dtors only if it's not NULL.
4233
356b3480
RM
42342013-03-28 Roland McGrath <roland@hack.frob.com>
4235
288f7d79
RM
4236 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
4237 didn't do it already, then set _dl_phdr and _dl_phnum based on the
4238 magic __ehdr_start linker symbol if it's defined.
4239 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
4240 them up here if it was already done.
4241
dc0a0263
RM
4242 * elf/dl-support.c (_dl_phdr): Make pointer to const.
4243 (_dl_aux_init): Use const in cast when setting it.
4244 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
4245 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
4246 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
4247
3d3436ae
RM
4248 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
4249 Declare them here.
4250 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
4251 * csu/libc-tls.c: Nor here.
4252 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
4253
356b3480
RM
4254 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
4255 (__libc_message): Never call vsyslog.
4256
b0f1246a
AM
42572013-03-28 Alan Modra <amodra@gmail.com>
4258
4259 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
4260 Define as empty.
4261 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
4262 Likewise.
4263
fbbe2b9a
AZ
42642013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4265
4266 [BZ #15214]
4267 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
4268 underflow.
4269 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4270
1728ab37
SP
42712013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4272
7a86be6e
SP
4273 [BZ #15304]
4274 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
4275 Don't add gid passed as argument.
4276
1728ab37
SP
4277 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
4278
3a7182a1
JM
42792013-03-27 Joseph Myers <joseph@codesourcery.com>
4280
4281 [BZ #15307]
4282 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4283 imaginary part between 1.0 and 1.5 and real part less than 0.5
4284 specially.
4285 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4286 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4287 * math/libm-test.inc (cacos_test): Add more tests.
4288 (casin_test): Likewise.
4289 (casinh_test): Likewise.
4290 * sysdeps/i386/fpu/libm-test-ulps: Update.
4291 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4292
6f2e90e7
SP
42932013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4294
5739f705
SP
4295 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
4296 constants.
4297 (norm): Likewise.
4298 (denorm): Likewise.
4299 (__dbl_mp): Likewise.
4300 (add_magnitudes): Likewise.
4301 (sub_magnitudes): Likewise.
4302 (__add): Likewise.
4303 (__sub): Likewise.
4304 (__mul): Likewise.
4305 (__sqr): Likewise.
4306 (__inv): Likewise.
4307 (__dvd): Likewise.
4308
e375e83d
SP
4309 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
4310 commented code.
4311 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
4312 (__dubcos): Likewise.
4313 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
4314 (__ieee754_acos): Likewise.
4315 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
4316 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
4317 (__exp1): Likewise.
4318 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4319 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
4320 (log1): Likewise.
4321 (my_log2): Likewise.
4322 (checkint): Likewise.
4323 * sysdeps/ieee754/dbl-64/e_remainder.c
4324 (__ieee754_remainder): Likewise.
4325 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4326 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
4327 (bsloww): Likewise.
4328 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4329
6f2e90e7
SP
4330 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
4331 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
4332 MANTISSA_STORE_T to store computations on mantissa. Use
4333 macros for rounding and division.
4334 (denorm): Likewise.
4335 (__dbl_mp): Likewise.
4336 (add_magnitudes): Likewise.
4337 (sub_magnitudes): Likewise.
4338 (__mul): Likewise.
4339 (__sqr): Likewise.
4340 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
4341 powers of two in terms of TWOPOW macro.
4342 (mp_no): Make type of mantissa as MANTISSA_T.
4343 [!RADIXI]: Define RADIXI.
4344 [!TWO52]: Define TWO52.
4345 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
4346
fce14d4e
AZ
43472013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4348
4349 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
4350 llroundl symbol when building for PPC32.
4351
9ad027fb
MW
43522013-03-24 Mark H Weaver <mhw@netris.org>
4353
4354 * manual/arith.texi (Normalization Functions): Fix prototypes for
4355 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
4356
e42a38dd
AZ
43572013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4358
4359 [BZ #13889]
4360 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
4361 high value to check if expl overflow.
4362 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
4363 to check for underflow and overflow.
4364 * math/libm-test.inc: Add exp test.
4365
2e0fb521
DL
43662013-03-21 Dmitry V. Levin <ldv@altlinux.org>
4367
4368 [BZ #11120]
4369 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
4370 with NOT_IN_libc.
4371
b5784d95
AZ
43722013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4373
4374 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
4375 symbol.
4376
5aa4a1a1
TS
43772013-03-21 Thomas Schwinge <thomas@codesourcery.com>
4378
bdef0be7
TS
4379 * math/gen-libm-test.pl (parse_args, special_functions): Properly
4380 wrap blocks consisting of several statements.
4381
5aa4a1a1
TS
4382 * sysdeps/generic/math-tests.h: New file.
4383 * sysdeps/i386/fpu/math-tests.h: Likewise.
4384 * math/test-snan.c: Include it.
4385 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
4386
98c48fe5
JM
43872013-03-21 Joseph Myers <joseph@codesourcery.com>
4388
4389 [BZ #15285]
4390 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
4391 (__ieee754_j0l): Do not improve calculations using cos of twice
4392 input for inputs above LDBL_MAX / 2.0L.
4393 (__ieee754_y0l): Likewise.
4394 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
4395 (__ieee754_j1l): Do not improve calculations using cos of twice
4396 input for inputs above LDBL_MAX / 2.0L.
4397 (__ieee754_y1l): Likewise.
4398 * math/libm-test.inc (j0_test): Add another test.
4399 (j1_test): Likewise.
4400 (y0_test): Likewise.
4401 (y1_test): Likewise.
4402 * sysdeps/i386/fpu/libm-test-ulps: Update.
4403
3775a8bc
SP
44042013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4405
4406 * Rules ($(objpfx)bench-%.c): Include code from a C source
4407 file.
4408
0a1b2ae6
JM
44092013-03-21 Joseph Myers <joseph@codesourcery.com>
4410
4411 [BZ #15287]
4412 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4413 imaginary part 1.0 and real part less than 0.5 specially.
4414 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4415 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4416 * math/libm-test.inc (cacos_test): Add more tests.
4417 (casin_test): Likewise.
4418 (casinh_test): Likewise.
4419 * sysdeps/i386/fpu/libm-test-ulps: Update.
4420 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4421
b33d4ce4
SP
44222013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4423
4424 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
4425 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
4426
bef0b507
JM
44272013-03-20 Joseph Myers <joseph@codesourcery.com>
4428
4429 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
4430 * config.make.in (config-cflags-sse4): Remove variable.
4431 (config-cflags-avx): Likewise.
4432 (config-cflags-sse2avx): Likewise.
4433 (config-cflags-novzeroupper): Likewise.
4434 (config-asflags-i686): Likewise.
4435 (have-mfma4): Likewise.
4436 (have-as-vis3): Likewise.
4437 (MIG): Likewise.
4438 * configure.in (MIG): Do not AC_SUBST.
4439 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
4440 (libc_cv_cc_sse4): Do not AC_SUBST.
4441 (libc_cv_cc_avx): Likewise.
4442 (libc_cv_cc_sse2avx): Likewise.
4443 (libc_cv_cc_novzeroupper): Likewise.
4444 (libc_cv_cc_fma4): Likewise.
4445 (libc_cv_as_i686): Likewise.
4446 (libc_cv_sparc_as_vis3): Likewise.
4447 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
4448 LIBC_CONFIG_VAR.
4449 (config-asflags-i686): Likewise.
4450 (config-cflags-avx): Likewise.
4451 (config-cflags-sse2avx): Likewise.
4452 (have-mfma4): Likewise.
4453 (config-cflags-novzeroupper): Likewise.
4454 * sysdeps/mach/configure.in (MIG): Likewise.
4455 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
4456 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
4457 LIBC_CONFIG_VAR.
4458 (config-cflags-avx): Likewise.
4459 (config-cflags-sse2avx): Likewise.
4460 (have-mfma4): Likewise.
4461 (config-cflags-novzeroupper): Likewise.
4462 * configure: Regenerated.
4463 * sysdeps/i386/configure: Likewise.
4464 * sysdeps/mach/configure: Likewise.
4465 * sysdeps/sparc/configure: Likewise.
4466 * sysdeps/x86_64/configure: Likewise.
4467
912cc4b3
RM
44682013-03-20 Roland McGrath <roland@hack.frob.com>
4469
4470 [BZ #14812]
4471 * locale/programs/localedef.c (options): Put N_ translation marker
4472 on argument names, not just descriptions.
4473
04eed2b0
MS
44742013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4475
4476 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
4477
a065ceff
OB
44782013-03-20 Ondřej Bílka <neleai@seznam.cz>
4479
9bb2a810 4480 [BZ #14176]
a065ceff
OB
4481 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
4482
a600e5ce
RM
44832013-03-19 Roland McGrath <roland@hack.frob.com>
4484
4485 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
4486 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
4487 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
4488 [!BEFORE_ABORT] (before_abort): New function.
4489 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
4490 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
4491 (writev_for_fatal): New function.
4492 (WRITEV_FOR_FATAL): New macro; call that.
4493 (backtrace_and_maps): New function.
4494 (BEFORE_ABORT): New macro; call that.
4495 (struct str_list): Type removed.
4496 (__libc_message, __libc_fatal): Functions removed.
4497 Include <sysdeps/posix/libc_fatal.c> instead.
4498
6b18bea6
JM
44992013-03-19 Joseph Myers <joseph@codesourcery.com>
4500
4501 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
4502 constants.
4503 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
4504 double constants.
4505
aaa8cb4b
AS
45062013-03-19 Andreas Schwab <schwab@suse.de>
4507
44673770
AS
4508 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
4509 * sysdeps/gnu/configure: Regenerate.
4510
aaa8cb4b
AS
4511 * configure.in: Substitute libc_cv_rtlddir.
4512 * configure: Regenerate.
4513 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
4514 * Makeconfig (rtlddir, inst_rtlddir): New variables.
4515 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
4516 * elf/Makefile (install-others, CFLAGS-interp.c)
4517 (ldso_install, common-ldd-rewrite): Likewise.
4518 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
4519 $(inst_slibdir)/$(rtld-installed-name).
4520 * scripts/rellns-sh: Add -p option.
4521 * Makerules (make-shlib-link): Use rellns-sh to get relative name
4522 for source.
4523
d3cfc668
SP
45242013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4525
4526 * manual/nptl.texi: Renamed to ...
4527 * manual/threads.texi: ... this.
4528 * manual/Makefile (chapters): Update.
4529
0e2b9cdd
RM
45302013-03-18 Roland McGrath <roland@hack.frob.com>
4531
4532 [BZ #14812]
4533 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
4534 on argument names, not just descriptions.
0e2b9cdd
RM
4535 * malloc/memusagestat.c (options): Likewise.
4536 * nss/getent.c (options): Likewise.
63270c24
RM
4537
45382013-03-18 Benno Schulenberg <bensberg@justemail.net>
4539
4540 [BZ #14812]
4541 * iconv/iconv_prog.c (options): Put N_ translation marker
4542 on argument names, not just descriptions.
4543 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 4544
b2e1393c
OB
45452013-03-18 Ondrej Bilka <neleai@seznam.cz>
4546
4547 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
4548 implementation which is faster on all x86_64 architectures.
4549 Tested on AMD, Intel Nehalem, SNB, IVB.
4550 * sysdeps/x86_64/strnlen.S: Likewise.
4551
4552 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
4553 Remove all multiarch strlen and strnlen versions.
4554 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
4555 Remove strlen and strnlen related parts.
4556
4557 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
4558 Inline strlen part.
4559 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
4560
4561 * sysdeps/x86_64/multiarch/strlen.S: Remove.
4562 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
4563 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
4564 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
4565 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
4566 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
4567
ec4ff04d
CD
45682013-03-17 Carlos O'Donell <carlos@redhat.com>
4569
4570 * manual/memory.texi (Malloc Tunable Parameters):
4571 Sort parameters alphabetically. Add comments for missing entries.
4572
cd18e90a
DM
45732013-03-17 David S. Miller <davem@davemloft.net>
4574
4575 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4576
2a185d32
JM
45772013-03-16 Joseph Myers <joseph@codesourcery.com>
4578
d2f9799e
JM
4579 [BZ #15283]
4580 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
4581 for arguments at most half maximum finite value.
4582 * math/libm-test.inc (j0_test): Add more tests.
4583 (j1_test): Likewise.
4584 (y0_test): Likewise.
4585 (y1_test): Likewise.
4586 * sysdeps/i386/fpu/libm-test-ulps: Update.
4587 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4588
2a185d32
JM
4589 [BZ #14155]
4590 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
4591 1 / x and functions P and Q for arguments above 0x1p256L.
4592 (__ieee754_y0l): Likewise.
4593 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
4594 (__ieee754_y1l): Likewise.
4595 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
4596 (j1_test): Likewise.
4597 (y0_test): Likewise.
4598 (y1_test): Likewise.
4599
6cbec759
TS
46002013-03-16 Thomas Schwinge <thomas@codesourcery.com>
4601
4602 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
4603 variable.
4604
bc16e260
RM
46052013-03-15 Roland McGrath <roland@hack.frob.com>
4606
aefc9b8c
RM
4607 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
4608 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
4609 zero since it's initialized to EXEC_PAGESIZE.
4610
bc16e260
RM
4611 * sysdeps/unix/sysv/linux/ldsodefs.h
4612 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
4613 * sysdeps/generic/ldsodefs.h: ... here.
4614
a57da955
TS
46152013-03-15 Thomas Schwinge <thomas@codesourcery.com>
4616
af00a34d
TS
4617 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
4618
495ded2c
TS
4619 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
4620 math/test-snan.c.
4621 * math/test-snan.c: Renamed from
4622 sysdeps/powerpc/fpu/test-powerpc-snan.c.
4623 * math/Makefile (tests): Add test-snan.
4624 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
4625 test-powerpc-snan.
4626
777b0332
TS
4627 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
4628 SUFFIX. Initialize qNaN_var with __builtin_nan family of
4629 functions.
4630 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
4631 __builtin_nan family of functions.
4632 * math/libm-test.inc (initialize): Initialize qnan_value with
4633 __builtin_nan family of functions.
4634 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
4635 Remove variables.
4636 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
4637 Remove functions.
4638 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
4639 storage class. Initialize qNaN_var and sNaN_var with
4640 __builtin_nan and __builtin_nans families of functions,
4641 respectively.
4642
64d063b8
TS
4643 * math/libm-test.inc (acosh_test): Also test with qNaN input.
4644 (sqrt_test): Remove duplicate test with qNaN input.
4645 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
4646 (round_test, signbit_test, significand_test): Note missing +/-Inf
4647 as well as qNaN tests.
4648
67e971f1
TS
4649 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
4650 qNaN_var. Fix a few strings, too.
4651 * math/libm-test.inc (nan_value): Rename to qnan_value.
4652 * math/gen-libm-test.pl (%beautify): Adjust to that.
4653 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
4654 * math/test-misc.c (main): Likewise.
4655 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
4656 to __qnan_bytes, and __qnan_union, respectively.
4657 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
4658 Likewise.
4659 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
4660 and lqnanval, respectively.
4661 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
4662 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
4663 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
4664 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
4665
64487e12
TS
4666 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
4667 * math/test-misc.c (main) [__x86_64__]: Enable test for long
4668 doubles.
4669
e015e27b
TS
4670 * math/test-misc.c (main): Fix copy'n'pastos.
4671 * misc/tst-efgcvt.c (special): Likewise.
4672
a57da955
TS
4673 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
4674 Remove declarations.
4675
1e380345
SP
46762013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4677
4678 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
4679 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
4680 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
4681 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
4682
ef26eece
AZ
46832013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4684
4685 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
4686 macro to return vdso values correctly in IFUNC implementations.
4687 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
4688 Optimization by using IFUNC.
4689
8cfdb7e0
SP
46902013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4691 Richard Henderson <rth@redhat.com>
4692 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4693
4694 * Makefile.in (bench): New target.
4695 * NEWS: Mention the benchmark framework.
4696 * Rules (bench): Likewise.
4697 (binaries-bench): Generate binaries for functions to
4698 benchmark.
4699 * benchtests/Makefile: New makefile for benchmark tests.
4700 * benchtests/bench-skeleton.c: New skeleton file for benchmark
4701 programs.
4702 * benchtests/exp-inputs: New input file for EXP function.
4703 * benchtests/pow-inputs: New input file for POW function.
4704 * scripts/bench.pl: New script to generate source files for
4705 benchmark programs.
4706
bcda9880
SP
47072013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4708
d22ca8cd
SP
4709 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
4710 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
4711 computations on mantissa. Use macros for rounding and
4712 division.
4713 (denorm): Likewise.
4714 (__dbl_mp): Likewise.
4715 (add_magnitudes): Likewise.
4716 (sub_magnitudes): Likewise.
4717 (__mul): Likewise.
4718 (__sqr): Likewise.
4719 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
4720 powers of two in terms of TWOPOW macro.
4721 (mp_no): Make type of mantissa as MANTISSA_T.
4722 [!RADIXI]: Define RADIXI.
4723 [!TWO52]: Define TWO52.
4724 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
4725
bcda9880
SP
4726 * manual/nptl.texi (cindex): Modify threads to pthreads.
4727
06d5adfb
JM
47282013-03-15 Joseph Myers <joseph@codesourcery.com>
4729
4730 * sysdeps/x86_64/preconfigure: Regenerated.
4731
41c7328e
JM
47322013-03-14 Joseph Myers <joseph@codesourcery.com>
4733
4734 [BZ #14155]
4735 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
4736 0x1p28 and above.
4737 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
4738 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
4739 0x1p28 and above.
4740 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
4741 * math/libm-test.inc (j0_test): Do not allow one spurious
4742 underflow exception.
4743 (y1_test): Likewise.
4744
e25cfa60
SP
47452013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4746
0409959c
SP
4747 * manual/Makefile (chapters): Add nptl.
4748 * manual/debug.texi (Debugging Support): Add link to Threads
4749 chapter.
4750 * manual/nptl.texi: New file.
4751
e25cfa60
SP
4752 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
4753
58a1335e
PB
47542013-03-14 Petr Baudis <pasky@ucw.cz>
4755
4756 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
4757 for non-NULL pointer before the memory validity test. Pointed
4758 out by Holger Brunck <holger.brunck@keymile.com>.
4759
9dc7c64f
AS
47602013-03-13 Andreas Schwab <schwab@suse.de>
4761
4762 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
4763 instead of .os.
4764
54206aa6
JM
47652013-03-13 Joseph Myers <joseph@codesourcery.com>
4766
4767 * timezone/zic.c: Update from tzcode 2013b.
4768
e98cdb38
CD
47692013-03-12 Carlos O'Donell <carlos@redhat.com>
4770
4771 * manual/install.texi (Configuring and compiling):
4772 Mention i686 and i586.
4773 * INSTALL: Regenerate.
4774
9967e003
RM
47752013-03-12 Roland McGrath <roland@hack.frob.com>
4776
4777 * sysdeps/init_array/elf-init.c: New file.
4778 * csu/elf-init.c
4779 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
4780 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
4781
4782 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
4783 __gmon_start__ as global, but as static with a .preinit_array pointer.
4784 * sysdeps/init_array/gmon-start.c: New file. Use that.
4785 * sysdeps/init_array/crti.S: New file, empty except for comments.
4786 * sysdeps/init_array/crtn.S: Likewise.
4787
e6b5a293 47882013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
4789
4790 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
4791 definining bcopy.
80f844c9
OB
4792 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4793 Remove Prefer_SSE_for_memop.
4794 * sysdeps/x86_64/multiarch/init-arch.h: Remove
4795 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
4796 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
4797 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
4798 memset-x86-64.
80f844c9 4799 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 4800 Remove bzero, memset ifunc support.
80f844c9
OB
4801 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
4802 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
4803 * sysdeps/x86_64/multiarch/memset.S: Likewise.
4804 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4805
fb6b0fcb
AS
48062013-03-11 Andreas Schwab <schwab@suse.de>
4807
4808 [BZ #15234]
4809 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
4810 by SHLIB_COMPAT.
4811 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
4812 (GLIBC_2.16): Remove pthread_atfork.
4813
3e6bd4b1
PP
48142013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
4815
4816 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
4817 (ptestcases.h): Likewise.
4818
222d7f00
RM
48192013-03-08 Roland McGrath <roland@hack.frob.com>
4820
4821 * Makeconfig ($(common-objpfx)config.status): Depend on
4822 sysdeps/*/preconfigure{,.in} too.
4823
1ba4f030
JM
48242013-03-08 Joseph Myers <joseph@codesourcery.com>
4825
a222d91a
JM
4826 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
4827 (__free_hook): Use void * instead of __malloc_ptr_t.
4828 (__malloc_hook): Likewise.
4829 (__realloc_hook): Likewise.
4830 (__memalign_hook): Likewise.
4831 (__after_morecore_hook): Likewise.
4832 * malloc/arena.c (save_malloc_hook): Likewise.
4833 (save_free_hook): Likewise.
4834 * malloc/hooks.c (malloc_hook_ini): Likewise.
4835 (realloc_hook_ini): Likewise.
4836 (memalign_hook_ini): Likewise.
4837 * malloc/malloc.c (malloc_hook_ini): Likewise.
4838 (realloc_hook_ini): Likewise.
4839 (memalign_hook_ini): Likewise.
4840 (__free_hook): Likewise.
4841 (__malloc_hook): Likewise.
4842 (__realloc_hook): Likewise.
4843 (__memalign_hook): Likewise.
4844 (__libc_malloc): Likewise.
4845 (__libc_free): Likewise.
4846 (__libc_realloc): Likewise.
4847 (__libc_memalign): Likewise.
4848 (__libc_valloc): Likewise.
4849 (__libc_pvalloc): Likewise.
4850 (__libc_calloc): Likewise.
4851 (__posix_memalign): Likewise.
4852 * malloc/morecore.c (__sbrk): Likewise.
4853 (__default_morecore): Likewise.
4854
5cc45e10
JM
4855 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
4856
dd54b864
JM
4857 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
4858 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
4859 __malloc_ptrdiff_t.
4860
1ba4f030
JM
4861 * malloc/malloc.h (__malloc_size_t): Remove macro.
4862 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
4863 __malloc_size_t.
4864 (old_memalign_hook): Likewise.
4865 (old_realloc_hook): Likewise.
4866 (struct hdr): Likewise.
4867 (flood): Likewise.
4868 (mallochook): Likewise.
4869 (memalignhook): Likewise.
4870 (reallochook): Likewise.
4871 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
4872 (tr_old_realloc_hook): Likewise.
4873 (tr_old_memalign_hook): Likewise.
4874 (tr_mallochook): Likewise.
4875 (tr_reallochook): Likewise.
4876 (tr_memalignhook): Likewise.
4877
edf66e57
AZ
48782013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4879
4880 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
4881 default_ldbl_pack and using as default implementation.
4882 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
4883 implementation.
4884 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
4885 redundant definition.
4886 (ldbl_insert_mantissa): Likewise.
4887 (ldbl_canonicalize): Likewise.
4888 (ldbl_nearbyint): Likewise.
4889 (ldbl_pack): Rename to ldbl_pack_ppc.
4890 (ldbl_unpack): Rename to ldbl_unpack_ppc.
4891 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
4892 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
4893
6d9145d8
SP
48942013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4895
4896 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
4897 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
4898 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
4899 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
4900 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
4901 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
4902 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
4903 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
4904
4dd4e157
AJ
49052013-03-07 Andreas Jaeger <aj@suse.de>
4906
4907 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4908 bits/mman-linux.h.
4909
adbb8027
SP
49102013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
4911
ce544b5b
SP
4912 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
4913 Include mpa.h and declare __MPEXP.
4914 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
4915 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
4916 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
4917 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
4918 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
4919 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
4920 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
4921
4cc149fd
SP
4922 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
4923 (__slowpow): Use long double EXPL and LOGL functions to
4924 compute POW.
4925 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
4926 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
4927 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
4928 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
4929 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
4930 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
4931
e6ebd4a7
SP
4932 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
4933 intermediate variable to calculate exponent.
4934 (__sqr): Likewise.
4935 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
4936 Likewise.
4937 (__sqr): Likewise.
4938
82a9811d
SP
4939 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
4940 [!NO__SQR]: Define __sqr.
4941 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
4942 and NO__SQR. Remove all code except __mul and __sqr. Include
4943 sysdeps/ieee754/dbl-64/mpa.c.
4944 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4945
adbb8027
SP
4946 [BZ #12723]
4947 * posix/Makefile (tests): Add tst-pathconf.
4948 * posix/tst-pathconf.c: New test case.
4949 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
4950 _PC_PIPE_BUF.
4951 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
4952
39120df9
PF
49532013-03-06 Patsy Franklin <pfrankli@redhat.com>
4954
4955 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
4956
67525cb8
AJ
49572013-03-06 Andreas Jaeger <aj@suse.de>
4958
664a9ce4
AJ
4959 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
4960 definition via __MAP_ANONYMOUS.
4961
8e39047d
AJ
4962 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
4963 it's not part of Linux headers.
4964
67525cb8
AJ
4965 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
4966 (MAP_HUGE_MASK): Define.
4967
4968 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
4969 Define.
4970 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
4971 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
4972 Define.
4973 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
4974 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
4975 Define.
4976 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
4977 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
4978 Define.
4979 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
4980
4981 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
4982 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
4983 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
4984 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
4985 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
4986 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
4987
4988 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
4989 Handle f2fs.
4990
4991 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
4992 Handle f2fs and efivarfs.
4993
4994 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
4995 f2fs.
4996
4997 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
4998 (EFIVARFS_MAGIC): Add.
4999 (F2FS_LINK_MAX): Add.
5000
e1b42695
PP
50012013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
5002
5003 * stdio-common/vfprintf.c: Replace __builtin_expect with
5004 __glibc_unlikely.
5005
2d67d91a
JM
50062013-03-06 Joseph Myers <joseph@codesourcery.com>
5007
5008 [BZ #13550]
5009 * sysdeps/generic/bp-sym.h: Remove file.
5010 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
5011 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
5012 <bp-sym.h> and <bp-asm.h>.
5013 (__longjmp): Don't use BP_SYM.
5014 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
5015 and <bp-asm.h>.
5016 (memcpy): Don't use BP_SYM.
5017 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
5018 <bp-sym.h> and <bp-asm.h>.
5019 (memcpy): Don't use BP_SYM.
5020 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
5021 <bp-asm.h>.
5022 (memcpy): Don't use BP_SYM.
5023 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
5024 <bp-asm.h>.
5025 (memset): Don't use BP_SYM.
5026 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5027 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5028 (__bzero): Don't use BP_SYM.
5029 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5030 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5031 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
5032 <bp-sym.h> and <bp-asm.h>.
5033 (memcmp): Don't use BP_SYM. Remove comment about bounded
5034 pointers.
5035 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
5036 <bp-sym.h> and <bp-asm.h>.
5037 (memcpy): Don't use BP_SYM.
5038 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
5039 <bp-sym.h> and <bp-asm.h>.
5040 (memset): Don't use BP_SYM.
5041 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5042 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5043 (__bzero): Don't use BP_SYM.
5044 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5045 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5046 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
5047 <bp-sym.h> and <bp-asm.h>.
5048 (strncmp): Don't use BP_SYM. Remove comment about bounded
5049 pointers.
5050 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
5051 <bp-sym.h> and <bp-asm.h>.
5052 (memcpy): Don't use BP_SYM.
5053 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
5054 <bp-sym.h> and <bp-asm.h>.
5055 (memset): Don't use BP_SYM.
5056 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5057 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5058 (__bzero): Don't use BP_SYM.
5059 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5060 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5061 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
5062 <bp-sym.h> and <bp-asm.h>.
5063 (__memchr): Don't use BP_SYM.
5064 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
5065 <bp-sym.h> and <bp-asm.h>.
5066 (memcmp): Don't use BP_SYM. Remove comment about bounded
5067 pointers.
5068 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
5069 <bp-sym.h> and <bp-asm.h>.
5070 (memcpy): Don't use BP_SYM.
5071 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
5072 <bp-sym.h> and <bp-asm.h>.
5073 (__mempcpy): Don't use BP_SYM.
5074 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
5075 <bp-sym.h> and <bp-asm.h>.
5076 (__memrchr): Don't use BP_SYM.
5077 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
5078 <bp-sym.h> and <bp-asm.h>.
5079 (memset): Don't use BP_SYM.
5080 (__bzero): Likewise.
5081 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
5082 <bp-sym.h> and <bp-asm.h>.
5083 (__rawmemchr): Don't use BP_SYM.
5084 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
5085 <bp-sym.h> and <bp-asm.h>.
5086 (__STRCMP): Don't use BP_SYM.
5087 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
5088 <bp-sym.h> and <bp-asm.h>.
5089 (strchr): Don't use BP_SYM.
5090 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
5091 <bp-sym.h> and <bp-asm.h>.
5092 (__strchrnul): Don't use BP_SYM.
5093 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
5094 <bp-sym.h> and <bp-asm.h>.
5095 (strlen): Don't use BP_SYM.
5096 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
5097 <bp-sym.h> and <bp-asm.h>.
5098 (strncmp): Don't use BP_SYM. Remove comment about bounded
5099 pointers.
5100 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
5101 <bp-sym.h> and <bp-asm.h>.
5102 (__strnlen): Don't use BP_SYM.
5103 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
5104 <bp-sym.h> and <bp-asm.h>.
5105 (__GI__setjmp): Don't use BP_SYM.
5106 (_setjmp): Likewise.
5107 (__sigsetjmp): Likewise.
5108 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
5109 (L(start_addresses)): Don't use BP_SYM.
5110 (_start): Likewise.
5111 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
5112 <bp-asm.h>.
5113 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
5114 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
5115 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5116 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5117 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
5118 <bp-asm.h>.
5119 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
5120 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
5121 about bounded pointers.
5122 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5123 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5124 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
5125 <bp-asm.h>.
5126 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
5127 about bounded pointers. Remove GKM FIXME comments.
5128 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5129 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
5130 <bp-asm.h>.
5131 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
5132 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
5133 Remove GKM FIXME comments.
5134 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5135 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5136 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
5137 <bp-asm.h>.
5138 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
5139 about bounded pointers. Remove GKM FIXME comment.
5140 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
5141 and <bp-asm.h>.
5142 (strncmp): Don't use BP_SYM. Remove comment about bounded
5143 pointers.
5144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
5145 <bp-sym.h> and <bp-asm.h>.
5146 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
5147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
5148 <bp-sym.h> and <bp-asm.h>.
5149 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
5150 comment.
5151
cdcf361f
PP
51522013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
5153
5154 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
5155 call free(NULL).
5156
3c4a2b15
DM
51572013-03-05 David S. Miller <davem@davemloft.net>
5158
5159 * po/es.po: Update from translation team.
5160
cdcf361f 51612013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
5162
5163 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
5164 <bits/mman-linux.h>.
5165 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5166 is fine.
5167 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
5168 <bits/mman-linux.h> to end of file.
5169 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5170 is fine.
5171 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
5172 <bits/mman-linux.h> to end of file.
5173 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5174 is fine.
5175 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
5176 <bits/mman-linux.h> to end of file.
5177
5178 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
5179 (MCL_CURRENT, MCL_FUTURE): Define here.
5180
5f67c04f
AK
51812013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5182
8a4473cc 5183 [BZ #15232]
5f67c04f
AK
5184 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
5185 attribute_hidden.
5186 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
5187
c3e94a95
AK
51882013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5189
5190 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
5191 fourth parameter needed for rt_sigprocmask syscall.
5192 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
5193 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
5194 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
5195 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
5196 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
5197 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
5198
cfb6382a
JM
51992013-03-04 Joseph Myers <joseph@codesourcery.com>
5200
5201 [BZ #13550]
5202 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
5203 comment about bounded pointers.
5204 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
5205 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
5206
539d8e01
AJ
52072013-03-04 Andreas Jaeger <aj@suse.de>
5208
5209 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
5210 common definitions.
5211
5212 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
5213 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
5214 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
5215 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5216 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
5217 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5218
2e167a70 52192013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
5220
5221 [BZ #15055]
5222 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
5223 __ieee754_sqrl instead of __sqrl.
5224
68508633
JM
52252013-03-01 Joseph Myers <joseph@codesourcery.com>
5226
5227 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
5228 * sysdeps/powerpc/fpu_control.h: ... here.
5229 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
5230 * sysdeps/powerpc/bits/fenvinline.h: ... here.
5231 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
5232 * sysdeps/powerpc/bits/mathinline.h: ... here.
5233
7775448e
RM
52342013-03-01 Roland McGrath <roland@hack.frob.com>
5235
5236 * elf/dl-hwcaps.c (_dl_important_hwcaps):
5237 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
5238 to just [NEED_DL_SYSINFO_DSO].
5239 * elf/dl-support.c: Likewise.
5240 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
5241 * elf/rtld.c (dl_main): Likewise.
5242 * elf/setup-vdso.h (setup_vdso): Likewise.
5243 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
5244 * sysdeps/unix/sysv/linux/dl-sysdep.c
5245 (_dl_discover_osversion): Likewise.
5246
4e9b5995
CD
52472013-03-01 Carlos O'Donell <carlos@redhat.com>
5248
5249 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
5250 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
5251
e23872c8
SP
52522013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
5253
e5c74c63
SP
5254 * NEWS: Mention libm performance improvements and non-x86 PI
5255 futex support.
5256
e23872c8
SP
5257 * csu/libc-start.c (__pthread_initialize_minimal): Change
5258 function arguments.
5259 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
5260
b5510883
JM
52612013-02-28 Joseph Myers <joseph@codesourcery.com>
5262
5263 [BZ #13550]
5264 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
5265 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
5266 <bp-sym.h> and <bp-asm.h>.
5267 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5268 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
5269 and <bp-asm.h>.
5270 (memcpy): Don't use BP_SYM.
5271 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
5272 <bp-asm.h>.
5273 (__mpn_add_n): Don't use BP_SYM.
5274 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
5275 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
5276 and <bp-asm.h>.
5277 (__mpn_addmul_1): Don't use BP_SYM.
5278 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5279 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
5280 <bp-sym.h>.
5281 (_setjmp): Don't use BP_SYM.
5282 (__novmx_setjmp): Likewise.
5283 (__GI__setjmp): Likewise.
5284 (__vmx_setjmp): Likewise.
5285 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
5286 <bp-sym.h>.
5287 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
5288 (__bzero): Don't use BP_SYM.
5289 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5290 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5291 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
5292 <bp-sym.h> and <bp-asm.h>.
5293 (memcpy): Don't use BP_SYM.
5294 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
5295 <bp-sym.h> and <bp-asm.h>.
5296 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5297 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
5298 <bp-sym.h> and <bp-asm.h>.
5299 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5300 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
5301 <bp-asm.h>.
5302 (__mpn_lshift): Don't use BP_SYM.
5303 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5304 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
5305 <bp-asm.h>.
5306 (memset): Don't use BP_SYM.
5307 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5308 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5309 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
5310 <bp-asm.h>.
5311 (__mpn_mul_1): Don't use BP_SYM.
5312 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5313 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
5314 <bp-sym.h> and <bp-asm.h>.
5315 (memcmp): Don't use BP_SYM.
5316 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
5317 <bp-sym.h> and <bp-asm.h>.
5318 (memcpy): Don't use BP_SYM.
5319 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
5320 <bp-sym.h> and <bp-asm.h>.
5321 (memset): Don't use BP_SYM.
5322 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
5323 <bp-sym.h> and <bp-asm.h>.
5324 (strncmp): Don't use BP_SYM.
5325 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
5326 <bp-sym.h> and <bp-asm.h>.
5327 (memcpy): Don't use BP_SYM.
5328 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
5329 <bp-sym.h> and <bp-asm.h>.
5330 (memset): Don't use BP_SYM.
5331 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
5332 <bp-sym.h> and <bp-asm.h>.
5333 (__memchr): Don't use BP_SYM.
5334 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
5335 <bp-sym.h> and <bp-asm.h>.
5336 (memcmp): Don't use BP_SYM.
5337 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
5338 <bp-sym.h> and <bp-asm.h>.
5339 (memcpy): Don't use BP_SYM.
5340 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
5341 <bp-sym.h> and <bp-asm.h>.
5342 (__mempcpy): Don't use BP_SYM.
5343 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
5344 <bp-sym.h> and <bp-asm.h>.
5345 (__memrchr): Don't use BP_SYM.
5346 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
5347 <bp-sym.h> and <bp-asm.h>.
5348 (memset): Don't use BP_SYM.
5349 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
5350 <bp-sym.h> and <bp-asm.h>.
5351 (__rawmemchr): Don't use BP_SYM.
5352 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
5353 <bp-sym.h> and <bp-asm.h>.
5354 (__STRCMP): Don't use BP_SYM.
5355 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
5356 <bp-sym.h> and <bp-asm.h>.
5357 (strchr): Don't use BP_SYM.
5358 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
5359 <bp-sym.h> and <bp-asm.h>.
5360 (__strchrnul): Don't use BP_SYM.
5361 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
5362 <bp-sym.h> and <bp-asm.h>.
5363 (strlen): Don't use BP_SYM.
5364 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
5365 <bp-sym.h> and <bp-asm.h>.
5366 (strncmp): Don't use BP_SYM.
5367 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
5368 <bp-sym.h> and <bp-asm.h>.
5369 (__strnlen): Don't use BP_SYM.
5370 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
5371 <bp-asm.h>.
5372 (__mpn_rshift): Don't use BP_SYM.
5373 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5374 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
5375 <bp-sym.h> and <bp-asm.h>.
5376 (__sigsetjmp): Don't use BP_SYM.
5377 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
5378 (L(start_addresses)): Don't use BP_SYM.
5379 (_start): Likewise.
5380 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
5381 <bp-asm.h>.
5382 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
5383 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5384 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5385 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
5386 <bp-asm.h>.
5387 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
5388 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5389 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5390 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
5391 <bp-asm.h>.
5392 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
5393 comments.
5394 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5395 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
5396 <bp-asm.h>.
5397 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
5398 FIXME comments.
5399 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5400 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5401 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
5402 <bp-asm.h>.
5403 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
5404 comment.
5405 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
5406 and <bp-asm.h>.
5407 (strncmp): Don't use BP_SYM,
5408 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
5409 <bp-asm.h>.
5410 (__mpn_sub_n): Don't use BP_SYM.
5411 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5412 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
5413 and <bp-asm.h>.
5414 (__mpn_submul_1): Don't use BP_SYM.
5415 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
5417 <bp-sym.h> and <bp-asm.h>.
5418 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
5419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
5420 <bp-sym.h> and <bp-asm.h>.
5421 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
5422 comment.
5423
8d19fe64
SP
54242013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5425
5426 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
5427 Use ZK to minimize writes to Z.
5428 (sub_magnitudes): Simplify code a bit.
5429 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
5430 Use ZK to minimize writes to Z.
5431 (sub_magnitudes): Simplify code a bit.
5432
85bd816a
RM
54332013-02-27 Roland McGrath <roland@hack.frob.com>
5434
5435 * csu/gmon-start.c: Add special exception to license text.
5436
b5977bf2
RH
54372013-02-27 Richard Henderson <rth@redhat.com>
5438
5439 * scripts/config.guess: Update from config.git.
5440 * scripts/config.sub: Likewise.
5441
11d6e2f2
SP
54422013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5443
09c14ed2
SP
5444 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
5445
a688864e
SP
5446 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
5447
6295157a
SP
5448 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
5449
b8de2202
SP
5450 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
5451
11d6e2f2
SP
5452 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
5453
7e80ddb8
RM
54542013-02-26 Roland McGrath <roland@hack.frob.com>
5455
5456 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
5457 [$(build-shared = yes].
7e80ddb8 5458
7da6d9ed
SP
54592013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5460
45f05884
SP
5461 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
5462 (__mul): Reduce iterations for calculating mantissa.
5463
2236d359
SP
5464 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
5465 MPTWO.
5466 (__mpranred): Likewise.
5467
7da6d9ed
SP
5468 [BZ #15160]
5469 * malloc/memusagestat.c (main): Draw graphs for heap and stack
5470 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
5471
b7688c42
PE
54722013-02-26 Paul Eggert <eggert@cs.ucla.edu>
5473
5474 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
5475 Define __attribute__.
5476
53a5c423
SP
54772013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5478
5479 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
5480 unused.
5481 * posix/regex_internal.h (__attribute): Remove.
5482 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
5483 (re_string_context_at): Likewise.
5484 (bitset_not): Use __attribute__ and mark function as possibly
5485 unused.
5486 (bitset_merge): Likewise.
5487 (bitset_mask): Likewise.
5488 (re_string_char_size_at): Likewise.
5489 (re_string_wchar_at): Likewise.
5490 (re_string_elem_size_at): Likewise.
5491
60f5a8b5
SP
54922013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5493
2a983a2e
SP
5494 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
5495 code.
5496 (cc32): Likewise.
5497
e69804d1
SP
5498 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
5499 (__acr): Likewise.
5500 (__cpy): Likewise.
5501 (norm): Likewise.
5502 (denorm): Likewise.
5503 (__dbl_mp): Likewise.
5504 (add_magnitudes): Likewise.
5505 (sub_magnitudes): Likewise.
5506 (__mul): Likewise.
5507 (__inv): Likewise.
5508
2f22a1e8
SP
5509 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
5510 style.
5511
8930ddc7
SP
5512 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
5513 style.
5514
dc60cb11
SP
5515 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
5516 code.
5517
60f5a8b5
SP
5518 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
5519 up changes with default code.
5520 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
5521 Likewise.
5522
b4d1fd33
AM
55232013-02-24 Allan McRae <allan@archlinux.org>
5524
faf6f8bc
AM
5525 * manual/socket.texi (The Internet Namespace): Order menu items
5526 to match that in the file.
5527
b4d1fd33
AM
5528 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
5529 node listing of the info page menu.
5530
2366713d
JM
55312013-02-21 Joseph Myers <joseph@codesourcery.com>
5532
5533 [BZ #13550]
5534 * sysdeps/i386/bp-asm.h: Remove file.
5535 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
5536 (PARMS): Do not use macros from bp-asm.h.
5537 (S1): Likewise.
5538 (S2): Likewise.
5539 (SIZE): Likewise.
5540 (__mpn_add_n): Do not use BP_SYM
5541 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
5542 "bp-asm.h".
5543 (PARMS): Do not use macros from bp-asm.h.
5544 (S1): Likewise.
5545 (SIZE): Likewise.
5546 (__mpn_addmul_1): Do not use BP_SYM
5547 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
5548 "bp-asm.h".
5549 (PARMS): Do not use macros from bp-asm.h.
5550 (SIGMSK): Likewise.
5551 (_setjmp): Likewise. Do not use BP_SYM.
5552 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
5553 "bp-asm.h".
5554 (PARMS): Do not use macros from bp-asm.h.
5555 (SIGMSK): Likewise.
5556 (setjmp): Likewise. Do not use BP_SYM.
5557 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
5558 "bp-asm.h".
5559 (PARMS): Do not use macros from bp-asm.h.
5560 (__frexp): Do not use BP_SYM.
5561 (frexp): Likewise.
5562 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
5563 "bp-asm.h".
5564 (PARMS): Do not use macros from bp-asm.h.
5565 (__frexpf): Do not use BP_SYM.
5566 (frexpf): Likewise.
5567 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
5568 "bp-asm.h".
5569 (PARMS): Do not use macros from bp-asm.h.
5570 (__frexpl): Do not use BP_SYM.
5571 (frexpl): Likewise.
5572 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
5573 "bp-asm.h".
5574 (PARMS): Do not use macros from bp-asm.h.
5575 (__remquo): Do not use BP_SYM.
5576 (remquo): Likewise.
5577 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
5578 "bp-asm.h".
5579 (PARMS): Do not use macros from bp-asm.h.
5580 (__remquof): Do not use BP_SYM.
5581 (remquof): Likewise.
5582 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
5583 "bp-asm.h".
5584 (PARMS): Do not use macros from bp-asm.h.
5585 (__remquol): Do not use BP_SYM.
5586 (remquol): Likewise.
5587 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
5588 "bp-asm.h".
5589 (PARMS): Do not use macros from bp-asm.h.
5590 (DEST): Likewise.
5591 (SRC): Likewise.
5592 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
5593 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
5594 "bp-asm.h".
5595 (PARMS): Do not use macros from bp-asm.h.
5596 (strlen): Do not use BP_SYM.
5597 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
5598 "bp-asm.h".
5599 (PARMS): Do not use macros from bp-asm.h.
5600 (S1): Likewise.
5601 (S2): Likewise.
5602 (SIZE): Likewise.
5603 (__mpn_add_n): Do not use BP_SYM.
5604 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
5605 "bp-asm.h".
5606 (PARMS): Do not use macros from bp-asm.h.
5607 (S1): Likewise.
5608 (SIZE): Likewise.
5609 (__mpn_addmul_1): Do not use BP_SYM.
5610 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
5611 weak_alias.
5612 (bzero): Likewise.
5613 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
5614 "bp-asm.h".
5615 (PARMS): Do not use macros from bp-asm.h.
5616 (S): Likewise.
5617 (SIZE): Likewise.
5618 (__mpn_lshift): Do not use BP_SYM.
5619 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
5620 "bp-asm.h".
5621 (PARMS): Do not use macros from bp-asm.h.
5622 (DEST): Likewise.
5623 (SRC): Likewise.
5624 (LEN): Likewise.
5625 (memcpy): Likewise. Do not use BP_SYM.
5626 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
5627 libc_hidden_def and weak_alias.
5628 (mempcpy): Do not use BP_SYM in weak_alias.
5629 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
5630 "bp-asm.h".
5631 (PARMS): Do not use macros from bp-asm.h.
5632 (DEST): Likewise.
5633 (LEN): Likewise.
5634 [!BZERO_P] (CHR): Likewise.
5635 (memset): Likewise. Do not use BP_SYM.
5636 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
5637 "bp-asm.h".
5638 (PARMS): Do not use macros from bp-asm.h.
5639 (S1): Likewise.
5640 (SIZE): Likewise.
5641 (__mpn_mul_1): Do not use BP_SYM.
5642 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
5643 "bp-asm.h".
5644 (PARMS): Do not use macros from bp-asm.h.
5645 (S): Likewise.
5646 (SIZE): Likewise.
5647 (__mpn_rshift): Do not use BP_SYM.
5648 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
5649 "bp-asm.h".
5650 (PARMS): Do not use macros from bp-asm.h.
5651 (STR): Likewise.
5652 (CHR): Likewise.
5653 (strchr): Likewise. Do not use BP_SYM.
5654 (index): Do not use BP_SYM in weak_alias.
5655 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
5656 "bp-asm.h".
5657 (PARMS): Do not use macros from bp-asm.h.
5658 (DEST): Likewise.
5659 (SRC): Likewise.
5660 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
5661 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
5662 "bp-asm.h".
5663 (PARMS): Do not use macros from bp-asm.h.
5664 (strlen): Do not use BP_SYM.
5665 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
5666 "bp-asm.h".
5667 (PARMS): Do not use macros from bp-asm.h.
5668 (S1): Likewise.
5669 (S2): Likewise.
5670 (SIZE): Likewise.
5671 (__mpn_sub_n): Do not use BP_SYM.
5672 * sysdeps/i386/i586/submul_1.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 (SIZE): Likewise.
5677 (__mpn_submul_1): Do not use BP_SYM.
5678 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
5679 "bp-asm.h".
5680 (PARMS): Do not use macros from bp-asm.h.
5681 (S1): Likewise.
5682 (S2): Likewise.
5683 (SIZE): Likewise.
5684 (__mpn_add_n): Do not use BP_SYM.
5685 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
5686 weak_alias.
5687 (bzero): Likewise.
5688 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
5689 "bp-asm.h".
5690 (PARMS): Do not use macros from bp-asm.h.
5691 (BLK2): Likewise.
5692 (LEN): Likewise.
5693 (memcmp): Do not use BP_SYM.
5694 (bcmp): Do not use BP_SYM in weak_alias.
5695 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
5696 "bp-asm.h".
5697 (PARMS): Do not use macros from bp-asm.h.
5698 (DEST): Likewise.
5699 (SRC): Likewise.
5700 (LEN): Likewise.
5701 (memcpy): Likewise. Do not use BP_SYM.
5702 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
5703 "bp-asm.h".
5704 (PARMS): Do not use macros from bp-asm.h.
5705 (DEST): Likewise.
5706 (SRC): Likewise.
5707 (LEN): Likewise.
5708 (memmove): Likewise. Do not use BP_SYM.
5709 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
5710 "bp-asm.h".
5711 (PARMS): Do not use macros from bp-asm.h.
5712 (DEST): Likewise.
5713 (SRC): Likewise.
5714 (LEN): Likewise.
5715 (__mempcpy): Likewise. Do not use BP_SYM.
5716 (mempcpy): Do not use BP_SYM in weak_alias.
5717 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
5718 "bp-asm.h".
5719 (PARMS): Do not use macros from bp-asm.h.
5720 (DEST): Likewise.
5721 (LEN): Likewise.
5722 [!BZERO_P] (CHR): Likewise.
5723 (memset): Likewise. Do not use BP_SYM.
5724 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
5725 "bp-asm.h".
5726 (PARMS): Do not use macros from bp-asm.h.
5727 (STR2): Likewise.
5728 (strcmp): Do not use BP_SYM.
5729 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
5730 "bp-asm.h".
5731 (PARMS): Do not use macros from bp-asm.h.
5732 (STR): Likewise.
5733 (DELIM): Likewise.
5734 [USE_AS_STRTOK_R] (SAVE): Likewise.
5735 (FUNCTION): Likewise. Do not use BP_SYM.
5736 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
5737 aliases.
5738 (strtok_r): Likewise.
5739 (__GI___strtok_r): Likewise.
5740 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
5741 (PARMS): Do not use macros from bp-asm.h.
5742 (S): Likewise.
5743 (SIZE): Likewise.
5744 (__mpn_lshift): Do not use BP_SYM.
5745 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
5746 (PARMS): Do not use macros from bp-asm.h.
5747 (STR): Likewise.
5748 (CHR): Likewise.
5749 (__memchr): Do not use BP_SYM.
5750 (memchr): Do not use BP_SYM in weak_alias.
5751 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
5752 (PARMS): Do not use macros from bp-asm.h.
5753 (BLK2): Likewise.
5754 (LEN): Likewise.
5755 (memcmp): Do not use BP_SYM.
5756 (bcmp): Do not use BP_SYM in weak_alias.
5757 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
5758 (PARMS): Do not use macros from bp-asm.h.
5759 (S1): Likewise.
5760 (SIZE): Likewise.
5761 (__mpn_mul_1): Do not use BP_SYM.
5762 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
5763 "bp-asm.h".
5764 (PARMS): Do not use macros from bp-asm.h.
5765 (STR): Likewise.
5766 (CHR): Likewise.
5767 (__rawmemchr): Do not use BP_SYM.
5768 (rawmemchr): Do not use BP_SYM in weak_alias.
5769 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
5770 (PARMS): Do not use macros from bp-asm.h.
5771 (S): Likewise.
5772 (SIZE): Likewise.
5773 (__mpn_rshift): Do not use BP_SYM.
5774 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
5775 (PARMS): Do not use macros from bp-asm.h.
5776 (SIGMSK): Likewise.
5777 (__sigsetjmp): Likewise. Do not use BP_SYM.
5778 * sysdeps/i386/start.S: Do not include "bp-sym.h".
5779 (_start): Do not use BP_SYM.
5780 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
5781 (PARMS): Do not use macros from bp-asm.h.
5782 (DEST): Likewise.
5783 (SRC): Likewise.
5784 (__stpcpy): Likewise. Do not use BP_SYM.
5785 (stpcpy): Do not use BP_SYM in weak_alias.
5786 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
5787 "bp-asm.h".
5788 (PARMS): Do not use macros from bp-asm.h.
5789 (DEST): Likewise.
5790 (SRC): Likewise.
5791 (LEN): Likewise.
5792 (__stpncpy): Likewise. Do not use BP_SYM.
5793 (stpncpy): Do not use BP_SYM in weak_alias.
5794 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
5795 (PARMS): Do not use macros from bp-asm.h.
5796 (STR): Likewise.
5797 (CHR): Likewise.
5798 (strchr): Likewise. Do not use BP_SYM.
5799 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
5800 "bp-asm.h".
5801 (PARMS): Do not use macros from bp-asm.h.
5802 (STR): Likewise.
5803 (CHR): Likewise.
5804 (__strchrnul): Likewise. Do not use BP_SYM.
5805 (strchrnul): Do not use BP_SYM in weak_alias.
5806 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
5807 "bp-asm.h".
5808 (PARMS): Do not use macros from bp-asm.h.
5809 (STOP): Likewise.
5810 (strcspn): Do not use BP_SYM.
5811 * sysdeps/i386/strpbrk.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 (STOP): Likewise.
5816 (strpbrk): Likewise. Do not use BP_SYM.
5817 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
5818 "bp-asm.h".
5819 (PARMS): Do not use macros from bp-asm.h.
5820 (STR): Likewise.
5821 (CHR): Likewise.
5822 (strrchr): Likewise. Do not use BP_SYM.
5823 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
5824 (PARMS): Do not use macros from bp-asm.h.
5825 (SKIP): Likewise.
5826 (strspn): Do not use BP_SYM.
5827 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
5828 (PARMS): Do not use macros from bp-asm.h.
5829 (STR): Likewise.
5830 (DELIM): Likewise.
5831 (SAVE): Likewise.
5832 (FUNCTION): Likewise. Do not use BP_SYM.
5833 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
5834 aliases.
5835 (strtok_r): Likewise.
5836 (__GI___strtok_r): Likewise.
5837 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
5838 (PARMS): Do not use macros from bp-asm.h.
5839 (S1): Likewise.
5840 (S2): Likewise.
5841 (SIZE): Likewise.
5842 (__mpn_sub_n): Do not use BP_SYM.
5843 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
5844 "bp-asm.h".
5845 (PARMS): Do not use macros from bp-asm.h.
5846 (S1): Likewise.
5847 (SIZE): Likewise.
5848 (__mpn_submul_1): Do not use BP_SYM.
5849 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
5850 <bp-sym.h>.
5851 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
5852 and <bp-asm.h>.
5853 (PARMS): Do not use macros from bp-asm.h.
5854 (FLAGS): Likewise.
5855 (PTID): Likewise.
5856 (TLS): Likewise.
5857 (CTID): Likewise.
5858 (__clone): Do not use BP_SYM.
5859 (clone): Do not use BP_SYM in weak_alias.
5860 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
5861 and <bp-asm.h>.
5862 (PARMS): Do not use macros from bp-asm.h.
5863 (LEN): Likewise.
5864 (__mmap64): Do not use BP_SYM.
5865 (mmap64): Do not use BP_SYM in weak_alias.
5866 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
5867 <bp-sym.h> and <bp-asm.h>.
5868 (PARMS): Do not use macros from bp-asm.h.
5869 (__posix_fadvise64_l64): Do not use BP_SYM.
5870 * sysdeps/unix/sysv/linux/i386/semtimedop.S
5871 (PARMS): Do not use macros from bp-asm.h.
5872 (NSOPS): Likewise.
5873 (semtimedop): Do not use BP_SYM.
5874 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
5875 and <bp-asm.h>.
5876
582a3cff
AM
58772013-02-21 Allan McRae <allan@archlinux.org>
5878
5879 * manual/message.texi (Charset conversion in gettext):
5880 Move @end statement to beginning of line.
5881
bab8a695
SP
58822013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5883
80945231
SP
5884 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
5885 static.
5886 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
5887 Likewise.
5888
bab8a695
SP
5889 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
5890 (denorm): Likewise.
5891 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
5892 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
5893
e21d7aa7
AK
58942013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5895
5896 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
5897 tail-call to the resolved function if pltexit isn't needed.
5898
4c7a4263
SP
58992013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5900
5901 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
5902 or Y being zero as being unlikely.
5903 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
5904 Likewise.
5905
41f49342
CD
59062013-02-20 Carlos O'Donell <carlos@redhat.com>
5907
5908 * manual/nss.texi (System Databases and Name Service Switch):
5909 Remove frobnicate @pxref.
5910
50022a93
TS
59112013-02-20 Thomas Schwinge <thomas@codesourcery.com>
5912
5913 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
5914 __attribute__ ((unused)) to __attribute__ ((__unused__)).
5915
08cbd996
PM
59162013-02-20 Petr Machata <pmachata@redhat.com>
5917
5918 * elf/elf.h (R_ARM_TARGET1): New macro.
5919 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
5920 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
5921 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
5922 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
5923 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
5924 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
5925 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
5926 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
5927 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
5928 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
5929 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
5930 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
5931 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
5932 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
5933 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
5934 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
5935 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
5936 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
5937 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
5938 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
5939 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
5940 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
5941 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
5942 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
5943 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
5944 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
5945 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
5946 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
5947 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
5948 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
5949 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
5950 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
5951 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
5952 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
5953 (R_ARM_THM_GOT_BREL12): Likewise.
5954 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
5955 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
5956 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
5957 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
5958 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
5959 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
5960 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
5961 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
5962 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
5963
c7b275d6
TS
59642013-02-20 Thomas Schwinge <thomas@codesourcery.com>
5965
5966 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
5967 __attribute_used__ to __attribute__ ((unused)).
5968
20cd7fb3
SP
59692013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5970
5971 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
5972 powerpc mpa.c.
5973 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
5974 comment formatting.
5975 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
5976
92945b52
JM
59772013-02-19 Joseph Myers <joseph@codesourcery.com>
5978
5979 [BZ #13550]
5980 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
5981 Remove macro.
5982 (ENTER): Remove both macro definitions.
5983 (LEAVE): Likewise.
5984 (CHECK_BOUNDS_LOW): Likewise.
5985 (CHECK_BOUNDS_HIGH): Likewise.
5986 (CHECK_BOUNDS_BOTH): Likewise.
5987 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
5988 (RETURN_BOUNDED_POINTER): Likewise.
5989 (RETURN_NULL_BOUNDED_POINTER): Likewise.
5990 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
5991 (POP_ERRNO_LOCATION_RETURN): Likewise.
5992 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
5993 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5994 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
5995 macros.
5996 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5997 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
5998 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
5999 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
6000 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
6001 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
6002 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
6003 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
6004 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
6005 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
6006 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
6007 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
6008 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6009 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
6010 removed macros.
6011 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6012 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
6013 macros.
6014 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6015 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
6016 * sysdeps/i386/i586/memset.S (memset): Likewise.
6017 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
6018 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6019 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
6020 macros.
6021 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6022 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
6023 Change uses of L(2) to L(out).
6024 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
6025 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
6026 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
6027 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6028 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
6029 removed macros.
6030 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6031 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
6032 macros.
6033 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6034 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
6035 (RETURN): Do not use macro LEAVE.
6036 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
6037 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
6038 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
6039 * sysdeps/i386/i686/memset.S (memset): Likewise.
6040 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
6041 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
6042 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6043 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
6044 Likewise.
6045 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6046 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
6047 L(1_2) and L(1_3) into L(1).
6048 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
6049 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
6050 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6051 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
6052 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6053 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
6054 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
6055 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6056 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
6057 macros.
6058 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
6059 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6060 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
6061 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
6062 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
6063 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6064 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
6065 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
6066 * sysdeps/i386/strcspn.S (strcspn): Likewise.
6067 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
6068 * sysdeps/i386/strrchr.S (strrchr): Likewise.
6069 * sysdeps/i386/strspn.S (strspn): Likewise.
6070 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
6071 conditional code.
6072 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6073 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
6074 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
6075 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
6076 L(1_3) into L(1_1).
6077 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
6078 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6079 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
6080 macros.
6081 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6082
2389741a
JJ
60832013-02-19 Jakub Jelinek <jakub@redhat.com>
6084
6085 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
6086 macro.
6087
2016b3cd
SP
60882013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6089
e4f22324
SP
6090 * math/atest-exp.c (exp_mpn): Remove ROUND.
6091 * math/atest-exp2.c (exp_mpn): Likewise.
6092 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
6093
2016b3cd
SP
6094 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
6095 * stdlib/tst-tls-atexit-lib.c: Likewise.
6096 * stdlib/tst-tls-atexit.c: Likewise.
6097
4be9b544
MF
60982013-02-18 Mike Frysinger <vapier@gentoo.org>
6099
6100 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
6101 and __attribute_alloc_size__.
6102
2f62b9ee
MF
61032013-02-18 Mike Frysinger <vapier@gentoo.org>
6104
6105 * include/programs/xmalloc.h: Change __attribute_alloc_size to
6106 __attribute_alloc_size__.
6107 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
6108 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
6109
6ff444c4
MF
61102013-02-18 Mike Frysinger <vapier@gentoo.org>
6111
6112 * include/programs/xmalloc.h: New file.
6113 * catgets/gencat.c: Include it.
6114 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
6115 * elf/pldd.c: Likewise.
6116 * iconv/iconv_charmap.c: Likewise.
6117 * iconv/iconvconfig.c: Likewise.
6118 * iconv/strtab.c: Likewise.
6119 * locale/programs/locale.c: Likewise.
6120 * locale/programs/localedef.h: Likewise.
6121 * locale/programs/simple-hash.c: Likewise.
6122 * nscd/nscd.h: Likewise.
6123 * nss/makedb.c: Likewise.
6124 * sysdeps/generic/ldconfig.h: Likewise.
6125
be179c8a
SP
61262013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6127
ba384f6e
SP
6128 * Versions.def: Add GLIBC_2.18.
6129 * include/link.h (struct link_map): New member l_tls_dtor_count.
6130 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
6131 (__call_tls_dtors): Likewise.
6132 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
6133 __cxa_thread_atexit_impl.
6134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6135 Likewise.
6136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6137 Likewise.
6138 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
6139 Likewise.
6140 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
6141 Likewise.
6142 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6143 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
6144 Likewise.
6145 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
6146 Likewise.
6147 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6148 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
6149 Likewise.
6150 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
6151 (tests): Add test case tst-tls-atexit.
6152 (modules-names): Add shared library for tst-tls-atexit.
6153 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
6154 (GLIBC_PRIVATE): Add __call_tls_dtors.
6155 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
6156 for libstdc++.
6157 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
6158 * stdlib/tst-tls-atexit.c: New test case.
6159 * stdlib/tst-tls-atexit-lib.c: New test case.
6160
ffaa74cf 6161 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 6162
be179c8a
SP
6163 * elf/Versions (ld): Add _dl_find_dso_for_object.
6164 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
6165 * elf/dl-open.c (_dl_find_dso_for_object): New function.
6166 (dl_open_worker): Use _dl_find_dso_for_object.
6167 * elf/dl-sym.c (do_sym): Likewise.
6168 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
6169
f78b5caa
AK
61702013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6171
6172 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
6173 Syntactic changes only.
6174 (_dl_runtime_profile): Do a tail-call to the resolved function.
6175
29691210
JM
61762013-02-17 Joseph Myers <joseph@codesourcery.com>
6177
6178 [BZ #13550]
6179 * sysdeps/x86_64/bp-asm.h: Remove file.
6180 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
6181 <bp-sym.h> and <bp-asm.h>.
6182 (__clone): Do not use BP_SYM.
6183 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
6184 <bp-sym.h> and <bp-asm.h>.
6185 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6186 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
6187 "bp-asm.h".
6188 (_setjmp): Do not use BP_SYM.
6189 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
6190 "bp-asm.h".
6191 (setjmp): Do not use BP_SYM.
6192 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
6193 libc_hidden_def.
6194 (mempcpy): Do not use BP_SYM in weak_alias.
6195 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
6196 "bp-asm.h".
6197 (strchr): Do not use BP_SYM.
6198 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
6199 "bp-asm.h".
6200 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
6201 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
6202 (_start): Do not use BP_SYM.
6203 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
6204 "bp-asm.h".
6205 (strcat): Do not use BP_SYM.
6206 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
6207 "bp-asm.h".
6208 (STRCMP): Do not use BP_SYM.
6209 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
6210 "bp-asm.h".
6211 (STRCPY): Do not use BP_SYM.
6212 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
6213 "bp-asm.h".
6214 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
6215 "bp-asm.h".
6216 (FUNCTION): Do not use BP_SYM.
6217 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
6218 weak_alias.
6219 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
6220
f238fd19
AJ
62212013-02-17 Andreas Jaeger <aj@suse.de>
6222
6223 * time/Versions: Sort entries.
6224 * string/Versions: Likewise.
6225 * resolv/Versions: Likewise.
6226 * posix/Versions: Likewise.
6227 * iconv/Versions: Likewise.
6228 * elf/Versions: Likewise.
6229 * wcsmbs/Versions: Likewise.
6230
bd07f23c 62312013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 6232
22af19f9
SP
6233 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
6234 loop termination condition.
6235
4709fe76
SP
6236 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
6237 variable to calculate EZ.
6238 (__sqr): Likewise.
2d0e0f29
SP
6239
6240 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
6241 the lower precision input.
6242
daaa7713
JM
62432013-02-15 Joseph Myers <joseph@codesourcery.com>
6244
6245 [BZ #13550]
6246 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
6247 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
6248 (run-via-rtld-prefix): Do not handle %-bp tests.
6249 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
6250 (all-object-suffixes): Remove .ob.
6251 (bppfx): Remove variable.
6252 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
6253 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
6254 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
6255 [$(build-bounded) = yes] (libtype.ob): Likewise.
6256 * Makerules (elide-routines.ob): Remove variable.
6257 (do-tests-clean): Do not handle *-bp.out.
6258 (common-mostlyclean): Do not handle *-bp and *-bp.out.
6259 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
6260 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
6261 (tests): Do not include $(tests-bp.out).
6262 (xtests): Do not include $(xtests-bp.out).
6263 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
6264 [$(build-bounded) = yes] ($(addprefix
6265 $(objpfx),$(binaries-bounded))): Remove rule.
6266 ($(objpfx)%-bp.out): Remove rule.
6267 * config.make.in (build-bounded): Remove variable.
6268 * crypt/Makefile [$(build-bounded) = yes]
6269 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
6270 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
6271 append to variable.
6272 [$(build-bounded) = yes] (install-lib): Likewise.
6273 [$(build-bounded) = yes] (generated): Likewise.
6274 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
6275 Remove rule.
6276 * intl/Makefile [$(build-bounded) = yes]
6277 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
6278 * math/Makefile [$(build-bounded) = yes]
6279 ($(tests:%=$(objpfx)%-bp): Likewise.
6280 * misc/Makefile [$(build-bounded) = yes]
6281 ($(objpfx)tst-tsearch-bp): Likewise.
6282 * nptl/Makeconfig (bounded-thread-library): Remove variable.
6283 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
6284 Remove dependency.
6285 * string/Makefile (o-objects.ob): Remove variable.
6286 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
6287 (CFLAGS-.ob): Remove variable.
6288 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
6289 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
6290 both definitions of variable.
6291 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
6292 (ASFLAGS-.ob): Remove variable.
6293
e97ed6dd
JM
62942013-02-14 Joseph Myers <joseph@codesourcery.com>
6295
2bdd4ca6
JM
6296 [BZ #13550]
6297 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
6298 Remove __BOUNDED_POINTERS__ from condition.
6299 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
6300 * string/bits/string2.h [!__NO_STRING_INLINES &&
6301 !__BOUNDED_POINTERS__]: Likewise.
6302 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
6303 Likewise.
6304 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
6305 Remove conditional code.
6306 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
6307 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
6308 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
6309 condition.
6310
e97ed6dd
JM
6311 [BZ #13550]
6312 * csu/libc-start.c: Do not include <bp-sym.h>.
6313 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
6314 * elf/dl-open.c: Do not include <bp-sym.h>.
6315 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
6316 * math/fegetenv.c: Do not include <bp-sym.h>.
6317 (fegetenv): Do not use BP_SYM in versioned symbols.
6318 * nptl/sysdeps/pthread/bits/libc-lockP.h
6319 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
6320 <bp-sym.h>.
6321 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6322 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
6323 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6324 (__pthread_mutex_destroy): Likewise.
6325 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6326 (__pthread_mutex_lock): Likewise.
6327 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6328 (__pthread_mutex_trylock): Likewise.
6329 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6330 (__pthread_mutex_unlock): Likewise.
6331 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6332 (__pthread_mutexattr_init): Likewise.
6333 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6334 (__pthread_mutexattr_destroy): Likewise.
6335 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6336 (__pthread_mutexattr_settype): Likewise.
6337 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6338 (__pthread_rwlock_init): Likewise.
6339 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6340 (__pthread_rwlock_destroy): Likewise.
6341 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6342 (__pthread_rwlock_rdlock): Likewise.
6343 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6344 (__pthread_rwlock_tryrdlock): Likewise.
6345 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6346 (__pthread_rwlock_wrlock): Likewise.
6347 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6348 (__pthread_rwlock_trywrlock): Likewise.
6349 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6350 (__pthread_rwlock_unlock): Likewise.
6351 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6352 (__pthread_key_create): Likewise.
6353 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6354 (__pthread_setspecific): Likewise.
6355 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6356 (__pthread_getspecific): Likewise.
6357 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
6358 Likewise.
6359 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6360 (_pthread_cleanup_push_defer): Likewise.
6361 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6362 (_pthread_cleanup_pop_restore): Likewise.
6363 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6364 (pthread_setcancelstate): Likewise.
6365 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
6366 <bp-sym.h>.
6367 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
6368 (memchr): Do not use BP_SYM in weak_alias.
6369 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
6370 (fegetenv): Do not use BP_SYM in versioned symbols.
6371 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
6372 (fesetenv): Do not use BP_SYM in versioned symbols.
6373 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
6374 (feupdateenv): Do not use BP_SYM in versioned symbols.
6375 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
6376 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
6377 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
6378 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
6379 (open64): Do not use BP_SYM in weak_alias.
6380 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
6381 (fegetenv): Do not use BP_SYM in versioned symbols.
6382 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
6383 (fesetenv): Do not use BP_SYM in versioned symbols.
6384 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
6385 (feupdateenv): Do not use BP_SYM in versioned symbols.
6386 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
6387 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
6388 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
6389 (feraiseexcept): Do not use BP_SYM in versioned symbols.
6390 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
6391 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
6392 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
6393 <bp-sym.h>.
6394 (__libc_start_main): Do not use BP_SYM.
6395
d6752ccd
SP
63962013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6397
cb57ce60
SP
6398 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
6399 redundant return line.
6400 (norm): Likewise.
6401 (denorm): Likewise.
6402 (dbl_mp): Likewise.
6403 (sub_magnitudes): Likewise.
6404 (__add): Likewise.
6405 (__sub): Likewise.
6406 (__mul): Likewise.
6407 (__inv): Likewise.
6408 (__dvd): Likewise.
6409 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
6410 (norm): Likewise.
6411 (denorm): Likewise.
6412 (dbl_mp): Likewise.
6413 (sub_magnitudes): Likewise.
6414 (__add): Likewise.
6415 (__sub): Likewise.
6416 (__mul): Likewise.
6417 (__inv): Likewise.
6418 (__dvd): Likewise.
6419
f414520d
SP
6420 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
6421 instead of __mul.
6422 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
6423 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
6424 (cc32): Likewise.
6425
d6752ccd
SP
6426 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
6427 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
6428 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
6429 of __mul for squares.
6430 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
6431 function
6432 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
6433 Likewise.
6434 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
6435 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
6436
70d9946a
JM
64372013-02-13 Joseph Myers <joseph@codesourcery.com>
6438
6439 [BZ #13550]
6440 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
6441 code.
6442 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
6443 prototype or function definition. Rename ubp_* variables and
6444 parameters. Remove argv definitions conditional on
6445 [__BOUNDED_POINTERS__].
6446 * debug/backtrace.c (__backtrace): Do not use __unbounded.
6447 * elf/dl-runtime.c (_dl_fixup): Likewise.
6448 * include/set-hooks.h (RUN_HOOK): Likewise.
6449 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
6450 definition.
6451 * string/strcpy.c (strcpy): Do not use __unbounded.
6452 * sysdeps/generic/frame.h (struct layout): Likewise.
6453 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
6454 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
6455 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
6456 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
6457 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
6458 (__backtrace): Likewise.
6459 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
6460 use __ptrvalue.
6461 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
6462 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
6463 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
6464 Likewise.
6465 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
6466 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
6467 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
6468 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
6469 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
6470 Do not use __unbounded.
6471 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
6472 Rename __unboundedrlimits parameter to rlimits in prototype.
6473 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
6474 Do not use __unbounded.
6475 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
6476 not use __ptrvalue.
6477 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
6478 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
6479 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
6480 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
6481 __ptrvalue or __unbounded.
6482 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
6483 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
6484 use __unbounded.
6485 (__new_msgctl): Do not use __ptrvalue.
6486 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
6487 __unbounded.
6488 (__libc_msgrcv): Do not use __ptrvalue.
6489 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
6490 startup_info): Do not use __unbounded.
6491 (__libc_start_main): Likewise. Rename ubp_* variables and
6492 parameters. Remove argv definitions conditional on
6493 [__BOUNDED_POINTERS__].
6494 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
6495 __ptrvalue.
6496 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
6497 use __unbounded.
6498 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
6499 or __ptrvalue.
6500 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
6501 use __unbounded.
6502 (__new_shmctl): Do not use __ptrvalue.
6503 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
6504 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
6505 Likewise.
6506 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
6507 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
6508 (__libc_sigaction): Likewise.
6509 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
6510 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
6511 Likewise.
6512 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
6513
cc7834d6
OB
65142013-02-13 Ondřej Bílka <neleai@seznam.cz>
6515
ffb1ec7b 6516 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
6517
6518 * string/mempcpy.c: Implement by calling memcpy.
6519
bdf02814
SP
65202013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6521
c2af38aa
SP
6522 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
6523
4e92d59e
SP
6524 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
6525 evaluation.
6526
909279a5
SP
6527 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
6528 values in the mantissa.
6529
bdf02814
SP
6530 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
6531 minimize writes to Z.
6532 (sub_magnitudes): Simplify code a bit.
6533
cd525923
RM
65342013-02-12 Roland McGrath <roland@hack.frob.com>
6535
6536 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
6537 from the message. The linker prefixes all warnings with that already.
6538
7e2f0d2d
AS
65392013-02-12 Andreas Schwab <schwab@suse.de>
6540
a445af0b
AS
6541 [BZ #15078]
6542 * posix/regexec.c (extend_buffers): Add parameter min_len.
6543 (check_matching): Pass minimum needed length.
6544 (clean_state_log_if_needed): Likewise.
6545 (get_subexp): Likewise.
6546 * posix/Makefile (tests): Add bug-regex34.
6547 (bug-regex34-ENV): Define.
6548 * posix/bug-regex34.c: New file.
6549
7e2f0d2d
AS
6550 [BZ #11561]
6551 * posix/regcomp.c (parse_bracket_exp): When looking up collating
6552 elements compare against the byte sequence of it, not its name.
6553 * posix/Makefile (tests): Add bug-regex35.
6554 (bug-regex35-ENV): Define.
6555 * posix/bug-regex35.c: New file.
6556
a175b684
TV
65572013-02-11 Tom de Vries <tom@codesourcery.com>
6558
6559 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
6560 comment.
6561 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
6562 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
6563 (CHECK_EOL): Add undef.
6564
310998fe 65652013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
6566
6567 * bits/stdlib-bsearch.h: New file.
6568 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 6569 * stdlib/stdlib.h: Likewise.
41eda41d 6570
8ded91fb
RM
65712013-02-11 Roland McGrath <roland@hack.frob.com>
6572
6573 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
6574 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
6575 declaration.
6576 * manual/search.texi (Array Search Function): Add missing const in
6577 lfind prototype.
6578 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
6579 declaration to use rlim_t.
6580 (Basic Scheduling Functions): Remove erroneous const from
6581 sched_getparam prototype. Remove erroneous * from
6582 sched_get_priority_max and sched_get_priority_min prototypes.
6583 (Resource Usage): Fix summary @comment on vtimes to refer to
6584 sys/vtimes.h rather than vtimes.h.
6585 Add missing *s in vtimes prototype.
6586 (Limits on Resources): Fix ulimit prototype to return long int.
6587 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
6588 prototypes to use long int rather than double.
6589 (BSD Random): Fix initstate and setstate to use char *, not void *.
6590 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
6591 prototype to make second argument 'struct aiocb64 *const[]'.
6592 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
6593 (Status of AIO Operations): Remove erroneous const in aio_return and
6594 aio_return64 prototypes.
6595 (Synchronizing I/O): Fix sync prototype to return void.
6596 * manual/startup.texi (Suboptions): Remove an erroneous const in
6597 getsubopt prototype.
6598 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
6599 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
6600 use size_t rather than int.
6601 (Scanning All Users): Likewise for getpwent_r.
6602 (Setting Groups): Add missing const to setgroups prototype.
6603 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
6604 * manual/socket.texi (Host Names): Fix gethostbyaddr and
6605 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
6606 'const void *' rather than 'const char *'.
6607 (Host Address Functions): Likewise for inet_ntop.
6608 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
6609 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
6610 ssize_t for return value.
6611 (Sending Data): Likewise for send, sendto, sendmsg.
6612 (Socket Option Functions): Add a missing const in setsockopt prototype.
6613 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
6614 use wchar_t for the argument.
6615 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
6616 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
6617 take no arguments.
6618 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
6619 double/float/long double for second argument.
6620 Fix return types of significand, significandf, significandl.
6621 * manual/filesys.texi (Setting Permissions): Use mode_t for second
6622 argument in fchmod prototype.
6623 (File Owner): Use uid_t and gid_t in fchown prototype.
6624 (File Times): Add const to utimes, futimes, and lutimes prototypes.
6625 (Making Special Files): Use mode_t and dev_t in mknod prototype.
6626 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
6627 use 'const struct dirent **' as argument types to CMP function pointer
6628 argument.
6629 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
6630 (File Times): Fix summary magic @comment for struct utimbuf and utime
6631 to refer to utime.h, not time.h.
6632 * manual/string.texi (Argz Functions): Add missing const in
6633 argz_extract and argz_next prototypes.
6634 (Finding Tokens in a String): Likewise for basename.
6635 (String/Array Comparison): Fix typo in wcscasecmp prototype.
6636 (Copying and Concatenation): Fix typo in wmemmove prototype.
6637 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
6638 (Signal Stack): Remove erroneous const in sigstack prototype.
6639 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
6640 prototype.
6641 (Simple Calendar Time): Likewise for stime.
6642 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
6643 prototype.
6644 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
6645 say sys/sysctl.h instead.
6646 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
6647 and vsyslog prototypes.
6648
fe77fe6d
TV
66492013-02-11 Tom de Vries <tom@codesourcery.com>
6650
6651 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
6652 Remove.
6653
3a09b620
RM
66542013-02-11 Roland McGrath <roland@hack.frob.com>
6655
6656 * misc/sys/mman.h: Fix typo in mremap comment.
6657
550a0b89
RM
66582013-02-08 Roland McGrath <roland@hack.frob.com>
6659
6660 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
6661 the '\0' terminator.
6662
a2da1673
JM
66632013-02-08 Joseph Myers <joseph@codesourcery.com>
6664
6665 [BZ #13550]
6666 * debug/segfault.c: Don't include <bp-checks.h>.
6667 * sysdeps/generic/bp-checks.h: Remove file.
6668 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
6669 (__GETDENTS): Don't use CHECK_N.
6670 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
6671 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
6672 (__getgroups): Don't use CHECK_N.
6673 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
6674 (setgroups): Don't use CHECK_N.
6675 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
6676 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
6677 (__libc_msgrcv): Don't use CHECK_N.
6678 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
6679 (__libc_msgsnd): Don't use CHECK_N.
6680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
6681 <bp-checks.h>.
6682 (__libc_pread): Don't use CHECK_N.
6683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
6684 include <bp-checks.h>.
6685 (__libc_pread64): Don't use CHECK_N.
6686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
6687 include <bp-checks.h>.
6688 (__libc_pwrite): Don't use CHECK_N.
6689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
6690 include <bp-checks.h>.
6691 (__libc_pwrite64): Don't use CHECK_N.
6692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
6693 <bp-checks.h>.
6694 (__libc_pread): Don't use CHECK_N.
6695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
6696 include <bp-checks.h>.
6697 (__libc_pread64): Don't use CHECK_N.
6698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
6699 include <bp-checks.h>.
6700 (__libc_pwrite): Don't use CHECK_N.
6701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
6702 include <bp-checks.h>.
6703 (__libc_pwrite64): Don't use CHECK_N.
6704 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
6705 (do_pread): Don't use CHECK_N.
6706 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
6707 (do_pread64): Don't use CHECK_N.
6708 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
6709 (do_pwrite): Don't use CHECK_N.
6710 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
6711 (do_pwrite64): Don't use CHECK_N.
6712 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
6713 (__libc_readv): Don't use CHECK_N.
6714 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
6715 (semop): Don't use CHECK_N.
6716 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
6717 <bp-checks.h>.
6718 (semtimedop): Don't use CHECK_N.
6719 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
6720 (__libc_pread): Don't use CHECK_N.
6721 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
6722 <bp-checks.h>.
6723 (__libc_pread64): Don't use CHECK_N.
6724 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
6725 <bp-checks.h>.
6726 (__libc_pwrite): Don't use CHECK_N.
6727 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
6728 <bp-checks.h>.
6729 (__libc_pwrite64): Don't use CHECK_N.
6730 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
6731 <bp-checks.h>.
6732 (__libc_msgrcv): Don't use CHECK_N.
6733 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
6734 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
6735 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
6736 (__libc_writev): Don't use CHECK_N.
6737
b84660a8
RM
67382013-02-08 Roland McGrath <roland@hack.frob.com>
6739
7f3e75f8
RM
6740 * string/strcpy.c: Removed unused variable.
6741
b84660a8
RM
6742 * Makeconfig (+sysdep-includes): Define with := rather than =.
6743 Use an existing include/ subdir of each sysdeps dir before it.
6744
471514d3
CD
67452013-02-08 Carlos O'Donell <carlos@redhat.com>
6746
6747 * nscd/connection.c (register_traced_file): Comment function.
6748 [HAVE_INOTIFY] (union __inev): Define.
6749 [HAVE_INOTIFY] (inotify_check_files): New function.
6750 [HAVE_INOTIFY] (clear_db_cache): Likewise.
6751 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
6752 clear_db_cache.
6753 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
6754
b2d3c3be
CD
67552013-02-08 Carlos O'Donell <carlos@redhat.com>
6756
6757 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
6758 loaded if not already and that a failure is permanent.
6759
b39949d2
CD
67602013-02-08 Carlos O'Donell <carlos@redhat.com>
6761
ddacd1db 6762 [BZ #15006]
b39949d2
CD
6763 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
6764 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
6765
b2c9eff4
JM
67662013-02-08 Joseph Myers <joseph@codesourcery.com>
6767
f3aae3f3
JM
6768 [BZ #13550]
6769 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
6770 (CHECK_1_NULL_OK): Likewise.
6771 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
6772 (__fxstat): Do not use CHECK_1.
6773 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
6774 <bp-checks.h>.
6775 (___fxstat64): Do not use CHECK_1.
6776 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
6777 <bp-checks.h>.
6778 (__fxstatat): Do not use CHECK_1.
6779 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
6780 <bp-checks.h>.
6781 (__fxstatat64): Do not use CHECK_1.
6782 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
6783 <bp-checks.h>.
6784 (__fxstat): Do not use CHECK_1.
6785 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
6786 <bp-checks.h>.
6787 (__fxstatat): Do not use CHECK_1.
6788 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
6789 <bp-checks.h>.
6790 (__getresgid): Do not use CHECK_1.
6791 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
6792 <bp-checks.h>.
6793 (__getresuid): Do not use CHECK_1.
6794 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
6795 <bp-checks.h>.
6796 (__lxstat): Do not use CHECK_1.
6797 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
6798 <bp-checks.h>.
6799 (__old_msgctl): Do not use CHECK_1.
6800 (__new_msgctl): Likewise.
6801 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
6802 <bp-checks.h>.
6803 (__new_setrlimit): Do not use CHECK_1.
6804 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
6805 <bp-checks.h>.
6806 (__old_shmctl): Do not use CHECK_1.
6807 (__new_shmctl): Likewise.
6808 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
6809 <bp-checks.h>.
6810 (__xstat): Do not use CHECK_1.
6811 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
6812 (__lxstat): Do not use CHECK_1.
6813 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
6814 <bp-checks.h>.
6815 (___lxstat64): Do not use CHECK_1.
6816 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
6817 (__old_msgctl): Do not use CHECK_1.
6818 (__new_msgctl): Likewise.
6819 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
6820 <bp-checks.h>.
6821 (__gettimeofday): Do not use CHECK_1.
6822 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
6823 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
6824 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
6825 <bp-checks.h>.
6826 (__gettimeofday): Do not use CHECK_1.
6827 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
6828 (__old_shmctl): Do not use CHECK_1_NULL_OK.
6829 (__new_shmctl): Do not use CHECK_1.
6830 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
6831 <bp-checks.h>.
6832 (do_sigtimedwait): Do not use CHECK_1.
6833 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
6834 <bp-checks.h>.
6835 (do_sigwaitinfo): Do not use CHECK_1.
6836 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
6837 <bp-checks.h>.
6838 (msgctl): Do not use CHECK_1.
6839 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
6840 <bp-checks.h>.
6841 (shmctl): Do not use CHECK_1.
6842 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
6843 (ustat): Do not use CHECK_1.
6844 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
6845 <bp-checks.h>.
6846 (__fxstat): Do not use CHECK_1.
6847 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
6848 <bp-checks.h>.
6849 (__fxstatat): Do not use CHECK_1.
6850 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
6851 <bp-checks.h>.
6852 (__lxstat): Do not use CHECK_1.
6853 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
6854 <bp-checks.h>.
6855 (__xstat): Do not use CHECK_1.
6856 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
6857 (__xstat): Do not use CHECK_1.
6858 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
6859 (___xstat64): Do not use CHECK_1.
6860
b2c9eff4
JM
6861 [BZ #13550]
6862 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
6863 definitions.
6864 (CHECK_BOUNDS_HIGH): Likewise.
6865 * string/strcpy.c: Do not include <bp-checks.h>.
6866 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
6867
f1d70dad
RM
68682013-02-07 Roland McGrath <roland@hack.frob.com>
6869
6870 * nscd/nscd-client.h (__nscd_drop_map_ref):
6871 Add __attribute__ ((unused)).
6872 * nis/nss-nisplus.h (niserr2nss): Likewise.
6873
6874 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
6875 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
6876
6877 * csu/libc-tls.c (init_static_tls, init_slotinfo):
6878 Remove inline keyword.
6879 * include/rounding-mode.h (round_away): Likewise.
6880 * libio/wfileops.c (adjust_wide_data): Likewise.
6881 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
6882 (__m128i_strloadu_tolower): Likewise.
6883 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
6884 (__m128i_strloadu_tolower): Likewise.
6885 * time/mktime.c (ydhms_diff): Likewise.
6886 * locale/elem-hash.h (elem_hash): Likewise.
6887 * locale/setlocale.c (setdata): Likewise.
6888 * posix/regex_internal.h (re_string_char_size_at): Likewise.
6889 (re_string_wchar_at): Likewise.
6890 (bitset_not, bitset_merge, bitset_mask): Likewise.
6891 [!(__GNUC__ > 3)] (inline): Remove macro.
6892 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
6893 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
6894 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
6895 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
6896 * string/memcmp.c (memcmp_bytes): Likewise.
6897 * locale/programs/locarchive.c (compute_hashval): Likewise.
6898 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
6899 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
6900 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
6901 * nss/getent.c (print_rpc, print_protocols): Likewise.
6902 (print_passwd, print_group, print_aliases): Likewise.
6903 * nis/nss-nisplus.h (niserr2nss): Likewise.
6904 * nscd/connections.c (restart_p): Likewise.
6905 Change return type to bool.
6906
eab55bfb
RM
69072013-02-05 Roland McGrath <roland@hack.frob.com>
6908
7bd642f5
RM
6909 * Makeconfig (all-Depend-files): Add existing
6910 $(sorted-subdirs:=/Depend) files.
6911 (all-subdirs): Remove nss.
6912 * sysdeps/unix/inet/Subdirs: Add it here instead.
6913 * hesiod/Depend: New file.
6914
573c29b2
RM
6915 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
6916 instead of calling alloca.
6917
b2e25af0
RM
6918 * io/lseek.c (__lseek): Rename to __libc_lseek.
6919 Define __lseek as an alias.
6920
eab55bfb
RM
6921 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
6922
9a0d1941
CD
69232013-02-04 Carlos O'Donell <carlos@redhat.com>
6924
6925 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
6926 else clause and remove check for non-standard endianness.
6927
b83bbec4
DM
69282013-02-04 David S. Miller <davem@davemloft.net>
6929
6930 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6931
6277fdab
JM
69322013-02-04 Joseph Myers <joseph@codesourcery.com>
6933
6934 [BZ #13550]
6935 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
6936 (__ubp_memchr): Remove prototype.
6937 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
6938 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
6939 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
6940 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
6941 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
6942 Remove alias.
6943 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
6944 (__ubp_memchr): Likewise.
6945 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
6946 (__ubp_memchr): Likewise.
6947 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
6948 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
6949 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
6950 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
6951 CHECK_STRING.
6952 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
6953 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
6954 (__getcwd): Do not use CHECK_STRING.
6955 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
6956 <bp-checks.h>.
6957 (__real_chown): Do not use CHECK_STRING.
6958 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
6959 <bp-checks.h>.
6960 (fchownat): Do not use CHECK_STRING.
6961 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
6962 CHECK_STRING.
6963 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
6964 <bp-checks.h>.
6965 (__lchown): Do not use CHECK_STRING.
6966 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
6967 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
6968 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
6969 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
6970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
6971 include <bp-checks.h>.
6972 (truncate64): Do not use CHECK_STRING.
6973 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
6974 <bp-checks.h>.
6975 (__real_chown): Do not use CHECK_STRING.
6976 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
6977 <bp-checks.h>.
6978 (__lchown): Do not use CHECK_STRING.
6979 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
6980 <bp-checks.h>.
6981 (__chown): Do not use CHECK_STRING.
6982 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
6983 <bp-checks.h>.
6984 (truncate64): Do not use CHECK_STRING.
6985 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
6986 Likewise.
6987 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
6988 (__xmknod): Do not use CHECK_STRING.
6989 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
6990 <bp-checks.h>.
6991 (__xmknodat): Do not use CHECK_STRING.
6992 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
6993 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
6994
903ae060
AS
69952013-02-04 Andreas Schwab <schwab@suse.de>
6996
6997 [BZ #14142]
6998 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
6999 * include/netdb.h: Likewise for h_errno.
7000 * elf/tst-stackguard1.c: Include <tls.h>.
7001
542f9466
JK
70022013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7003
7004 * elf/link.h (struct link_map): Extend the l_addr comment.
7005 * include/link.h (struct link_map): Likewise.
7006
e782a927
JM
70072013-02-01 Joseph Myers <joseph@codesourcery.com>
7008
7009 [BZ #13550]
7010 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
7011 (BOUNDED_1): Remove macro.
7012 * debug/backtrace.c: Don't include <bp-checks.h>.
7013 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
7014 (__backtrace): Likewise.
7015 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
7016 <bp-checks.h>.
7017 (__backtrace): Don't use BOUNDED_1.
7018 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
7019 <bp-checks.h>.
7020 (__backtrace): Don't use BOUNDED_1.
7021 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
7022 (__backtrace): Don't use BOUNDED_1.
7023 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
7024 (shmat): Don't use BOUNDED_N.
7025
8cf28c5e
JM
70262013-01-31 Joseph Myers <joseph@codesourcery.com>
7027
3a7ac8a0
JM
7028 [BZ #13550]
7029 * sysdeps/generic/bp-start.h: Remove file.
7030 * csu/libc-start.c: Don't include <bp-start.h>.
7031 (LIBC_START_MAIN): Set up __environ directly instead of using
7032 INIT_ARGV_and_ENVIRON.
7033 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
7034 <bp-start.h>.
7035
f3499f95
JM
7036 [BZ #13550]
7037 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
7038 definitions.
7039 (CHECK_FCNTL): Likewise.
7040 (CHECK_N_PAGES): Likewise.
7041
32a45bea
JM
7042 [BZ #13550]
7043 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
7044 definitions.
7045 (CHECK_SIGSET_NULL_OK): Likewise.
7046 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
7047 <bp-checks.h>.
7048 (sigpending): Don't use CHECK_SIGSET.
7049 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
7050 <bp-checks.h>.
7051 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7052 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
7053 <bp-checks.h>.
7054 (do_sigsuspend): Don't use CHECK_SIGSET.
7055 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
7056 use CHECK_SIGSET.
7057 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
7058 (do_sigwait): Don't use CHECK_SIGSET.
7059 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
7060 use CHECK_SIGSET.
7061 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
7062 include <bp-checks.h>.
7063 (sigpending): Don't use CHECK_SIGSET.
7064 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
7065 include <bp-checks.h>.
7066 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7067 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
7068 <bp-checks.h>.
7069 (sigpending): Don't use CHECK_SIGSET.
7070 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
7071 <bp-checks.h>.
7072 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7073
2e8a5c8c
JM
7074 [BZ #13550]
7075 * sysdeps/generic/bp-semctl.h: Remove file.
7076 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
7077 <bp-checks.h> and <bp-semctl.h>.
7078 (__old_semctl): Don't use CHECK_SEMCTL.
7079 (__new_semctl): Likewise.
7080 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
7081 and <bp-semctl.h>.
7082 (__old_semctl): Don't use CHECK_SEMCTL.
7083 (__new_semctl): Likewise.
7084 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
7085 <bp-checks.h> and <bp-semctl.h>.
7086 (__old_semctl): Don't use CHECK_SEMCTL.
7087 (__new_semctl): Likewise.
7088 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
7089 <bp-checks.h> and <bp-semctl.h>.
7090 (semctl): Don't use CHECK_SEMCTL.
7091
c2d54929
JM
7092 [BZ #13550]
7093 * Makerules (elide-bp-thunks): Remove variable.
7094 (elide-routines.oS): Don't use $(elide-bp-thunks).
7095 (elide-routines.os): Likewise.
7096 (elide-routines.o): Likewise.
7097 (elide-routines.op): Likewise.
7098 (elide-routines.og): Likewise.
7099 (objects): Don't use $(bp-thunks).
7100 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
7101 include.
7102 (common-generated): Do not add s-proto-bp.d.
7103 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
7104 (int): Likewise.
7105 (typ): Likewise.
7106 Do not generate makefile rules for bounded-pointer thunks.
7107 * sysdeps/generic/bp-thunks.h: Remove file.
7108 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
7109 * sysdeps/unix/s-proto-bp.S: Likewise.
7110
8cf28c5e
JM
7111 [BZ #15062]
7112 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
7113 parts of result separately when argument is not close to line from
7114 -i to i and one part of argument is small.
7115 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7116 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7117 * math/libm-test.inc (cacos_test): Add more tests.
7118 (casin_test): Likewise.
7119 (casinh_test): Likewise.
7120 * sysdeps/i386/fpu/libm-test-ulps: Update.
7121 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7122
c4e33b8d
DM
71232013-01-31 David S. Miller <davem@davemloft.net>
7124
7125 * po/de.po: Update from translation team.
7126
3b60b421
MK
71272013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
7128
7129 * time/tzfile.c: Include stdint.h for SIZE_MAX.
7130
bb931195
TS
71312013-01-25 Thomas Schwinge <thomas@codesourcery.com>
7132
b5a5da23
TS
7133 * configure.in (_AC_PROG_CC_C89): New definition.
7134 * configure: Regenerate.
7135
bb931195
TS
7136 * configure.in (AC_PROG_CPP): New definition.
7137 * configure: Regenerate.
7138
8c53a12c
JM
71392013-01-23 Joseph Myers <joseph@codesourcery.com>
7140
7141 * debug/tst-backtrace.h: New file.
7142 * debug/tst-backtrace2.c: Include tst-backtrace.h.
7143 (ret): Remove variable.
7144 (x): Likewise.
7145 (FAIL): Remove macro.
7146 (NO_INLINE): Likewise.
7147 (fn1): Use match function instead of strstr.
7148 * debug/tst-backtrace3.c: Include tst-backtrace.h.
7149 (ret): Remove variable.
7150 (x): Likewise.
7151 (FAIL): Remove macro.
7152 (NO_INLINE): Likewise.
7153 (fn): Use match function instead of strstr.
7154 * debug/tst-backtrace4.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 * debug/tst-backtrace5.c: Include tst-backtrace.h.
7161 (ret): Remove variable.
7162 (x): Likewise.
7163 (FAIL): Remove macro.
7164 (NO_INLINE): Likewise.
7165 (handle_signal): Use match function instead of strstr.
7166
4858fa2a
RM
71672013-01-23 Roland McGrath <roland@hack.frob.com>
7168
7169 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
7170
bae8e7f5
DM
71712013-01-23 David S. Miller <davem@davemloft.net>
7172
7173 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
7174 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
7175 argument of CAS if possible.
7176 * sysdeps/sparc/sparc64/bits/atomic.h
7177 (__arch_compare_and_exchange_val_32_acq): Likewise.
7178 (__arch_compare_and_exchange_val_64_acq): Likewise.
7179
9cbbc4ae
PT
71802013-01-23 Pino Toscano <toscano.pino@tiscali.it>
7181
7182 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
7183 * sysdeps/posix/ulimit.c: ... this.
92a601b8 7184 Include <limits.h>.
67b3f58c 7185 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 7186
5655a0b5
AC
71872013-01-23 Adam Conrad <adconrad@0c3.net>
7188
7189 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
7190 (LDFLAGS-tst-array5): Likewise.
7191
052aff95
JM
71922013-01-23 Joseph Myers <joseph@codesourcery.com>
7193
7194 [BZ #15036]
7195 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
7196 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
7197 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
7198 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
7199
7c1e01aa
DM
72002013-01-21 David S. Miller <davem@davemloft.net>
7201
7202 * sysdeps/sparc/backtrace.c: New file.
7203 * sysdeps/sparc/sparc32/backtrace.h: New file.
7204 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
7205 * sysdeps/sparc/sparc64/backtrace.h: New file.
7206 * sysdeps/sparc/sparc64/backtrace.c: Delete.
7207 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
7208 -funwind-tables.
7209
ab087e0a
AS
72102013-01-21 Andreas Schwab <schwab@suse.de>
7211
7212 [BZ #15020]
7213 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
7214 closed its stdout.
7215
ed689c2f
AS
72162013-01-20 Andreas Schwab <schwab@linux-m68k.org>
7217
7218 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
7219 "mpa2.h".
7220 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7221
31d470ac
JM
72222013-01-18 Joseph Myers <joseph@codesourcery.com>
7223 Mark Mitchell <mark@codesourcery.com>
7224 Tom de Vries <tom@codesourcery.com>
7225 Paul Pluzhnikov <ppluzhnikov@google.com>
7226
7227 * debug/tst-backtrace2.c: New file.
7228 * debug/tst-backtrace3.c: Likewise.
7229 * debug/tst-backtrace4.c: Likewise.
7230 * debug/tst-backtrace5.c: Likewise.
7231 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
7232 (CFLAGS-tst-backtrace3.c): Likewise.
7233 (CFLAGS-tst-backtrace4.c): Likewise.
7234 (CFLAGS-tst-backtrace5.c): Likewise.
7235 (LDFLAGS-tst-backtrace2): Likewise.
7236 (LDFLAGS-tst-backtrace3): Likewise.
7237 (LDFLAGS-tst-backtrace4): Likewise.
7238 (LDFLAGS-tst-backtrace5): Likewise.
7239 (tests): Add new tests tst-backtrace2, tst-backtrace3,
7240 tst-backtrace4 and tst-backtrace5.
7241
90567f30 72422013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
7243 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7244
7245 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
7246 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
7247 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
7248 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
7249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7250 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
7251 "+r" and remove output regs list as redundant. Add explicit inline
7252 asm to specify register of return val to work around compiler codegen
7253 bug. Remove (int) cast on return value. Add return type parameter to
7254 use in macro so that this macro does not truncate return value for
7255 64-bit values.
7256 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
7257 pass to INTERNAL_VSYSCALL_NCS.
7258 (INLINE_VSYSCALL): Add 'long int' as return type to
7259 INTERNAL_VSYSCALL_NCS macro invocation.
7260 (INTERNAL_VSYSCALL): Add 'long int' as return type to
7261 INTERNAL_VSYSCALL_NCS macro invocation.
7262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7263
d3b9ea61
SP
72642013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7265
0b57daeb
SP
7266 [BZ #14496]
7267 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
7268 Fix application of SIMD FP exception mask.
7269
caa99d06
SP
7270 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
7271 mp_no from a power of two.
7272 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
7273 __mpexp_twomm1. Use __pow_mp.
7274
d3b9ea61
SP
7275 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
7276 multiplication.
7277
1dbaee3c
DM
72782013-01-17 David S. Miller <davem@davemloft.net>
7279
7280 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7281
728d7b43
JM
72822013-01-17 Joseph Myers <joseph@codesourcery.com>
7283
7284 [BZ #15023]
7285 * include/complex.h: Condition contents on [!_COMPLEX_H].
7286 (__kernel_casinhf): New prototype.
7287 (__kernel_casinh): Likewise.
7288 (__kernel_casinhl): Likewise.
7289 * math/Makefile (libm_calls): Add k_casinh.
7290 * math/k_casinh.c: New file.
7291 * math/k_casinhf.c: Likewise.
7292 * math/k_casinhl.c: Likewise.
7293 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
7294 finite nonzero arguments.
7295 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
7296 finite nonzero arguments.
7297 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
7298 finite nonzero arguments.
7299 * math/s_casinh.c: Do not include <float.h>.
7300 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
7301 * math/s_casinhf.c: Do not include <float.h>.
7302 (__casinhf): Move code for finite nonzero arguments to
7303 k_casinhf.c.
7304 * math/s_casinhl.c: Do not include <float.h>.
7305 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
7306 redefine.
7307 (__casinhl): Move code for finite nonzero arguments to
7308 k_casinhl.c.
7309 * math/libm-test.inc (cacos_test): Add more tests.
7310 * sysdeps/i386/fpu/libm-test-ulps: Update.
7311 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7312
2a26ef3a
PT
73132013-01-17 Pino Toscano <toscano.pino@tiscali.it>
7314
7315 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
7316 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
7317 [!HAVE_MREMAP]: Remove [defined linux] case.
7318 * malloc/arena.c: Do not include <malloc-sysdep.h>.
7319
a897655d
SP
73202013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7321
7322 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
7323
881ebe89 73242013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
7325
7326 * elf/elf.h (R_386_SIZE32): New relocation.
7327 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
7328 R_386_SIZE32.
7329 (elf_machine_rela): Likewise.
7330 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
7331 R_X86_64_SIZE64 and R_X86_64_SIZE32.
7332
59981e9b
JM
73332013-01-17 Joseph Myers <joseph@codesourcery.com>
7334
7335 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
7336 (FP_FAST_FMA): Do not define.
7337 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
7338 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
7339 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
7340 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
7341 !_SOFT_FLOAT]: Likewise.
7342 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
7343 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
7344 value.
7345 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
7346 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
7347 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
7348 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
7349 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
7350 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
7351 file.
7352
cfa8054f
AS
73532013-01-16 Andreas Schwab <schwab@suse.de>
7354
7355 [BZ #14327]
7356 * include/stdlib.h (__mktemp): Add declaration.
7357 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
7358 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
7359
dd930cc5
SP
73602013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7361
881ebe89
SP
7362 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
7363 definitions.
7364 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
7365 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
7366 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
7367 definitions here.
7368 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
7369 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
7370 definitions.
7371 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
7372 and ONE.
7373 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
7374 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
7375 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
7376 definitions.
7377 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
7378 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
7379 definitions.
7380 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 7381
dd930cc5
SP
7382 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
7383
c19a9f89
DM
73842013-01-15 David S. Miller <davem@davemloft.net>
7385
1aa61767
DM
7386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7387 trunc{,f} to libm-sysdep_routes.
7388 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
7390 file.
7391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
7392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
7393 file.
7394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
7395 file.
7396 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
7397 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
7398 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
7399 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
7400 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
7401 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
7402 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
7403 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
7404
c42d5e98
DM
7405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7406 nearbyint{,f} to libm-sysdep_routes.
7407 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
7409 New file.
7410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
7411 file.
7412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
7413 New file.
7414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
7415 file.
7416 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
7417 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
7418 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
7419 file.
7420 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
7421 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
7422 file.
7423 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
7424 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
7425 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
7426
c19a9f89
DM
7427 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
7428 libc_feholdexcept and libc_fesetenv.
7429
357679d2
MF
74302013-01-15 Mike Frysinger <vapier@gentoo.org>
7431
7432 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
7433
65a82e3d
DM
74342013-01-14 David S. Miller <davem@davemloft.net>
7435
8b954ab9
DM
7436 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
7437 (SPARC_ASM_VIS2_IFUNC): Likewise.
7438 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
7439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
7440 use of 'siam' instruction.
7441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
7442 Likewise.
7443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
7444 Likewise.
7445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
7446 Likewise.
7447 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
7448 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
7449 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
7450 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
7451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
7452 file.
7453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
7454 file.
7455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
7456 file.
7457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
7458 file.
7459 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
7460 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
7461 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
7462 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
7463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
7464 new VIS2 routines.
7465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
7466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
7468 Likewise.
7469 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
7470 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
7471 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
7472 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
7473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
7474 routines to libm-sysdep_routines.
7475 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7476
65a82e3d
DM
7477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7478 fdim/fdimf to libm-sysdep_routines.
7479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
7480 file.
7481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
7482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
7483 file.
7484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
7485 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
7486 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
7487 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
7488 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
7489 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
7490 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
7491
e34ab705
SP
74922013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7493
2a91b573
SP
7494 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
7495 to optimize copies.
7496
1066a534
SP
7497 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
7498 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
7499 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7500
e34ab705
SP
7501 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
7502 local variable MPTWO.
7503 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
7504 Likewise.
7505
aba5e596
MF
75062013-01-13 Mike Frysinger <vapier@gentoo.org>
7507
7508 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
7509 GLOB_NOESCAPE.
7510
e557e9e5
MF
75112013-01-13 Mike Frysinger <vapier@gentoo.org>
7512
7513 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
7514
0428cec9
MF
75152013-01-13 Mike Frysinger <vapier@gentoo.org>
7516
7517 * manual/pattern.texi (glob_t): Document gl_flags.
7518 (glob64_t): Likewise.
7519
8794a964
DM
75202013-01-11 David S. Miller <davem@davemloft.net>
7521
66438c3f
RM
7522 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
7523 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
7524 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
7525 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
7526 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
7527 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
7528 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
7529 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
7530 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
7531 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
7532 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
7533 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
7534 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
7535
4ae4244d
DM
7536 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
7537 sparc V9 rather than using V8 code.
7538 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
7539 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
7540
8794a964
DM
7541 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
7542 Move to...
7543 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
7544 Here.
7545
6270516e
RM
75462013-01-11 Roland McGrath <roland@hack.frob.com>
7547
7548 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
7549 not in the main loop.
7550 * configure: Regenerated.
7551
6a57d931
JM
75522013-01-11 Joseph Myers <joseph@codesourcery.com>
7553
7554 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
7555 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
7556 to just #else.
7557 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
7558 [!__GLIBC_HAVE_LONG_LONG] case.
7559 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
7560 condition to just #else.
7561 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
7562 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
7563 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
7564 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
7565 unconditional.
7566 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
7567 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
7568 #elif condition to just #else.
7569 * sysdeps/unix/sysv/linux/sys/sysmacros.h
7570 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
7571 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
7572 #elif condition to just #else.
7573
0e8529e9
SE
75742013-01-11 Steve Ellcey <sellcey@mips.com>
7575
7576 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
7577 (EF_MIPS_ARCH_64): Fix value.
7578 (EF_MIPS_ARCH_32R2): New.
7579 (EF_MIPS_ARCH_64R2): New.
7580
740b3dbe
L
75812013-01-11 H.J. Lu <hongjiu.lu@intel.com>
7582
7583 * Makeconfig (+link-pie-before-libc): New.
7584 (+link-pie-after-libc): Likewise.
7585 (+link-pie-tests): Likewise.
7586 (+link-pie): Rewritten.
7587 (link-before-libc): Remove $(config-LDFLAGS).
7588 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
7589 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
7590 (config-LDFLAGS): Renamed to ...
7591 (rtld-LDFLAGS): This.
7592 (rtld-tests-LDFLAGS): New macro.
7593 (link-libc-rpath-link): Likewise.
7594 (link-libc-tests-rpath-link): Likewise.
7595 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
7596 (link-libc): Prepand $(link-libc-rpath-link).
7597 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
7598 (test-program-prefix): New macro.
7599 (test-via-rtld-prefix): Likewise.
7600 (test-program-cmd): Likewise.
7601 (host-test-program-cmd): Likewise.
7602 * Makefile ($(common-objpfx)testrun.sh): Replace
7603 $(run-program-prefix) with $(test-program-prefix).
7604 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
7605 $(rtld-LDFLAGS).
7606 ($(common-objpfx)shlib.lds): Likewise.
7607 (build-module-helper): Likewise.
7608 ($(common-objpfx)format.lds): Likewise.
7609 * Rules (binaries-pie-tests): New.
7610 (binaries-pie-notests): Likewise.
7611 (binaries-pie): Rewritten.
7612 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
7613 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
7614 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
7615 (make-test-out): Replace $(host-built-program-cmd) with
7616 $(host-test-program-cmd).
7617 * config.make.in (build-hardcoded-path-in-tests): New variable.
7618 * configure.in (--enable-hardcoded-path-in-tests): New configure
7619 option.
7620 (hardcoded_path_in_tests): New AC_SUBST.
7621 * configure: Regenerated.
7622 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
7623 $(built-program-cmd) with $(test-program-cmd).
7624 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
7625 (test_program_cmd): This.
7626 * elf/Makefile ($(objpfx)order.out): Run test with
7627 $(test-program-prefix).
7628 ($(objpfx)order2.out): Likewise.
7629 ($(objpfx)tst-initorder.out): Likewise.
7630 ($(objpfx)tst-initorder2.out): Likewise.
7631 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
7632 $(test-program-cmd).
7633 ($(objpfx)tst-array1-static.out): Likewise.
7634 ($(objpfx)tst-array2.out): Likewise.
7635 ($(objpfx)tst-array3.out): Likewise.
7636 ($(objpfx)tst-array4.out): Likewise.
7637 ($(objpfx)tst-array5.out): Likewise.
7638 ($(objpfx)tst-array5-static.out): Likewise.
7639 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
7640 $(test-program-cmd).
7641 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
7642 $(run-program-prefix) with $(test-program-prefix).
7643 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
7644 (test_program_prefix): This.
7645 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
7646 $(run-program-prefix) with $(test-program-prefix).
7647 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
7648 (test_program_prefix): This.
7649 * iconvdata/tst-tables.sh: Likewise.
7650 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
7651 $(run-program-prefix) with $(test-program-prefix).
7652 ($(objpfx)tst-translit.out): Likewise.
7653 ($(objpfx)tst-gettext2.out): Likewise.
7654 ($(objpfx)tst-gettext4.out): Likewise.
7655 ($(objpfx)tst-gettext6.out): Likewise.
7656 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
7657 (test_program_prefix): This.
7658 * intl/tst-gettext2.sh: Likewise.
7659 * intl/tst-gettext4.sh Likewise.
7660 * intl/tst-gettext6.sh: Likewise.
7661 * intl/tst-translit.sh: Likewise.
7662 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
7663 with $(test-program-cmd).
7664 * libio/Makefile ($(objpfx)test-freopen.out): Replace
7665 $(run-program-prefix) with $(test-program-prefix).
7666 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
7667 (test_program_prefix): This.
7668 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
7669 $(run-program-prefix) with $(test-program-prefix).
7670 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
7671 (test_program_prefix): This.
7672 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
7673 * posix/Makefile ($(objpfx)globtest.out): Replace
7674 $(run-via-rtld-prefix) and $(test-wrapper) with
7675 $(test-program-prefix) and $(test-via-rtld-prefix).
7676 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
7677 $(test-program-prefix).
7678 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
7679 $(host-test-program-cmd).
7680 (tst-spawn-ARGS): Likewise.
7681 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
7682 $(test-program-prefix).
7683 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
7684 (test_via_rtld_prefix): This.
7685 (test_wrapper): Renamed to ...
7686 (test_program_prefix): This.
7687 (run_program_prefix): Replaced by test_program_prefix.
7688 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
7689 (test_program_prefix): This.
7690 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
7691 with $(host-test-program-cmd).
7692 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
7693 $(run-program-prefix) with $(test-program-prefix).
7694 ($(objpfx)tst-printf.out): Likewise.
7695 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
7696 $(test-program-cmd).
7697 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
7698 (test_program_prefix): This.
7699 * stdio-common/tst-unbputc.sh: Likewise.
7700 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
7701 $(run-program-prefix) with $(test-program-prefix).
7702 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
7703 (test_program_prefix): This.
7704 * string/Makefile ($(objpfx)tst-svc.out): Replace
7705 $(built-program-cmd) with $(test-program-cmd).
7706
c6fe55cf
AJ
77072013-01-11 Andreas Jaeger <aj@suse.de>
7708
7709 [BZ #15003]
7710 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
7711 value. Sync with Linux 3.7.
7712
9e6919c8
DM
77132013-01-10 David S. Miller <davem@davemloft.net>
7714
7715 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
7716 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
7717 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
7718
1c9f1a02
RM
77192013-01-10 Roland McGrath <roland@hack.frob.com>
7720
7721 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
7722 never set.
7723 * configure: Regenerated.
7724
b9de2dde
DM
77252013-01-10 David S. Miller <davem@davemloft.net>
7726
7727 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
7728 sparc V9 rather than using V8 code.
7729 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
7730 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
7731
e7f68ef4
RM
77322013-01-10 Roland McGrath <roland@hack.frob.com>
7733
7734 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
7735 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
7736 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
7737 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
7738 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
7739 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
7740 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
7741 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
7742 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
7743 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
7744 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
7745 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
7746 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
7747 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
7748 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
7749 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
7750 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
7751 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
7752 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
7753 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
7754 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
7755 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
7756 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
7757 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
7758 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
7759 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
7760 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
7761
5a47cc9c
DM
77622013-01-10 David S. Miller <davem@davemloft.net>
7763
7764 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7765
4cf8f209
L
77662013-01-10 H.J. Lu <hongjiu.lu@intel.com>
7767
7768 * posix/Makefile (tests-static): New variable.
7769 (tests): Add $(tests-static).
7770 (tst-exec-static-ARGS): New variable.
7771 (tst-spawn-static-ARGS): Likewise.
7772 * posix/tst-exec-static.c: New file.
7773 * posix/tst-spawn-static.c: Likewise.
7774 * posix/tst-exec.c: Support run directly.
7775 * posix/tst-spawn.c: Likewise.
7776
fed0faa1
JM
77772013-01-10 Joseph Myers <joseph@codesourcery.com>
7778
828beb13
JM
7779 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
7780 long.
7781 * math/bits/mathcalls.h (llrint): Likewise.
7782 (llround): Likewise.
7783 * stdlib/stdlib.h (struct drand48_data): Likewise.
7784 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
7785 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
7786 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
7787 Likewise.
7788 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
7789 Likewise.
7790 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
7791 (elf_greg_t): Likewise.
7792 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
7793 (__jmp_buf): Likewise.
7794 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
7795 definitions.
7796 (llrint): Likewise, for all definitions.
7797 (llrintl): Likewise.
7798
fed0faa1
JM
7799 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
7800 Remove [__GNUC__] condition.
7801 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
7802 condition to just [__USE_ISOC99].
7803 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
7804
1a20cb20
L
78052013-01-10 H.J. Lu <hongjiu.lu@intel.com>
7806
7807 [BZ #14200]
7808 * sysdeps/unix/sysv/linux/x86/bits/environments.h
7809 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
7810 defined.
7811 (_POSIX_V6_ILP32_OFF32): Likewise.
7812 (_XBS5_ILP32_OFF32): Likewise.
7813 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
7814 (__ILP32_OFFBIG_LDFLAGS): Likewise.
7815
751b85f7
SP
78162013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7817
7490eb81
SP
7818 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
7819
751b85f7
SP
7820 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
7821 doubles __mpexp_twomm1. Adjust usage.
7822 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
7823 Remove.
7824
988197f0
AS
78252013-01-10 Andreas Schwab <schwab@suse.de>
7826
7827 [BZ #14964]
7828 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
7829 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
7830
e83d7298
DM
78312013-01-09 David S. Miller <davem@davemloft.net>
7832
034ed64b 7833 [BZ #15003]
e83d7298
DM
7834 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
7835 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
7836 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
7837 TCP_FASTOPEN): Define.
7838 (tcp_repair_opt): New structure.
7839 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
7840 enum values.
7841 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
7842 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
7843 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
7844 (tcp_cookie_transactions): New structure.
7845
d5e0b9bd
AB
78462013-01-09 Anton Blanchard <anton@samba.org>
7847
7848 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
7849 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
7850 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
7851 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
7852
0c07e3ea
JM
78532013-01-09 Joseph Myers <joseph@codesourcery.com>
7854
7855 * include/features.h (__USE_ANSI): Remove.
7856
232f7002
RM
78572013-01-09 Roland McGrath <roland@hack.frob.com>
7858
ad98e30c
RM
7859 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
7860
232f7002
RM
7861 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
7862
950c99ca
SP
78632013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
7864
b5792741
SP
7865 * sysdeps/s390/fpu/libm-test-ulps: Update.
7866
47cf2278
SP
7867 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7868
950c99ca
SP
7869 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
7870 (__acr): Likewise.
7871 (__cpy): Likewise.
7872 (norm): Likewise.
7873 (denorm): Likewise.
7874 (__mp_dbl): Likewise.
7875 (__dbl_mp): Likewise.
7876 (add_magnitudes): Likewise.
7877 (sub_magnitudes): Likewise.
7878 (__add): Likewise.
7879 (__sub): Likewise.
7880 (__mul): Likewise.
7881 (__inv): Likewise.
7882 (__dvd): Likewise.
7883 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
7884 (__acr): Likewise.
7885 (__cpy): Likewise.
7886 (norm): Likewise.
7887 (denorm): Likewise.
7888 (__mp_dbl): Likewise.
7889 (__dbl_mp): Likewise.
7890 (add_magnitudes): Likewise.
7891 (sub_magnitudes): Likewise.
7892 (__add): Likewise.
7893 (__sub): Likewise.
7894 (__mul): Likewise.
7895 (__inv): Likewise.
7896 (__dvd): Likewise.
7897 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
7898 (__acr): Likewise.
7899 (__cpy): Likewise.
7900 (norm): Likewise.
7901 (denorm): Likewise.
7902 (__mp_dbl): Likewise.
7903 (__dbl_mp): Likewise.
7904 (add_magnitudes): Likewise.
7905 (sub_magnitudes): Likewise.
7906 (__add): Likewise.
7907 (__sub): Likewise.
7908 (__mul): Likewise.
7909 (__inv): Likewise.
7910 (__dvd): Likewise.
7911
eede9df9
JM
79122013-01-08 Joseph Myers <joseph@codesourcery.com>
7913
7914 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
7915 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
7916 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
7917 2 && __USE_EXTERN_INLINES]: Likewise.
7918
c40ea3d9
AJ
79192013-01-08 Andreas Jaeger <aj@suse.de>
7920
7921 [BZ# 14985]
7922 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
7923 Remove.
7924 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
7925 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
7926
2ccdea26
AB
79272013-01-07 Anton Blanchard <anton@samba.org>
7928
7929 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
7930 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
7931 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
7932 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
7933 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
7934 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7935 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
7936 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
7937 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
7938 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
7939 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7940 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7941 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
7942 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7943 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
7944 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7945 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7946 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7947 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
7948 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
7949 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
7950 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
7951 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
7952 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
7953 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
7954 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
7955 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
7956 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
7957 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
7958 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
7959 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
7960 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7961 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
7962 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
7963 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
7964 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
7965 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
7966 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
7967 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
7968 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
7969 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
7970 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
7971 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
7972
a9708fed
JM
79732013-01-07 Joseph Myers <joseph@codesourcery.com>
7974
375607b9
JM
7975 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
7976 (__MALLOC_PMT): Likewise.
7977 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
7978 [__GNUC__], only on [_LIBC].
7979 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
7980 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
7981 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
7982 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
7983 forward declaration.
7984 (realloc_hook_ini): Likewise.
7985 (memalign_hook_ini): Likewise.
7986 (__libc_memalign): Do not use __MALLOC_PMT in variable
7987 declaration.
7988 (__libc_valloc): Likewise.
7989 (__libc_pvalloc): Likewise.
7990 (__libc_calloc): Likewise.
7991 (__posix_memalign): Likewise.
7992
a9708fed
JM
7993 [BZ #14996]
7994 * math/s_casinh.c: Include <float.h>.
7995 (__casinh): Do not do computation with squaring and square root
7996 for large arguments.
7997 * math/s_casinhf.c: Include <float.h>.
7998 (__casinhf): Do not do computation with squaring and square root
7999 for large arguments.
8000 * math/s_casinhl.c: Include <float.h>.
8001 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
8002 (__casinhl): Do not do computation with squaring and square root
8003 for large arguments.
8004 * math/libm-test.inc (casin_test): Add more tests.
8005 (casinh_test): Likewise.
8006 * sysdeps/i386/fpu/libm-test-ulps: Update.
8007 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8008
afec409a
L
80092013-01-04 H.J. Lu <hongjiu.lu@intel.com>
8010
8011 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
8012 (__x86_64_raw_data_cache_size): Likewise.
8013 (__x86_64_data_cache_size_half): Likewise.
8014 (__x86_64_raw_data_cache_size_half): Likewise.
8015 (__x86_64_shared_cache_size): Likewise.
8016 (__x86_64_raw_shared_cache_size): Likewise.
8017 (__x86_64_shared_cache_size_half): Likewise.
8018 (__x86_64_raw_shared_cache_size_half): Likewise.
8019 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
8020 to ...
8021 (__x86_data_cache_size): This.
8022 (__x86_64_raw_data_cache_size): Renamed to ...
8023 (__x86_raw_data_cache_size): This.
8024 (__x86_64_data_cache_size_half): Renamed to ...
8025 (__x86_data_cache_size_half): This.
8026 (__x86_64_raw_data_cache_size_half): Renamed to ...
8027 (__x86_raw_data_cache_size_half): This.
8028 (__x86_64_shared_cache_size): Renamed to ...
8029 (__x86_shared_cache_size): This.
8030 (__x86_64_raw_shared_cache_size): Renamed to ...
8031 (__x86_raw_shared_cache_size): This.
8032 (__x86_64_shared_cache_size_half): Renamed to ...
8033 (__x86_shared_cache_size_half): This.
8034 (__x86_64_raw_shared_cache_size_half): Renamed to ...
8035 (__x86_raw_shared_cache_size_half): This.
8036 * sysdeps/x86_64/memcpy.S: Updated.
8037 * sysdeps/x86_64/memset.S: Likewise.
8038 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
8039 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8040 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8041
0b3986d0
DM
80422013-01-04 David S. Miller <davem@davemloft.net>
8043
8044 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8045
e47686e9
AS
80462013-01-04 Andreas Schwab <schwab@linux-m68k.org>
8047
d643bac1
AS
8048 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
8049 1 to avoid redefinition warning.
8050 (__USE_GNU): Don't define.
8051 (init_signaling_nan): Protoize.
8052
e47686e9
AS
8053 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8054
b18decba
SP
80552013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8056
fffb407f
SP
8057 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
8058 * sysdeps/powerpc/powerpc32/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 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
8065 (__cpymn): Likewise.
8066 (norm): Remove commented code.
8067 (denorm): Likewise.
8068 (__mp_dbl): Likewise.
8069 (__inv): Likewise.
8070
b18decba
SP
8071 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
8072 mp_no value for 1.0 and 2.0.
8073 (norm): Use RADIXI instead of radixi.d.
8074 (denorm): Likewise.
8075 (__mul): Use 0.0 instead of zero.d.
8076 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
8077 mp_no value for 1.0 and 2.0.
8078 (norm): Use RADIXI instead of radixi.d.
8079 (denorm): Likewise.
8080 (__mul): Use 0.0 instead of zero.d.
8081
cdc1c96f
JM
80822013-01-04 Joseph Myers <joseph@codesourcery.com>
8083
8084 [BZ #14994]
8085 * math/s_casinh.c (__casinh): Reduce finite argument to first
8086 quadrant then set signs of results at the end.
8087 * math/s_casinhf.c (__casinhf): Likewise.
8088 * math/s_casinhl.c (__casinhl): Likewise.
8089 * math/libm-test.inc (casin_test): Add more tests.
8090 (casinh_test): Likewise.
8091 * sysdeps/i386/fpu/libm-test-ulps: Update.
8092 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8093
302913e1
SP
80942013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8095
6420d207
SP
8096 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
8097
a9e48ab4
SP
8098 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
8099
b7837264
SP
8100 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
8101 declarations.
8102 (denorm): Likewise.
8103 (__mp_dbl): Likewise.
8104 (__inv): Likewise.
8105
f8af25d2
SP
8106 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
8107 and adjust the header comment.
8108
302913e1
SP
8109 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
8110 variable name from declaration.
8111
5d7dd1ca
L
81122013-01-03 H.J. Lu <hongjiu.lu@intel.com>
8113
8114 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8115 Initialize COMMON_CPUID_INDEX_7 element.
8116 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
8117 (CPUID_RTM): Likewise.
8118 (HAS_RTM): Likewise.
8119 (COMMON_CPUID_INDEX_7): New enum.
8120
2f5f40f4
AS
81212013-01-03 Andreas Schwab <schwab@linux-m68k.org>
8122
8123 [BZ #14981]
8124 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
8125 size is zero, record memory as freed.
8126
4056f4a0
AJ
81272013-01-03 Andreas Jaeger <aj@suse.de>
8128
8129 * po/ia.po: Add new Interlingua translation.
8130
ab15736f 81312012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
8132
8133 * locale/programs/localedef.c: Fix description of '--posix' flag.
8134
568035b7
JM
81352013-01-02 Joseph Myers <joseph@codesourcery.com>
8136
e6898b8d
JM
8137 * NEWS: Update dates in second copyright notice.
8138 * README: Update copyright dates in example.
8139 * manual/libc.texinfo: Update copyright dates.
8140 * scripts/test-installation.pl: Update copyright date in --version
8141 output.
8142
0e2f9562
JM
8143 * hurd/ctty-input.c: Fix copyright notice formatting.
8144 * hurd/ctty-output.c: Likewise.
8145 * hurd/dtable.c: Likewise.
8146 * hurd/hurd-raise.c: Likewise.
8147 * hurd/hurdprio.c: Likewise.
8148 * hurd/msgportdemux.c: Likewise.
8149 * misc/sys/file.h: Likewise.
8150 * misc/sys/ioctl.h: Likewise.
8151 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
8152 * sysdeps/mach/hurd/chdir.c: Likewise.
8153 * sysdeps/mach/hurd/fchdir.c: Likewise.
8154 * sysdeps/mach/hurd/rename.c: Likewise.
8155 * sysdeps/mach/hurd/rmdir.c: Likewise.
8156 * sysdeps/mach/hurd/seekdir.c: Likewise.
8157 * sysdeps/mach/hurd/setsid.c: Likewise.
8158 * sysdeps/posix/wait3.c: Likewise.
8159
568035b7
JM
8160 * All files with FSF copyright notices: Update copyright dates
8161 using scripts/update-copyrights.
8162 * intl/plural.c: Regenerated.
8163 * locale/programs/charmap-kw.h: Likewise.
8164 * locale/programs/locfile-kw.h: Likewise.
8165
da08f647
SP
81662013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8167
0f5477af
SP
8168 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
8169 four values.
8170
44e0d4c2
SP
8171 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
8172 calculation loop and add branch prediction.
8173
4d55b4e5
SP
8174 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
8175 check access beyond bounds of m1np.
8176
da08f647
SP
8177 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
8178 MPTWO.
8179 (__inv): Remove local variable MPTWO to use the global
8180 constant.
8181 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
8182 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
8183 variable MPTWO.
8184 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
8185 MP3HALFS static const.
8186
8e051029
DM
81872013-01-01 David S. Miller <davem@davemloft.net>
8188
8189 * po/ca.po: Update from translation team.
8190
f4cf5f2d
JM
81912013-01-01 Joseph Myers <joseph@codesourcery.com>
8192
8193 * scripts/update-copyrights: New file.
8194 * Makeconfig: Reformat copyright notice.
8195 * ctype/ctype.h: Likewise.
8196 * debug/swprintf_chk.c: Likewise.
8197 * elf/dl-cache.c: Likewise.
8198 * elf/dl-debug.c: Likewise.
8199 * elf/dl-object.c: Likewise.
8200 * grp/initgroups.c: Likewise.
8201 * hurd/Makefile: Likewise.
8202 * hurd/hurd/signal.h: Likewise.
8203 * hurd/hurdfault.c: Likewise.
8204 * hurd/hurdioctl.c: Likewise.
8205 * hurd/hurdlookup.c: Likewise.
8206 * hurd/intr-msg.c: Likewise.
8207 * iconv/gconv_open.c: Likewise.
8208 * libio/swprintf.c: Likewise.
8209 * locale/lc-ctype.c: Likewise.
8210 * locale/nl_langinfo.c: Likewise.
8211 * mach/Machrules: Likewise.
8212 * mach/Makefile: Likewise.
8213 * malloc/obstack.h: Likewise.
8214 * manual/Makefile: Likewise.
8215 * manual/tsort.awk: Likewise.
8216 * misc/bits/stab.def: Likewise.
8217 * nis/nis_print_group_entry.c: Likewise.
8218 * nis/nis_table.c: Likewise.
8219 * nis/nss_compat/compat-pwd.c: Likewise.
8220 * nis/nss_compat/compat-spwd.c: Likewise.
8221 * po/Makefile: Likewise.
8222 * posix/fnmatch.c: Likewise.
8223 * posix/regex.h: Likewise.
8224 * resolv/Makefile: Likewise.
8225 * resolv/nss_dns/dns-network.c: Likewise.
8226 * resolv/res_hconf.c: Likewise.
8227 * scripts/gen-sorted.awk: Likewise.
8228 * soft-fp/soft-fp.h: Likewise.
8229 * stdio-common/printf.h: Likewise.
8230 * stdlib/monetary.h: Likewise.
8231 * stdlib/random.c: Likewise.
8232 * stdlib/random_r.c: Likewise.
8233 * sysdeps/generic/Makefile: Likewise.
8234 * sysdeps/gnu/Makefile: Likewise.
8235 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8236 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8237 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8238 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8239 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8240 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8241 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8242 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8243 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8244 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8245 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8246 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8247 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
8248 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
8249 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
8250 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
8251 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8252 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8253 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8254 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8255 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8256 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8257 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8258 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
8259 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
8260 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
8261 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
8262 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
8263 * sysdeps/mach/hurd/errnos.awk: Likewise.
8264 * sysdeps/mach/hurd/fork.c: Likewise.
8265 * sysdeps/mach/hurd/getcwd.c: Likewise.
8266 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
8267 * sysdeps/mach/hurd/mmap.c: Likewise.
8268 * sysdeps/mach/hurd/utimes.c: Likewise.
8269 * sysdeps/mach/hurd/xmknod.c: Likewise.
8270 * sysdeps/posix/profil.c: Likewise.
8271 * sysdeps/posix/readdir_r.c: Likewise.
8272 * sysdeps/powerpc/bits/mathdef.h: Likewise.
8273 * sysdeps/powerpc/bits/setjmp.h: Likewise.
8274 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
8275 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
8276 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8277 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
8278 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8279 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8280 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8281 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
8282 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8283 * sysdeps/pthread/lio_listio.c: Likewise.
8284 * sysdeps/sparc/dl-procinfo.h: Likewise.
8285 * sysdeps/unix/i386/sysdep.S: Likewise.
8286 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
8287 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
8288 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
8289 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
8290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8291 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
8292 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
8293 * sysdeps/unix/sysv/linux/speed.c: Likewise.
8294 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
8295 * sysdeps/wordsize-32/divdi3.c: Likewise.
8296 * time/sys/time.h: Likewise.
8297 * wcsmbs/Makefile: Likewise.
8298
0549fbba
DM
82992013-01-01 David S. Miller <davem@davemloft.net>
8300
a141f1a7
DM
8301 * po/fr.po: Update from translation team.
8302
0549fbba
DM
8303 * catgets/gencat.c: Update copyright year.
8304 * csu/version.c: Likewise.
8305 * debug/catchsegv.sh: Likewise.
8306 * debug/pcprofiledump.c: Likewise.
8307 * debug/xtrace.sh: Likewise.
8308 * elf/ldconfig.c: Likewise.
8309 * elf/ldd.bash.in: Likewise.
8310 * elf/pldd.c: Likewise.
8311 * elf/sotruss.ksh: Likewise.
8312 * elf/sprof.c: Likewise.
8313 * iconv/iconv_prog.c: Likewise.
8314 * iconv/iconvconfig.c: Likewise.
8315 * locale/programs/locale.c: Likewise.
8316 * locale/programs/localedef.c: Likewise.
8317 * login/programs/pt_chown.c: Likewise.
8318 * malloc/memusage.sh: Likewise.
8319 * malloc/memusagestat.c: Likewise.
8320 * malloc/mtrace.pl: Likewise.
8321 * nscd/nscd.c: Likewise.
8322 * nss/getent.c: Likewise.
8323 * nss/makedb.c: Likewise.
8324 * posix/getconf.c: Likewise.
8325
18ea052c
SP
83262012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
8327
8328 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
8329 numbers.
8330
9c89fca6
MF
83312012-12-30 Mike Frysinger <vapier@gentoo.org>
8332
8333 * math/bits/mathcalls.h (modf): Use __nonnull.
8334
085ec079
SP
83352012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8336
8337 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
8338 (split): Use macro CN instead of the bare value.
8339 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
8340 could be used.
8341 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
8342 instead of the bare value.
8343 (power1): Likewise.
8344
6d9f97e1
SP
83452012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8346
d63f73be
SP
8347 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
8348 __ATAN_TWOM.
8349 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8350
6d9f97e1
SP
8351 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
8352 their values.
8353 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
8354 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
8355 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
8356 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
8357
4c4febf5
AJ
83582012-12-28 Andreas Jaeger <aj@suse.de>
8359
af5843ef
AJ
8360 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
8361 values are from Linux 3.7.
8362
4c4febf5
AJ
8363 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
8364 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
8365
99136f82
SP
83662012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8367
2f216c3c 8368 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
8369 TRUE case.
8370
99136f82
SP
8371 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
8372 (norm): Likewise.
8373 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
8374 variables with preprocessor constants.
8375 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8376 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
8377 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
8378
7fffbdff
BH
83792012-12-27 Bruno Haible <bruno@clisp.org>
8380
8381 [BZ #14317]
8382 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
8383 only if needed.
8384
b76eb5f0
SP
83852012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8386
31a7fe5c
SP
8387 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
8388 and use variable directly.
8389 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
8390
b76eb5f0
SP
8391 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
8392 MPONE.
8393 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
8394 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
8395 variable MPONE.
8396 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
8397 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
8398 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
8399 include directive. Remove local variable MPONE.
8400 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
8401 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
8402 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8403
2c8bfe7d
DM
84042012-12-25 David S. Miller <davem@davemloft.net>
8405
8406 * version.h (RELEASE): Set to "development".
8407 (VERSION): Set to "2.17.90".
8408 * NEWS: Add 2.18 section.
8409
147d03b0
DM
84102012-12-21 David S. Miller <davem@davemloft.net>
8411
8412 * po/hr.po: Update from translation team.
8413
a8ebb2b9
AK
84142012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8415
8416 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
8417
95b4f1b6
SE
84182012-12-19 Steve Ellcey <sellcey@mips.com>
8419
b2d94007 8420 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 8421
cedb2a90
MS
84222012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8423
8424 * manual/contrib.texi (Contributors): Spelling correction.
8425
bbf527d6
DM
84262012-12-15 David S. Miller <davem@davemloft.net>
8427
8428 * po/ru.po: Update from translation team.
8429
bc38c906
DM
84302012-12-13 David S. Miller <davem@davemloft.net>
8431
85429b1a
DM
8432 * NEWS: Mention IFUNC testsuite enhancements.
8433
d283e353
DM
8434 * po/pl.po: Update from translation team.
8435 * po/bg.po: Likewise.
8436
bc38c906
DM
8437 * manual/contrib.texi (Contributors): Update entries for Hongjiu
8438 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
8439
a181b0d7
DM
84402012-12-11 David S. Miller <davem@davemloft.net>
8441
4641d57e
DM
8442 * po/sv.po: Update from translation team.
8443
f7bc6495
DM
8444 * po/vi.po: Update from translation team.
8445
6fc9048f
DM
8446 * po/cs.po: Update from translation team.
8447
a181b0d7
DM
8448 * po/de.po: Update from translation team.
8449 * po/eo.po: Likewise.
8450 * po/nl.po: Likewise.
8451
f70bfe80
SP
84522012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8453
3c8b4190
SP
8454 [BZ #14246]
8455 * manual/argp.texi (Argp Helper Functions): Move node to follow
8456 Argp Parsing State.
8457
f70bfe80
SP
8458 [BZ #14872]
8459 * manual/conf.texi (Limits on File System Capacity): Mention if
8460 terminating null is included in the max size.
8461
188f0adf
AJ
84622012-12-10 Andreas Jaeger <aj@suse.de>
8463
8464 * po/cs.po: Update from translation team.
8465
56e7d3ad
SP
84662012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8467
8468 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
8469 void pointer and cast to uintptr_t.
8470 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
8471 path.
8472 * sysdeps/s390/s390-64/memcpy.S: Likewise.
8473 * sysdeps/s390/s390-64/memset.S: Likewise.
8474
76f2d2ea 84752012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
8476
8477 [BZ #14833]
8478 * menual/message.texi (Message Translation): Fix typos.
8479 (Helper programs for gettext): Likewise.
8480
67cbf9a2
AS
84812012-12-07 Andreas Schwab <schwab@linux-m68k.org>
8482
8483 [BZ #14898]
8484 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
8485 Change to -1.
8486
682d0e9a
DM
84872012-12-07 David S. Miller <davem@davemloft.net>
8488
8489 * po/libc.pot: Update.
8490
573cd484
RH
84912012-12-07 Richard Henderson <rth@redhat.com>
8492
7e9da188 8493 [BZ #10114]
573cd484
RH
8494 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
8495 normal/normal case to before the switch.
8496 (_FP_DIV): Likewise.
8497
e933a943
MF
84982012-12-06 Carlos O'Donell <carlos@systemhalted.org>
8499 Mike Frysinger <vapier@gentoo.org>
8500
8501 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
8502 check for __NR_fadvise64_64.
8503
82123268
CM
85042012-12-06 Chris Metcalf <cmetcalf@tilera.com>
8505
8506 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
8507 0, not just to plain "0" as a statement.
8508 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
8509 with cw.
8510
d9814526
JM
85112012-12-06 Joseph Myers <joseph@codesourcery.com>
8512
8513 * NEWS: Use sourceware.org in Bugzilla URL.
8514
7728c574
SP
85152012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8516
f16946dd
SP
8517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
8518 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
8519
5704bbcb
SP
8520 * stdio-common/tst-put-error.c (do_test): Add newline to the
8521 padded test to ensure flush.
8522
17aa0516
JL
85232012-12-05 Jeff Law <law@redhat.com>
8524
8525 * sunrpc/etc.rpc (fedfs_admin): Add entry.
8526
363313b5
JM
85272012-12-05 Joseph Myers <joseph@codesourcery.com>
8528
effbd42a
JM
8529 * README: Don't refer to ports add-on as distributed separately.
8530 Mention AArch64 in list of systems supported in the ports add-on.
8531
87600365
JM
8532 * LICENSES: Add more non-FSF copyright and license notices.
8533
a0d7066a
JM
8534 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
8535 ((unused)).
8536
66ca5a5b
JM
8537 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
8538
363313b5
JM
8539 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
8540 10000 as width of padded output.
8541
b37984ad
JM
85422012-12-04 Joseph Myers <joseph@codesourcery.com>
8543
9003570a
JM
8544 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
8545
b37984ad
JM
8546 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
8547 variable LX with __attribute__ ((unused)).
8548 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
8549 Likewise.
8550 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
8551 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8552 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
8553 with __attribute__ ((unused)).
8554
c8df52ec
DM
85552012-12-04 David S. Miller <davem@abraco.davemloft.net>
8556
8557 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
8558
b3b099af
JM
85592012-12-04 Joseph Myers <joseph@codesourcery.com>
8560
c33aa6e3
JM
8561 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
8562 (CFLAGS-nldbl-acos.c): New variable.
8563 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
8564 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
8565 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
8566 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
8567 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
8568 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
8569 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
8570 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
8571 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
8572 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
8573 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
8574 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
8575 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
8576 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
8577 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
8578 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
8579 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
8580 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
8581 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
8582 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
8583 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
8584 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
8585 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
8586 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
8587 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
8588 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
8589 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
8590 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
8591 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
8592 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
8593 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
8594 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
8595 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
8596 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
8597 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
8598 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
8599 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
8600 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
8601 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
8602 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
8603 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
8604 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
8605 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
8606 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
8607 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
8608 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
8609 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
8610 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
8611 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
8612 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
8613 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
8614 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
8615 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
8616 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
8617 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
8618 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
8619 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
8620 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
8621 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
8622 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
8623 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
8624 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
8625 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
8626 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
8627 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
8628 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
8629 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
8630 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
8631 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
8632 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
8633 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
8634 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
8635 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
8636 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
8637 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
8638 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
8639 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
8640 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
8641 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
8642 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
8643 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
8644 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
8645 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
8646 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
8647 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
8648 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
8649 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
8650 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
8651 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
8652 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
8653 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
8654 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
8655 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
8656 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
8657 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
8658 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
8659 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
8660
20f0018d
JM
8661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8662 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
8663
b3b099af
JM
8664 [BZ #14914]
8665 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
8666 whole low double instead of just low 47 bits when splitting values
8667 into two parts.
8668
029264d1
AM
86692012-12-03 Allan McRae <allan@archlinux.org>
8670
8671 * manual/stdio.texi (Predefined Printf Handlers): Remove
8672 @hsep and @vsep usage.
8673
c9d6789e
MF
86742012-12-03 Mike Frysinger <vapier@gentoo.org>
8675
8676 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
8677 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
8678
4b7634a5
JL
86792012-12-03 Jeff Law <law@redhat.com>
8680
8681 * time/sys/time.h (settimeofday): Do not mark TV argument
8682 as __nonnull.
8683
eb6cbd24
MF
86842012-12-01 Mike Frysinger <vapier@gentoo.org>
8685
8686 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
8687 when currently writing and seek to current position when not.
8688 * libio/Makefile (tests): Remove bug-fclose1.
8689 * libio/bug-fclose1.c: Delete.
8690
f638872a
JM
86912012-12-01 Joseph Myers <joseph@codesourcery.com>
8692
8693 * manual/arith.texi (feenableexcept): Fix typo.
8694 (fedisableexcept): Likewise.
8695
48085d14
RM
86962012-11-30 Roland McGrath <roland@hack.frob.com>
8697
8698 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
8699 second, differently-typed declaration, rather than a cast.
8700
1a538b9f
SP
87012012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8702
8703 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
8704 * include/rpc/svc.h: ... here.
8705
d07f2ff1 87062012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
8707
8708 [BZ #13013]
8709 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
8710 depending n and resplen2 to catch cases where answer
8711 equals answerp2.
8712
c93ec1f0
CD
87132012-11-29 Carlos O'Donell <carlos@systemhalted.org>
8714
8715 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
8716 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
8717
37db69de
MF
87182012-11-29 Mike Frysinger <vapier@gentoo.org>
8719
8720 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
8721
e10c4e4f
RM
87222012-11-29 Roland McGrath <roland@hack.frob.com>
8723
8724 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
8725
2af1b328
JL
87262012-11-28 Jeff Law <law@redhat.com>
8727
8728 [BZ #13761]
8729 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
8730 dataset_temporary. Track alloca usage into alloca_used.
8731 If dataset is large allocate and release it via malloc/free.
8732
111db5b1
FW
87332012-06-04 Florian Weimer <fweimer@redhat.com>
8734
f06cc227 8735 [BZ #14197]
111db5b1
FW
8736 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
8737
dd694abd
DM
87382012-11-28 David S. Miller <davem@davemloft.net>
8739
8740 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8741
9984dd01
JM
87422012-11-28 Joseph Myers <joseph@codesourcery.com>
8743
8744 [BZ #14803]
8745 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
8746 of pi/2 rounded to nearest to 64 bits.
8747 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
8748 nearest to 64 bits.
8749 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
8750 bits.
8751
14bc93a9
JL
87522012-11-28 Jeff Law <law@redhat.com>
8753 Martin Osvald <mosvald@redhat.com>
8754
8755 [BZ #14889]
8756 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
8757 * sunrpc/svc.c: Include time.h.
8758 (__svc_accept_failed): New function.
8759 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
8760 any reason other than EINTR, call __svc_accept_failed.
8761 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
8762 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
8763
e3c6aa3a
AS
87642012-11-28 Andreas Schwab <schwab@suse.de>
8765
8766 * scripts/abilist.awk: Also handle indirect functions in .opd
8767 section.
8768
1bead169
JM
87692012-11-28 Joseph Myers <joseph@codesourcery.com>
8770
8771 [BZ #13881]
8772 * sysdeps/x86/fpu/powl_helper.c: New file.
8773 * sysdeps/x86/fpu/Makefile: Likewise.
8774 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
8775 (p3): New object.
8776 (__ieee754_powl): Use __powl_helper for finite arguments except
8777 integer exponents below 8.
8778 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
8779 (p3): New object.
8780 (__ieee754_powl): Use __powl_helper for finite arguments except
8781 integer exponents below 8.
8782 * math/libm-test.inc (pow_test): Add more tests and enable some
8783 previously disabled tests.
8784 * sysdeps/i386/fpu/libm-test-ulps: Update.
8785 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8786
0817d63d
SP
87872012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8788 Carlos O'Donell <carlos_odonell@mentor.com>
8789
8790 * nss/makedb.c (is_prime): Assert that input is odd and greater
8791 than 4. Note that fact in a comment too.
8792 (next_prime): Add 4 to input.
8793
de2fd463
SP
87942012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8795
8796 [BZ #11741]
8797 * libio/Makefile (tests): Add test case tst-fwrite-error.
8798 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
8799 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
8800 * libio/tst-fwrite-error.c: New test case.
8801
c515fb51
L
88022012-11-26 H.J. Lu <hongjiu.lu@intel.com>
8803
8804 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
8805 before casting to void *.
8806 * include/libc-internal.h (__pointer_type): New macro.
8807 (__integer_if_pointer_type_sub): Likewise.
8808 (__integer_if_pointer_type): Likewise.
8809 (cast_to_integer): Likewise.
8810 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
8811 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
8812 before casting to atomic64_t.
8813 (atomic_exchange_acq): Likewise.
8814 (__arch_exchange_and_add_body): Likewise.
8815 (__arch_add_body): Likewise.
8816 (atomic_add_negative): Likewise.
8817 (atomic_add_zero): Likewise.
8818
4cf77aa9
JM
88192012-11-26 Joseph Myers <joseph@codesourcery.com>
8820
8821 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
8822 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
8823 (add_fdes): Likewise.
8824 (linear_search_fdes): Likewise.
8825 (binary_search_unencoded_fdes): Likewise.
8826
d260b3b4
AS
88272012-11-26 Andreas Schwab <schwab@linux-m68k.org>
8828
8829 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
8830
67060746
AC
88312012-11-24 Adam Conrad <adconrad@0c3.net>
8832
8833 * configure.in: Autodetect C++ header directories.
8834 * configure: Regenerated.
8835
800938a1
MF
88362012-11-23 Mike Frysinger <vapier@gentoo.org>
8837
8838 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
8839
4e6e34e6
AS
88402012-11-23 Andreas Schwab <schwab@linux-m68k.org>
8841
8842 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8843
7c7feb47
JM
88442012-11-22 Joseph Myers <joseph@codesourcery.com>
8845
7184dcdf
JM
8846 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
8847 LDBL_MANT_DIG == 106]: Disable some tests.
8848 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
8849 Likewise.
8850 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
8851 Likewise.
8852
0a42601f
JM
8853 [BZ #14871]
8854 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
8855 input for small inputs. Return +/- pi/2 for large inputs.
8856 * math/libm-test.inc (atan_test): Add more tests.
8857
79c9b9fe
JM
8858 * sysdeps/generic/unwind-dw2-fde-glibc.c
8859 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
8860 __attribute__ ((unused)).
8861
c60d3bf2
JM
8862 [BZ #14645]
8863 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
8864 x * y if x and y are nonzero and z is zero.
8865
ef1e0867
JM
8866 [BZ #14811]
8867 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
8868 nonzero exponents with absolute value below 0x1p-117 to +/-
8869 0x1p-117.
8870
1468ded3
JM
8871 [BZ #14869]
8872 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
8873 up arguments below 2**-450, not just those below 2**-500.
8874 * math/libm-test.inc (hypot_test): Add another test.
8875
8e27e3cc
JM
8876 [BZ #14868]
8877 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
8878 Return a+b for ratio over 2**120, not 2**60.
8879 * math/libm-test.inc (hypot_test): Add another test.
8880
c9c0279b
JM
8881 * math/libm-test.inc (clog_test): Use
8882 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
8883 (clog10_test): Likewise.
8884
7c7feb47
JM
8885 [BZ #6778]
8886 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
8887
fff1530e
AS
88882012-11-22 Andreas Schwab <schwab@suse.de>
8889
8890 * sysdeps/i386/fpu/libm-test-ulps: Update.
8891
94558d30
PT
88922012-11-22 Pino Toscano <toscano.pino@tiscali.it>
8893
8894 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
8895 printf output with newline.
8896
7e1be741
L
88972012-11-21 H.J. Lu <hongjiu.lu@intel.com>
8898
6bfea974
L
8899 [BZ #14865]
8900 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
8901 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
8902 -z nodlopen, -z initfirst and -z execstack support.
8903 * configure: Regenerated.
8904
7e1be741
L
8905 * elf/elf.h (DF_1_NODIRECT): New macro.
8906 (DF_1_IGNMULDEF): Likewise.
8907 (DF_1_NOKSYMS): Likewise.
8908 (DF_1_NOHDR): Likewise.
8909 (DF_1_EDITED): Likewise.
8910 (DF_1_NORELOC): Likewise.
8911 (DF_1_SYMINTPOSE): Likewise.
8912 (DF_1_GLOBAUDIT): Likewise.
8913 (DF_1_SINGLETON): Likewise.
8914 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
8915 DT_1_SUPPORTED_MASK bits.
8916 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
8917
105ce2ce
CD
89182012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
8919
8920 * sysdeps/unix/make-syscalls.sh: Document prefixes.
8921
123be9de
TS
89222012-11-20 Thomas Schwinge <thomas@codesourcery.com>
8923
d072f3f7
TS
8924 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
8925 macro.
8926
123be9de
TS
8927 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
8928 (sendmmsg): Move declarations...
8929 * socket/sys/socket.h: ... here.
8930 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
8931 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
8932 include it from...
8933 * socket/recvmmsg.c: ... this new file.
8934 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
8935 (sendmmsg): Rename to __sendmmsg, create weak alias and make
8936 definition of __sendmmsg hidden.
8937 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
8938 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
8939 Move ENOSYS stub into and include it from...
8940 * socket/sendmmsg.c: ... this new file.
8941 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
8942 (sysdep_routines): Move recvmmsg and sendmmsg...
8943 * socket/Makefile (routines): ... here.
8944 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
8945 (GLIBC_PRIVATE): Add __sendmmsg.
8946 * include/sys/socket.h (__sendmmsg): Add declarations.
8947 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
8948 sendmmsg.
8949
cf9a5d18
JM
89502012-11-20 Joseph Myers <joseph@codesourcery.com>
8951
8952 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
8953 variable I1 with __attribute__ ((unused)).
8954 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
8955
ecd4caf9
JM
89562012-11-19 Joseph Myers <joseph@codesourcery.com>
8957
be14d48f
JM
8958 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
8959 DUMMY variables with __attribute__ ((unused)).
8960
ecd4caf9
JM
8961 * bits/byteswap.h: Include <bits/types.h>.
8962 (__bswap_64): Use __uint64_t instead of unsigned long long int.
8963
986cab95
PT
89642012-11-19 Pino Toscano <toscano.pino@tiscali.it>
8965
8966 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
8967 string_t. Do not manually set errno.
8968 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
8969 length with __strnlen. Make sure to both set errno and return it on
8970 failure.
8971
6d33cc9d
DM
89722012-11-19 David S. Miller <davem@davemloft.net>
8973
8974 With help from Joseph Myers.
8975 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
8976 very large arguments properly.
8977 * math/libm-test.inc (atan_test): New tests.
8978 (atan2_test): New tests.
8979 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8980 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8981
ee663277
JM
89822012-11-19 Joseph Myers <joseph@codesourcery.com>
8983
877f2d8e
JM
8984 [BZ #14856]
8985 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
8986 Define to 3.
8987
116fc08a
JM
8988 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
8989 [POSIX] (EADDRNOTAVAIL): Likewise.
8990 [POSIX] (EAFNOSUPPORT): Likewise.
8991 [POSIX] (EALREADY): Likewise.
8992 [POSIX] (ECONNABORTED): Likewise.
8993 [POSIX] (ECONNREFUSED): Likewise.
8994 [POSIX] (ECONNRESET): Likewise.
8995 [POSIX] (EDESTADDRREQ): Likewise.
8996 [POSIX] (EDQUOT): Likewise.
8997 [POSIX] (EHOSTUNREACH): Likewise.
8998 [POSIX] (EIDRM): Likewise.
8999 [POSIX] (EISCONN): Likewise.
9000 [POSIX] (ELOOP): Likewise.
9001 [POSIX] (EMULTIHOP): Likewise.
9002 [POSIX] (ENETDOWN): Likewise.
9003 [POSIX] (ENETUNREACH): Likewise.
9004 [POSIX] (ENOBUFS): Likewise.
9005 [POSIX] (ENODATA): Likewise.
9006 [POSIX] (ENOLINK): Likewise.
9007 [POSIX] (ENOMSG): Likewise.
9008 [POSIX] (ENOPROTOOPT): Likewise.
9009 [POSIX] (ENOSR): Likewise.
9010 [POSIX] (ENOSTR): Likewise.
9011 [POSIX] (ENOTCONN): Likewise.
9012 [POSIX] (ENOTSOCK): Likewise.
9013 [POSIX] (EOPNOTSUPP): Likewise.
9014 [POSIX] (EOVERFLOW): Likewise.
9015 [POSIX] (EPROTO): Likewise.
9016 [POSIX] (EPROTONOSUPPORT): Likewise.
9017 [POSIX] (EPROTOTYPE): Likewise.
9018 [POSIX] (ESTALE): Likewise.
9019 [POSIX] (ETIME): Likewise.
9020 [POSIX] (ETXTBSY): Likewise.
9021 [POSIX] (EWOULDBLOCK): Likewise.
9022 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
9023 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
9024 [POSIX] (SEEK_CUR): Likewise.
9025 [POSIX] (SEEK_END): Likewise.
9026 [POSIX || UNIX98] (mode_t): Do not require.
9027 [POSIX] (off_t): Likewise.
9028 [POSIX] (pid_t): Likewise.
9029 [POSIX] (sys/stat.h): Do not allow header.
9030 [POSIX] (unistd.h): Likewise.
9031 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
9032 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
9033 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
9034 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
9035 require.
9036 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
9037 sigevent): Specify elements.
9038 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
9039 entry.
9040 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
9041 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
9042
a483863f
JM
9043 * conform/data/cpio.h-data [POSIX]: Disable whole file.
9044 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
9045 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
9046 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
9047 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
9048 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
9049 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
9050 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
9051 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
9052 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
9053 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
9054 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
9055 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
9056 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
9057 Likewise.
9058 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
9059 Likewise.
9060 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
9061 Likewise.
9062 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
9063 Likewise.
9064 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
9065 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
9066 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
9067 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
9068 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
9069 Specify lower bound on value.
9070 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
9071 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
9072 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
9073 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
9074 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
9075 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
9076 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
9077 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
9078 value.
9079 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
9080 as optional.
9081 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
9082 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
9083 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
9084 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
9085 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
9086 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
9087 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
9088 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
9089 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
9090 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
9091 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
9092 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
9093 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
9094 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
9095 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
9096 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
9097 entry.
9098 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
9099 optional.
9100 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
9101 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
9102 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
9103 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
9104 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
9105 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
9106 Likewise.
9107 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
9108 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
9109 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
9110 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
9111 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
9112 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
9113 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
9114 as optional.
9115 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
9116 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
9117 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
9118 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
9119 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
9120 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
9121 specify as optional.
9122 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
9123 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
9124 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
9125 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
9126 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
9127 [XPG3] (NL_LANGMAX): Likewise.
9128 [POSIX || XPG3] (NL_MSGMAX): Likewise.
9129 [POSIX || XPG3] (NL_NMAX): Likewise.
9130 [POSIX || XPG3] (NL_SETMAX): Likewise.
9131 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
9132 [XPG3] (NZERO): Likewise.
9133 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
9134 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
9135 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
9136 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
9137 (REG_ERANGE): Expect.
9138 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
9139 optional-constant.
9140 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
9141 Use (void) in prototype.
9142 [POSIX] (*_t): Allow.
9143 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
9144 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
9145 (WRDE_BADVAL): Expect.
9146
5ba924e3
JM
9147 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
9148 expect.
9149 [XPG3 || XPG4] (O_RSYNC): Likewise.
9150 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
9151 Likewise.
9152 [XPG3 || XPG4] (pthread_sigmask): Likewise.
9153 [XPG3 || XPG4] (sigqueue): Likewise.
9154 [XPG3 || XPG4] (sigtimedwait): Likewise.
9155 [XPG3 || XPG4] (sigwaitinfo): Likewise.
9156 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
9157 [XPG3 || XPG4] (vsnprintf): Likewise.
9158 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
9159 Likewise.
9160 [XPG3 || XPG4] (blksize_t): Likewise.
9161 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
9162 Likewise.
9163 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
9164 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
9165 [XPG3 || XPG4] (struct itimerspec): Likewise.
9166 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
9167 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
9168 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
9169 [XPG3 || XPG4] (clockid_t): Likewise.
9170 [XPG3 || XPG4] (timer_t): Likewise.
9171 [XPG3 || XPG4] (clock_getres): Likewise.
9172 [XPG3 || XPG4] (clock_gettime): Likewise.
9173 [XPG3 || XPG4] (clock_settime): Likewise.
9174 [XPG3 || XPG4] (nanosleep): Likewise.
9175 [XPG3 || XPG4] (timer_create): Likewise.
9176 [XPG3 || XPG4] (timer_delete): Likewise.
9177 [XPG3 || XPG4] (timer_gettime): Likewise.
9178 [XPG3 || XPG4] (timer_getoverrun): Likewise.
9179 [XPG3 || XPG4] (timer_settime): Likewise.
9180 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
9181 [XPG3 || XPG4] (getlogin_r): Likewise.
9182 [XPG3 || XPG4] (pread): Likewise.
9183 [XPG3 || XPG4] (pthread_atfork): Likewise.
9184 [XPG3 || XPG4] (pwrite): Likewise.
9185
ee663277
JM
9186 [BZ #14835]
9187 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
9188 <bits/siginfo.h>.
9189
942caa16
PT
91902012-11-19 Pino Toscano <toscano.pino@tiscali.it>
9191
e19af380
PT
9192 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
9193 finalizing MALLSTREAM.
9194
942caa16
PT
9195 * sysdeps/mach/hurd/syncfs.c: New file.
9196
cfde9b46
SP
91972012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9198
9199 [BZ #14719]
9200 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
9201 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
9202 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
9203 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
9204 (_nss_dns_gethostbyname4_r): Likewise.
9205 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
9206 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
9207
f6da27e5
PH
92082012-11-19 Peng Haitao <penght@cn.fujitsu.com>
9209
9210 [BZ #13763]
9211 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
9212
6665d4a2
SM
92132012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
9214
1f51ee92
SM
9215 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
9216 * elf/cache.c (print_entry): Print ",AArch64" for
9217 FLAG_AARCH64_LIB64
9218
6665d4a2
SM
9219 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
9220 * elf/cache.c (print_entry): Print ",hard-float" for
9221 FLAG_ARM_LIBHF.
9222
05b227bd
DM
92232012-11-18 David S. Miller <davem@davemloft.net>
9224
9225 With help from Joseph Myers.
9226 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
9227 cutoff to 2**-13.
9228 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
9229 cutoff to 2**-25.
9230 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
9231 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
9232 small.
9233 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
9234 * math/libm-test.inc (y0_test): New tests.
9235 (y1_test): New tests.
9236 * sysdeps/i386/fpu/libm-test-ulps: Update.
9237 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9238 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9239
786b0b67
AS
92402012-11-18 Andreas Schwab <schwab@linux-m68k.org>
9241
9242 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
9243 64-bit targets.
9244 * configure: Regenerated.
9245
8e18b86d
DM
92462012-11-17 David S. Miller <davem@davemloft.net>
9247
9248 [BZ #14811]
9249 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
9250 nonzero exponents with absolute value below 0x1p-128 to +/-
9251 0x1p-128.
9252
531f1ae0
JM
92532012-11-17 Joseph Myers <joseph@codesourcery.com>
9254
12df29e2
JM
9255 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
9256
150dc1a0
JM
9257 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
9258
531f1ae0
JM
9259 * posix/getconf-speclist.c: New file.
9260 * posix/posix-envs.def: Likewise.
9261 * posix/confstr.c (START_ENV_GROUP): New macro.
9262 (END_ENV_GROUP): Likewise.
9263 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
9264 (KNOWN_PRESENT_ENV_STRING): Likewise.
9265 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
9266 (UNKNOWN_ENVIRONMENT): Likewise.
9267 (confstr): Include posix-envs.def instead of handling
9268 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
9269 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
9270 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
9271 (END_ENV_GROUP): Likewise.
9272 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
9273 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
9274 (UNKNOWN_ENVIRONMENT): Likewise.
9275 (__sysconf): Include posix-envs.def instead of handling associated
9276 cases directly here.
9277 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
9278 preprocessing getconf-speclist.c rather than running getconf or
9279 generating empty file.
9280
a93f9cbc
PT
92812012-11-16 Pino Toscano <toscano.pino@tiscali.it>
9282
9283 * scripts/check-local-headers.sh: Ignore 'mach' headers.
9284
d64d9f87
AL
92852012-11-16 Andrej Lajovic <natrij@gmail.com>
9286
9287 [BZ #14672]
9288 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
9289
447885eb
DM
92902012-11-16 David S. Miller <davem@davemloft.net>
9291
9292 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
9293 smaller than LDBL_EPSILON/2.0L, just return xm1.
9294
bcbf9830
L
92952012-11-16 H.J. Lu <hongjiu.lu@intel.com>
9296
9297 * elf/tst-array1.c (init): Set constructor priority to 1000.
9298 (fini): Set destructor priority to 1000.
9299 * elf/tst-array2dep.c: Likewise.
9300
2b766585
SP
93012012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9302
9303 [BZ #11741]
9304 * libio/fileops.c (_IO_new_file_write): Correctly return error.
9305 (_IO_new_file_xsputn): Also return EOF if none of the input
9306 data was written when overflow failed.
9307 * libio/iopadn.c (_IO_padn): Likewise.
9308 * libio/iowpadn.c (_IO_wpadn): Likewise.
9309 * stdio-common/tst-put-error.c: Add copyright notice.
9310 (do_test): Add case for printing padded string.
9311 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
9312 _IO_padn returned error.
9313 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
9314 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
9315 return EOF.
9316
b1848fde
SP
93172012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9318
9319 * libio/libioP.h: Add comment note that the references to C++
9320 bits are now obsolete.
9321
2fd89785
MS
93222012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9323
9324 * math/libm-test.inc (check_complex): Use asprintf.
9325
e3ea5409
JM
93262012-11-14 Joseph Myers <joseph@codesourcery.com>
9327
9328 * debug/pcprofiledump.c (print_version): Update copyright year.
9329 * malloc/memusagestat.c (print_version): Likewise.
9330
2e64d265
L
93312012-11-14 H.J. Lu <hongjiu.lu@intel.com>
9332
9333 [BZ #14831]
9334 * elf/Makefile (tests): Add tst-audit8.
9335 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
9336 ($(objpfx)tst-audit8.out): New target.
9337 (tst-audit8-ENV): New variable.
9338 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
9339 audit if l_reloc_result is NULL.
9340 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
9341 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
9342 * elf/tst-audit8.c: New file.
9343
c485e4d2
MS
93442012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9345
9346 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
9347 * misc/Makefile (CFLAGS-select.c): Define.
9348 * posix/Makefile (CFLAGS-pause.c): Define.
9349
3a0d900a
DM
93502012-11-13 David S. Miller <davem@davemloft.net>
9351
9352 * crypt/Makefile: Move test targets after toplevel Rules
9353 inclusion. Grab any necessary sysdep routines when linking.
9354 * crypt/md5.c (md5_process_block): Remove define, we will always
9355 name it __md5_process_block.
9356 (md5_finish_ctx): Update md5_process_block call.
9357 (md5_stream): Likewise.
9358 (md5_process_bytes): Likewise.
9359 (md5_process_block): Rename to __md5_process_block and move to ...
9360 * crypt/md5-block.c: ... here.
9361 * crypt/sha256.c (sha256_process_block): Move to ...
9362 * crypt/sha256-block.c: ... here.
9363 * crypt/sha512.c (sha512_process_block): Move to ...
9364 * crypt/sha512-block.c: ... here.
9365 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
9366 path.
9367 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
9368 * sysdeps/sparc/sparc64/multiarch/Makefile
9369 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
9370 crypt subdir.
9371 (localedef-aux): Add md5 crypto assembler when in locale subdir.
9372 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
9373 multiarch changes.
9374 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
9375 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
9376 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
9377 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
9378 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
9379 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
9380 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
9381 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
9382 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
9383 file.
9384 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
9385 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
9386 file.
9387 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
9388
8ca89318
JM
93892012-11-13 Joseph Myers <joseph@codesourcery.com>
9390
e27d476a
JM
9391 * timezone/tzselect.ksh: Update from tzcode git revision
9392 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
9393 * timezone/zdump.c: Likewise.
9394 * timezone/zic.c: Likewise.
9395 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
9396 in TZVERSION setting, not $(PKGVERSION).
9397 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
9398 REPORT_BUGS_TO settings.
9399
8ca89318
JM
9400 [BZ #14838]
9401 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
9402 macro.
9403
47594329
MS
94042012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9405
9406 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
9407 detection to immediately after _FP_ROUND().
9408 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
9409 bits are 0.
9410
640ac3f1
DM
94112012-11-11 David S. Miller <davem@davemloft.net>
9412
9413 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
9414 inttypes.h
9415 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
9416 __close rather than their public counterparts.
9417
3d2577bb
JM
94182012-11-10 Joseph Myers <joseph@codesourcery.com>
9419
9420 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
9421 file.
9422 [UNIX98] (sem_timedwait): Do not expect.
9423 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
9424 [XPG4 || UNIX98] (sockatmark): Do not expect.
9425 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
9426 (clock_getcpuclockid): Do not expect.
9427 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
9428 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
9429 Do not expect.
9430 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
9431 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
9432 [UNIX98] (vwscanf): Likewise.
9433 [UNIX98] (vswscanf): Likewise.
9434
fb1ae1ee
JM
94352012-11-09 Joseph Myers <joseph@codesourcery.com>
9436
9ec6f8bd
JM
9437 * timezone/version.h: Remove file.
9438 * timezone/README: Do not refer to version.h.
9439 * timezone/Makefile ($(objpfx)zic.o): New dependency on
9440 $(objpfx)version.h.
9441 ($(objpfx)zdump.o): Likewise.
c3f81911 9442 ($(objpfx)version.h): New target.
9ec6f8bd 9443
0aa8f8a1
JM
9444 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
9445 2012i.
9446 * timezone/README: Don't mention modification to tzselect.ksh.
9447 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
9448 work on unmodified tzselect.ksh. Substitute version numbers in
9449 tzselect.ksh.
9450
4e87147f
JM
9451 * Makefile (format-me): Remove.
9452 (INSTALL): Adjust indentation. Use commands directly instead of
9453 using $(format-me).
9454
8b748aed
JM
9455 * aclocal.m4 (ACX_PKGVERSION): New macro.
9456 (ACX_BUGURL): Likewise.
9457 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
9458 (PKGVERSION): New AC_DEFINE_UNQUOTED.
9459 (REPORT_BUGS_TO): Likewise.
9460 * configure: Regenerated.
9461 * config.h.in (PKGVERSION): New macro.
9462 (REPORT_BUGS_TO): Likewise.
9463 * config.make.in (PKGVERSION): New variable.
9464 (PKGVERSION_TEXI): Likewise.
9465 (REPORT_BUGS_TO): Likewise.
9466 (REPORT_BUGS_TEXI): Likewise.
9467 * Makefile (format-me): Use -I$(common-objpfx)manual.
9468 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
9469 ($(common-objpfx)manual/%): New target.
9470 (manual/%): Remove target.
9471 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
9472 (print_version): Use PKGVERSION.
9473 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
9474 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
9475 and REPORT_BUGS_TO.
9476 ($(objpfx)xtrace): Likewise.
9477 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
9478 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
9479 (print_version): Use PKGVERSION.
9480 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
9481 (do_version): Use PKGVERSION.
9482 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
9483 REPORT_BUGS_TO.
9484 (common-ldd-rewrite): Likewise.
9485 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
9486 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
9487 (print_version): Use PKGVERSION.
9488 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
9489 * elf/pldd.c (argp_program_bug_address): Remove variable.
9490 (more_help): New function.
9491 (argp): Use more_help.
9492 (print_version): Use PKGVERSION.
9493 * elf/sln.c (main): Use PKGVERSION.
9494 (usage): Use REPORT_BUGS_TO.
9495 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
9496 (top level): Use PKGVERSION.
9497 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
9498 (print_version): Use PKGVERSION.
9499 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
9500 (print_version): Use PKGVERSION.
9501 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
9502 (print_version): Use PKGVERSION.
9503 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
9504 (print_version): Use PKGVERSION.
9505 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
9506 (print_version): Use PKGVERSION.
9507 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
9508 (print_version): Use PKGVERSION.
9509 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
9510 and BUGURL.
9511 ($(objpfx)memusage): Likewise.
9512 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
9513 (do_version): Use PKGVERSION.
9514 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
9515 (print_version): Use PKGVERSION.
9516 * malloc/mtrace.pl ($PACKAGE): Remove variable.
9517 ($PKGVERSION): New variable.
9518 ($REPORT_BUGS_TO): Likewise.
9519 (usage): Use $REPORT_BUGS_TO.
9520 (top level): Use $PKGVERSION.
9521 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
9522 ($(objpfx)pkgvers.texi): New rule.
9523 ($(objpfx)stamp-pkgvers): Likewise.
9524 * manual/install.texi: Include pkgvers.texi.
9525 (--with-pkgversion): Document new configure option.
9526 (--with-bugurl): Likewise.
9527 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
9528 than necessarily for this particular distribution. Use
9529 REPORT_BUGS_TO for where to report bugs.
9530 * INSTALL: Regenerated.
9531 * manual/libc.texinfo: Include pkgvers.texi.
9532 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
9533 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
9534 (print_version): Use PKGVERSION.
9535 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
9536 (print_version): Use PKGVERSION.
9537 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
9538 (print_version): Use PKGVERSION.
9539 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
9540 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
9541 macro.
9542 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
9543 (print_version): Use PKGVERSION.
9544 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
9545 (print_version): Use PKGVERSION.
9546 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
9547 and PKGVERSION.
9548
92e4b6a9
JM
9549 * timezone/checktab.awk: Update from tzcode 2012i.
9550 * timezone/ialloc.c: Likewise.
9551 * timezone/private.h: Likewise.
9552 * timezone/scheck.c: Likewise.
9553 * timezone/tzfile.h: Likewise.
9554 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
9555 (TZVERSION): Hardcode tzcode version number.
9556 * timezone/zdump.c: Update from tzcode 2012i.
9557 * timezone/zic.c: Likewise.
9558 * timezone/version.h: New file.
9559 * timezone/README: Describe version.h. Update upstream location.
9560
9bde902c
JM
9561 [BZ #14824]
9562 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
9563 (mktemp): Enable declaration.
9564 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
9565 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
9566 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
9567 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
9568 Likewise.
9569 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
9570 Likewise.
9571 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
9572 Likewise.
9573 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
9574 Likewise.
9575 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
9576 Likewise.
9577 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
9578 Likewise.
9579
fb1ae1ee
JM
9580 [BZ #14821]
9581 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
9582 offset in buffer as u_int32_t not u_long. Consistently use memcpy
9583 for copies of such integer values.
9584 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
9585 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
9586
2c1adbcb
AJ
95872012-11-09 Andreas Jaeger <aj@suse.de>
9588
9589 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
9590 definitions and declarations that are provided by
9591 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
9592
d0f8457e
AK
95932012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9594
3a235abb 9595 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
9596 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
9597 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
9598 definition.
9599
57241e26
MS
96002012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9601
9602 * elf/elf.h: Update comment before AArch64 relocations.
9603
60e8270d
DM
96042012-11-07 David S. Miller <davem@davemloft.net>
9605
9606 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
9607 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
9608 (__start_context): Declare.
9609 (__makecontext_ret): Delete.
9610 (__makecontext): Hook up __start_context instead of
9611 __makecontext_ret.
9612 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
9613 (sysdep_routines): Add __start_context when in stdlib.
9614
0fbb0fbc
JM
96152012-11-07 Joseph Myers <joseph@codesourcery.com>
9616
9617 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
9618 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
9619 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
9620 hardcoded "nm".
9621 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
9622 (READELF): New variable. Use it instead of hardcoded "readelf".
9623
eb48db7e
L
96242012-11-07 H.J. Lu <hongjiu.lu@intel.com>
9625
9626 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
9627 * sysdeps/x86/Makefile: Here.
9628 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
9629 * sysdeps/x86/tst-xmmymm.sh: This.
9630
05bcf62a
JM
96312012-11-07 Joseph Myers <joseph@codesourcery.com>
9632
c4b6cf53
JM
9633 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
9634 expectations.
9635 [UNIX98] (pthread_barrier_t): Do not expect.
9636 [UNIX98] (pthread_barrierattr_t): Likewise.
9637 [UNIX98] (pthread_spinlock_t): Likewise.
9638 [UNIX98] (pthread_barrier_destroy): Likewise.
9639 [UNIX98] (pthread_barrier_init): Likewise.
9640 [UNIX98] (pthread_barrier_wait): Likewise.
9641 [UNIX98] (pthread_barrierattr_destroy): Likewise.
9642 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
9643 [UNIX98] (pthread_barrierattr_init): Likewise.
9644 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
9645 [UNIX98] (pthread_getcpuclockid): Likewise.
9646 [UNIX98] (pthread_mutex_timedlock): Likewise.
9647 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
9648 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
9649 [UNIX98] (pthread_sigmask): Likewise.
9650 [UNIX98] (pthread_spin_destroy): Likewise.
9651 [UNIX98] (pthread_spin_init): Likewise.
9652 [UNIX98] (pthread_spin_lock): Likewise.
9653 [UNIX98] (pthread_spin_trylock): Likewise.
9654 [UNIX98] (pthread_spin_unlock): Likewise.
9655 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
9656 Do not expect.
9657 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
9658 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
9659 [XPG3 || XPG4] (pthread_cond_t): Likewise.
9660 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
9661 [XPG3 || XPG4] (pthread_key_t): Likewise.
9662 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
9663 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
9664 [XPG3 || XPG4] (pthread_once_t): Likewise.
9665 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
9666 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
9667 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
9668 [XPG3 || XPG4] (pthread_t): Likewise.
9669
cbe6e120
JM
9670 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
9671 not expect.
9672 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
9673
1b126443
JM
9674 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
9675 Change function return type to int.
9676
b961a573
JM
9677 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
9678 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
9679 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
9680 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
9681 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
9682 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
9683 [!POSIX] (posix_madvise): Likewise.
9684 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
9685 && !UNIX98].
9686 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
9687 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
9688 (mode_t): Likewise.
9689 (posix_mem_offset): Likewise.
9690 (posix_typed_mem_get_info): Likewise.
9691 (posix_typed_mem_open): Likewise.
9692
9e188909
JM
9693 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
9694 Change condition to [XOPEN2K8].
9695
05bcf62a
JM
9696 * conform/conformtest.pl: Preprocess allow-header data with -x c
9697 instead of from stdin.
9698 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
9699 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
9700 [C99-based standards] (cerfc): Likewise.
9701 [C99-based standards] (cexp2): Likewise.
9702 [C99-based standards] (cexpm1): Likewise.
9703 [C99-based standards] (clog10): Likewise.
9704 [C99-based standards] (clog1p): Likewise.
9705 [C99-based standards] (clog2): Likewise.
9706 [C99-based standards] (clgamma): Likewise.
9707 [C99-based standards] (ctgamma): Likewise.
9708 [C99-based standards] (cerff): Likewise.
9709 [C99-based standards] (cerfcf): Likewise.
9710 [C99-based standards] (cexp2f): Likewise.
9711 [C99-based standards] (cexpm1f): Likewise.
9712 [C99-based standards] (clog10f): Likewise.
9713 [C99-based standards] (clog1pf): Likewise.
9714 [C99-based standards] (clog2f): Likewise.
9715 [C99-based standards] (clgammaf): Likewise.
9716 [C99-based standards] (ctgammaf): Likewise.
9717 [C99-based standards] (cerfl): Likewise.
9718 [C99-based standards] (cerfcl): Likewise.
9719 [C99-based standards] (cexp2l): Likewise.
9720 [C99-based standards] (cexpm1l): Likewise.
9721 [C99-based standards] (clog10l): Likewise.
9722 [C99-based standards] (clog1pl): Likewise.
9723 [C99-based standards] (clog2l): Likewise.
9724 [C99-based standards] (clgammal): Likewise.
9725 [C99-based standards] (ctgammal): Likewise.
9726 * conform/data/inttypes.h-data [C99-based standards]: Include
9727 stdint.h-data. Remove all expectations for stdint.h contents.
9728 [C99-based standards] (PRI*): Do not allow.
9729 [C99-based standards] (SCN*): Likewise.
9730 [C99-based standards] (*_t): Likewise.
9731 [C99-based-standards] (PRId8): Expect macro.
9732 [C99-based-standards] (PRIi8): Likewise.
9733 [C99-based-standards] (PRIo8): Likewise.
9734 [C99-based-standards] (PRIu8): Likewise.
9735 [C99-based-standards] (PRIx8): Likewise.
9736 [C99-based-standards] (PRIX8): Likewise.
9737 [C99-based-standards] (SCNd8): Likewise.
9738 [C99-based-standards] (SCNi8): Likewise.
9739 [C99-based-standards] (SCNo8): Likewise.
9740 [C99-based-standards] (SCNu8): Likewise.
9741 [C99-based-standards] (SCNx8): Likewise.
9742 [C99-based-standards] (PRIdLEAST8): Likewise.
9743 [C99-based-standards] (PRIiLEAST8): Likewise.
9744 [C99-based-standards] (PRIoLEAST8): Likewise.
9745 [C99-based-standards] (PRIuLEAST8): Likewise.
9746 [C99-based-standards] (PRIxLEAST8): Likewise.
9747 [C99-based-standards] (PRIXLEAST8): Likewise.
9748 [C99-based-standards] (SCNdLEAST8): Likewise.
9749 [C99-based-standards] (SCNiLEAST8): Likewise.
9750 [C99-based-standards] (SCNoLEAST8): Likewise.
9751 [C99-based-standards] (SCNuLEAST8): Likewise.
9752 [C99-based-standards] (SCNxLEAST8): Likewise.
9753 [C99-based-standards] (PRIdFAST8): Likewise.
9754 [C99-based-standards] (PRIiFAST8): Likewise.
9755 [C99-based-standards] (PRIoFAST8): Likewise.
9756 [C99-based-standards] (PRIuFAST8): Likewise.
9757 [C99-based-standards] (PRIxFAST8): Likewise.
9758 [C99-based-standards] (PRIXFAST8): Likewise.
9759 [C99-based-standards] (SCNdFAST8): Likewise.
9760 [C99-based-standards] (SCNiFAST8): Likewise.
9761 [C99-based-standards] (SCNoFAST8): Likewise.
9762 [C99-based-standards] (SCNuFAST8): Likewise.
9763 [C99-based-standards] (SCNxFAST8): Likewise.
9764 [C99-based-standards] (PRId16): Likewise.
9765 [C99-based-standards] (PRIi16): Likewise.
9766 [C99-based-standards] (PRIo16): Likewise.
9767 [C99-based-standards] (PRIu16): Likewise.
9768 [C99-based-standards] (PRIx16): Likewise.
9769 [C99-based-standards] (PRIX16): Likewise.
9770 [C99-based-standards] (SCNd16): Likewise.
9771 [C99-based-standards] (SCNi16): Likewise.
9772 [C99-based-standards] (SCNo16): Likewise.
9773 [C99-based-standards] (SCNu16): Likewise.
9774 [C99-based-standards] (SCNx16): Likewise.
9775 [C99-based-standards] (PRIdLEAST16): Likewise.
9776 [C99-based-standards] (PRIiLEAST16): Likewise.
9777 [C99-based-standards] (PRIoLEAST16): Likewise.
9778 [C99-based-standards] (PRIuLEAST16): Likewise.
9779 [C99-based-standards] (PRIxLEAST16): Likewise.
9780 [C99-based-standards] (PRIXLEAST16): Likewise.
9781 [C99-based-standards] (SCNdLEAST16): Likewise.
9782 [C99-based-standards] (SCNiLEAST16): Likewise.
9783 [C99-based-standards] (SCNoLEAST16): Likewise.
9784 [C99-based-standards] (SCNuLEAST16): Likewise.
9785 [C99-based-standards] (SCNxLEAST16): Likewise.
9786 [C99-based-standards] (PRIdFAST16): Likewise.
9787 [C99-based-standards] (PRIiFAST16): Likewise.
9788 [C99-based-standards] (PRIoFAST16): Likewise.
9789 [C99-based-standards] (PRIuFAST16): Likewise.
9790 [C99-based-standards] (PRIxFAST16): Likewise.
9791 [C99-based-standards] (PRIXFAST16): Likewise.
9792 [C99-based-standards] (SCNdFAST16): Likewise.
9793 [C99-based-standards] (SCNiFAST16): Likewise.
9794 [C99-based-standards] (SCNoFAST16): Likewise.
9795 [C99-based-standards] (SCNuFAST16): Likewise.
9796 [C99-based-standards] (SCNxFAST16): Likewise.
9797 [C99-based-standards] (PRId32): Likewise.
9798 [C99-based-standards] (PRIi32): Likewise.
9799 [C99-based-standards] (PRIo32): Likewise.
9800 [C99-based-standards] (PRIu32): Likewise.
9801 [C99-based-standards] (PRIx32): Likewise.
9802 [C99-based-standards] (PRIX32): Likewise.
9803 [C99-based-standards] (SCNd32): Likewise.
9804 [C99-based-standards] (SCNi32): Likewise.
9805 [C99-based-standards] (SCNo32): Likewise.
9806 [C99-based-standards] (SCNu32): Likewise.
9807 [C99-based-standards] (SCNx32): Likewise.
9808 [C99-based-standards] (PRIdLEAST32): Likewise.
9809 [C99-based-standards] (PRIiLEAST32): Likewise.
9810 [C99-based-standards] (PRIoLEAST32): Likewise.
9811 [C99-based-standards] (PRIuLEAST32): Likewise.
9812 [C99-based-standards] (PRIxLEAST32): Likewise.
9813 [C99-based-standards] (PRIXLEAST32): Likewise.
9814 [C99-based-standards] (SCNdLEAST32): Likewise.
9815 [C99-based-standards] (SCNiLEAST32): Likewise.
9816 [C99-based-standards] (SCNoLEAST32): Likewise.
9817 [C99-based-standards] (SCNuLEAST32): Likewise.
9818 [C99-based-standards] (SCNxLEAST32): Likewise.
9819 [C99-based-standards] (PRIdFAST32): Likewise.
9820 [C99-based-standards] (PRIiFAST32): Likewise.
9821 [C99-based-standards] (PRIoFAST32): Likewise.
9822 [C99-based-standards] (PRIuFAST32): Likewise.
9823 [C99-based-standards] (PRIxFAST32): Likewise.
9824 [C99-based-standards] (PRIXFAST32): Likewise.
9825 [C99-based-standards] (SCNdFAST32): Likewise.
9826 [C99-based-standards] (SCNiFAST32): Likewise.
9827 [C99-based-standards] (SCNoFAST32): Likewise.
9828 [C99-based-standards] (SCNuFAST32): Likewise.
9829 [C99-based-standards] (SCNxFAST32): Likewise.
9830 [C99-based-standards] (PRId64): Likewise.
9831 [C99-based-standards] (PRIi64): Likewise.
9832 [C99-based-standards] (PRIo64): Likewise.
9833 [C99-based-standards] (PRIu64): Likewise.
9834 [C99-based-standards] (PRIx64): Likewise.
9835 [C99-based-standards] (PRIX64): Likewise.
9836 [C99-based-standards] (SCNd64): Likewise.
9837 [C99-based-standards] (SCNi64): Likewise.
9838 [C99-based-standards] (SCNo64): Likewise.
9839 [C99-based-standards] (SCNu64): Likewise.
9840 [C99-based-standards] (SCNx64): Likewise.
9841 [C99-based-standards] (PRIdLEAST64): Likewise.
9842 [C99-based-standards] (PRIiLEAST64): Likewise.
9843 [C99-based-standards] (PRIoLEAST64): Likewise.
9844 [C99-based-standards] (PRIuLEAST64): Likewise.
9845 [C99-based-standards] (PRIxLEAST64): Likewise.
9846 [C99-based-standards] (PRIXLEAST64): Likewise.
9847 [C99-based-standards] (SCNdLEAST64): Likewise.
9848 [C99-based-standards] (SCNiLEAST64): Likewise.
9849 [C99-based-standards] (SCNoLEAST64): Likewise.
9850 [C99-based-standards] (SCNuLEAST64): Likewise.
9851 [C99-based-standards] (SCNxLEAST64): Likewise.
9852 [C99-based-standards] (PRIdFAST64): Likewise.
9853 [C99-based-standards] (PRIiFAST64): Likewise.
9854 [C99-based-standards] (PRIoFAST64): Likewise.
9855 [C99-based-standards] (PRIuFAST64): Likewise.
9856 [C99-based-standards] (PRIxFAST64): Likewise.
9857 [C99-based-standards] (PRIXFAST64): Likewise.
9858 [C99-based-standards] (SCNdFAST64): Likewise.
9859 [C99-based-standards] (SCNiFAST64): Likewise.
9860 [C99-based-standards] (SCNoFAST64): Likewise.
9861 [C99-based-standards] (SCNuFAST64): Likewise.
9862 [C99-based-standards] (SCNxFAST64): Likewise.
9863 [C99-based-standards] (PRIdMAX): Likewise.
9864 [C99-based-standards] (PRIiMAX): Likewise.
9865 [C99-based-standards] (PRIoMAX): Likewise.
9866 [C99-based-standards] (PRIuMAX): Likewise.
9867 [C99-based-standards] (PRIxMAX): Likewise.
9868 [C99-based-standards] (PRIXMAX): Likewise.
9869 [C99-based-standards] (SCNdMAX): Likewise.
9870 [C99-based-standards] (SCNiMAX): Likewise.
9871 [C99-based-standards] (SCNoMAX): Likewise.
9872 [C99-based-standards] (SCNuMAX): Likewise.
9873 [C99-based-standards] (SCNxMAX): Likewise.
9874 [C99-based-standards] (PRIdPTR): Likewise.
9875 [C99-based-standards] (PRIiPTR): Likewise.
9876 [C99-based-standards] (PRIoPTR): Likewise.
9877 [C99-based-standards] (PRIuPTR): Likewise.
9878 [C99-based-standards] (PRIxPTR): Likewise.
9879 [C99-based-standards] (PRIXPTR): Likewise.
9880 [C99-based-standards] (SCNdPTR): Likewise.
9881 [C99-based-standards] (SCNiPTR): Likewise.
9882 [C99-based-standards] (SCNoPTR): Likewise.
9883 [C99-based-standards] (SCNuPTR): Likewise.
9884 [C99-based-standards] (SCNxPTR): Likewise.
9885 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
9886 allow.
9887 * conform/data/stdint.h-data: Update comments to clarify
9888 requirements.
9889 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
9890 type.
9891 [C99-based standards] (INT8_MAX): Likewise.
9892 [C99-based standards] (INT16_MIN): Likewise.
9893 [C99-based standards] (INT16_MAX): Likewise.
9894 [C99-based standards] (INT32_MIN): Likewise.
9895 [C99-based standards] (INT32_MAX): Likewise.
9896 [C99-based standards] (INT64_MIN): Likewise.
9897 [C99-based standards] (INT64_MAX): Likewise.
9898 [C99-based standards] (UINT8_MAX): Likewise.
9899 [C99-based standards] (UINT16_MAX): Likewise.
9900 [C99-based standards] (UINT32_MAX): Likewise.
9901 [C99-based standards] (UINT64_MAX): Likewise.
9902 [C99-based standards] (INT_LEAST8_MIN): Likewise.
9903 [C99-based standards] (INT_LEAST8_MAX): Likewise.
9904 [C99-based standards] (INT_LEAST16_MIN): Likewise.
9905 [C99-based standards] (INT_LEAST16_MAX): Likewise.
9906 [C99-based standards] (INT_LEAST32_MIN): Likewise.
9907 [C99-based standards] (INT_LEAST32_MAX): Likewise.
9908 [C99-based standards] (INT_LEAST64_MIN): Likewise.
9909 [C99-based standards] (INT_LEAST64_MAX): Likewise.
9910 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
9911 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
9912 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
9913 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
9914 [C99-based standards] (INT_FAST8_MIN): Likewise.
9915 [C99-based standards] (INT_FAST8_MAX): Likewise.
9916 [C99-based standards] (INT_FAST16_MIN): Likewise.
9917 [C99-based standards] (INT_FAST16_MAX): Likewise.
9918 [C99-based standards] (INT_FAST32_MIN): Likewise.
9919 [C99-based standards] (INT_FAST32_MAX): Likewise.
9920 [C99-based standards] (INT_FAST64_MIN): Likewise.
9921 [C99-based standards] (INT_FAST64_MAX): Likewise.
9922 [C99-based standards] (UINT_FAST8_MAX): Likewise.
9923 [C99-based standards] (UINT_FAST16_MAX): Likewise.
9924 [C99-based standards] (UINT_FAST32_MAX): Likewise.
9925 [C99-based standards] (UINT_FAST64_MAX): Likewise.
9926 [C99-based standards] (INTPTR_MIN): Likewise.
9927 [C99-based standards] (INTPTR_MAX): Likewise.
9928 [C99-based standards] (UINTPTR_MAX): Likewise.
9929 [C99-based standards] (INTMAX_MIN): Likewise.
9930 [C99-based standards] (INTMAX_MAX): Likewise.
9931 [C99-based standards] (UINTMAX_MAX): Likewise.
9932 [C99-based standards] (PTRDIFF_MIN): Likewise.
9933 [C99-based standards] (PTRDIFF_MAX): Likewise.
9934 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
9935 [C99-based standards] (SIZE_MAX): Likewise.
9936 [C99-based standards] (WCHAR_MAX): Likewise.
9937 [C99-based standards] (WINT_MAX): Likewise.
9938 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
9939 constraint on value.
9940 [C99-based standards] (WCHAR_MIN): Likewise.
9941 [C99-based standards] (WINT_MIN): Likewise.
9942 [C99-based standards] (*_t): Allow.
9943 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
9944 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
9945 Include math.h-data and complex.h-data. Remove all expectations
9946 of math.h and complex.h contents.
9947 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
9948 at end of line.
9949 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
9950 (struct tm): Expect tag.
9951 [C99-based-standards] (wcstof): Expect function.
9952 [C99-based-standards] (wcstold): Likewise.
9953 [C99-based-standards] (wcstoll): Likewise.
9954 [C99-based-standards] (wcstoull): Likewise.
9955 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
9956 macro-int-constant. Specify type.
9957 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
9958 constraint on value.
9959 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
9960 Specify type.
9961 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
9962 Specify value.
9963 [ISO C standards]: Do not allow headers.
9964 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
9965 wcs[abcdefghijklmnopqrstuvwxyz]*.
9966 [ISO C standards] (*_t): Do not allow.
9967 * conform/data/wctype.h-data [C99-based standards] (iswblank):
9968 Expect function.
9969 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
9970 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
9971 Specify type.
9972 [ISO C standards]: Do not allow headers.
9973 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
9974 is[abcdefghijklmnopqrstuvwxyz]*.
9975 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
9976 to[abcdefghijklmnopqrstuvwxyz]*.
9977 [ISO C standards] (*_t): Do not allow.
9978 * conform/data/stdalign.h-data: New file.
9979 * conform/data/stdbool.h-data: Likewise.
9980 * conform/data/stdnoreturn.h-data: Likewise.
9981
7514feb8
RM
99822012-11-07 Roland McGrath <roland@hack.frob.com>
9983
9984 [BZ #14815]
9985 * manual/filesys.texi (Directory Entries): Typo fix.
9986 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
9987
19b2ecfc
MS
99882012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9989
9990 * elf/elf.h (EM_AARCH64): New macro.
9991 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
9992 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
9993 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
9994 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
9995 (R_AARCH64_TLSDESC): Likewise.
9996 (NT_ARM_TLS): Likewise.
9997 (NT_ARM_HW_BREAK): Likewise.
9998 (NT_ARM_HW_WATCH): Likewise.
9999
60e235ee
JM
100002012-11-07 Joseph Myers <joseph@codesourcery.com>
10001
10002 [BZ #14811]
10003 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
10004 (__ieee754_powl): Saturate nonzero exponents with absolute value
10005 below 0x1p-79 to +/- 0x1p-79.
10006 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
10007 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
10008 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
10009 nonzero exponents with absolute value below 0x1p-32 to +/-
10010 0x1p-32.
10011 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
10012 (__ieee754_powl): Saturate nonzero exponents with absolute value
10013 below 0x1p-79 to +/- 0x1p-79.
10014 * math/libm-test.inc (pow_test): Add more tests.
10015
0ab234b7
AK
100162012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10017
10018 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
10019 _dl_s390_cap_flags with kernel. Increase string length.
10020 (_dl_s390_platforms): Add z196 and zEC12.
10021
45832f74
JM
100222012-11-07 Joseph Myers <joseph@codesourcery.com>
10023
10024 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
10025 Change XOPEN21K to XOPEN2K.
10026
19218757
MK
100272012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
10028
10029 * string/memmove.c: Use memcpy when possible.
10030
c5f45721
AJ
100312012-11-06 Andreas Jaeger <aj@suse.de>
10032
10033 * po/eo.po: Update from translation team.
10034
82477c28
JM
100352012-11-06 Joseph Myers <joseph@codesourcery.com>
10036
10037 [BZ #14793]
10038 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
10039 exponent and small x and y exponents, scale x or y up. Increase
10040 by 2 the exponent used in scaling up.
10041 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10042 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10043 * math/libm-test.inc (fma_test): Add more tests.
10044 (fma_test_towardzero): Likewise.
10045 (fma_test_downward): Likewise.
10046 (fma_test_upward): Likewise.
10047
99252c8c
JM
100482012-11-05 Joseph Myers <joseph@codesourcery.com>
10049
acfa885f
JM
10050 [BZ #14805]
10051 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
10052 fenv_t *.
10053
99252c8c
JM
10054 [BZ #14801]
10055 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
10056 namespace for names of struct fields.
10057 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
10058 fenv_t fields.
10059 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
10060 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
10061
d6d98dea
ST
100622012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
10063
10064 [BZ #3665]
10065 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
10066
e10bb107
TS
100672012-11-04 Thomas Schwinge <thomas@codesourcery.com>
10068
10069 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
10070 PTR_DEMANGLE.
10071
10072 [BZ #5246]
10073 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
10074 PTR_DEMANGLE.
10075
a0c2940d
JM
100762012-11-04 Joseph Myers <joseph@codesourcery.com>
10077
10078 [BZ #14797]
10079 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
10080 definitely overflow as x * y not x * y + z.
10081 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10082 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10083 * math/libm-test.inc (fma_test): Add more tests.
10084 (fma_test_towardzero): Likewise.
10085 (fma_test_downward): Likewise.
10086 (fma_test_upward): Likewise.
10087
b830319d
TS
100882012-11-04 Thomas Schwinge <thomas@codesourcery.com>
10089
10090 [BZ #157]
10091
10092 * include/stub-tag.h: Remove file.
10093 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
10094 '#include' of it.
10095 * manual/maint.texi (Porting): Don't reference it.
10096 * Makerules ($(objpfx)stubs): Likewise.
10097 * dirent/closedir.c: Don't include <stub-tag.h>.
10098 * dirent/dirfd.c: Likewise.
10099 * dirent/fdopendir.c: Likewise.
10100 * dirent/getdents.c: Likewise.
10101 * dirent/getdents64.c: Likewise.
10102 * dirent/opendir.c: Likewise.
10103 * dirent/readdir.c: Likewise.
10104 * dirent/readdir64.c: Likewise.
10105 * dirent/readdir64_r.c: Likewise.
10106 * dirent/readdir_r.c: Likewise.
10107 * dirent/rewinddir.c: Likewise.
10108 * dirent/seekdir.c: Likewise.
10109 * dirent/telldir.c: Likewise.
10110 * gmon/profil.c: Likewise.
10111 * grp/setgroups.c: Likewise.
10112 * inet/if_index.c: Likewise.
10113 * io/access.c: Likewise.
10114 * io/chdir.c: Likewise.
10115 * io/chmod.c: Likewise.
10116 * io/chown.c: Likewise.
10117 * io/close.c: Likewise.
10118 * io/dup.c: Likewise.
10119 * io/dup2.c: Likewise.
10120 * io/dup3.c: Likewise.
10121 * io/euidaccess.c: Likewise.
10122 * io/faccessat.c: Likewise.
10123 * io/fchdir.c: Likewise.
10124 * io/fchmod.c: Likewise.
10125 * io/fchmodat.c: Likewise.
10126 * io/fchown.c: Likewise.
10127 * io/fchownat.c: Likewise.
10128 * io/fcntl.c: Likewise.
10129 * io/flock.c: Likewise.
10130 * io/fstatfs.c: Likewise.
10131 * io/fstatfs64.c: Likewise.
10132 * io/fstatvfs.c: Likewise.
10133 * io/fstatvfs64.c: Likewise.
10134 * io/futimens.c: Likewise.
10135 * io/fxstat.c: Likewise.
10136 * io/fxstat64.c: Likewise.
10137 * io/fxstatat.c: Likewise.
10138 * io/fxstatat64.c: Likewise.
10139 * io/getcwd.c: Likewise.
10140 * io/isatty.c: Likewise.
10141 * io/lchmod.c: Likewise.
10142 * io/lchown.c: Likewise.
10143 * io/link.c: Likewise.
10144 * io/linkat.c: Likewise.
10145 * io/lseek.c: Likewise.
10146 * io/lseek64.c: Likewise.
10147 * io/lxstat64.c: Likewise.
10148 * io/mkdir.c: Likewise.
10149 * io/mkdirat.c: Likewise.
10150 * io/mkfifo.c: Likewise.
10151 * io/mkfifoat.c: Likewise.
10152 * io/open.c: Likewise.
10153 * io/open64.c: Likewise.
10154 * io/openat.c: Likewise.
10155 * io/openat64.c: Likewise.
10156 * io/pipe.c: Likewise.
10157 * io/pipe2.c: Likewise.
10158 * io/poll.c: Likewise.
10159 * io/posix_fadvise.c: Likewise.
10160 * io/posix_fadvise64.c: Likewise.
10161 * io/posix_fallocate.c: Likewise.
10162 * io/posix_fallocate64.c: Likewise.
10163 * io/read.c: Likewise.
10164 * io/readlink.c: Likewise.
10165 * io/readlinkat.c: Likewise.
10166 * io/rmdir.c: Likewise.
10167 * io/sendfile.c: Likewise.
10168 * io/sendfile64.c: Likewise.
10169 * io/statfs.c: Likewise.
10170 * io/statfs64.c: Likewise.
10171 * io/statvfs.c: Likewise.
10172 * io/statvfs64.c: Likewise.
10173 * io/symlink.c: Likewise.
10174 * io/symlinkat.c: Likewise.
10175 * io/ttyname.c: Likewise.
10176 * io/ttyname_r.c: Likewise.
10177 * io/umask.c: Likewise.
10178 * io/unlink.c: Likewise.
10179 * io/unlinkat.c: Likewise.
10180 * io/utime.c: Likewise.
10181 * io/utimensat.c: Likewise.
10182 * io/write.c: Likewise.
10183 * io/xmknod.c: Likewise.
10184 * io/xmknodat.c: Likewise.
10185 * io/xstat.c: Likewise.
10186 * io/xstat64.c: Likewise.
10187 * login/getpt.c: Likewise.
10188 * login/grantpt.c: Likewise.
10189 * login/unlockpt.c: Likewise.
10190 * math/e_acoshl.c: Likewise.
10191 * math/e_acosl.c: Likewise.
10192 * math/e_asinl.c: Likewise.
10193 * math/e_atan2l.c: Likewise.
10194 * math/e_atanhl.c: Likewise.
10195 * math/e_coshl.c: Likewise.
10196 * math/e_expl.c: Likewise.
10197 * math/e_fmodl.c: Likewise.
10198 * math/e_gammal_r.c: Likewise.
10199 * math/e_hypotl.c: Likewise.
10200 * math/e_j0l.c: Likewise.
10201 * math/e_j1l.c: Likewise.
10202 * math/e_jnl.c: Likewise.
10203 * math/e_lgammal_r.c: Likewise.
10204 * math/e_log10l.c: Likewise.
10205 * math/e_log2l.c: Likewise.
10206 * math/e_logl.c: Likewise.
10207 * math/e_powl.c: Likewise.
10208 * math/e_rem_pio2l.c: Likewise.
10209 * math/e_sinhl.c: Likewise.
10210 * math/e_sqrtl.c: Likewise.
10211 * math/fclrexcpt.c: Likewise.
10212 * math/fedisblxcpt.c: Likewise.
10213 * math/feenablxcpt.c: Likewise.
10214 * math/fegetenv.c: Likewise.
10215 * math/fegetexcept.c: Likewise.
10216 * math/fegetround.c: Likewise.
10217 * math/feholdexcpt.c: Likewise.
10218 * math/fesetenv.c: Likewise.
10219 * math/fesetround.c: Likewise.
10220 * math/feupdateenv.c: Likewise.
10221 * math/fgetexcptflg.c: Likewise.
10222 * math/fraiseexcpt.c: Likewise.
10223 * math/fsetexcptflg.c: Likewise.
10224 * math/ftestexcept.c: Likewise.
10225 * math/k_cosl.c: Likewise.
10226 * math/k_rem_pio2l.c: Likewise.
10227 * math/k_sinl.c: Likewise.
10228 * math/k_tanl.c: Likewise.
10229 * math/s_asinhl.c: Likewise.
10230 * math/s_atanl.c: Likewise.
10231 * math/s_cbrtl.c: Likewise.
10232 * math/s_erfl.c: Likewise.
10233 * math/s_expm1l.c: Likewise.
10234 * math/s_log1pl.c: Likewise.
10235 * math/s_tanhl.c: Likewise.
10236 * misc/acct.c: Likewise.
10237 * misc/brk.c: Likewise.
10238 * misc/chflags.c: Likewise.
10239 * misc/chroot.c: Likewise.
10240 * misc/fchflags.c: Likewise.
10241 * misc/fgetxattr.c: Likewise.
10242 * misc/flistxattr.c: Likewise.
10243 * misc/fremovexattr.c: Likewise.
10244 * misc/fsetxattr.c: Likewise.
10245 * misc/fsync.c: Likewise.
10246 * misc/ftruncate.c: Likewise.
10247 * misc/futimes.c: Likewise.
10248 * misc/futimesat.c: Likewise.
10249 * misc/getdomain.c: Likewise.
10250 * misc/getdtsz.c: Likewise.
10251 * misc/gethostid.c: Likewise.
10252 * misc/gethostname.c: Likewise.
10253 * misc/getloadavg.c: Likewise.
10254 * misc/getpagesize.c: Likewise.
10255 * misc/getsysstats.c: Likewise.
10256 * misc/getxattr.c: Likewise.
10257 * misc/gtty.c: Likewise.
10258 * misc/ioctl.c: Likewise.
10259 * misc/lgetxattr.c: Likewise.
10260 * misc/listxattr.c: Likewise.
10261 * misc/llistxattr.c: Likewise.
10262 * misc/lremovexattr.c: Likewise.
10263 * misc/lsetxattr.c: Likewise.
10264 * misc/lutimes.c: Likewise.
10265 * misc/madvise.c: Likewise.
10266 * misc/mincore.c: Likewise.
10267 * misc/mlock.c: Likewise.
10268 * misc/mlockall.c: Likewise.
10269 * misc/mmap.c: Likewise.
10270 * misc/mprotect.c: Likewise.
10271 * misc/msync.c: Likewise.
10272 * misc/munlock.c: Likewise.
10273 * misc/munlockall.c: Likewise.
10274 * misc/munmap.c: Likewise.
10275 * misc/preadv.c: Likewise.
10276 * misc/preadv64.c: Likewise.
10277 * misc/ptrace.c: Likewise.
10278 * misc/pwritev.c: Likewise.
10279 * misc/pwritev64.c: Likewise.
10280 * misc/readv.c: Likewise.
10281 * misc/reboot.c: Likewise.
10282 * misc/remap_file_pages.c: Likewise.
10283 * misc/removexattr.c: Likewise.
10284 * misc/revoke.c: Likewise.
10285 * misc/select.c: Likewise.
10286 * misc/setdomain.c: Likewise.
10287 * misc/setegid.c: Likewise.
10288 * misc/seteuid.c: Likewise.
10289 * misc/sethostid.c: Likewise.
10290 * misc/sethostname.c: Likewise.
10291 * misc/setregid.c: Likewise.
10292 * misc/setreuid.c: Likewise.
10293 * misc/setxattr.c: Likewise.
10294 * misc/sstk.c: Likewise.
10295 * misc/stty.c: Likewise.
10296 * misc/swapoff.c: Likewise.
10297 * misc/swapon.c: Likewise.
10298 * misc/sync.c: Likewise.
10299 * misc/syncfs.c: Likewise.
10300 * misc/syscall.c: Likewise.
10301 * misc/truncate.c: Likewise.
10302 * misc/ualarm.c: Likewise.
10303 * misc/usleep.c: Likewise.
10304 * misc/ustat.c: Likewise.
10305 * misc/utimes.c: Likewise.
10306 * misc/vhangup.c: Likewise.
10307 * misc/writev.c: Likewise.
10308 * posix/_exit.c: Likewise.
10309 * posix/alarm.c: Likewise.
10310 * posix/execve.c: Likewise.
10311 * posix/fexecve.c: Likewise.
10312 * posix/fork.c: Likewise.
10313 * posix/fpathconf.c: Likewise.
10314 * posix/getaddrinfo.c: Likewise.
10315 * posix/getegid.c: Likewise.
10316 * posix/geteuid.c: Likewise.
10317 * posix/getgid.c: Likewise.
10318 * posix/getgroups.c: Likewise.
10319 * posix/getlogin.c: Likewise.
10320 * posix/getlogin_r.c: Likewise.
10321 * posix/getpgid.c: Likewise.
10322 * posix/getpid.c: Likewise.
10323 * posix/getppid.c: Likewise.
10324 * posix/getresgid.c: Likewise.
10325 * posix/getresuid.c: Likewise.
10326 * posix/getsid.c: Likewise.
10327 * posix/getuid.c: Likewise.
10328 * posix/glob64.c: Likewise.
10329 * posix/nanosleep.c: Likewise.
10330 * posix/pathconf.c: Likewise.
10331 * posix/pause.c: Likewise.
10332 * posix/posix_madvise.c: Likewise.
10333 * posix/pread.c: Likewise.
10334 * posix/pread64.c: Likewise.
10335 * posix/pwrite.c: Likewise.
10336 * posix/pwrite64.c: Likewise.
10337 * posix/sched_getaffinity.c: Likewise.
10338 * posix/sched_getp.c: Likewise.
10339 * posix/sched_gets.c: Likewise.
10340 * posix/sched_primax.c: Likewise.
10341 * posix/sched_primin.c: Likewise.
10342 * posix/sched_rr_gi.c: Likewise.
10343 * posix/sched_setaffinity.c: Likewise.
10344 * posix/sched_setp.c: Likewise.
10345 * posix/sched_sets.c: Likewise.
10346 * posix/sched_yield.c: Likewise.
10347 * posix/setgid.c: Likewise.
10348 * posix/setlogin.c: Likewise.
10349 * posix/setpgid.c: Likewise.
10350 * posix/setresgid.c: Likewise.
10351 * posix/setresuid.c: Likewise.
10352 * posix/setsid.c: Likewise.
10353 * posix/setuid.c: Likewise.
10354 * posix/sleep.c: Likewise.
10355 * posix/spawni.c: Likewise.
10356 * posix/sysconf.c: Likewise.
10357 * posix/times.c: Likewise.
10358 * posix/wait.c: Likewise.
10359 * posix/wait3.c: Likewise.
10360 * posix/wait4.c: Likewise.
10361 * posix/waitpid.c: Likewise.
10362 * resolv/gai_sigqueue.c: Likewise.
10363 * resource/getpriority.c: Likewise.
10364 * resource/getrlimit.c: Likewise.
10365 * resource/getrusage.c: Likewise.
10366 * resource/nice.c: Likewise.
10367 * resource/setpriority.c: Likewise.
10368 * resource/setrlimit.c: Likewise.
10369 * resource/ulimit.c: Likewise.
10370 * rt/aio_cancel.c: Likewise.
10371 * rt/aio_fsync.c: Likewise.
10372 * rt/aio_read.c: Likewise.
10373 * rt/aio_sigqueue.c: Likewise.
10374 * rt/aio_suspend.c: Likewise.
10375 * rt/aio_write.c: Likewise.
10376 * rt/clock_getres.c: Likewise.
10377 * rt/clock_gettime.c: Likewise.
10378 * rt/clock_nanosleep.c: Likewise.
10379 * rt/clock_settime.c: Likewise.
10380 * rt/lio_listio.c: Likewise.
10381 * rt/mq_close.c: Likewise.
10382 * rt/mq_getattr.c: Likewise.
10383 * rt/mq_notify.c: Likewise.
10384 * rt/mq_open.c: Likewise.
10385 * rt/mq_receive.c: Likewise.
10386 * rt/mq_send.c: Likewise.
10387 * rt/mq_setattr.c: Likewise.
10388 * rt/mq_timedreceive.c: Likewise.
10389 * rt/mq_timedsend.c: Likewise.
10390 * rt/mq_unlink.c: Likewise.
10391 * rt/shm_open.c: Likewise.
10392 * rt/shm_unlink.c: Likewise.
10393 * rt/timer_create.c: Likewise.
10394 * rt/timer_delete.c: Likewise.
10395 * rt/timer_getoverr.c: Likewise.
10396 * rt/timer_gettime.c: Likewise.
10397 * rt/timer_settime.c: Likewise.
10398 * setjmp/__longjmp.c: Likewise.
10399 * setjmp/setjmp.c: Likewise.
10400 * signal/kill.c: Likewise.
10401 * signal/killpg.c: Likewise.
10402 * signal/raise.c: Likewise.
10403 * signal/sigaction.c: Likewise.
10404 * signal/sigaltstack.c: Likewise.
10405 * signal/sigblock.c: Likewise.
10406 * signal/sigignore.c: Likewise.
10407 * signal/sigintr.c: Likewise.
10408 * signal/signal.c: Likewise.
10409 * signal/sigpause.c: Likewise.
10410 * signal/sigpending.c: Likewise.
10411 * signal/sigqueue.c: Likewise.
10412 * signal/sigreturn.c: Likewise.
10413 * signal/sigset.c: Likewise.
10414 * signal/sigsetmask.c: Likewise.
10415 * signal/sigstack.c: Likewise.
10416 * signal/sigsuspend.c: Likewise.
10417 * signal/sigtimedwait.c: Likewise.
10418 * signal/sigvec.c: Likewise.
10419 * signal/sigwait.c: Likewise.
10420 * signal/sigwaitinfo.c: Likewise.
10421 * signal/sysv_signal.c: Likewise.
10422 * socket/accept.c: Likewise.
10423 * socket/accept4.c: Likewise.
10424 * socket/bind.c: Likewise.
10425 * socket/connect.c: Likewise.
10426 * socket/getpeername.c: Likewise.
10427 * socket/getsockname.c: Likewise.
10428 * socket/getsockopt.c: Likewise.
10429 * socket/isfdtype.c: Likewise.
10430 * socket/listen.c: Likewise.
10431 * socket/recv.c: Likewise.
10432 * socket/recvfrom.c: Likewise.
10433 * socket/recvmsg.c: Likewise.
10434 * socket/send.c: Likewise.
10435 * socket/sendmsg.c: Likewise.
10436 * socket/sendto.c: Likewise.
10437 * socket/setsockopt.c: Likewise.
10438 * socket/shutdown.c: Likewise.
10439 * socket/sockatmark.c: Likewise.
10440 * socket/socket.c: Likewise.
10441 * socket/socketpair.c: Likewise.
10442 * stdio-common/ctermid.c: Likewise.
10443 * stdio-common/cuserid.c: Likewise.
10444 * stdio-common/remove.c: Likewise.
10445 * stdio-common/rename.c: Likewise.
10446 * stdio-common/renameat.c: Likewise.
10447 * stdio-common/tempname.c: Likewise.
10448 * stdlib/getcontext.c: Likewise.
10449 * stdlib/makecontext.c: Likewise.
10450 * stdlib/setcontext.c: Likewise.
10451 * stdlib/swapcontext.c: Likewise.
10452 * stdlib/system.c: Likewise.
10453 * streams/fattach.c: Likewise.
10454 * streams/fdetach.c: Likewise.
10455 * streams/getmsg.c: Likewise.
10456 * streams/getpmsg.c: Likewise.
10457 * streams/putmsg.c: Likewise.
10458 * streams/putpmsg.c: Likewise.
10459 * sysdeps/unix/bsd/getpt.c: Likewise.
10460 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
10461 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
10462 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
10463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
10464 Likewise.
10465 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
10466 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
10467 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
10468 * sysvipc/msgctl.c: Likewise.
10469 * sysvipc/msgget.c: Likewise.
10470 * sysvipc/msgrcv.c: Likewise.
10471 * sysvipc/msgsnd.c: Likewise.
10472 * sysvipc/semctl.c: Likewise.
10473 * sysvipc/semget.c: Likewise.
10474 * sysvipc/semop.c: Likewise.
10475 * sysvipc/semtimedop.c: Likewise.
10476 * sysvipc/shmat.c: Likewise.
10477 * sysvipc/shmctl.c: Likewise.
10478 * sysvipc/shmdt.c: Likewise.
10479 * sysvipc/shmget.c: Likewise.
10480 * termios/tcdrain.c: Likewise.
10481 * termios/tcflow.c: Likewise.
10482 * termios/tcflush.c: Likewise.
10483 * termios/tcgetattr.c: Likewise.
10484 * termios/tcgetpgrp.c: Likewise.
10485 * termios/tcsendbrk.c: Likewise.
10486 * termios/tcsetattr.c: Likewise.
10487 * termios/tcsetpgrp.c: Likewise.
10488 * time/adjtime.c: Likewise.
10489 * time/clock.c: Likewise.
10490 * time/getitimer.c: Likewise.
10491 * time/gettimeofday.c: Likewise.
10492 * time/setitimer.c: Likewise.
10493 * time/settimeofday.c: Likewise.
10494 * time/stime.c: Likewise.
10495 * time/time.c: Likewise.
10496
104972012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 10498
a20492cf
PT
10499 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
10500 /usr/old/bin.
10501
72e182e3
PT
10502 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
10503 instead of spaces.
10504 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
10505
fbeafede
JM
105062012-11-03 Joseph Myers <joseph@codesourcery.com>
10507
5b5b04d6
JM
10508 [BZ #14796]
10509 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
10510 FE_TONEAREST before applying Dekker multiplication and Knuth
10511 addition. Clear inexact exceptions and check for exact zero
10512 results afterwards.
10513 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10514 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10515 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10516 * math/libm-test.inc (fma_test): Add more tests.
10517 (fma_test_towardzero): Likewise.
10518 (fma_test_downward): Likewise.
10519 (fma_test_upward): Likewise.
10520 * sysdeps/generic/math_private.h (default_libc_fesetround): New
10521 function.
10522 (libc_fesetround): New macro.
10523 (libc_fesetroundf): Likewise.
10524 (libc_fesetroundl): Likewise.
10525 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
10526 function.
10527 (libc_fesetround_387): Likewise.
10528 (libc_fesetroundf): New macro.
10529 (libc_fesetround): Likewise.
10530 (libc_fesetroundl): Likewise.
10531 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
10532 function.
10533 (libc_fesetroundf): New macro.
10534 (libc_fesetround): Likewise.
10535 (libc_fesetroundl): Likewise.
10536 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
10537 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
10538 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
10539 libm_hidden_ver.
10540 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
10541 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
10542 libm_hidden_def.
10543 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
10544 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
10545 libm_hidden_ver.
10546 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
10547 libm_hidden_def.
10548
fbeafede
JM
10549 [BZ #3439]
10550 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
10551 integer constant usable in #if and use that to give value to enum
10552 constant.
10553 (FE_DIVBYZERO): Likewise.
10554 (FE_UNDERFLOW): Likewise.
10555 (FE_OVERFLOW): Likewise.
10556 (FE_INVALID): Likewise.
10557 (FE_INVALID_SNAN): Likewise.
10558 (FE_INVALID_ISI): Likewise.
10559 (FE_INVALID_IDI): Likewise.
10560 (FE_INVALID_ZDZ): Likewise.
10561 (FE_INVALID_IMZ): Likewise.
10562 (FE_INVALID_COMPARE): Likewise.
10563 (FE_INVALID_SOFTWARE): Likewise.
10564 (FE_INVALID_SQRT): Likewise.
10565 (FE_INVALID_INTEGER_CONVERSION): Likewise.
10566 (FE_TONEAREST): Likewise.
10567 (FE_TOWARDZERO): Likewise.
10568 (FE_UPWARD): Likewise.
10569 (FE_DOWNWARD): Likewise.
10570 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
10571 (FE_DIVBYZERO): Likewise.
10572 (FE_OVERFLOW): Likewise.
10573 (FE_UNDERFLOW): Likewise.
10574 (FE_INEXACT): Likewise.
10575 (FE_TONEAREST): Likewise.
10576 (FE_DOWNWARD): Likewise.
10577 (FE_UPWARD): Likewise.
10578 (FE_TOWARDZERO): Likewise.
10579 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
10580 (FE_UNDERFLOW): Likewise.
10581 (FE_OVERFLOW): Likewise.
10582 (FE_DIVBYZERO): Likewise.
10583 (FE_INVALID): Likewise.
10584 (FE_TONEAREST): Likewise.
10585 (FE_TOWARDZERO): Likewise.
10586 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
10587 (FE_OVERFLOW): Likewise.
10588 (FE_UNDERFLOW): Likewise.
10589 (FE_DIVBYZERO): Likewise.
10590 (FE_INEXACT): Likewise.
10591 (FE_TONEAREST): Likewise.
10592 (FE_TOWARDZERO): Likewise.
10593 (FE_UPWARD): Likewise.
10594 (FE_DOWNWARD): Likewise.
10595 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
10596 (FE_DIVBYZERO): Likewise.
10597 (FE_OVERFLOW): Likewise.
10598 (FE_UNDERFLOW): Likewise.
10599 (FE_INEXACT): Likewise.
10600 (FE_TONEAREST): Likewise.
10601 (FE_DOWNWARD): Likewise.
10602 (FE_UPWARD): Likewise.
10603 (FE_TOWARDZERO): Likewise.
10604
105ca950
CM
106052012-11-02 Chris Metcalf <cmetcalf@tilera.com>
10606
10607 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
10608
a542b389
AS
106092012-11-03 Andreas Schwab <schwab@linux-m68k.org>
10610
10611 * scripts/cross-test-ssh.sh (command): Use newlines to separate
10612 commands. Quote $PWD.
10613 (blacklist_exports): Don't use remove_newlines. Replace "declare
10614 -x" by "export".
10615 (remove_newlines): Remove.
10616
f62c8abc
L
106172012-11-02 H.J. Lu <hongjiu.lu@intel.com>
10618
10619 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
10620 * stdlib/stdlib.h (atof): Moved to ...
10621 * include/bits/stdlib-float.h: Here. New file.
10622 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
10623 * stdlib/bits/stdlib-float.h: New file.
10624 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
10625 -mno-sse -mno-mmx.
10626 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
10627 <xmmintrin.h>.
10628
0155d5b2
JM
106292012-11-02 Joseph Myers <joseph@codesourcery.com>
10630
a68d0680
JM
10631 * conform/conformtest.pl (@headers): Add fenv.h.
10632 * conform/data/fenv.h-data: New file.
10633 * include/fenv.h [_ISOMAC]: Disable all contents of file except
10634 include of <math/fenv.h>.
10635
caf7f573
JM
10636 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
10637 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
10638 && !UNIX98]. Enables tests for XOPEN2K8.
10639 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
10640 POSIX2008]: Likewise.
10641
6c073ad6
JM
10642 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
10643 (struct rusage): Do not expect type or its members.
10644
0155d5b2
JM
10645 [BZ #3439]
10646 * math/math.h (FP_NAN): Define macro to integer constant usable in
10647 #if and use that to give value to enum constant.
10648 (FP_INFINITE): Likewise.
10649 (FP_ZERO): Likewise.
10650 (FP_SUBNORMAL): Likewise.
10651 (FP_NORMAL): Likewise.
10652
b5dcacb4
AS
106532012-11-02 Andreas Schwab <schwab@linux-m68k.org>
10654
10655 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
10656 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
10657 arguments.
10658
f7934be8
RM
106592012-11-02 Roland McGrath <roland@hack.frob.com>
10660
10661 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
10662 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
10663 autoconf-time if not.
10664 * configure.in: Remove AC_PREREQ.
10665
d7d08bde
TMQMF
106662012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10667
10668 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
10669 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
10670 of the internal implementation.
10671
dcdae19a
JM
106722012-11-02 Joseph Myers <joseph@codesourcery.com>
10673
10674 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
10675 except include of <misc/sys/syslog.h>.
10676
d6cffd3e
AS
106772012-11-01 Andreas Schwab <schwab@linux-m68k.org>
10678
10679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
10680 function returns with a NULL context exit with zero.
10681
b3563932
TMQMF
106822012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10683
10684 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
10685
b288a93d
L
106862012-11-01 H.J. Lu <hongjiu.lu@intel.com>
10687
10688 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
10689 (run_program_cmd): This.
10690 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
10691 (tst_langinfo): New variable. Use it.
10692
a2421a68
SAS
106932012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
10694
10695 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
10696 floating point opcodes.
10697
6f796e1b
TS
106982012-11-01 Thomas Schwinge <thomas@codesourcery.com>
10699
7402596b
TS
10700 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
10701 variable.
10702
d0d4f868
TS
10703 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
10704
6f796e1b
TS
10705 * sysdeps/mach/hurd/powerpc: Remove directory.
10706 * sysdeps/mach/powerpc: Likewise.
10707
4da224a2
AS
107082012-11-01 Andreas Schwab <schwab@linux-m68k.org>
10709
10710 * scripts/check-local-headers.sh: Ignore c++ headers.
10711
341dd673
TS
107122012-11-01 Thomas Schwinge <thomas@codesourcery.com>
10713
10714 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
10715 __libc_cleanup_region_start argument.
10716
473611b2
JM
107172012-11-01 Joseph Myers <joseph@codesourcery.com>
10718
10719 [BZ #14784]
10720 [BZ #14785]
10721 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
10722 x * y using scaling, not as x * y + z.
10723 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10724 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10725 * math/libm-test.inc (fma_test): Add more tests.
10726 (fma_test_towardzero): Likewise.
10727 (fma_test_downward): Likewise.
10728 (fma_test_upward): Likewise.
10729
4078da3d
TS
107302012-11-01 Thomas Schwinge <thomas@codesourcery.com>
10731
10732 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
10733
903252aa
JM
107342012-10-31 Joseph Myers <joseph@codesourcery.com>
10735
10736 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
10737 New variable.
10738
cbc818d0
TS
107392012-10-31 Thomas Schwinge <thomas@codesourcery.com>
10740
10741 * rt/tst-shm.c (worker): Correct checking for mmap failure.
10742
5a03cb1e
AS
107432012-10-31 Andreas Schwab <schwab@linux-m68k.org>
10744
10745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10746 Fix sort order.
10747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10748 Likewise.
10749
90aff2ff
TMQMF
107502012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10751
10752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10753 Fix the order of the list for glibc 2.17.
10754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10755 Likewise.
10756
1818fcb7
AS
107572012-10-31 Andreas Schwab <schwab@linux-m68k.org>
10758
10759 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10760
ef82f4da
JM
107612012-10-31 Joseph Myers <joseph@codesourcery.com>
10762
16a0e2ec
JM
10763 [BZ #14610]
10764 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
10765 for low part of x being zero before using __atanl (y).
10766 * math/libm-test.inc (atan2_test): Add another test.
10767
0eb69512
JM
10768 * manual/install.texi (Configuring and compiling): Document
10769 general use of test-wrapper and test-wrapper-env.
10770 * INSTALL: Regenerated.
10771
ef82f4da
JM
10772 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
10773 (__fma): Do not extract and scale down low bits on after-rounding
10774 systems when result rounded to normal precision would have normal
10775 exponent.
10776 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
10777 (__fmal): Do not extract and scale down low bits on after-rounding
10778 systems when result rounded to normal precision would have normal
10779 exponent.
10780 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
10781 (__fmal): Do not extract and scale down low bits on after-rounding
10782 systems when result rounded to normal precision would have normal
10783 exponent.
10784 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
10785 macro.
10786 (fma_test): Add more tests.
10787 (fma_test_towardzero): Likewise.
10788 (fma_test_downward): Likewise.
10789 (fma_test_upward): Likewise.
10790
954ef0d9
L
107912012-10-30 H.J. Lu <hongjiu.lu@intel.com>
10792
10793 * sysdeps/i386/tininess.h: Renamed to ...
10794 * sysdeps/x86/tininess.h: This.
10795 * sysdeps/x86_64/tininess.h: Removed.
10796
df61ffb2
JM
107972012-10-30 Joseph Myers <joseph@codesourcery.com>
10798
10799 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
10800 input. Use $(build-program-cmd).
10801 ($(objpfx)tst-array1-static.out): Likewise.
10802 ($(objpfx)tst-array2.out): Likewise.
10803 ($(objpfx)tst-array3.out): Likewise.
10804 ($(objpfx)tst-array4.out): Likewise.
10805 ($(objpfx)tst-array5.out): Likewise.
10806 ($(objpfx)tst-array5-static.out): Likewise.
10807
01767843
CM
108082012-10-30 Chris Metcalf <cmetcalf@tilera.com>
10809
47cc1490
CM
10810 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
10811 if defined.
10812
01767843
CM
10813 * nss/nsswitch.h (nss_interface_function): Provide new
10814 macro for use with NSS functions.
10815 * grp/initgroups.c: Use new macro.
10816 * nss/getXXbyYY.c: Likewise.
10817 * nss/getXXbyYY_r.c: Likewise.
10818 * nss/getXXent.c: Likewise.
10819 * nss/getXXent_r.c: Likewise.
10820 * sysdeps/posix/getaddrinfo.c: Likewise.
10821
8321aa97
AJ
108222012-10-30 Andreas Jaeger <aj@suse.de>
10823
10824 * po/ru.po: Update Russion translation from translation project.
10825
2a27fd6d
JM
108262012-10-30 Joseph Myers <joseph@codesourcery.com>
10827
8627a232
JM
10828 [BZ #14152]
10829 [BZ #14783]
10830 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
10831 result and shift together with sticky bit instead of replicating
10832 round-to-nearest rounding.
10833 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10834 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10835 * math/libm-test.inc (fma_test): Add more tests. Do not permit
10836 missing underflow exceptions.
10837 (fma_test_towardzero): Add more tests.
10838 (fma_test_downward): Likewise.
10839 (fma_test_upward): Likewise.
10840
2a27fd6d
JM
10841 [BZ #14047]
10842 * sysdeps/generic/tininess.h: New file.
10843 * sysdeps/i386/tininess.h: Likewise.
10844 * sysdeps/sh/tininess.h: Likewise.
10845 * sysdeps/x86_64/tininess.h: Likewise.
10846 * stdlib/tst-strtod-underflow.c: Likewise.
10847 * stdlib/tst-tininess.c: Likewise.
10848 * stdlib/strtod_l.c: Include <tininess.h>.
10849 (round_and_return): Do not set errno for exact underflow cases.
10850 Force an underflow exception when setting errno for underflow.
10851 Determine underflow based on rounding to normal precision if
10852 TININESS_AFTER_ROUNDING.
10853 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
10854 ERANGE for exact underflow cases.
10855 * stdlib/Makefile (tests): Add tst-tininess and
10856 tst-strtod-underflow.
10857 ($(objpfx)tst-tininess): Use $(link-libm).
10858 ($(objpfx)tst-strtod-underflow): Likewise.
10859
e7170363
AJ
108602012-10-30 Andreas Jaeger <aj@suse.de>
10861
e5088dc6
AJ
10862 [BZ#14767]
10863 * elf/Makefile (tests): Remove conditional for have-initfini-array
10864 since this is now always required and the variable does not exist
10865 anymore.
10866 (tests-static): Likewise.
10867 (modules-names): Likewise.
10868
e7170363 10869 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
10870
10871 * elf/tst-array1.c (fini_array): Make writeable so that it can be
10872 merged with constructor/destructor.
10873 (init_array): Likewise.
10874 * elf/tst-array2dep.c (fini_array): Likewise.
10875 (init_array): Likewise.
10876
60457d8a
MF
108772012-10-29 Mike Frysinger <vapier@gentoo.org>
10878
10879 * manual/message.texi: Delete @cartouche tags.
10880
8bece752
PT
108812012-10-29 Pino Toscano <toscano.pino@tiscali.it>
10882
94ce799f
PT
10883 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
10884 EOPNOTSUPP.
10885 * sysdeps/mach/hurd/fsync.c: Likewise.
10886
8bece752
PT
10887 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
10888 [_POSIX_REALTIME_SIGNALS]: Change condition to
10889 [_POSIX_REALTIME_SIGNALS > 0].
10890
86ebe6b1
AJ
108912012-10-27 Andreas Jaeger <aj@suse.de>
10892
10893 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
10894 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
10895 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
10896 [__WORDSIZE != 64]: Likewise.
10897
54399c08
L
108982012-10-26 H.J. Lu <hongjiu.lu@intel.com>
10899
10900 * iconvdata/tst-table.sh: Remove ${SHELL}.
10901 * iconvdata/tst-tables.sh: Likewise.
10902
e2211bed
DM
109032012-10-25 David S. Miller <davem@davemloft.net>
10904
10905 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10906 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
10907 of strtoull.
10908
f303f97c
DM
10909 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
10910 ifunc-impl-list.c
10911 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10912 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
10913 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
10914 file.
10915
1e9d84cd
RM
109162012-10-25 Roland McGrath <roland@hack.frob.com>
10917
10918 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10919 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
10920 __getdirentries.
10921
df381762
JM
109222012-10-25 Joseph Myers <joseph@codesourcery.com>
10923 Jim Blandy <jimb@codesourcery.com>
10924
10925 * scripts/cross-test-ssh.sh: New file.
10926 * manual/install.texi (Configuring and compiling): Document use of
10927 cross-test-ssh.sh.
10928 * INSTALL: Regenerated.
10929
bff64913
PT
109302012-10-25 Pino Toscano <toscano.pino@tiscali.it>
10931
10932 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
10933 EOPNOTSUPP.
10934
25fe8932
JM
109352012-10-25 Joseph Myers <joseph@codesourcery.com>
10936
10937 * Makeconfig (run-program-prefix): Fix comment.
10938
cc1290d0
JM
109392012-10-24 Joseph Myers <joseph@codesourcery.com>
10940 Jim Blandy <jimb@codesourcery.com>
10941
10942 * Makeconfig (test-wrapper): New variable,
10943 (test-wrapper-env): Likewise.
10944 [$(cross-compiling) = yes && $(test-wrapper) != ""]
10945 (run-built-tests): Define to yes.
10946 (run-program-prefix): Use $(test-wrapper).
10947 (built-program-cmd): Likewise.
10948 * Rules (make-test-out): Use $(test-wrapper-env) and
10949 $(host-built-program-cmd).
10950 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
10951 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
10952 tst-pathopt.sh.
10953 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
10954 $(test-wrapper-env) to tst-rtld-load-self.sh.
10955 ($(objpfx)order2.out): Use $(test-wrapper).
10956 ($(objpfx)tst-initorder.out): Likewise.
10957 ($(objpfx)tst-initorder2.out): Likewise.
10958 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
10959 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
10960 (test_wrapper_env): New variable. Use it to run ld.so.
10961 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
10962 Use it to run ld.so.
10963 (test_wrapper_env): Likewise.
10964 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
10965 $(test-wrapper) to run-iconv-test.sh.
10966 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
10967 (ICONV): Use $test_wrapper.
10968 * posix/Makefile ($(objpfx)globtest.out): Pass
10969 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
10970 globtest.sh, not $(run-program-prefix).
10971 * posix/globtest.sh (run_via_rtld_prefix): New variable.
10972 (test_wrapper): Likewise.
10973 (test_wrapper_env): Likewise. Use it to run globtest with HOME
10974 set together with run_via_rtld_prefix.
10975 (run_program_prefix): Define in terms of test_wrapper and
10976 run_via_rtld_prefix.
10977
6e6249d0
RM
109782012-10-24 Roland McGrath <roland@hack.frob.com>
10979
10980 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
10981 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
10982 Targets removed.
10983
10984 [BZ #14743]
10985 * include/time.h: Remove librt_hidden_proto (clock_gettime).
10986 Declare __clock_getres, __clock_gettime, __clock_settime,
10987 __clock_nanosleep, and __clock_getcpuclockid.
10988 * rt/clock_gettime.c: Define __clock_gettime as an alias.
10989 Remove librt_hidden_def (clock_gettime).
10990 * sysdeps/unix/clock_gettime.c: Likewise.
10991 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
10992 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
10993 * rt/clock_getres.c: Define __clock_getres as an alias.
10994 * sysdeps/posix/clock_getres.c: Likewise.
10995 * rt/clock_settime.c: Define __clock_settime as an alias.
10996 * sysdeps/unix/clock_settime.c: Likewise.
10997 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
10998 * sysdeps/unix/clock_nanosleep.c: Likewise.
10999 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
11000 * rt/clock-compat.c: New file.
11001 * rt/Makefile (librt-routines): Add clock-compat and move
11002 $(clock-routines) to ...
11003 (routines): ... here, new variable.
11004 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
11005 Don't add get_clockfreq here.
11006 * rt/Versions (libc: GLIBC_2.17): New version set.
11007 Add clock_* symbols here.
11008 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
11009 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
11010 (GLIBC_2.17): Add clock_* symbols.
11011 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
11012 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
11013 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11015 Likewise.
11016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11017 Likewise.
11018 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11019 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
11020 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
11021 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
11022 * NEWS: Mention the move.
11023
11024 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
11025 Use __open, __read, __close rather than their public counterparts.
11026 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11027 (__get_clockfreq_via_cpuinfo): Likewise.
11028 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
11029 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
11030
11031 * config.h.in (HAVE_IFUNC): New #undef.
11032 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
11033 was successful.
11034 * configure: Regenerated.
11035
0cae3f4b
MF
110362012-10-24 Mike Frysinger <vapier@gentoo.org>
11037
11038 * configure.in: Move READELF check to start of file.
11039 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
11040 libc_cv_asm_gnu_indirect_function in the process.
11041 * configure: Regenerated.
11042
8175a253
MF
110432012-10-24 Mike Frysinger <vapier@gentoo.org>
11044
11045 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
11046 send the output to /dev/null.
11047 (libc_cv_cc_with_libunwind): Likewise.
11048 (libc_cv_as_noexecstack): Likewise.
11049 * configure: Regenerate.
11050
0708a7d1
JM
110512012-10-24 Joseph Myers <joseph@codesourcery.com>
11052
10b40d85
JM
11053 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
11054
0708a7d1
JM
11055 * posix/globtest.sh (TMPDIR): Do not set.
11056 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
11057 (testout): Likewise.
11058
9fddec1a
AJ
110592012-10-24 Andreas Jaeger <aj@suse.de>
11060
3a8db22f
AJ
11061 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
11062 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
11063 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
11064 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
11065 posix_fadvise64, posix_fallocate64.
11066
9fddec1a
AJ
11067 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
11068 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
11069 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
11070 Likewise.
11071 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
11072 Likewise.
11073 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
11074
11075 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
11076 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
11077 <bits/fcntl-linux.h>.
11078 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
11079
11080 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
11081 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
11082 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
11083 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
11084 [__WORDSIZE != 64]: Likewise.
11085
ebfd1bbd
JM
110862012-10-23 Joseph Myers <joseph@codesourcery.com>
11087
03ac099f
JM
11088 * Makeconfig (run-built-tests): New variable.
11089 * Rules [$(cross-compiling) = yes]: Change condition to
11090 [$(run-built-tests) = no].
11091 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
11092 to [$(run-built-tests) = yes].
11093 * elf/Makefile [$(cross-compiling) = no]: Likewise
11094 * grp/Makefile [$(cross-compiling) = no]: Likewise.
11095 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
11096 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
11097 * intl/Makefile [$(cross-compiling) = no]: Likewise.
11098 * io/Makefile [$(cross-compiling) = no]: Likewise.
11099 * libio/Makefile [$(cross-compiling) = no]: Likewise.
11100 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
11101 * misc/Makefile [$(cross-compiling) = no]: Likewise.
11102 * posix/Makefile [$(cross-compiling) = no]: Likewise.
11103 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
11104 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
11105 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
11106 * string/Makefile [$(cross-compiling) = no]: Likewise.
11107
ebfd1bbd
JM
11108 * posix/Makefile ($(objpfx)globtest.out): Pass
11109 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
11110 $(rtld-installed-name).
11111 * posix/globtest.sh (elf_objpfx): Remove variable.
11112 (rtld_installed_name): Likewise.
11113 (library_path): Likewise.
11114 (run_program_prefix): New variable. Use for running globtest
11115 binary.
11116
166bca24
JB
111172012-10-23 Jim Blandy <jimb@codesourcery.com>
11118 Joseph Myers <joseph@codesourcery.com>
11119
11120 * Makeconfig (host-built-program-cmd): New variable.
11121 * elf/Makefile (tst-stackguard1-ARGS): Use
11122 $(host-built-program-cmd).
11123 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
11124 (tst-spawn-ARGS): Likewise.
11125 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
11126
88866099
JM
111272012-10-23 Joseph Myers <joseph@codesourcery.com>
11128 Jim Blandy <jimb@codesourcery.com>
11129
11130 * Makeconfig (run-via-rtld-prefix): New variable.
11131 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
11132 (built-program-cmd): Likewise.
11133
b4b4c296
AJ
111342012-10-22 Andreas Jaeger <aj@suse.de>
11135
11136 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
11137 __O_RSYNC if it exists, otherwise to O_SYNC.
11138
6fb54a22
JB
111392012-10-22 Jim Blandy <jimb@codesourcery.com>
11140 Joseph Myers <joseph@codesourcery.com>
11141
11142 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
11143 /dev/null.
11144 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
11145 from /dev/null
11146 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
11147 /dev/null.
11148
481b90b9
AJ
111492012-10-22 Andreas Jaeger <aj@suse.de>
11150
2a0e2669
AJ
11151 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
11152 Define always.
11153 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
11154
76e38f9a
AJ
11155 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11156 bits/fcntl-linux.h.
11157
7cd37b43
AJ
11158 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
11159 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
11160
481b90b9
AJ
11161 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
11162 to __O_LARGEFILE.
11163 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
11164 to __O_LARGEFILE.
11165
aba75984
JB
111662012-10-21 Jim Blandy <jimb@codesourcery.com>
11167 Joseph Myers <joseph@codesourcery.com>
11168
11169 * config.make.in (NM): New variable.
11170
88d4247f
AJ
111712012-10-21 Andreas Jaeger <aj@suse.de>
11172
11173 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
11174 definitions and declarations that are provided by
11175 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
11176
f2eed205
L
111772012-10-20 H.J. Lu <hongjiu.lu@intel.com>
11178
11179 [BZ #14683]
11180 * elf/Makefile (tests-static): Add tst-leaks1-static.
11181 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
11182 ($(objpfx)tst-leaks1-static): New rule.
11183 ($(objpfx)tst-leaks1-static-mem): Likewise.
11184 (tst-leaks1-static-ENV): New macro.
11185 * elf/dl-open.c (dl_open_worker): Check the main application
11186 only if SHARED is defined.
11187 * elf/tst-leaks1-static.c: New file.
11188
335e6931
AJ
111892012-10-20 Andreas Jaeger <aj@suse.de>
11190
11191 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
11192 generic values for Linux.
11193 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
11194 and declarations that are provided by <bits/fcntl-linux.h> and
11195 include <bits/fcntl-linux.h>.
11196 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11197 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11198
ac5c94d3
RM
111992012-10-20 Roland McGrath <roland@hack.frob.com>
11200
11201 * io/fcntl.h: Move include of <bits/types.h> to the top and
11202 include it unconditionally.
11203
de54b33a
L
112042012-10-20 H.J. Lu <hongjiu.lu@intel.com>
11205
228cfb01
L
11206 * wcsmbs/Makefile (tests-ifunc): New variable.
11207 (tests): Add $(tests-ifunc).
11208 * wcsmbs/test-wcschr-ifunc.c: New file.
11209 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
11210 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
11211 * wcsmbs/test-wcslen-ifunc.c: Likewise.
11212 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
11213 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
11214
69f07e5f
L
11215 * string/Makefile (tests-ifunc): New variable.
11216 (tests): Add $(tests-ifunc).
11217 * string/test-memccpy.c (TEST_NAME): New macro.
11218 * string/test-memchr.c (TEST_NAME): Likewise.
11219 * string/test-memcmp.c (TEST_NAME): Likewise.
11220 * string/test-memcpy.c (TEST_NAME): Likewise.
11221 * string/test-memmem.c (TEST_NAME): Likewise.
11222 * string/test-memmove.c (TEST_NAME): Likewise.
11223 * string/test-memset.c (TEST_NAME): Likewise.
11224 * string/test-rawmemchr.c (TEST_NAME): Likewise.
11225 * string/test-stpcpy.c (TEST_NAME): Likewise.
11226 * string/test-stpncpy.c (TEST_NAME): Likewise.
11227 * string/test-strcasecmp.c (TEST_NAME): Likewise.
11228 * string/test-strcasestr.c (TEST_NAME): Likewise.
11229 * string/test-strcat.c (TEST_NAME): Likewise.
11230 * string/test-strchr.c (TEST_NAME): Likewise.
11231 * string/test-strcmp.c(TEST_NAME): Likewise.
11232 * string/test-strcpy.c (TEST_NAME): Likewise.
11233 * string/test-strcspn.c (TEST_NAME): Likewise.
11234 * string/test-strlen.c (TEST_NAME): Likewise.
11235 * string/test-strncasecmp.c (TEST_NAME): Likewise.
11236 * string/test-strncmp.c (TEST_NAME): Likewise.
11237 * string/test-strncpy.c (TEST_NAME): Likewise.
11238 * string/test-strnlen.c (TEST_NAME): Likewise.
11239 * string/test-strpbrk.c (TEST_NAME): Likewise.
11240 * string/test-strrchr.c (TEST_NAME): Likewise.
11241 * string/test-strspn.c (TEST_NAME): Likewise.
11242 * string/test-strstr.c (TEST_NAME): Likewise.
11243 * string/test-bcopy-ifunc.c: New file.
11244 * string/test-bzero-ifunc.c: Likewise.
11245 * string/test-memccpy-ifunc.c: Likewise.
11246 * string/test-memchr-ifunc.c: Likewise.
11247 * string/test-memcmp-ifunc.c: Likewise.
11248 * string/test-memcpy-ifunc.c: Likewise.
11249 * string/test-memmem-ifunc.c: Likewise.
11250 * string/test-memmove-ifunc.c: Likewise.
11251 * string/test-mempcpy-ifunc.c: Likewise.
11252 * string/test-memset-ifunc.c: Likewise.
11253 * string/test-rawmemchr-ifunc.c: Likewise.
11254 * string/test-stpcpy-ifunc.c: Likewise.
11255 * string/test-stpncpy-ifunc.c: Likewise.
11256 * string/test-strcasecmp-ifunc.c: Likewise.
11257 * string/test-strcasestr-ifunc.c: Likewise.
11258 * string/test-strcat-ifunc.c: Likewise.
11259 * string/test-strchr-ifunc.c: Likewise.
11260 * string/test-strchrnul-ifunc.c: Likewise.
11261 * string/test-strcmp-ifunc.c: Likewise.
11262 * string/test-strcpy-ifunc.c: Likewise.
11263 * string/test-strcspn-ifunc.c: Likewise.
11264 * string/test-strlen-ifunc.c: Likewise.
11265 * string/test-strncasecmp-ifunc.c: Likewise.
11266 * string/test-strncat-ifunc.c: Likewise.
11267 * string/test-strncmp-ifunc.c: Likewise.
11268 * string/test-strncpy-ifunc.c: Likewise.
11269 * string/test-strnlen-ifunc.c: Likewise.
11270 * string/test-strpbrk-ifunc.c: Likewise.
11271 * string/test-strrchr-ifunc.c: Likewise.
11272 * string/test-strspn-ifunc.c: Likewise.
11273 * string/test-strstr-ifunc.c: Likewise.
11274
de54b33a
L
11275 * debug/Makefile (tests-ifunc): New variable.
11276 (tests): Add $(tests-ifunc).
11277 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
11278 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
11279 * debug/test-stpcpy_chk-ifunc.c: New file.
11280 * debug/test-strcpy_chk-ifunc.c: Likewise.
11281
88481c16
SP
112822012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11283
11284 [BZ #13601]
11285 * elf/dl-load.c (open_verify): Retry read if the entire ELF
11286 header is not read in.
11287
135948bd
JM
112882012-10-19 Joseph Myers <joseph@codesourcery.com>
11289
89f1c388
JM
11290 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
11291 script to $(SHELL) as $<. Pass $(common-objpfx) to script
11292 directly. Pass built executable to script as
11293 $(built-program-cmd).
11294 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
11295 $testprogram without using LD_LIBRARY_PATH and $ldso.
11296
e40a0d21
JM
11297 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
11298 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
11299 $(rtld-installed-name).
11300 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
11301 (rtld_installed_name): Likewise.
11302 (library_path): Likewise.
11303 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
11304 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
11305 $(run-program-prefix) to tst-tables.sh.
11306 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
11307 it to run tst-table-from and tst-table-to.
11308 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
11309 Pass it to tst-table.sh.
11310 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
11311 $(run-program-prefix) to tst-gettext.sh.
11312 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
11313 tst-translit.sh.
11314 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
11315 tst-gettext2.sh.
11316 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
11317 to run tst-gettext.
11318 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
11319 to run tst-gettext2.
11320 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
11321 to run tst-translit.
11322 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
11323 $(run-program-prefix) to tst-mtrace.sh.
11324 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
11325 to run tst-mtrace.
11326 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
11327 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
11328 $(rtld-installed-name).
11329 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
11330 (rtld_installed_name): Likewise.
11331 (run_program_prefix): New variable. Use it to run wordexp-test.
11332
728e272a
JM
11333 * Makeconfig (ARCH): Remove all definitions.
11334 (machine): Likewise.
11335 [ARCH]: Remove conditional code.
11336 [!objdir]: Give error.
11337 [!objdir] (objpfx): Remove.
11338 [!objdir] (common-objpfx): Likewise.
11339 [!objdir] (common-objdir): Likewise.
11340 * configure.in (config_makefile): Remove. Hardcode Makefile in
11341 AC_CONFIG_FILES call.
11342 * configure: Regenerated.
11343
d528cdcf
JM
11344 [BZ #13888]
11345 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
11346 or TMPDIR.
11347 (testout): Likewise.
11348
135948bd
JM
11349 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
11350 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
11351 $(rtld-installed-name).
11352 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
11353 (rtld_installed_name): Likwise.
11354 (runit): Remove function.
11355 (run_getconf): New variable, Use it for running getconf binary.
11356
38c78296
L
113572012-10-18 H.J. Lu <hongjiu.lu@intel.com>
11358
11359 [BZ #14716]
11360 * string/test-memmem.c (check_result): New function.
11361 (do_one_test): Use it.
11362 (check1): New function.
11363 (test_main): Use it.
11364
d077f65f
MT
113652012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
11366
11367 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
11368
ced52c71
JM
113692012-10-18 Joseph Myers <joseph@codesourcery.com>
11370
11371 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
11372 (_G_LSEEK64): Likewise.
11373 (_G_MMAP64): Likewise.
11374 (_G_FSTAT64): Likewise.
11375 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
11376 (_G_LSEEK64): Likewise.
11377 (_G_MMAP64): Likewise.
11378 (_G_FSTAT64): Likewise.
11379 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
11380 unconditional. Call __mmap64 directly.
11381 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
11382 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
11383 __lseek64 directly.
11384 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
11385 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
11386 __mmap64 directly.
11387 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
11388 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
11389 __lseek64 directly.
11390 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
11391 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
11392 __lseek64 directly.
11393 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
11394 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
11395 __lseek64 directly.
11396 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
11397 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
11398 __fxstat64 directly.
11399 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
11400 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
11401 unconditional.
11402 (freopen64) [!_G_OPEN64]: Remove conditional code.
11403 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
11404 unconditional.
11405 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
11406 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
11407 unconditional.
11408 (ftello64) [!_G_LSEEK64]: Remove conditional code.
11409 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
11410 unconditional.
11411 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
11412 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
11413 unconditional.
11414 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
11415 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
11416 unconditional.
11417 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
11418 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
11419 unconditional.
11420 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
11421 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
11422 unconditional.
11423 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
11424
b741de23
SP
114252012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11426
11427 [BZ #12140]
11428 * manual/memory.texi (Malloc Tunable Parameters): Add note
11429 about free list pointers overwriting some perturb bytes.
11430 Wording suggested by Roland McGrath.
11431
f9b9d9c9
JM
114322012-10-17 Joseph Myers <joseph@codesourcery.com>
11433
11434 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
11435 (lgamma_test): Likewise.
11436 (tgamma_test): Likewise.
11437
172a631a
FW
114382012-10-16 Florian Weimer <fweimer@redhat.com>
11439
11440 [BZ #14700]
11441 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
11442 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
11443
e9f37252
MK
114442012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
11445
11446 * NEWS: Mention BZ #14716.
11447 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
11448 when removing AVAILABLE1_USES_J macro.
11449
d394eb74
L
114502012-10-12 H.J. Lu <hongjiu.lu@intel.com>
11451
11452 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
11453 (__bswap_64): __uint64_t for unsigned 64-bit int.
11454
ca38dc17
AS
114552012-10-12 Andreas Schwab <schwab@linux-m68k.org>
11456
11457 * include/string.h (memmem): Declare libc hidden alias.
11458 * string/memmem.c (memmem): Define libc hidden alias.
11459 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
11460 __read, __close instead of open, read, close.
11461
9a387d1f
L
114622012-10-11 H.J. Lu <hongjiu.lu@intel.com>
11463
ac49ecaf
L
11464 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
11465 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
11466 global and hidden.
11467 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
11468 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
11469 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
11470 Likewise.
11471 (__rawmemchr_sse2): Likewise.
11472 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
11473 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
11474 (__strchr_sse2): Likewise.
11475 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
11476 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
11477 (__strcasecmp_sse2): Likewise.
11478 (__strncasecmp_sse2): Likewise.
11479 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
11480 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
11481 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
11482 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
11483 (__strrchr_sse2): Likewise.
11484 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
11485 ifunc-impl-list.c.
11486 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
11487 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
11488 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
11489 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11490 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
11491 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
11492 * sysdeps/x86_64/multiarch/memset.S: Likewise.
11493 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11494 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
11495 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
11496 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
11497 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
11498 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
11499 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
11500 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
11501 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11502 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
11503 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
11504 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
11505 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
11506 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
11507 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
11508 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
11509 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
11510 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
11511 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11512 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
11513 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
11514 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
11515 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
11516
b090e8ea
L
11517 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
11518 global and hidden.
11519 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
11520 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
11521 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
11522 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
11523 Likewise.
11524 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
11525 Likewise.
11526 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
11527 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
11528 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
11529 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
11530 ifunc-impl-list.c.
11531 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11532 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11533 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11534 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11535 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11536 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11537 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11538 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11539 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11540 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11541 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11542 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11543 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11544 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
11545 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
11546 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11547 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
11548 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
11549 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11550 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11551 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11552 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11553 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11554 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11555 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11556 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
11557 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
11558 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
11559 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
11560 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
11561 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
11562 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
11563 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
11564 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
11565 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
11566 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
11567 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
11568 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
11569 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
11570 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
11571 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
11572
11dd4af6
L
11573 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
11574 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
11575 * include/ifunc-impl-list.h: New file.
11576 * misc/ifunc-impl-list.c: Likewise.
11577 * misc/Makefile (routines): Add ifunc-impl-list.
11578 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
11579 * string/test-string.h: Include <ifunc-impl-list.h>.
11580 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
11581 impl_array): New variables.
11582 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
11583 are defined.
11584 (test_init): Call __libc_ifunc_impl_list to initialize
11585 func_list if TEST_IFUNC and TEST_NAME are defined.
11586
9a387d1f
L
11587 * string/Makefile (strop-tests): Add bcopy and bzero.
11588 * string/test-bcopy.c: New file.
11589 * string/test-bzero.c: Likewise.
11590 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
11591 defined.
11592 * string/test-memset.c: Support bzero test if TEST_BZERO is
11593 defined.
11594 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
11595 __libc_memmove.
11596 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
11597 __libc_memset.
11598 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
11599 of memset.
11600
472371b9
JM
116012012-10-10 Joseph Myers <joseph@codesourcery.com>
11602
1e4a9536
JM
11603 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
11604 * configure: Regenerated.
11605
d173d12e
JM
11606 * Makeconfig (+link-static-before-libc): Don't include
11607 $(link-static-libc).
11608
472371b9
JM
11609 * libio/libio.h (_IO_pos_t): Remove.
11610
89a3ad0b
AO
116112012-10-10 Alexandre Oliva <aoliva@redhat.com>
11612
11613 * NEWS: Add note about FIPS mode. Wording suggested by Roland
11614 McGrath.
11615
e7451425
AO
116162012-10-10 Alexandre Oliva <aoliva@redhat.com>
11617
11618 * crypt/crypt-entry.c: Include fips-private.h.
11619 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
11620 * crypt/md5c-test.c (main): Tolerate disabled MD5.
11621 * sysdeps/unix/sysv/linux/fips-private.h: New file.
11622 * sysdeps/generic/fips-private.h: New file, dummy fallback.
11623
4ba74a35
AO
116242012-10-10 Alexandre Oliva <aoliva@redhat.com>
11625
11626 * crypt/crypt-private.h: Include stdbool.h.
11627 (_ufc_setup_salt_r): Return bool.
11628 * crypt/crypt-entry.c: Include errno.h.
11629 (__crypt_r): Return NULL with EINVAL for bad salt.
11630 * crypt/crypt_util.c (bad_for_salt): New.
11631 (_ufc_setup_salt_r): Check that salt is long enough and within
11632 the specified alphabet.
11633 * crypt/badsalttest.c: New file.
11634 * crypt/Makefile (tests): Add it.
11635 ($(objpfx)badsalttest): New.
11636
f96f1242
MK
116372012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
11638
11639 * NEWS: Add entry for BZ #14602.
11640
0e8e0c1c
JM
116412012-10-09 Joseph Myers <joseph@codesourcery.com>
11642
11643 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
11644 type-generic.
11645 * math/libm-test.inc: Update comment listing what functions and
11646 macros are tested.
11647 (isgreater_test): New function.
11648 (isgreaterequal_test): Likewise.
11649 (isless_test): Likewise.
11650 (islessequal_test): Likewise.
11651 (islessgreater_test): Likewise.
11652 (isunordered_test): Likewise.
11653 (main): Call the new functions.
11654
273edc5e
RM
116552012-10-09 Roland McGrath <roland@hack.frob.com>
11656
b8493de0
RM
11657 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
11658 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
11659 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
11660 * sysdeps/i386/configure: Regenerated.
11661 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
11662 * sysdeps/mach/configure: Regenerated.
11663 * sysdeps/mach/hurd/configure: Regenerated.
11664 * sysdeps/powerpc/configure: Regenerated.
11665 * sysdeps/powerpc/powerpc32/configure: Regenerated.
11666 * sysdeps/powerpc/powerpc64/configure: Regenerated.
11667 * sysdeps/s390/s390-32/configure: Regenerated.
11668 * sysdeps/s390/s390-64/configure: Regenerated.
11669 * sysdeps/sh/configure: Regenerated.
11670 * sysdeps/sparc/configure: Regenerated.
11671 * sysdeps/unix/sysv/linux/configure: Regenerated.
11672 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
11673 * sysdeps/x86_64/configure: Regenerated.
11674
273edc5e
RM
11675 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
11676 defined. Don't check if MAP is NULL.
11677
c8450f70
JM
116782012-10-09 Joseph Myers <joseph@codesourcery.com>
11679
11680 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
11681 (_G_stat64): Likewise.
11682 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
11683 (_G_stat64): Likewise.
11684 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
11685 instead of struct _G_stat64.
11686 * libio/fileops.c (mmap_remap_check): Likewise.
11687 (decide_maybe_mmap): Likewise.
11688 (_IO_new_file_seekoff): Likewise.
11689 (_IO_file_stat): Likewise.
11690 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
11691 _G_off64_t.
11692 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
11693 instead of struct _G_stat64.
11694 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
11695
57e605ba
MK
116962012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
11697
11698 [BZ #14602]
11699 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
11700 Replace with ...
11701 (CHECK_EOL): New macro.
11702 (two_way_short_needle): Check beginning of haystack for EOL. Use
11703 CHECK_EOL.
11704 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
11705 Replace with CHECK_EOL.
11706 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
11707 Replace with CHECK_EOL.
11708
ef1bb361
JM
117092012-10-08 Joseph Myers <joseph@codesourcery.com>
11710
11711 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
11712 type-generic.
11713 * math/libm-test.inc: Update comment listing what functions and
11714 macros are tested.
11715 (finite_test): New function.
11716 (isinf_test): Likewise.
11717 (isnan_test): Likewise.
11718 (fpclassify_test): Test subnormal input.
11719 (isfinite_test): Likewise.
11720 (isnormal_test): Likewise.
11721 (main): Call the new functions.
11722
55f11534
JN
117232012-10-08 Jonathan Nieder <jrnieder@gmail.com>
11724
11725 [BZ #14660]
11726 * Makerules (%.dynsym): Force C locale when running
11727 $(OBJDUMP) --dynamic-syms.
11728
1ab29350
AS
117292012-10-08 Andreas Schwab <schwab@linux-m68k.org>
11730
11731 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
11732 <stdint.h>.
11733
f1ecb7ef
DM
117342012-10-06 David S. Miller <davem@davemloft.net>
11735
11736 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
11737 upper 32-bits of the length value in %o2 since we use branch-on-register
11738 tests which consider the entire 64-bit register.
11739
5d41d91a
L
117402012-10-06 H.J. Lu <hongjiu.lu@intel.com>
11741
11742 * string/test-strstr.c (check2): Add a test for page boundary.
11743
3baddb72
DM
117442012-10-05 David S. Miller <davem@davemloft.net>
11745
11746 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
11747 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
11748 file.
11749 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
11750 sysdep_routines.
11751 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
11752 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
11753 and bzero when HWCAP_SPARC_CRYPTO is present.
11754
9cee5585
L
117552012-10-05 H.J. Lu <hongjiu.lu@intel.com>
11756
d7e0dab9
L
11757 [BZ #14602]
11758 * string/test-strstr.c (check2): New function.
11759 (test_main): Call check2.
11760
03759f47
L
11761 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
11762 and bug-strchr1.
11763 * string/bug-strcasestr1.c (do_test): Moved to ...
11764 * string/test-strcasestr.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-strchr1.c (do_test): Moved to ...
11770 * string/test-strchr.c (check1): Here. New function.
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-strstr1.c (main): Moved to ...
046f153e 11776 * string/test-strstr.c (check1): Here. New function.
03759f47
L
11777 (do_one_test): Break out result checking code into ...
11778 (check_result): This. New function.
11779 (do_one_test): Call check_result.
11780 (test_main): Call check1.
11781 * string/bug-strcasestr1.c: Removed.
11782 * string/bug-strchr1.c: Likewise.
11783 * string/bug-strstr1.c: Likewise.
11784
53cea63e
L
11785 * elf/Makefile (dl-routines): Add hwcaps.
11786 * elf/dl-support.c (_dl_important_hwcaps): Removed.
11787 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
11788 (_dl_important_hwcaps): Moved to ...
11789 * elf/dl-hwcaps.c: Here. New file.
11790 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
11791
9cee5585 11792 [BZ #14557]
bb859b06
L
11793 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
11794 if IS_IN_rtld isn't defined.
11795
9cee5585
L
11796 * elf/dl-support.c (_dl_sysinfo_map): New.
11797 Include "get-dynamic-info.h" and "setup-vdso.h".
11798 (_dl_non_dynamic_init): Call setup_vdso.
11799 * elf/dynamic-link.h: Don't include <assert.h>.
11800 (elf_get_dynamic_info): Moved to ...
11801 * elf/get-dynamic-info.h: Here. New file.
11802 * elf/dynamic-link.h: Include "get-dynamic-info.h".
11803 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
11804 * elf/setup-vdso.h: Here. New file.
11805 * elf/rtld.c: Include "setup-vdso.h".
11806 (dl_main): Call setup_vdso.
11807
23c31b76
JM
118082012-10-05 Joseph Myers <joseph@codesourcery.com>
11809
28234b07
JM
11810 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
11811 creal in comment listing functions tested. List finite, isinf,
11812 isnan, isless, islessequal, isgreater, isgreaterequal,
11813 islessgreater, isunordered, lgamma_r and pow10 as functions and
11814 macros not tested. Mention which functions not tested are aliases
11815 for other functions. Fix typo. Note that signs of NaNs are not
11816 tested.
11817
23c31b76
JM
11818 * scripts/config.guess: Update from config.git.
11819 * scripts/config.sub: Likewise.
11820
9043e228
RM
118212012-10-04 Roland McGrath <roland@hack.frob.com>
11822
11823 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
11824 * misc/madvise.c (madvise): Renamed to __madvise.
11825 Make madvise a weak alias.
11826 * include/sys/mman.h: Declare __madvise.
11827 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
11828 * sysdeps/unix/syscalls.list
11829 (madvise): Make __madvise the strong name, and madvise a weak alias.
11830 * sysdeps/unix/sysv/linux/syscalls.list
11831 (madvise, mmap): Remove redundant entries.
11832 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
11833 * malloc/malloc.c (mtrim): Likewise.
11834 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
11835
f57f8055
RM
118362012-10-03 Roland McGrath <roland@hack.frob.com>
11837
11838 * sysdeps/mach/hurd/dl-cache.c: File removed.
11839 * config.h.in (USE_LDCONFIG): New #undef.
11840 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
11841 * configure: Regenerated.
11842 * elf/Makefile (dl-routines): Add dl-cache only under
11843 [$(use-ldconfig) = yes].
11844 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
11845 cache on [USE_LDCONFIG].
11846 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
11847 [USE_LDCONFIG].
11848 * elf/rtld.c (dl_main): Likewise.
11849
5bb0c10a
PT
118502012-10-03 Pino Toscano <toscano.pino@tiscali.it>
11851
11852 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
11853 _SC_LEVEL4_CACHE_LINESIZE.
11854
010188c6
RM
118552012-10-03 Roland McGrath <roland@hack.frob.com>
11856
11857 * sysdeps/unix/bsd/confstr.h: File removed.
11858
b6c5ec07
AO
118592012-10-02 Alexandre Oliva <aoliva@redhat.com>
11860
11861 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
11862 sys/sdt-config.h.
11863
408223d4
RM
118642012-10-02 Roland McGrath <roland@hack.frob.com>
11865
11866 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
11867 Make 'mapoff' field ElfW(Off) rather than off_t.
11868
bb9510dc
DL
118692012-10-02 Dmitry V. Levin <ldv@altlinux.org>
11870
fc997c6e
DL
11871 * nscd/Makefile: Remove nscd-cflags and all its users.
11872 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
11873 (CFLAGS-nonlib): Add compiler flags for nscd modules.
11874
bb9510dc
DL
11875 [BZ #10631]
11876 * malloc.c (malloc_printerr): Clarify error message.
11877
05699367
L
118782012-10-02 H.J. Lu <hongjiu.lu@intel.com>
11879
11880 [BZ #14648]
11881 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11882 Set bit_FMA_Usable if FMA is supported.
11883 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
11884 macro.
11885 (bit_FMA4_Usable): Updated.
11886 (index_FMA_Usable): New macro.
11887 (CPUID_FMA): Likewise
11888 (HAS_FMA): Defined with bit_FMA_Usable.
11889
51367701
RM
118902012-10-01 Roland McGrath <roland@hack.frob.com>
11891
11892 * bits/types.h (__swblk_t): Type removed.
11893 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
11894 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
11895 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11896 (__SWBLK_T_TYPE): Likewise.
11897 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
11898 (__SWBLK_T_TYPE): Likewise.
11899 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11900 (__SWBLK_T_TYPE): Likewise.
11901 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11902 (__SWBLK_T_TYPE): Likewise.
11903
4d57bf63 119042012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 11905 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
11906
11907 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
11908 (xdr_mapname): Use YPMAXMAP as maxsize.
11909 (xdr_peername): Use YPMAXPEER as maxsize.
11910 (xdr_keydat): Use YPAXRECORD as maxsize.
11911 (xdr_valdat): Use YPMAXRECORD as maxsize.
11912
93c65d43
RM
119132012-10-01 Roland McGrath <roland@hack.frob.com>
11914
497a03d6
RM
11915 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
11916
93c65d43
RM
11917 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
11918 * csu/init-first.c: ... here.
11919 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
11920 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
11921 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
11922 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
11923 * sysdeps/i386/init-first.c: File removed.
11924 * sysdeps/sh/init-first.c: File removed.
11925
bec749fd
JM
119262012-10-01 Joseph Myers <joseph@codesourcery.com>
11927
11928 [BZ #14645]
11929 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
11930 if x * y might underflow to zero and z is zero.
11931 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11932 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11933 * math/libm-test.inc (min_subnorm_value): New variable.
11934 (fma_test): Add more tests.
11935 (fma_test_towardzero): Likewise.
11936 (fma_test_downward): Likewise
11937 (fma_test_upward): Likewise.
11938 (initialize): Set min_subnorm_value.
11939
8ec5b013
JM
119402012-09-29 Joseph Myers <joseph@codesourcery.com>
11941
11942 [BZ #14638]
11943 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
11944 0 + 0.
11945 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
11946 mode for addition resulting in exact zero.
11947 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
11948 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
11949 exact 0 + 0.
11950 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11951 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11952 * math/libm-test.inc (fma_test): Add more tests.
11953 (fma_test_towardzero): New function.
11954 (fma_test_downward): Likewise.
11955 (fma_test_upward): Likewise.
11956 (main): Call the new functions.
11957
b1fa802e
DM
119582012-09-28 David S. Miller <davem@davemloft.net>
11959
11960 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
11961
d3b9fd9e
RM
119622012-09-28 Roland McGrath <roland@hack.frob.com>
11963
ea4d37b3
RM
11964 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
11965 instead of SIGALRM.
11966
ac51c949
RM
11967 * sysdeps/gnu/_G_config.h: Moved to ...
11968 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
11969 * sysdeps/mach/hurd/_G_config.h: Moved to ...
11970 * sysdeps/generic/_G_config.h: ... here.
11971
28c195f7
RM
11972 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
11973
848917f9
RM
11974 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
11975
6bacf05b
RM
11976 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
11977 Conditionalize target on [libnss_test1.so-version].
11978
91363dbb
RM
11979 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
11980
cc87f7d8
RM
11981 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
11982 (elfobjdir): Move out of conditionals.
11983
b1c608fe
RM
11984 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
11985 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
11986 (__nss_lookup_function): Conditionalize label remove_from_tree on
11987 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 11988
1d9a6d96
DM
119892012-09-28 David S. Miller <davem@davemloft.net>
11990
11991 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
11992 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
11993 file.
11994 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
11995 sysdep_routines.
11996 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
11997 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
11998 when HWCAP_SPARC_CRYPTO is present.
11999
72581615
PT
120002012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12001
12002 * io/tst-mknodat.c: Create a FIFO instead of a socket.
12003
715a900c
JL
120042012-09-28 Andreas Schwab <schwab@linux-m68k.org>
12005
12006 [BZ #6530]
12007 * stdio-common/vfprintf.c (process_string_arg): Revert
12008 2000-07-22 change.
12009
120102011-09-28 Jonathan Nieder <jrnieder@gmail.com>
12011
12012 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
12013 for testcase.
12014 * stdio-common/tst-sprintf.c: Include <locale.h>
12015 (main): Test sprintf's handling of incomplete multibyte
12016 characters.
12017
9bac1d86
L
120182012-09-28 H.J. Lu <hongjiu.lu@intel.com>
12019
12020 * elf/dl-runtime.c (VERSYMIDX): Removed.
12021 * elf/dl-version.c (VERSYMIDX): Likewise.
12022 * elf/do-rel.h (VERSYMIDX): Likewise.
12023 (VALIDX): Likewise.
12024 * elf/dynamic-link.h (VERSYMIDX): Likewise.
12025 * elf/rtld.c (VALIDX): Likewise.
12026 (ADDRIDX): Likewise.
9bac1d86
L
12027 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
12028 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
12029 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
12030 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
12031 (VALIDX): Likewise.
12032 (ADDRIDX): Likewise.
9bac1d86 12033
b31606c0
PT
120342012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12035
12036 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
12037
11541177
JL
120382012-09-28 Dmitry V. Levin <ldv@altlinux.org>
12039
12040 [BZ #11438]
12041 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
12042 to global scope.
12043 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
12044 addresses are in the same scope as 192.0.2/24.
12045 * posix/gai.conf: Document new scope table defaults.
12046
adb26fae
SP
120472012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12048
12049 [BZ #5298]
12050 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
12051 for ftell. Compute offsets from write pointers instead.
12052 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
12053
4573c6b0
SP
120542012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12055
12056 [BZ #14543]
12057 * libio/Makefile (tests): New test case tst-fseek.
12058 * libio/tst-fseek.c: New test case to verify that fseek/ftell
12059 combination works in wide mode.
12060 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
12061 state when the external buffer state changes.
12062
aa9bbfe6
DM
120632012-09-27 David S. Miller <davem@davemloft.net>
12064
12065 [BZ #14376]
12066 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
12067 pass reloc->r_addend in as the 'high' argument to
12068 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
12069
784421e7
DM
12070 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12071
c39bc8b8
PT
120722012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12073
12074 * rt/tst-aio2.c: Include <pthread.h>.
12075 * rt/tst-aio3.c: Likewise.
12076
1ccc2399
SE
120772012-09-27 Steve Ellcey <sellcey@mips.com>
12078
12079 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
12080
31ed4153
L
120812012-09-27 H.J. Lu <hongjiu.lu@intel.com>
12082
25f5f885
L
12083 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
12084 contents on [SHARED].
31ed4153 12085
b7bfe116
MP
120862012-09-26 Marek Polacek <polacek@redhat.com>
12087
12088 [BZ #14530]
12089 [BZ #13741]
12090 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
12091 for C++ and GCC <4.3 as well as for non GCC compilers.
12092
43c4edba
MT
120932012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
12094
12095 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12096
6a1bf82f
RM
120972012-09-25 Roland McGrath <roland@hack.frob.com>
12098
12099 * Makefile.in (all, install): Declare with .PHONY.
12100 Reported by Michael Hope <michael.hope@linaro.org>.
12101
8ad11b9a
TMQMF
121022012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12103
12104 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
12105 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
12106 system header.
12107 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
12108 Likewise.
12109 (sydep_routines): Add the new and the internal functions.
12110 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
12111 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
12112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
12113 (GLIBC_2.17): Add the new function.
12114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
12115 (GLIBC_2.17): Likewise.
12116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
12117 (GLIBC_2.17): Likewise.
12118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
12119 (GLIBC_2.17): Likewise.
12120 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
12121
7e2fca8d
AM
121222012-09-25 Alan Modra <amodra@gmail.com>
12123
12124 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
12125 Add release barrier before setting once_control to say
12126 initialisation is done. Add hints on lwarx. Use macro in
12127 place of isync.
12128 (clear_once_control): Add release barrier.
12129
b87c4b24
JM
121302012-09-25 Joseph Myers <joseph@codesourcery.com>
12131
d032e0d2
JM
12132 [BZ #13629]
12133 * math/s_clog.c (__clog): Handle more values close to |z| = 1
12134 specially.
12135 * math/s_clog10.c (__clog10): Likewise.
12136 * math/s_clog10f.c (__clog10f): Likewise.
12137 * math/s_clog10l.c (__clog10l): Likewise.
12138 * math/s_clogf.c (__clogf): Likewise.
12139 * math/s_clogl.c (__clogl): Likewise.
12140 * math/Makefile (libm-calls): Add x2y2m1.
12141 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
12142 (__x2y2m1): Likewise.
12143 (__x2y2m1l): Likewise.
12144 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
12145 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
12146 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
12147 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
12148 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
12149 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
12150 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
12151 * sysdeps/i386/fpu/libm-test-ulps: Update.
12152 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12153
b87c4b24
JM
12154 [BZ #14621]
12155 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
12156 int as type of variable DEPTH.
12157 (glob): Use size_t instead of int as type of variables NEWCOUNT
12158 and OLD_PATHC.
12159
6d3bf199
LD
121602012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12161
22bf5c17
LD
12162 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
12163 Add s_sincosf-sse2.
12164 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
12165 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
12166 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
12167 macros for using routine as __sincosf_ia32.
12168 Use macro for function declaration and weak_alias.
12169 * sysdeps/i386/fpu/libm-test-ulps: Update.
12170
12171 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
12172 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12173
12174 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
12175 subnormal argument.
12176 * math/s_cexpf.c (__cexpf): Likewise.
12177 * math/s_csinf.c (__csinf): Likewise.
12178 * math/s_csinhf.c (__csinhf): Likewise.
12179 * math/s_ctanf.c (__ctanf): Likewise.
12180 * math/s_ctanhf.c (__ctanhf): Likewise.
12181 * math/s_ccosh.c (__ccoshf): Likewise.
12182 * math/s_cexp.c (__cexpl): Likewise.
12183 * math/s_csin.c (__csin): Likewise.
12184 * math/s_csinh.c (__csinh): Likewise.
12185 * math/s_ctan.c (__ctan): Likewise.
12186 * math/s_ctanh.c (ctanh): Likewise.
12187 * math/s_ccoshl.c (__ccoshl): Likewise.
12188 * math/s_cexpl.c (__cexpl): Likewise.
12189 * math/s_csinl.c (__csinl): Likewise.
12190 * math/s_csinhl.c (__csinhl): Likewise.
12191 * math/s_ctanl.c (__ctanl): Likewise.
12192 * math/s_ctanhl.c (__ctanhl): Likewise.
12193
203e5603
JM
121942012-09-25 Joseph Myers <joseph@codesourcery.com>
12195
12196 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
12197 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
12198 (_IO_off_t): Define to __off_t, not _G_off_t.
12199 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
12200 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
12201 (_IO_wint_t): Define to wint_t, not _G_wint_t.
12202 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
12203 type of __dummy and __dummy2 fields.
12204 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
12205 (_G_ssize_t): Likewise.
12206 (_G_off_t): Likewise.
12207 (_G_pid_t): Likewise.
12208 (_G_uid_t): Likewise.
12209 (_G_wchar_t): Likewise.
12210 (_G_wint_t): Likewise.
12211 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
12212 (_G_ssize_t): Likewise.
12213 (_G_off_t): Likewise.
12214 (_G_pid_t): Likewise.
12215 (_G_uid_t): Likewise.
12216 (_G_wchar_t): Likewise.
12217 (_G_wint_t): Likewise.
12218 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
12219 (_G_ssize_t): Likewise.
12220 (_G_off_t): Likewise.
12221 (_G_pid_t): Likewise.
12222 (_G_uid_t): Likewise.
12223 (_G_wchar_t): Likewise.
12224 (_G_wint_t): Likewise.
12225
9fab36eb
SP
122262012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12227
12228 * malloc/arena.c: Include malloc-sysdep.h.
12229 (shrink_heap): Use check_may_shrink_heap to decide if madvise
12230 is sufficient to shrink the heap or an unmap is needed.
12231 * sysdeps/generic/malloc-sysdep.h: New file. Define
12232 new function check_may_shrink_heap.
12233 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
12234 new function check_may_shrink_heap.
12235
2b4f00d1
SP
122362012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12237
12238 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
12239 comments.
12240
9a9028b1
DL
122412012-09-24 Dmitry V. Levin <ldv@altlinux.org>
12242
57c69bef
DL
12243 * catgets/test-gencat.sh: Add "set -e".
12244 * elf/tst-pathopt.sh: Likewise.
12245 * grp/tst_fgetgrent.sh: Likewise.
12246 * iconvdata/run-iconv-test.sh: Likewise.
12247 * intl/tst-gettext.sh: Likewise.
12248 * intl/tst-gettext2.sh: Likewise.
12249 * intl/tst-gettext4.sh: Likewise.
12250 * intl/tst-gettext6.sh: Likewise.
12251 * intl/tst-translit.sh: Likewise.
12252 * io/ftwtest-sh: Likewise.
12253 * libio/test-freopen.sh: Likewise.
12254 * malloc/tst-mtrace.sh: Likewise.
12255 * posix/globtest.sh: Likewise.
12256 * posix/tst-getconf.sh: Likewise.
12257 * posix/wordexp-tst.sh: Likewise.
12258 * stdio-common/tst-printf.sh: Likewise.
12259 * stdio-common/tst-unbputc.sh: Likewise.
12260 * stdlib/tst-fmtmsg.sh: Likewise.
12261 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
12262 * catgets/Makefile: Do not specify -e option when running
12263 testsuite shell scripts.
12264 * elf/Makefile: Likewise.
12265 * grp/Makefile: Likewise.
12266 * iconvdata/Makefile: Likewise.
12267 * intl/Makefile: Likewise.
12268 * io/Makefile: Likewise.
12269 * libio/Makefile: Likewise.
12270 * malloc/Makefile: Likewise.
12271 * posix/Makefile: Likewise.
12272 * stdio-common/Makefile: Likewise.
12273 * stdlib/Makefile: Likewise.
12274 * sysdeps/x86_64/Makefile: Likewise.
12275
9a9028b1
DL
12276 * io/ftwtest-sh: Add copyright header.
12277 * posix/globtest.sh: Likewise.
12278 * posix/tst-getconf.sh: Likewise.
12279 * posix/wordexp-tst.sh: Likewise.
12280 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
12281
ced6f16e
L
122822012-09-24 H.J. Lu <hongjiu.lu@intel.com>
12283
94b32c39
L
12284 [BZ #13679]
12285 * Makeconfig (+link): Defined as $(+link-static) if
12286 $(build-shared) isn't yes.
12287 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
12288 isn't yes.
12289 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
12290
189e935b
L
12291 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
12292
ced6f16e
L
12293 [BZ #14562]
12294 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
12295 new chunk size with MALLOC_ALIGN_MASK.
12296
a9f8e53a
JM
122972012-09-24 Joseph Myers <joseph@codesourcery.com>
12298
12299 [BZ #5044]
12300 * stdio-common/printf_fphex.c: Include <stdbool.h> and
12301 <rounding-mode.h>.
12302 (__printf_fphex): Determine rounding using get_rounding_mode and
12303 round_away.
12304 * stdio-common/tst-printf-round.c (struct hex_test): New
12305 structure.
12306 (hex_tests): New variable.
12307 (test_hex_in_one_mode): New function.
12308 (do_test): Also run tests for hex float output.
12309
43153109
JM
123102012-09-21 Joseph Myers <joseph@codesourcery.com>
12311
12312 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
12313 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
12314 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
12315 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
12316 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
12317 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
12318 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
12319 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
12320
8a26625d
JM
123212012-09-20 Joseph Myers <joseph@codesourcery.com>
12322
12323 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
12324 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
12325 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
12326 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
12327
f3fd569c
DL
123282012-09-19 Dmitry V. Levin <ldv@altlinux.org>
12329
12330 [BZ #14579]
12331 * elf/rtld.c (dl_main): Limit the check for self loading to normal
12332 mode only.
12333 * elf/tst-rtld-load-self.sh: New test.
12334 * elf/Makefile: Run it.
12335
63bbedd4
JM
123362012-09-18 Joseph Myers <joseph@codesourcery.com>
12337
12338 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
12339 (tst-writev-ENV): Remove.
12340 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
12341
626f8b6a
CM
123422012-09-17 Chris Metcalf <cmetcalf@tilera.com>
12343
12344 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
12345
b7aaa4d6
JM
123462012-09-17 Joseph Myers <joseph@codesourcery.com>
12347
12348 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
12349 unconditional.
12350 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
12351 Likewise.
12352 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
12353 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
12354 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
12355 Likewise.
12356
65513990
L
123572012-09-14 H.J. Lu <hongjiu.lu@intel.com>
12358
12359 [BZ #14587]
12360 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
12361 * config.make.in (have-cpp-asm-debuginfo): Removed.
12362 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
12363 * configure: Regenerated.
12364
784761be
JM
123652012-09-14 Joseph Myers <joseph@codesourcery.com>
12366
12367 [BZ #5044]
12368 * stdio-common/printf_fp.c: Include <stdbool.h> and
12369 <rounding-mode.h>.
12370 (___printf_fp): Determine rounding using get_rounding_mode and
12371 round_away.
12372 * stdio-common/tst-printf-round.c: New file.
12373 * stdio-common/Makefile (tests): Add tst-printf-round.
12374 (link-libm): New variable.
12375 ($(objpfx)tst-printf-round): Depend in $(link-libm).
12376
9503345f
L
123772012-09-13 H.J. Lu <hongjiu.lu@intel.com>
12378
12379 [BZ #14576]
12380 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
12381 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
12382 Likewise.
12383 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
12384 Likewise.
12385
ad35fc00
JM
123862012-09-13 Joseph Myers <joseph@codesourcery.com>
12387
12388 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
12389 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12390 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12391 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12392
6c9b0f68
JM
123932012-09-12 Joseph Myers <joseph@codesourcery.com>
12394
12395 [BZ #14518]
12396 * include/rounding-mode.h: New file.
12397 * sysdeps/generic/get-rounding-mode.h: Likewise.
12398 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
12399 * stdlib/strtod_l.c: Include <rounding-mode.h>.
12400 (MAX_VALUE): New macro.
12401 (MIN_VALUE): Likewise.
12402 (overflow_value): New function.
12403 (underflow_value): Likewise.
12404 (round_and_return): Use overflow_value and underflow_value to
12405 determine return values in overflow and underflow cases. Use
12406 round_away to determine rounding depending on rounding mode.
12407 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
12408 determine return values in overflow and underflow cases.
12409 * stdlib/tst-strtod-round.c: Include <fenv.h>.
12410 (struct test_results): New structure.
12411 (struct test): Use struct test_results to store expected results
12412 for all rounding modes.
12413 (TEST): Include expected results for all rounding modes.
12414 (test_in_one_mode): New function.
12415 (do_test): Use test_in_one_mode to compute and check results.
12416 Check results for all rounding modes.
12417 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
12418 $(link-libm).
12419
19fcedd5
AM
124202012-12-09 Allan McRae <allan@archlinux.org>
12421
1e9d84cd 12422 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 12423
8bbfd2f1
JM
124242012-09-11 Joseph Myers <joseph@codesourcery.com>
12425
12426 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
12427 (_G_int32_t): Likewise.
12428 (_G_uint16_t): Likewise.
12429 (_G_uint32_t): Likewise.
12430 (_G_HAVE_BOOL): Likewise.
12431 (_G_HAVE_ATEXIT): Likewise.
12432 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12433 (_G_HAVE_IO_FILE_OPEN): Likewise.
12434 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
12435 (_G_int32_t): Likewise.
12436 (_G_uint16_t): Likewise.
12437 (_G_uint32_t): Likewise.
12438 (_G_HAVE_BOOL): Likewise.
12439 (_G_HAVE_ATEXIT): Likewise.
12440 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12441 (_G_HAVE_IO_FILE_OPEN): Likewise.
12442 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
12443 (_G_int32_t): Likewise.
12444 (_G_uint16_t): Likewise.
12445 (_G_uint32_t): Likewise.
12446 (_G_HAVE_BOOL): Likewise.
12447 (_G_HAVE_ATEXIT): Likewise.
12448 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12449 (_G_HAVE_IO_FILE_OPEN): Likewise.
12450
b1dc5912
L
124512012-09-11 H.J. Lu <hongjiu.lu@intel.com>
12452
12453 * csu/libc-tls.c: Update copyright years.
12454
0e886ef9
JM
124552012-09-10 Joseph Myers <joseph@codesourcery.com>
12456
28361c5e
JM
12457 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
12458 [!_G_USING_THUNKS]: Remove conditional code.
12459 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
12460 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
12461
0e886ef9
JM
12462 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
12463 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
12464 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12465 (_G_VTABLE_LABEL_PREFIX): Likewise.
12466 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12467 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12468 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12469 (_G_VTABLE_LABEL_PREFIX): Likewise.
12470 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
12471 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12472 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12473 (_G_VTABLE_LABEL_PREFIX): Likewise.
12474 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
12475
bcba7aa2
L
124762012-09-10 H.J. Lu <hongjiu.lu@intel.com>
12477
12478 * libio/Makefile: Include ../Makeconfig before tests.
12479 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
12480 only if $(build-shared) is yes.
12481
06585ee8
L
12482 * iconv/gconv_db.c: Update copyright years.
12483
80ccd52c
LD
124842012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12485
12486 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
12487 unwind info if defined PIC. Fix special cases description.
12488 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
12489
12490 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
12491 DP_HI_MASK entry.
12492 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
12493
691bc9c1
L
124942012-09-07 H.J. Lu <hongjiu.lu@intel.com>
12495
3d9b46b3
L
12496 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
12497
de2139a9
L
12498 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
12499 is NULL.
12500
5ca78dd0
L
12501 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
12502 (LDLIBS-tst-chk4): This.
12503 (LDFLAGS-tst-chk5): Renamed to ...
12504 (LDLIBS-tst-chk5): This.
12505 (LDFLAGS-tst-chk6): Renamed to ...
12506 (LDLIBS-tst-chk6): This.
12507 (LDFLAGS-tst-lfschk4): Renamed to ...
12508 (LDLIBS-tst-lfschk4): This.
12509 (LDFLAGS-tst-lfschk5): Renamed to ...
12510 (LDLIBS-tst-lfschk5): This.
12511 (LDFLAGS-tst-lfschk6): Renamed to ...
12512 (LDLIBS-tst-lfschk6): This.
12513
691bc9c1
L
12514 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
12515 on $(common-objpfx)soversions.mk.
12516
65cafb1c
JM
125172012-09-07 Joseph Myers <joseph@codesourcery.com>
12518
12519 [BZ #10014]
12520 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
12521 example host name.
12522
c78ab094
SP
125232012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
12524
12525 * malloc/arena.c (arena_get_retry): New function that gets
12526 another arena for the caller to try its request on.
12527 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
12528 current arena cannot fulfill the request.
12529 (__libc_memalign): Likewise.
12530 (__libc_memalign): Likewise.
12531 (__libc_pvalloc): Likewise.
12532 (__libc_calloc): Likewise.
12533
01f49f59
JT
125342012-09-05 John Tobey <john.tobey@gmail.com>
12535
12536 [BZ #13542]
12537 * manual/arith.texi (Operations on Complex): Fix description
12538 of carg branch cut.
12539
4c23fed5
JM
125402012-09-06 Joseph Myers <joseph@codesourcery.com>
12541
1d3c8572
JM
12542 [BZ #10014]
12543 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
12544 host name.
12545
4c23fed5
JM
12546 [BZ #10038]
12547 * manual/memory.texi (Memory): Make order of menu items match
12548 order of sections.
12549
04570aaa
L
125502012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12551
12552 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
12553 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
12554 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
12555
b80af2f4
L
125562012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12557
12558 * csu/libc-tls.c (static_dtv): Renamed to ...
12559 (_dl_static_dtv): This. Make it global.
12560 (_dl_initial_dtv): Removed.
12561 (__libc_setup_tls): Updated.
12562 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
12563 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
12564 DL_INITIAL_DTV.
12565
2abe9f15
PM
125662012-09-06 Petr Machata <pmachata@redhat.com>
12567
12568 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
12569 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
12570 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
12571 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
12572
0948c3af
L
125732012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12574
12575 [BZ #14545]
12576 * csu/libc-tls.c (_dl_initial_dtv): New variable.
12577 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
12578 freeing dtv[-1].
12579
a5055ad1
L
125802012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12581
12582 [BZ #14544]
12583 * Makeconfig (link-static-before-libc): Replace $(+prector)
12584 with $(+prectorT).
12585 (link-static-after-libc): Replace $(+postctor) with
12586 $(+postctorT).
12587 (link-bounded): Replace $(+prector)/$(+postctor) with
12588 $(+prectorT)/$(+postctorT).
12589 (+prectorT): New macro.
12590 (+postctorT): Likewise.
12591
ed8c2ecd
JM
125922012-09-06 Joseph Myers <joseph@codesourcery.com>
12593
12594 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
12595 (round_str): Handle values above the maximum for IBM long double
12596 as inexact.
12597 * stdlib/tst-strtod-round.c (tests): Regenerated.
12598
14c996c8
AK
125992012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12600
12601 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
12602 assembler flag.
12603 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
12604 zarch_nohighgprs around the zarch optimized routines.
12605 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
12606 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
12607 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
12608 for zarch.
12609
430d6ce6
DM
126102012-09-05 David S. Miller <davem@davemloft.net>
12611
12612 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12613
ff04dda4
DM
12614 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
12615 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
12616 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
12617 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
12618 entries.
12619
24d4e01b
AO
126202012-09-05 Alexandre Oliva <aoliva@redhat.com>
12621
12622 * malloc/arena.c: Fold copyright years.
12623 * malloc/mcheck.c, malloc/memusage.c: Likewise.
12624
61d58174
AO
126252012-09-05 Alexandre Oliva <aoliva@redhat.com>
12626
12627 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
12628
20196a5e
AO
126292012-09-05 Alexandre Oliva <aoliva@redhat.com>
12630
12631 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
12632
5c447383
AO
126332012-09-05 Alexandre Oliva <aoliva@redhat.com>
12634
12635 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
12636 change internal state upon failure.
12637
fad64255
AO
126382012-09-05 Alexandre Oliva <aoliva@redhat.com>
12639
12640 * malloc/mcheck.c (mcheck_check_all): Fix typo.
12641 * malloc/memusage.c (mmap): Likewise.
12642 (mmap64, mremap): Likewise. Adjust name in comment.
12643
1ffb8c90
SP
126442012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12645
12646 * libio/fileops.c: Fix typos in comments.
12647 * libio/oldfileops.c: Likewise.
12648 * libio/wfileops.c: Likewise.
12649
6ef9cc37
SP
126502012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12651
12652 [BZ #1349]
12653 * malloc/Makefile (tests): Add tst-malloc-usable test case.
12654 (tst-malloc-usable-ENV): Set environment for test case.
12655 * malloc/hooks.c (malloc_check_get_size): New function to get
12656 requested size.
12657 * malloc/malloc.c (musable): Use malloc_check_get_size.
12658 * malloc/tst-malloc-usable.c: New test case.
12659
4d038ae3
AS
126602012-09-05 Andreas Schwab <schwab@linux-m68k.org>
12661
12662 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
12663
c4e85184
AM
126642012-09-05 Allan McRae <allan@archlinux.org>
12665
b9dafc56 12666 [BZ #13966]
c4e85184
AM
12667 * configure.in (CXX_SYSINCLUDES): Use compiler output to
12668 determine header location.
12669 * configure: Regenerated.
12670
e1343020
AS
126712012-09-05 Andreas Schwab <schwab@linux-m68k.org>
12672
12673 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
12674 float format.
12675 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
12676 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
12677 format.
e1343020
AS
12678 (test): Regenerate.
12679
0a9f1987
DM
126802012-09-04 David S. Miller <davem@davemloft.net>
12681
12682 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
12683 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
12684 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
12685
29237804
FW
126862012-09-04 Florian Weimer <fweimer@redhat.com>
12687
12688 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
12689 failures.
12690
edb3cb88
FW
12691 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
12692
60160d83
JM
126932012-09-04 Joseph Myers <joseph@codesourcery.com>
12694
12695 [BZ #9914]
12696 * libio/iogetdelim.c: Include <limits.h>.
12697 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
12698 + len + 1 would overflow.
12699
bcd6c8dc
AJ
127002012-09-03 Andreas Jaeger <aj@suse.de>
12701
12702 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12703 * sysdeps/i386/fpu/libm-test-ulps: Update.
12704
4ffffbd2
LD
127052012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12706
12707 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
12708 Add s_sinf-sse2, s_conf-sse2.
12709
12710 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
12711 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
12712 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
12713 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
12714
12715 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
12716 for using routine as __sinf_ia32.
12717 Use macro for function declaration and weak_alias.
12718 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
12719 for using routine as __cosf_ia32.
12720 Use macro for function declaration and weak_alias.
12721
12722 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
12723 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
12724
12725 * sysdeps/x86_64/fpu/s_sinf.S: New file.
12726 * sysdeps/x86_64/fpu/s_cosf.S: New file.
12727 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12728
12729 * math/libm-test.inc (cos_test): Add more test cases.
12730 (sin_test): Likewise.
12731 (sincos_test): Likewise.
12732
511fa286
AK
127332012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12734
12735 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
12736 (IFUNC_RESOLVE): Make pointers to the specialized implementations
12737 hidden.
12738 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
12739
5f30cfec
L
127402012-09-02 H.J. Lu <hongjiu.lu@intel.com>
12741
12742 [BZ #14538]
12743 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
12744 first element of the GOT.
12745 (elf_machine_load_address): Return the difference between
12746 the runtime address of _DYNAMIC and elf_machine_dynamic ().
12747
0786794f
AM
127482012-09-01 Allan McRae <allan@archlinux.org>
12749
5f30cfec
L
12750 [BZ #13412]
12751 * configure.in (AWK): Require gawk version 3.0 or later.
12752 * configure: Regenerated.
0786794f 12753
26889eac
JM
127542012-09-01 Joseph Myers <joseph@codesourcery.com>
12755
12756 * sysdeps/unix/sysv/linux/kernel-features.h
12757 (__ASSUME_POSIX_CPU_TIMERS): Remove.
12758 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
12759 [__NR_clock_getres]: Make code unconditional.
12760 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
12761 (clock_getcpuclockid): Remove code left unreachable by removal of
12762 conditionals.
12763 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
12764 code unconditional.
12765 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
12766 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
12767 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
12768 Make code unconditional.
12769 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
12770 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
12771 * sysdeps/unix/sysv/linux/clock_settime.c
12772 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
12773 conditional code.
12774 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
12775 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
12776
d22e28b0
L
127772012-08-29 H.J. Lu <hongjiu.lu@intel.com>
12778
12779 [BZ #14476]
12780 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
12781 scripts/test-installation.pl.
12782
12783 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
12784 and $ld_so_version if it is set.
12785
050af9c4
SP
127862012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12787
12788 [BZ #14516]
12789 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
12790 failure if reading from procfs failed.
12791 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
12792
ad845c0b
JM
127932012-08-27 Joseph Myers <joseph@codesourcery.com>
12794
12795 * sysdeps/unix/sysv/linux/kernel-features.h
12796 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
12797 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
12798 Remove conditional code.
12799 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12800 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
12801 Remove conditional code.
12802 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12803 * sysdeps/unix/sysv/linux/i386/fxstat.c
12804 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
12805 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12806 * sysdeps/unix/sysv/linux/i386/fxstatat.c
12807 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
12808 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12809 * sysdeps/unix/sysv/linux/i386/lxstat.c
12810 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
12811 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12812 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
12813 Remove conditional code.
12814 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12815 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
12816 Remove conditional code.
12817 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12818 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
12819 <kernel-features.h>.
12820 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
12821 Remove.
12822 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
12823 Remove conditional code.
12824 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12825 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
12826 Remove conditional.
12827
5dbf56af
MF
128282012-08-27 Mike Frysinger <vapier@gentoo.org>
12829
12830 [BZ #5400]
12831 * NEWS: Add fixed bug number.
12832
d6e70f43
JM
128332012-08-27 Joseph Myers <joseph@codesourcery.com>
12834
7efb4737
JM
12835 [BZ #14519]
12836 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
12837 underflowing exponent in case of negative sign.
12838 * stdlib/tst-strtod-round-data: Add more tests.
12839 * stdlib/tst-strtod-round.c (tests): Regenerated.
12840
af92131a
JM
12841 [BZ #3479]
12842 * stdlib/strtod_l.c (NDIG): Remove.
12843 (HEXNDIG): Likewise.
12844 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
12845 smallest representable value.
12846 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
12847 lie within an exact representation of 1/2 ulp of the result.
12848 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
12849 unconditionally.
12850 (TENS_P9_IDX): Define unconditionally.
12851 (TENS_P9_SIZE): Likewise.
12852 (TENS_P10_IDX): Likewise.
12853 (TENS_P10_SIZE): Likewise.
12854 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
12855 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
12856 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
12857 entries for 10^2^13 and 10^2^14.
12858 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
12859 (TENS_P13_IDX): Define.
12860 (TENS_P13_SIZE): Likewise.
12861 (TENS_P14_IDX): Likewise.
12862 (TENS_P14_SIZE): Likewise.
12863 (_fpioconst_pow10): Change array size to
12864 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
12865 unconditional.
12866 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
12867 1024]: Add entries for 10^2^13 and 10^2^14.
12868 [LAST_POW10 > _LAST_POW10]: Remove #error.
12869 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
12870 (_fpioconst_pow10): Change array size to
12871 FPIOCONST_POW10_ARRAY_SIZE.
12872 * stdlib/gen-fpioconst.c: New file.
12873 * stdlib/gen-tst-strtod-round.c: Likewise.
12874 * stdlib/tst-strtod-round-data: Likewise.
12875 * stdlib/tst-strtod-round.c: Likewise.
12876 * stdlib/Makefile (tests): Add tst-strtod-round.
12877
d6e70f43
JM
12878 [BZ #14459]
12879 * stdlib/strtod_l.c: Include <stdint.h>.
12880 (NDEBUG): Do not define.
12881 (round_and_return): Change EXPONENT parameter to type intmax_t.
12882 Rearrange calculations to avoid internal overflow possibilities.
12883 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
12884 Rearrange calculations to avoid internal overflow possibilities.
12885 Assert that number fits inside MPNSIZE limbs.
12886 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
12887 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
12888 calculations and add assertions to avoid internal overflow
12889 possibilities. Add casts to avoid signed/unsigned operations.
12890 * stdlib/tst-strtod-overflow.c: New file.
12891 * stdlib/Makefile (tests): Add tst-strtod-overflow.
12892
1f529f7d
MP
128932012-08-25 Marek Polacek <polacek@redhat.com>
12894
12895 * time/time.h: Fix some typos in comments.
12896
59a629f1
RM
128972012-08-23 Roland McGrath <roland@hack.frob.com>
12898
12899 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
12900 * posix/tst-rfc3484-2.c: Likewise.
12901 * posix/tst-rfc3484-3.c: Likewise.
12902
d3bafbc9
SM
129032012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
12904
12905 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
12906 (EF_ARM_ABI_FLOAT_HARD): Likewise.
12907
4efcc022
JM
129082012-08-23 Joseph Myers <joseph@codesourcery.com>
12909
12910 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
12911 #include of fxstatat64.c.
12912
3cc3ef96
RM
129132012-08-22 Roland McGrath <roland@hack.frob.com>
12914
f04e2132
RM
12915 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
12916 * shadow/getspent_r.c: Likewise.
12917 * shadow/getspnam.c: Likewise.
12918 * shadow/getspnam_r.c: Likewise.
12919 * gshadow/getsgent.c: Likewise.
12920 * gshadow/getsgent_r.c: Likewise.
12921 * gshadow/getsgnam.c: Likewise.
12922 * gshadow/getsgnam_r.c: Likewise.
12923 * inet/getnetbyad.c: Likewise.
12924 * inet/getnetbyad_r.c: Likewise.
12925 * inet/getnetbynm.c: Likewise.
12926 * inet/getnetbynm_r.c: Likewise.
12927 * inet/getnetent.c: Likewise.
12928 * inet/getnetent_r.c: Likewise.
12929 * inet/getproto.c: Likewise.
12930 * inet/getproto_r.c: Likewise.
12931 * inet/getprtent.c: Likewise.
12932 * inet/getprtent_r.c: Likewise.
12933 * inet/getprtname.c: Likewise.
12934 * inet/getprtname_r.c: Likewise.
12935 * inet/getrpcbyname.c: Likewise.
12936 * inet/getrpcbyname_r.c: Likewise.
12937 * inet/getrpcbynumber.c: Likewise.
12938 * inet/getrpcbynumber_r.c: Likewise.
12939 * inet/getrpcent.c: Likewise.
12940 * inet/getrpcent_r.c: Likewise.
12941 * inet/getaliasent.c: Likewise.
12942 * inet/getaliasent_r.c: Likewise.
12943 * inet/getaliasname.c: Likewise.
12944 * inet/getaliasname_r.c: Likewise.
12945 * nscd/getgrgid_r.c: Likewise.
12946 * nscd/getgrnam_r.c: Likewise.
12947 * nscd/gethstbyad_r.c: Likewise.
12948 * nscd/gethstbynm3_r.c: Likewise.
12949 * nscd/getpwnam_r.c: Likewise.
12950 * nscd/getpwuid_r.c: Likewise.
12951 * nscd/getsrvbynm_r.c: Likewise.
12952 * nscd/getsrvbypt_r.c: Likewise.
12953 * nscd/gai.c: Likewise.
12954
c53d909c
RM
12955 * configure.in (build_nscd): New substituted variable, set
12956 by --disable-build-nscd and defaults to $use_nscd.
12957 * configure: Regenerated.
12958 * config.make.in (build-nscd): New substituted variable.
12959 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
12960 Change conditional to require [$(build-nscd) = yes] as well.
12961 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
12962
3cc3ef96
RM
12963 [BZ# 13696]
12964 * configure.in (use_nscd): New substituted variable, set by
12965 --disable-nscd. If enabled, define USE_NSCD.
12966 * configure: Regenerated.
12967 * config.h.in: Add USE_NSCD.
12968 * config.make.in (use-nscd): New substituted variable.
12969 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
12970 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
12971 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
12972 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
12973 (CFLAGS-getgrnam_r.c): Likewise.
12974 (CFLAGS-initgroups.c): Likewise.
12975 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
12976 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
12977 Variables removed.
12978 * inet/getnetgrent_r.c
12979 (nscd_setnetgrent): New function, broken out of ...
12980 (setnetgrent): ... here. Call it.
12981 (innetgr): Conditionalize nscd bits on [USE_NSCD].
12982 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
12983 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
12984 * nscd/Makefile (routines, aux): Move definitions after include of
12985 Makeconfig. Conditionalize on [$(use-nscd) != no].
12986 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
12987 Conditionalize on [USE_NSCD].
12988 (is_nscd, nscd_init_cb): Likewise.
12989 (nss_load_library): Conditionalize init callback on [USE_NSCD].
12990 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
12991 * nss/nss_db/db-init.c: Likewise.
12992 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
12993 [USE_NSCD].
12994 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
12995 (make_request): Use it.
12996 (cache_valid_p): New function.
12997 (__check_pf): Use it.
12998 * NEWS: Add item for --disable-nscd.
12999
07e51550
DL
130002012-08-22 Dmitry V. Levin <ldv@altlinux.org>
13001
13002 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
13003 to support sed >= 4.2.1-20-ga9bf076.
13004 * configure: Regenerated.
13005
35a5b08b
RM
130062012-08-22 Roland McGrath <roland@hack.frob.com>
13007
13008 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
13009 Conditionalize whole body on [IREL].
13010
8479f23a
JL
130112012-08-22 Jeff Law <law@redhat.com>
13012
13013 [BZ #14505]
13014 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
13015 if the family is PF_UNSPEC.
13016
48da0b21
MF
130172012-08-22 Mike Frysinger <vapier@gentoo.org>
13018
13019 * Makerules (lib-version): Rename from V.
13020 (install-lib-nosubdir): Change V to lib-version.
13021
15d0da8c
WS
130222012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
13023
13024 [BZ #14252]
13025 * powerpc32/power6/wcschr.c: New file.
13026 * powerpc32/power6/wcscpy.c: New file.
13027 * powerpc32/power6/wcsrchr.c: New file.
13028 * powerpc64/power6/wcschr.c: New file.
13029 * powerpc64/power6/wcscpy.c: New file.
13030 * powerpc64/power6/wcsrchr.c: New file.
13031
bcca0895
MK
130322012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
13033
13034 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
13035 (two_way_short_needle): Use it.
5a4aaa33
RM
13036 * string/strstr.c (AVAILABLE1_USES_J): Define.
13037 * string/strcasestr.c: Likewise.
99677e57
MK
13038
13039 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
13040 array references.
13041 * string/strcasestr.c (TOLOWER): Make side-effect safe.
13042
400726de
MK
13043 [BZ #11607]
13044 * NEWS: Add an entry.
13045 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
13046 define their defaults.
13047 (two_way_short_needle): Detect end-of-string on-the-fly.
13048 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
13049 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
13050 * string/bug-strcasestr1.c: New test.
13051 * string/Makefile: Run it.
13052
20a71f2c
MK
130532012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
13054
13055 [BZ #11607]
13056 * string/str-two-way.h (two_way_short_needle): Optimize matching of
13057 the first character.
13058
21ad0558
RM
130592012-08-21 Roland McGrath <roland@hack.frob.com>
13060
13061 * csu/elf-init.c (__libc_csu_irel): Function removed.
13062 * csu/libc-start.c (apply_irel): New function.
13063 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
13064
0e1d9911
JM
130652012-08-21 Joseph Myers <joseph@codesourcery.com>
13066
13067 * sysdeps/unix/sysv/linux/kernel-features.h
13068 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
13069 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
13070 <kernel-features.h>.
13071 [__NR_fadvise64_64]: Make code unconditional.
13072 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
13073 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
13074 !__NR_fadvise64_64)]: Likewise.
13075 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
13076 !__NR_fadvise64_64))]: Likewise.
13077 [__NR_fadvise64]: Make code unconditional.
13078 [!__NR_fadvise64]: Remove conditional code.
13079 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
13080 <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/powerpc/powerpc32/posix_fadvise64.c: Do
13086 not 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 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
13092 include <kernel-features.h>.
13093 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13094 unconditional.
13095 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13096 conditional code.
13097
14a50c9d
WS
130982012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
13099
13100 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
13101 slight instruction rearrangements per scrollpipe analysis.
13102 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
13103
c0f4faf0
RM
131042012-08-20 Roland McGrath <roland@hack.frob.com>
13105
696da859
RM
13106 * manual/syslog.texi (syslog; vsyslog, closelog):
13107 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
13108 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
13109
c0f4faf0
RM
13110 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
13111 DSOCAPS to match condition on defining it.
13112
348363b2
JM
131132012-08-20 Joseph Myers <joseph@codesourcery.com>
13114
a35cbf28
JM
13115 * sysdeps/unix/sysv/linux/kernel-features.h
13116 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
13117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
13118 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13119 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
13121 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13122 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
13124 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13125 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13126
445f7ecd
JM
13127 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
13128 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
13129
348363b2
JM
13130 * sysdeps/unix/sysv/linux/kernel-features.h
13131 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
13132 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
13133 unconditional.
13134 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13135 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
13136 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
13137 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13138 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
13139 Make code unconditional.
13140 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13141 (__mmap64) [!__NR_mmap2]: Likewise.
13142 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
13143 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
13144 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13145 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
13146 [__NR_mmap2]: Make code unconditional.
13147 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13148 (__mmap64) [!__NR_mmap2]: Likewise.
13149
bc5bc0e5
AK
131502012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13151
13152 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
13153
88d506de
AJ
131542012-08-18 Andreas Jaeger <aj@suse.de>
13155
13156 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
13157
493387d2
MF
131582012-08-18 Mike Frysinger <vapier@gentoo.org>
13159
13160 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
13161 * include/unistd.h (__have_sock_cloexec): Likewise.
13162 (__have_pipe2): Likewise.
13163 (__have_dup3): Likewise.
13164
a277af22
MF
131652012-08-18 Mike Frysinger <vapier@gentoo.org>
13166
13167 [BZ #9685]
13168 * include/unistd.h (__have_pipe2): Change define into an extern int.
13169 (__have_dup3): Likewise.
13170 * socket/have_sock_cloexec.c: Include fcntl.h.
13171 (__have_pipe2): New variable.
13172 (__have_dup3): Likewise.
13173
fdab8fd3
MF
131742012-08-17 Mike Frysinger <vapier@gentoo.org>
13175
13176 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
13177
31035e80
MP
131782012-08-17 Marek Polacek <polacek@redhat.com>
13179
13180 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
13181 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
13182
3bd9e993
RM
131832012-08-17 Roland McGrath <roland@hack.frob.com>
13184
c91c505f
RM
13185 * configure.in: Add AC_SUBST for sysheaders.
13186 * configure: Regenerated.
13187 * config.make.in (sysheaders): New substituted variable.
13188
7c6f9d53
RM
13189 * sysdeps/unix/mkfifo.c: Moved ...
13190 * sysdeps/posix/mkfifo.c: ... here.
13191 * sysdeps/unix/mkfifoat.c: Moved ...
13192 * sysdeps/posix/mkfifoat.c: ... here.
13193
13194 * sysdeps/unix/utime.c: Moved ...
13195 * sysdeps/posix/utime.c: ... here.
13196
13197 * sysdeps/unix/time.c: Moved ...
13198 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
13199 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
13200 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
13201
13202 * sysdeps/unix/nice.c: Moved ...
13203 * sysdeps/posix/nice.c: ... here.
13204
13205 * sysdeps/unix/alarm.c: Moved ...
13206 * sysdeps/posix/alarm.c: ... here.
13207
3bd9e993
RM
13208 * intl/Makefile ($(codeset_mo)): Depend on the input file.
13209
d1f09384
JL
132102012-08-17 Jeff Law <law@redhat.com>
13211
13212 * intl/Makefile (codeset_mo): New variable.
13213 ($(codeset_mo)): New target.
13214 (tst-codeset.out): Depend on that. Remove explicit rule.
13215 (tst-gettext3.out, tst-gettext5.out): Likewise.
13216 (LOCPATH-ENV, tst-codeset-ENV): New variables.
13217 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
13218 * intl/tst-codeset.sh: Remove.
13219 * intl/tst-gettext3.sh: Likewise.
13220 * intl/tst-gettext5.sh: Likewise.
13221
2ae1ae5c
RM
132222012-08-17 Roland McGrath <roland@hack.frob.com>
13223
c31fdb83
RM
13224 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
13225 * sysdeps/unix/syscalls.list: ... here.
13226
a0844057
RM
13227 * sysdeps/posix/getaddrinfo.c
13228 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
13229 (gaiconf_init, gaiconf_reload): Use them.
13230 [!_STATBUF_ST_NSEC]
13231 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
13232 Define using time_t rather than struct timespec.
13233
750c1f2a
RM
13234 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
13235 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
13236 Macros removed.
13237 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
13238 [!NO_THREADS].
13239 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
13240 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
13241 Likewise.
13242
2ae1ae5c
RM
13243 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
13244 __libc_cleanup_push argument.
13245
e66a42f5
RM
13246 * bits/param.h: New file.
13247 * misc/sys/param.h: New file.
13248 * include/sys/param.h: New file.
13249 * misc/Makefile (headers): Add bits/param.h.
13250 * sysdeps/generic/sys/param.h: File removed.
13251 * sysdeps/unix/sysv/linux/bits/param.h: New file.
13252 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
13253 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 13254 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 13255
b7c08a66
RM
13256 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
13257 last change.
13258
b2e1c562
RM
13259 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
13260 [_IO_MTSAFE_IO].
13261 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
13262 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
13263 New macros.
13264
c75ccd4c
RM
13265 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
13266 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
13267 rather than -D_IO_MTSAFE_IO conditionally.
13268 * stdio-common/Makefile (CPPFLAGS): Likewise.
13269 * wcsmbs/Makefile (CPPFLAGS): Likewise.
13270 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
13271 Use $(libio-mtsafe).
13272 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
13273 of -D_IO_MTSAFE_IO.
13274 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
13275 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
13276 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
13277 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
13278 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
13279 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
13280 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
13281 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
13282 (CFLAGS-fread_u_chk.c): Likewise.
13283 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
13284 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
13285 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
13286 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
13287 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
13288 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
13289 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
13290 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
13291 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
13292
13293 * libio/Makefile: Test [$(libc-reentrant) = yes]
13294 instead of [$(filter %REENTRANT, $(defines)) nonempty].
13295
13296 * Makeconfig
13297 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
13298 * sysdeps/pthread/configure: File removed.
13299 * sysdeps/pthread/Makeconfig: New file.
13300 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
13301 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
13302
d9195db8
GB
133032012-08-16 Gary Benson <gbenson@redhat.com>
13304
13305 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
13306 unmapping the first object in a namespace.
13307
86466cd9
RM
133082012-08-16 Roland McGrath <roland@hack.frob.com>
13309
13310 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
13311 (__internal_setnetgrent): ... this. Add internal_function to
13312 definition. Add libc_hidden_def.
13313 (setnetgrent): Update caller.
13314 (internal_endnetgrent): Renamed to ...
13315 (__internal_endnetgrent): ... this. Add internal_function to
13316 definition. Add libc_hidden_def.
13317 (endnetgrent): Update caller.
13318 (internal_getnetgrent_r): Renamed to ...
13319 (__internal_getnetgrent_r): ... this. Add internal_function to
13320 definition. Add libc_hidden_def.
13321 (__getnetgrent_r): Update caller.
13322 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
13323
c3c8283c
JM
133242012-08-16 Joseph Myers <joseph@codesourcery.com>
13325
13326 * stdlib/longlong.h: Update from GCC.
13327
db1ee0a8
RM
133282012-08-16 Roland McGrath <roland@hack.frob.com>
13329
13330 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
13331 on _QL, which is set by umul_ppmm but never used.
13332 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
13333 variables, which are set by GMP macros but never used.
13334 * stdio-common/_itowa.c (_itowa): Likewise.
13335 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
13336 * stdlib/mod_1.c (mpn_mod_1): Likewise.
13337
30f69637
CD
133382012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
13339
13340 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
13341 struct La_sh_regs is not constant.
13342 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
13343 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
13344 and struct La_sparc64_regs are not constant.
13345
93a78ac4
JM
133462012-08-16 Joseph Myers <joseph@codesourcery.com>
13347
13348 * sysdeps/unix/sysv/linux/kernel-features.h
13349 (__ASSUME_POSIX_TIMERS): Remove.
13350 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13351 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13352 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
13353 Make code unconditional.
13354 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13355 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
13356 Make code unconditional.
13357 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13358 * sysdeps/unix/sysv/linux/clock_nanosleep.c
13359 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
13360 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13361 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
13362 Make code unconditional.
13363 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13364 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
13365 (__libc_missing_posix_timers): Remove.
13366
dd924cd7
RM
133672012-08-15 Roland McGrath <roland@hack.frob.com>
13368
4b4f2771
RM
13369 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
13370 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
13371
601c888b
RM
13372 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
13373
176790a7
RM
13374 * elf/dl-sym.c: Include <stdlib.h>.
13375
329bc018
RM
13376 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
13377 constants, which avoids warnings in 32-bit builds.
13378
e04e272d
RM
13379 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
13380 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
13381
952bf94a
RM
13382 * misc/lseek.c: File moved to ...
13383 * io/lseek.c: ... here.
13384
7c99b50a
RM
13385 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
13386
dd924cd7
RM
13387 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
13388 shifting LEN more than 31 bits at once.
13389
b3f479a8
LD
133902012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13391
13392 [BZ #14195]
8c4ae0d4
RM
13393 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
13394 segmentation fault for a case of two empty input strings.
b3f479a8
LD
13395 * string/test-strncasecmp.c (check1): Renamed to...
13396 (bz12205): ...this.
13397 (bz14195): Add new testcase for two empty input strings and N > 0.
13398 (test_main): Call new testcase, adapt for renamed function.
13399
9c55864e
AJ
134002012-08-15 Andreas Jaeger <aj@suse.de>
13401
13402 [BZ #14090]
13403 * crypt/md5test2.c: New test, based on test supplied by Serge
13404 Belyshev <belyshev@depni.sinp.msu.ru>.
13405 * crypt/Makefile (xtests): Add md5test-giant..
13406 * crypt/Makefile ($(objpfx)md5test-giant): Add.
13407
02dcb6c5
PE
134082012-08-15 Paul Eggert <eggert@cs.ucla.edu>
13409
13410 [BZ #14090]
13411 * crypt/md5.c (md5_process_block): Don't assume the buffer
13412 length is less than 2**32.
13413 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
13414 length is less than 2**64.
13415
a3f95dcc
RM
134162012-08-15 Roland McGrath <roland@hack.frob.com>
13417
be75d758
RM
13418 * string/str-two-way.h: Include <sys/param.h>.
13419 (MAX): Macro removed.
13420
7312ca90
RM
13421 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
13422 Move #define and #undef of memmove to just before and after
13423 including <string.h>.
13424
9a0a5486
RM
13425 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
13426 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
13427 and after including <string.h>. Move declarations of
13428 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
13429 to before #include "string/memmove.c".
13430
67cc348d
RM
13431 * include/dirent.h: Declare __getdirentries.
13432
a3f95dcc
RM
13433 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
13434 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
13435
ca98e171
MF
134362012-08-14 Mike Frysinger <vapier@gentoo.org>
13437
13438 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
13439 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
13440 * sysdeps/i386/configure: Regenerated.
13441 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
13442 STABS_CURRENT_FILE, and STABS_FUN.
13443 (END): Remove call to STABS_FUN_END.
13444 (STABS_CURRENT_FILE1): Delete.
13445 (STABS_CURRENT_FILE): Likewise.
13446 (STABS_FUN): Likewise.
13447 (STABS_FUN_END): Likewise.
13448 (STABS_FUN2): Likewise.
13449 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
13450 * sysdeps/x86_64/configure: Regenerated.
13451
5908bf46
RM
134522012-08-14 Roland McGrath <roland@hack.frob.com>
13453
13454 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 13455 * elf/dl-lookup.c: Likewise.
5908bf46 13456
f2c05b9e
JM
134572012-08-14 Joseph Myers <joseph@codesourcery.com>
13458
13459 * sysdeps/unix/sysv/linux/kernel-features.h
13460 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
13461 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
13462 unconditionally.
13463 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
13464 unconditionally.
13465 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
13466 condition on __ASSUME_CLONE_THREAD_FLAGS.
13467
e11f5155
AJ
134682012-08-14 Andreas Jaeger <aj@suse.de>
13469
13470 * sysdeps/i386/fpu/libm-test-ulps: Update.
13471
51a9ba86
MK
134722012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
13473
2fdd4f78
AJ
13474 * include/atomic.h (atomic_exchange_and_add): Split into ...
13475 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
13476 New atomic macros.
51a9ba86 13477
ba6cba9e
MT
134782012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
13479
13480 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13481
42443a47
JL
134822012-08-13 Jeff Law <law@redhat.com>
13483
13484 * manual/stdio.texi (snprintf): Clarify handling of the trailing
13485 null byte in the output string.
13486
121dce05
JM
134872012-08-10 Joseph Myers <joseph@codesourcery.com>
13488
13489 * sysdeps/unix/sysv/linux/kernel-features.h
13490 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
13491 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
13492 (__ASSUME_ARG_MAX_STACK_BASED): Define.
13493 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
13494 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
13495 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
13496 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
13497
bf51f568
JL
134982012-08-09 Jeff Law <law@redhat.com>
13499
13500 [BZ #13939]
13501 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
13502 When avoid_arena is set, don't retry in the that arena. Pick the
13503 next one, whatever it might be.
13504 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
13505 (arena_lock): Pass in new parameter to arena_get2.
13506 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
13507 arena_get2.
13508 (__libc_malloc): Unify retrying after main arena failure with
13509 __libc_memalign version.
13510 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
13511
f85fa270
L
135122012-08-09 H.J. Lu <hongjiu.lu@intel.com>
13513
13514 [BZ #14166]
13515 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
13516 to __redirect_strstr.
13517 (__strstr_sse42): Use typeof __redirect_strstr.
13518 (__strstr_ia32): Likewise.
13519 (__libc_strstr): New prototype.
13520 (strstr): Renamed to ...
13521 (__libc_strstr): This.
13522 (strstr): New strong alias of __libc_strstr.
13523 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
13524 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
13525 __redirect_time.
13526 Include <time.h>.
13527 (__libc_time): New prototype.
13528 (time_ifunc): Replace time with __libc_time.
13529 (time): New strong alias and hidden definition of __libc_time.
13530 (__GI_time): Remove strong alias.
13531 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
13532 Include <stddef.h>.
13533 (memmove): Redefined to __redirect_memmove.
13534 (__memmove_sse2): Use typeof __redirect_memmove.
13535 (__memmove_ssse3): Likewise.
13536 (__memmove_ssse3_back): Likewise.
13537 (__libc_memmove): New prototype.
13538 (memmove): Renamed to ...
13539 (__libc_memmove): This.
13540 (memmove): New strong alias of __libc_memmove.
13541
33b4a91e
MS
135422012-08-08 Mark Salter <msalter@redhat.com>
13543
13544 * elf/elf.h
13545 (R_MN10300_TLS_GD): Define.
13546 (R_MN10300_TLS_LD): Likewise.
13547 (R_MN10300_TLS_LDO): Likewise.
13548 (R_MN10300_TLS_GOTIE): Likewise.
13549 (R_MN10300_TLS_IE): Likewise.
13550 (R_MN10300_TLS_LE): Likewise.
13551 (R_MN10300_TLS_DTPMOD): Likewise.
13552 (R_MN10300_TLS_DTPOFF): Likewise.
13553 (R_MN10300_TLS_TPOFF): Likewise.
13554 (R_MN10300_SYM_DIFF): Likewise.
13555 (R_MN10300_ALIGN): Likewise.
13556 (R_MN10300_NUM): Update.
13557
b36137f1
JM
135582012-08-08 Joseph Myers <joseph@codesourcery.com>
13559
13560 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
13561 Remove.
13562
cdd915fd
RM
135632012-08-08 Roland McGrath <roland@hack.frob.com>
13564
a2433aac
RM
13565 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
13566
cdd915fd
RM
13567 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
13568 sysdeps/unix -> sysdeps/posix move.
13569 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
13570
bf9b740a
AM
135712012-08-07 Allan McRae <allan@archlinux.org>
13572
13573 [BZ #14303]
13574 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
13575 (SUNOS_CPP): Likewise.
13576 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
13577 not found.
13578 (open_input): Call CPP using execvp.
13579
93df14ee
JM
135802012-08-07 Joseph Myers <joseph@codesourcery.com>
13581
13582 * sysdeps/unix/sysv/linux/kernel-features.h
13583 (__ASSUME_PROT_GROWSUPDOWN): Remove.
13584 (__ASSUME_NO_CLONE_DETACHED): Likewise.
13585 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
13586 (__ASSUME_WAITID_SYSCALL): Likewise.
13587 * sysdeps/unix/sysv/linux/dl-execstack.c
13588 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
13589 code unconditional.
13590 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
13591 conditional code.
13592 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
13593 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
13594 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
13595 code.
13596 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
13597 unconditional.
13598 [__ASSUME_WAITID_SYSCALL]: Likewise.
13599 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
13600
d34689de
RM
136012012-08-07 Roland McGrath <roland@hack.frob.com>
13602
a281decc
RM
13603 * sysdeps/unix/closedir.c: Renamed to ...
13604 * sysdeps/posix/closedir.c: ... here.
13605 * sysdeps/unix/dirfd.c: Renamed to ...
13606 * sysdeps/posix/dirfd.c: ... here.
13607 * sysdeps/unix/dirstream.h: Renamed to ...
13608 * sysdeps/posix/dirstream.h: ... here.
13609 * sysdeps/unix/fdopendir.c: Renamed to ...
13610 * sysdeps/posix/fdopendir.c: ... here.
13611 * sysdeps/unix/opendir.c: Renamed to ...
13612 * sysdeps/posix/opendir.c: ... here.
13613 * sysdeps/unix/readdir.c: Renamed to ...
13614 * sysdeps/posix/readdir.c: ... here.
13615 * sysdeps/unix/readdir_r.c: Renamed to ...
13616 * sysdeps/posix/readdir_r.c: ... here.
13617 * sysdeps/unix/rewinddir.c: Renamed to ...
13618 * sysdeps/posix/rewinddir.c: ... here.
13619 * sysdeps/unix/seekdir.c: Renamed to ...
13620 * sysdeps/posix/seekdir.c: ... here.
13621 * sysdeps/unix/telldir.c: Renamed to ...
13622 * sysdeps/posix/telldir.c: ... here.
13623 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
13624 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
13625 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
13626 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
13627
22895b47
RM
13628 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
13629 * bits/fcntl.h: ... here.
13630
707a53b6
RM
13631 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
13632 not 0.
13633 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
13634 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
13635 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
13636 (struct flock): Move l_start, l_len to the beginning.
13637 Use __pid_t for l_pid.
13638 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
13639 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
13640 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
13641 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
13642 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
13643 [__USE_LARGEFILE64] (struct flock64): New type.
13644 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
13645
f0bd3e25
RM
13646 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
13647 * bits/dirent.h: ... here.
13648
d34689de
RM
13649 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
13650 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
13651
6dad2c06
JM
136522012-08-07 Joseph Myers <joseph@codesourcery.com>
13653
13654 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
13655 Change from 2.6.0 to 2.6.16.
13656 * sysdeps/unix/sysv/linux/configure: Regenerated.
13657 * sysdeps/unix/sysv/linux/kernel-features.h
13658 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
13659 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
13660 version.
13661 (__ASSUME_UTIMES): Likewise.
13662 (__ASSUME_CLONE_STOPPED): Remove.
13663 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
13664 architectures, not kernel version.
13665 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
13666 (__ASSUME_NO_CLONE_DETACHED): Likewise.
13667 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
13668 (__ASSUME_WAITID_SYSCALL): Likewise.
13669 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
13670 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
13671 * README: State 2.6.16 as minimum Linux kernel version. Do not
13672 refer to older versions.
13673
03af9520
RM
136742012-08-06 Roland McGrath <roland@hack.frob.com>
13675
8e49df1d
RM
13676 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
13677 Define alphasort64 as an alias.
13678 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
13679 Define versionsort64 as an alias.
13680 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
13681 Define scandir64 as an alias.
13682 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
13683 Define scandirat64 as an alias.
13684 * dirent/alphasort64.c (alphasort64):
13685 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
13686 * dirent/versionsort64.c: Likewise.
13687 * dirent/scandir64.c: Likewise.
13688 * dirent/scandirat64.c: Likewise.
13689 * sysdeps/wordsize-64/alphasort.c: File removed.
13690 * sysdeps/wordsize-64/alphasort64.c: File removed.
13691 * sysdeps/wordsize-64/scandir.c: File removed.
13692 * sysdeps/wordsize-64/scandir64.c: File removed.
13693 * sysdeps/wordsize-64/scandirat.c: File removed.
13694 * sysdeps/wordsize-64/scandirat64.c: File removed.
13695 * sysdeps/wordsize-64/versionsort.c: File removed.
13696 * sysdeps/wordsize-64/versionsort64.c: File removed.
13697 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
13698 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
13699 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
13700 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
13701 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
13702 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
13703 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
13704 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
13705
13706 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
13707 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
13708 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
13709 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13710 [defined __arch64__ || defined __sparcv9]
13711 (__INO_T_MATCHES_INO64_T): New macro.
13712 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
13713 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
13714 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
13715 * sysdeps/unix/sysv/linux/bits/dirent.h
13716 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
13717 (_DIRENT_MATCHES_DIRENT64): New macro.
13718
03af9520
RM
13719 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
13720 Define lockf64 as an alias.
13721 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
13722 Define fseeko64 as an alias.
13723 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
13724 Define ftello64 as an alias.
13725 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
13726 Define _IO_fgetpos64 and fgetpos64 as aliases.
13727 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
13728 Define _IO_fsetpos64 and fsetpos64 as aliases.
13729 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
13730 Conditionalize body on this.
13731 * libio/fseeko64.c: Likewise.
13732 * libio/ftello64.c: Likewise.
13733 * libio/iofgetpos64.c: Likewise.
13734 * libio/iofsetpos64.c: Likewise.
13735 * sysdeps/wordsize-64/lockf.c: File removed.
13736 * sysdeps/wordsize-64/lockf64.c: File removed.
13737 * sysdeps/wordsize-64/fseeko.c: File removed.
13738 * sysdeps/wordsize-64/fseeko64.c: File removed.
13739 * sysdeps/wordsize-64/ftello.c: File removed.
13740 * sysdeps/wordsize-64/ftello64.c: File removed.
13741 * sysdeps/wordsize-64/iofgetpos.c: File removed.
13742 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
13743 * sysdeps/wordsize-64/iofsetpos.c: File removed.
13744 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
13745 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
13746 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
13747 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
13748 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
13749 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
13750 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
13751 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
13752 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
13753 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
13754 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
13755
13756 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
13757 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
13758 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
13759 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13760 [defined __arch64__ || defined __sparcv9]
13761 (__OFF_T_MATCHES_OFF64_T): New macro.
13762 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
13763 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
13764 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13765 (__OFF_T_MATCHES_OFF64_T): New macro.
13766
c5757acd
L
137672012-08-06 H.J. Lu <hongjiu.lu@intel.com>
13768
13769 * stdlib/secure-getenv.c (__secure_getenv): Replace
13770 GLIBC_2_16 with GLIBC_2_17.
13771
3a31811e
L
137722012-08-06 H.J. Lu <hongjiu.lu@intel.com>
13773
13774 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
13775 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
13776
faa2bccb
DM
137772012-08-03 David S. Miller <davem@davemloft.net>
13778
13779 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13780
85fe1997
JM
137812012-08-03 Joseph Myers <joseph@codesourcery.com>
13782
13783 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
13784 Remove.
13785 (__ASSUME_CORRECT_SI_PID): Likewise.
13786 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
13787 (__ASSUME_TMPFS_NAME): Likewise.
13788 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
13789 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
13790 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
13791 (HAVE_AUX_SECURE): Make definition unconditional.
13792 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
13793 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
13794
4f75b7a0
RM
137952012-08-03 Roland McGrath <roland@hack.frob.com>
13796
13797 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
13798 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
13799 * sysdeps/mach/hurd/eloop-threshold.h: New file.
13800 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
13801 __eloop_threshold instead of SYMLOOP_MAX.
13802
13803 * sysdeps/generic/eloop-threshold.h: New file.
13804 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
13805 of MAXSYMLINKS.
13806 * elf/chroot_canon.c (chroot_canon): Likewise.
13807
7aab07e4
JM
138082012-08-03 Joseph Myers <joseph@codesourcery.com>
13809
13810 [BZ #13717]
13811 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
13812 Change to 2.6.0 everywhere.
13813 * sysdeps/unix/sysv/linux/configure: Regenerated.
13814 * sysdeps/unix/sysv/linux/kernel-features.h
13815 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
13816 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
13817 kernel versions.
13818 (__ASSUME_POSIX_TIMERS): Define unconditionally.
13819 (__ASSUME_FUTEX_REQUEUE): Remove.
13820 (__ASSUME_STATFS64): Define unconditionally.
13821 (__ASSUME_AT_SECURE): Likewise.
13822 (__ASSUME_CORRECT_SI_PID): Likewise.
13823 (__ASSUME_TGKILL): Define without depending on kernel version for
13824 i386.
13825 (__ASSUME_UTIMES): Likewise.
13826 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
13827 kernel version.
13828 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
13829 (__ASSUME_TMPFS_NAME): Likewise.
13830 * README: Update reference to Linux kernel versions.
13831
b67e9372
MP
138322012-08-02 Marek Polacek <polacek@redhat.com>
13833
1f529f7d 13834 [BZ# 14150]
b67e9372
MP
13835 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
13836 libc_cv_asm_type_prefix with %.
13837 * configure: Regenerated.
d2441631
RM
13838 * include/libc-symbols.h: Remove comment about
13839 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
13840 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
13841 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
13842 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
13843 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
13844 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
13845 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
13846 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
13847 * elf/tst-unique2mod1.c: Likewise.
13848 * elf/tst-unique1mod2.c: Likewise.
13849 * elf/tst-unique1mod1.c: Likewise.
13850 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
13851 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
13852 Replace ASM_TYPE_DIRECTIVE with .type.
13853 * sysdeps/s390/s390-64/sysdep.h: Likewise.
13854 * sysdeps/i386/sysdep.h: Likewise.
13855 * sysdeps/x86_64/sysdep.h: Likewise.
13856 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
13857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
13858 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 13859 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
13860 * sysdeps/powerpc/powerpc32/sysdep.h:
13861 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
13862 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
13863 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
13864 * sysdeps/i386/fpu/e_powf.S: Likewise.
13865 * sysdeps/i386/fpu/e_expl.S: Likewise.
13866 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
13867 * sysdeps/i386/fpu/e_acosh.S: Likewise.
13868 * sysdeps/i386/fpu/e_pow.S: Likewise.
13869 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
13870 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
13871 * sysdeps/i386/fpu/s_expm1.S: Likewise.
13872 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
13873 * sysdeps/i386/fpu/e_log2.S: Likewise.
13874 * sysdeps/i386/fpu/e_log2l.S: Likewise.
13875 * sysdeps/i386/fpu/e_scalb.S: Likewise.
13876 * sysdeps/i386/fpu/e_powl.S: Likewise.
13877 * sysdeps/i386/fpu/e_log10f.S: Likewise.
13878 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
13879 * sysdeps/i386/fpu/e_logl.S: Likewise.
13880 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
13881 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
13882 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
13883 * sysdeps/i386/fpu/e_log2f.S: Likewise.
13884 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
13885 * sysdeps/i386/fpu/e_log.S: Likewise.
13886 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
13887 * sysdeps/i386/fpu/e_logf.S: Likewise.
13888 * sysdeps/i386/fpu/e_log10l.S: Likewise.
13889 * sysdeps/i386/fpu/e_atanh.S: Likewise.
13890 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
13891 * sysdeps/i386/fpu/e_log10.S: Likewise.
13892 * sysdeps/i386/fpu/s_frexp.S: Likewise.
13893 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
13894 * sysdeps/i386/fpu/s_asinh.S: Likewise.
13895 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
13896 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
13897 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
13898 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
13899 * sysdeps/i386/i686/strtok.S: Likewise.
13900 * sysdeps/i386/i386-mcount.S: Likewise.
13901 * sysdeps/i386/strtok.S: Likewise.
13902 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
13903 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
13904 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13905 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
13906 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
13907 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
13908 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
13909 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
13910 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
13911 * sysdeps/x86_64/_mcount.S: Likewise.
13912 * sysdeps/x86_64/strtok.S: Likewise.
13913 * sysdeps/sh/_mcount.S: Likewise.
13914
2747bf9a
RM
139152012-08-01 Roland McGrath <roland@hack.frob.com>
13916
13917 * libio/iofopen.c: Include <fcntl.h>.
13918 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
13919 (_IO_fopen64, fopen64): Define as aliases.
13920 * libio/iofopen64.c: Include <fcntl.h>.
13921 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
13922 Conditionalize body on this.
13923 * sysdeps/wordsize-64/iofopen.c: File removed.
13924 * sysdeps/wordsize-64/iofopen64.c: File removed.
13925
3fb791b8
MP
139262012-08-01 Marek Polacek <polacek@redhat.com>
13927
13928 * libc/Makeconfig: Use elf in place of binfmt-subdir.
13929 Use dlfcn directly instead of a variable.
13930 (binfmt-subdir): Do not define.
13931 (dlfcn): Likewise.
13932
a9f1039f
JM
139332012-08-01 Joseph Myers <joseph@codesourcery.com>
13934
23bddc06
JM
13935 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
13936 Remove all definitions.
13937 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
13938 <kernel-features.h>.
13939 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
13940 (miss_F_GETOWN_EX): Remove all definitions.
13941 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
13942 macro definition.
13943 [!__ASSUME_FCNTL64]: Remove conditional code.
13944 [__ASSUME_FCNTL64]: Make code unconditional.
13945 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
13946 <kernel-features.h>.
13947 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
13948 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
13949 (lockf64) [__NR_fcntl64]: Make code unconditional.
13950 (lockf64) [__ASSUME_FCNTL64]: Likewise.
13951
a9f1039f
JM
13952 * sysdeps/unix/sysv/linux/kernel-features.h
13953 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
13954 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
13955 Make code unconditional.
13956 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
13957 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
13958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
13959 [__NR_vfork]: Make code unconditional.
13960 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
13961 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
13962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
13963 [__NR_vfork]: Make code unconditional.
13964 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
13965 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
13966
09c0ee5f
RM
139672012-08-01 Roland McGrath <roland@hack.frob.com>
13968
48aec5b9
RM
13969 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
13970 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
13971
cd97c966
RM
13972 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
13973 Define mkstemp64 as an alias.
3f55550c
RM
13974 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
13975 Define mkstemps64 as an alias.
cd97c966
RM
13976 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
13977 Define mkostemp64 as an alias.
b8625cfc
RM
13978 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
13979 Define mkostemps64 as an alias.
cd97c966
RM
13980 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
13981 Conditionalize body on this.
13982 * misc/mkostemp64.c: Likewise.
b8625cfc 13983 * misc/mkostemps64.c: Likewise.
3f55550c 13984 * misc/mkstemps64.c: Likewise.
cd97c966
RM
13985 * sysdeps/wordsize-64/mkstemp64.c: File removed.
13986 * sysdeps/wordsize-64/mkostemp64.c: File removed.
13987 * sysdeps/wordsize-64/mkostemp.c: File removed.
13988 * sysdeps/wordsize-64/mkstemp.c: File removed.
13989 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
13990 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
13991 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
13992 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
13993
09c0ee5f
RM
13994 [BZ #14138]
13995 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
13996 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
13997 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
13998 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
13999
14000 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
14001 compat_symbol macros from <shlib-compat.h> rather than the underlying
14002 default_symbol_version and symbol_version macros, so that DEFAULT
14003 lines in shlib-versions are respected.
14004 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
14005
7e66ee51
FW
140062012-08-01 Florian Weimer <fweimer@redhat.com>
14007
14008 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
14009 Declare with warn_unused_result.
14010 (setgid, setregid, setegid, setresgid): Likewise.
14011 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
14012 Likewise.
14013 * WUR-REPORT: Remove set*id functions.
14014
d2a54255
PT
140152012-07-31 Pino Toscano <toscano.pino@tiscali.it>
14016
14017 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
14018
7ecdb005
RM
140192012-07-31 Roland McGrath <roland@hack.frob.com>
14020
b4180a5e 14021 [BZ #10191]
789bd351
RM
14022 * include/sys/socket.h (__libc_accept, __libc_accept4):
14023 Add attribute_hidden.
14024 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
14025
40ce302d
RM
14026 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
14027 use of PTR_MANGLE.
14028 * inet/getnetgrent_r.c (setup): Likewise.
14029
7ecdb005
RM
14030 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
14031
e2eabb2c
DM
140322012-07-31 David S. Miller <davem@davemloft.net>
14033
14034 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14035
d0419dbf
JM
140362012-07-31 Joseph Myers <joseph@codesourcery.com>
14037
14038 [BZ #13629]
14039 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
14040 value between 1.0 and 2.0 and smaller part has absolute value less
14041 than 1.0.
14042 * math/s_clog10.c (__clog10): Likewise.
14043 * math/s_clog10f.c (__clog10f): Likewise.
14044 * math/s_clog10l.c (__clog10l): Likewise.
14045 * math/s_clogf.c (__clogf): Likewise.
14046 * math/s_clogl.c (__clogl): Likewise.
14047 * math/libm-test.inc (clog_test): Add more tests.
14048 (clog10_test): Likewise.
14049 * sysdeps/i386/fpu/libm-test-ulps: Update.
14050 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14051
2bc13872
FW
140522012-07-31 Florian Weimer <fweimer@redhat.com>
14053
14054 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
14055 Exit with zero in case no suitable GID is found, and write a
14056 message to standard error.
14057
bea9b193
RM
140582012-07-30 Roland McGrath <roland@hack.frob.com>
14059
14060 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
14061 rather than to 1.
14062 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
14063 (MAXPATHLEN): Removed.
14064 (NOGROUP, NODEV): New macros.
14065 (setbit, clrbit, isset, isclr): New macros.
14066 (howmany, roundup, powerof2): New macros.
14067 (DEV_BSIZE): New macro.
14068
14069 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
14070 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
14071
14072 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
14073 definition on [!__NO_LONG_DOUBLE_MATH].
14074
14075 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
14076 PTR_MANGLE and PTR_DEMANGLE.
14077
14078 * socket/accept4.c (accept4): Rename to __libc_accept4.
14079 Define accept4 as a weak alias.
14080
14081 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
14082 on [_DIRENT_HAVE_D_TYPE].
14083 * io/ftw.c (ftw_dir): Likewise.
14084
14085 * io/xmknod.c (__xmknod): Don't check PATH for being null.
14086
14087 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
14088
14089 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
14090 Use the BSD numbers rather than the arbitrary ones we had.
14091 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
14092 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
14093 (SIGXCPU, SIGXFSZ): New macros.
14094 (_NSIG): Now 32.
14095
14096 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
14097 initializer on [_LIBC_REENTRANT].
14098
14099 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
14100 definitions inside [_POSIX_MAPPED_FILES].
14101
14102 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
14103
14104 * dirent/opendir.c: Include <fcntl.h>.
14105
14106 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
14107 (__libc_getspecific): Likewise.
14108 (__libc_key_create): Likewise.
14109
14110 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
14111 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
14112 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
14113 (tmpfile64): Define as alias.
14114 * sysdeps/wordsize-64/tmpfile.c: File removed.
14115 * sysdeps/wordsize-64/tmpfile64.c: File removed.
14116 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
14117 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
14118
14119 * stdio-common/vfscanf.c: Include <stdbool.h>.
14120 * nss/makedb.c: Likewise.
14121 * stdio-common/_i18n_number.h: Likewise.
14122 * argp/argp-help.c: Likewise.
14123 * posix/wordexp.c: Likewise.
14124 * sysdeps/posix/spawni.c: Likewise.
14125 * nss/nss_files/files-initgroups.c: Likewise.
14126 * stdio-common/reg-modifier.c: Include <stdlib.h>.
14127 * nss/nss_files/files-initgroups.c: Likewise.
14128 * nss/nss_db/db-netgrp.c: Likewise.
14129 * nss/nss_db/db-initgroups.c: Likewise.
14130 * io/fchmodat.c: Include <sys/stat.h>.
14131
14132 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
14133 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
14134
14135 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
14136 [HAVE_MMAP].
14137
14138 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
14139 Add multiple inclusion protection.
14140
e5abc686
DM
141412012-07-27 David S. Miller <davem@davemloft.net>
14142
14143 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14144
815e6fa3
GB
141452012-07-27 Gary Benson <gbenson@redhat.com>
14146
14147 [BZ #14298]
14148 * elf/rtld.c: Include <stap-probe.h>.
14149 (dl_main): Added static probes "init_start" and "init_complete".
14150 * elf/dl-load.c: Include <stap-probe.h>.
14151 (lose): Take new parameter "nsid".
14152 Added static probe "map_failed".
14153 (_dl_map_object_from_fd): Pass namespace id to lose.
14154 Added static probe "map_start".
14155 (open_verify): Pass namespace id to lose.
14156 * elf/dl-open.c: Include <stap-probe.h>.
14157 (dl_open_worker) Added static probes "map_complete", "reloc_start"
14158 and "reloc_complete".
14159 * elf/dl-close.c: Include <stap-probe.h>.
14160 (_dl_close_worker): Added static probes "unmap_start" and
14161 "unmap_complete".
14162 * elf/rtld-debugger-interface.txt: New file documenting the above.
14163
9f98c16c
RM
141642012-07-26 Roland McGrath <roland@hack.frob.com>
14165
14166 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
14167 rather than a string variable.
14168 * sunrpc/rpc_main.c (h_output): Likewise.
14169 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
14170
f3c22df3
PT
141712012-07-26 Pino Toscano <toscano.pino@tiscali.it>
14172
14173 * inet/check_native.c: New file.
14174
3129cfc6
JM
141752012-07-26 Joseph Myers <joseph@codesourcery.com>
14176
da865e95
JM
14177 [BZ #13629]
14178 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
14179 if larger part has absolute value 1.0.
14180 * math/s_clog10.c (__clog10): Likewise.
14181 * math/s_clog10f.c (__clog10f): Likewise.
14182 * math/s_clog10l.c (__clog10l): Likewise.
14183 * math/s_clogf.c (__clogf): Likewise.
14184 * math/s_clogl.c (__clogl): Likewise.
14185 * math/libm-test.inc (clog_test): Add more tests.
14186 (clog10_test): Likewise.
14187 * sysdeps/i386/fpu/libm-test-ulps: Update.
14188 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14189
3129cfc6
JM
14190 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
14191 (pltexit): Likewise.
14192 (La_regs): Likewise.
14193 (La_retval): Likewise.
14194 (int_retval): Likewise.
14195 Update #error for removed macros to refer only to definitions in
14196 tst-audit.h.
14197 * elf/tst-auditmod3b.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-auditmod4b.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-auditmod5b.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-auditmod6b.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-auditmod6c.c (pltenter): Remove all definitions of
14222 macro.
14223 (pltexit): Likewise.
14224 (La_regs): Likewise.
14225 (La_retval): Likewise.
14226 (int_retval): Likewise.
14227 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
14228 macro.
14229 (pltexit): Likewise.
14230 (La_regs): Likewise.
14231 (La_retval): Likewise.
14232 (int_retval): Likewise.
14233 * sysdeps/generic/tst-audit.h: Update comment to refer only to
14234 macro definitions in tst-audit.h.
14235 * sysdeps/i386/tst-audit.h: New file.
14236 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
14237 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
14238 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
14239 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
14240 * sysdeps/sh/tst-audit.h: Likewise.
14241 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
14242 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
14243 * sysdeps/x86_64/tst-audit.h: Likewise.
14244
bfc07087
AJ
142452012-07-26 Andreas Jaeger <aj@suse.de>
14246
b1b2aaf8
AJ
14247 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
14248 ptrace.
14249
14250 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
14251 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
14252 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
14253 PTRACE_O_MASK.
14254 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
14255 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
14256 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
14257
bfc07087
AJ
14258 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
14259 value.
14260
14261 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
14262 _sigsys.
14263 (si_call_addr, si_syscall, si_arch): Define new macro.
14264 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
14265 _sigsys.
14266 (si_call_addr, si_syscall, si_arch): Define new marcro.
14267 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
14268 _sigsys.
14269 (si_call_addr, si_syscall, si_arch): Define new macro.
14270 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
14271 _sigsys.
14272 (si_call_addr, si_syscall, si_arch): Define new macro.
14273
89b4b02f
JM
142742012-07-25 Joseph Myers <joseph@codesourcery.com>
14275
14276 [BZ #13717]
14277 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14278 Change to 2.4.21 where previously 2.4.1.
14279 * sysdeps/unix/sysv/linux/configure: Regenerated.
14280 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
14281 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
14282 Linux kernel version.
14283 (__ASSUME_STD_AUXV): Remove.
14284 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
14285 kernel version.
14286 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
14287 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
14288 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
14289 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
14290 (__ASSUME_NETLINK_SUPPORT): Likewise.
14291 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
14292 (__no_netlink_support): Remove conditional definition.
14293 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
14294 Remove.
14295 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
14296 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
14297 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
14298 (if_nameindex_ioctl): Remove.
14299 (if_nameindex_netlink): Do not handle __no_netlink_support.
14300 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
14301 code.
14302 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
14303 Remove conditional code.
14304 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
14305 code.
14306 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
14307 unconditional.
14308 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
14309 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
14310 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
14311 Remove.
14312 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
14313 [!__ASSUME_STD_AUXV]: Remove conditional code.
14314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
14315 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
14316 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
14317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
14318 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
14319 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
14320 code.
14321 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
14322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14323 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
14324 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
14325 conditional code.
14326 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
14327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
14328 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
14329 code.
14330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14331 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
14332 conditional code.
14333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
14334 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14335 code unconditional.
14336 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14337 conditional code.
14338 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14339 unconditional.
14340 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14341 conditional code.
14342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14343 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14344 unconditional.
14345 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14346 conditional code.
14347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
14348 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14349 code unconditional.
14350 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14351 conditional code.
14352 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14353 unconditional.
14354 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14355 conditional code.
14356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
14357 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14358 code unconditional.
14359 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14360 conditional code.
14361 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14362 unconditional.
14363 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14364 conditional code.
14365
842a39cd
AS
143662012-07-25 Andreas Schwab <schwab@linux-m68k.org>
14367
14368 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
14369 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
14370 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
14371 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
14372 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
14373 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
14374 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
14375 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
14376 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
14377 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
14378 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
14379 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
14380 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
14381 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
14382 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
14383 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
14384 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
14385 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
14386 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
14387 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
14388 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
14389 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
14390 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
14391
84b3fd84
FW
143922012-07-25 Florian Weimer <fweimer@redhat.com>
14393
14394 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
14395 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
14396 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
14397 Introduce __libc_secure_getenv.
0c7936d5
FW
14398 * stdlib/Versions (2.17): Add secure_getenv
14399 (GLIBC_PRIVATE): Add __libc_secure_getenv.
14400 * stdlib/secure-getenv.c: Rename __secure_getenv to
14401 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
14402 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
14403 * stdlib/tst-secure-getenv.c: New.
14404 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
14405 * manual/startup.texi (Environment Access): Document
14406 secure_getenv.
84b3fd84
FW
14407 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
14408 __libc_secure_getenv.
14409 * inet/ruserpass.c (ruserpass): Likewise.
14410 * malloc/mtrace.c (mtrace): Likewise.
14411 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 14412 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
14413 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
14414 * sysdeps/posix/tempname.c: Likewise. Evaluate
14415 HAVE_SECURE_GETENV.
14416 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 14417 __secure_getenv to __libc_secure_getenv.
84b3fd84 14418 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
14419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14420 Likewise.
14421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14422 Likewise.
14423 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
14424 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
14425 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
14426 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
14427 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
14428 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
14429 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 14430
56e49b71
JM
144312012-07-25 Joseph Myers <joseph@codesourcery.com>
14432
14433 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
14434 (struct La_i86_retval): Likewise.
14435 (struct La_x86_64_regs): Likewise.
14436 (struct La_x86_64_retval): Likewise.
14437 (struct La_x32_regs): Likewise.
14438 (struct La_x32_retval): Likewise.
14439 (struct La_ppc32_regs): Likewise.
14440 (struct La_ppc32_retval): Likewise.
14441 (struct La_ppc64_regs): Likewise.
14442 (struct La_ppc64_retval): Likewise.
14443 (struct La_sh_regs): Likewise.
14444 (struct La_sh_retval): Likewise.
14445 (struct La_s390_32_regs): Likewise.
14446 (struct La_s390_32_retval): Likewise.
14447 (struct La_s390_64_regs): Likewise.
14448 (struct La_s390_64_retval): Likewise.
14449 (struct La_sparc32_regs): Likewise.
14450 (struct La_sparc32_retval): Likewise.
14451 (struct La_sparc64_regs): Likewise.
14452 (struct La_sparc64_retval): Likewise.
14453 (struct audit_ifaces): Remove architecture-specific pltenter and
14454 pltexit members.
14455 * sysdeps/i386/ldsodefs.h: New file.
14456 * sysdeps/powerpc/ldsodefs.h: Likewise.
14457 * sysdeps/s390/ldsodefs.h: Likewise.
14458 * sysdeps/sh/ldsodefs.h: Likewise.
14459 * sysdeps/sparc/ldsodefs.h: Likewise.
14460 * sysdeps/x86_64/ldsodefs.h: Likewise.
14461
354691b7
MP
144622012-07-25 Marek Polacek <polacek@redhat.com>
14463
14464 [BZ #6808]
14465 * math/libm-test.inc (yn_test): Add another test.
14466 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
14467 to ERANGE when the result is +-Inf.
14468 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
14469 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
14470 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
14471 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
14472
bf9e2071
JM
144732012-07-24 Joseph Myers <joseph@codesourcery.com>
14474
14475 * conform/data/time.h-data (NULL): Use macro-constant. Require
14476 equal to 0.
14477 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
14478 clock_t.
14479 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
14480
57633811
TS
144812012-07-23 Thomas Schwinge <thomas@codesourcery.com>
14482
14483 * configure.in <sysdeps resolving>: Correct printing
14484 Implies_before.
14485 * configure: Regenerate.
14486
c23c33b0
TS
144872012-07-22 Thomas Schwinge <thomas@codesourcery.com>
14488
14489 * math/w_ilogb.c: Include <limits.h>.
14490 * math/w_ilogbl.c: Likewise.
14491
b5982523
JM
144922012-07-20 Joseph Myers <joseph@codesourcery.com>
14493
14494 * manual/lang.texi (__va_copy): Document primarily as ISO C99
14495 va_copy. Document allowing for unavailable va_copy only as
14496 pre-C99 compatibility.
14497 * manual/string.texi (Copying and Concatenation): Use va_copy
14498 instead of __va_copy in concat example.
14499
ac4ea442
PT
145002012-07-20 Pino Toscano <toscano.pino@tiscali.it>
14501
14502 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
14503 (__sendto): Use create_address_port. Initialize APORT and deallocate
14504 it if not null.
14505
f98eafbd
PT
14506 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
14507 with O_NOLINK passed to __file_name_lookup.
14508
898c7aab
PT
14509 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
14510 with O_NOLINK passed to __file_name_lookup.
14511
0ced335a
PT
14512 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
14513 negative N or less than NGIDS.
14514
b3404dbd
PT
14515 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
14516 type to string_t. Set ERANGE as errno and return it if NAME is not big
14517 enough. Use memcpy instead of strncpy.
14518
0f48659e
JM
145192012-07-20 Joseph Myers <joseph@codesourcery.com>
14520
14521 * elf/Makefile (check-data): Remove.
14522 (localplt.data): New vpath directive.
14523 ($(objpfx)check-localplt.out): Use localplt.data from vpath
14524 instead of $(check-data).
14525 * scripts/data/localplt-generic.data: Move to ...
14526 * sysdeps/generic/localplt.data: ... here.
14527 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
14528 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
14529 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
14530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
14531 ... here.
14532 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
14533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
14534 ... here.
14535 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
14536 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
14537 ... here.
14538 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
14539 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
14540 ... here.
14541 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
14542 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
14543 ... here.
14544 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
14545 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
14546 ... here.
14547
d37cbdaa
AZ
145482012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14549
14550 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
14551 PPC32 and PPC64 files.
14552 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
14553 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
14554
46f85fc2
AK
145552012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14556
14557 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
14558 __makecontext_ret to ...
14559 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
14560 ... here and call exit if uc_link is NULL. New file.
14561 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
14562 __makecontext_ret.S.
14563 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
14564 __makecontext_ret to ...
14565 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
14566 ... here and call exit if uc_link is NULL. New file.
14567 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
14568 __makecontext_ret.S.
14569
08f43f9b
AK
145702012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14571
14572 * elf/elf.h (R_390_IRELATIVE): New definition.
14573 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
14574 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
14575 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
14576 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
14577 (elf_machine_lazy_rel): Likewise.
14578 * sysdeps/s390/dl-irel.h: New file.
14579 * sysdeps/s390/s390-64/memcpy.S: New asm code.
14580 * sysdeps/s390/s390-64/memset.S: New asm code.
14581 * sysdeps/s390/s390-64/memcmp.S: New asm code.
14582 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
14583 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
14584 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
14585 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
14586 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
14587 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
14588 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
14589 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
14590 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
14591 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
14592 * sysdeps/s390/s390-32/memcpy.S: New asm code.
14593 * sysdeps/s390/s390-32/memset.S: New asm code.
14594 * sysdeps/s390/s390-32/memcmp.S: New asm code.
14595
3b05db33
MP
145962012-07-17 Marek Polacek <polacek@redhat.com>
14597
14598 [BZ #14349]
14599 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
14600 * sysdeps/s390/s390-64/configure.in: Likewise.
14601 * sysdeps/sparc/configure.in: Likewise.
14602 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
14603 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
14604 * sysdeps/i386/configure.in: Likewise.
14605 * sysdeps/x86_64/configure.in: Likewise.
14606 * sysdeps/sh/configure.in: Likewise.
14607 * sysdeps/s390/s390-32/configure: Regenerated.
14608 * sysdeps/s390/s390-64/configure: Likewise.
14609 * sysdeps/x86_64/configure: Likewise.
14610 * sysdeps/sh/configure: Likewise.
14611 * sysdeps/powerpc/powerpc64/configure: Likewise.
14612 * sysdeps/powerpc/powerpc32/configure: Likewise.
14613 * sysdeps/sparc/configure: Likwise.
14614 * sysdeps/i386/configure: Likewise.
14615
a66877c6
MP
14616 * elf/dl-open.c: Comment fixes.
14617
cfc82fd8
JM
146182012-07-17 Joseph Myers <joseph@codesourcery.com>
14619
bd29910a
JM
14620 * Makefile [CXX] (check-data): Remove.
14621 [CXX] (c++-types.data): New vpath directive.
14622 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
14623 vpath. Do not allow for C++ type data being missing.
14624 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
14625 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
14626 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
14627 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
14628 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
14629 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
14630 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
14631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
14632 ... here.
14633 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
14634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
14635 ... here.
14636 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
14637 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
14638 ... here.
14639 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
14640 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
14641 ... here.
14642 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
14643 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
14644 ... here.
14645 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
14646 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
14647 ... here.
14648 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
14649 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
14650 ... here.
14651 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
14652 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
14653
cfc82fd8
JM
14654 * elf/tls-macros.h (TLS_LE): Move architecture-specific
14655 definitions to architecture-specific files.
14656 (TLS_IE): Likewise.
14657 (TLS_LD): Likewise.
14658 (TLS_GD): Likewise.
14659 * sysdeps/i386/tls-macros.h: New file.
14660 * sysdeps/powerpc/tls-macros.h: Likewise.
14661 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
14662 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
14663 * sysdeps/sh/tls-macros.h: Likewise.
14664 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
14665 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
14666 * sysdeps/x86_64/tls-macros.h: Likewise.
14667
f7db3170
TS
146682012-07-17 Thomas Schwinge <thomas@codesourcery.com>
14669
07cbfc23
TS
14670 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
14671 zero value for regular exit case.
14672
f7db3170
TS
14673 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
14674 (__start_context): Preserve zero value for regular exit case.
14675
dc97c227
TS
146762012-07-17 Thomas Schwinge <thomas@codesourcery.com>
14677 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14678
14679 * manual/setjmp.texi (setcontext): Clarify normal process
14680 termination when uc_link is the null pointer.
14681 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
14682 exit call.
14683
d0cd7d02
AS
146842012-07-16 Andreas Schwab <schwab@linux-m68k.org>
14685
14686 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
14687 preprocessor. Test for each exception mask separately.
14688
dd318934
AJ
146892012-07-16 Andreas Jaeger <aj@suse.de>
14690
14691 * po/ru.po: Update from translation team.
14692
8048311a
JM
146932012-07-15 Joseph Myers <joseph@codesourcery.com>
14694
14695 * conform/data/string.h-data (NULL): Use macro-constant. Require
14696 equal to 0.
14697 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
14698 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
14699 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
14700 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
14701 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14702
b637d46e
AJ
147032012-07-13 Andreas Jaeger <aj@suse.de>
14704
14705 * po/fr.po: Update from translation team.
14706
541428fe
MP
147072012-07-12 Marek Polacek <polacek@redhat.com>
14708
14709 [BZ #14173]
14710 * math/libm-test.inc (yn_test): Add test for BZ #14173.
14711 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
14712 loop condition.
14713
ec332e94
JM
147142012-07-12 Joseph Myers <joseph@codesourcery.com>
14715
14716 [BZ #13717]
14717 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14718 Change to 2.4.1 where previously 2.4.0.
14719 * sysdeps/unix/sysv/linux/configure: Regenerated.
14720 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
14721 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
14722 version.
14723 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
14724 (__ASSUME_AT_CLKTCK): Remove.
14725 (__ASSUME_AT_PAGESIZE): Likewise.
14726 (__ASSUME_AT_XID): Likewise.
14727 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
14728 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
14729 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
14730 unconditionally.
14731 (HAVE_AUX_PAGESIZE): Likewise.
14732 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
14733 [__ASSUME_AT_CLKTCK]: Make code unconditional.
14734 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
14735
7b6e99be
JB
147362012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
14737
14738 [BZ #14307]
14739 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
14740 the temporary buffer used to invoke __gethostbyname2_r,
14741 __gethostbyaddr_r and gethostbyname4_r to make room for struct
14742 host_data / struct gaih_addrtuple.
14743 * resolv/nss_dns/dns-host.c (global scope): Move definition of
14744 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
14745 header file nss/nsswitch.h.
14746 * nss/nsswitch.h (global scope): Add definition of implementation
14747 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
14748 resolv/nss_dns/dns-host.c).
14749
608404eb
AJ
147502012-07-11 Andreas Jaeger <aj@suse.de>
14751
14752 * po/fr.po: Update from translation team.
14753
71220aca
AJ
14754 * po/sv.po: Update from translation team
14755 * po/fr.po: Another update from translation team.
14756
28cfe843
AZ
147572012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14758
14759 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
14760 for subnormals or multiply small sinh result by itself.
14761 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
14762 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14763
6b90f981
DM
147642012-07-11 David S. Miller <davem@davemloft.net>
14765
14766 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14767
c6825772
AS
147682012-07-10 Andreas Schwab <schwab@linux-m68k.org>
14769
14770 [BZ #14347]
14771 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
14772 (INTERNAL_MARK): Shift it here.
14773
7b8e0d49
MP
147742012-07-10 Marek Polacek <polacek@redhat.com>
14775
14776 [BZ #14151]
14777 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
14778 libc_cv_asm_global_directive with .globl.
14779 * configure: Regenerated.
14780 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
14781 with .globl.
14782 * sysdeps/i386/configure: Regenerated.
14783 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
14784 with .globl.
14785 * sysdeps/x86_64/configure: Regenerated.
14786 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
14787 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
14788 * elf/tst-unique2mod2.c: Likewise.
14789 * elf/tst-unique2mod1.c: Likewise.
14790 * elf/tst-unique1mod2.c: Likewise.
14791 * elf/tst-unique1mod1.c: Likewise.
14792 * sysdeps/s390/s390-32/sysdep.h: Likewise.
14793 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
14794 * sysdeps/s390/s390-64/sysdep.h: Likewise.
14795 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
14796 * sysdeps/mach/sysdep.h: Likewise.
14797 * sysdeps/i386/sysdep.h: Likewise.
14798 * sysdeps/i386/i386-mcount.S: Likewise.
14799 * sysdeps/x86_64/_mcount.S: Likewise.
14800 * sysdeps/x86_64/sysdep.h: Likewise.
14801 * sysdeps/sh/_mcount.S: Likewise.
14802 * sysdeps/sh/sysdep.h: Likewise.
14803 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
14804 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
14805 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
14806 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
14807 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
14808 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
14809 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
14810 * locale/localeinfo.h: Likewise.
14811 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
14812 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
14813
6c55cda3
RM
148142012-07-09 Roland McGrath <roland@hack.frob.com>
14815
14816 [BZ #14336]
14817 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
14818 system".
14819 * manual/message.texi (The Uniforum approach): Likewise.
14820 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
14821 (glibc iconv Implementation): Likewise.
14822
638a572e
JM
148232012-07-09 Joseph Myers <joseph@codesourcery.com>
14824
14825 [BZ #14337]
14826 * math/s_clog.c (__clog): Avoid scaling a value down where that
14827 could result in underflow.
14828 * math/s_clog10.c (__clog10): Likewise.
14829 * math/s_clog10f.c (__clog10f): Likewise.
14830 * math/s_clog10l.c (__clog10l): Likewise.
14831 * math/s_clogf.c (__clogf): Likewise.
14832 * math/s_clogl.c (__clogl): Likewise.
14833 * math/libm-test.inc (clog_test): Add more tests.
14834 (clog10_test): Likewise.
14835 * sysdeps/i386/fpu/libm-test-ulps: Update.
14836 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14837
261f4859
AS
148382012-07-06 Andreas Schwab <schwab@linux-m68k.org>
14839
0abaf3e4
AS
14840 [BZ #14283]
14841 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
14842 by 7 not 8 to examine high bit of fractional part.
14843
261f4859
AS
14844 [BZ #14042]
14845 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
14846 for call to __mcount_internal.
14847 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
14848 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
14849 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
14850
f17ac40d
JM
148512012-07-06 Joseph Myers <joseph@codesourcery.com>
14852
9ad63c23
JM
14853 [BZ #14154]
14854 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
14855 approximation for values within 0x1p-13f of an odd multiple of
14856 pi/4.
14857 * math/libm-test.inc (tan_test): Do not allow spurious underflow
14858 exception. Add more tests.
14859 * sysdeps/i386/fpu/libm-test-ulps: Update.
14860
f17ac40d
JM
14861 [BZ #6778]
14862 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
14863 inputs and return -1 for them. Do not check for +Inf in case not
14864 reachable for +Inf.
14865 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
14866 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
14867 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
14868 and return -1 for them. Do not check for +Inf in case not
14869 reachable for +Inf.
14870 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
14871 define.
14872 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
14873 and return -1 for them. Do not check for +Inf in case not
14874 reachable for +Inf.
14875 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
14876 spurious underflow.
14877 * sysdeps/i386/fpu/libm-test-ulps: Update.
14878 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14879
fb21f89b
MF
148802012-07-06 Mike Frysinger <vapier@gentoo.org>
14881
14882 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
14883
cdfe2c5e
JM
148842012-07-05 Joseph Myers <joseph@codesourcery.com>
14885
14886 [BZ #14157]
14887 [BZ #14331]
14888 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
14889 could result in spurious underflow. Scale down values above
14890 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
14891 * math/s_csqrtf.c (__csqrtf): Likewise.
14892 * math/s_csqrtl.c (__csqrtl): Likewise.
14893 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
14894 spurious underflow.
14895 * sysdeps/i386/fpu/libm-test-ulps: Update.
14896 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14897
70d35b67
AS
148982012-07-04 Andreas Schwab <schwab@linux-m68k.org>
14899
704bc459
AS
14900 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
14901 xopen-msg.sed.
14902 * catgets/xopen-msg.awk: New file.
14903 * catgets/xopen-msg.sed: Removed.
14904
70d35b67
AS
14905 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
14906 po2text.sed.
14907 * intl/po2test.awk: New file.
14908 * intl/po2test.sed: Removed.
14909
ca61cf32
JM
149102012-07-04 Joseph Myers <joseph@codesourcery.com>
14911
14912 [BZ #14328]
14913 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
14914 or multiply small sinh result by itself.
14915 * math/s_ctanf.c (__ctanf): Likewise.
14916 * math/s_ctanh.c (__ctanh): Likewise.
14917 * math/s_ctanhf.c (__ctanhf): Likewise.
14918 * math/s_ctanhl.c (__ctanhl): Likewise.
14919 * math/s_ctanl.c (__ctanl): Likewise.
14920 * math/libm-test.inc (ctan_test_tonearest): New function.
14921 (ctan_test_towardzero): Likewise.
14922 (ctan_test_downward): Likewise.
14923 (ctan_test_upward): Likewise.
14924 (ctanh_test_tonearest): Likewise.
14925 (ctanh_test_towardzero): Likewise.
14926 (ctanh_test_downward): Likewise.
14927 (ctanh_test_upward): Likewise.
14928 (main): Call these new functions.
14929 * sysdeps/i386/fpu/libm-test-ulps: Update.
14930 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14931
ca48a46a
MF
149322012-07-03 Mike Frysinger <vapier@gentoo.org>
14933
14934 * .gitignore: Delete /ports entry.
14935
9d63d37d
AJ
149362012-07-03 Andreas Jaeger <aj@suse.de>
14937
14938 * po/bg.po: Update from translation team.
14939 * po/cs.po: Likewise.
14940 * po/de.po: Likewise.
14941 * po/hr.po: Likewise.
14942 * po/nl.pl: Likewise.
14943 * po/pl.po: Likewise.
14944 * po/vi.po: Likewise.
14945
370ca3d2
JM
149462012-07-03 Joseph Myers <joseph@codesourcery.com>
14947
95f5a9a8
JM
14948 * Makeconfig [!+link] (+link-before-libc): New variable.
14949 [!+link] (+link-after-libc): Likewise.
14950 [!+link] (+link-tests): Likewise.
14951 [!+link] (+link): Define in terms of $(+link-before-libc) and
14952 $(+link-after-libc).
14953 [!+link-static] (+link-static-before-libc): New variable.
14954 [!+link-static] (+link-static-after-libc): Likewise.
14955 [!+link-static] (+link-static-tests): Likewise.
14956 [!+link-static] (+link-static): Define in terms of
14957 $(+link-static-before-libc) and $(+link-static-after-libc).
14958 [build-shared] (link-libc-before-gnulib): New variable.
14959 [build-shared] (link-libc-tests): Likewise.
14960 [build-shared] (link-libc): Define in terms of
14961 $(link-libc-before-gnulib).
14962 [!build-shared] (link-libc-tests): New variable.
14963 (link-libc-static-tests): New variable.
14964 [!gnulib] (gnulib-arch): New variable.
14965 [!gnulib] (gnulib-tests): Likewise.
14966 [!gnulib] (static-gnulib-arch): Likewise.
14967 [!gnulib] (static-gnulib-tests): Likewise.
14968 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
14969 Define with "=" instead of ":=".
14970 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
14971 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
14972 * Rules (binaries-all-notests): New variable.
14973 (binaries-all-tests): Likewise.
14974 (binaries-static-notests): Likewise.
14975 (binaries-static-tests): Likewise.
14976 (binaries-all): Define using $(binaries-all-notests) and
14977 $(binaries-all-tests).
14978 (binaries-static): Define using $(binaries-static-notests) and
14979 $(binaries-static-tests).
14980 (binaries-shared-tests): New variable.
14981 (binaries-shared-notests): Likewise.
14982 (binaries-shared): Remove variable.
14983 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
14984 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
14985 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
14986 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
14987 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
14988 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
14989 * elf/Makefile (sln-modules): New variable.
14990 (extra-objs): Add $(sln-modules:=.o).
14991 (ldconfig-modules): Add static-stubs.
14992 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
14993 * elf/static-stubs.c: New file.
14994
7a845b2c
JM
14995 [BZ #14283]
14996 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
14997 by 7 not 8 to examine high bit of fractional part. Use volatile
14998 variables when splitting into final array of floats if
14999 __FLT_EVAL_METHOD__ != 0.
15000 * math/libm-test.inc (cos_test): Add another test.
15001 (sin_test): Likewise.
15002 * sysdeps/i386/fpu/libm-test-ulps: Update.
15003
e2283f38
JM
15004 [BZ #14273]
15005 * math/libm-test.inc (cosh_test): Add more tests.
15006
370ca3d2
JM
15007 * version.h (RELEASE): Set to "development".
15008 (VERSION): Set to "2.16.90".
15009
ee9247c3
CD
150102012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
15011
15012 * NEWS: Update copyright. Remove last-updated date.
15013 Mention math library bug fixes and timezone data changes.
15014 * README: Mention GNU/Hurd, x32, and HPPA support status.
15015
4648c381
TS
150162012-06-28 Thomas Schwinge <thomas@codesourcery.com>
15017
15018 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
15019
aac78a43
AJ
150202012-06-27 Andreas Jaeger <aj@suse.de>
15021
15022 * manual/contrib.texi (Contributors): Add Samuel Thibault.
15023
ed3dbfad
AJ
150242012-06-25 Andreas Jaeger <aj@suse.de>
15025
15026 * sysdeps/s390/fpu/libm-test-ulps: Update.
15027
4d0ee855
AS
150282012-06-23 Andreas Schwab <schwab@linux-m68k.org>
15029 Thomas Schwinge <thomas@codesourcery.com>
15030
15031 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
15032 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
15033 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
15034 fanotify_mark.
15035
af1bce34
TS
150362012-06-23 Thomas Schwinge <thomas@codesourcery.com>
15037
a9fa33ba
TS
15038 * sysdeps/mach/start.c: Remove file.
15039 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
15040 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
15041 * sysdeps/sh/init-first.c: Likewise.
15042
58f902b8
TS
15043 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
15044 registers for frame unwinding purposes, add CFI directives.
15045 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
15046 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
15047 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
15048 Likewise.
15049
1518f58b
TS
15050 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
15051 __fortify_fail returning.
15052 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
15053
db9b5059
TS
15054 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
15055 sysdeps/sh/____longjmp_chk.S.
15056 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
15057 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
15058 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
15059 (gen-as-const-headers): Append sigaltstack-offsets.sym.
15060
967705fe
TS
15061 * sysdeps/sh/abort-instr.h: New file.
15062 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
15063 process in case exit returns.
15064
a9def8c4
TS
15065 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
15066 initialize the GOT register before use.
15067
2a649725
TS
15068 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
15069 calculation of ARGC > 4.
15070
af1bce34
TS
15071 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
15072 meaningful names to some local labels.
15073
d230f50a
KK
150742012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15075 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15076
15077 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
15078 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
15079 (__arch_compare_and_exchange_val_16_acq): Likewise.
15080 (__arch_compare_and_exchange_val_32_acq): Likewise.
15081 (atomic_exchange_and_add): Fix gUSA sequence.
15082 (atomic_add): Likewise.
15083 (atomic_add_negative): Likewise.
15084 (atomic_add_zero): Likewise.
15085 (atomic_bit_test_set): Likewise.
15086
0479b305
AS
150872012-06-22 Andreas Schwab <schwab@redhat.com>
15088
15089 [BZ #13579]
15090 * include/link.h (struct link_map): Add l_free_initfini.
15091 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
15092 l_initfini.
15093 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
15094 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
15095 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
15096 set.
15097
0e3933b9
CD
150982012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
15099
15100 * configure.in: Use AC_LANG_SOURCE.
15101 * configure: Regenerate.
15102
4248b1b1
RM
151032012-06-22 Roland McGrath <roland@hack.frob.com>
15104
15105 * configure.in (libc_cv_localstatedir): New substituted variable.
15106 * configure: Regenerated.
15107 * config.make.in (localstatedir): New variable, substituted from
15108 libc_cv_localstatedir.
15109 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
15110 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
15111 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
15112 * sysdeps/gnu/configure: Regenerated.
15113
006dd861
JL
151142012-06-21 Jeff Law <law@redhat.com>
15115
15116 [BZ #14277]
15117 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
15118 free. Simplify list management for _LIBC case.
15119
79662d42
JM
151202012-06-21 Joseph Myers <joseph@codesourcery.com>
15121
b7abb4bf
JM
15122 [BZ #14273]
15123 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
15124 Clear sign bit of 64-bit integer value before comparing against
15125 overflow value.
15126
79662d42
JM
15127 * sysdeps/mach/configure: Regenerated.
15128
1f150908
L
151292012-06-21 H.J. Lu <hongjiu.lu@intel.com>
15130
15131 [BZ #14278]
15132 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
15133
28363bbf
JL
151342012-06-21 Jeff Law <law@redhat.com>
15135
15136 [BZ #13882]
15137 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
15138 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 15139 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
15140 * elf/dl-open.c (dl_open_worker): Likewise.
15141
09615db4
CD
151422012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
15143
15144 * scripts/list-sources.sh: Scan PORTS for translations.
15145 * po/libc.pot: Regenerated.
15146
2174c6dd
AJ
151472012-06-21 Andreas Jaeger <aj@suse.de>
15148
15149 [BZ #12194]
15150 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
15151 warning.
15152 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
15153 * bits/byteswap-16.h (__bswap_16): Likewise.
15154 * bits/byteswap.h (__bswap_constant_16): Likewise.
15155
3ee947b1
L
151562012-06-18 H.J. Lu <hongjiu.lu@intel.com>
15157
15158 [BZ #14117]
a2f34833
L
15159 * sysdeps/i386/fpu_control.h: Removed.
15160 * sysdeps/x86_64/fpu_control.h: Moved to ...
15161 * sysdeps/x86/fpu_control.h: Here.
15162
3ee947b1
L
15163 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
15164 (_FPU_SETCW): Likewise.
15165
ed1825f8
L
151662012-06-15 H.J. Lu <hongjiu.lu@intel.com>
15167
25f1282a
L
15168 [BZ #14117]
15169 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
15170 * sysdeps/x86/fpu/bits/mathinline.h: This.
15171 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
15172
ed1825f8
L
15173 [BZ #14050]
15174 [BZ #14117]
15175 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
15176 functions if __x86_64__ is defined.
15177
36d54b74
CLT
151782012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
15179
15180 * string/endian.h: Add !__ASSEMBLER__ condition for including
15181 conversion interfaces.
15182
10285c21
JM
151832012-06-15 Joseph Myers <joseph@codesourcery.com>
15184
15185 [BZ #14241]
15186 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
15187 of ABS(x) in calculating zero to negative powers other than odd
15188 integers.
15189 * math/libm-test.inc (pow_test): Add more tests.
15190
06c5abbd
AJ
151912012-06-15 Andreas Jaeger <aj@suse.de>
15192
15193 * manual/contrib.texi (Contributors): Update entry of Liubov
15194 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
15195 Machado Filho.
15196
a3aeac40
CH
151972012-06-15 Cyril Hrubis <metan@ucw.cz>
15198
15199 * string/string.h: Add __wur to GNU version of strerror_r.
15200
49bdf4c1
L
152012012-06-14 H.J. Lu <hongjiu.lu@intel.com>
15202
15203 [BZ #14229]
15204 * string/Makefile (tests): Add tst-strtok_r.
15205 * string/tst-strtok_r.c: New file.
15206 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
15207 RAX_LP/RDX_LP on SAVE_PTR.
15208
834f9b8d
RM
152092012-06-14 Roland McGrath <roland@hack.frob.com>
15210
15211 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
15212
75fa1921
JM
152132012-06-14 Joseph Myers <joseph@codesourcery.com>
15214
15215 * libm_test.inc (csqrt_test): Allow more spurious underflow
15216 exceptions.
15217 (j0_test): Likewise.
15218 (j1_test): Likewise.
15219 (y0_test): Likewise.
15220 (y1_test): Likewise.
15221
771766df
CD
152222012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
15223
15224 * po/Makefile (libc.pot): Use UTF-8 charset.
15225
ceb9e56b
PP
152262012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
15227
15228 [BZ #14210]
15229 Suppress sign-conversion warning from FD_SET.
15230 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
15231 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
15232 not unsigned long int.
15233 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
15234
ddb28975
L
152352012-06-12 H.J. Lu <hongjiu.lu@intel.com>
15236
15237 [BZ #14050]
15238 [BZ #14117]
15239 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
15240 __extern_always_inline instead of __extern_inline.
15241 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
15242 (__signbit): Likewise.
15243 (__signbitl): Support C++ namespace.
15244 (lrintf): New inline function.
15245 (lrint): Likewise.
15246 (llrintf): Likewise.
15247 (llrint): Likewise.
15248 (fmaxf): Likewise.
15249 (fmax): Likewise.
15250 (fminf): Likewise.
15251 (fmin): Likewise.
15252 (rint): Likewise.
15253 (rintf): Likewise.
15254 (ceil): Likewise.
15255 (ceilf): Likewise.
15256 (floor): Likewise.
15257 (floorf): Likewise.
15258 (nearbyint): Likewise.
15259 (nearbyintf): Likewise.
15260
d7b4fb26
TS
152612012-06-12 Thomas Schwinge <thomas@codesourcery.com>
15262
15263 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
15264 non-default versions.
15265
eb55f5c2
RM
152662012-06-11 Roland McGrath <roland@hack.frob.com>
15267
15268 [BZ #14218]
15269 * manual/argp.texi (Argp): Reword argp_parse description slightly.
15270
366af02c
TS
152712012-06-09 Thomas Schwinge <thomas@codesourcery.com>
15272
99ff6e5c
TS
15273 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
15274 (FE_UPWARD, FE_DOWNWARD): Don't define.
15275 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
15276 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
15277
366af02c
TS
15278 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
15279 reading it.
15280 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
15281 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15282
793ea851
KK
152832012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15284
15285 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
15286 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
15287 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
15288 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
15289
a728a38f
L
152902012-06-06 H.J. Lu <hongjiu.lu@intel.com>
15291
15292 [BZ #14117]
c08010c7
L
15293 * sysdeps/i386/fpu/bits/fenv.h: Removed.
15294 * sysdeps/i386/fpu/Implies: New file.
15295 * sysdeps/x86_64/fpu/Implies: Likewise.
15296 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
15297 * sysdeps/x86/fpu/bits/fenv.h: This.
15298
a728a38f
L
15299 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
15300 __SSE_MATH__.
15301
6e230d11
SP
153022012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
15303
15304 [BZ #14134]
15305 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
15306 character 0xffff that matches the last element of the
15307 conversion table.
15308
1b671feb
AZ
153092012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15310
15311 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
15312 fmodl commit.
15313
6043738b
AZ
153142012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15315
15316 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
15317 values higher than 25.6283.
15318
34ae0b32
AZ
153192012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15320
15321 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
15322 subnormal exponent extraction and add some __builtin_expect.
15323 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
15324 Fix for subnormal mantissa calculation.
15325
1214ec8f
MF
153262012-06-04 Mike Frysinger <vapier@gentoo.org>
15327
15328 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
15329 cpu2 is -1 and errno is not ENOSYS.
15330
f3d1f93c
L
153312012-06-04 H.J. Lu <hongjiu.lu@intel.com>
15332
15333 [BZ #14117]
0e4a3cd7
L
15334 * sysdeps/i386/i486/bits/string.h: Renamed to ...
15335 * sysdeps/x86/bits/string.h: This.
15336 * sysdeps/x86_64/bits/string.h: Removed.
15337
6704c645
L
15338 * sysdeps/i386/i486/bits/string.h: Define inline functions only
15339 if not compiling for x86-64, but compiling for >= i486.
15340
48495318
L
15341 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
15342 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
15343
14adcbfc
L
15344 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
15345 New macro from Linux kernel 3.4.0.
15346 (FP_XSTATE_MAGIC2): Likewise.
15347 (FP_XSTATE_MAGIC2_SIZE): Likewise.
15348 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
15349 (struct _fpx_sw_bytes): New struct.
15350 (struct _xsave_hdr): Likewise.
15351 (struct _ymmh_state): Likewise.
15352 (struct _xstate): Likewise.
15353
68e408ab
L
15354 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
15355 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
15356 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
15357 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
15358 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
15359 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
15360
f3d1f93c
L
15361 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
15362 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
15363 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
15364 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
15365 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
15366 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
15367
d9dc34cd
TMQMF
153682012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15369
15370 [BZ #13743]
15371 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
15372 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
15373 (sysdep_headers): Include sys/platform/ppc.h.
15374 * sysdeps/powerpc/test-gettimebase.c: Test for
15375 __ppc_get_timebase() to catch future ISA opcode/insn changes.
15376 * manual/Makefile (appendices): Include platform.texi.
15377 * manual/contrib.texi (Contributors): Update @node pointers.
15378 * manual/maint.texi (Maintenance): Likewise.
15379 (Platform): New node.
15380 * manual/platform.texi: New file. Document the new features.
15381
4af3879c
SP
153822012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15383 Jakub Jelinek <jakub@redhat.com>
15384
15385 [BZ #14188]
15386 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
15387 where __builtin_expect is unavailable.
15388
2fd6ff13
DM
153892012-06-03 David S. Miller <davem@davemloft.net>
15390
15391 * stdlib/longlong.h: Updated from GCC.
15392
173f7220
AS
153932012-06-02 Andreas Schwab <schwab@linux-m68k.org>
15394
15395 [BZ #14042]
15396 * sysdeps/powerpc/powerpc32/mcount.c: New file.
15397 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
15398 __mcount_internal.
15399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
15400 (GLIBC_2.16): Likewise.
15401
f34a1c6f
L
154022012-06-01 H.J. Lu <hongjiu.lu@intel.com>
15403
15404 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
15405
88a4576f
JM
154062012-06-01 Joseph Myers <joseph@codesourcery.com>
15407
ea32bcdd
JM
15408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
15409 (default-abi): New variable.
15410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
15411 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
15412 variable.
15413 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
15414 Likewise.
15415 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
15416 Likewise.
15417 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
15418 Likewise.
15419
88a4576f
JM
15420 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
15421 definition. Document in comment.
15422
402fe938
DM
154232012-06-01 David S. Miller <davem@davemloft.net>
15424
15425 * stdlib/longlong.h: Updated from GCC.
15426
3553723f
L
154272012-06-01 H.J. Lu <hongjiu.lu@intel.com>
15428
15429 [BZ #14117]
3bd872c4
L
15430 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
15431 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
15432 sys/debugreg.h sys/io.h here.
15433 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
15434 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
15435 sys/io.h.
15436 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
15437 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
15438 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
15439 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
15440 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
15441 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
15442
3553723f
L
15443 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
15444 Define only if __x86_64__ is defined.
15445
4842e4fe
JM
154462012-06-01 Joseph Myers <joseph@codesourcery.com>
15447
c5bfe3d5
JM
15448 [BZ #14048]
15449 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
15450 Use int64_t for variable i.
15451 * math/libm-test.inc (fmod_test): Add more tests.
15452
4842e4fe
JM
15453 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
15454 z computation is not scheduled after fetestexcept.
15455 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
15456 Use math_force_eval instead of asm to ensure calculation scheduled
15457 before exception test.
15458 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
15459 Ensure a1 + u.d computation is not scheduled after fetestexcept.
15460
efb73488
AJ
154612012-06-01 Aurelien Jarno <aurelien@aurel32.net>
15462
15463 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
15464 computation is not scheduled after fetestexcept.
15465
29bcce7c
L
154662012-06-01 H.J. Lu <hongjiu.lu@intel.com>
15467
15468 [BZ #14117]
15469 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
15470 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
15471
73a68f94
AZ
154722012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15473
15474 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
15475 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
15476
67b6df78
L
154772012-05-31 H.J. Lu <hongjiu.lu@intel.com>
15478
edf2933a 15479 [BZ #14117]
ebc64a18
L
15480 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
15481 <bits/wordsize.h>.
15482 (__WCHAR_MIN): Support __WORDSIZE == 64.
15483 (__WCHAR_MAX): Likewise.
15484
edf2933a
L
15485 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
15486 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
15487
57c6cf40
L
15488 [BZ #14183]
15489 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
15490 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
15491
67b6df78 15492 [BZ #14117]
8eb6281e
L
15493 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
15494 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
15495
aac639f4
L
15496 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
15497 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
15498
67b6df78
L
15499 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
15500 Defined to 1 if __x86_64__ isn't defined.
15501 (_STAT_VER_LINUX_OLD): New.
15502 (st_atime): Remove duplicate.
15503 (st_mtime): Likewise.
15504 (st_ctime): Likewise.
15505
1c2cfe81
DM
155062012-05-31 David S. Miller <davem@davemloft.net>
15507
15508 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
15509 entries.
15510
5be8418c
AS
155112012-06-01 Andreas Schwab <schwab@linux-m68k.org>
15512
e7725326
AS
15513 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
15514 gen-libm-test.pl.
15515
5be8418c
AS
15516 [BZ #14132]
15517 * elf/dl-reloc.c: Include <_itoa.h>.
15518 (_dl_reloc_bad_type): Remove use of INTUSE.
15519 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
15520 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
15521 * stdio-common/psiginfo.c (psiginfo): Likewise.
15522 * stdio-common/psignal.c (psignal): Likewise.
15523 * string/strsignal.c (strsignal): Likewise.
15524 * include/signal.h (_sys_siglist): Declare hidden proto.
15525 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
15526 INTVARDEF with libc_hidden_data_def.
15527 * stdio-common/itoa-udigits.c: Likewise.
15528 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
15529 (_itoa_lower_digits_internal): Remove declaration.
15530 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
15531 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
15532 (_sys_sigabbrev_internal): Remove aliases.
15533 (_sys_siglist): Define hidden alias.
15534
507352f1
MT
155352012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
15536
15537 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15538 bits/sysctl.h.
15539
42bbb1c3
L
155402012-05-31 H.J. Lu <hongjiu.lu@intel.com>
15541
15542 [BZ #14117]
6bd784b6
L
15543 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
15544 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
15545
8bca20f0
L
15546 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
15547 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
15548 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
15549 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
15550 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
15551 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
15552
f9e890a9
L
15553 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
15554 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
15555 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
15556
471101a1
L
15557 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
15558 with __addr.
15559 (insw): Likewise.
15560 (insl): Likewise.
15561 (outsb): Likewise.
15562 (outsw): Likewise.
15563 (outsl): Likewise.
15564
6451c862
L
15565 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
15566 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
15567 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
15568
a254b8c9
L
15569 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
15570 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
15571 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
15572 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
15573 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
15574 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
15575
b8dfdd92
L
15576 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
15577 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
15578
578cd270
L
15579 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
15580 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
15581
de662f5f
L
15582 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
15583 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
15584 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
15585
25653439
L
15586 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
15587 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
15588 to ...
15589 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
15590
6bad24a0
L
15591 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
15592 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
15593 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
15594
42bbb1c3
L
15595 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
15596 for x86-64.
15597 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
15598
2d10d547
JM
155992012-05-31 Joseph Myers <joseph@codesourcery.com>
15600
15601 * math/math.h (M_El): Use two more decimal places.
15602 (M_LOG2El): Likewise.
15603 (M_LOG10El): Likewise.
15604 (M_LN2l): Likewise.
15605 (M_LN10l): Likewise.
15606 (M_PIl): Likewise.
15607 (M_PI_2l): Likewise.
15608 (M_PI_4l): Likewise.
15609 (M_1_PIl): Likewise.
15610 (M_2_PIl): Likewise.
15611 (M_2_SQRTPIl): Likewise.
15612 (M_SQRT2l): Likewise.
15613 (M_SQRT1_2l): Likewise.
15614
f230c29b
DM
156152012-05-31 David S. Miller <davem@davemloft.net>
15616
15617 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
15618 values between float registers.
15619 * sysdeps/sparc/sparc64/memset.S: Likewise.
15620 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
15621
fed806c3
MF
156222012-05-31 Mike Frysinger <vapier@gentoo.org>
15623
15624 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
15625 -D_FORTIFY_SOURCE=1.
15626 (CPPFLAGS-tst-longjmp_chk.c): Define.
15627 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
15628 (CPPFLAGS-tst-longjmp_chk2.c): Define.
15629 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
15630 CFLAGS-tst-wchar-h.c.
15631
30917259
MP
156322012-05-31 Marek Polacek <polacek@redhat.com>
15633
15634 [BZ #14132]
15635 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
15636 __endmntent_internal): Remove declaration.
15637 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
15638 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
15639 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
15640
1c58d5dc
DM
156412012-05-30 David S. Miller <davem@davemloft.net>
15642
15643 * sysdeps/sparc/sparc32/soft-fp/q_util.c
15644 (___Q_simulate_exceptions): Use real FP ops rather than writing
15645 into the %fsr.
15646 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
15647 Likewise.
15648
7dc00e0d
L
156492012-05-30 H.J. Lu <hongjiu.lu@intel.com>
15650
15651 [BZ #14117]
0bd53985
L
15652 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
15653 * sysdeps/x86/bits/xtitypes.h: This.
15654
3a257e66
L
15655 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
15656 * sysdeps/x86/bits/wordsize.h: This.
15657
62f62904
L
15658 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
15659 * sysdeps/x86/bits/huge_vall.h: This.
15660
404fe9d9
L
15661 * sysdeps/i386/bits/select.h: Removed.
15662 * sysdeps/x86_64/bits/select.h: Renamed to ...
15663 * sysdeps/x86/bits/select.h: This.
15664
d48d0446
L
15665 * sysdeps/i386/bits/setjmp.h: Removed.
15666 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
15667 * sysdeps/x86/bits/setjmp.h: This.
15668
7dc00e0d
L
15669 * sysdeps/i386/bits/mathdef.h: Removed.
15670 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
15671 * sysdeps/x86/bits/mathdef.h: This.
15672
03277f8f
AS
156732012-05-30 Andreas Schwab <schwab@linux-m68k.org>
15674
15675 [BZ #14132]
15676 * include/sys/socket.h (__connect_internal)
15677 (__libc_sa_len_internal): Remove declaration.
15678 (__connect, __libc_sa_len): Declare hidden_proto.
15679 (SA_LEN): Remove use of INTUSE.
15680 * socket/connect.c: Add libc_hidden_def.
15681 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
15682 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
15683 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
15684 alias.
15685 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
15686 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
15687 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
15688 of adding _internal alias.
15689
13764867
L
156902012-05-30 H.J. Lu <hongjiu.lu@intel.com>
15691
15692 [BZ #14117]
6bd97696
L
15693 * sysdeps/i386/bits/link.h: Removed.
15694 * sysdeps/i386/bits/linkmap.h: Likewise.
15695 * sysdeps/x86_64/bits/link.h: Renamed to ...
15696 * sysdeps/x86/bits/link.h: This.
15697 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
15698 * sysdeps/x86/bits/linkmap.h: This.
15699
f726f0bb
L
15700 * sysdeps/i386/bits/endian.h: Removed.
15701 * sysdeps/x86_64/bits/endian.h: Renamed to ...
15702 * sysdeps/x86/bits/endian.h: This.
15703
13764867
L
15704 * sysdeps/i386/bits/byteswap.h: Removed.
15705 * sysdeps/i386/bits/byteswap-16.h: Likewise.
15706 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
15707 * sysdeps/x86/bits/byteswap.h: This.
15708 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
15709 * sysdeps/x86/bits/byteswap-16.h: This.
15710 * sysdeps/i386/Implies: Add x86.
15711 * sysdeps/x86_64/Implies: Likewise.
15712
ae251b0b
DM
157132012-05-30 David S. Miller <davem@davemloft.net>
15714
15715 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
15716 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
15717 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
15718 (FP_TRAPPING_EXCEPTIONS): Define.
15719 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
15720 (FP_TRAPPING_EXCEPTIONS): Define.
15721 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
15722 subnormals only when inexact has been signalled or underflow
15723 exceptions are enabled.
15724 (_FP_PACK_CANONICAL): Likewise.
15725
d5c90867
L
157262012-05-30 H.J. Lu <hongjiu.lu@intel.com>
15727
15728 [BZ #14183]
15729 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
15730 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
15731
63f1549e
RH
157322012-05-30 Richard Henderson <rth@twiddle.net>
15733
8d8f2279
RH
15734 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
15735 with #ifndef NOT_IN_libc.
15736
63f1549e
RH
15737 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
15738 marked to avoid plt entry.
15739
0ab0291b
L
157402012-05-30 H.J. Lu <hongjiu.lu@intel.com>
15741
15742 [BZ #14112]
15743 * Makeconfig (default-abi): New macro.
15744 (abi-includes): Likewise.
15745 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
15746 $(abi-$(default-abi)-lib-soname) for soname if defined.
15747 ($(common-objpfx)gnu/lib-names.stmp): Generate from
15748 abi-variants.
15749 * Makefile (installed-stubs): Likewise.
15750 * include/stubs-biarch.h: Removed.
15751 * scripts/lib-names.awk: Only handle one library at a time.
15752 * scripts/soversions.awk: Remove WORDSIZE support.
15753 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
15754 entries.
15755 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
15756 Removed.
15757 (syscall-list-default-condition): Likewise.
15758 (syscall-list-default-condition): Likewise.
15759 (syscall-list-includes): Likewise.
15760 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
15761 syscall-list-* with abi-*. Handle undefined abi-variants.
15762 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
15763 * sysdeps/unix/sysv/linux/i386/Implies: New file.
15764 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
15765 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
15766 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
15767 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
15768 Removed.
15769 (syscall-list-32-options): Likewise.
15770 (syscall-list-32-condition): Likewise.
15771 (syscall-list-64-options): Likewise.
15772 (syscall-list-64-condition): Likewise.
15773 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
15774 macro.
15775 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
15776 Renamed to ...
15777 (abi-*): This.
15778 (abi-64-ld-soname): New macro.
15779 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
15780 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
15781 Renamed to ...
15782 (abi-*): This.
15783 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
15784 * sysdeps/x86_64/x32/shlib-versions: Likewise.
15785
4da0431d
JM
157862012-05-30 Joseph Myers <joseph@codesourcery.com>
15787
3a85279c
JM
15788 * sysdeps/unix/sysv/linux/kernel-features.h
15789 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
15790 * sysdeps/unix/sysv/linux/ftruncate64.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/truncate64.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/ftruncate64.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 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
15809 include <kernel-features.h>.
15810 [!__NR_ftruncate64]: Remove conditional code.
15811 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15812 [__NR_ftruncate64]: Make code unconditional.
15813 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15814
4da0431d
JM
15815 * configure.in (libc_cv_fpie): Weaken to a compile test using
15816 LIBC_TRY_CC_OPTION.
15817 * configure: Regenerated.
15818
11ef492c
AK
158192012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15820
15821 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
15822 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
15823 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
15824 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15825 Refreshed.
15826 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
15827 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
15828 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
15829 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
15830 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
15831 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15832 Refreshed.
15833
d66ef399
DM
158342012-05-27 David S. Miller <davem@davemloft.net>
15835
15836 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
15837 (___Q_zero): New.
15838 (__Q_simulate_exceptions): Return void. Change to simulate
15839 exceptions by writing into the %fsr.
15840 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
15841 (__Qp_handle_exceptions): Likewise.
15842 (numbers): Delete.
15843 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
15844 __Qp_handle_exceptions.
15845 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
15846 __Qp_handle_exceptions.
15847 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
15848 as unused and give dummy FP_RND_NEAREST initializer.
15849 (FP_INHIBIT_RESULTS): Define.
15850 (___Q_simulate_exceptions): Update declaration.
15851 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
15852 formatting.
15853 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
15854 as unused and give dummy FP_RND_NEAREST initializer.
15855 (__Qp_handle_exceptions): Update declaration.
15856 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
15857 formatting.
15858
04fb54b5
TS
158592012-05-27 Thomas Schwinge <thomas@codesourcery.com>
15860
15861 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
15862 the temporary FPU control word.
15863 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
15864 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
15865 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
15866 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
15867 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
15868 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
15869 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
15870 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
15871 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
15872 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
15873 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15874
3f99608f
KK
158752012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15876
15877 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
15878 fields.
15879
65a4de4e
CLT
158802012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
15881
15882 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
15883 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
15884 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
15885 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
15886 Likewise.
15887 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
15888 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
15889 Likewise.
15890
15749d40
UD
158912012-05-27 Ulrich Drepper <drepper@gmail.com>
15892
15893 * po/h.po: Update from translation team.
15894
25dbcb27
AS
158952012-05-26 Andreas Schwab <schwab@linux-m68k.org>
15896
3d3f8e55
AS
15897 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
15898
25dbcb27
AS
15899 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
15900 handling of denormals.
15901 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
15902 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
15903 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
15904 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
15905 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15906 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
15907 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
15908 Likewise.
15909
7ad47a80 159102012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
15911
15912 [BZ #14152]
15913 * math/libm-test.inc (fma_test): Don't always expect underflow
15914 exception.
15915
9c6ea9fa
SP
159162012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15917
15918 [BZ #12416]
15919 * elf/tst-execstack.c: Include stackinfo.h.
15920 (do_test): Adjust test case to ensure that pthread_getattr_np
15921 behaviour remains the same after marking stack executable.
15922
a8239222
JM
159232012-05-25 Joseph Myers <joseph@codesourcery.com>
15924
15925 * sysdeps/unix/sysv/linux/kernel-features.h
15926 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
15927 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
15928 kernel-features.h.
15929 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
15930 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
15931 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
15932 kernel-features.h.
15933 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
15934 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
15935
918b5606
L
159362012-05-25 H.J. Lu <hongjiu.lu@intel.com>
15937
15938 * configure.in: Define the default includes to being none.
15939 * configure: Regenerated.
15940
3a097cc7
RM
159412012-05-25 Roland McGrath <roland@hack.frob.com>
15942
8422c9a5
RM
15943 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
15944 * sysdeps/x86_64/setjmp.S: Likewise.
15945 * sysdeps/i386/bsd-setjmp.S: Likewise.
15946 * sysdeps/i386/bsd-_setjmp.S: Likewise.
15947 * sysdeps/i386/setjmp.S: Likewise.
15948 * sysdeps/i386/__longjmp.S: Likewise.
15949 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
15950 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
15951
3a097cc7
RM
15952 * include/stap-probe.h: New file.
15953 * configure.in: Handle --enable-systemtap.
15954 * configure: Regenerated.
15955 * config.h.in (USE_STAP_PROBE): New #undef.
15956 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
15957 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
15958 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
15959
21708942
JM
159602012-05-25 Joseph Myers <joseph@codesourcery.com>
15961
15962 [BZ #13717]
15963 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
15964 to 2.4.0 where earlier.
15965 * sysdeps/unix/sysv/linux/configure: Regenerated.
15966 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
15967 <kernel-features.h>.
15968 [__ASSUME_32BITUIDS]: Make code unconditional.
15969 [!__ASSUME_32BITUIDS]: Remove conditional code.
15970 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
15971 <kernel-features.h>.
15972 [__ASSUME_32BITUIDS]: Make code unconditional.
15973 [!__ASSUME_32BITUIDS]: Remove conditional code.
15974 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
15975 [__ASSUME_32BITUIDS]: Make code unconditional.
15976 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
15977 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
15978 <kernel-features.h>.
15979 [__ASSUME_32BITUIDS]: Make code unconditional.
15980 [!__ASSUME_32BITUIDS]: Remove conditional code.
15981 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
15982 <kernel-features.h>.
15983 [__ASSUME_32BITUIDS]: Make code unconditional.
15984 [!__ASSUME_32BITUIDS]: Remove conditional code.
15985 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
15986 <kernel-features.h>.
15987 [__ASSUME_32BITUIDS]: Make code unconditional.
15988 [!__ASSUME_32BITUIDS]: Remove conditional code.
15989 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
15990 <kernel-features.h>.
15991 [__ASSUME_32BITUIDS]: Make code unconditional.
15992 [!__ASSUME_32BITUIDS]: Remove conditional code.
15993 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
15994 <kernel-features.h>.
15995 [__ASSUME_32BITUIDS]: Make code unconditional.
15996 [!__ASSUME_32BITUIDS]: Remove conditional code.
15997 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
15998 <kernel-features.h>.
15999 [__ASSUME_32BITUIDS]: Make code unconditional.
16000 [!__ASSUME_32BITUIDS]: Remove conditional code.
16001 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
16002 <kernel-features.h>.
16003 [__ASSUME_32BITUIDS]: Make code unconditional.
16004 [!__ASSUME_32BITUIDS]: Remove conditional code.
16005 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
16006 <kernel-features.h>.
16007 [__ASSUME_32BITUIDS]: Make code unconditional.
16008 [!__ASSUME_32BITUIDS]: Remove conditional code.
16009 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
16010 <kernel-features.h>.
16011 [__ASSUME_32BITUIDS]: Make code unconditional.
16012 [!__ASSUME_32BITUIDS]: Remove conditional code.
16013 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
16014 <kernel-features.h>.
16015 [__ASSUME_32BITUIDS]: Make code unconditional.
16016 [!__ASSUME_32BITUIDS]: Remove conditional code.
16017 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
16018 <kernel-features.h>.
16019 [__NR_setresgid] (__setresgid): Do not declare.
16020 [__ASSUME_32BITUIDS]: Make code unconditional.
16021 [!__ASSUME_32BITUIDS]: Remove conditional code.
16022 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
16023 <kernel-features.h>.
16024 [__NR_setresuid] (__setresuid): Do not declare.
16025 [__ASSUME_32BITUIDS]: Make code unconditional.
16026 [!__ASSUME_32BITUIDS]: Remove conditional code.
16027 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
16028 <kernel-features.h>.
16029 [__ASSUME_32BITUIDS]: Make code unconditional.
16030 [!__ASSUME_32BITUIDS]: Remove conditional code.
16031 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
16032 <kernel-features.h>.
16033 [__ASSUME_32BITUIDS]: Make code unconditional.
16034 [!__ASSUME_32BITUIDS]: Remove conditional code.
16035 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
16036 <kernel-features.h>.
16037 [__ASSUME_32BITUIDS]: Make code unconditional.
16038 [!__ASSUME_32BITUIDS]: Remove conditional code.
16039 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
16040 <kernel-features.h>.
16041 [__ASSUME_32BITUIDS]: Make code unconditional.
16042 [!__ASSUME_32BITUIDS]: Remove conditional code.
16043 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
16044 <kernel-features.h>.
16045 [__ASSUME_32BITUIDS]: Make code unconditional.
16046 [!__ASSUME_32BITUIDS]: Remove conditional code.
16047 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
16048 <kernel-features.h>.
16049 [__ASSUME_32BITUIDS]: Make code unconditional.
16050 [!__ASSUME_32BITUIDS]: Remove conditional code.
16051 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
16052 <kernel-features.h>.
16053 [__ASSUME_32BITUIDS]: Make code unconditional.
16054 [!__ASSUME_32BITUIDS]: Remove conditional code.
16055 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
16056 <kernel-features.h>.
16057 [__ASSUME_32BITUIDS]: Make code unconditional.
16058 [!__ASSUME_32BITUIDS]: Remove conditional code.
16059 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
16060 <kernel-features.h>.
16061 [__ASSUME_32BITUIDS]: Make code unconditional.
16062 [!__ASSUME_32BITUIDS]: Remove conditional code.
16063 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
16064 <kernel-features.h>.
16065 [__ASSUME_32BITUIDS]: Make code unconditional.
16066 [!__ASSUME_32BITUIDS]: Remove conditional code.
16067 * sysdeps/unix/sysv/linux/kernel-features.h
16068 (__ASSUME_SETRESUID_SYSCALL): Remove.
16069 (__ASSUME_SETRESGID_SYSCALL): Likewise.
16070 (__ASSUME_32BITUIDS): Likewise.
16071 (__ASSUME_LDT_WORKS): Likewise.
16072 (__ASSUME_O_DIRECTORY): Likewise.
16073 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
16074 architecture but not kernel version.
16075 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
16076 (__ASSUME_MMAP2_SYSCALL): Likewise.
16077 (__ASSUME_STAT64_SYSCALL): Likewise.
16078 (__ASSUME_IPC64): Likewise.
16079 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
16080 <kernel-features.h>.
16081 [__ASSUME_32BITUIDS]: Make code unconditional.
16082 [!__ASSUME_32BITUIDS]: Remove conditional code.
16083 * sysdeps/unix/sysv/linux/opendir.c: Do not include
16084 <kernel-features.h>.
16085 [__ASSUME_O_DIRECTORY]: Make code unconditional.
16086 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
16087 132096]: Remove conditional code.
16088 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
16089 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
16090 <kernel-features.h>.
16091 [__ASSUME_32BITUIDS]: Make code unconditional.
16092 [!__ASSUME_32BITUIDS]: Remove conditional code.
16093 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
16094 <kernel-features.h>.
16095 [__ASSUME_32BITUIDS]: Make code unconditional.
16096 [!__ASSUME_32BITUIDS]: Remove conditional code.
16097 * sysdeps/unix/sysv/linux/setegid.c: Do not include
16098 <kernel-features.h>.
16099 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
16100 unconditional.
16101 (__setresgid): Do not declare.
16102 [__ASSUME_32BITUIDS]: Make code unconditional.
16103 [!__ASSUME_32BITUIDS]: Remove conditional code.
16104 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
16105 <kernel-features.h>.
16106 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
16107 unconditional.
16108 (__setresuid): Do not declare.
16109 [__ASSUME_32BITUIDS]: Make code unconditional.
16110 [!__ASSUME_32BITUIDS]: Remove conditional code.
16111 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
16112 <kernel-features.h>.
16113 [__ASSUME_32BITUIDS]: Make code unconditional.
16114 [!__ASSUME_32BITUIDS]: Remove conditional code.
16115 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
16116 <kernel-features.h>.
16117 [__ASSUME_32BITUIDS]: Make code unconditional.
16118 [!__ASSUME_32BITUIDS]: Remove conditional code.
16119
a386f1cc
RH
161202012-05-25 Richard Henderson <rth@twiddle.net>
16121
16122 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
16123 dl_hwcap to ifunc resolver.
16124 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
16125 elf_ifunc_invoke.
16126 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
16127 dl_hwcap to ifunc resolver.
16128 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
16129
b6550497
JM
161302012-05-24 Joseph Myers <joseph@codesourcery.com>
16131
16132 [BZ #14153]
16133 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
16134 for |x| <= 2**-26, not 2**-57.
16135 * math/libm-test.inc (acos_test): Do not allow spurious underflow
16136 exception.
16137
b0bc23a1
JL
161382012-05-24 Jeff Law <law@redhat.com>
16139
16140 * stdio-common/Makefile (tests): Add bug25.
16141 * stdio-common/bug25.c: New test.
16142
347c92e9
L
161432012-05-24 H.J. Lu <hongjiu.lu@intel.com>
16144
16145 [BZ #13576]
16146 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
16147 multiple of MALLOC_ALIGNMENT in size.
16148 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
16149
6bcc8b3f
JM
161502012-05-24 Joseph Myers <joseph@codesourcery.com>
16151
16152 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
16153 Require >= 256.
16154 (FILENAME_MAX): Use macro-int-constant.
16155 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
16156 (_IOFBF): Use macro-int-constant.
16157 (_IOLBF): Likewise.
16158 (_IONBF): Likewise.
16159 (SEEK_CUR): Likewise.
16160 (SEEK_END): Likewise.
16161 (SEEK_SET): Likewise.
16162 (TMP_MAX): Likewise.
16163 (EOF): Use macro-int-constant. Require < 0.
16164 (NULL): Use macro-constant. Require == 0.
16165 (stdin): Require type to be FILE *.
16166 (stdout): Likewise.
16167 (stderr): Likewise.
16168 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
16169 macro-int-constant.
16170 (EXIT_SUCCESS): Likewise.
16171 (NULL): Use macro-constant. Require == 0.
16172 (RAND_MAX): Use macro-int-constant.
16173 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
16174 [C99-based standards] (strtof): Require function.
16175 [C99-based standards] (strtold): Likewise.
16176 [C99-based standards] (strtoll): Likewise.
16177 [C99-based standards] (strtoull): Likewise.
16178 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
16179 [ISO || ISO99 || ISO11] (limits.h): Likewise.
16180 [ISO || ISO99 || ISO11] (math.h): Likewise.
16181 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
16182 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
16183 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16184
d18ea0c5
AS
161852012-05-24 Andreas Schwab <schwab@linux-m68k.org>
16186
16187 [BZ #14132]
56d25bb8
AS
16188 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
16189 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
16190 * intl/dgettext.c (DCGETTEXT): Likewise.
16191 * intl/gettext.c (DCGETTEXT): Likewise.
16192 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
16193 * posix/regex_internal.h (gettext): Likewise.
16194 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
16195 Remove declaration.
16196 * include/argz.h (__argz_count_internal)
16197 (__argz_stringify_internal): Remove declaration.
16198 (__argz_count, __argz_stringify): Declare hidden proto.
16199 * intl/dcgettext.c: Remove use of INTDEF.
16200 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
16201 * string/argz-stringify.c: Likewise.
16202 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
16203 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
16204 Declare hidden proto.
d18ea0c5
AS
16205 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
16206 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
16207 Declare hidden proto.
16208 * include/stdio.h (__asprintf_internal): Don't declare.
16209 (__asprintf): Don't define as macro. Declare hidden proto.
16210 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
16211 (__fsetlocking): Declare hidden proto.
16212 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
16213 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
16214 hidden proto.
16215 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
16216 (_IO_setlinebuf): Remove use of INTUSE.
16217 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
16218 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
16219 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
16220 Remove declaration.
16221 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
16222 (_IO_do_flush): Remove use of INTUSE.
16223 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
16224 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
16225 (_IO_adjust_column, _IO_least_wmarker)
16226 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
16227 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
16228 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
16229 (_IO_default_doallocate, _IO_wdefault_doallocate)
16230 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
16231 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
16232 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
16233 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
16234 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
16235 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
16236 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
16237 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
16238 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
16239 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
16240 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
16241 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
16242 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
16243 proto.
16244 (_IO_flush_all_internal, _IO_adjust_column_internal)
16245 (_IO_default_uflow_internal, _IO_default_finish_internal)
16246 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
16247 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
16248 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
16249 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
16250 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
16251 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
16252 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
16253 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
16254 (_IO_file_close_internal, _IO_file_close_it_internal)
16255 (_IO_file_underflow_internal, _IO_file_overflow_internal)
16256 (_IO_file_init_internal, _IO_file_attach_internal)
16257 (_IO_file_fopen_internal, _IO_file_read_internal)
16258 (_IO_file_sync_internal, _IO_file_seek_internal)
16259 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
16260 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
16261 (_IO_str_underflow_internal, _IO_str_overflow_internal)
16262 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
16263 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
16264 (_IO_list_all_internal, _IO_link_in_internal)
16265 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
16266 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
16267 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
16268 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
16269 (_IO_do_write_internal, _IO_padn_internal)
16270 (_IO_getline_info_internal, _IO_getline_internal)
16271 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
16272 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
16273 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
16274 (_IO_vfscanf_internal, _IO_vfprintf_internal)
16275 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
16276 (_IO_init_internal, _IO_un_link_internal): Don't declare.
16277 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
16278 with libc_hidden_ver, remove use of INTUSE.
16279 * libio/genops.c: Likewise.
16280 * libio/freopen.c: Likewise.
16281 * libio/freopen64.c: Likewise.
16282 * libio/iofclose.c: Likewise.
16283 * libio/iofdopen.c: Likewise.
16284 * libio/iofflush.c: Likewise.
16285 * libio/iofflush_u.c: Likewise.
16286 * libio/iofgets.c: Likewise.
16287 * libio/iofgets_u.c: Likewise.
16288 * libio/iofopen.c: Likewise.
16289 * libio/iofopncook.c: Likewise.
16290 * libio/iofread.c: Likewise.
16291 * libio/iofread_u.c: Likewise.
16292 * libio/ioftell.c: Likewise.
16293 * libio/iofwrite.c: Likewise.
16294 * libio/iogetline.c: Likewise.
16295 * libio/iogets.c: Likewise.
16296 * libio/iogetwline.c: Likewise.
16297 * libio/iopadn.c: Likewise.
16298 * libio/iopopen.c: Likewise.
16299 * libio/ioseekoff.c: Likewise.
16300 * libio/ioseekpos.c: Likewise.
16301 * libio/iosetbuffer.c: Likewise.
16302 * libio/iosetvbuf.c: Likewise.
16303 * libio/ioungetc.c: Likewise.
16304 * libio/ioungetwc.c: Likewise.
16305 * libio/iovdprintf.c: Likewise.
16306 * libio/iovsprintf.c: Likewise.
16307 * libio/iovsscanf.c: Likewise.
16308 * libio/memstream.c: Likewise.
16309 * libio/obprintf.c: Likewise.
16310 * libio/oldfileops.c: Likewise.
16311 * libio/oldiofclose.c: Likewise.
16312 * libio/oldiofdopen.c: Likewise.
16313 * libio/oldiofopen.c: Likewise.
16314 * libio/oldiopopen.c: Likewise.
16315 * libio/oldstdfiles.c: Likewise.
16316 * libio/putc.c: Likewise.
16317 * libio/setbuf.c: Likewise.
16318 * libio/setlinebuf.c: Likewise.
16319 * libio/stdfiles.c: Likewise.
16320 * libio/strops.c: Likewise.
16321 * libio/vasprintf.c: Likewise.
16322 * libio/vscanf.c: Likewise.
16323 * libio/vsnprintf.c: Likewise.
16324 * libio/vswprintf.c: Likewise.
16325 * libio/wfiledoalloc.c: Likewise.
16326 * libio/wfileops.c: Likewise.
16327 * libio/wgenops.c: Likewise.
16328 * libio/wmemstream.c: Likewise.
16329 * libio/wstrops.c: Likewise.
16330 * libio/__fpurge.c: Likewise.
16331 * libio/__fsetlocking.c: Likewise.
16332 * assert/assert.c: Likewise.
16333 * debug/fgets_chk.c: Likewise.
16334 * debug/fgets_u_chk.c: Likewise.
16335 * debug/fread_chk.c: Likewise.
16336 * debug/fread_u_chk.c: Likewise.
16337 * debug/gets_chk.c: Likewise.
16338 * debug/obprintf_chk.c: Likewise.
16339 * debug/vasprintf_chk.c: Likewise.
16340 * debug/vdprintf_chk.c: Likewise.
16341 * debug/vsnprintf_chk.c: Likewise.
16342 * debug/vsprintf_chk.c: Likewise.
16343 * malloc/mtrace.c: Likewise.
16344 * misc/error.c: Likewise.
16345 * misc/syslog.c: Likewise.
16346 * stdio-common/asprintf.c: Likewise.
16347 * stdio-common/fxprintf.c: Likewise.
16348 * stdio-common/getw.c: Likewise.
16349 * stdio-common/isoc99_fscanf.c: Likewise.
16350 * stdio-common/isoc99_scanf.c: Likewise.
16351 * stdio-common/isoc99_vfscanf.c: Likewise.
16352 * stdio-common/isoc99_vscanf.c: Likewise.
16353 * stdio-common/isoc99_vsscanf.c: Likewise.
16354 * stdio-common/printf-prs.c: Likewise.
16355 * stdio-common/printf_fp.c: Likewise.
16356 * stdio-common/printf_fphex.c: Likewise.
16357 * stdio-common/printf_size.c: Likewise.
16358 * stdio-common/putw.c: Likewise.
16359 * stdio-common/scanf.c: Likewise.
16360 * stdio-common/sprintf.c: Likewise.
16361 * stdio-common/tmpfile.c: Likewise.
16362 * stdio-common/vfprintf.c: Likewise.
16363 * stdio-common/vfscanf.c: Likewise.
16364 * stdlib/strfmon_l.c: Likewise.
16365 * sunrpc/openchild.c: Likewise.
16366 * sunrpc/xdr_stdio.c: Likewise.
16367 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
16368 * sysdeps/mach/hurd/tmpfile.c: Likewise.
16369
d6c33fda
RM
163702012-05-24 Roland McGrath <roland@hack.frob.com>
16371
c1487492
RM
16372 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
16373
16374 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
16375 in the third column, to generate for the shared library an IFUNC
16376 that uses _dl_vdso_vsym.
16377 * Makerules (COMPILE.c, compile-stdin.c): New variables.
16378 * Makeconfig (object-suffixes-noshared): New variable.
16379
16380 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
16381 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
16382 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
16383 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
16384
d6c33fda
RM
16385 [BZ #14132]
16386 * include/sys/time.h (__gettimeofday): Remove macro.
16387 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
16388 * time/gettimeofday.c (__gettimeofday): Remove #undef.
16389 Remove INTDEF.
16390 (__gettimeofday): Add libc_hidden_def.
16391 (gettimeofday): Add libc_hidden_weak.
16392 * sysdeps/mach/gettimeofday.c: Likewise.
16393 * sysdeps/posix/gettimeofday.c: Likewise.
16394 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
16395 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
16396 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
16397 (__gettimeofday_internal): Remove strong_alias.
16398 (__gettimeofday): Add libc_hidden_def.
16399 (gettimeofday): Add libc_hidden_weak.
16400 * sysdeps/unix/syscalls.list (gettimeofday):
16401 Remove __gettimeofday_internal alias.
16402
b5a2bbe6
L
164032012-05-24 Daniel Jacobowitz <drow@false.org>
16404 H.J. Lu <hongjiu.lu@intel.com>
16405
16406 [BZ #12495]
16407 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
16408 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
16409 (largebin_index_32_big): New.
16410 (largebin_index): Use it for 16-byte alignment.
16411 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
16412 correction with front_misalign.
16413
cfba4fda
L
164142012-05-24 H.J. Lu <hongjiu.lu@intel.com>
16415
7f907421
L
16416 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
16417 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
16418 Likewise.
16419 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
16420 Likewise.
16421 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
16422 Likewise.
16423 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
16424 Likewise.
16425 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
16426 Likewise.
16427 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
16428 Likewise.
16429 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
16430 Likewise.
16431 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
16432 Likewise.
16433 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
16434 Likewise.
16435 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
16436 Likewise.
16437 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
16438 Likewise.
16439 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
16440 Likewise.
16441
cfba4fda
L
16442 * scripts/data/c++-types-x32-linux-gnu.data: New file.
16443 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
16444
80bad0cc
JM
164452012-05-24 Joseph Myers <joseph@codesourcery.com>
16446
7a25eb06
JM
16447 [BZ #10846]
16448 [BZ #14036]
16449 * math/libm-test.inc (exp_test): Add test from bug 14036.
16450 (pow_test): Add test from bug 10846.
16451
795405f9
JM
16452 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
16453 and other flags.
16454 (special_function): Do not include flags in test name.
16455 (parse_args): Likewise.
16456 * sysdeps/i386/fpu/libm-test-ulps: Update.
16457 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16458 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16459 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16460 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16461
80bad0cc
JM
16462 * math/gen-libm-test.pl (%beautify): Add entries for underflow
16463 exceptions.
16464 * math/libm-test.inc ("Philosophy"): Update comment about
16465 exception testing.
16466 (UNDERFLOW_EXCEPTION): New macro.
16467 (UNDERFLOW_EXCEPTION_OK): Likewise.
16468 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
16469 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
16470 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
16471 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
16472 (INVALID_EXCEPTION_OK): Update value.
16473 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
16474 (OVERFLOW_EXCEPTION_OK): Likewise.
16475 (IGNORE_ZERO_INF_SIGN): Likewise.
16476 (test_exceptions): Handle underflow exceptions.
16477 (acos_test): Update for underflow exception expectations.
16478 (cexp_test): Likewise.
16479 (clog_test): Likewise.
16480 (clog10_test): Likewise.
16481 (csqrt_test): Likewise.
16482 (ctan_test): Likewise.
16483 (ctanh_test): Likewise.
16484 (exp_test): Likewise.
16485 (exp10_test): Likewise.
16486 (exp2_test): Likewise.
16487 (expm1_test): Likewise.
16488 (fma_test): Likewise.
16489 (j0_test): Likewise.
16490 (jn_test): Likewise.
16491 (nexttoward_test): Likewise.
16492 (pow_test): Likewise.
16493 (scalbn_test): Likewise.
16494 (scalbln_test): Likewise.
16495 (tan_test): Likewise.
16496 (y1_test): Likewise.
16497 * sysdeps/i386/fpu/libm-test-ulps: Update.
16498 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16499
9e0e3d0b
DM
165002012-05-23 David S. Miller <davem@davemloft.net>
16501
16502 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
16503 (__libc_sigaction): Remove unused local variables.
16504
ccd0a08f
L
165052012-05-23 H.J. Lu <hongjiu.lu@intel.com>
16506
16507 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
16508
62bdf9a6
PE
165092012-05-23 Paul Eggert <eggert@cs.ucla.edu>
16510
f8591f80
PE
16511 mktime: avoid signed integer overflow
16512 * time/mktime.c (__mktime_internal): Do not mishandle the case
16513 where diff == INT_MIN.
16514
94c7d826
PE
16515 mktime: simplify computation of average
16516 * time/mktime.c (ranged_convert): Use new time_t_avg function
16517 instead of rolling our own (probably-slower) code.
16518
ce73d683
PE
16519 mktime: do not assume signed right shift propagates sign bit
16520 * time/mktime.c (isdst_differ): New static function.
16521 (__mktime_internal): No need to normalize tm_isdst now.
16522 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
16523 tm_isdst values.
16524
72a22e59
PE
16525 mktime: merge another wrapv change from gnulib
16526 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
16527 from some compilers.
16528
68605433
PE
16529 mktime: remove incorrect attempt at unusual arithmetics
16530 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
16531 The code didn't really work on such machines anyway.
16532 (TYPE_MINIMUM): Assume two's complement.
16533 (twos_complement_arithmetic): Verify that long_int and time_t
16534 are two's complement (or unsigned, in the latter case).
16535
03cf7fe3
PE
16536 mktime: check signed shifts on long_int and time_t, too
16537 * time/mktime.c (SHR): Check that shifts work as desired
16538 on the types long_int and time_t too, as SHR is used on
16539 such types.
16540
f04dfbc2
PE
16541 mktime: do not assume 'long' is wide enough
16542 * time/mktime.c (verify): Move decl up.
16543 (long_int): New type.
16544 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
16545 to remove assumption in the code that 'long' is wide enough to
16546 store year values. This assumption is not true on x32 and on
16547 some non-glibc platforms.
16548
62bdf9a6
PE
16549 mktime: merge wrapv change from gnulib
16550 * time/mktime.c (WRAPV): New macro.
16551 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
16552 (guess_time_tm, __mktime_internal): Do not assume that signed
16553 integer overflow wraps around; modern compilers generate code
16554 where this assumption is no longer valid.
16555
5e292e4f
L
165562012-05-23 H.J. Lu <hongjiu.lu@intel.com>
16557
16558 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
16559 Replace "jmp L(pseudo_end)" with "ret".
16560 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
16561 Likewise.
16562
8caf8c87
AJ
165632012-05-23 Andreas Jaeger <aj@suse.de>
16564
16565 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
16566 * sysdeps/unix/sysv/linux/poll.c: Remove file.
16567
1a09dc56
AJ
165682012-05-23 Andreas Jaeger <aj@suse.de>
16569 Maximilian Attems <max@stro.at>
16570
16571 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
16572 New macros.
16573
1c87aba0
L
165742012-05-23 H.J. Lu <hongjiu.lu@intel.com>
16575
16576 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
16577 code so that pseudo_end is just ret and the stack pointer is
16578 correct also for static library in error case.
16579
40e45bd5
JM
165802012-05-23 Joseph Myers <joseph@codesourcery.com>
16581
c2670533
JM
16582 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
16583 move to syscalls.list.
16584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
16585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
16586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
16587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
16588
40e45bd5
JM
16589 * manual/install.texi (Running make install): Do not mention Linux
16590 kernel version for which pt_chown is not needed.
16591 (Linux): Do not mention problems with nscd with 2.0 kernels.
16592 * INSTALL: Regenerated.
16593
be08eda5
AJ
165942012-05-23 Andreas Jaeger <aj@suse.de>
16595
16596 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
16597 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
16598 macro.
16599 * sysdeps/unix/sysv/linux/s390/bits/mman.h
16600 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16601 * sysdeps/unix/sysv/linux/sh/bits/mman.h
16602 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16603 * sysdeps/unix/sysv/linux/i386/bits/mman.h
16604 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16605 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
16606 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16607 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
16608 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16609 * sysdeps/unix/sysv/linux/bits/in.h
16610 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
16611
a6a056bb
RM
166122012-05-22 Roland McGrath <roland@hack.frob.com>
16613
16614 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
16615 (PREPARE_VERSION): Just use assert instead, it will be elided
16616 under [NDEBUG] anyway.
16617
c9009328
L
166182012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16619
16620 * sysdeps/unix/sysv/linux/Makefile: Include
16621 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 16622 (sysdep_routines): Remove sysctl.
c9009328
L
16623 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
16624 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
16625 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
16626 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
16627 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
16628
73338355
AJ
166292012-05-22 Andreas Jaeger <aj@suse.de>
16630
16631 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
16632 that pseudo_end is just ret and the stack pointer is correct also
16633 for static library in error case.
16634
d44638b0
PP
166352012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
16636
16637 [BZ #14122]
16638 * nss/nsswitch.c (defconfig_entries): New variable.
16639 (__nss_database_lookup): Don't leak defconfig entries.
16640 (nss_parse_service_list): Don't leak on error paths.
16641 (free_database_entries): New function.
16642 (free_defconfig): New function.
16643 (free_mem): Move common code to free_database_entries.
16644
31a39bd8
L
166452012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16646
da0331a8
L
16647 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
16648 Add arch_prctl.
16649 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
16650
31a39bd8
L
16651 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
16652 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
16653 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
16654 New macro.
16655 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
16656 (INTERNAL_SYSCALL_TYPES): Likewise.
16657 (LOAD_ARGS_TYPES_[1-6]): Likewise.
16658 (LOAD_REGS_TYPES_[1-6]): Likewise.
16659 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
16660 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
16661
45470df3
AZ
166622012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16663
16664 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
16665 copysignl for GLIBC_2_0.
16666 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
16667 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
16668 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
16669 logbl for GLIBC_2_0.
16670 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
16671 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
16672
98a61bcb
L
166732012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16674
a4f6e481
L
16675 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
16676 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
16677
f63d5db6
L
16678 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
16679 Use "neg %eax".
16680
98a61bcb
L
16681 * time/mktime.c: Update copyright years.
16682
95770f14
PE
166832012-05-22 Paul Eggert <eggert@cs.ucla.edu>
16684
6226efbd
PE
16685 mktime: merge comment-quoting-style change from gnulib
16686 * time/mktime.c: Quote 'like this' in comments.
16687 The GNU coding standards suggest that we no longer quote `like this',
16688 as "`" and "'" are typically rendered asymmetrically nowadays.
16689 The typical gnulib style is to quote 'like this' when quoting
16690 code, and "like this" when quoting English.
16691
b99e4f78
PE
16692 * time/mktime.c (compile-command): Add "-I.".
16693
643e01e6
PE
16694 mktime: merge mktime-internal.h change from gnulib
16695 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
16696
2554247d
PE
16697 mktime: merge time_r change from gnulib
16698 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
16699
826dd0ab
PE
16700 mktime: merge DEBUG change from gnulib
16701 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
16702 case system <time.h> has a #define.
16703
bd83aabe
PE
16704 mktime: merge <sys/types.h> change from gnulib
16705 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
16706 since <time.t> is now guaranteed to define time_t.
16707
95770f14
PE
16708 mktime: merge HAVE_CONFIG_H change from gnulib
16709 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
16710
5e1a27a9
L
167112012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16712
0e44a77e
L
16713 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
16714 Use "neg %eax".
16715
5e1a27a9
L
16716 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
16717 __rlim_t cast.
16718 (struct rusage): Use anonymous union to pad each field to
16719 __syscall_slong_t.
16720
46259bec
DM
167212012-05-21 David S. Miller <davem@davemloft.net>
16722
16723 * Makefules (o-iterator): Remove .s cases.
16724 (compile-command.s): Delete.
16725 (COMPILE.s): Delete.
16726 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
16727
59f0c22e
JM
167282012-05-21 Joseph Myers <joseph@codesourcery.com>
16729
16730 * configure.in (libc_cv_predef_stack_protector): Only consider
16731 "foobar" and "__stack_chk_fail" lines in libc_undefs.
16732 * configure: Regenerated.
16733
20c07380
L
167342012-05-21 H.J. Lu <hongjiu.lu@intel.com>
16735
bbb3154b
L
16736 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
16737 New macro. Use R*LP on int and pointer.
16738 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
16739 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
16740 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
16741 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
16742
20c07380
L
16743 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
16744 [__WORDSIZE_TIME64_COMPAT32] instead of
16745 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
16746 (struct utmp): Likewise.
16747 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
16748 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
16749 Renamed to ...
16750 (__WORDSIZE_TIME64_COMPAT32): This.
16751 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
16752 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
16753 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
16754 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
16755 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
16756 (__WORDSIZE_TIME64_COMPAT32): New macro.
16757
d8d1017e
AJ
167582012-05-21 Andreas Jaeger <aj@suse.de>
16759
16760 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
16761 only if [SHARED]. Add prototype for __wcschr_ia32.
16762
6c7fb145
RM
167632012-05-21 Roland McGrath <roland@hack.frob.com>
16764
16765 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
16766 of %rbp unmolested in the jmp_buf while mangling the low bits.
16767 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
16768 unmolested high bits of %rbp while demangling the low bits.
16769 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
16770
66274218
AJ
167712012-05-21 Andreas Jaeger <aj@suse.de>
16772
07c58f8f
AJ
16773 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
16774 * sunrpc/svc_simple.c: Use it for registerrpc.
16775 * sunrpc/xcrypt.c: Use it for passwd2des.
16776
66274218
AJ
16777 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
16778
61f65140
L
167792012-05-21 H.J. Lu <hongjiu.lu@intel.com>
16780
16781 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
16782 Don't define if [__SYSCALL_WORDSIZE != 32].
16783 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
16784 New macro.
16785
5fefb436
AJ
167862012-05-21 Bruno Haible <bruno@clisp.org>
16787 Andreas Jaeger <aj@suse.de>
16788
16789 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
16790 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
16791 inptr and inend for must_buffer_ch.
16792 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
16793 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
16794 * stdio-common/Makefile (tests): Remove bug15.
16795 (bug15-ENV): Remove macro.
16796 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
16797 anymore.
16798
d8e272ab
AJ
167992012-05-19 Andreas Jaeger <aj@suse.de>
16800 Roland McGrath <roland@hack.frob.com>
16801
16802 * manual/contrib.texi: Completely rewritten. It contains now an
16803 alphabetical list of contributors and their contributions.
16804
4a56a162
RH
168052012-05-21 Richard Henderson <rth@twiddle.net>
16806
16807 * misc/getauxval.c (__getauxval): Use unsigned long int.
16808 * misc/sys/auxv.h: Include <sys/cdefs.h>.
16809 (getauxval): Use unsigned long int.
16810
d024d23c
L
168112012-05-21 H.J. Lu <hongjiu.lu@intel.com>
16812
16813 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
16814
cbc00a03
RM
168152012-05-21 Roland McGrath <roland@hack.frob.com>
16816
16817 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
16818 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
16819 __alignof__ (long double).
16820
478143fa
AZ
168212012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16822
16823 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16824
c7683a6d
RH
168252012-05-20 Richard Henderson <rth@twiddle.net>
16826
16827 * misc/getauxval.c: New file.
16828 * misc/sys/auxv.h: New file.
16829 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
16830 (routines): Add getauxval.
16831 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
16832 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
16833 * elf/dl-sysdep.c (_dl_auxv): Remove.
16834 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
16835 * elf/dl-support.c (_dl_auxv): New variable.
16836 (_dl_aux_init): Initialize it.
16837 * manual/startup.texi (Auxiliary Vector): New node.
16838 * sysdeps/generic/bits/hwcap.h: New file.
16839 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
16840 * sysdeps/powerpc/sysdep.h: ... here. Include it.
16841 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
16842 * sysdeps/sparc/sysdep.h: ... here. Include it.
16843 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
16844 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
16845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16846 Update.
c7683a6d
RH
16847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
16848 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
16849 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
16850 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
16851 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
16852 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
16853 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
16854 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
16855
a6f1845d
AZ
168562012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16857
16858 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16859
cbcbe830
DM
168602012-05-19 David S. Miller <davem@davemloft.net>
16861
16862 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16863
e0b16cc2
JM
168642012-05-19 Joseph Myers <joseph@codesourcery.com>
16865
16866 [BZ #14123]
16867 * math/s_ccosh.c: Include <float.h>
16868 (__ccosh): Avoid internal overflow calculating sinh and cosh
16869 values before multiplying by sin and cos values.
16870 * math/s_ccoshf.c: Likewise.
16871 * math/s_ccoshl.c: Likewise.
16872 * math/s_csin.c: Likewise.
16873 * math/s_csinf.c: Likewise.
16874 * math/s_csinl.c: Likewise.
16875 * math/s_csinh.c: Likewise.
16876 * math/s_csinhf.c: Likewise.
16877 * math/s_csinhl.c: Likewise.
16878 * math/libm-test.inc (ccos_test): Add more tests.
16879 (ccosh_test): Likewise.
16880 (csin_test): Likewise.
16881 (csinh_test): Likewise.
16882 * sysdeps/i386/fpu/libm-test-ulps: Update.
16883 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16884
6ad13e08
L
168852012-05-19 H.J. Lu <hongjiu.lu@intel.com>
16886
f66f0ce8
L
16887 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
16888 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
16889
6ad13e08
L
16890 * sysdeps/x86_64/x32/_itoa.h: Add comment.
16891
b1d072a7
JM
168922012-05-19 Joseph Myers <joseph@codesourcery.com>
16893
16894 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
16895 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
16896 * sysdeps/powerpc/soft-fp/Versions: Likewise.
16897 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
16898 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
16899 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
16900 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
16901 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
16902 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
16903 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
16904 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
16905 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
16906 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
16907 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
16908 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
16909 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
16910 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
16911 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
16912 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
16913 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
16914 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
16915 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
16916 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
16917 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
16918 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
16919 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
16920 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
16921 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
16922 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
16923 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
16924 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
16925
9eae47cb
AJ
169262012-05-18 Andreas Jaeger <aj@suse.de>
16927
16928 * csu/.gitignore: Delete.
16929
bb07f69f
L
169302012-05-18 H.J. Lu <hongjiu.lu@intel.com>
16931
16932 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
16933 (timex): Use __syscall_slong_t.
16934
e6bdb741
AJ
169352012-05-18 Andreas Jaeger <aj@suse.de>
16936 Carlos O'Donell <carlos_odonell@mentor.com>
16937
16938 * manual/install.texi (Configuring and compiling): Update
16939 description about files modified in the source directory.
d6c33fda 16940 * INSTALL: Regenerated.
e6bdb741 16941
1b74487e
L
169422012-05-18 H.J. Lu <hongjiu.lu@intel.com>
16943
16944 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
16945 value. Use "or" to set return value to -1.
16946 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
16947 negate return value.
16948
a88b64b9
TMQMF
169492012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16950
16951 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
16952 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
16953 failure if the compiler has Graphite support disabled.
16954 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
16955 Likewise.
16956 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
16957 CFLAGS-memmove.c): Likewise.
16958 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
16959 Likewise.
16960
3707636e
L
169612012-05-18 H.J. Lu <hongjiu.lu@intel.com>
16962
610b8622
L
16963 * sysdeps/x86_64/x32/_itoa.h: New file.
16964
7cd195df
L
16965 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
16966 getdents system call only if kernel and user dirents have the
16967 same d_ino and d_off.
16968
94b07d20
L
16969 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
16970 LLONG_MAX != LONG_MAX.
16971 (_itoa_word): Use _ITOA_WORD_TYPE on value.
16972 (_fitoa_word): Likewise.
16973
18298070
L
16974 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
16975 years.
16976 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
16977 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
16978 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
16979
553c7ea4
L
16980 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
16981 include <bits/wordsize.h>. Check __x86_64__ instead of
16982 __WORDSIZE.
16983 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
16984 if __x86_64__ is defined. Use anonymous union on fpstate.
16985
3707636e
L
16986 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
16987 anonymous union.
16988
b53ef01a
AS
169892012-05-18 Andreas Schwab <schwab@linux-m68k.org>
16990
37fb1dc0
AS
16991 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
16992 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
16993 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
16994 Refer to _rtld_local_ro instead of _rtld_global_ro.
16995 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
16996 Likewise.
16997 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
16998 Likewise.
16999 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
17000 Likewise.
17001 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
17002 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
17003 of _rtld_global, and rtld_progname instead of _dl_argv[0].
17004
b53ef01a
AS
17005 * sysdeps/powerpc/powerpc32/dl-machine.c
17006 (__elf_machine_runtime_setup) [PROF]: Don't reference
17007 _dl_prof_resolve.
17008
7a185db2
AJ
170092012-05-18 Andreas Jaeger <aj@suse.de>
17010
17011 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
17012 function only available for GCCs before 3.4 since GCC 3.4
17013 introduced a builtin.
17014 (lrint): Likewise.
17015 (llrintf): Likewise.
17016 (llrint): Likewise.
17017 (fmaxf): Likewise.
17018 (fmax): Likewise.
17019 (fminf): Likewise.
17020 (fmin): Likewise.
17021 (rint): Likewise.
17022 (rintf): Likewise.
17023 (nearbyint): Likewise.
17024 (nearbyintf): Likewise.
17025 (ceil): Likewise.
17026 (ceilf): Likewise.
17027 (floor): Likewise.
17028 (floorf): Likewise.
17029
3e5aef87
L
170302012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17031
428bd707
L
17032 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
17033 on both fields and cast pointer to __syscall_ulong_t.
17034
3e5aef87
L
17035 * bits/types.h (__fsword_t): New type.
17036 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
17037 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
17038 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17039 (__FSWORD_T_TYPE): Likewise.
17040 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17041 (__FSWORD_T_TYPE): Likewise.
17042 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17043 (__FSWORD_T_TYPE): Likewise.
17044 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
17045 (__FSWORD_T_TYPE): Likewise.
17046 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
17047 __SWORD_TYPE with __fsword_t.
17048 (statfs64): Likewise.
17049
1ba7c3dc
DM
170502012-05-17 David S. Miller <davem@davemloft.net>
17051
17052 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
17053
59910343
AJ
170542012-05-17 Andreas Jaeger <aj@suse.de>
17055
17056 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
17057 warning.
17058
2e4c1e9e
L
170592012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17060
17061 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
17062
de7f5ce7
AJ
170632012-05-17 Andreas Jaeger <aj@suse.de>
17064
17065 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
17066 when it is used.
17067
286abc3d
CM
170682012-05-17 Chris Metcalf <cmetcalf@tilera.com>
17069
17070 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
17071
477cc68e
L
170722012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17073
17074 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
17075 * sysdeps/x86_64/tst-mallocalign1.c: New file.
17076
1a0994f5
CD
170772012-05-17 Andreas Jaeger <aj@suse.de>
17078 Carlos O'Donell <carlos_odonell@mentor.com>
17079
17080 [BZ #14059]
17081 * sysdeps/x86_64/multiarch/init-arch.h
17082 (bit_YMM_Usable): Rename to...
17083 (bit_AVX_Usable): ... this.
17084 (bit_FMA4_Usable): New macro.
17085 (bit_XMM_state): New macro.
17086 (bit_YMM_state): New macro.
17087 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
17088 [__ASSEMBLER__] (index_AVX_Usable): ... this.
17089 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
17090 (CPUID_OSXSAVE): New macro.
17091 (CPUID_AVX): New macro.
17092 (CPUID_FMA4): New macro.
17093 (index_YMM_Usable): Rename to...
17094 (index_AVX_Usable): ... this.
17095 (HAS_AVX): Use HAS_ARCH_FEATURE.
17096 (HAS_FMA4): Likewise.
17097 (HAS_YMM_USABLE): Remove.
17098 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17099 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
17100 are present.
17101 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
17102 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
17103 * sysdeps/x86_64/multiarch/Makefile: Likewise.
17104 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
17105 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
17106
0af797de
CM
171072012-05-17 Chris Metcalf <cmetcalf@tilera.com>
17108
17109 * math/libm-test.c: Support platforms without multiple rounding modes.
17110 * math/bug-nextafter.c: Support platforms without FP exceptions.
17111 * math/bug-nexttoward.c: Likewise.
17112 * math/test-fenv.c: Likewise.
17113 * math/test-misc.c: Likewise.
17114 * stdlib/bug-getcontext.c: Likewise.
17115
e39745ff
AJ
171162012-05-17 Andreas Jaeger <aj@suse.de>
17117
17118 * manual/examples/search.c (critter_cmp): Change signature to
17119 avoid warnings.
17120 * manual/string.texi (Collation Functions): Likewise.
17121
48970aba
L
171222012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17123
17124 * bits/types.h: Fold copyright years.
17125 * bits/typesizes.h: Likewise.
17126 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
17127 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
17128 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
17129 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
17130 * time/time.h: Likewise.
17131
bedee953
PP
171322012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
17133
17134 [BZ #208]
17135 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
17136 in instead of returning them. Return void.
17137 (__libc_mallinfo): Accumulate over all arenas.
17138 (__malloc_stats): Adjust for change in int_mallinfo interface.
17139
61653dfb
RM
171402012-05-16 Roland McGrath <roland@hack.frob.com>
17141
30b99d79
RM
17142 [BZ #10375]
17143 * configure.in (NM): Add AC_CHECK_TOOL for it.
17144 (libc_extra_cflags): New substituted variable.
17145 Check for -fstack-protector being used implicitly.
17146 * configure: Regenerated.
17147 * config.make.in (config-extra-cflags): New variable,
17148 gets @libc_extra_cflags@.
17149 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
17150
61653dfb
RM
17151 [BZ #10375]
17152 * configure.in: Check for _FORTIFY_SOURCE being predefined.
17153 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
17154 * configure: Regenerated.
17155 * config.make.in (CPPUNDEFS): New substituted variable.
17156 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
17157 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
17158 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
17159
661768bb
L
171602012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17161
17162 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
17163 (mq_attr): Use __syscall_slong_t.
17164
d4261567
L
171652012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17166
17167 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
17168 Check __x86_64__ instead of __WORDSIZE.
17169 (_STAT_VER_LINUX): Likewise.
17170 (stat): Check __x86_64__ instead of __WORDSIZE. Use
17171 __syscall_ulong_t and __syscall_slong_t.
17172 (stat64): Likewise.
17173
cf3ff365
L
171742012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17175
17176 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
17177
76cf3e4d
L
171782012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17179
17180 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
17181
a637753a
L
171822012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17183
17184 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
17185 __syscall_ulong_t.
17186
d5e05119
L
17187 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
17188 include <bits/wordsize.h>. Check __x86_64__ instead of
17189 __WORDSIZE.
17190 (greg_t): Use "__extension__ long long int" if __x86_64__ is
17191 defined.
17192 (mcontext_t): Replace "unsigned long" with "unsigned long long".
17193
f62ee380
L
17194 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
17195 include <bits/wordsize.h>. Check __x86_64__ instead of
17196 __WORDSIZE.
17197 (user_regs_struct): Use "__extension__ unsigned long long"
17198 instead of "unsigned long" if __x86_64__ is defined.
17199 (user): Likewise. Pad after pointer field if __ILP32__ is
17200 defined.
17201
4e124ced
JM
172022012-05-16 Joseph Myers <joseph@codesourcery.com>
17203
6a3951a0
JM
17204 * configure.in (makeinfo): Require version 4.5 or later. Allow
17205 versions 5 to 9.
17206 * configure: Regenerated.
17207 * manual/install.texi (texinfo): Increase version requirement to
17208 4.5 or later.
17209 * INSTALL: Regenerated.
17210
4e124ced
JM
17211 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
17212
953ca31a
L
172132012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17214
17215 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
17216
617aca05
L
17217 * sysdeps/x86_64/x32/ffs.c: New file.
17218
5762f7ae
L
17219 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
17220 __syscall_ulong_t.
17221 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
17222 defined. Use __syscall_ulong_t.
17223 (shminfo): Use __syscall_ulong_t.
17224 (shm_info): Likewise.
17225
a26b6856
L
17226 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
17227 __syscall_ulong_t.
17228
cb2b9ef7
L
17229 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
17230 <bits/wordsize.h>.
17231 (msgqnum_t): Use __syscall_ulong_t.
17232 (msglen_t): Likewise.
17233 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
17234 __syscall_ulong_t.
17235
34683bb0
L
17236 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
17237 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17238
84a68786
L
17239 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
17240
48baa5f1
L
17241 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
17242 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
17243
180be88b
L
17244 * sysvipc/sys/msg.h (msgbuf): Replace long int with
17245 __syscall_slong_t.
17246
5e90c8ad
L
17247 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
17248 include <bits/wordsize.h>. Check __x86_64__ instead of
17249 __WORDSIZE.
17250
23dfb58b
L
17251 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
17252 "unsigned long long int" if __x86_64__ is defined.
17253 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
17254
ce5d54b0
L
17255 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
17256 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17257 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
17258
13dc9eac
L
17259 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
17260 <stdint.h>.
17261 (GET_PC): Cast to uintptr_t first.
17262 (GET_FRAME): Likewise.
17263 (GET_STACK): Likewise.
17264
a7895d15
L
17265 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
17266 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
17267 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
17268 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
17269 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
17270 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
17271 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
17272 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
17273 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
17274 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
17275 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
17276 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
17277 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
17278 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
17279 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
17280 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
17281 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
17282 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
17283 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
17284 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
17285 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
17286 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
17287 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
17288 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
17289 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
17290 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
17291 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
17292 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
17293 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
17294
656416c9
AS
172952012-05-16 Andreas Schwab <schwab@linux-m68k.org>
17296
5bd66283
AS
17297 * Makerules (+depfiles): Also collect depfiles from .oS in
17298 $(extra-objs).
17299 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
17300 .oS, $(libnldbl-routines)).
17301
656416c9
AS
17302 * Makerules (native-compile-mkdep-flags): Define.
17303 * sunrpc/Makefile (extra-objs): Add $(addprefix
17304 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
17305 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
17306 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
17307 calling $(make-target-directory).
17308
a46f2169
L
173092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17310
17311 * bits/types.h (__snseconds_t): Removed.
17312 * time/time.h (struct timespec): Replace __snseconds_t with
17313 __syscall_slong_t.
17314 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
17315 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
17316 Likewise.
17317 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17318 (__SNSECONDS_T_TYPE): Likewise.
17319 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17320 (__SNSECONDS_T_TYPE): Likewise.
17321 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17322 (__SNSECONDS_T_TYPE): Likewise.
17323
6af6528b
L
173242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17325
17326 * sysdeps/mach/hurd/bits/typesizes.h
17327 (__SYSCALL_SLONG_TYPE): New macro.
17328 (__SYSCALL_ULONG_TYPE): Likewise.
17329
de986b56
L
173302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17331
17332 * bits/types.h (__syscall_slong_t): New type.
17333 (__syscall_ulong_t): Likewise.
17334
17335 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
17336 (__SYSCALL_ULONG_TYPE): Likewise.
17337 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17338 (__SYSCALL_SLONG_TYPE): Likewise.
17339 (__SYSCALL_ULONG_TYPE): Likewise.
17340 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17341 (__SYSCALL_SLONG_TYPE): Likewise.
17342 (__SYSCALL_ULONG_TYPE): Likewise.
17343 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17344 (__SYSCALL_SLONG_TYPE): Likewise.
17345 (__SYSCALL_ULONG_TYPE): Likewise.
17346
85736dc7
L
173472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17348
17349 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
17350 Add sigaltstack-offsets.sym.
17351 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
17352 <sigaltstack-offsets.h>.
17353 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
17354 longjmp_msg pointer.
17355 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
17356 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
17357 signal stack.
17358 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
17359
cc03b296
JM
173602012-05-15 Joseph Myers <joseph@codesourcery.com>
17361
a9538892
JM
17362 * elf/stackguard-macros.h: Remove file.
17363 * sysdeps/generic/stackguard-macros.h: New file.
17364 * sysdeps/i386/stackguard-macros.h: Likewise.
17365 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
17366 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
17367 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
17368 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
17369 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
17370 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
17371 * sysdeps/x86_64/stackguard-macros.h: Likewise.
17372 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
17373 <elf/stackguard-macros.h>.
17374
cc03b296
JM
17375 [BZ #14109]
17376 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
17377 __aligned__ in attribute.
17378 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
17379 (gregset_t): Likewise.
17380
93171016
L
173812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17382
17383 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
17384 * sysdeps/x86_64/64/Implies-after: Here. New file.
17385 * sysdeps/x86_64/x32/Implies-after: New file.
17386
d86813a0
L
173872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17388
17389 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
17390 and access return value for _dl_profile_fixup. Use R10_LP to
17391 load frame size.
17392
2953ec75
L
173932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17394
17395 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
17396
3b550e9e
L
173972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17398
17399 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
17400 * sysdeps/x86_64/x32/sysdep.h: New file.
17401
eda41706
L
174022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17403
17404 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
17405 * sysdeps/x86_64/setjmp.S: Likewise.
17406
9ea01d93
AZ
174072012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17408
17409 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
17410 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
17411 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
17412 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
17413 remove unused global constant.
17414
02a91938
CM
174152012-05-15 Chris Metcalf <cmetcalf@tilera.com>
17416
17417 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
17418 include of <not-cancel.h>.
17419
6540185f
RM
174202012-05-15 Roland McGrath <roland@hack.frob.com>
17421
17422 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
17423
509072a0
AJ
174242012-05-15 Jeff Law <law@redhat.com>
17425 Andreas Jaeger <aj@suse.de>
17426
17427 [BZ #13594]
17428 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
17429 out from...
17430 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
17431 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
17432 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
17433 code changing __hst_map_handle.map.
17434
ba75122d
RM
174352012-05-15 Roland McGrath <roland@hack.frob.com>
17436
17437 * configure.in (sysnames): Look for Implies-before and Implies-after
17438 files.
17439 * configure: Regenerated.
17440
890d8bd8
L
174412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17442
17443 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
17444 8-byte data alignment with LP_SIZE alignment.
17445
f6ee6623
L
174462012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17447
17448 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
17449 into R10_LP.
17450
ea2626f6
L
174512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17452
17453 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
17454
085f715e
L
174552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17456
17457 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
17458 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
17459 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
17460 Likewise.
17461 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
17462
be8498fc
L
174632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17464
17465 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
17466 (stackinfo_sub_sp): Likewise.
17467
70bc83b9
L
174682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17469
17470 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
17471 RAX_LP.
17472
9bc0b730
L
174732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17474
17475 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
17476 into R*_LP.
17477
6d2850e7
L
174782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17479
17480 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
17481 sizes into R*_LP.
17482
3cb84561
L
174832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17484
17485 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
17486
54e2ed81
L
174872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17488
17489 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
17490 into R11_LP and load __x86_64_shared_cache_size_half into
17491 R8_LP.
17492
8a17f349
L
174932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17494
17495 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
17496 R8_LP.
17497
777b1eea
AZ
174982012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17499
17500 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
17501 logb for POWER7.
17502 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
17503 logbf for POWER7.
17504 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
17505 logbl for POWER7.
17506 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
17507 powerpc32/power7/fpu/s_logb.c via #include.
17508 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
17509 powerpc32/power7/fpu/s_logbf.c via #include.
17510 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
17511 powerpc32/power7/fpu/s_logbl.c via #include.
17512
d20d4ac2
JM
175132012-05-15 Joseph Myers <joseph@codesourcery.com>
17514
17515 * README.libm: Remove file.
17516
6cdef1ab
L
175172012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17518
17519 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
17520 count for x32. Use R*_LP and omit operand-size suffix.
17521
0b254d8f
L
175222012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17523
17524 * shlib-versions: Move x86_64-.*-linux.* entries to ...
17525 * sysdeps/x86_64/64/shlib-versions: Here. New file.
17526 * sysdeps/x86_64/x32/shlib-versions: New file.
17527
ceb809dc
RM
175282012-05-14 Roland McGrath <roland@hack.frob.com>
17529
17530 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
17531 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
17532 Use _dl_fatal_printf instead.
17533
37f1abd4
JM
175342012-05-14 Joseph Myers <joseph@codesourcery.com>
17535
17536 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
17537 set if not set by the user. Do not allow for being unset.
17538 * sysdeps/unix/sysv/linux/configure: Regenerated.
17539
11de3a33
L
175402012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17541
17542 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
17543 the `q' suffix from lea and replace .quad with ASM_ADDR.
17544
e02f153a
L
175452012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17546
17547 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
17548 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
17549 instead of $17.
17550 (PTR_DEMANGLE): Likewise.
17551
520ae0fd
L
175522012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17553
17554 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
17555 (LP_OP): Likewise.
17556 (ASM_ADDR): Likewise.
17557 (RAX_LP): Likewise.
17558 (RBP_LP): Likewise.
17559 (RBX_LP): Likewise.
17560 (RCX_LP): Likewise.
17561 (RDI_LP): Likewise.
17562 (RSI_LP): Likewise.
17563 (RSP_LP): Likewise.
17564 (R8_LP): Likewise.
17565 (R9_LP): Likewise.
17566 (R10_LP): Likewise.
17567 (R10_LP): Likewise.
17568 (R11_LP): Likewise.
17569 (R12_LP): Likewise.
17570 (R13_LP): Likewise.
17571 (R14_LP): Likewise.
17572 (R15_LP): Likewise.
17573
b985be81
L
175742012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17575
17576 * sysdeps/x86_64/x32/dl-machine.h: New file.
17577
6a4888ff
AJ
175782012-05-14 Andreas Jaeger <aj@suse.de>
17579
17580 * manual/Makefile (subdir): Remove export of subdir.
17581 (all): Remove target.
17582 (.PHONY): Remove all from list.
17583 (mkinstalldirs): Remove.
17584 (.PHONY): Remove installdirs from list.
17585 ($(inst_infodir)/libc.info): Use make-target-directory.
17586 (installdirs): Remove.
17587 (subdir_%): Remove.
17588 (glibc-targets): Remove.
17589 (lib): Remove.
17590 (stubs): Remove.
17591 ($(objpfx)stubs ../po/manual.pot): Remove.
17592 ($(objpfx)stamp%): Remove.
17593 (make-target-directory): Remove.
17594 (subdir_install): Remove.
17595 (routines): Remove.
17596 (aux): Remove.
17597 (sources): Remove.
17598 (objects): Remove.
17599 (headers): Remove.
17600
17601 [BZ #13750]
17602 * manual/.gitignore: Remove, it's not needed anymore.
17603 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
17604 all files in it.
17605 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
17606 directory.
17607 (texis): Renamed to $(objpfx)texis.
17608 (texis-path): New, contains path to generated files.
17609 (chapters.%): Use texis-path for complete path, add extra argument
17610 libc-texinfo.sh.
17611 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
17612 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
17613 (summary,texi, stamp-summary): Use complete path of
17614 files. Generate files in build dir.
17615 (dir-add.texi): Build in build dir.
17616 (libm-err.texi,stamp-libm-err): Likewise.
17617 (version.texi, stamp-version): Likewise.
17618 (.%c.texi): Likewise.
17619 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
17620 (mostlyclean): Remove target.
17621 (realclean): Remove target.
17622 (generated): Add new variable with contents from mostlyclean and
17623 realclean, remove entries duplicated in common-mostlyclean, add
17624 stamp-libm-err and stamp-version.
17625 (generated-dirs): Add libc directory.
17626 ($(inst_infodir)/libc.info): Install files from build dir.
17627
17628 * manual/install.texi (Configuring and compiling): Adjust since
17629 the info files are not part of the tar ball anymore.
17630
7ac77294
AJ
176312012-05-14 Andreas Jaeger <aj@suse.de>
17632
17633 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
17634 variable.
17635
ffb7875d
JM
176362012-05-14 Joseph Myers <joseph@codesourcery.com>
17637
17638 [BZ #13717]
17639 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
17640 to 2.2.0 where earlier.
17641 * sysdeps/unix/sysv/linux/configure: Regenerated.
17642 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
17643 Remove conditional code.
17644 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
17645 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
17646 Remove conditional code.
17647 [!__NR_lchown]: Likewise.
17648 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
17649 [__NR_lchown]: Likewise.
17650 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
17651 comment referencing __ASSUME_LCHOWN_SYSCALL.
17652 * sysdeps/unix/sysv/linux/i386/sigaction.c
17653 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17654 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17655 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
17656 Remove conditional code.
17657 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
17658 (__protocol_available): Remove #if 0 code.
17659 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
17660 conditional code.
17661 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
17662 * sysdeps/unix/sysv/linux/kernel-features.h
17663 (__ASSUME_GETCWD_SYSCALL): Don't define.
17664 (__ASSUME_REALTIME_SIGNALS): Likewise.
17665 (__ASSUME_PREAD_SYSCALL): Likewise.
17666 (__ASSUME_PWRITE_SYSCALL): Likewise.
17667 (__ASSUME_POLL_SYSCALL): Likewise.
17668 (__ASSUME_LCHOWN_SYSCALL): Likewise.
17669 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
17670 non-SPARC.
17671 (__ASSUME_SIOCGIFNAME): Don't define.
17672 (__ASSUME_MSG_NOSIGNAL): Likewise.
17673 (__ASSUME_SENDFILE): Define unconditionally.
17674 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
17675 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
17676 conditional code.
17677 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
17678 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
17679 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
17680 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
17681 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
17682 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
17683 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
17684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
17685 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17686 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
17688 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17689 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
17691 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17692 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
17694 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17695 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
17697 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17698 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
17700 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17701 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
17703 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17704 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
17706 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17707 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17708 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
17709 Remove conditional code.
17710 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17711 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
17712 Remove conditional code.
17713 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17714 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
17715 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
17716 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
17717 Remove conditional code.
17718 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17719 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
17720 Remove conditional code.
17721 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17722 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
17723 Remove conditional code.
17724 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17725 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
17726 Remove conditional code.
17727 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17728 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
17729 Remove conditional code.
17730 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17731 * sysdeps/unix/sysv/linux/sh/pwrite64.c
17732 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17733 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17734 * sysdeps/unix/sysv/linux/sigaction.c
17735 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17736 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17737 * sysdeps/unix/sysv/linux/sigpending.c
17738 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17739 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17740 * sysdeps/unix/sysv/linux/sigprocmask.c
17741 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17742 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17743 * sysdeps/unix/sysv/linux/sigsuspend.c
17744 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17745 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17746 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
17747 (__libc_missing_rt_sigs): Remove.
17748 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
17749 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
17750 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
17751 Remove conditional code.
17752 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
17753 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
17754 return 1.
17755 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
17756 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
17757 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
17758 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
17759
1bfb7291
AJ
177602012-05-14 Andreas Jaeger <aj@suse.de>
17761
caae5a81
AJ
17762 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
17763 it's not used in glibc.
17764 (__coshm1): Likewise.
17765 (__acosh1p): Likewise.
17766 (__sgn): Likewise.
17767
1bfb7291
AJ
17768 * manual/string.texi (Copying and Concatenation): Add missing
17769 variable in concat example.
17770 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
17771
c044d724
L
177722012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17773
144c5467 17774 [BZ #14103]
c044d724
L
17775 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
17776 __builtin_clzl with __builtin_clzll.
17777
2523c62b
L
177782012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17779
17780 [BZ #14104]
17781 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
17782 libc_freeres_ptr.
17783
d7bb4c42
LD
177842012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17785
17786 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
17787 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
17788 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
17789 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
17790
9dc4e1fb
MF
177912012-05-14 Mike Frysinger <vapier@gentoo.org>
17792
17793 * NEWS: Update ia64 info.
17794
c7df0112
AS
177952012-05-12 Andreas Schwab <schwab@linux-m68k.org>
17796
17797 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
17798 used as bcopy.
17799
dc70356c
TS
178002012-05-12 Thomas Schwinge <thomas@codesourcery.com>
17801
17802 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
17803 * sysdeps/unix/syscalls.list (dup3): Likewise.
17804 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
17805 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
17806
9fb1a21f
L
178072012-05-11 H.J. Lu <hongjiu.lu@intel.com>
17808
17809 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
17810 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
17811
4822a2a5
L
178122012-05-11 H.J. Lu <hongjiu.lu@intel.com>
17813
17814 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
17815 thread pointer.
17816 (TLS_IE): Use mov/add instead of movq/addq to load thread
17817 pointer.
17818 (TLS_GD_PREFIX): New.
17819 (TLS_GD): Use it.
17820
842b81d6
DM
178212012-05-11 David S. Miller <davem@davemloft.net>
17822
17823 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
17824 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
17825 (_FPU_SETCW): Likewise.
17826
1cf463cd
L
178272012-05-10 H.J. Lu <hongjiu.lu@intel.com>
17828
17829 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
17830 is 32-byte aligned.
17831
60cc4a18
AS
178322012-05-11 Andreas Schwab <schwab@linux-m68k.org>
17833
17834 [BZ #11837]
17835 * iconvdata/gb18030.c: Update tables.
17836 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
17837 characters specially.
17838 (BODY for TO_LOOP): Add encoding of missing ranges.
17839
febb44a4
TS
178402012-05-11 Thomas Schwinge <thomas@codesourcery.com>
17841
17842 [BZ #13673]
17843 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
17844 * sysdeps/mach/hurd/dup3.c: Likewise.
17845 * sysdeps/mach/hurd/readlinkat.c: Likewise.
17846 * sysdeps/powerpc/memmove.c:: Likewise.
17847
0a10fb9e
L
178482012-05-10 H.J. Lu <hongjiu.lu@intel.com>
17849
17850 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
17851 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
17852
df8a552f
L
178532012-05-10 H.J. Lu <hongjiu.lu@intel.com>
17854
17855 * elf/elf.h (R_X86_64_RELATIVE64): New.
17856 (R_X86_64_NUM): Updated.
17857 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
17858 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
17859 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
17860 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
17861 tst-quad1pie tst-quad2pie
17862 (modules-names): Add tst-quadmod1 tst-quadmod2.
17863 ($(objpfx)tst-quad1): New dependency.
17864 ($(objpfx)tst-quad2): Likewise.
17865 ($(objpfx)tst-quad1pie): Likewise.
17866 ($(objpfx)tst-quad2pie): Likewise.
17867 * sysdeps/x86_64/tst-quad1.c: New file.
17868 * sysdeps/x86_64/tst-quad1pie.c: New file.
17869 * sysdeps/x86_64/tst-quad2.c: Likewise.
17870 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
17871 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
17872 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
17873 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
17874 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
17875
f34d6f84
ST
178762012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17877
f42d41d1
ST
17878 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
17879 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
17880 * streams/stropts.h (t_scalar_t): Define type.
17881
3c3571fc
ST
17882 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
17883 (_PATH_PRESERVE): Set to "/var/lib".
17884 (_PATH_RWHODIR): Set to "/var/spool/rwho".
17885
61f06bd3
ST
17886 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
17887 instead of int.
17888
918d4d71
ST
17889 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
17890 if __dir_mkfile succeeded.
17891
f34d6f84
ST
17892 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
17893 checking for _hurd_dtablesize. Unlock it right after having
17894 finished _hurd_dtable allocation.
17895
10589b4a
TS
178962012-05-10 Thomas Schwinge <thomas@schwinge.name>
17897
674cdbc7
TS
17898 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
17899 * sysdeps/mach/hurd/configure: Regenerated.
17900 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
17901 special-casing to...
17902 * sysdeps/gnu/configure.in: ... this new file.
17903 * sysdeps/unix/sysv/linux/configure: Regenerated.
17904 * sysdeps/gnu/configure: New generated file.
17905
8e41b99f
TS
17906 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
17907 for Linux: use nsec instead of usec, as well as:
17908 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
17909 members of type struct timespec.
17910 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
17911 New macros.
17912 (struct stat64): Likewise.
17913 (_STATBUF_ST_NSEC): New macro.
17914 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
17915
10589b4a
TS
17916 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
17917 __strtoul_internal rather than strtoul.
17918
63643c85
PT
179192012-05-10 Pino Toscano <toscano.pino@tiscali.it>
17920
17921 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
17922 and reject them.
17923
3faebe6a
ST
179242012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17925
17926 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
17927 which preserves existing values.
17928 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
17929
c6474b07
PT
179302012-05-10 Pino Toscano <toscano.pino@tiscali.it>
17931
17932 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
17933 TIMEOUT values. Return EINVAL for NFDS values either negative or
17934 greater than FD_SETSIZE.
17935
1043890b
ST
179362012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17937
17938 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
17939 allocated, call __vm_protect to finish enabling the existing space, and
17940 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
17941 allocate the remainder.
17942
37ed8b9b
PT
179432012-05-10 Pino Toscano <toscano.pino@tiscali.it>
17944
17945 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
17946 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
17947
db653660
ST
179482012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17949
37ed8b9b
PT
17950 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
17951 sysdeps/mach/hurd/readlink.c.
b29d4053 17952
db653660
ST
17953 * posix/tst-sysconf.c (posix_options): Only use
17954 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
17955 _POSIX_SYNCHRONIZED_IO when they are defined
17956 * sysdeps/mach/hurd/bits/posix_opt.h:
17957 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
17958 (_XOPEN_REALTIME): Undefine macro.
17959 (_XOPEN_REALTIME_THREADS): Undefine macro.
17960 (_XOPEN_SHM): Undefine macro.
17961 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
17962 macro to -1.
17963 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
17964 macro to -1.
17965 (_POSIX_ASYNC_IO): Undefine macro.
17966 (_POSIX_PRIORITIZED_IO): Undefine macro.
17967 (_POSIX_SPIN_LOCKS): Define macro to -1.
17968
ee16e894
ST
17969 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
17970 SA_NODEFER, SA_RESETHAND.
17971 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
17972 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
17973 F_DUPFD_CLOEXEC.
17974
6103ae3b
TS
179752012-05-10 Thomas Schwinge <thomas@schwinge.name>
17976
17977 * elf/Makefile (pldd-modules): Define unconditionally.
17978
80b4e5f3
TS
179792012-05-10 Thomas Schwinge <thomas@schwinge.name>
17980
17981 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
17982
edadcbd6
ST
179832012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17984
17985 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
17986 Return ENOENT when name is empty.
17987 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
17988
80694780
TS
179892012-05-10 Thomas Schwinge <thomas@schwinge.name>
17990
1792c087
TS
17991 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
17992
80694780
TS
17993 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
17994
6b645f0d
ST
179952012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17996
80694780
TS
17997 Fix mlock in all cases except non-readable pages.
17998 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
17999 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 18000
6b645f0d
ST
18001 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
18002 (__mkdir): When path is `/', just fail with EEXIST.
18003 * sysdeps/mach/hurd/mkdirat.c: Likewise.
18004
e468f8a3
TS
180052012-05-10 Thomas Schwinge <thomas@schwinge.name>
18006
18007 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
18008 <sys/uio.h> (for writev).
18009 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
18010 and <sys/param.h> (for MIN).
18011
a4186cff
PT
180122012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18013
18014 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
18015 REQUESTED_TIME. Properly set the remaining time and return EINTR
18016 if interrupted.
18017
510bbf14
TS
180182012-05-10 Thomas Schwinge <thomas@schwinge.name>
18019
18020 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
18021 Depend on against $(link-rpcuserlibs).
18022
5d5722e8
ST
180232012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18024
a4186cff
PT
18025 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
18026 (__libc_stack_end): Do not use attribute_relro.
18027 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
18028 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 18029 to libthread-provided value.
a4186cff
PT
18030 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
18031 attribute_relro.
5d5722e8 18032
37233df9
TS
180332012-05-10 Thomas Schwinge <thomas@schwinge.name>
18034
be971a2b
TS
18035 [BZ #3748]
18036 * bits/libc-lock.h (__libc_once_get): New macro.
18037 * sysdeps/mach/bits/libc-lock.h: Likewise.
18038 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
18039 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
18040 instead of using implementation details.
18041
37233df9
TS
18042 * libio/fileops.c: Unconditionally include <kernel-features.h>.
18043 * libio/freopen.c: Likewise.
18044 * libio/freopen64.c: Likewise.
18045 * misc/syslog.c: Likewise.
18046 * nscd/connections.c: Likewise.
18047 * nscd/netgroupcache.c: Likewise.
18048 * sysdeps/posix/getcwd.c: Likewise.
18049
38de94a5
RM
180502012-05-10 Roland McGrath <roland@hack.frob.com>
18051
18052 * math/w_ilogbf.c: Add #include <limits.h>.
18053
67530489
ST
180542012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18055
a4186cff 18056 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
18057 path instead of returning without unlocking.
18058
67530489
ST
18059 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
18060 immediate-write ioctls.
18061 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
18062
5aa3a74a
TS
180632012-05-10 Thomas Schwinge <thomas@schwinge.name>
18064
18bad2ae
TS
18065 * sysdeps/mach/hurd/i386/init-first.c (init): Use
18066 __builtin_frame_address instead of making assumptions about the
18067 location of the return address relative to DATA. Force early load of
18068 the return address.
18069 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
18070 __builtin_frame_address.
18071
5aa3a74a
TS
18072 dup3 for GNU Hurd.
18073 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
18074 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
18075 implement dup3 and do some further code clean-ups.
18076 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
18077 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
18078
ecd0de9a
ST
180792012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18080
cd9fa985
ST
18081 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
18082
a4186cff
PT
18083 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
18084 HURD_CRITICAL_END around holding _hurd_dtable_lock.
18085 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
18086 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
18087 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
18088 d->port.lock.
802ca5a5 18089
a4186cff
PT
18090 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
18091 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
18092 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 18093
bcf55240
TS
180942012-05-10 Thomas Schwinge <thomas@schwinge.name>
18095
6960eb42
TS
18096 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
18097 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
18098 definitions.
18099
eb43375f
TS
18100 accept4 for GNU Hurd.
18101 * include/sys/socket.h (__libc_accept4): New prototype.
18102 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
18103 to implement __libc_accept4.
18104 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
18105 __libc_accept4.
18106 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
18107
bcf55240
TS
18108 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
18109 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
18110 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
18111 signal-defines.sym.
18112
6178c55b
ST
181132012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18114
a4186cff 18115 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 18116
6f080c2f
TS
181172012-05-10 Thomas Schwinge <thomas@schwinge.name>
18118
18119 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
18120 assertion on O_CLOEXEC flag.
18121 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
18122 * hurd/intern-fd.c: Likewise.
18123 * hurd/port2fd.c: Likewise.
18124
bcfe3a54
ST
181252012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18126
18127 [BZ #3906]
18128 * bits/in.h (IPV6_PKTINFO): Define new macro.
18129 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
18130
89c9aa49
AZ
181312012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18132
18133 [BZ #13954]
18134 [BZ #13955]
18135 [BZ #13956]
18136 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
18137 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
18138 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
18139 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
18140 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18141 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
18142 * math/libm-test.inc (logb_test) : Additional logb tests.
18143
021db4be
AJ
181442012-05-09 Andreas Schwab <schwab@linux-m68k.org>
18145 Andreas Jaeger <aj@suse.de>
18146
18147 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
18148 * configure: Regenerated.
18149 * config.h.in (LINK_OBSOLETE_RPC): New macro.
18150 * config.make.in (link-obsolete-rpc): New substituted variable.
18151 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
18152 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
18153 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
18154 (shared-only-routines): Don't set it under [link-obsolete-rpc],
18155 so that libc.a contains the symbols.
18156 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
18157 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
18158 * sunrpc/auth_none.c: Likewise.
18159 * sunrpc/auth_unix.c: Likewise.
18160 * sunrpc/authdes_prot.c: Likewise.
18161 * sunrpc/authuxprot.c: Likewise.
18162 * sunrpc/clnt_gen.c: Likewise.
18163 * sunrpc/clnt_perr.c: Likewise.
18164 * sunrpc/clnt_raw.c: Likewise.
18165 * sunrpc/clnt_simp.c: Likewise.
18166 * sunrpc/clnt_tcp.c: Likewise.
18167 * sunrpc/clnt_udp.c: Likewise.
18168 * sunrpc/clnt_unix.c: Likewise.
18169 * sunrpc/des_crypt.c: Likewise.
18170 * sunrpc/des_soft.c: Likewise.
18171 * sunrpc/get_myaddr.c: Likewise.
18172 * sunrpc/key_call.c: Likewise.
18173 * sunrpc/key_prot.c: Likewise.
18174 * sunrpc/netname.c: Likewise.
18175 * sunrpc/pm_getmaps.c: Likewise.
18176 * sunrpc/pm_getport.c: Likewise.
18177 * sunrpc/pmap_clnt.c: Likewise.
18178 * sunrpc/pmap_prot.c: Likewise.
18179 * sunrpc/pmap_prot2.c: Likewise.
18180 * sunrpc/pmap_rmt.c: Likewise.
18181 * sunrpc/publickey.c: Likewise.
18182 * sunrpc/rpc_cmsg.c: Likewise.
18183 * sunrpc/rpc_common.c: Likewise.
18184 * sunrpc/rpc_dtable.c: Likewise.
18185 * sunrpc/rpc_prot.c: Likewise.
18186 * sunrpc/rpc_thread.c: Likewise.
18187 * sunrpc/rtime.c: Likewise.
18188 * sunrpc/svc.c: Likewise.
18189 * sunrpc/svc_auth.c: Likewise.
18190 * sunrpc/svc_raw.c: Likewise.
18191 * sunrpc/svc_run.c: Likewise.
18192 * sunrpc/svc_tcp.c: Likewise.
18193 * sunrpc/svc_udp.c: Likewise.
18194 * sunrpc/svc_unix.c: Likewise.
18195 * sunrpc/svcauth_des.c: Likewise.
18196 * sunrpc/xcrypt.c: Likewise.
18197 * sunrpc/xdr.c: Likewise.
18198 * sunrpc/xdr_array.c: Likewise.
18199 * sunrpc/xdr_float.c: Likewise.
18200 * sunrpc/xdr_intXX_t.c: Likewise.
18201 * sunrpc/xdr_mem.c: Likewise.
18202 * sunrpc/xdr_rec.c: Likewise.
18203 * sunrpc/xdr_ref.c: Likewise.
18204 * sunrpc/xdr_sizeof.c: Likewise.
18205 * sunrpc/xdr_stdio.c: Likewise.
18206
b5c086a2
RM
182072012-05-10 Roland McGrath <roland@hack.frob.com>
18208
18209 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
18210 change. Update copyright years.
18211
6d74dd09
JM
182122012-05-10 Joseph Myers <joseph@codesourcery.com>
18213
18214 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
18215
28e72501
MK
182162012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
18217 Joseph Myers <joseph@codesourcery.com>
18218 Paul Pluzhnikov <ppluzhnikov@google.com>
18219
18220 [BZ #14012]
18221 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
18222 requiring rpcgen.
18223 [cross-compiling] (extra-libs): Likewise.
18224 [cross-compiling] (extra-libs-others): Likewise.
18225 [cross-compiling] (librpcsvc-routines): Likewise.
18226 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
18227 [cross-compiling] (omit-deps): Likewise.
18228 (sunrpc-CPPFLAGS): New variable.
18229 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
18230 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
18231 (cross-rpcgen-objs): New variable.
18232 (extra-objs): Append $(cross-rpcgen-objs).
18233 ($(cross-rpcgen-objs)): New rule.
18234 ($(objpfx)cross-rpcgen): Likewise.
18235 (rpcgen-cmd): Define to use $(built-program-file). Expand
18236 comment.
18237 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
18238 ($(objpfx)x%.stmp): Likewise.
18239 * sunrpc/proto.h [IS_IN_build] (_): Define.
18240 [IS_IN_build] (_libc_intl_domainname): Likewise.
18241
c8c59454
L
182422012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18243
18244 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
18245 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
18246 and R_X86_64_TPOFF64.
18247
6f27cd16
JM
182482012-05-10 Joseph Myers <joseph@codesourcery.com>
18249
18250 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
18251 sysdeps/unix/sysv/syscalls.list.
18252 (stime): Likewise.
18253 (utime): Likewise.
18254 * sysdeps/unix/sysv/syscalls.list: Remove file.
18255
02467e1c
PE
182562012-05-10 Paul Eggert <eggert@cs.ucla.edu>
18257
18258 [BZ #3440]
18259 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
18260 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
18261 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
18262 (__LC_IDENTIFICATION): Make these macros useful in #if
18263 expressions, as required by C99.
18264
da392631
AS
182652012-05-10 Andreas Schwab <schwab@linux-m68k.org>
18266
18267 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
18268 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
18269 after this.
18270
8115f29b
L
182712012-05-09 H.J. Lu <hongjiu.lu@intel.com>
18272
18273 * stdlib/longlong.h: Updated from GCC.
18274
bdd74070
AJ
182752012-05-09 Andreas Jaeger <aj@suse.de>
18276
edfe0dbe
AJ
18277 * nscd/nscd.c (run_modes): Make named enum, reorder so that
18278 default is first entry.
18279 (run_mode): Set type.
18280 (main): Remove informal message about syslog.
18281 (options): Fix typo.
18282
bcfe3a54
ST
18283 [BZ #14053]
18284 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 18285 to asm.
bcfe3a54
ST
18286 (lrint): Likewise.
18287 (llrintf): Likewise.
18288 (llrint): Likewise.
18289 (rint): Likewise.
18290 (rintf): Likewise.
18291 (nearbyint): Likewise.
18292 (nearbyintf): Likewise.
bdd74070 18293
91d8d69e
AJ
182942012-05-09 Andreas Jaeger <aj@suse.de>
18295 Pedro Alves <palves@redhat.com>
18296
18297 * nscd/nscd.c (run_mode): Use enum.
18298 (main): Cleanup coding style issue.
18299
bb90b80b
AJ
183002012-05-09 Alexandre Oliva <aoliva@redhat.com>
18301 Andreas Jaeger <aj@suse.de>
18302
bcfe3a54
ST
18303 * nscd/nscd.c (go_background): Replaced with...
18304 (run_mode): ... this.
bb90b80b 18305 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
18306 (options): Add -F --foreground.
18307 (main): Implement it.
18308 (parse_opt): Parse it.
bb90b80b 18309
1a4b75a1
AJ
183102012-05-09 Andreas Jaeger <aj@suse.de>
18311
18312 [BZ #14083]
18313 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
18314 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
18315 -Wconversion warning.
18316 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
18317 Likewise.
18318
b1cc2472
JM
183192012-05-09 Joseph Myers <joseph@codesourcery.com>
18320
18321 * conform/data/locale.h-data (NULL): Use macro-constant. Require
18322 == 0.
18323 (LC_ALL): Use macro-int-constant.
18324 (LC_COLLATE): Likewise.
18325 (LC_CTYPE): Likewise.
18326 (LC_MESSAGES): Likewise.
18327 (LC_MONETARY): Likewise.
18328 (LC_NUMERIC): Likewise.
18329 (LC_TIME): Likewise.
18330 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
18331 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
18332 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18333 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
18334 Specify type.
18335 [C99-based standards] (float_t): Expect type.
18336 [C99-based standards] (double_t): Expect type.
18337 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
18338 type.
18339 [C99-based standards] (HUGE_VALL): Likewise.
18340 [C99-based standards] (INFINITY): Likewise.
18341 [C99-based standards] (NAN): Likewise.
18342 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
18343 [C99-based standards] (FP_NAN): Likewise.
18344 [C99-based standards] (FP_NORMAL): Likewise.
18345 [C99-based standards] (FP_SUBNORMAL): Likewise.
18346 [C99-based standards] (FP_ZERO): Likewise.
18347 [C99-based standards] (FP_FAST_FMA): Use
18348 optional-macro-int-constant. Specify type. Require == 1.
18349 [C99-based standards] (FP_FAST_FMAF): Likewise.
18350 [C99-based standards] (FP_FAST_FMAL): Likewise.
18351 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
18352 [C99-based standards] (FP_ILOGBNAN): Likewise.
18353 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
18354 Specify type.
18355 [C99-based standards] (MATH_ERREXCEPT): Likewise.
18356 [C99-based standards] (math_errhandling): Specify type.
18357 [ISO99 || ISO11] (signgam): Do not allow.
18358 [non-C99-based standards] (copysignf): Do not allow.
18359 [non-C99-based standards] (exp2f): Likewise.
18360 [non-C99-based standards] (log2f): Likewise.
18361 [non-C99-based standards] (modff): Allow.
18362 [non-C99-based standards] (erff): Do not allow.
18363 [non-C99-based standards] (erfcf): Likewise.
18364 [non-C99-based standards] (gammaf): Likewise.
18365 [non-C99-based standards] (hypotf): Likewise.
18366 [non-C99-based standards] (j0f): Likewise.
18367 [non-C99-based standards] (j1f): Likewise.
18368 [non-C99-based standards] (jnf): Likewise.
18369 [non-C99-based standards] (lgammaf): Likewise.
18370 [non-C99-based standards] (tgammaf): Likewise.
18371 [non-C99-based standards] (y0f): Likewise.
18372 [non-C99-based standards] (y1f): Likewise.
18373 [non-C99-based standards] (ynf): Likewise.
18374 [non-C99-based standards] (isnanf): Likewise.
18375 [non-C99-based standards] (acoshf): Likewise.
18376 [non-C99-based standards] (asinhf): Likewise.
18377 [non-C99-based standards] (atanhf): Likewise.
18378 [non-C99-based standards] (cbrtf): Likewise.
18379 [non-C99-based standards] (expm1f): Likewise.
18380 [non-C99-based standards] (ilogbf): Likewise.
18381 [non-C99-based standards] (log1pf): Likewise.
18382 [non-C99-based standards] (logbf): Likewise.
18383 [non-C99-based standards] (nextafterf): Likewise.
18384 [non-C99-based standards] (remainderf): Likewise.
18385 [non-C99-based standards] (rintf): Likewise.
18386 [non-C99-based standards] (scalbf): Likewise.
18387 [non-C99-based standards] (copysignl): Likewise.
18388 [non-C99-based standards] (exp2l): Likewise.
18389 [non-C99-based standards] (log2l): Likewise.
18390 [non-C99-based standards] (modfl): Allow.
18391 [non-C99-based standards] (erfl): Do not allow.
18392 [non-C99-based standards] (erfcl): Likewise.
18393 [non-C99-based standards] (gammal): Likewise.
18394 [non-C99-based standards] (hypotl): Likewise.
18395 [non-C99-based standards] (j0l): Likewise.
18396 [non-C99-based standards] (j1l): Likewise.
18397 [non-C99-based standards] (jnl): Likewise.
18398 [non-C99-based standards] (lgammal): Likewise.
18399 [non-C99-based standards] (tgammal): Likewise.
18400 [non-C99-based standards] (y0l): Likewise.
18401 [non-C99-based standards] (y1l): Likewise.
18402 [non-C99-based standards] (ynl): Likewise.
18403 [non-C99-based standards] (isnanl): Likewise.
18404 [non-C99-based standards] (acoshl): Likewise.
18405 [non-C99-based standards] (asinhl): Likewise.
18406 [non-C99-based standards] (atanhl): Likewise.
18407 [non-C99-based standards] (cbrtl): Likewise.
18408 [non-C99-based standards] (expm1l): Likewise.
18409 [non-C99-based standards] (ilogbl): Likewise.
18410 [non-C99-based standards] (log1pl): Likewise.
18411 [non-C99-based standards] (logbl): Likewise.
18412 [non-C99-based standards] (nextafterl): Likewise.
18413 [non-C99-based standards] (remainderl): Likewise.
18414 [non-C99-based standards] (rintl): Likewise.
18415 [non-C99-based standards] (scalbl): Likewise.
18416 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18417 [non-C99-based standards] (FP_*): Do not allow.
18418 [C99-based standards] (FP_*): Change to
18419 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
18420 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18421 allow.
18422 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
18423 (SIG_ERR): Likewise.
18424 [X/Open-based standards] (SIG_HOLD): Likewise.
18425 (SIG_IGN): Likewise.
18426 (SIGABRT): Use macro-int-constant. Specify type. Require
18427 positive value.
18428 (SIGFPE): Likewise.
18429 (SIGILL): Likewise.
18430 (SIGINT): Likewise.
18431 (SIGSEGV): Likewise.
18432 (SIGTER): Likewise.
18433 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
18434 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
18435 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
18436 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
18437 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
18438 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
18439 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
18440 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
18441 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
18442 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
18443 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
18444 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
18445 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
18446 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
18447 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
18448 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
18449 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
18450 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
18451 [X/Open-based standards] (SIGTRAP): Likewise.
18452 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
18453 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
18454 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
18455 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
18456 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18457 allow.
18458
b9f1922d
IW
184592012-05-08 Ian Wienand <ianw@vmware.com>
18460
18461 [BZ #14080]
18462 * time/tzset.c (__tzset_parse_tz): Update default rules for
18463 daylight time changes in the Energy Policy Act of 2005.
18464
1db86e88
AJ
184652012-05-09 Andreas Jaeger <aj@suse.de>
18466
18467 [BZ #13983]
18468 * elf/ldconfig.c (parse_conf): Change string to make clear that
18469 ldconfig only issued a warning if ld.so.conf does not exist.
18470
dee4a4e3
DM
184712012-05-08 David S. Miller <davem@davemloft.net>
18472
ee0db190
DM
18473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
18474 movxtod instead of popping the value on the stack.
18475
dee4a4e3
DM
18476 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18477
6a43ec98
CD
184782012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
18479
18480 * config.h.in: Add HAVE_ARM_PCS_VFP.
18481
05c2c961
RMG
184822012-05-08 Roland Mc Grath <roland@hack.frob.com>
18483
bcfe3a54
ST
18484 [BZ #13979]
18485 * include/features.h: Warn if user requests __FORTIFY_SOURCE
18486 checking but the checks are disabled for any reason.
05c2c961 18487
4b30f61a
L
184882012-05-08 H.J. Lu <hongjiu.lu@intel.com>
18489
18490 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
18491 and ELF64_R_TYPE with ELFW(R_TYPE).
18492
eee2bc67
JM
184932012-05-08 Joseph Myers <joseph@codesourcery.com>
18494
7ea5391a
JM
18495 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
18496 (ulimit): Likewise.
18497
eee2bc67
JM
18498 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
18499 (settimeofday): Likewise.
18500
abb66a67
MF
185012012-05-08 Mike Frysinger <vapier@gentoo.org>
18502
18503 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
18504 a struct th_u2 inside the union, and move tu_block/tu_code into
18505 a new th_u3 union of tu_block/tu_code inside of that. Move
18506 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
18507 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
18508 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
18509 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
18510 (th_stuff): Change to th_u1.tu_stuff.
18511 (th_data): Define.
18512 (th_msg): Change to th_u1.th_u2.tu_data.
18513
7f18b530
DM
185142012-05-07 David S. Miller <davem@davemloft.net>
18515
05760585
DM
18516 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18517
7f18b530
DM
18518 [BZ #14074]
18519 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
18520 (SETUP_PIC_REG): Use it.
18521 (SETUP_PIC_REG_LEAF): Use it.
18522
495fd99f
JM
185232012-05-07 Joseph Myers <joseph@codesourcery.com>
18524
18525 [BZ #13885]
18526 [BZ #13923]
18527 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18528 USE_AS_EXPM1L.
18529 (EXPL_FINITE): Likewise.
18530 (FLDLOG): Likewise.
18531 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
18532 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
18533 e_expl.S.
18534 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18535 USE_AS_EXPM1L.
18536 (EXPL_FINITE): Likewise.
18537 (FLDLOG): Likewise.
18538 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
18539 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
18540 e_expl.S.
18541 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
18542 test of -max_value argument for long double.
18543 * sysdeps/i386/fpu/libm-test-ulps: Update.
18544 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18545
6693d694
DM
185462012-05-06 David S. Miller <davem@davemloft.net>
18547
18548 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
18549 quad soft-float symbols whose references which are compiler
18550 generated.
18551 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
18552
6c23e11c
JM
185532012-05-06 Joseph Myers <joseph@codesourcery.com>
18554
d8b82cad
JM
18555 [BZ #13884]
18556 [BZ #13914]
18557 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18558 USE_AS_EXP10L.
18559 (EXPL_FINITE): Likewise.
18560 (FLDLOG): Likewise.
18561 (c0): Likewise.
18562 (c1): Likewise.
18563 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
18564 Adjust comments for base varying.
18565 (__expl_finite): Change alias to EXPL_FINITE.
18566 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
18567 e_expl.S.
18568 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
18569 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
18570 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
18571 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
18572 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18573 USE_AS_EXP10L.
18574 (EXPL_FINITE): Likewise.
18575 (FLDLOG): Likewise.
18576 (c0): Likewise.
18577 (c1): Likewise.
18578 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
18579 Adjust comments for base varying.
18580 (__expl_finite): Change alias to EXPL_FINITE.
18581 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
18582 tests for bugs.
18583 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18584
6c23e11c
JM
18585 [BZ #14064]
18586 * math/libm-test.inc (check_float_internal): Correct ulp
18587 calculation for subnormal expected results.
18588
29ba805c
AJ
185892012-05-06 Andreas Jaeger <aj@suse.de>
18590
18591 * Makeconfig (+math-flags): New, set to -frounding-math.
18592 (+cflags): Add +math-flags so that all of glibc gets compiled with
18593 it.
18594
18595 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
18596
7b17aeda
JM
185972012-05-05 Joseph Myers <joseph@codesourcery.com>
18598
5779f134
JM
18599 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
18600 Disable one test.
18601
41498f4d
JM
18602 [BZ #13787]
18603 [BZ #13922]
18604 [BZ #14036]
18605 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
18606 (__ieee754_expl): Allow for and saturate large arguments.
18607 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
18608 (u_threshold): Likewise.
18609 (__exp): Call __ieee754_exp before checking for overflow and
18610 underflow.
18611 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
18612 (u_threshold): Likewise.
18613 (__expf): Call __ieee754_expf before checking for overflow and
18614 underflow.
18615 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
18616 (u_threshold): Likewise.
18617 (__expl): Call __ieee754_expl before checking for overflow and
18618 underflow.
18619 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
18620 (__ieee754_expl): Allow for and saturate large arguments.
18621 * math/libm-test.inc (exp_test): Add another test. Do not allow
18622 missing overflow exception on overflow.
18623 (expm1_test): Do not allow missing overflow exception on overflow.
18624
6698b8bf
JM
18625 * sysdeps/i386/fpu/e_expl.c: Move to ...
18626 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
18627 rather than using inline asm.
18628 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
18629 * sysdeps/x86_64/fpu/e_expl.S: Copy from
18630 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
18631
7b17aeda
JM
18632 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
18633 (nice): Likewise.
18634 (poll): Likewise.
18635 (signal): Likewise.
18636 (time): Likewise.
18637 (times): Likewise.
18638
f7c85819
JM
186392012-05-04 Joseph Myers <joseph@codesourcery.com>
18640
18641 * sysdeps/unix/syscalls.list (adjtime): Add entry from
18642 sysdeps/unix/common/syscalls.list.
18643 (fchmod): Likewise.
18644 (fchown): Likewise.
18645 (ftruncate): Likewise.
18646 (getrusage): Likewise.
18647 (gettimeofday): Likewise.
18648 (setpgid): Likewise.
18649 (setregid): Likewise.
18650 (setreuid): Likewise.
18651 (sigaction): Likewise.
18652 (truncate): Likewise.
18653 (vhangup): Likewise.
18654 * sysdeps/unix/common/syscalls.list: Remove file.
18655 * sysdeps/unix/bsd/Implies: Don't include unix/common.
18656 * sysdeps/unix/sysv/linux/Implies: Likewise.
18657
336270d0
L
186582012-05-04 H.J. Lu <hongjiu.lu@intel.com>
18659
18660 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
18661 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
18662 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
18663 Moved to ...
18664 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
18665 Here.
18666 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
18667 to ...
18668 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
18669 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
18670 to ...
18671 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
18672 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
18673 to ...
18674 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
18675 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
18676 to ...
18677 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
18678 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
18679 to ...
18680 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
18681 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
18682 to ...
18683 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
18684 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
18685 to ...
18686 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
18687 Here.
18688 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
18689 to ...
18690 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
18691 Here.
18692 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
18693 to ...
18694 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
18695 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
18696 Moved to ...
18697 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
18698 Here.
18699 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
18700 to ...
18701 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
18702
d128e450
JM
187032012-05-04 Joseph Myers <joseph@codesourcery.com>
18704
fa8ee516
JM
18705 * sysdeps/unix/common/bits/dirent.h: Remove file.
18706 * sysdeps/unix/common/bits/fcntl.h: Likewise.
18707
d128e450
JM
18708 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
18709 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
18710 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
18711 * sysdeps/unix/bsd/isatty.c: Likewise.
18712 * sysdeps/unix/bsd/tcdrain.c: Likewise.
18713 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
18714 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
18715
ff8faaf0 187162012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 18717
62881be4 18718 [BZ #13563]
31dc8730
AZ
18719 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
18720 long double comparison inaccuracies.
18721 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
18722 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18723
6fef930c
AS
187242012-05-04 Andreas Schwab <schwab@linux-m68k.org>
18725
18726 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
18727 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
18728
8f203e6c
JM
187292012-05-04 Joseph Myers <joseph@codesourcery.com>
18730
18731 [BZ #14049]
18732 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
18733 nonzero digits before rounding a hex value.
18734 * stdlib/tst-strtod.c (tests): Add another test.
18735
5197d9c2
AK
187362012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18737
18738 * sysdeps/s390/fpu/libm-test-ulps: Update.
18739
f0c1dedf
AJ
187402012-05-03 Andreas Jaeger <aj@suse.de>
18741
18742 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
18743 does not get optimized out.
18744 (malloc_opt_barrier): New.
18745
a65ef2ae 187462012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 18747 Roland McGrath <roland@hack.frob.com>
a65ef2ae 18748
2b942cb7 18749 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 18750 intermediate file deletion.
2b942cb7 18751 (generated): Add .symlist files.
a65ef2ae 18752
54b71e02
JM
187532012-05-03 Joseph Myers <joseph@codesourcery.com>
18754
18755 [BZ #13775]
18756 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
18757 Redirect under this condition.
18758 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
18759 [__USE_GNU] (__dprintf_chk): Not under this condition.
18760 [__USE_GNU] (__vdprintf_chk): Likewise.
18761 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
18762 under this condition.
18763 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
18764 [__USE_XOPEN2K8] (dprintf): Define under this condition.
18765 [__USE_XOPEN2K8] (vdprintf): Likewise.
18766 [__USE_GNU] (__dprintf_chk): Not under this condition.
18767 [__USE_GNU] (__vdprintf_chk): Likewise.
18768 [__USE_GNU] (dprintf): Likewise.
18769 [__USE_GNU] (vdprintf): Likewise.
18770
d3dfcc41
RM
187712012-05-03 Roland McGrath <roland@hack.frob.com>
18772
18773 * elf/Makefile (common-generated): Set this instead of generated for
18774 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
18775 $(all-built-dso)-derived lists.
18776
7ac30cc5
AJ
187772012-05-03 Andreas Jaeger <aj@suse.de>
18778
0c51e550
AJ
18779 * sysdeps/i386/fpu/libm-test-ulps: Update.
18780
7ac30cc5
AJ
18781 * FAQ: Removed.
18782 * FAQ.in: Likewise.
18783 * scripts/gen-FAQ.pl: Likewise.
18784 * manual/install.texi (Installation): Point to online location of
18785 FAQ.
18786 * Makefile (files-for-dist): Remove FAQ.
18787 (FAQ): Remove.
18788
d4c2917f
AM
187892012-05-02 Allan McRae <allan@archlinux.org>
18790
18791 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
18792 (LDFLAGS-reldepmod5.so): Likewise.
18793 (LDFLAGS-reldep6mod1.so): Likewise.
18794 (LDFLAGS-reldep6mod4.so): Likewise.
18795 (LDFLAGS-reldep8mod3.so): Likewise.
18796 (LDFLAGS-unload4mod1.so): Likewise.
18797 (LDFLAGS-unload4mod2.so): Likewise.
18798 (LDFLAGS-tst-initorder): Likewise.
18799 (LDFLAGS-tst-initordera2.so): Likewise.
18800 (LDFLAGS-tst-initordera3.so): Likewise.
18801 (LDFLAGS-tst-initordera4.so): Likewise.
18802 (LDFLAGS-tst-initorderb2.so): Likewise.
18803 (LDFLAGS-noload): Likewise.
18804 (LDFLAGS-next): Likewise.
18805 (LDFLAGS-order2mod1.so): Likewise.
18806 (LDFLAGS-order2mod2.so): Likewise.
18807 (LDFLAGS-tst-initorder2): Likewise.
18808 (LDFLAGS-tst-initorder2a.so): Likewise.
18809 (LDFLAGS-tst-initorder2b.so): Likewise.
18810 (LDFLAGS-tst-initorder2c.so): Likewise.
18811 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
18812
d77f993f
DM
188132012-05-02 David S. Miller <davem@davemloft.net>
18814
18815 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18816
171a70b4
PP
188172012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
18818
18819 [BZ #14055]
18820 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
18821
0be196ad
AJ
188222012-05-02 Andreas Jaeger <aj@suse.de>
18823
18824 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
18825 since we manipulate rounding mode.
18826 (CPPFLAGS-test-idouble.c): Likewise.
18827 (CPPFLAGS-test-ifloat.c): Likewise.
18828 (CFLAGS-test-ldouble.c): Likewise.
18829 (CFLAGS-test-double.c): Likewise.
18830 (CFLAGS-test-float.c): Likewise.
18831 (CFLAGS-test-misc.c): Likewise.
18832 (CFLAGS-test-test-fenv.c): Likewise.
18833
4f9d04aa
AZ
188342012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18835
2b942cb7
RM
18836 [BZ #2550]
18837 [BZ #2570]
18838 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
18839 comparisons to determine direction to adjust input.
4f9d04aa 18840
82a79e7d
RM
188412012-05-01 Roland McGrath <roland@hack.frob.com>
18842
f5a01ca9
RM
18843 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
18844 output to the target.
18845
90fe4186
RM
18846 * scripts/localplt.awk: New file.
18847 * elf/Makefile ($(objpfx)check-localplt): Target removed.
18848 (check-localplt-CFLAGS): Variable removed.
18849 ($(all-built-dso:=.jmprel)): New static pattern rule.
18850 (generated): Add those targets.
18851 (localplt-built-dso): New variable.
18852 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
18853
18854 * elf/check-localplt.c: File removed.
18855
82397ed6
RM
18856 * scripts/check-execstack.awk: New file.
18857 * elf/Makefile ($(objpfx)check-execstack): Target removed.
18858 (check-execstack-CFLAGS): Variable removed.
18859 ($(objpfx)check-execstack.h): Target removed.
18860 ($(objpfx)execstack-default): New target.
18861 (generated): Add that instead of check-execstack.h.
18862 ($(all-built-dso:=.phdr)): New static pattern rule.
18863 (generated): Add those targets.
18864 * elf/check-execstack.c: File removed.
18865
82a79e7d
RM
18866 * scripts/check-textrel.awk: New file.
18867 * elf/Makefile ($(objpfx)check-textrel): Target removed.
18868 (check-textrel-CFLAGS): Variable removed.
18869 (all-built-dso): Use := to define.o
18870 ($(all-built-dso:=.dyn)): New static pattern rule.
18871 (generated): Add those targets.
18872 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
18873 * config.make.in (READELF): New substituted variable.
18874 * elf/check-textrel.c: File removed.
18875
62fde54f 188762012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 18877
615605c9
JM
18878 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18879 allow.
18880 * conform/data/ctype.h-data [C99-based standards] (isblank):
18881 Expect function.
18882 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
18883 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
18884 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18885 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
18886 Specify type. Require positive value.
18887 (EILSEQ): Likewise.
18888 (ERANGE): Likewise.
18889 [ISO || POSIX] (EILSEQ): Do not expect.
18890 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
18891 Specify type. Require positive value.
18892 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
18893 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
18894 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
18895 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
18896 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
18897 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
18898 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
18899 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
18900 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
18901 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
18902 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
18903 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
18904 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
18905 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
18906 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
18907 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
18908 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
18909 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
18910 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
18911 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
18912 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
18913 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
18914 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
18915 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
18916 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
18917 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
18918 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
18919 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
18920 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
18921 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
18922 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
18923 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
18924 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
18925 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
18926 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
18927 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
18928 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
18929 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
18930 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
18931 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
18932 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
18933 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
18934 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
18935 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
18936 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
18937 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
18938 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
18939 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
18940 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
18941 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
18942 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
18943 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
18944 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
18945 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
18946 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
18947 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
18948 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
18949 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
18950 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
18951 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
18952 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
18953 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
18954 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
18955 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
18956 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
18957 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
18958 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
18959 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
18960 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
18961 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
18962 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
18963 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
18964 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
18965 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
18966 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
18967 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
18968 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
18969 Require >= 2.
18970 (FLT_ROUNDS): Expect as macro, not constant.
18971 (FLT_MANT_DIG): Use macro-int-constant.
18972 (DBL_MANT_DIG): Likewise.
18973 (LDBL_MANT_DIG): Likewise.
18974 (FLT_DIG): Likewise.
18975 (DBL_DIG): Likewise.
18976 (LDBL_DIG): Likewise.
18977 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
18978 (DBL_MIN_EXP): Likewise.
18979 (LDBL_MIN_EXP): Likewise.
18980 (FLT_MAX_EXP): Use macro-int-constant.
18981 (DBL_MAX_EXP): Likewise.
18982 (LDBL_MAX_EXP): Likewise.
18983 (FLT_MAX_10_EXP): Likewise.
18984 (DBL_MAX_10_EXP): Likewise.
18985 (LDBL_MAX_10_EXP): Likewise.
18986 (FLT_MAX): Use macro-constant.
18987 (DBL_MAX): Likewise.
18988 (LDBL_MAX): Likewise.
18989 (FLT_EPSILON): Use macro-constant. Give upper bound.
18990 (DBL_EPSILON): Likewise.
18991 (LDBL_EPSILON): Likewise.
18992 (FLT_MIN): Likewise.
18993 (DBL_MIN): Likewise.
18994 (LDBL_MIN): Likewise.
18995 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
18996 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
18997 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
18998 [ISO11] (FLT_HAS_SUBNORM): Likewise.
18999 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
19000 [ISO11] (DBL_DECIMAL_DIG): Likewise.
19001 [ISO11] (FLT_DECIMAL_DIG): Likewise.
19002 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
19003 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
19004 [ISO11] (FLT_TRUE_MIN): Likewise.
19005 [ISO11] (LDBL_TRUE_MIN): Likewise.
19006 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19007 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
19008 (SCHAR_MIN): Use macro-int-constant. Specify type.
19009 (SCHAR_MAX): Likewise.
19010 (UCHAR_MAX): Likewise.
19011 (CHAR_MIN): Likewise.
19012 (CHAR_MAX): Likewise.
19013 (MB_LEN_MAX): Use macro-int-constant.
19014 (SHRT_MIN): Use macro-int-constant. Specify type.
19015 (SHRT_MAX): Likewise.
19016 (USHRT_MAX): Likewise.
19017 (INT_MAX): Likewise.
19018 (INT_MIN): Use macro-int-constant. Specify type. Make upper
19019 bound negative.
19020 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
19021 bound with "U".
19022 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
19023 bound with "L".
19024 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
19025 bound negative. Suffix upper bound with "L".
19026 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
19027 bound with "UL".
19028 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
19029 Specify type.
19030 [C99-based standards] (LLONG_MAX): Likewise.
19031 [C99-based standards] (ULLONG_MAX): Likewise.
19032 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
19033 == 0.
19034 [ISO11] (max_align_t): Require type.
19035 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19036
c9140a62
JM
19037 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
19038 from $CFLAGS, without defining away __attribute__ calls.
19039 (checknamespace): Use $CFLAGS_namespace.
19040
9af0bf29
JM
19041 * conform/conformtest.pl (@keywords): Only include C99 keywords
19042 for standards based on C99 or C11.
19043
343222a2
JM
19044 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
19045 Disable tests.
19046 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
19047 UNIX98]: Likewise.
19048
661f8cf0
JM
19049 * conform/conformtest.pl: Handle "macro-int-constant" and test for
19050 usability of symbols in #if.
19051
ee74b9cb
JM
19052 * conform/conformtest.pl: If macro or constant types start
19053 "promoted:", expect the symbol to be of the following type
19054 promoted by the integer promotions.
62fde54f 19055
aafc49b3
JM
19056 * conform/conformtest.pl: Parse all "constant" and "macro" lines
19057 in one place. Also handle "macro-constant".
19058
fefdf574
JM
19059 * conform/conformtest.pl: Only accept expected macro values with
19060 "==". Parse all "macro" lines in one place.
19061 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
19062
f2d922fe
JM
19063 * conform/conformtest.pl: Handle braced types on "constant" lines
19064 instead of handling "typed-constant".
19065 * conform/data/signal.h-data: Use "constant" instead of
19066 "typed-constant".
19067
d22956c9
JM
19068 * conform/conformtest.pl: Handle "optional-" at start of lines in
19069 one place rather than duplicating several cases. Handle each
19070 format of "macro" line with initial "optional-".
19071
028e2e38
JM
19072 * conform/conformtest.pl: Only accept expected constant or
19073 optional-constant values with "==". Parse all "constant" lines in
19074 one place. Parse all "optional-constant" lines in one place.
19075 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
19076 * conform/data/fmtmsg.h-data: Likewise.
19077 * conform/data/netinet/in.h-data: Likewise.
19078 * conform/data/tar.h-data: Likewise.
19079 * conform/data/limits.h-data: Use "==" form on "constant" and
19080 "optional-constant" lines.
19081
1b8f2850
JM
19082 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
19083 Use -std=c99 for XOPEN2K.
19084 (@knownproblems): Remove.
19085 (newtoken): Don't check %isknown.
19086
a05a144b
JM
19087 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
19088 Do not expect macro.
19089 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
19090 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
19091 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
19092 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
19093 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
19094 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
19095 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
19096 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
19097 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
19098 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
19099 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
19100 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
19101 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
19102 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
19103 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
19104 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
19105 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
19106 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
19107 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
19108 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
19109 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
19110 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
19111 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
19112 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
19113 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
19114 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
19115 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
19116 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
19117 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
19118 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
19119 [XPG3] (acosh): Likewise.
19120 [XPG3] (asinh): Likewise.
19121 [XPG3] (atanh): Likewise.
19122 [XPG3] (cbrt): Likewise.
19123 [XPG3] (expm1): Likewise.
19124 [XPG3] (ilogb): Likewise.
19125 [XPG3] (log1p): Likewise.
19126 [XPG3] (logb): Likewise.
19127 [XPG3] (nextafter): Likewise.
19128 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
19129 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
19130 [XPG3] (remainder): Likewise.
19131 [XPG3] (rint): Likewise.
19132 [XPG3 || XPG4 || UNIX98] (round): Likewise.
19133 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
19134 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
19135 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
19136 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
19137 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
19138 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
19139 [UNIX98 || XOPEN2K] (scalb): Expect.
19140 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
19141 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
19142 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
19143 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
19144 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
19145 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
19146 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
19147 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
19148 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
19149 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
19150 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
19151 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
19152 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
19153 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
19154 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
19155 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
19156 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
19157 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
19158 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
19159 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
19160 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
19161 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
19162 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
19163 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
19164 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
19165 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
19166 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
19167 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
19168 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
19169 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
19170 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
19171 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
19172 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
19173 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
19174 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
19175 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
19176 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
19177 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
19178 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
19179 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
19180 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
19181 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
19182 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
19183 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
19184 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
19185 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
19186 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
19187 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
19188 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
19189 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
19190 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
19191 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
19192 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
19193 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
19194 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
19195 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
19196 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
19197 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
19198 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
19199 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
19200 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
19201 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
19202 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
19203 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
19204 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
19205 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
19206 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
19207 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
19208 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
19209 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
19210 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
19211 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
19212 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
19213 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
19214 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
19215 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
19216 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
19217 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
19218 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
19219 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
19220 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
19221 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
19222 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
19223 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
19224 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
19225 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
19226 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
19227 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
19228 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
19229 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
19230 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
19231 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
19232 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
19233 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
19234 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
19235 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
19236 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
19237 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
19238 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
19239 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
19240 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
19241 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
19242 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
19243 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
19244 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
19245 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
19246 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
19247 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
19248 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
19249 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
19250 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
19251 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
19252 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
19253 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
19254 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
19255 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
19256 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
19257 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
19258 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
19259 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
19260 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
19261 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
19262 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
19263 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
19264 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
19265 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
19266 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
19267 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
19268 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
19269 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
19270 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
19271 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
19272 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
19273 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
19274 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
19275 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
19276 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
19277
73c5ebe3
JM
19278 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
19279 _XOPEN_SOURCE_EXTENDED for XPG4.
19280
39c33b6c
JM
19281 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
19282
62fde54f
JM
19283 * Makeconfig (localtime): Remove variable.
19284 (inst_localtime-file): Likewise.
19285
0741d64c
AS
192862012-05-01 Andreas Schwab <schwab@linux-m68k.org>
19287
19288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
19289 Update.
19290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19291 Update.
19292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
19293 Update.
19294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
19295 Update.
19296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
19297 Update.
19298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
19299 Update.
19300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19301 Update.
19302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
19303 Update.
19304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19305 Update.
19306
7cb029ee
JM
193072012-05-01 Joseph Myers <joseph@codesourcery.com>
19308
19309 [BZ #2550]
19310 [BZ #2570]
19311 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
19312 comparisons to determine direction to adjust input.
19313 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
19314 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
19315 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
19316 Likewise.
19317 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
19318 Likewise.
19319 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
19320 Likewise.
19321 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
19322 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
19323 Likewise.
19324 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
19325 Likewise.
19326 * math/libm-test.inc (nexttoward_test): Add more tests.
19327
412bd966
AS
193282012-05-01 Andreas Schwab <schwab@linux-m68k.org>
19329
19330 [BZ #14040]
19331 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
19332 in version GLIBC_2.1, not GLIBC_2.0.
19333 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
19334 Likewise.
19335
9568c0c2
JM
193362012-04-30 Joseph Myers <joseph@codesourcery.com>
19337
adfbc8ac
JM
19338 [BZ #13942]
19339 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
19340 (1 - x) * (1 + x).
19341 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
19342 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
19343 * math/libm-test.inc (acos_test): Add more tests.
19344 (asin_test): Likewise.
19345 * sysdeps/i386/fpu/libm-test-ulps: Update.
19346 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19347
5ba3cc69
JM
19348 [BZ #14034]
19349 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
19350 of square root.
19351 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
19352 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
19353 * math/libm-test.inc (acos_test_tonearest): New function.
19354 (acos_test_towardzero): Likewise.
19355 (acos_test_downward): Likewise.
19356 (acos_test_upward): Likewise.
19357 (asin_test_tonearest): Likewise.
19358 (asin_test_towardzero): Likewise.
19359 (asin_test_downward): Likewise.
19360 (asin_test_upward): Likewise.
19361 (main): Call the new functions.
19362 * sysdeps/i386/fpu/libm-test-ulps: Update.
19363 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19364
9568c0c2
JM
19365 [BZ #13884]
19366 [BZ #13924]
19367 * math/e_exp10.c: Include <float.h>.
19368 (__ieee754_exp10): Handle underflow here rather than multiplying
19369 large negative argument by M_LN10.
19370 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
19371 of __ieee754_expf.
19372 * math/e_exp10l.c: Include <float.h>.
19373 (__ieee754_exp10l): Handle underflow here rather than multiplying
19374 large negative argument by M_LN10l.
19375 * math/libm-test.inc (exp10_test): Add another test. Do not allow
19376 spurious overflow exception on underflow.
19377
5ac3ea17
MP
193782012-04-29 Marek Polacek <polacek@redhat.com>
19379
19380 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
19381 (__fortify_function): New macro.
19382 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
19383 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
19384 __extern_always_inline.
19385 * libio/bits/stdio2.h: Likewise.
19386 * libio/bits/stdio.h: Likewise.
19387 * string/string.h: Likewise.
19388 * string/bits/string3.h: Likewise.
19389 * include/stdio.h: Likewise.
19390 * stdlib/bits/stdlib.h: Likewise.
19391 * stdlib/stdlib.h: Likewise.
19392 * rt/bits/mqueue2.h: Likewise.
19393 * rt/mqueue.h: Likewise.
19394 * posix/bits/unistd.h: Likewise.
19395 * posix/unistd.h: Likewise.
19396 * io/bits/poll2.h: Likewise.
19397 * io/bits/fcntl2.h: Likewise.
19398 * io/fcntl.h: Likewise.
19399 * io/sys/poll.h: Likewise.
19400 * misc/bits/syslog.h: Likewise.
19401 * misc/bits/syslog-ldbl.h: Likewise.
19402 * misc/sys/syslog.h: Likewise.
19403 * socket/bits/socket2.h: Likewise.
19404 * socket/sys/socket.h: Likewise.
19405 * debug/tst-chk1.c: Likewise.
19406 * wcsmbs/bits/wchar2.h: Likewise.
19407 * wcsmbs/bits/wchar-ldbl.h: Likewise.
19408 * wcsmbs/wchar.h: Likewise.
19409
ecf0ebfb
AJ
194102012-04-29 Andreas Jaeger <aj@suse.de>
19411
19412 * Makerules (tests): Remove enable-check-abi protection.
19413 (check-abi-warn): Remove.
19414 (check-abi-%): Remove check-abi-warn usage.
19415
19416 * configure.in: Remove check-abi configure option.
19417 * configure: Regenerated.
19418 * config.make.in (enable-check-abi): Remove.
19419
6d5c57fa
AS
194202012-04-28 Andreas Schwab <schwab@linux-m68k.org>
19421
24c5d07e 19422 [BZ #14033]
ded5180a
AS
19423 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
19424 double functions to double *_finite functions.
19425
7e0d315d
AS
19426 [BZ #13941]
19427 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
19428 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
19429 LDBL_MIN_EXP.
19430 * stdio-common/Makefile (tests): Add tst-sprintf3.
19431 * stdio-common/tst-sprintf3.c: New file.
19432
6d5c57fa
AS
19433 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
19434 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
19435
0749ff8b
JM
194362012-04-28 Joseph Myers <joseph@codesourcery.com>
19437
19438 * conform/conformtest.pl: Remove duplicate typed-constant
19439 handling.
19440
8dbd5d7b
DM
194412012-04-28 David S. Miller <davem@davemloft.net>
19442
19443 * Makerules (%.abilist): Add vpath on sysdep_dirs.
19444 (check-abi-%): Remove AWK script prerequisite and explicit
19445 abilist directory.
19446 (check-abi): Rewrite to just diff the symlist with the abilist.
19447 (config-tls, config-abi-config): Delete, no longer used.
19448 (update-abi-%): Remove AWK script and explicit abilist directory.
19449 (update-abi): Rewrite to simply compare and conditionally copy the
19450 symlist and the sysdep abilist file. Remove update-abi-config
19451 checks.
19452 * abilist/ld.abilist: Remove.
19453 * abilist/libBrokenLocale.abilist: Remove.
19454 * abilist/libanl.abilist: Remove.
19455 * abilist/libcrypt.abilist: Remove.
19456 * abilist/libdl.abilist: Remove.
19457 * abilist/librt.abilist: Remove.
19458 * abilist/libthread_db.abilist: Remove.
19459 * abilist/libutil.abilist: Remove.
19460 * scripts/extract-abilist.awk: Remove.
19461 * scripts/merge-abilist.awk: Remove.
19462 * sysdeps/generic/libcidn.abilist: New file.
19463 * sysdeps/generic/libnss_compat.abilist: New file.
19464 * sysdeps/generic/libnss_db.abilist: New file.
19465 * sysdeps/generic/libnss_dns.abilist: New file.
19466 * sysdeps/generic/libnss_files.abilist: New file.
19467 * sysdeps/generic/libnss_hesiod.abilist: New file.
19468 * sysdeps/generic/libnss_nis.abilist: New file.
19469 * sysdeps/generic/libnss_nisplus.abilist: New file.
19470 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
19471 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
19472 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
19473 file.
19474 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
19475 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
19476 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
19477 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
19478 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
19479 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
19480 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
19481 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
19482 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
19483 file.
19484 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
19485 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
19486 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
19487 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
19488 file.
19489 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
19490 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
19491 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
19492 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
19493 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
19494 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
19495 file.
19496 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
19497 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
19498 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
19499 file.
19500 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
19501 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
19502 New file.
19503 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
19504 New file.
19505 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
19506 New file.
19507 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
19508 New file.
19509 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
19510 New file.
19511 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
19512 New file.
19513 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
19514 New file.
19515 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
19516 New file.
19517 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
19518 New file.
19519 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
19520 New file.
19521 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
19522 New file.
19523 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
19524 New file.
19525 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
19526 New file.
19527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
19528 file.
19529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
19530 New file.
19531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
19532 New file.
19533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
19534 file.
19535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
19536 New file.
19537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
19538 New file.
19539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
19540 file.
19541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
19542 New file.
19543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19544 New file.
19545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
19546 New file.
19547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
19548 New file.
19549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
19550 New file.
19551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
19552 New file.
19553 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
19554 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
19555 file.
19556 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
19557 New file.
19558 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
19559 file.
19560 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
19561 file.
19562 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
19563 file.
19564 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
19565 file.
19566 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
19567 file.
19568 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19569 New file.
19570 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
19571 file.
19572 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
19573 file.
19574 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
19575 New file.
19576 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
19577 file.
19578 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
19579 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
19580 file.
19581 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
19582 New file.
19583 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
19584 file.
19585 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
19586 file.
19587 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
19588 file.
19589 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
19590 file.
19591 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
19592 file.
19593 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19594 New file.
19595 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
19596 file.
19597 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
19598 file.
19599 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
19600 New file.
19601 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
19602 file.
19603 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
19604 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
19605 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
19606 file.
19607 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
19608 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
19609 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
19610 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
19611 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
19612 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
19613 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
19614 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
19615 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
19616 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
19617 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
19618 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
19619 file.
19620 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
19621 New file.
19622 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
19623 file.
19624 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
19625 file.
19626 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
19627 file.
19628 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
19629 file.
19630 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
19631 file.
19632 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
19633 New file.
19634 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
19635 New file.
19636 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
19637 file.
19638 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
19639 New file.
19640 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
19641 file.
19642 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
19643 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
19644 file.
19645 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
19646 New file.
19647 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
19648 file.
19649 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
19650 file.
19651 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
19652 file.
19653 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
19654 file.
19655 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
19656 file.
19657 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
19658 New file.
19659 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
19660 New file.
19661 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
19662 file.
19663 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
19664 New file.
19665 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
19666 file.
19667
41d73a1b
JM
196682012-04-28 Joseph Myers <joseph@codesourcery.com>
19669
19670 * conform/conformtest.pl: Fix typo in handling typed-constant from
19671 allow-header.
19672
28aeeda4
JM
196732012-04-27 Joseph Myers <joseph@codesourcery.com>
19674
adae8f5e
JM
19675 * README: Cut down references to pre-2.6 Linux kernels and
19676 Linuxthreads. Update lists of configurations in libc and ports
19677 and sort alphabetically. Say "or newer" with Linux kernel version
19678 requirements.
19679
28aeeda4
JM
19680 * config.h.in [IS_IN_build]: Allow compiling without optimization.
19681
a462cb63
RA
196822012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19683
19684 [BZ #887]
19685 * math/libm-test.inc (logb_test_downward): New test to expose
19686 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
19687 rounding mode.
19688
6ad3493e
JM
196892012-04-27 Joseph Myers <joseph@codesourcery.com>
19690
19691 [BZ #14027]
19692 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
19693 to be done.
19694 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
19695 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
19696
2ce4f015
JM
196972012-04-26 Joseph Myers <joseph@codesourcery.com>
19698
5aeb141a
JM
19699 * sysdeps/unix/i386/brk.S: Remove file.
19700 * sysdeps/unix/i386/dl-brk.S: Likewise.
19701 * sysdeps/unix/i386/pipe.S: Likewise.
19702 * sysdeps/unix/i386/sigreturn.S: Likewise.
19703 * sysdeps/unix/i386/syscall.S: Likewise.
19704 * sysdeps/unix/i386/vfork.S: Likewise.
19705 * sysdeps/unix/i386/wait.S: Likewise.
19706
7143acae
JM
19707 * sysdeps/unix/common/tcsendbrk.c: Move to ...
19708 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
19709
2ce4f015
JM
19710 * configure.in (arm*-none*): Do not allow without
19711 --enable-hacker-mode.
19712 (netbsd*): Remove case setting base_os.
19713 (386bsd*): Likewise.
19714 (freebsd*): Likewise.
19715 (bsdi*): Likewise.
19716 (osf*): Likewise.
19717 (sunos*): Likewise.
19718 (ultrix*): Likewise.
19719 (newsos*): Likewise.
19720 (dynix*): Likewise.
19721 (*bsd*): Likewise.
19722 (sysv*): Likewise.
19723 (isc*): Likewise.
19724 (esix*): Likewise.
19725 (sco*): Likewise.
19726 (minix*): Likewise.
19727 (irix4*): Likewise.
19728 (irix6*): Likewise.
19729 (solaris[2-9]*): Likewise.
19730 (none): Likewise.
19731 * configure: Regenerated.
19732
0ac229c8
AZ
197332012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19734
19735 [BZ #11521]
19736 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
19737 overflow or cancellation in calculating denominator.
19738 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
19739 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
19740 down expression to avoid unexpected rounding in newer GCCs.
19741 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
19742
33f244f4
DM
197432012-04-26 David S. Miller <davem@davemloft.net>
19744
19745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
19746 long-double compat symbols.
19747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
19748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
19749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
19750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
19751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
19752 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
19753 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
19754 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
19755 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
19756 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
19757 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
19758 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
19759 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
19760
cfa1f3e8
DM
197612012-04-25 David S. Miller <davem@davemloft.net>
19762
19763 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
19764 HWCAP_* values only after the memory barriers have been defined.
19765 (atomic_full_barrier): Define.
19766 (atomic_read_barrier): Define.
19767 (atomic_write_barrier): Define.
19768
6e236b92
SP
197692012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19770
19771 * shlib-versions: Add libgcc_s version information.
19772 * sysdeps/generic/libgcc_s.h: Remove.
19773 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
19774 libgcc_s.h.
19775 * sysdeps/gnu/unwind-resume.c: Likewise.
19776 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
19777
aab39a09
DM
197782012-04-25 David S. Miller <davem@davemloft.net>
19779
19780 * sysdeps/unix/sparc/brk.S: Delete.
19781 * sysdeps/unix/sparc/dl-brk.S: Delete.
19782 * sysdeps/unix/sparc/pipe.S: Delete.
19783 * sysdeps/unix/sparc/sysdep.S: Delete.
19784 * sysdeps/unix/sparc/sysdep.h: Delete.
19785 * sysdeps/unix/sparc/vfork.S: Delete.
19786 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
19787 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
19788 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
19789 ret_ERRVAL, r0, r1, MOVE): Define.
19790 (JUMPTARGET): Remove.
19791 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
19792 sysdeps/unix/sparc/sysdep.h
19793 (ENTRY, END): Remove.
19794 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19795
a3cc4f48
JM
197962012-04-25 Joseph Myers <joseph@codesourcery.com>
19797
2ed8cda2
JM
19798 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
19799 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
19800 -DIS_IN_build.
19801
35d76d59
JM
19802 * timezone/README: Update upstream location and email address for
19803 tzcode and tzdata.
19804 * timezone/zdump.c: Update from tzcode 2012b.
19805 * timezone/zic.c: Likewise.
19806
a3cc4f48
JM
19807 * configure.in (libc_cv_as_needed): Remove test.
19808 * configure: Regenerated.
19809 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
19810 conditional definition.
19811 [$(have-as-needed) != yes] (no-as-needed): Likewise.
19812 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
19813 * config.make.in (have-as-needed): Remove variable.
19814
ceab42c3
SP
198152012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19816 Paul Pluzhnikov <ppluzhnikov@google.com>
19817
19818 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
19819 strings correctly.
19820
3ce2865f
CLT
198212012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
19822
19823 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
19824 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
19825 * sysdeps/sh/strlen.S: Likewise.
19826
f37e0d68
JM
198272012-04-24 Joseph Myers <joseph@codesourcery.com>
19828
ae186e9a
JM
19829 * sysdeps/unix/fork.S: Remove file.
19830 * sysdeps/unix/i386/fork.S: Likewise.
19831 * sysdeps/unix/sparc/fork.S: Likewise.
19832
b96914af
JM
19833 * sysdeps/unix/system.c: Remove file.
19834 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
19835
f37e0d68
JM
19836 * sysdeps/unix/getegid.S: Remove file.
19837 * sysdeps/unix/geteuid.S: Likewise.
19838
87ef29ca
RM
198392012-04-24 Roland McGrath <roland@hack.frob.com>
19840
83bcd236
RM
19841 * scripts/check-localplt.awk: New file.
19842 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
19843 of diff.
19844 * scripts/data/localplt-generic.data: Add a comment.
19845
87ef29ca
RM
19846 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
19847 NODE when __dir_mkfile failed.
19848 * sysdeps/mach/hurd/symlinkat.c: Likewise.
19849 Reported by Ludovic Courtès <ludo@gnu.org>.
19850
e5a6e567
AJ
198512012-04-24 Andreas Jaeger <aj@suse.de>
19852
19853 * Makerules (common-clean): Also remove gen-as-const-headers
19854 files.
19855
c1820385
JM
198562012-04-24 Joseph Myers <joseph@codesourcery.com>
19857
19858 * Makerules (native-compile): Do not change working directory for
19859 build. Use $(OUTPUT_OPTION) in command.
19860 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
19861
94e02fc4
AZ
198622012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19863
19864 [BZ #13886]
19865 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
19866 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
19867 * math/libm-test.inc (floor_test): Add more tests.
19868 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
19869
3a533ca3
JM
198702012-04-24 Joseph Myers <joseph@codesourcery.com>
19871
940ab4b3
JM
19872 * sysdeps/unix/getdents.c: Remove file.
19873 * sysdeps/unix/sysv/getdents.c: Likewise.
19874 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
19875
90e037bd
JM
19876 * sysdeps/unix/syscalls.list (madvise): Add syscall from
19877 sysdeps/unix/mman/syscalls.list.
19878 (mmap): Likewise.
19879 (mprotect): Likewise.
19880 (msync): Likewise.
19881 (munmap): Likewise.
19882 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
19883 * sysdeps/unix/mman/syscalls.list: Remove.
19884 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
19885
3a533ca3
JM
19886 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
19887 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
19888 * configure: Regenerated.
19889 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
19890 $(libgcc_s_suffix).
19891 * config.make.in (libgcc_s_suffix): Remove variable.
19892
1ad743de
JM
198932012-04-23 Joseph Myers <joseph@codesourcery.com>
19894
4ad451e2
JM
19895 * sysdeps/unix/sysv/gethostname.c: Move to ...
19896 * sysdeps/posix/gethostname.c: ... here.
19897
5e37ce39
JM
19898 * sysdeps/unix/execve.S: Remove file.
19899
1ad743de
JM
19900 * sysdeps/unix/_exit.S: Remove file.
19901
4e681b5b
AJ
199022012-04-23 Andreas Jaeger <aj@suse.de>
19903
19904 [BZ #13739]
19905 * manual/Makefile: Remove make dist support, there's no
19906 need for a stand-alone documentation tar ball.
19907 (TEXI2DVI): Define always, it's not in Makeconfig.
19908 (dist): Removed.
19909 (tar-it): Removed.
19910 (edition): Removed.
19911 (glibc-doc-$(edition).tar): Removed
19912 (%.Z): Removed.
19913 (%.gz): Removed.
19914 (%.uu): Removed.
19915 (ETAGS): Remove, it's in Makeconfig.
19916 (move-if-change): Remove, it's in Makeconfig.
19917
38686a03 199182012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
19919
19920 [BZ #13970]
19921 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
19922 (strtod, strtof, strtold, strtol, strtoul, strtoq)
19923 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
19924 (strtod_l, strtof_l, strtold_l): Remove __wur.
19925 It is not necessarily an error to ignore strtol's return value.
19926 One can reliably look at the stored endptr to decide whether
19927 the number had valid syntax.
19928
7c0616fa
AJ
199292012-04-21 Andreas Jaeger <aj@suse.de>
19930
803cb6b7 19931 [BZ #13739]
7c0616fa
AJ
19932 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
19933
b0fe253f
JM
199342012-04-21 Joseph Myers <joseph@codesourcery.com>
19935
19936 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
19937 * sysdeps/unix/sysv/Versions: Remove file.
19938
8280f22d
MT
199392012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
19940
19941 [BZ #13927]
19942 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19943
75ce411f 199442012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
19945
19946 [BZ #7064]
19947 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
19948 version from __vm86.
19949
097d59fa
JM
199502012-04-20 Joseph Myers <joseph@codesourcery.com>
19951
a90f3bcb
JM
19952 * sysdeps/unix/common/lxstat.c: Remove file.
19953 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
19954
edc7ea78
JM
19955 * sysdeps/unix/sysv/Makefile: Remove file.
19956
cb78c221
JM
19957 * sysdeps/unix/sysv/direct.h: Remove file.
19958
efa6a45f
JM
19959 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
19960 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
19961 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
19962 * sysdeps/unix/sysv/bits/signum.h: Likewise.
19963 * sysdeps/unix/sysv/bits/stat.h: Likewise.
19964 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
19965 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
19966
9c9f2d0c
JM
19967 * sysdeps/unix/sysv/setrlimit.c: Remove file.
19968
4541c83b
JM
19969 * sysdeps/unix/xmknod.c: Remove file.
19970 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
19971
f5d153a0
JM
19972 * sysdeps/unix/sysv/settimeofday.c: Remove file.
19973
aa746595
JM
19974 * sysdeps/unix/sysv/i386/time.S: Remove file.
19975
cce5905e
JM
19976 * sysdeps/unix/fxstat.c: Remove file.
19977 * sysdeps/unix/xstat.c: Likewise.
19978 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
19979
37fa3841
JM
19980 * sysdeps/unix/sysv/sigaction.c: Remove file.
19981
ff1962a3
JM
19982 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
19983 (sysdep_headers): Remove variable.
19984 [termio.h not in sysdep_headers] (generated): Likewise.
19985 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
19986 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
19987 * sysdeps/unix/sysv/tcdrain.c: Likewise.
19988 * sysdeps/unix/sysv/tcflow.c: Likewise.
19989 * sysdeps/unix/sysv/tcflush.c: Likewise.
19990 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
19991 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
19992 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
19993 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
19994 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
19995
e7740d31
JM
19996 * sysdeps/unix/siglist.c: Remove file.
19997
ee06f18b
JM
19998 * sysdeps/unix/getppid.S: Remove file.
19999
097d59fa
JM
20000 * sysdeps/unix/mkdir.c: Remove file.
20001 * sysdeps/unix/rmdir.c: Likewise.
20002
ff3d51ec
AS
200032012-04-19 Andreas Schwab <schwab@linux-m68k.org>
20004
20005 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
20006 ERR_MAX value.
20007 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
20008 errlist-compat value.
20009
50f81fd7
DM
200102012-04-18 David S. Miller <davem@davemloft.net>
20011
20012 * sysdeps/generic/memcopy.h (reg_char): Delete.
20013 * debug/strcat_chk.c: Use char, not reg_char.
20014 * debug/strcpy_chk.c: Likewise.
20015 * debug/strncat_chk.c: Likewise.
20016 * debug/strncpy_chk.c: Likewise.
20017 * string/memchr.c: Likewise.
20018 * string/memrchr.c: Likewise.
20019 * string/rawmemchr.c: Likewise.
20020 * string/strcat.c: Likewise.
20021 * string/strchr.c: Likewise.
20022 * string/strchrnul.c: Likewise.
20023 * string/strcmp.c: Likewise.
20024 * string/strcpy.c: Likewise.
20025 * string/strncat.c: Likewise.
20026 * string/strncmp.c: Likewise.
20027 * string/strncpy.c: Likewise.
20028
8ff41c46
WS
200292012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20030
20031 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
20032 __builtin_memcopy is called when src and dest ranges are known to not
20033 overlap.
20034
6b652f46
WS
200352012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20036
20037 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
20038 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
20039 fwd_align_merge macro call.
20040 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
20041 bwd_align_merge macro call.
20042 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20043
b282631e
WS
200442012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20045
20046 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
20047 bwd_align_merge macros.
20048 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
20049 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
20050 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20051
95aa737c
DM
200522012-04-18 David S. Miller <davem@davemloft.net>
20053
20054 * sysdeps/sparc/sparc64/memcopy.h: Delete.
20055
7a99a614
AJ
200562012-04-18 Andreas Jaeger <aj@suse.de>
20057
20058 [BZ# 6794]
20059 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
20060 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
20061 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20062
20063 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
20064 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
20065 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20066
20067 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
20068 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
20069 Adjust for changed ldbl-128 files.
20070
20071 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
20072 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
20073 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20074
e5270c23
DM
200752012-04-17 David S. Miller <davem@davemloft.net>
20076
20077 * sysdeps/sparc/sparc32/memcopy.h: Delete.
20078
fb5e92c9
AS
200792012-04-17 Andreas Schwab <schwab@linux-m68k.org>
20080
20081 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
20082 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
20083 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
20084 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
20085 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
20086 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
20087
76da7265
AZ
200882012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20089
20090 [BZ #6794]
20091 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
20092 * math/libm-test.inc: Add ilogb errno and exception tests.
20093 * math/w_ilogb.c: New file: ilogb wrapper.
20094 * math/w_ilogbf.c: New file: ilogbf wrapper.
20095 * math/w_ilogbl.c: New file: ilogbl wrapper.
20096 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
20097 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
20098 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
20099 exception being thrown with 0.0 as argument.
20100 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
20101 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
20102 exception being thrown with 0.0 as argument.
20103 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
20104 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
20105 exception being thrown with 0.0 as argument.
20106 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
20107 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
20108 exception being thrown with 0.0 as argument.
20109 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
20110 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 20111 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
20112 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
20113 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
20114 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
20115 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
20116 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
20117 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
20118
0396e69d
PB
201192012-04-17 Petr Baudis <pasky@ucw.cz>
20120
20121 * include/sys/uio.h: Change __vector to __iovec to avoid clash
20122 with altivec.
20123
750b5926
MP
201242012-04-16 Marek Polacek <polacek@redhat.com>
20125
20126 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
20127
751728a1
MP
201282012-04-16 Marek Polacek <polacek@redhat.com>
20129
20130 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
20131 operands of fdivp instruction.
20132
34a27407
L
201332012-04-13 H.J. Lu <hongjiu.lu@intel.com>
20134
20135 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
20136 * elf/tst-auditmod3b.c: Likewise.
20137 * elf/tst-auditmod4b.c: Likewise.
20138 * elf/tst-auditmod5b.c: Likewise.
20139 * elf/tst-auditmod6b.c: Likewise.
20140 * elf/tst-auditmod6c.c: Likewise.
20141 * elf/tst-auditmod7b.c: Likewise.
20142 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
20143 * sysdeps/x86_64/preconfigure.in: Likewise.
20144 * sysdeps/x86_64/preconfigure: Regenerated.
20145
7e73e17d
L
201462012-04-13 H.J. Lu <hongjiu.lu@intel.com>
20147
20148 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
20149 __ILP32__.
20150
c7a6ab72
AB
201512012-04-13 Antoine Balestrat <merkil33@gmail.com>
20152
20153 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
20154 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
20155
a9e8e0e0
CL
201562012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
20157
20158 [BZ #13973]
20159 * locale/iso-639.def: Fix gl language name. Spotted by
20160 Yaron Shahrabani.
20161
ec98af7d
RM
201622012-04-12 Roland McGrath <roland@hack.frob.com>
20163
20164 [BZ #2074]
20165 * libio/libio.h (__io_write_fn): Update comment.
20166
247c3ede
PB
201672012-04-12 Petr Baudis <pasky@ucw.cz>
20168
20169 [BZ #2074]
20170 * stdio.texi (Hook Functions): The user provided writer function
20171 is not allowed to return -1.
20172
55939d6d
DM
201732012-04-11 David S. Miller <davem@davemloft.net>
20174
20175 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20176
90020f5a
MF
201772012-04-11 Mike Frysinger <vapier@gentoo.org>
20178
20179 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
20180 Add a leading slash to rtkaio.
20181
288f9098
JM
201822012-04-11 Jim Meyering <meyering@redhat.com>
20183
90020f5a
MF
20184 [BZ #11959]
20185 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
20186 It is not necessarily an error to ignore fwrite's return
20187 value. One can reliably use ferror to test for errors after
20188 the fact.
288f9098 20189
4be2b570
L
201902012-04-10 H.J. Lu <hongjiu.lu@intel.com>
20191
20192 * bits/types.h (__snseconds_t): New type.
20193 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
20194
20195 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
20196 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20197 (__SNSECONDS_T_TYPE): Likewise.
20198 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20199 (__SNSECONDS_T_TYPE): Likewise.
20200 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20201 (__SNSECONDS_T_TYPE): Likewise.
20202
288f9098 202032012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
20204
20205 [BZ #2636]
20206 * manual/time.texi (Processor Time): Return type of times is
20207 elapsed real time since an arbitrary point in the past.
20208 (CPU Time): Move CLK_TCK from here...
20209 (Processor Time): ...to here. Correct description.
20210 * manual/conf.texi (Constants for Sysconf): Correct description of
20211 _SC_CLK_TCK.
20212
d7dd4413
DM
202132012-04-10 David S. Miller <davem@davemloft.net>
20214
20215 [BZ #13967]
20216 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
20217 where the is a gap between DT_REL(A) and DT_JMPREL.
20218
b46068fc
L
202192012-04-10 H.J. Lu <hongjiu.lu@intel.com>
20220
20221 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
20222 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
20223 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
20224
73d65cc3
SP
202252012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20226
20227 * elf/dl-support.c (_dl_inhibit_cache): New variable.
20228 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
20229 (dl_main): Handle --inhibit-cache.
20230 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
20231 _dl_inhibit_cache.
20232 * elf/dl-load.c (_dl_map_object): Use it.
20233 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
20234
bcc8d661
JM
202352012-04-09 Joseph Myers <joseph@codesourcery.com>
20236
8f9a2fae
JM
20237 [BZ #13872]
20238 * sysdeps/i386/fpu/e_powl.S (p78): New object.
20239 (__ieee754_powl): Saturate large exponents rather than testing for
20240 overflow of y*log2(x).
20241 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20242 * math/libm-test.inc (pow_test): Do not permit spurious overflow
20243 exceptions.
20244
bcc8d661
JM
20245 [BZ #11521]
20246 * math/s_ctan.c: Include <float.h>.
20247 (__ctan): Avoid internal overflow or cancellation in calculating
20248 denominator.
20249 * math/s_ctanf.c: Likewise.
20250 * math/s_ctanl.c: Likewise.
20251 * math/s_ctanh.c: Likewise.
20252 * math/s_ctanhf.c: Likewise.
20253 * math/s_ctanhl.c: Likewise.
20254 * math/libm-test.inc (ctan_test): Add more tests.
20255 (ctanh_test): Likewise.
20256 * sysdeps/i386/fpu/libm-test-ulps: Update.
20257 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20258
823fbbb4
AJ
202592012-04-09 Andreas Jaeger <aj@suse.de>
20260
03879793
AJ
20261 [BZ #6894]
20262 * manual/filesys.texi (Directory Entries): Mention that d_namlen
20263 is an optional BSD extension.
20264
823fbbb4
AJ
20265 [BZ #10254]
20266 * manual/stdio.texi (Opening Streams): Document additional fopen
20267 parameters.
20268
8de131cb
RM
202692012-04-09 Roland McGrath <roland@hack.frob.com>
20270
20271 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
20272 %eax without telling the compiler.
20273
c0ed9d7d
CD
202742012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
20275
20276 [BZ # 13963]
20277 * manual/install.texi: Use sourceware.org.
20278
c483f6b4
JM
202792012-04-09 Joseph Myers <joseph@codesourcery.com>
20280
d7dd9453
JM
20281 [BZ #13873]
20282 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
20283 (__ieee754_pow): Generate overflow and underflow using huge*huge
20284 and tiny*tiny rather than just returning constant infinity or zero
20285 for large exponents.
20286 * math/libm-test.inc (pow_test): Require overflow exceptions for
20287 applicable cases of large exponents.
20288
c483f6b4
JM
20289 [BZ #706]
20290 * sysdeps/i386/fpu/e_pow.S (p10): New object.
20291 (__ieee754_pow): Use iterative multiplication algorithm only for
20292 integer exponents with absolute value below 1024. Check for odd
20293 integer exponents when using algorithm for real exponents.
20294 * math/libm-test.inc (pow_test): Add more tests.
20295 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20296
d2de7579
JM
202972012-04-08 Joseph Myers <joseph@codesourcery.com>
20298
20299 [BZ #13705]
20300 * math/libm-test.inc (exp_test): Do not allow overflow exception
20301 on underflow test.
20302
f77f1232
AJ
203032012-04-08 Aurelien Jarno <aurelien@aurel32.net>
20304
20305 [BZ #13705]
20306 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
20307 instead of __kernel_standard_f.
20308
3884932b
MF
203092012-04-08 Mike Frysinger <vapier@gentoo.org>
20310
20311 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
20312 * sysdeps/x86_64/memset_chk.S: Likewise.
20313
54472e9c
AJ
203142012-04-08 Andreas Jaeger <aj@suse.de>
20315
6ab0fbfc
AJ
20316 [BZ #10153]
20317 * manual/startup.texi (Environment Access): Describe return value
20318 for putenv and setenv.
20319
61efba8c
AJ
20320 [BZ #6895]
20321 * manual/filesys.texi (Directory Entries): Add description for
20322 DT_LNK.
20323
95c3f29a
AJ
20324 [BZ #6890]
20325 * manual/filesys.texi (Directory Entries): Clarify that it's file
20326 system not operating system in the description of DT_UNKNOWN.
20327
54472e9c
AJ
20328 [BZ #6578]
20329 * manual/syslog.texi (closelog): Fix reference, it's openlog.
20330
624254b1
SC
203312012-04-08 Stephen Compall <s11@member.fsf.org>
20332
20333 [BZ #6649]
20334 * manual/llio.texi (Opening and Closing Files): Add cross
20335 reference to explain mode argument.
20336
1e4920e0
MF
203372012-04-07 Mike Frysinger <vapier@gentoo.org>
20338
20339 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
20340 * sysdeps/x86_64/memset_chk.S: Likewise.
20341
5ed848f3
DM
203422012-04-07 David S. Miller <davem@davemloft.net>
20343
20344 * elf/elf.h (R_SPARC_WDISP10): Define.
20345 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
20346 R_SPARC_SIZE32.
20347 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
20348 R_SPARC_SIZE64 and R_SPARC_H34.
20349
96154cd8
CD
203502012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
20351
20352 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
20353 conditions and remove no longer applicable assertion.
20354
9904dc47
L
203552012-04-06 H.J. Lu <hongjiu.lu@intel.com>
20356
20357 * bits/byteswap.h: Include <features.h>.
20358 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
20359 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
20360
f8887d0a
L
203612012-04-06 H.J. Lu <hongjiu.lu@intel.com>
20362
20363 * bits/byteswap.h (__bswap_16): Removed.
20364 Include <bits/byteswap-16.h> to get __bswap_16.
20365 * sysdeps/i386/bits/byteswap.h: Likewise.
20366 * sysdeps/s390/bits/byteswap.h: Likewise.
20367 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20368 * bits/byteswap-16.h: New file.
20369 * sysdeps/i386/bits/byteswap-16.h: Likewise.
20370 * sysdeps/s390/bits/byteswap-16.h: Likewise.
20371 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
20372 * string/Makefile (headers): Add bits/byteswap-16.h.
20373
62470f60
PP
203742012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
20375
20376 [BZ #13895]
20377 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
20378 extra indirection.
20379 * nss/Makefile (tests-static, tests): Add tst-nss-static.
20380 * nss/tst-nss-static.c: New.
20381
4dad7bab
RM
203822012-04-06 Robert Millan <rmh@gnu.org>
20383
20384 [BZ #6486]
20385 * manual/llio.texi (File Position Primitive): lseek
20386 refers to WHENCE when it really means OFFSET.
20387
e9142a17
AJ
203882012-04-06 Andreas Jaeger <aj@suse.de>
20389
2c040eff
AJ
20390 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
20391 strncmp declarations.
20392
e9142a17
AJ
20393 * abilist/libc.abilist: Add __poll and __ppoll.
20394
ff9f1c5f
DM
203952012-04-05 David S. Miller <davem@davemloft.net>
20396
dcd2ae90
DM
20397 * scripts/check-local-headers.sh: Accept a host triplet in the
20398 path matched by the exclude regexp.
20399
993eb054
DM
20400 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
20401 definition.
20402 * sysdeps/powerpc/powerpc32/dl-machine.h
20403 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
20404 * sysdeps/s390/s390-32/dl-machine.h
20405 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20406 * sysdeps/sparc/sparc32/dl-machine.h
20407 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20408 * sysdeps/sparc/sparc64/dl-machine.h
20409 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20410
ff9f1c5f
DM
20411 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
20412 lazy binding.
48e2e132 20413 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
20414 undefined symbol errors.
20415
48e2e132 20416 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
20417 DT_NEEDED entries.
20418
e80d6f94
MM
204192012-04-05 Michael Matz <matz@suse.de>
20420
20421 [BZ #13592]
20422 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
20423
349fa79f
AJ
204242012-04-05 Andreas Jaeger <aj@suse.de>
20425
20426 [BZ #13908]
20427 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
20428 comment.
20429
f402708f
KK
204302012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20431
20432 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
20433 which ROUND is no valid rounding mode.
20434
2ecccfc9
KK
204352012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20436
20437 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
20438 read again.
20439 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
20440
8a53f50f
KK
204412012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20442
20443 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
20444 an exception using FPU order intentionally.
20445
204462012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20447
20448 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
20449 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
20450 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
20451 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
20452
d653abb7
SJ
204532012-04-05 Simon Josefsson <simon@josefsson.org>
20454
20455 [BZ #12340]
20456 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
20457 EINVAL when BUFLEN is too smal.
20458
c3b1bf7d
TS
204592012-04-05 Thomas Schwinge <thomas@codesourcery.com>
20460
20461 [BZ #13553]
20462 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
20463 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
20464
b1aa60f3
AJ
204652012-04-03 Andreas Jaeger <aj@suse.de>
20466
c3b1bf7d 20467 [BZ #13938]
67f60a26
AJ
20468 * manual/setjmp.texi (System V contexts): Fix sentence.
20469
b1aa60f3
AJ
20470 [BZ #13926]
20471 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
20472 New macro for this case.
20473 [!__GNUC__] (__bswap_64): New inline function for this case.
20474 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20475 * bits/byteswap.h: Likewise.
20476 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
20477 ull, guard with __GLIBC_HAVE_LONG_LONG.
20478
20479 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
20480 __GLIBC_HAVE_LONG_LONG.
20481
20482 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
20483 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
20484
39c59c35
TMQMF
204852012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20486
20487 [BZ #13691]
20488 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
20489 inptr and inend, rather than using last_ch.
20490
135ffda8
DM
204912012-04-02 David S. Miller <davem@davemloft.net>
20492
20493 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
20494 * stdio-common/printf-parse.h (read_int): Change return type to
20495 'int', return -1 on INT_MAX overflow.
20496 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
20497 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
20498 overflows INT_MAX. Check for overflow of in-format-string precision
20499 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
20500 SIZE_MAX not INT_MAX for integer overflow test.
20501 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
20502 skip the construct in the format string but do not record anything.
20503 * stdio-common/bug22.c: Adjust to test both width/prevision
20504 INT_MAX overflow as well as total length INT_MAX overflow. Check
20505 explicitly for proper errno values.
20506
228c019e
TS
205072012-04-02 Thomas Schwinge <thomas@codesourcery.com>
20508
302cadd3
TS
20509 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
20510 CHAR_MAX.
20511 * string/test-strcmp.c [! WIDE]: Likewise.
20512 * time/tst-mktime2.c: Likewise for INT_MAX.
20513 * string/test-string.h: #include <sys/param.h> for MIN.
20514
228c019e
TS
20515 * csu/init-first.c (__libc_init_first): Call __ctype_init.
20516 * sysdeps/i386/init-first.c (init): Likewise.
20517 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
20518 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
20519 * sysdeps/sh/init-first.c (init): Likewise.
20520
cfa633f5
UD
205212012-04-01 Ulrich Drepper <drepper@gmail.com>
20522
20523 * po/ru.po: Update from translation team.
d1635ef8 20524 * po/vi.po: Likewise.
cfa633f5 20525
6cd0a5ea
SP
205262012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
20527
20528 * resolv/nss_dns/dns-host.c: Merge copyright years.
20529
4b43400f
LD
205302012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20531
20532 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
20533 Optimize memcpy with prefetch if
20534 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
20535 src, dst pointers have unequal 16 byte alignments.
20536
48c41d04
SP
205372012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20538
20539 [BZ #13928]
20540 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
20541 from a CNAME entry and return the minimum ttl for the query.
20542 (gaih_getanswer_slice): Likewise.
20543
b8dc394d
JL
205442012-03-30 Jeff Law <law@redhat.com>
20545
20546 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
20547 due to long keys.
20548 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
20549 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
20550
2f5a5ed0
JL
20551 * resolv/nss_dns/dns-host.c: Update copyright year.
20552
1d39e359
UD
205532012-03-30 Ulrich Drepper <drepper@gmail.com>
20554
c030f70c 20555 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 20556 requests to save a system call. Fix check that all bytes are sent.
c030f70c 20557
1d39e359
UD
20558 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
20559 comments for sendmmsg.
20560
205612012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
20562
20563 [BZ #13691]
20564 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
20565 with only 1 character between 0x0041 and 0x01b0.
20566 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
20567 * wcsmbs/tst-mbsnrtowcs.c: New file.
20568
20fde227
DM
205692012-03-29 David S. Miller <davem@davemloft.net>
20570
20571 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
20572 small copies by hand.
20573
984a4237
JL
205742012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20575
20576 [BZ #13761]
20577 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
20578 _nss_compat_initgroups_dyn): Fall back to malloc/free
20579 for large group memberships.
20580
18c9d62b
DM
205812012-03-28 David S. Miller <davem@davemloft.net>
20582
88d85d4f
DM
20583 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
20584 that branches into memcpy.
20585 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
20586 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
20587 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
20588 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
20589 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
20590 bits.
20591 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
20592 implementation too.
20593 * sysdeps/sparc/mempcpy.S: New file.
20594
e5aa83e1
DM
20595 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
20596 the IFUNC routine in the libc case.
20597 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
20598
88570753
DM
20599 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
20600 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
20601 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
20602 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
20603 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
20604 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
20605 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
20606 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
20607
249d7567
DM
20608 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
20609 loop to 256 bytes instead of 64 bytes and fix test signedness.
20610
18c9d62b
DM
20611 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
20612 * sysdeps/sparc/sparc32/Makefile: rather than here...
20613 * sysdeps/sparc/sparc64/Makefile: and here.
20614
05f3d1f6
UD
206152012-03-28 Ulrich Drepper <drepper@gmail.com>
20616
20617 * malloc/mallocbug.c: Avoid warnings about unused variables.
20618
86ae07a8
JL
206192012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
20620
20621 [BZ #13760]
20622 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
20623 in the right place. Discard and retry query if response is
20624 larger than input buffer size.
20625
41bf21a1
JM
206262012-03-28 Joseph Myers <joseph@codesourcery.com>
20627
d6270972
JM
20628 [BZ #369]
20629 [BZ #2678]
20630 [BZ #3866]
20631 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
20632 x for large integer exponent.
20633 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
20634 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
20635 sign of result as needed afterwards.
20636 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
20637 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
20638 result for underflowing pow the same as for overflow.
20639 (__kernel_standard_l): Handle powl overflow and underflow here
20640 rather than calling __kernel_standard.
20641 * math/libm-test.inc (pow_test): Add more tests.
20642
414fca03 20643 [BZ #3868]
41bf21a1
JM
20644 [BZ #13879]
20645 [BZ #13910]
20646 [BZ #13911]
20647 [BZ #13912]
20648 [BZ #13913]
20649 [BZ #13915]
20650 [BZ #13916]
20651 [BZ #13917]
20652 [BZ #13918]
20653 [BZ #13919]
20654 [BZ #13920]
20655 [BZ #13921]
20656 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
20657 * sysdeps/ieee754/k_standard.c: Include <float.h>.
20658 (__kernel_standard_l): New function.
20659 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
20660 __kernel_standard.
20661 * math/w_acosl.c (__acosl): Likewise.
20662 * math/w_asinl.c (__asinl): Likewise.
20663 * math/w_atan2l.c (__atan2l): Likewise.
20664 * math/w_atanhl.c (__atanhl): Likewise.
20665 * math/w_coshl.c (__coshl): Likewise.
20666 * math/w_exp10l.c (__exp10l): Likewise.
20667 * math/w_exp2l.c (__exp2l): Likewise.
20668 * math/w_fmodl.c (__fmodl): Likewise.
20669 * math/w_hypotl.c (__hypotl): Likewise.
20670 * math/w_j0l.c (__j0l, __y0l): Likewise.
20671 * math/w_j1l.c (__j1l, __y1l): Likewise.
20672 * math/w_jnl.c (__jnl, __ynl): Likewise.
20673 * math/w_lgammal.c (__lgammal): Likewise.
20674 * math/w_log10l.c (__log10l): Likewise.
20675 * math/w_log2l.c (__log2l): Likewise.
20676 * math/w_logl.c (__logl): Likewise.
20677 * math/w_powl.c (__powl): Likewise.
20678 * math/w_remainderl.c (__remainderl): Likewise.
20679 * math/w_scalbl.c (sysv_scalbl): Likewise.
20680 * math/w_sinhl.c (__sinhl): Likewise.
20681 * math/w_sqrtl.c (__sqrtl): Likewise.
20682 * math/w_tgammal.c (__tgammal): Likewise.
20683 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
20684 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
20685 * math/libm-test.inc (acos_test): Add more tests.
20686 (acosh_test): Likewise.
20687 (asin_test): Likewise.
20688 (atanh_test): Likewise.
20689 (exp_test): Likewise.
20690 (exp10_test): Likewise.
20691 (exp2_test): Likewise.
20692 (expm1_test): Likewise.
20693 (lgamma_test): Likewise.
20694 (log_test): Likewise.
20695 (log10_test): Likewise.
20696 (log1p_test): Likewise.
20697 (log2_test): Likewise.
20698 (pow_test): Do not allow some spurious overflow exceptions.
20699 (sqrt_test): Add more tests.
20700 (tgamma_test): Likewise.
20701 (y0_test): Likewise.
20702 (y1_test): Likewise.
20703 (yn_test): Likewise.
20704
dd62fda6
AB
207052012-03-27 Anton Blanchard <anton@samba.org>
20706
20707 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
20708 MAP_HUGETLB.
20709 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
20710 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
20711 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
20712
1e3cdfda
AJ
207132012-03-27 David S. Miller <davem@davemloft.net>
20714
b855ab85
DM
20715 * conform/Makefile: Run run-conformtest.sh using $(BASH).
20716
1e3cdfda
AJ
20717 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
20718 have-as-vis3 check.
20719
207202012-03-27 Andreas Jaeger <aj@suse.de>
20721
20722 * sysdeps/x86_64/elf/configure.in: Moved to ...
20723 * sysdeps/x86_64/configure.in: ... here.
20724 * sysdeps/x86_64/elf/start.S: Moved to ...
20725 * sysdeps/x86_64/start.S: ... here.
20726 * sysdeps/x86_64/elf/configure: Delete.
20727
20728 * sysdeps/x86_64/configure.in: Merge contents from
20729 sysdeps/i386/configure.in (without i686 check).
20730
20731 * sysdeps/i386/elf/Versions: Merge into ...
20732 * sysdeps/i386/Versions: ... this.
20733 * sysdeps/i386/elf/Versions: Delete file.
20734 * sysdeps/i386/elf/start.S: Moved to ...
20735 * sysdeps/i386/start.S: ...here.
20736 * sysdeps/i386/elf/configure.in: Merge into...
20737 * sysdeps/i386/configure.in: ...here.
20738 * sysdeps/i386/elf/configure.in: Delete file.
20739 * sysdeps/i386/elf/configure: Delete file.
20740
20741 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
20742 * debug/backtracesyms.c: ... here.
20743 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
20744 * debug/backtracesymsfd.c: ... here.
20745 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
20746 * sysdeps/generic/ifunc-sel.h: ... here.
20747
20748 * sysdeps/unix/i386/start.c: Delete file.
20749 * sysdeps/unix/sparc/start.c: Delete file.
20750 * sysdeps/unix/start.c: Delete file.
20751
20752 * sysdeps/sh/elf/configure.in: Moved to ...
20753 * sysdeps/sh/configure.in: ... here.
20754 * sysdeps/sh/elf/start.S: Moved to ...
20755 * sysdeps/sh/start.S: ... here.
20756 * sysdeps/sh/elf/configure: Delete file.
20757
20758 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
20759 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
20760 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
20761 * sysdeps/powerpc/powerpc64/entry.h: ... here.
20762 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
20763 * sysdeps/powerpc/powerpc64/start.S: here.
20764 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
20765 * sysdeps/powerpc/powerpc64/Makefile: ... this.
20766 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
20767 * sysdeps/powerpc/powerpc64/configure.in: ... this.
20768 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
20769
20770 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
20771 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
20772 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
20773 * sysdeps/powerpc/powerpc32/start.S: ... here.
20774 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
20775 * sysdeps/powerpc/powerpc32/configure.in: ... this.
20776 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
20777
20778 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
20779 * sysdeps/powerpc/ifunc-sel.h: ... here.
20780 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
20781 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
20782
20783 * sysdeps/sparc/elf/configure.in: Moved to ...
20784 * sysdeps/sparc/configure.in: ... here.
20785 * sysdeps/sparc/elf/configure: Delete file.
20786 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
20787 * sysdeps/sparc/sparc32/start.S: ... here.
20788 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
20789 * sysdeps/sparc/sparc64/start.S: ... here.
20790 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
20791 * sysdeps/sparc/sparc32/Makefile: ... this.
20792 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
20793 * sysdeps/sparc/sparc64/Makefile: ... this.
20794
20795 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
20796 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
20797 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
20798 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
20799 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
20800 * sysdeps/s390/s390-32/setjmp.S: ... here.
20801 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
20802 * sysdeps/s390/s390-32/configure.in: ... here.
20803 * sysdeps/s390/s390-32/elf/configure: Delete file.
20804 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
20805 * sysdeps/s390/s390-32/start.S: ... here.
20806
20807 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
20808 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
20809 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
20810 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
20811 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
20812 * sysdeps/s390/s390-64/setjmp.S: ... here.
20813 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
20814 * sysdeps/s390/s390-64/configure.in: ... here
20815 * sysdeps/s390/s390-64/elf/configure: Delete file.
20816 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
20817 * sysdeps/s390/s390-64/start.S: ... here.
20818 * sysdeps/s390/s390-64/elf/configure: Delete.
20819
20820 * configure.in: Remove support for elf directories in sysdeps.
20821
20822 * configure: Regenerated.
20823 * sysdeps/i386/configure: Regenerated.
20824 * sysdeps/powerpc/powerpc32/configure: Regenerated.
20825 * sysdeps/powerpc/powerpc64/configure: Regenerated.
20826 * sysdeps/s390/s390-32/configure: Regenerated.
20827 * sysdeps/s390/s390-64/configure: Regenerated.
20828 * sysdeps/sh/configure: Regenerated.
20829 * sysdeps/sparc/configure: Regenerated.
20830 * sysdeps/x86_64/configure: Regenerated.
20831
a3f61311
AS
208322012-03-26 Andreas Schwab <schwab@linux-m68k.org>
20833
c876e002
AS
20834 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20835
a3f61311
AS
20836 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
20837 denormal result into account.
20838
ac4c54f0
RM
208392012-03-25 Roland McGrath <roland@hack.frob.com>
20840
20841 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
20842 Reported by Allan McRae <allan@archlinux.org>.
20843
6a9b9c02
JL
208442012-03-23 Jeff Law <law@redhat.com>
20845
20846 * nss/getnssent.c (__nss_getent): Fix typo.
20847
4c42a0c1
DM
208482012-03-23 David S. Miller <davem@davemloft.net>
20849
20850 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20851
1532c7ac
L
208522012-03-23 H.J. Lu <hongjiu.lu@intel.com>
20853
20854 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
20855 to pad to uint64_t for each field.
20856 (dl_tls_index): Replace unsigned long with uint64_t.
20857
3ff42526
PP
208582012-03-23 Daniel Jacobowitz <dmj@google.com>
20859 Paul Pluzhnikov <ppluzhnikov@google.com>
20860
20861 [BZ #6528]
20862 * grp/Makefile (otherlibs): Don't set it.
20863 * inet/Makefile (otherlibs): Likewise.
20864 * login/Makefile (otherlibs): Likewise.
20865 * nscd/Makefile (otherlibs): Likewise.
20866 * posix/Makefile (otherlibs): Likewise.
20867 * pwd/Makefile (otherlibs): Likewise.
20868 * rt/Makefile (otherlibs): Likewise.
20869 * sunrpc/Makefile (otherlibs): Likewise.
20870 * nss/Makefile (otherlibs): Likewise.
20871 Add libnss_files to routines and static-only-routines.
20872 ($(objpfx)getent): Remove rule.
20873 * resolv/Makefile: Add libnss_dns and libresolv to routines and
20874 static-only-routines.
20875
7c69cd14
JM
208762012-03-22 Joseph Myers <joseph@codesourcery.com>
20877
20878 [BZ #13892]
20879 * math/s_cexp.c: Include <float.h>.
20880 (__cexp): Handle exp result overflowing not necessarily
20881 overflowing both real and imaginary parts of result.
20882 * math/s_cexpf.c: Likewise.
20883 * math/s_cexpl.c: Likewise.
20884 * math/libm-test.inc (cexp_test): Add more tests.
20885 * sysdeps/i386/fpu/libm-test-ulps: Update.
20886 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20887
81b035fe
L
208882012-03-22 H.J. Lu <hongjiu.lu@intel.com>
20889
20890 * include/link.h (ELFW): New macro.
20891 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
20892 Replace ELF64_R_TYPE with ELFW(R_TYPE).
20893
1da7940c
L
208942012-03-22 H.J. Lu <hongjiu.lu@intel.com>
20895
20896 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
20897 with uint64_t.
20898
b749dbb9
L
208992012-03-22 H.J. Lu <hongjiu.lu@intel.com>
20900
20901 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
20902 declaration.
20903 (struct La_x32_retval): Likewise.
20904
2ff87f3f
L
209052012-03-22 H.J. Lu <hongjiu.lu@intel.com>
20906
20907 * sysdeps/x86_64/preconfigure.in: New file.
20908 * sysdeps/x86_64/preconfigure: New generated file.
20909
c0df8e69
JM
209102012-03-22 Joseph Myers <joseph@codesourcery.com>
20911
48e44791
JM
20912 [BZ #13824]
20913 * math/e_exp2l.c: Include <float.h>.
20914 (__ieee754_exp2l): Handle overflow and underflow cases
20915 separately. Only pass fractional part of argument to
20916 __ieee754_expl.
20917 * math/libm-test.inc (exp2_test): Add more tests.
20918
c0df8e69
JM
20919 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
20920 negating x to take absolute value.
20921 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
20922 Likewise.
20923 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
20924 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
20925 Likewise.
20926 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
20927 computing low part if x was negated.
20928 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
20929
c8e43ba7
L
209302012-03-21 H.J. Lu <hongjiu.lu@intel.com>
20931
20932 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
20933 la_x32_gnu_pltexit.
20934 (pltexit): Cast int_retval to ptrdiff_t.
20935 * elf/tst-auditmod3b.c: Likewise.
20936 * elf/tst-auditmod4b.c: Likewise.
20937 * elf/tst-auditmod5b.c: Likewise.
20938 * elf/tst-auditmod6b.c: Likewise.
20939 * elf/tst-auditmod6c.c: Likewise.
20940 * elf/tst-auditmod7b.c: Likewise.
20941
20942 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
20943 and x32_gnu_pltexit.
20944
20945 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
20946 __ELF_NATIVE_CLASS.
20947 (La_x32_regs): New macro.
20948 (La_x32_retval): Likewise.
20949 (la_x32_gnu_pltenter): New function prototype.
20950 (la_x32_gnu_pltexit): Likewise.
20951
7998fa78
AS
209522012-03-21 Andreas Schwab <schwab@linux-m68k.org>
20953
dcb33988
AS
20954 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
20955 exponent.
20956
233fc563
AS
20957 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20958
7998fa78
AS
20959 * configure.in (libc_cv_cc_nofma): Check for option to disable
20960 generation of FMA instructions.
20961 * configure: Regenerate.
20962 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
20963 * sysdeps/ieee754/dbl-64/Makefile: New file.
20964 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20965 Remove brandred-fma4.
20966 (CFLAGS-brandred-fma4.c): Remove.
20967 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
20968 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
20969 define.
20970 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
20971 define.
20972
8e95c99a
L
209732012-03-21 H.J. Lu <hongjiu.lu@intel.com>
20974
20975 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
20976 LLONG_MAX != LONG_MAX.
20977 (_itoa_word): Use _ITOA_WORD_TYPE on value.
20978 (_fitoa_word): Likewise.
20979 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
20980 LLONG_MAX != LONG_MAX.
20981 * stdio-common/_itowa.h: Include <_itoa.h>.
20982 (_itowa_word): Use _ITOA_WORD_TYPE on value.
20983 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
20984 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
20985 only if not defined.
20986 (_ITOA_WORD_TYPE): Likewise.
20987 (_itoa_word): Use _ITOA_WORD_TYPE on value.
20988 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
20989
6f4db457
DM
209902012-03-21 David S. Miller <davem@davemloft.net>
20991
20992 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20993
7785fe5a
L
209942012-03-21 H.J. Lu <hongjiu.lu@intel.com>
20995
20996 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
20997 of x86_64 when setting libc_cv_slibdir, libdir and
20998 libc_cv_localedir.
20999 * sysdeps/unix/sysv/linux/configure: Regenerated.
21000
4535cd55
JM
210012012-03-21 Joseph Myers <joseph@codesourcery.com>
21002
21003 * manual/lang.texi (Old Varargs): Remove section.
21004 (How Variadic): Update menu.
21005 (va_start): Do not mention varargs.h.
21006
17228132
TS
210072012-03-21 Thomas Schwinge <thomas@codesourcery.com>
21008 Joseph Myers <joseph@codesourcery.com>
21009
21010 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
21011 link test.
21012 * configure: Regenerated.
21013
8149f976
TS
210142012-03-21 Thomas Schwinge <thomas@codesourcery.com>
21015
05f3d1f6
UD
21016 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
21017 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
21018 conformtest.pl
8149f976 21019
1a4ac776
JM
210202012-03-21 Joseph Myers <joseph@codesourcery.com>
21021
be22ce65
JM
21022 * NOTES: Remove.
21023 * Makefile (files-for-dist): Remove NOTES.
21024 (NOTES): Remove rule.
21025 * README: Don't refer to NOTES.
21026 * manual/creature.texi: Don't include macros.texi.
21027 * manual/intro.texi (creature.texi): Remove comment referring to
21028 NOTES.
21029
40b601fb
JM
21030 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
21031 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
21032 * configure: Regenerated.
21033 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
21034 LIBC_TRY_CC_OPTION.
21035 (libc_cv_as_i686): Likewise.
21036 (libc_cv_cc_avx): Likewise.
21037 (libc_cv_cc_sse2avx): Likewise.
21038 (libc_cv_cc_fma4): Likewise.
21039 (libc_cv_cc_novzeroupper): Likewise.
21040 * sysdeps/i386/configure: Regenerated.
21041
1a4ac776
JM
21042 [BZ #13883]
21043 * sysdeps/i386/fpu/s_cexp.S: Remove.
21044 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
21045 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
21046 * math/libm-test.inc (cexp_test): Add more tests.
21047 * sysdeps/i386/fpu/libm-test-ulps: Update.
21048 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21049
a458e7fe
AM
210502012-03-21 Allan McRae <allan@archlinux.org>
21051
21052 * timezone/Makefile: Do not install iso3166.tab and zone.tab
21053
0cb7efc5
JM
210542012-03-21 Joseph Myers <joseph@codesourcery.com>
21055
21056 [BZ #13871]
21057 * math/w_exp2.c: Do not include <float.h>.
21058 (o_threshold, u_threshold): Remove.
21059 (__exp2): Calculate result before checking finiteness and calling
21060 __kernel_standard.
21061 * math/w_exp2f.c: Likewise.
21062 * math/w_exp2l.c: Likewise.
21063 * math/libm-test.inc (exp2_test): Require overflow exception for
21064 1e6 input.
2460d3aa
JM
21065
21066 [BZ #3866]
21067 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
21068 range of signed 64-bit integers before using fistpll. Remove
21069 checks for whether integers fit in mantissa bits.
21070 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
21071 the range of signed 32-bit integers before using fistpl. Remove
21072 checks for whether integers fit in mantissa bits.
21073 * sysdeps/i386/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 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
21078 divide-by-zero is raised for zero to large negative powers.
21079 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
21080 (__ieee754_powl): Test for y outside the range of signed 64-bit
21081 integers before using fistpll. Reduce 64-bit values to 63-bit
21082 ones as needed.
21083 * math/libm-test.inc (pow_test): Add more tests.
21084
eb96ffb0
L
210852012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21086
21087 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
21088 <stdio-common/_itoa.h>.
21089 * debug/segfault.c: Likewise.
21090 * elf/dl-cache.c: Likewise.
21091 * elf/dl-minimal.c: Likewise.
21092 * elf/dl-misc.c: Likewise.
21093 * elf/dl-sysdep.c: Likewise.
21094 * elf/dl-version.c: Likewise.
21095 * elf/rtld.c: Likewise.
21096 * hurd/hurdsock.c: Likewise.
21097 * hurd/lookup-retry.c: Likewise.
21098 * malloc/malloc.c: Likewise.
21099 * malloc/mtrace.c: Likewise.
21100 * nscd/nscd_getgr_r.c: Likewise.
21101 * nscd/nscd_getpw_r.c: Likewise.
21102 * nscd/nscd_getserv_r.c: Likewise.
21103 * posix/getopt_init.c: Likewise.
21104 * posix/wordexp.c: Likewise.
21105 * stdio-common/_itoa.c: Likewise.
21106 * stdio-common/printf_fphex.c: Likewise.
21107 * stdio-common/vfprintf.c: Likewise.
21108 * string/_strerror.c: Likewise.
21109 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
21110 * sysdeps/i386/i686/hp-timing.h: Likewise.
21111 * sysdeps/mach/_strerror.c: Likewise.
21112 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
21113 * sysdeps/mach/hurd/sethostid.c: Likewise.
21114 * sysdeps/mach/hurd/xmknodat.c: Likewise.
21115 * sysdeps/mach/xpg-strerror.c: Likewise.
21116 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21117 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
21118 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
21119 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
21120 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
21121 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
21122 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
21123 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
21124 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
21125 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
21126 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
21127 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
21128 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
21129 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
21130 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
21131 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
21132 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
21133 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
21134 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
21135 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
21136 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
21137
21138 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
21139
21140 * stdio-common/_itoa.h: Moved to ...
21141 * sysdeps/generic/_itoa.h: Here.
21142
21143 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
21144
21145 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
21146 instead of "_itoa.h" and "_itowa.h".
21147 * stdio-common/vfprintf.: Likewise.
21148
d1af992d
L
211492012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21150
21151 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
21152 <bits/wordsize.h>.
21153 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
21154 (__signbit): Likwise.
21155 (llrintf): Likwise.
21156 (llrint): Likwise.
21157
114883e0
L
211582012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21159
21160 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
21161 __WORDSIZE != 64.
21162
c135cc1b
JM
211632012-03-20 Joseph Myers <joseph@codesourcery.com>
21164
21165 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
21166 OVERFLOW_EXCEPTION_OK.
21167 * math/libm-test.inc ("Philosophy"): Update comment about
21168 exception testing.
21169 (OVERFLOW_EXCEPTION): Define.
21170 (OVERFLOW_EXCEPTION_OK): Likewise.
21171 (INVALID_EXCEPTION_OK): Renumber.
21172 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21173 (IGNORE_ZERO_INF_SIGN): Likewise.
21174 (test_exceptions): Handle FE_OVERFLOW.
21175 (exp10_test): Expect overflow exceptions.
21176 (exp2_test): Likewise.
21177 (expm1_test): Likewise.
21178 (nextafter_test): Likewise.
21179 (pow_test): Likewise.
21180 (scalbn_test): Likewise.
21181 (scalbln_test): Likewise.
21182
95443d88
L
211832012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21184
21185 * sysdeps/x86_64/bits/atomic.h
21186 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
21187 64bit integer.
21188 (atomic_exchange_acq): Likewise.
21189 (__arch_exchange_and_add_body): Likewise.
21190 (__arch_add_body): Likewise.
21191 (atomic_add_negative): Likewise.
21192 (atomic_add_zero): Likewise.
21193
490df6c4
L
211942012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21195
c2722551 21196 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
21197 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
21198
5e52b189
L
211992012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21200
21201 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
21202 Check __x86_64__ instead of __WORDSIZE.
21203
a9879d4c
L
212042012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21205
21206 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
21207
5df98260
DM
212082012-03-19 David S. Miller <davem@davemloft.net>
21209
e1497744
DM
21210 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21211
5df98260
DM
21212 * sysdeps/sparc/fpu/fenv_private.h: New file.
21213 * sysdeps/sparc/fpu/math_private.h: Use it.
21214 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
21215 Remove.
21216 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
21217 (libc_feholdexcept_setroundl): Remove.
21218 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
21219 Remove.
21220 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
21221 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
21222
b4c35121
L
212232012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21224
21225 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
21226 int64_t instead of long int.
21227 (INSERT_WORDS64): Likwise.
21228
56965fd7
L
212292012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21230
21231 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
21232 _Unwind_GetCFA return to _Unwind_Ptr first.
21233
83d1aec8
JM
212342012-03-19 Joseph Myers <joseph@codesourcery.com>
21235
1897ad44
JM
21236 [BZ #13629]
21237 * math/s_clog.c: Include <float.h>.
21238 (__clog): Scale large or subnormal inputs.
21239 * math/s_clogf.c: Likewise.
21240 * math/s_clogl.c: Likewise.
21241 * math/s_clog10.c: Include <float.h>.
21242 (M_LOG10_2): Define.
21243 (__clog10): Scale large or subnormal inputs.
21244 * math/s_clog10f.c: Likewise.
21245 * math/s_clog10l.c: Likewise.
21246 * math/libm-test.inc (clog_test): Add more tests.
21247 (clog10_test): Likewise.
21248 * sysdeps/i386/fpu/libm-test-ulps: Update.
21249 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21250
7726d6a9
JM
21251 [BZ #11451]
21252 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
21253 x and y.
21254 * math/libm-test.inc (atan2_test): Add another test.
21255
83d1aec8
JM
21256 * Makerules (common-objdir-compile): Remove.
21257 * sysdeps/unix/Makefile (config-generated): Do not add
21258 $(unix-generated) to variable.
21259 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
21260 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
21261 Remove rule.
21262 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
21263 Likewise.
21264 [generic bits/local_lim.h] (before-compile): Do not append to
21265 variable.
21266 [generic bits/local_lim.h] (common-generated): Likewise.
21267 [generic sys/param.h] (before-compile): Do not append to variable.
21268 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
21269 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
21270 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
21271 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
21272 include.
21273 [generic sys/param.h] (sys/param.h-includes): Remove variable.
21274 [generic sys/param.h] (sys/param.h-includes): Remove rule.
21275 [generic sys/param.h] ($(addprefix
21276 $(common-objpfx),$(sys/param.h-includes))): Likewise.
21277 [generic sys/param.h] (common-generated): Do not append to
21278 variable.
21279 [generic sys/param.h] (sysdep_headers): Likewise.
21280 [generic bits/errno.h] (before-compile): Do not append to
21281 variable.
21282 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
21283 rule.
21284 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
21285 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
21286 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
21287 [generic bits/errno.h] (common-generated): Do not append to
21288 variable.
21289 [generic bits/ioctls.h] (before-compile): Do not append to
21290 variable.
21291 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
21292 rule.
21293 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
21294 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
21295 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
21296 rule.
21297 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
21298 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
21299 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
21300 [generic bits/ioctls.h] (common-generated): Do not append to
21301 variable.
21302 [generic sys/syscall.h] (syscall.h): Remove variable.
21303 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
21304 rule.
21305 [generic sys/syscall.h] (before-compile): Do not append to
21306 variable.
21307 [generic sys/syscall.h] (common-generated): Likewise.
21308 * sysdeps/unix/errnos-tmpl.c: Remove file.
21309 * sysdeps/unix/errnos.awk: Likewise.
21310 * sysdeps/unix/ioctls-tmpl.c: Likewise.
21311 * sysdeps/unix/ioctls.awk: Likewise.
21312 * sysdeps/unix/mk-local_lim.c: Likewise.
21313 * sysdeps/unix/snarf-ioctls: Likewise.
21314
4851a949
RH
213152012-03-19 Richard Henderson <rth@twiddle.net>
21316
bd37f2ee
RH
21317 * sysdeps/i386/fpu/fenv_private.h: New file.
21318 * sysdeps/i386/fpu/math_private.h: Use it.
21319 (math_opt_barrier, math_force_eval): Remove.
21320 (libc_feholdexcept_setround_53bit): Remove.
21321 (libc_feupdateenv_53bit): Remove.
21322 * sysdeps/x86_64/fpu/math_private.h: Likewise.
21323 (math_opt_barrier, math_force_eval): Remove.
21324 (libc_feholdexcept): Remove.
21325 (libc_feholdexcept_setround): Remove.
21326 (libc_fetestexcept, libc_fesetenv): Remove.
21327 (libc_feupdateenv_test): Remove.
21328 (libc_feupdateenv, libc_feholdsetround): Remove.
21329 (libc_feresetround): Remove.
21330
d0adc922
RH
21331 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
21332 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
21333
0fe0f1f8
RH
21334 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
21335 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
21336 (libc_feupdateenv_testl): New.
21337 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
21338 (libc_feupdateenv_testf): New.
21339 (libc_feupdateenv): Use libc_feupdateenv_test.
21340 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
21341 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
21342
eb92c487
RH
21343 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
21344 (libc_feholdsetroundf, libc_feholdsetroundl): New.
21345 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
21346 (libc_feresetround_noex): New.
21347 (libc_feresetround_noexf): New.
21348 (libc_feresetround_noexl): New.
21349 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
21350 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
21351 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
21352 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
21353 SET_RESTORE_ROUND.
21354 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
21355 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
21356 (__cos): Likewise.
21357 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
21358 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
21359 SET_RESTORE_ROUND_NOEX.
21360 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
21361 SET_RESTORE_ROUND_NOEXF.
21362 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
21363 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
21364 (libc_feholdsetroundf): New.
21365 (libc_feresetround, libc_feresetroundf): New.
21366
7d2e8012
RH
21367 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
21368 (libc_feholdexcept_setround_53bit): Convert from macro to function.
21369 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
21370
b4dabbb4
RH
21371 * sysdeps/generic/math_private.h: Include <fenv.h>.
21372 (default_libc_feholdexcept): New.
21373 (default_libc_feholdexcept_setround): New.
21374 (default_libc_fesetenv, default_libc_feupdateenv): New.
21375 (libc_feholdexcept): Only define if undefined.
21376 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
21377 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
21378 (libc_feholdexcept_setroundl): Likewise.
21379 (libc_feholdexcept_setround_53bit): Likewise.
21380 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
21381 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
21382 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
21383 (libc_feupdateenv_53bit): Likewise.
21384 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
21385 (libc_feholdexcept): Convert from macro to inline function.
21386 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
21387 (libc_fesetenv, libc_feupdateenv): Likewise.
21388
4851a949
RH
21389 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
21390 not previously defined.
21391 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
21392 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
21393 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
21394 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
21395 * sysdeps/ieee754/flt-32/math_private.h: New file.
21396 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
21397 math_private.h below SET_FLOAT_WORD.
21398 (__isnan, __isinf_ns, __finite): Remove.
21399 (__isnanf, __isinf_nsf, __finitef): Remove.
21400
e79d442e
AS
214012012-03-18 Andreas Schwab <schwab@linux-m68k.org>
21402
21403 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21404
90b80344
DM
214052012-03-17 David S. Miller <davem@davemloft.net>
21406
21407 [BZ #6471]
21408 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
21409 for 2.16.
21410
edc21804
DM
214112012-03-16 David S. Miller <davem@davemloft.net>
21412
77e927af
DM
21413 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
21414 warnings.
21415
374976dd
DM
21416 [BZ #6471]
21417 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
21418 properly.
21419 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
21420 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
21421 sysdep_routines when subdir is sysvipc.
21422 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
21423 __getshmlba helper.
21424
edc21804
DM
21425 * sysdeps/sparc/fpu/libm-test/ulps: Update.
21426
473c3ef3
L
214272012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21428
21429 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
21430 [__LP64__].
21431
eb0f39b6
L
214322012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21433
21434 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
21435 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
21436 (__lround): Renamed to ...
21437 (__llround): This. Replace long int with long long int.
21438 Define lround functions as aliases of llround functions.
21439 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
21440
6b6cd74b
L
214412012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21442
21443 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
21444 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
21445 adresses to uintptr_t. Replace "long int" and "unsigned long
21446 int" with "greg_t" on va_arg.
21447
f1a77b01
L
214482012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21449
21450 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
21451 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
21452
21453 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
21454 Move e_machine check before EI_CLASS check. Handle x32
21455 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
21456 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
21457 SKIP_EM_IA_64 and include
21458 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
21459
21460 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
21461 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
21462 (add_system_dir): New macro.
21463
21464 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
21465 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
21466
11b90b9f
JM
214672012-03-16 Joseph Myers <joseph@codesourcery.com>
21468
c36e1d23
JM
21469 [BZ #2551]
21470 [BZ #2552]
21471 [BZ #2553]
21472 [BZ #2554]
21473 [BZ #2562]
21474 [BZ #2563]
21475 [BZ #2565]
21476 [BZ #2566]
21477 [BZ #2576]
21478 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
21479 (y0): Likewise.
21480 * math/w_j0f.c (j0f): Likewise.
21481 (y0f): Likewise.
21482 * math/w_j0l.c (__j0l): Likewise.
21483 (__y0l): Likewise.
21484 * math/w_j1.c (j1): Likewise.
21485 (y1): Likewise.
21486 * math/w_j1f.c (j1f): Likewise.
21487 (y1f): Likewise.
21488 * math/w_j1l.c (__j1l): Likewise.
21489 (__y1l): Likewise.
21490 * math/w_jn.c (jn): Likewise.
21491 (yn): Likewise.
21492 * math/w_jnf.c (jnf): Likewise.
21493 (ynf): Likewise.
21494 * math/w_jnl.c (__jnl): Likewise.
21495 (__ynl): Likewise.
21496 * math/libm-test.inc (j0_test): Add more tests.
21497 (j1_test): Likewise.
21498 (jn_test): Likewise. Add trailing semicolon to existing test.
21499 (y0_test): Likewise.
21500 (y1_test): Likewise.
21501 * sysdeps/i386/fpu/libm-test-ulps: Update.
21502 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21503
11b90b9f
JM
21504 [BZ #13851]
21505 [BZ #13854]
21506 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
21507 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
21508 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
21509 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
21510 (__tanl): Set errno for infinite argument.
21511 * sysdeps/i386/fpu/mptan.c: Remove.
21512 * sysdeps/i386/fpu/s_tan.S: Likewise.
21513 * sysdeps/i386/fpu/s_tanl.S: Likewise.
21514 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
21515 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
21516 * math/libm-test.inc (tan_test): Add more tests and enable more
21517 tests for double and long double.
21518 * sysdeps/i386/fpu/libm-test-ulps: Update.
21519 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21520
6a1bd2a1
JK
215212012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
21522
21523 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
21524 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
21525
10a803e0
RM
215262012-03-16 Roland McGrath <roland@hack.frob.com>
21527
21528 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
21529 * configure.in: Use it for both main tree and add-ons.
21530 * configure: Regenerated.
21531
f196c7f7
L
215322012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21533
21534 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
21535
8848d99d
JM
215362012-03-16 Joseph Myers <joseph@codesourcery.com>
21537
96cbe7f4
JM
21538 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
21539 in comment.
21540
8848d99d
JM
21541 [BZ #13851]
21542 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
21543 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
21544 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
21545 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
21546 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
21547 infinite argument.
21548 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
21549 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
21550 != 0 for prec == 2.
21551 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
21552 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
21553 * sysdeps/i386/fpu/s_cosl.S: Likewise.
21554 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
21555 * sysdeps/i386/fpu/s_sinl.S: Likewise.
21556 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
21557 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
21558 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
21559 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
21560 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
21561 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
21562 * math/libm-test.inc (cos_test): Add more tests and enable more
21563 tests for long double.
21564 (sin_test): Likewise.
21565 (sincos_test): Likewise.
21566 * sysdeps/i386/fpu/libm-test-ulps: Update.
21567 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21568
dd7f4703
DM
215692012-03-16 David S. Miller <davem@davemloft.net>
21570
21571 * sysdeps/sparc/fpu/math_private.h: New file.
21572
006f1daa
DM
215732012-03-15 David S. Miller <davem@davemloft.net>
21574
c0c83bc8
DM
21575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
21576 file.
e6a62e18 21577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
21578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
21579 file.
e6a62e18
DM
21580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
21581 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
21582 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
21583 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
21584 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
21585 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
21586 sysdep routines.
21587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
21588
88cb87d9
DM
21589 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
21590 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
21591
006f1daa 21592 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
21593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
21594 sparc-ifunc.h
006f1daa 21595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
21596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
21597 Likewise.
21598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
21599 Likewise.
006f1daa
DM
21600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
21601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
21602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
21603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
21604 Likewise.
006f1daa
DM
21605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
21606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
21607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
21608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
21609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
21610 Likewise.
21611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
21612 Likewise.
006f1daa
DM
21613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
21614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
21615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
21616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
21617 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
21618 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
21619 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
21620 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
21621 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
21622 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
21623 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
21624 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
21625 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
21626 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
21627 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
21628 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
21629 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
21630 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
21631 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
21632 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
21633 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
21634 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
21635 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
21636 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
21637
11e0098e
AS
216382012-03-15 Andreas Schwab <schwab@linux-m68k.org>
21639
21640 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
21641 scaling.
21642 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21643
e85b09d0
AJ
216442012-03-15 Andreas Jaeger <aj@suse.de>
21645
21646 [BZ #13852]
21647 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
21648 ieee754/flt-32 implementation for sin, cos and sincos.
21649 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
21650 * sysdeps/i386/fpu/s_cosf.S: Likewise.
21651 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
21652 * sysdeps/i386/fpu/s_sinf.S: Likewise.
21653 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
21654 ieee754/flt-32 implementation for tan.
21655
21656 * math/libm-test.inc (cos_test): Enable some large input tests for
21657 float as well
21658 (sin_test): Likewise.
21659 (sincos_test): Likewise.
21660 (tan_test): Add tests for large input.
21661
21662 * sysdeps/i386/fpu/libm-test-ulps: Update.
21663
81c64153
AJ
216642012-03-15 Andreas Jaeger <aj@suse.de>
21665
21666 [BZ #13658]
21667 * math/libm-test.inc (cos_test): Add more test cases.
21668 (sin_test): Likewise.
21669 (sincos_test): Likewise.
21670
7bbfa5c6
AJ
216712012-03-15 Andreas Jaeger <aj@suse.de>
21672
21673 [BZ #13837]
21674 * math/libm-test.inc (cos_test): Add a test case for large input
21675 value.
21676 (sin_test): Likewise.
21677 (sincos_test): Likewise.
21678
216792012-03-15 Andreas Jaeger <aj@suse.de>,
21680 Joseph Myers <joseph@codesourcery.com>
21681
21682 [BZ #13658]
0671f479 21683 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
21684 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
21685 * sysdeps/i386/fpu/branred.c: Likewise.
21686 * sysdeps/i386/fpu/dosincos.c: Likewise.
21687 * sysdeps/i386/fpu/mpa.c: Likewise.
21688 * sysdeps/i386/fpu/s_cos.S: Likewise.
21689 * sysdeps/i386/fpu/s_sin.S: Likewise.
21690 * sysdeps/i386/fpu/s_sincos.S: Likewise.
21691 * sysdeps/i386/fpu/sincos32.c: Likewise.
21692
21693 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
21694 Define.
21695 (libc_feupdateenv_53bit): Define.
21696 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
21697 Define.
21698 (libc_feupdateenv_53bit): Define.
21699
21700 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
21701 53 bit (without extend i386 double precision).
21702
21703 * math/libm-test.inc (sincos_test): Add tests for large input.
21704 (sin): Likewise.
21705 (cos): Likewise.
21706
21707 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
21708
9cad04ea
AS
217092012-03-15 Andreas Schwab <schwab@linux-m68k.org>
21710
21711 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21712
f7062b9a
DM
217132012-03-15 David S. Miller <davem@davemloft.net>
21714
21715 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
21716 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
21717 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
21718 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
21719 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
21720 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
21721 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
21722 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
21723 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
21724 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
21725 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
21726 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
21727 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
21728 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
21729 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
21730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
21731 file.
f7062b9a 21732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
21733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
21734 file.
f7062b9a 21735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
21736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
21737 file.
f7062b9a 21738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
21739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
21740 file.
f7062b9a
DM
21741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
21742 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
21743 fmin/fmax sysdep routines.
21744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
21745
7bd951ff
DM
217462012-03-14 David S. Miller <davem@davemloft.net>
21747
559398ab
DM
21748 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
21749 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
21750 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
21751 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
21752 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
21753 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
21754 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
21755 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
21756 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
21757 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
21758 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
21759 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
21760 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
21761 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
21762 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
21763 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
21764 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
21765 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
21766 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
21767 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
21768 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
21769 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
21770 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
21771 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
21772 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
21773 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
21774 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
21775 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
21776 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
21777 routines.
21778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
21779 file.
559398ab 21780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
21781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
21782 file.
559398ab 21783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
21784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
21785 file.
559398ab 21786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
21787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
21788 file.
559398ab 21789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
21790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
21791 file.
559398ab 21792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
21793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
21794 file.
21795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
21796 file.
21797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
21798 file.
21799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
21800 file.
21801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
21802 New file.
21803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
21804 file.
21805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
21806 file.
559398ab 21807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
21808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
21809 file.
559398ab 21810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
21811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
21812 file.
559398ab 21813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
21814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
21815 file.
559398ab 21816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
21817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
21818 VIS3 routines.
559398ab
DM
21819
21820 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
21821 New file.
21822
5a1c1e32
DM
21823 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21824
eae47a36
DM
21825 * sysdeps/sparc/configure.in: New file.
21826 * sysdeps/sparc/configure: Generate.
21827 * configure.in (libc_cv_sparc_as_vis3): Substitute.
21828 * configure: Regenerate.
21829 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
21830 * config.make.in (have-as-vis3): New.
21831 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
21832 available use -Av9d instead of -Av9a.
21833 * sysdeps/sparc/sparc64/Makefile: Likewise.
21834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
21835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
21836 New file.
21837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
21838 file.
21839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
21840 New file.
21841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
21842 file.
eae47a36
DM
21843 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
21844 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
21845 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
21846 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
21847 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
21848
c0c83bc8
DM
21849 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
21850 fzeros/fnegs to load 0x80000000 into a float register instead of
21851 using the stack.
7bd951ff
DM
21852 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
21853
bd951ccb
JM
218542012-03-14 Joseph Myers <joseph@codesourcery.com>
21855
21856 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21857 bits/syscall.h.
21858 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
21859 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
21860 ($(inst_includedir)/bits/syscall.h): Remove rule.
21861 ($(objpfx)bits/syscall.d): Include instead of
21862 $(objpfx)syscall-list.d.
21863 (generated): Change syscall-list.h and syscall-list.d to
21864 bits/syscall.h and bits/syscall.d.
21865
bb4e6db2
RM
218662012-03-14 Roland McGrath <roland@hack.frob.com>
21867
21868 [BZ #13846]
21869 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
21870
aa4a2ae1
JM
218712012-03-14 Joseph Myers <joseph@codesourcery.com>
21872
e456826d
JM
21873 [BZ #13841]
21874 * math/s_csqrt.c: Include <float.h>.
21875 (__csqrt): Scale large or subnormal inputs.
21876 * math/s_csqrtf.c: Likewise.
21877 * math/s_csqrtl.c: Likewise.
21878 * math/libm-test.inc (csqrt_test): Add more tests.
21879 * sysdeps/i386/fpu/libm-test-ulps: Update.
21880 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21881
aa4a2ae1
JM
21882 [BZ #13840]
21883 * math/libm-test.inc (hypot_test): Add more tests.
21884
7c10fd35
DM
218852012-03-13 David S. Miller <davem@davemloft.net>
21886
21887 [BZ #13840]
21888 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
21889 double-precision for the calculation instead of scaling.
21890
f453b98b
JM
218912012-03-13 Joseph Myers <joseph@codesourcery.com>
21892
21893 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
21894 manipulate bits before adding and subtracting TWO52[sx].
21895 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
21896 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
21897 Likewise.
21898 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
21899
09a3453f
DM
219002012-03-13 David S. Miller <davem@davemloft.net>
21901
8e59da90
DM
21902 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
21903 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
21904 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
21905 rtld-global-offsets.h
21906 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21907
2a8ab7f2
DM
21908 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
21909 large parameters.
21910
10f62770
DM
21911 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
21912
5f0bdb18
DM
21913 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
21914 'err' in the ifdef scope in which it is actually used.
21915
09a3453f
DM
21916 * nss/nss_db/db-init.c: Include string.h
21917
b4b2eb5e
DM
219182012-03-12 David S. Miller <davem@davemloft.net>
21919
98bb2f1c
DM
21920 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
21921 masking out of the most significant byte of random value used.
21922 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21923 Fix coding style in previous change.
21924
b4b2eb5e
DM
21925 * sysdeps/unix/sysv/linux/kernel-features.h
21926 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
21927 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
21928 expression.
21929 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
21930 later.
21931
6e226b09
DM
219322012-03-11 David S. Miller <davem@davemloft.net>
21933
a1bcbd40
DM
21934 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
21935 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
21936 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
21937 for 'resultvar' otherwise things get truncated on 64-bit.
21938
cb9d6174
DM
21939 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21940 Fix masking out of the most significant byte of random value used.
21941
6e226b09
DM
21942 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21943
058c132d
AS
219442012-03-10 Andreas Schwab <schwab@linux-m68k.org>
21945
21946 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21947
2d2cd515
DM
219482012-03-09 David S. Miller <davem@davemloft.net>
21949
21950 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
21951 variables with appropriate CPP guards.
21952 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
21953 frame pointer, not the stack pointer. Correct layout comments. Fix test
21954 on resulting framesize and the management of the outregs buffer for pltexit.
21955 Preserve floating point return values across _dl_call_pltexit call.
21956 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
21957 framesize and the management of the outregs buffer for pltexit.
21958 Preserve floating point return values across _dl_call_pltexit
21959 call.
21960 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
21961 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
21962 (print_exit): Fix format string for return register value.
21963
9a07f9d0
JM
219642012-03-10 Joseph Myers <joseph@codesourcery.com>
21965
21966 * sunrpc/Makefile (others): Add rpcgen.
21967 ($(objpfx)rpcgen): Remove special build rule and dependency on
21968 libc.
21969 * sunrpc/rpcgen.c: New file.
21970
547b5e30
PE
219712012-03-09 Paul Eggert <eggert@cs.ucla.edu>
21972
c524201a
PE
21973 [BZ #13673]
21974 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
21975 * stdio-common/bug-vfprintf-nargs.c: Likewise.
21976 * sysdeps/i386/crti.S: Likewise.
21977 * sysdeps/i386/crtn.S: Likewise.
21978 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
21979 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
21980 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
21981 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
21982 * sysdeps/sh/crti.S: Likewise.
21983 * sysdeps/sh/crtn.S: Likewise.
21984 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
21985
7b6235f2
PE
21986 [BZ #13673]
21987 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
21988 with URL.
21989 * locale/programs/locfile-kw.gperf: Likewise.
21990 * locale/programs/charmap-kw.h: Regenerated.
21991 * locale/programs/locfile-kw.h: Likewise.
21992
547b5e30
PE
21993 [BZ #13673]
21994 * intl/plural.y: Replace FSF snail mail address with URL.
21995 * intl/plural.c: Regenerated.
21996
5f0a5dae
RH
219972012-03-09 Richard Henderson <rth@twiddle.net>
21998
21999 * include/math_private.h: Remove file.
22000 * math/math_private.h: Move file ...
22001 * sysdeps/generic/math_private.h: ... here.
22002
b8c03620
RH
22003 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
22004 * sysdeps/powerpc/fpu/math_private.h: Likewise.
22005 * sysdeps/x86_64/fpu/math_private.h: Likewise.
22006
4e234f5d 22007 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
22008 and <math_private.h>.
22009 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
22010 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
22011 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
22012 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
22013 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
22014 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
22015 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22016 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22017 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22018 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22019 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22020 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
22021 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22022 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22023 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22024 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22025 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22026 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22027 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22028 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
22029 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22030 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22031 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22032 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22033 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
22034 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22035 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22036 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22037 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22038 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22039 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22040 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22041 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
22042 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22043 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
22044 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22045 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22046 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
22047 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
22048 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22049 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
22050 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
22051 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
22052 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
22053 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
22054 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
22055 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
22056 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
22057 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22058 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
22059 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
22060 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
22061 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
22062 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
22063 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
22064 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22065 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22066 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
22067 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
22068 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
22069 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22070 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
22071 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22072 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
22073 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
22074 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22075 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22076 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22077 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
22078 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
22079 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
22080 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22081 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
22082 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22083 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
22084 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
22085 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
22086 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
22087 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
22088 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
22089 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
22090 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
22091 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
22092 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
22093 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22094 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
22095 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
22096 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
22097 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
22098 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
22099 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
22100 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
22101 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22102 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
22103 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
22104 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
22105 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22106 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
22107 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22108 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
22109 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
22110 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
22111 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
22112 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
22113 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
22114 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
22115 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
22116 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
22117 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
22118 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
22119 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
22120 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
22121 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
22122 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
22123 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
22124 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22125 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
22126 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
22127 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
22128 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
22129 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
22130 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
22131 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22132 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
22133 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
22134 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
22135 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
22136 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
22137 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
22138 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
22139 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
22140 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
22141 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
22142 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
22143 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
22144 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
22145 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
22146 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
22147 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
22148 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
22149 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22150 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
22151 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
22152 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
22153 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
22154 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
22155 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
22156 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
22157 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
22158 * sysdeps/ieee754/k_standard.c: Likewise.
22159 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
22160 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
22161 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
22162 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
22163 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
22164 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
22165 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
22166 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
22167 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
22168 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
22169 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22170 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
22171 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
22172 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
22173 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
22174 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
22175 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
22176 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
22177 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
22178 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
22179 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
22180 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
22181 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
22182 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
22183 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
22184 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
22185 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
22186 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
22187 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
22188 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
22189 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
22190 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
22191 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
22192 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
22193 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
22194 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
22195 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
22196 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
22197 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
22198 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
22199 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
22200 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
22201 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
22202 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
22203 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
22204 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
22205 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
22206 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
22207 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
22208 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
22209 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
22210 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
22211 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
22212 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
22213 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
22214 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
22215 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
22216 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
22217 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
22218 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
22219 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
22220 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
22221 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
22222 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
22223 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
22224 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
22225 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
22226 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
22227 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
22228 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
22229 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
22230 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
22231 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
22232 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
22233 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
22234 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
22235 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
22236 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
22237 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22238 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
22239 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
22240 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
22241 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
22242 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
22243 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
22244 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
22245 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
22246 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
22247 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
22248 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
22249 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
22250 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
22251 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
22252 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
22253 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
22254 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
22255 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
22256 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
22257 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
22258 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
22259 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
22260 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
22261 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
22262 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
22263 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
22264 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
22265 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
22266 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
22267 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
22268 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
22269 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
22270 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
22271 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
22272 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
22273 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
22274 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22275 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
22276 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
22277 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22278 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
22279 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22280 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
22281 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22282 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
22283 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
22284 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
22285 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
22286 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
22287 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
22288 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
22289 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
22290 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
22291 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
22292 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
22293 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
22294 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
22295 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
22296 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
22297 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
22298 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
22299 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
22300 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
22301 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
22302 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
22303 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
22304 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
22305 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
22306 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
22307 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
22308 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
22309 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
22310 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
22311 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
22312 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
22313 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
22314 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
22315 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
22316 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
22317 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
22318 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
22319 * sysdeps/ieee754/s_lib_version.c: Likewise.
22320 * sysdeps/ieee754/s_matherr.c: Likewise.
22321 * sysdeps/ieee754/s_signgam.c: Likewise.
22322 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22323 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22324 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
22325 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
22326 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
22327 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
22328 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
22329 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
22330 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
22331 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
22332 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
22333 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
22334 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
22335 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
22336 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
22337 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
22338 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22339 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
22340 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22341 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
22342 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 22343
1991fa03
JM
223442012-03-09 Joseph Myers <joseph@codesourcery.com>
22345
22346 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
22347 * sunrpc/rpc_main.c: Likewise.
22348 * sunrpc/rpc_svcout.c: Likewise.
22349
60d6f5a6
DM
223502012-03-09 David S. Miller <davem@davemloft.net>
22351
22352 * include/math_private.h: New file.
22353
4962050e
JM
223542012-03-09 Joseph Myers <joseph@codesourcery.com>
22355
02a6f887
JM
22356 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
22357 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
22358 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
22359 from <bits/socket_type.h>.
22360 (enum __socket_type): Don't define here.
22361 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
22362 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22363 bits/socket_type.h.
22364
c6e013c1
JM
22365 [BZ #13566]
22366 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
22367 checking __USE_GNU.
22368
4962050e
JM
22369 * Makerules ($(inst_includedir)/%.h): New rule.
22370 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
22371 (install-others): Remove variable setting.
22372 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
22373
38842f45
RH
223742012-03-08 Richard Henderson <rth@twiddle.net>
22375
67bb6da6
RH
22376 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
22377 from macro to inline function; merge with the
22378 !__LIBC_INTERNAL_MATH_INLINES version.
22379 (__ieee754_sqrtf): Likewise.
22380
15194b4b
RH
22381 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
22382 to inline function.
22383 (__rintf, __floor, __floorf): Likewise.
22384
64e21ede
RH
22385 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
22386 macro to inline function.
22387 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
22388
38842f45
RH
22389 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
22390 not <math/math_private.h>.
22391
c64bf5fe
DM
223922012-03-08 David S. Miller <davem@davemloft.net>
22393
22394 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
22395 copyright year.
22396 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
22397
82d86f28
TS
223982012-03-08 Thomas Schwinge <thomas@codesourcery.com>
22399
22400 * resolv/gai_misc.c (handle_requests): Fix struct timespec
22401 normalization.
22402 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
22403 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
22404
aea5d727
UD
224052012-03-08 Ulrich Drepper <drepper@gmail.com>
22406
22407 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
22408 be defined individually, they must be defined as a block. Define
22409 S for printing a string instead of hidint the different by using a
22410 macro for adding the 'l'.
22411 * stdio-common/tst-fphex-wide.c: Adjust.
22412
70bca0a3
MP
224132012-03-07 Marek Polacek <polacek@redhat.com>
22414
22415 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
22416
65b81130
MP
224172012-03-08 Marek Polacek <polacek@redhat.com>
22418
22419 [BZ #13806]
22420 * stdio-common/Makefile (tests): Add tst-fphex-wide.
22421 * stdio-common/tst-fphex.c: Define a few macros to make the
22422 test reusable. Use them.
22423 * stdio-common/tst-fphex-wide.c: New file.
22424
07037eeb
JM
224252012-03-08 Joseph Myers <joseph@codesourcery.com>
22426
a7a93d50
JM
22427 [BZ #6911]
22428 * manual/macros.texi (gnusystems): New macro.
22429 (nongnusystems): Likewise.
22430 (gnulinuxhurdsystems): Likewise.
22431 (gnuhurdsystems): Likewise..
22432 (gnulinuxsystems): Likewise.
22433 * manual/charset.texi: Use new macros or @theglibc{} to refer to
22434 variants of the GNU system, not "GNU system".
22435 * manual/conf.texi: Likewise.
22436 * manual/errno.texi: Likewise. Update example of errno macro
22437 expansion.
22438 * manual/filesys.texi: Likewise.
22439 (getumask): Document as specific to GNU/Hurd.
22440 * manual/install.texi: Likewise. Reword some references to
22441 GNU/Linux.
22442 * manual/intro.texi: Likewise.
22443 * manual/io.texi: Likewise.
22444 (File Name Portability): Detail which constraints are inapplicable
22445 to all GNU systems and which are only inapplicable to GNU/Hurd.
22446 * manual/job.texi: Likewise.
22447 * manual/llio.texi: Likewise.
22448 (O_NOCTTY): Document as present on GNU/Linux.
22449 * manual/maint.texi: Likewise.
22450 * manual/memory.texi: Likewise.
22451 * manual/pattern.texi: Likewise.
22452 * manual/pipe.texi: Likewise.
22453 * manual/process.texi: Likewise.
22454 * manual/resource.texi: Likewise.
22455 (RUSAGE_CHILDREN): Remove statement about specifying a particular
22456 child on GNU/Hurd.
22457 * manual/setjmp.texi: Likewise.
22458 * manual/signal.texi: Likewise.
22459 * manual/startup.texi: Likewise.
22460 * manual/stdio.texi: Likewise.
22461 * manual/terminal.texi: Likewise.
22462 (ONLCR): Document as POSIX.
22463 (OXTABS): Document availability on GNU/Linux as XTABS.
22464 (ONOEOT): Document availability separately from other bits.
22465 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
22466 * manual/time.texi: Likewise.
22467 * manual/users.texi: Likewise.
22468 * INSTALL: Regenerated.
22469 * sysdeps/gnu/errlist.c: Regenerated.
22470
07037eeb
JM
22471 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
22472 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
22473 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
22474 puts.
22475 * configure: Regenerated.
22476
d1d3431a
JM
224772012-03-07 Joseph Myers <joseph@codesourcery.com>
22478
af6a1e37
JM
22479 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
22480 default includes instead of AC_HEADER_CHECK.
22481 * sysdeps/i386/configure: Regenerated.
22482
d1d3431a
JM
22483 [BZ #10716]
22484 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
22485 * math/s_cacoshf.c (__cacoshf): Likewise.
22486 * math/s_cacoshl.c (__cacoshl): Likewise.
22487 * math/s_casinh.c (__casinh): Set signs of result from argument.
22488 * math/s_casinhf.c (__casinhf): Likewise.
22489 * math/s_casinhl.c (__casinhl): Likewise.
22490 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
22491 (casinh_test): Add more tests.
22492 * sysdeps/i386/fpu/libm-test-ulps: Update.
22493 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22494
482ff4da
UD
224952012-03-07 Ulrich Drepper <drepper@gmail.com>
22496
872fda05
UD
22497 * po/zh_TW.po: Update from translation team.
22498
a4300c7a
UD
22499 * login/Makefile (distribute): Remove variable.
22500 * catgets/Makefile: Likewise.
22501 * mach/Makefile: Likewise.
22502 * malloc/Makefile: Likewise.
22503 * misc/Makefile: Likewise.
22504 * iconv/Makefile: Likewise.
22505 * nscd/Makefile: Likewise.
22506 * hurd/Makefile: Likewise.
22507 * manual/Makefile: Likewise.
22508 * locale/Makefile: Likewise.
22509 * intl/Makefile: Likewise.
22510 * conform/Makefile: Likewise.
22511 * nss/Makefile: Likewise.
22512 * time/Makefile: Likewise.
22513 * soft-fp/Makefile: Likewise.
22514 * dirent/Makefile: Likewise.
22515 * gmon/Makefile: Likewise.
22516 * po/Makefile: Likewise.
22517 * rt/Makefile: Likewise.
22518 * socket/Makefile: Likewise.
22519 * math/Makefile: Likewise.
22520 * signal/Makefile: Likewise.
22521 * debug/Makefile: Likewise.
22522 * elf/Makefile: Likewise.
22523 * timezone/Makefile: Likewise.
22524 * stdlib/Makefile: Likewise.
22525 * iconvdata/Makefile: Likewise.
22526 * sunrpc/Makefile: Likewise.
22527 * io/Makefile: Likewise.
22528 * argp/Makefile: Likewise.
22529 * inet/Makefile: Likewise.
22530 * hesiod/Makefile: Likewise.
22531 * grp/Makefile: Likewise.
22532 * csu/Makefile: Likewise.
22533 * wctype/Makefile: Likewise.
22534 * crypt/Makefile: Likewise.
22535 * libio/Makefile: Likewise.
22536 * string/Makefile: Likewise.
22537 * nis/Makefile: Likewise.
22538 * resolv/Makefile: Likewise.
22539 * stdio-common/Makefile: Likewise.
22540 * wcsmbs/Makefile: Likewise.
22541 * dlfcn/Makefile: Likewise.
22542 * posix/Makefile: Likewise.
22543
3b7c4e74 22544 [BZ #6959]
482ff4da
UD
22545 * timezone/Makefile: Don't install timezone files, just the programs
22546 and scripts.
22547
f72ed77d
UD
225482012-03-06 Ulrich Drepper <drepper@gmail.com>
22549
a000466f
UD
22550 * nss/databases.def: Add missing gshadow entry.
22551
f72ed77d
UD
22552 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
22553
a53b7a4e
MP
225542012-03-06 Marek Polacek <polacek@redhat.com>
22555
22556 [BZ #13726]
22557 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
22558 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
22559 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
22560 * stdio-common/tst-long-dbl-fphex.c: New file.
22561
e9258400
DM
225622012-03-06 David S. Miller <davem@davemloft.net>
22563
22564 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22565 (set_obp_int): New function.
22566 (get_obp_int): New function.
22567 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
22568 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
22569 Avoid unused variable warnings on 'val' and use builtin_expect.
22570 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
22571 __builtin_expect.
e9258400
DM
22572 (INLINE_CLONE_SYSCALL): Likewise.
22573
3bd2c723
DM
225742012-03-05 David S. Miller <davem@davemloft.net>
22575
22576 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22577
bbb78d03
AS
225782012-03-05 Andreas Schwab <schwab@linux-m68k.org>
22579
884c5db4
AS
22580 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22581
bbb78d03
AS
22582 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
22583 only for |x| >= 40.
22584 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22585
1c9f702a 225862012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
22587
22588 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
22589 Replace gettimeofday with __vdso_gettimeofday.
22590
7be16f82
RM
22591 * sysdeps/unix/sysv/linux/x86_64/init-first.c
22592 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
22593 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
22594
22595 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
22596 time with __vdso_time.
22597
ed58a00f
JM
225982012-03-05 Joseph Myers <joseph@codesourcery.com>
22599
22600 * manual/lang.texi (size_t): Note types to which size_t may be
22601 equivalent with the GNU C Library, but do not describe when
22602 differences between them are significant.
22603
30ee4ced
AJ
226042012-03-05 Andreas Jaeger <aj@suse.de>
22605
22606 * sysdeps/i386/fpu/libm-test-ulps: Update.
22607
b7cd39e8
JM
226082012-03-05 Joseph Myers <joseph@codesourcery.com>
22609
22610 [BZ #3976]
22611 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
22612 (__ieee754_pow): Save and restore rounding mode and use
22613 round-to-nearest for main computations.
22614 * math/libm-test.inc (pow_test_tonearest): New function.
22615 (pow_test_towardzero): Likewise.
22616 (pow_test_downward): Likewise.
22617 (pow_test_upward): Likewise.
22618 (main): Call the new functions.
22619 * sysdeps/i386/fpu/libm-test-ulps: Update.
22620 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
22621
22622 [BZ #3976]
22623 * math/libm-test.inc (cosh_test_tonearest): New function.
22624 (cosh_test_towardzero): Likewise.
22625 (cosh_test_downward): Likewise.
22626 (cosh_test_upward): Likewise.
22627 (sinh_test_tonearest): Likewise.
22628 (sinh_test_towardzero): Likewise.
22629 (sinh_test_downward): Likewise.
22630 (sinh_test_upward): Likewise.
22631 (main): Call the new functions.
22632 * sysdeps/i386/fpu/libm-test-ulps: Update.
22633 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22634
6c6a98c9
TV
226352012-03-05 Tom de Vries <tom@codesourcery.com>
22636
22637 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
22638 default stack guard is set in last bytes.
22639 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
22640
21bb2d2e 226412012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 22642
21bb2d2e 22643 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 22644
21bb2d2e
AJ
22645 [BZ #13656]
22646 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
22647 possibly allocate from heap instead of stack.
22648 * stdio-common/bug-vfprintf-nargs.c: New file.
22649 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 22650
c6922934
AS
226512012-03-03 Andreas Schwab <schwab@linux-m68k.org>
22652
22653 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22654
bc957d53
MP
226552012-03-03 Marek Polacek <polacek@redhat.com>
22656
22657 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
22658 * math/math_private.h: Likewise.
22659 * stdlib/tst-strtod.c: Likewise.
22660 * sysdeps/i386/i486/bits/atomic.h: Likewise.
22661 * sysdeps/x86_64/bits/atomic.h: Likewise.
22662
6358490d
DM
226632012-03-02 David S. Miller <davem@davemloft.net>
22664
22665 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
22666 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
22667 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
22668 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
22669 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
22670 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
22671 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
22672 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
22673
01ae168d
RM
226742012-03-02 Roland McGrath <roland@hack.frob.com>
22675
d9a17c07
RM
22676 [BZ #13792]
22677 * manual/examples/README: New file, says the example source files
22678 can be used under GPL>=2.
22679 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
22680 line containing just "*/".
22681 * manual/examples/add.c: Add copyright header (GPL>=2).
22682 * manual/examples/argp-ex1.c: Likewise.
22683 * manual/examples/argp-ex2.c: Likewise.
22684 * manual/examples/argp-ex3.c: Likewise.
22685 * manual/examples/argp-ex4.c: Likewise.
22686 * manual/examples/atexit.c: Likewise.
22687 * manual/examples/db.c: Likewise.
22688 * manual/examples/dir.c: Likewise.
22689 * manual/examples/dir2.c: Likewise.
22690 * manual/examples/execinfo.c: Likewise.
22691 * manual/examples/filecli.c: Likewise.
22692 * manual/examples/filesrv.c: Likewise.
22693 * manual/examples/fmtmsgexpl.c: Likewise.
22694 * manual/examples/genpass.c: Likewise.
22695 * manual/examples/inetcli.c: Likewise.
22696 * manual/examples/inetsrv.c: Likewise.
22697 * manual/examples/isockad.c: Likewise.
22698 * manual/examples/longopt.c: Likewise.
22699 * manual/examples/memopen.c: Likewise.
22700 * manual/examples/memstrm.c: Likewise.
22701 * manual/examples/mkfsock.c: Likewise.
22702 * manual/examples/mkisock.c: Likewise.
22703 * manual/examples/mygetpass.c: Likewise.
22704 * manual/examples/pipe.c: Likewise.
22705 * manual/examples/popen.c: Likewise.
22706 * manual/examples/rprintf.c: Likewise.
22707 * manual/examples/search.c: Likewise.
22708 * manual/examples/select.c: Likewise.
22709 * manual/examples/setjmp.c: Likewise.
22710 * manual/examples/sigh1.c: Likewise.
22711 * manual/examples/sigusr.c: Likewise.
22712 * manual/examples/stpcpy.c: Likewise.
22713 * manual/examples/strdupa.c: Likewise.
22714 * manual/examples/strftim.c: Likewise.
22715 * manual/examples/strncat.c: Likewise.
22716 * manual/examples/subopt.c: Likewise.
22717 * manual/examples/swapcontext.c: Likewise.
22718 * manual/examples/termios.c: Likewise.
22719 * manual/examples/testopt.c: Likewise.
22720 * manual/examples/testpass.c: Likewise.
22721 * manual/examples/timeval_subtract.c: Likewise.
22722
01ae168d
RM
22723 [BZ #13792]
22724 * manual/time.texi (Elapsed Time): Move timeval_subtract example
22725 function to ...
22726 * manual/timeval_subtract.c.texi: ... here, new file.
22727
49efa33d
DM
227282012-03-02 David S. Miller <davem@davemloft.net>
22729
22730 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
22731
28afd92d
JM
227322012-03-02 Joseph Myers <joseph@codesourcery.com>
22733
804360ed
JM
22734 [BZ #3976]
22735 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
22736 (__sin): Save and restore rounding mode and use round-to-nearest
22737 for all computations.
22738 (__cos): Save and restore rounding mode and use round-to-nearest
22739 for all computations.
22740 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
22741 <fenv.h>.
22742 (tan): Save and restore rounding mode and use round-to-nearest for
22743 all computations.
22744 * math/libm-test.inc (cos_test_tonearest): New function.
22745 (cos_test_towardzero): Likewise.
22746 (cos_test_downward): Likewise.
22747 (cos_test_upward): Likewise.
22748 (sin_test_tonearest): Likewise.
22749 (sin_test_towardzero): Likewise.
22750 (sin_test_downward): Likewise.
22751 (sin_test_upward): Likewise.
22752 (tan_test_tonearest): Likewise.
22753 (tan_test_towardzero): Likewise.
22754 (tan_test_downward): Likewise.
22755 (tan_test_upward): Likewise.
22756 (main): Call the new functions.
22757 * sysdeps/i386/fpu/libm-test-ulps: Update.
22758 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22759
a6d06d7b
JM
22760 [BZ #10135]
22761 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
22762 small n, then large n, before computing and testing k+n.
22763 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
22764 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
22765 Likewise.
22766 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
22767 Likewise.
22768 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
22769 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
22770 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
22771 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
22772 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
22773 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
22774 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
22775 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
22776 * math/libm-test.inc (scalbn_test): Add more tests.
22777 (scalbln_test): Likewise.
22778
07e12bb3
JM
22779 * manual/filesys.texi (mode_t): Describe constraints on size and
22780 signedness, not exact equivalence to a particular type.
22781 (ino_t): Likewise.
22782 (ino64_t): Likewise.
22783 (dev_t): Likewise.
22784 (nlink_t): Likewise.
22785 (blkcnt_t): Likewise.
22786 (blkcnt64_t): Likewise.
22787 * manual/llio.texi (off_t): Likewise.
22788
28afd92d
JM
22789 [BZ #3976]
22790 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
22791 (__ieee754_exp): Save and restore rounding mode and use
22792 round-to-nearest for all computations.
22793 * math/libm-test.inc (exp_test_tonearest): New function.
22794 (exp_test_towardzero): Likewise.
22795 (exp_test_downward): Likewise.
22796 (exp_test_upward): Likewise.
22797 (main): Call the new functions.
22798 * sysdeps/i386/fpu/libm-test-ulps: Update.
22799 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22800
b1eeb65d
CD
228012012-03-01 Chris Demetriou <cgd@google.com>
22802
22803 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
22804 have predictable order.
22805
53362a4b
DM
228062012-03-01 David S. Miller <davem@davemloft.net>
22807
3c969083
DM
22808 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
22809
759707de
DM
22810 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
22811 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
22812 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
22813 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
22814
dfdb8ff2
DM
22815 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
22816 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
22817 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
22818 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
22819 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
22820 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
22821 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
22822 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
22823 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
22824
ead89f96
DM
22825 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22826
7f66bd07
DM
22827 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
22828 * sysdeps/sparc/fpu/libm-test-ulps: to here.
22829 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
22830
53362a4b
DM
22831 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
22832 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
22833 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
22834 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
22835 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
22836 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
22837 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
22838 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
22839 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
22840 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
22841 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
22842 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
22843 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
22844 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
22845 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
22846 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22847 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
22848 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
22849 * sysdeps/sparc/elf/configure: Regenerated.
22850
7b1902cb
JM
228512012-03-01 Joseph Myers <joseph@codesourcery.com>
22852
bec039bc
JM
22853 * configure.in (AS, LD): Require binutils 2.20 or later.
22854 * configure: Regenerated.
22855 * manual/install.texi (Tools for Compilation): Give binutils 2.20
22856 as required minimum version.
22857 * INSTALL: Regenerated.
22858
7b1902cb
JM
22859 [BZ #2541]
22860 [BZ #4108]
22861 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
22862 before squaring exponent.
22863 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
22864 bottom long double and 27 bits of top long double before squaring
22865 exponent.
22866 * math/libm-test.inc (erfc_test): Add more tests.
22867 * sysdeps/i386/fpu/libm-test-ulps: Update.
22868 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22869 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22870
f775c276
KT
228712012-03-01 Kai Tietz <ktietz@redhat.com>
22872
22873 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
22874 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
22875 containing bit-fields.
22876 * soft-fp/extended.h (_FP_UNION_E): Likewise.
22877 * soft-fp/single.h (_FP_UNION_S): Likewise.
22878 * soft-fp/double.h (_FP_UNION_D): Likewise.
22879
5b8a4d4a
JM
228802012-02-29 Joseph Myers <joseph@codesourcery.com>
22881
0bab47b6
JM
22882 [BZ #13786]
22883 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
22884 not include ../strcmp.S.
22885 [USE_AS_STRNCASECMP_L]: Likewise.
22886 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
22887 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
22888 * sysdeps/i386/i686/multiarch/strncase_l-c.c
22889 (__strncasecmp_l_ia32): Define as alias to
22890 __strncasecmp_l_nonascii.
22891
0fcad3e2
JM
22892 [BZ #5794]
22893 * math/libm-test.inc (expm1_test): Add test for bug 5794.
22894 * sysdeps/i386/fpu/libm-test-ulps: Update.
22895 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22896
5b8a4d4a
JM
22897 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
22898 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22899
8fdceb2e
JL
229002012-02-29 Jeff Law <law@redhat.com>
22901
22902 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
22903 out of bounds read.
22904
1f393a11
MP
229052012-02-29 Marek Polacek <polacek@redhat.com>
22906
22907 [BZ #13706]
22908 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
22909 * elf/Makefile: Add rules to run tst-unused-dep.out.
22910
8847f037
DM
229112012-02-28 David S. Miller <davem@davemloft.net>
22912
22913 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
22914 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
22915 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
22916 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
22917 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
22918 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
22919
169d7f11
JM
229202012-02-29 Joseph Myers <joseph@codesourcery.com>
22921
22922 * math/libm-test.inc (llround_test): Move one test from
22923 lround_test. Use TEST_f_L in moved test.
22924 (lround_test): Move misplaced test to llround_test. Add testcase
22925 from bug 2561.
22926
39adf059
UD
229272012-02-28 Ulrich Drepper <drepper@gmail.com>
22928
22929 * sysdeps/x86_64/fpu/e_expf.S: New file.
22930 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
22931
71b5d1c5
SB
229322012-02-28 Stanislav Brabec <sbrabec@suse.cz>
22933
22934 [BZ #13637]
22935 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
22936 of remain_len that may cause incomplete multi-byte character and
22937 false match.
22938 * posix/bug-regex33.c: New file.
22939 * posix/Makefile (tests): Add bug-regex33.
22940
1f77f049
JM
229412012-02-28 Joseph Myers <joseph@codesourcery.com>
22942
22943 * manual/macros.texi: New file.
22944 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
22945 * manual/libc.texinfo: Include macros.texi.
22946 * manual/creatute.texi: Likewise.
22947 * manual/install.texi: Likewise.
22948 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
22949 @glibcadj{} in references to the GNU C Library.
22950 * manual/charset.texi: Likewise.
22951 * manual/conf.texi: Likewise.
22952 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
22953 when not using those macros.
22954 * manual/creature.texi: Likewise.
22955 * manual/crypt.texi: Likewise.
22956 * manual/errno.texi: Likewise.
22957 * manual/filesys.texi: Likewise.
22958 * manual/header.texi: Likewise.
22959 * manual/install.texi: Likewise.
22960 * manual/intro.texi: Likewise.
22961 * manual/io.texi: Likewise.
22962 * manual/job.texi: Likewise.
22963 * manual/lang.texi: Likewise.
22964 * manual/libc.texiinfo: Likewise.
22965 * manual/llio.texi: Likewise.
22966 * manual/locale.texi: Likewise.
22967 * manual/maint.texi: Likewise.
22968 * manual/math.texi: Likewise.
22969 * manual/memory.texi: Likewise.
22970 * manual/message.texi: Likewise.
22971 * manual/nss.texi: Likewise.
22972 * manual/pattern.texi: Likewise.
22973 * manual/process.texi: Likewise.
22974 * manual/resource.texi: Likewise.
22975 * manual/search.texi: Likewise.
22976 * manual/setjmp.texi: Likewise.
22977 * manual/signal.texi: Likewise.
22978 * manual/socket.texi: Likewise.
22979 * manual/startup.texi: Likewise.
22980 * manual/stdio.texi: Likewise.
22981 * manual/string.texi: Likewise.
22982 * manual/sysinfo.texi: Likewise.
22983 * manual/syslog.texi: Likewise.
22984 * manual/terminal.texi: Likewise.
22985 * manual/time.texi: Likewise.
22986 * manual/users.texi: Likewise.
22987 * INSTALL: Regenerated.
22988 * NOTES: Regenerated.
d40c5d54 22989 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 22990
450bf206
AS
229912012-02-28 Andreas Schwab <schwab@linux-m68k.org>
22992
22993 * include/dirent.h: Include <dirstream.h> before
22994 <dirent/dirent.h>.
22995
741a235b
DM
229962012-02-28 David S. Miller <davem@davemloft.net>
22997
22998 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
22999 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
23000 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
23001 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
23002
d6b5aa58
DM
230032012-02-27 David S. Miller <davem@davemloft.net>
23004
1aff59a3
DM
23005 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
23006 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
23007 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
23008 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
23009
d6b5aa58
DM
23010 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
23011 frame pointer instead of stack pointer relative arg slot.
23012 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
23013 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
23014 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
23015
433f48bf
CD
230162012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
23017
23018 [BZ #3992]
23019 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
23020
d674b76d
DM
230212012-02-27 David S. Miller <davem@davemloft.net>
23022
23023 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
23024 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
23025 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
23026 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
23027 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
23028 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
23029 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
23030 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
23031
0e7727f7
JM
230322012-02-27 Joseph Myers <joseph@codesourcery.com>
23033
23034 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
23035 later. Allow versions 5-9.
43be4ca2 23036 * configure: Regenerated.
0e7727f7
JM
23037 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
23038 required minimum version and 4.6 as recommended version. Do not
23039 mention bugs in GCC 2.7 and 2.8.
43be4ca2 23040 * INSTALL: Regenerated.
0e7727f7 23041
a78bc654
DM
230422012-02-27 David S. Miller <davem@davemloft.net>
23043
428d5830
DM
23044 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
23045 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
23046 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
23047 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
23048 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
23049 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
23050 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
23051 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
23052
a78bc654
DM
23053 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
23054 manipulate bits before adding and subtracting TWO112[sx].
23055 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
23056
4579f81c
RM
230572012-02-27 Roland McGrath <roland@hack.frob.com>
23058
36c8acb4
RM
23059 [BZ #13775]
23060 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
23061 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
23062 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
23063 being in POSIX, because they are in 1003.1-2008.
23064
84ad622b
RM
23065 * rt/tst-aio.c: Include <fcntl.h>.
23066 * rt/tst-aio7.c: Likewise.
23067 * rt/tst-aio64.c: Likewise.
23068
4579f81c
RM
23069 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
23070
abd923db
JM
230712012-02-27 Joseph Myers <joseph@codesourcery.com>
23072
23073 * manual/install.texi (--with-headers): Describe headers as
23074 interface headers, not private headers.
23075 (Specific advice for GNU/Linux systems): Describe use of headers
23076 from "make headers_install", not private headers from older
23077 kernels.
43be4ca2 23078 * INSTALL: Regenerated.
abd923db
JM
23079 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
23080 Change to 2.6.19.
23081 * sysdeps/unix/sysv/linux/configure: Regenerated.
23082
6664049b
JM
23083 * manual/llio.texi (fclean): Remove documentation.
23084
bb8b6697
JM
23085 * manual/Makefile (libc-texi-generated): New variable. Include
23086 version.texi.
23087 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
23088 $(libc-texi-generated), not duplicated list of files.
23089 (version.texi, stamp-version): New rules.
23090 (realclean): Remove $(libc-texi-generated), not individual files
23091 from that list. Do not remove dir-add.texinfo.
23092 * manual/libc.texinfo: Comment out uses of edition numbers and
23093 references to printed manual. Remove last-updated dates.
23094 (EDITION): Comment out.
23095 (ISBN): Likewise.
23096 (VERSION, UPDATED): Remove.
23097 (version.texi): Include.
23098
12e5c3b9
AS
230992012-02-27 Andreas Schwab <schwab@linux-m68k.org>
23100
23101 * sysdeps/posix/spawni.c: Include <signal.h>.
23102 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
23103 * sysdeps/pthread/aio_fsync.c: Likewise.
23104
4efeffc1 231052012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 23106
ba63ba08
UD
23107 * conform/Makefile (tests): Run only when not cross-compiling and
23108 when fast-check is not defined.
23109
d94a4670
UD
23110 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
23111 * conform/data/limits.h-data: Fixes for POSIX2008.
23112 * conform/run-conformtest.sh: Run all tests.
23113 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
23114 headers.
23115 * include/bits/dlfcn.h: Likewise.
23116 * include/langinfo.h: Likewise.
23117 * include/monetary.h: Likewise.
23118 * include/sys/poll.h: Likewise.
23119
23120 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
23121 for __USE_GNU.
23122 * posix/spawn.h: Define __need_sigset_t.
23123 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
23124 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
23125 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
23126 to get sigevent_t only.
23127 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
23128 only for __USE_GNU.
23129 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23130 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
23131 process_vm_writev only for __USE_GNU.
23132 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
23133
23134 * conform/Makefile: For now ignore errors from run-conformtest.
23135 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
23136 POSIX to avoid namespace pollution. Don't prepend headers.
23137 * conform/data/aio.h-data: Fixes for POSIX testing.
23138 * conform/data/fcntl.h-data: Likewise.
23139 * conform/data/glob.h-data: Likewise.
23140 * conform/data/grp.h-data: Likewise.
23141 * conform/data/pthread.h-data: Likewise.
23142 * conform/data/pwd.h-data: Likewise.
23143 * conform/data/signal.h-data: Likewise.
23144 * conform/data/spawn.h-data: Likewise.
23145 * conform/data/stdio.h-data: Likewise.
23146 * conform/data/stdlib.h-data: Likewise.
23147 * conform/data/stropts.h-data: Likewise.
23148 * conform/data/sys/mman.h-data: Likewise.
23149 * conform/data/sys/stat.h-data: Likewise.
23150 * conform/data/sys/types.h-data: Likewise.
23151 * conform/data/sys/wait.h-data: Likewise.
23152 * conform/data/time.h-data: Likewise.
23153 * conform/data/unistd.h-data: Likewise.
23154 * conform/data/utime.h-data: Likewise.
23155
23156 * io/sys/stat.h: fchmod was always in POSIX.
23157 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
23158 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
23159 * rt/aio.h: Define __need_timespec before including <time.h>.
23160 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
23161 struct. Add forward declaration of pthread_attr_t and use it in
23162 sigevent.
23163 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
23164 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
23165 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
23166 always remove CLK_TCK definition.
23167
c20105c3
AS
231682012-02-26 Andreas Schwab <schwab@linux-m68k.org>
23169
23170 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
23171
7a270350
UD
231722012-02-25 Ulrich Drepper <drepper@gmail.com>
23173
31341567
UD
23174 * conform/run-conformtest.sh: New file.
23175 * conform/Makefile: Run run-conformtest for tests.
23176 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
23177 support.
23178
23179 * conform/data/uchar.h-data: New file.
23180 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
23181 * conform/data/arpa/inet.h-data: Likewise.
23182 * conform/data/assert.h-data: Likewise.
23183 * conform/data/complex.h-data: Likewise.
23184 * conform/data/cpio.h-data: Likewise.
23185 * conform/data/ctype.h-data: Likewise.
23186 * conform/data/dirent.h-data: Likewise.
23187 * conform/data/dlfcn.h-data: Likewise.
23188 * conform/data/errno.h-data: Likewise.
23189 * conform/data/fcntl.h-data: Likewise.
23190 * conform/data/float.h-data: Likewise.
23191 * conform/data/fmtmsg.h-data: Likewise.
23192 * conform/data/fnmatch.h-data: Likewise.
23193 * conform/data/ftw.h-data: Likewise.
23194 * conform/data/glob.h-data: Likewise.
23195 * conform/data/grp.h-data: Likewise.
23196 * conform/data/iconv.h-data: Likewise.
23197 * conform/data/inttypes.h-data: Likewise.
23198 * conform/data/langinfo.h-data: Likewise.
23199 * conform/data/libgen.h-data: Likewise.
23200 * conform/data/limits.h-data: Likewise.
23201 * conform/data/locale.h-data: Likewise.
23202 * conform/data/math.h-data: Likewise.
23203 * conform/data/monetary.h-data: Likewise.
23204 * conform/data/mqueue.h-data: Likewise.
23205 * conform/data/ndbm.h-data: Likewise.
23206 * conform/data/net/if.h-data: Likewise.
23207 * conform/data/netdb.h-data: Likewise.
23208 * conform/data/netinet/in.h-data: Likewise.
23209 * conform/data/nl_types.h-data: Likewise.
23210 * conform/data/poll.h-data: Likewise.
23211 * conform/data/pthread.h-data: Likewise.
23212 * conform/data/pwd.h-data: Likewise.
23213 * conform/data/regex.h-data: Likewise.
23214 * conform/data/sched.h-data: Likewise.
23215 * conform/data/search.h-data: Likewise.
23216 * conform/data/semaphore.h-data: Likewise.
23217 * conform/data/setjmp.h-data: Likewise.
23218 * conform/data/signal.h-data: Likewise.
23219 * conform/data/spawn.h-data: Likewise.
23220 * conform/data/stdarg.h-data: Likewise.
23221 * conform/data/stdio.h-data: Likewise.
23222 * conform/data/stdlib.h-data: Likewise.
23223 * conform/data/string.h-data: Likewise.
23224 * conform/data/strings.h-data: Likewise.
23225 * conform/data/stropts.h-data: Likewise.
23226 * conform/data/sys/ipc.h-data: Likewise.
23227 * conform/data/sys/mman.h-data: Likewise.
23228 * conform/data/sys/msg.h-data: Likewise.
23229 * conform/data/sys/resource.h-data: Likewise.
23230 * conform/data/sys/select.h-data: Likewise.
23231 * conform/data/sys/sem.h-data: Likewise.
23232 * conform/data/sys/shm.h-data: Likewise.
23233 * conform/data/sys/socket.h-data: Likewise.
23234 * conform/data/sys/stat.h-data: Likewise.
23235 * conform/data/sys/statvfs.h-data: Likewise.
23236 * conform/data/sys/time.h-data: Likewise.
23237 * conform/data/sys/timeb.h-data: Likewise.
23238 * conform/data/sys/times.h-data: Likewise.
23239 * conform/data/sys/types.h-data: Likewise.
23240 * conform/data/sys/uio.h-data: Likewise.
23241 * conform/data/sys/un.h-data: Likewise.
23242 * conform/data/sys/utsname.h-data: Likewise.
23243 * conform/data/sys/wait.h-data: Likewise.
23244 * conform/data/syslog.h-data: Likewise.
23245 * conform/data/tar.h-data: Likewise.
23246 * conform/data/termios.h-data: Likewise.
23247 * conform/data/utime.h-data: Likewise.
23248 * conform/data/utmpx.h-data: Likewise.
23249 * conform/data/varargs.h-data: Likewise.
23250 * conform/data/wchar.h-data: Likewise.
23251 * conform/data/wctype.h-data: Likewise.
23252 * conform/data/wordexp.h-data: Likewise.
23253
23254 * include/stropts.h: New file.
23255 * include/uchar.h: New file.
23256 * include/aio.h: Changes to allow conformtest.pl to use the headers.
23257 * include/assert.h: Likewise.
23258 * include/ctype.h: Likewise.
23259 * include/dirent.h: Likewise.
23260 * include/dlfcn.h: Likewise.
23261 * include/fcntl.h: Likewise.
23262 * include/fnmatch.h: Likewise.
23263 * include/glob.h: Likewise.
23264 * include/grp.h: Likewise.
23265 * include/libio.h: Likewise.
23266 * include/locale.h: Likewise.
23267 * include/math.h: Likewise.
23268 * include/net/if.h: Likewise.
23269 * include/netdb.h: Likewise.
23270 * include/netinet/in.h: Likewise.
23271 * include/pthread.h: Likewise.
23272 * include/pwd.h: Likewise.
23273 * include/regex.h: Likewise.
23274 * include/sched.h: Likewise.
23275 * include/search.h: Likewise.
23276 * include/setjmp.h: Likewise.
23277 * include/signal.h: Likewise.
23278 * include/stdio.h: Likewise.
23279 * include/stdlib.h: Likewise.
23280 * include/string.h: Likewise.
23281 * include/sys/cdefs.h: Likewise.
23282 * include/sys/mman.h: Likewise.
23283 * include/sys/msg.h: Likewise.
23284 * include/sys/resource.h: Likewise.
23285 * include/sys/select.h: Likewise.
23286 * include/sys/socket.h: Likewise.
23287 * include/sys/stat.h: Likewise.
23288 * include/sys/statvfs.h: Likewise.
23289 * include/sys/time.h: Likewise.
23290 * include/sys/times.h: Likewise.
23291 * include/sys/uio.h: Likewise.
23292 * include/sys/utsname.h: Likewise.
23293 * include/sys/wait.h: Likewise.
23294 * include/termios.h: Likewise.
23295 * include/time.h: Likewise.
23296 * include/ulimit.h: Likewise.
23297 * include/unistd.h: Likewise.
23298 * include/utime.h: Likewise.
23299 * include/wchar.h: Likewise.
23300 * include/wctype.h: Likewise.
23301 * include/wordexp.h: Likewise.
23302
23303 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
23304
7a270350
UD
23305 * time/time.h: TIME_UTC must be a macro.
23306 Make timespec_get available for ISO C11 only as well.
23307
7724defc
UD
233082012-02-24 Ulrich Drepper <drepper@gmail.com>
23309
23310 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
23311 Reported by Peng Haitao <penght@cn.fujitsu.com>.
23312
6b1d1d46
JM
233132012-02-24 Joseph Myers <joseph@codesourcery.com>
23314
23315 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 23316
0f8bbd69
JM
233172012-02-24 Joseph Myers <joseph@codesourcery.com>
23318
23319 * manual/texinfo.tex: Update to version 2012-01-19.16.
23320
66ab80bc
JM
233212012-02-24 Joseph Myers <joseph@codesourcery.com>
23322
23323 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
23324
74981cc5
RM
233252012-02-24 Roland McGrath <roland@hack.frob.com>
23326
ee968201
RM
23327 [BZ #13738]
23328 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
23329 * manual/fdl-1.3.texi: New file.
23330 * manual/fdl-1.1.texi: File removed.
23331
74981cc5
RM
23332 [BZ #13738]
23333 * manual/libc.texinfo (FDL_VERSION): New @set.
23334 Use it for mention of FDL in cover text.
23335 (Documentation License): Use it in @include file name.
23336
7bb764bc
JM
233372012-02-22 Joseph Myers <joseph@codesourcery.com>
23338 Roland McGrath <roland@hack.frob.com>
23339
23340 [BZ #5461]
23341 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
23342 not LONG_LONG_MAX and LONG_LONG_MIN.
23343 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
23344 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
23345 name.
23346 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
23347
6cbeae47
JM
233482012-02-22 Joseph Myers <joseph@codesourcery.com>
23349
23350 [BZ #2547]
23351 [BZ #11365]
23352 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
23353 manipulate bits before adding and subtracting TWO23[sx].
23354 * math/libm-test.inc (nearbyint_test): Add more tests.
23355
fe45ce09
JM
233562012-02-22 Joseph Myers <joseph@codesourcery.com>
23357
23358 [BZ #2548]
23359 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
23360 bits before adding and subtracting TWO23[sx].
23361 * math/libm-test.inc (rint_test): Add more tests.
23362 (rint_test_tonearest): Likewise.
23363 (rint_test_towardzero): Likewise.
23364 (rint_test_downward): Likewise.
23365 (rint_test_upward: Likewise.
23366
ff3b3d82
JM
233672012-02-22 Joseph Myers <joseph@codesourcery.com>
23368
23369 [BZ #10110]
23370 * include/stdc-predef.h: New file. Extracted from features.h.
23371 * include/features.h: Include stdc-predef.h.
23372 * Makefile (headers): Add stdc-predef.h.
23373 * CONFORMANCE (Compiler limitations): Update.
23374
ef0aab35
JM
233752012-02-22 Joseph Myers <joseph@codesourcery.com>
23376
23377 * manual/libc.texinfo (VERSION, UPDATED): Revert.
23378
58639409
DM
233792012-02-21 David S. Miller <davem@davemloft.net>
23380
23381 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
23382 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
23383
c0e70b25
DM
233842012-02-20 David S. Miller <davem@davemloft.net>
23385
23386 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
23387 using a normal save/restore sequence, rather than allocating a
23388 dummy stack frame just to store a frame pointer and restore.
23389 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23390
fb06851d
JM
233912012-02-21 Joseph Myers <joseph@codesourcery.com>
23392
23393 * manual/install.texi: Fix stray word in line-wrapped comment.
23394
7a8b71c3
DM
233952012-02-20 David S. Miller <davem@davemloft.net>
23396
d510c123
DM
23397 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
23398 both binutils and gcc support GOTDATA.
23399
0722d7c2
DM
23400 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
23401 "rd %pc" in the PIC register setup sequences.
23402
3d2b3019
DM
23403 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
23404 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
23405 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
23406 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
23407 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
23408 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
23409 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23410 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23411 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
23412 (SYSCALL_ERROR_HANDLER): Likewise.
23413 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
23414 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23415 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
23416 (SYSCALL_ERROR_HANDLER): Likewise.
23417
c80098a9
DM
23418 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
23419 (HAVE_GCC_GOTDATA): New.
23420 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
23421 relocation support in both binutils and gcc.
23422 * sysdeps/sparc/elf/configure: Regenerate.
23423
3a2545a0
DM
23424 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
23425 * sysdeps/sparc/sparc32/elf/configure: Delete.
23426 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
23427 * sysdeps/sparc/sparc64/elf/configure: Delete.
23428 * sysdeps/sparc/elf/configure.in: New file.
23429 * sysdeps/sparc/elf/configure: Generate.
23430
7a8b71c3
DM
23431 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
23432 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
23433 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
23434 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
23435 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
23436
f1e86fca
JM
234372012-02-21 Joseph Myers <joseph@codesourcery.com>
23438
23439 * manual/install.texi: Do not mention specific glibc version
23440 numbers.
23441 * manual/libc.texinfo (VERSION, UPDATED): Update.
23442 (@copying): Use @copyright{} and range of years.
23443
0e7dfaef
JM
234442012-02-21 Joseph Myers <joseph@codesourcery.com>
23445
23446 [BZ #13695]
23447 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
23448 [crti.S not in sysdirs] (generated): Do not append.
23449 [crti.S not in sysdirs] (omit-deps): Likewise.
23450 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
23451 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
23452 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
23453 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
23454 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
23455 Likewise.
23456 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
23457 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
23458 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
23459 * csu/defs.awk: Remove file.
23460 * sysdeps/generic/initfini.c: Likewise.
23461 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
23462 variable.
23463 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
23464 Likewise.
23465
599af3ca
JM
234662012-02-20 Joseph Myers <joseph@codesourcery.com>
23467
23468 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
23469 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
23470 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
23471 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
23472 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
23473 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
23474 <bits/epoll.h>.
23475 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
23476 (__EPOLL_PACKED): Define to empty if not defined by
23477 <bits/epoll.h>.
23478 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
23479 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23480 bits/epoll.h.
23481
0e499750
JM
234822012-02-20 Joseph Myers <joseph@codesourcery.com>
23483
23484 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
23485 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
23486 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
23487 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
23488 <bits/timerfd.h>.
23489 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
23490 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23491 bits/timerfd.h.
23492
5ad91f6e
JM
234932012-02-20 Joseph Myers <joseph@codesourcery.com>
23494
23495 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
23496 in C locale.
23497 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23498 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
23499 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
23500 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23501
06b99b02
AJ
235022012-02-20 Aurelien Jarno <aurelien@aurel32.net>
23503
23504 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23505 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
23506
7638c0fd
AS
235072012-02-19 Andreas Schwab <schwab@linux-m68k.org>
23508
23509 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
23510 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
23511 defined.
23512 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
23513 Likewise.
23514 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
23515 entry for 2.16.
23516
92221550
AJ
235172012-02-19 Aurelien Jarno <aurelien@aurel32.net>
23518
23519 * math/w_acos.c: Use non-signaling floating-point comparisons.
23520 * math/w_acosf.c: Likewise.
23521 * math/w_acosh.c: Likewise.
23522 * math/w_acoshf.c: Likewise.
23523 * math/w_acoshl.c: Likewise.
23524 * math/w_acosl.c: Likewise.
23525 * math/w_asin.c: Likewise.
23526 * math/w_asinf.c: Likewise.
23527 * math/w_asinl.c: Likewise.
23528 * math/w_atanh.c: Likewise.
23529 * math/w_atanhf.c: Likewise.
23530 * math/w_atanhl.c: Likewise.
23531 * math/w_exp2.c: Likewise.
23532 * math/w_exp2f.c: Likewise.
23533 * math/w_exp2l.c: Likewise.
23534 * math/w_j0.c: Likewise.
23535 * math/w_j0f.c: Likewise.
23536 * math/w_j0l.c: Likewise.
23537 * math/w_j1.c: Likewise.
23538 * math/w_j1f.c: Likewise.
23539 * math/w_j1l.c: Likewise.
23540 * math/w_jn.c: Likewise.
23541 * math/w_jnf.c: Likewise.
23542 * math/w_log.c: Likewise.
23543 * math/w_log10.c: Likewise.
23544 * math/w_log10f.c: Likewise.
23545 * math/w_log10l.c: Likewise.
23546 * math/w_log2.c: Likewise.
23547 * math/w_log2f.c: Likewise.
23548 * math/w_log2l.c: Likewise.
23549 * math/w_logf.c: Likewise.
23550 * math/w_logl.c: Likewise.
23551 * math/w_sqrt.c: Likewise.
23552 * math/w_sqrtf.c: Likewise.
23553 * math/w_sqrtl.c: Likewise.
23554 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23555 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
23556 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23557 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
23558 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
23559
ebaf36eb
JM
235602012-02-19 Joseph Myers <joseph@codesourcery.com>
23561
23562 [BZ #9739]
23563 * manual/string.texi (strnlen): Use correct parameter name in
23564 equivalent expression.
23565
71c254a6
JM
235662012-02-19 Joseph Myers <joseph@codesourcery.com>
23567
23568 [BZ #11174]
23569 * manual/users.texi (seteuid): Consistently use neweuid for
23570 argument name.
23571
16d2c631
JM
235722012-02-19 Joseph Myers <joseph@codesourcery.com>
23573
23574 [BZ #13704]
23575 * manual/nss.texi (Services in the NSS configuration): Correct
23576 list of services in example configuration file.
23577
cd837b09
NB
235782012-02-19 Nick Bowler <nbowler@draconx.ca>
23579
23580 [BZ #11322]
23581 * manual/arith.texi: Remove statements about negative zero
23582 behaving identically to zero.
23583
02c4bbad
JM
235842012-02-18 Joseph Myers <joseph@codesourcery.com>
23585
23586 [BZ #5993]
23587 * manual/install.texi: Do not document upgrading from libc5.
23588
366842e7
JM
235892012-02-18 Joseph Myers <joseph@codesourcery.com>
23590
23591 [BZ #4596]
23592 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
23593
dd54084d
DM
235942012-02-18 David S. Miller <davem@davemloft.net>
23595
23596 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
23597 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
23598 %o7 across the call.
23599 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
23600 instead.
23601 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
23602 SETUP_PIC_REG_LEAF.
23603 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23604 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
23605 * sysdeps/sparc/crtn.S: Likewise.
23606
2bcc53a3
UD
236072012-02-17 Ulrich Drepper <drepper@gmail.com>
23608
23609 * aout/Makefile: Remove.
23610
09c093b5
RK
236112012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
23612
23613 [BZ #13058]
23614 * manual/examples/argp-ex1.c (main): Format definition in GNU
23615 style.
23616 * manual/examples/argp-ex2.c (main): Likewise.
23617 * manual/examples/argp-ex3.c (main): Likewise.
23618 * manual/examples/argp-ex4.c (main): Likewise.
23619 * manual/examples/longopt.c (main): Use new-style prototype
23620 definition.
23621 * manual/examples/strncat.c (main): Specify return type and use
23622 (void) for arguments.
23623 * manual/examples/subopt.c (main): Use char **argv argument.
23624
2ee633a2
JM
236252012-02-17 Joseph Myers <joseph@codesourcery.com>
23626
23627 [BZ #5077]
23628 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
23629 rounding modes.
23630
0520adde
FB
236312012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
23632
23633 [BZ #6907]
23634 * manual/string.texi (strchr): Change when strchrnul is
23635 recommended.
23636
3f4081cd
DGM
236372012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
23638
23639 [BZ #174]
23640 * manual/locale.texi (setlocale): Document LOCPATH.
23641
d1b10e78
JM
236422012-02-17 Joseph Myers <joseph@codesourcery.com>
23643
23644 [BZ #10210]
23645 * manual/process.texi (execle): Move @dots{} before last argument.
23646
79c6869c
PB
236472012-02-17 Paul Bolle <pebolle@tiscali.nl>
23648
23649 [BZ #12047]
23650 * manual/charset.texi (Generic Charset Conversion): Fix typo
23651 (LC_TYPE -> LC_CTYPE).
23652
cc6e48bc
NB
236532012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
23654
23655 [BZ #5805]
23656 * manual/arith.texi (scalbn): Use @var{} on parameter names.
23657 (scalbnf): Likewise.
23658 (scalbnl): Likewise.
23659 (scalbln): Likewise.
23660 (scalblnf): Likewise.
23661 (scalblnl): Likewise.
23662 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
23663 (vwarnx): Likewise.
23664 (verr): Likewise.
23665 (verrx): Likewise.
23666 * manual/filesys.texi (telldir): Use braces around return type.
23667 * manual/llio.texi (mmap): Add space after comma.
23668 (mmap64): Likewise.
23669 * manual/math.texi (jn): Use @var{} on parameter names.
23670 (jnf): Likewise.
23671 (jnl): Likewise.
23672 (yn): Likewise.
23673 (ynf): Likewise.
23674 (ynl): Likewise.
23675 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
23676 line.
23677 * manual/resource.texi (ulimit): Use @dots{} instead of literal
23678 "...".
23679 (sched_get_priority_min): Remove semicolon on @deftypefun line.
23680 (sched_get_priority_max): Likewise.
23681 * manual/signal.texi (sigvec): Add space after comma.
23682 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
23683 names.
23684 (if_indextoname): Likewise.
23685 (if_freenameindex): Likewise.
23686 (sendto): Use ',' instead of '.' in prototype.
23687 * manual/startup.texi (syscall): Use @dots{} instead of literal
23688 "...".
23689 * manual/stdio.texi (__fpending): Separate initial words of
23690 paragraph from @deftypefun line.
23691 * manual/syslog.texi (syslog): Use @dots{} instead of literal
23692 "...".
23693 (vsyslog): Use @var{} on parameter names.
23694 * manual/terminal.texi (stty): Use @var{} on parameter names.
23695 * manual/users.texi (getutmp): Use @var{} on parameter names.
23696 (getutmpx): Likewise.
23697
5b23062f
JM
236982012-02-17 Joseph Myers <joseph@codesourcery.com>
23699
23700 [BZ #6884]
23701 * manual/stdio.texi (fopen): Fix typos in description of
23702 ",ccs=STRING".
23703
8dee4833
AJ
237042012-02-17 Aurelien Jarno <aurelien@aurel32.net>
23705
23706 [BZ #4026]
23707 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
23708 get clock_id definition.
23709
9078ce93
TS
237102012-02-17 Thomas Schwinge <thomas@schwinge.name>
23711
23712 [BZ #4822]
23713 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
23714 (madvise): Cast every argument to void on its own.
23715
3835c55f
JM
237162012-02-17 Joseph Myers <joseph@codesourcery.com>
23717
23718 [BZ #9902]
23719 * manual/startup.texi (Exit Status): Fix typo.
23720
35c47e37
JM
237212012-02-17 Joseph Myers <joseph@codesourcery.com>
23722
23723 [BZ #10140]
23724 * manual/examples/argp-ex1.c: Include <stdlib.h>.
23725 * manual/examples/argp-ex2.c: Likewise.
23726 * manual/examples/argp-ex3.c: Likewise.
23727
e3b69ca7
RH
237282012-02-16 Richard Henderson <rth@redhat.com>
23729
23730 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
23731 * sysdeps/s390/s390-32/initfini.c: Remove.
23732 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
23733 * sysdeps/s390/s390-64/initfini.c: Remove.
23734
df83af67
KK
237352012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23736
23737 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
23738 compiler output for sysdeps/generic/initfini.c.
23739 * sysdeps/sh/elf/initfini.c: Remove file.
23740
f63f3380
DM
237412012-02-16 David S. Miller <davem@davemloft.net>
23742
fb59b3a4
DM
23743 [BZ #11494]
23744 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
23745
f63f3380
DM
23746 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
23747 * sysdeps/sparc/crti.S: New file.
23748 * sysdeps/sparc/crtn.S: New file.
23749 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
23750 * sysdeps/sparc/sparc64/Makefile: Likewise.
23751
df6a4a4a
MF
237522012-02-15 Mike Frysinger <vapier@gentoo.org>
23753
6dd8f3dc 23754 [BZ #3335]
df6a4a4a
MF
23755 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
23756
1cac7236
RM
237572012-02-15 Roland McGrath <roland@hack.frob.com>
23758
d2c736f8
RM
23759 [BZ #4822]
23760 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
23761
1cac7236
RM
23762 * mach/devstream.c (cookie_io_functions_t): Macro removed.
23763 (write, read, close): Likewise.
23764 Patch by Aurelien Jarno <aurelien@aurel32.net>.
23765
8e475601
JM
237662012-02-15 Joseph Myers <joseph@codesourcery.com>
23767
23768 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
23769 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
23770 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
23771 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
23772 <bits/signalfd.h>.
23773 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
23774 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23775 bits/signalfd.h.
23776
ed656b40
MP
237772012-02-14 Marek Polacek <polacek@redhat.com>
23778
23779 * sysdeps/x86_64/crti.S: New file.
23780 * sysdeps/x86_64/crtn.S: New file.
23781 * sysdeps/x86_64/elf/initfini.c: Remove file.
23782
2a979d3a
JM
237832012-02-13 Joseph Myers <joseph@codesourcery.com>
23784
23785 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
23786 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
23787 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
23788 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
23789 <bits/inotify.h>.
23790 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
23791 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23792 bits/inotify.h.
23793
2a418ac3
JM
237942012-02-13 Joseph Myers <joseph@codesourcery.com>
23795
23796 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
23797 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
23798 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
23799 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
23800 <bits/eventfd.h>.
23801 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
23802 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23803 bits/eventfd.h.
23804
fb779be7
TS
238052012-02-10 Thomas Schwinge <thomas@codesourcery.com>
23806
e19e83c5
RM
23807 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
23808 __feraiseexcept instead of feraiseexcept.
7c35ffed 23809
fb779be7
TS
23810 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
23811 nanosleep invocations.
23812 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
23813 strings, and add error checking for a nanosleep invocations.
23814
59ba27a6
PE
238152012-02-09 Paul Eggert <eggert@cs.ucla.edu>
23816
23817 Replace FSF snail mail address with URLs, as per GNU coding standards.
23818 Most of the snail mail addresses were wrong anyway, and omitting
23819 them makes the source code easier to maintain. Almost all of the
23820 changes are to license notices and to locale LC_IDENTIFICATION
23821 addresses, except for this one:
23822 * manual/libc.texinfo: In "Published by", give the FSF's URL,
23823 not its snail mail address.
23824
57b957eb
RH
238252012-02-09 Richard Henderson <rth@twiddle.net>
23826
af850b1c
RH
23827 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
23828 of kernel-features.h.
23829
57b957eb
RH
23830 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
23831
6b73181a
MP
238322012-02-08 Marek Polacek <polacek@redhat.com>
23833
23834 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
23835 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
23836 * sysdeps/gnu/_G_config.h: Likewise.
23837 * sysdeps/generic/_G_config.h: Likewise.
23838
26ecc33a
AS
238392012-02-08 Andreas Schwab <schwab@linux-m68k.org>
23840
6c6dbc63
AS
23841 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
23842 tests.
23843 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23844
e216c012
AS
23845 * sysdeps/powerpc/powerpc32/crti.S: New file.
23846 * sysdeps/powerpc/powerpc32/crtn.S: New file.
23847 * sysdeps/powerpc/powerpc64/crti.S: New file.
23848 * sysdeps/powerpc/powerpc64/crtn.S: New file.
23849
26ecc33a
AS
23850 * Makeconfig (have-initfini): Don't set.
23851 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
23852 * configure.in (nopic_initfini): Don't substitute.
23853 * config.h.in (HAVE_INITFINI): Don't #undef.
23854 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
23855 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
23856
3add8e13
JM
238572012-02-08 Joseph Myers <joseph@codesourcery.com>
23858
23859 Support crti.S and crtn.S provided directly by architectures.
23860 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
23861 [crti.S in sysdirs] (omit-deps): Likewise.
23862 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
23863 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
23864 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
23865 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
23866 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
23867 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
23868 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
23869 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
23870 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
23871 compiler output for sysdeps/generic/initfini.c.
23872 * sysdeps/i386/elf/Makefile: Remove file.
23873 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
23874
a22f12b4
MP
238752012-02-07 Marek Polacek <polacek@redhat.com>
23876
23877 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
23878 * sysdeps/gnu/_G_config.h: Likewise.
23879 * sysdeps/mach/hurd/_G_config.h: Likewise.
23880
148cf100
MP
238812012-02-07 Marek Polacek <polacek@redhat.com>
23882
23883 * math/Makefile (tests): Add tst-CMPLX2.
23884 * math/tst-CMPLX2.c: New file.
23885
cfdc0dd7
AS
238862012-02-07 Andreas Schwab <schwab@linux-m68k.org>
23887
84ba42c4
AS
23888 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23889
cfdc0dd7
AS
23890 * math/libm-test.inc (jn_test): Add missing L suffix.
23891
622c86f4
MP
238922012-02-06 Marek Polacek <polacek@redhat.com>
23893
23894 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
23895 * sysdeps/i386/fpu/e_powf.S: Likewise.
23896 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
23897 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
23898 * sysdeps/i386/fpu/e_acosh.S: Likewise.
23899 * sysdeps/i386/fpu/e_pow.S: Likewise.
23900 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
23901 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
23902 * sysdeps/i386/fpu/s_expm1.S: Likewise.
23903 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
23904 * sysdeps/i386/fpu/e_log2.S: Likewise.
23905 * sysdeps/i386/fpu/e_log2l.S: Likewise.
23906 * sysdeps/i386/fpu/e_scalb.S: Likewise.
23907 * sysdeps/i386/fpu/e_powl.S: Likewise.
23908 * sysdeps/i386/fpu/s_log1p.S: Likewise.
23909 * sysdeps/i386/fpu/e_log10f.S: Likewise.
23910 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
23911 * sysdeps/i386/fpu/e_logl.S: Likewise.
23912 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
23913 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
23914 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
23915 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
23916 * sysdeps/i386/fpu/e_log2f.S: Likewise.
23917 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
23918 * sysdeps/i386/fpu/e_log.S: Likewise.
23919 * sysdeps/i386/fpu/s_cexp.S: Likewise.
23920 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
23921 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
23922 * sysdeps/i386/fpu/e_logf.S: Likewise.
23923 * sysdeps/i386/fpu/e_log10l.S: Likewise.
23924 * sysdeps/i386/fpu/e_atanh.S: Likewise.
23925 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
23926 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
23927 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
23928 * sysdeps/i386/fpu/e_log10.S: Likewise.
23929 * sysdeps/i386/fpu/s_frexp.S: Likewise.
23930 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
23931 * sysdeps/i386/fpu/s_asinh.S: Likewise.
23932 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
23933 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
23934 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
23935 * sysdeps/i386/asm-syntax.h: Likewise.
23936 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
23937 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
23938 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
23939 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
23940 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
23941 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
23942 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
23943 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
23944 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
23945 * sysdeps/powerpc/sysdep.h: Likewise.
23946 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
23947 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
23948
d4a54ac6
JM
239492012-02-06 Joseph Myers <joseph@codesourcery.com>
23950
23951 [BZ #411]
23952 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
23953
314054ea
JM
239542012-02-06 Joseph Myers <joseph@codesourcery.com>
23955
23956 * sysdeps/i386/sysdep.h: Include <features.h>.
23957 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
23958 version.
23959
d8e0ca50
JM
239602012-02-05 Joseph Myers <joseph@codesourcery.com>
23961
23962 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
23963 Define.
23964 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
23965 LOAD_PIC_REG_STR.
23966
b1da7dd9
JM
239672012-02-03 Joseph Myers <joseph@codesourcery.com>
23968
23969 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
23970 (SETUP_PIC_REG): Use GET_PC_THUNK.
23971 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
23972 macro.
23973
9a1d9254
JM
239742012-02-03 Joseph Myers <joseph@codesourcery.com>
23975
23976 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
23977 for non-PIC compilation.
23978 (SETUP_PIC_REG): Add .p2align directive.
23979 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
23980 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
23981 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
23982 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
23983 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
23984 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
23985 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
23986 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
23987 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23988 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23989 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23990 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23991 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23992 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23993 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
23994 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
23995 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
23996 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
23997 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
23998 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
23999 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24000 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
24001 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
24002 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
24003 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
24004 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
24005 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24006 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
24007 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
24008 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
24009 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
24010 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24011 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
24012 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
24013 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
24014 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
24015 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
24016 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
24017 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
24018 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
24019 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
24020
65dc3b75
JM
240212012-02-03 Joseph Myers <joseph@codesourcery.com>
24022
24023 * math/tst-CMPLX.c: Include <stdio.h>.
24024
d55bf177
JM
240252012-01-31 Joseph Myers <joseph@codesourcery.com>
24026
24027 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
24028 float.
24029 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
24030 * sysdeps/sparc/bits/mathdef.h: Likewise.
24031
69db4f8f
MP
240322012-01-31 Marek Polacek <polacek@redhat.com>
24033
24034 * libio/libio.h: Don't define _PARAMS.
24035 * locale/programs/config.h: Don't define PARAMS.
24036 * stdlib/strtol_l.c: Likewise.
24037 (__strtol_l): Remove PARAMS from the prototype.
24038
41b81892
UD
240392012-01-31 Ulrich Drepper <drepper@gmail.com>
24040
3b49edc0
UD
24041 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
24042 names. Just use the correct names. Remove unnecessary wrapper
24043 functions.
24044 * malloc/arena.c: Likewise.
24045 * malloc/hooks.c: Likewise.
24046
41b81892
UD
24047 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
24048 ARENA_TEST says not to. Simplify test for creation of a new arena.
24049 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
24050
27a25b6e
UD
240512012-01-30 Ulrich Drepper <drepper@gmail.com>
24052
24053 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
24054 into tail calls.
24055 (update_get_addr): New function.
24056 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
24057 GET_ADDR_MODULE parameter.
24058
c8a89e7d
JM
240592012-01-30 Joseph Myers <joseph@codesourcery.com>
24060
24061 * crypt/cert.c: Remove __STDC__ conditionals.
24062 * crypt/crypt-entry.c: Likewise.
24063 * crypt/crypt_util.c: Likewise.
24064 * libio/filedoalloc.c: Likewise.
24065 * libio/fileops.c: Likewise.
24066 * libio/genops.c: Likewise.
24067 * libio/iofclose.c: Likewise.
24068 * libio/iofdopen.c: Likewise.
24069 * libio/iofopen.c: Likewise.
24070 * libio/iofopen64.c: Likewise.
24071 * libio/iogetdelim.c: Likewise.
24072 * libio/iopopen.c: Likewise.
24073 * libio/obprintf.c: Likewise.
24074 * libio/oldfileops.c: Likewise.
24075 * libio/oldiofclose.c: Likewise.
24076 * libio/oldiofdopen.c: Likewise.
24077 * libio/oldiofopen.c: Likewise.
24078 * libio/oldiopopen.c: Likewise.
24079 * libio/wfiledoalloc.c: Likewise.
24080 * libio/wgenops.c: Likewise.
24081 * locale/programs/xmalloc.c: Likewise.
24082 * misc/syslog.c: Likewise.
24083 * stdio-common/xbug.c: Likewise.
24084 * string/memchr.c: Likewise.
24085 * string/memcmp.c: Likewise.
24086 * string/memrchr.c: Likewise.
24087 * string/rawmemchr.c: Likewise.
24088 * sysdeps/posix/getcwd.c: Likewise.
24089 * time/strftime_l.c: Likewise.
24090
3b100462
JM
240912012-01-30 Joseph Myers <joseph@codesourcery.com>
24092
24093 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
24094 * config.make.in (config-cflags-sse2avx): Define.
24095 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
24096 Fix typo.
24097
607998af
CM
240982012-01-29 Chris Metcalf <cmetcalf@tilera.com>
24099
24100 * scripts/config.guess: Update from upstream config git repository.
24101 * scripts/config.sub: Likewise.
24102
3601428f
CM
241032012-01-28 Chris Metcalf <cmetcalf@tilera.com>
24104
3ac8b282
CM
24105 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
24106 (EM_NUM): Update.
24107 (R_TILEPRO_*, R_TILEGX_*): New macros.
24108
e034841e
CM
24109 * scripts/firstversions.awk: Fix bug in version range handling.
24110
540d7568
CM
24111 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
24112
3601428f
CM
24113 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
24114
463de862
CM
24115 * include/sys/epoll.h: New file.
24116 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
24117 libc_hidden_def.
24118
73139a76
UD
241192012-01-28 Ulrich Drepper <drepper@gmail.com>
24120
96bc5b45
UD
24121 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
24122 Avoid unnecessary __WORDSIZE == 64 test.
24123 (fmaxf): Use VEX format if possible.
24124 (fmax): Likewise.
24125 (fminf): Likewise.
24126 (fmin): Likewise.
24127
56f6f6a2
UD
24128 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
24129 * math/math_private.h: Remove libc_fegetround* and
24130 libc_fesetround*.
24131 * sysdeps/i386/configure.in: Check for -msse2avx.
24132 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
24133 also if SSE2AVX is defined.
24134 Remove libc_fegetround* and libc_fesetround*.
24135 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
24136 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
24137 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
24138 of HAS_YMM_USABLE.
24139 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24140 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24141 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24142 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24143 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
24144
73139a76
UD
24145 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
24146
d73f93a4
AZ
241472012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24148
24149 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
24150 size is not set.
24151 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
24152
6ee65ed6
UD
241532012-01-27 Ulrich Drepper <drepper@gmail.com>
24154
24155 [BZ #13618]
24156 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
24157 relocation.
24158 * Makeconfig (libm): Define.
24159 * elf/Makefile: Add rules to build and run tst-relsort1.
24160 * elf/tst-relsort1.c: New file.
24161 * elf/tst-relsort1mod1.c: New file.
24162 * elf/tst-relsort1mod2.c: New file.
24163
8db21882
JM
241642012-01-27 Joseph Myers <joseph@codesourcery.com>
24165
24166 * math/s_ldexp.c: Remove __STDC__ conditionals.
24167 * math/s_ldexpf.c: Likewise.
24168 * math/s_ldexpl.c: Likewise.
24169 * math/s_nextafter.c: Likewise.
24170 * math/s_nexttowardf.c: Likewise.
24171 * math/s_significand.c: Likewise.
24172 * math/s_significandf.c: Likewise.
24173 * math/s_significandl.c: Likewise.
24174 * math/w_jnl.c: Likewise.
24175 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
24176 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
24177 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
24178 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
24179 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
24180 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24181 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
24182 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
24183 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24184 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
24185 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
24186 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24187 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
24188 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
24189 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
24190 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
24191 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
24192 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
24193 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24194 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
24195 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
24196 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24197 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24198 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24199 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24200 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24201 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24202 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24203 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
24204 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24205 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24206 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
24207 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24208 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
24209 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
24210 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24211 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
24212 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
24213 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
24214 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
24215 * sysdeps/ieee754/k_standard.c: Likewise.
24216 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
24217 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24218 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
24219 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
24220 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
24221 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
24222 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24223 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
24224 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
24225 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
24226 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
24227 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
24228 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
24229 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
24230 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
24231 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
24232 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
24233 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24234 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24235 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
24236 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24237 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24238 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
24239 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
24240 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24241 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
24242 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
24243 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
24244 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24245 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
24246 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
24247 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
24248 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
24249 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
24250 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
24251 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
24252 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
24253 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
24254 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
24255 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
24256 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
24257 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
24258 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
24259 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
24260 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
24261 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
24262 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
24263 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24264 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
24265 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
24266 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
24267 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24268 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24269 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
24270 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
24271 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
24272 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
24273 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
24274 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
24275 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
24276 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
24277 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
24278 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
24279 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24280 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
24281 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
24282 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
24283 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
24284 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
24285 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
24286 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
24287 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
24288 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
24289 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
24290 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
24291 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
24292 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
24293 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
24294 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
24295 * sysdeps/ieee754/s_matherr.c: Likewise.
24296 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
24297 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
24298 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24299 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24300
965a54a4
JM
243012012-01-26 Joseph Myers <joseph@codesourcery.com>
24302
24303 * crypt/md5.h: Remove __STDC__ conditionals.
24304 * libio/libioP.h: Likewise.
24305 * locale/programs/config.h: Likewise.
24306 * sysdeps/generic/sysdep.h: Likewise.
24307 * sysdeps/i386/asm-syntax.h: Likewise.
24308 * sysdeps/s390/asm-syntax.h: Likewise.
24309 * sysdeps/unix/sysdep.h: Likewise.
24310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
24311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24312
7071ad79
JM
243132012-01-26 Joseph Myers <joseph@codesourcery.com>
24314
24315 * libio/libio.h: Remove __STDC__ conditionals.
24316 * malloc/obstack.h: Likewise.
24317 * math/complex.h: Likewise.
24318 * math/math.h: Likewise.
24319 * sysdeps/generic/_G_config.h: Likewise.
24320 * sysdeps/gnu/_G_config.h: Likewise.
24321 * sysdeps/mach/hurd/_G_config.h: Likewise.
24322 * sysdeps/powerpc/bits/mathdef.h: Likewise.
24323 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
24324 * sysdeps/sparc/bits/mathdef.h: Likewise.
24325
afc5ed09
UD
243262012-01-26 Ulrich Drepper <drepper@gmail.com>
24327
24328 [BZ #13583]
24329 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 24330 Clean up HAS_* macros.
afc5ed09 24331 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
24332 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
24333 possible.
24334 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
24335 HAS_AVX.
24336 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24337 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24338 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24339 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24340 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 24341
bdb6de1d
JM
243422012-01-25 Joseph Myers <joseph@codesourcery.com>
24343
24344 * elf/tst-unique3.cc (gets): Remove declaration.
24345 * elf/tst-unique3lib.cc (gets): Likewise.
24346 * elf/tst-unique3lib2.cc (gets): Likewise.
24347 * elf/tst-unique4.cc (gets): Likewise.
24348
b15549e6
UD
243492012-01-24 Ulrich Drepper <drepper@gmail.com>
24350
24351 * include/stdio.h: Add C++ protection. Add gets declarations and
24352 definitions.
24353 * debug/tst-chk1.c: Don't declare gets here.
24354 * stdio-common/tst-gets.c: Likewise.
24355
a037381f
JM
243562012-01-24 Joseph Myers <joseph@codesourcery.com>
24357
24358 * posix/glob: Remove directory.
24359
f1d4aa75
JM
243602012-01-24 Joseph Myers <joseph@codesourcery.com>
24361
24362 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
24363
81c0c964
PT
243642012-01-22 Pino Toscano <toscano.pino@tiscali.it>
24365
24366 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
24367 of the non-standard EPFNOSUPPORT.
24368
0ea698ae
ST
243692011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
24370
24371 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
24372 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
24373 ANYWHERE set to 1 only on KERN_NO_SPACE error.
24374
d220b117
UD
243752012-01-21 Ulrich Drepper <drepper@gmail.com>
24376
24377 * wcsmbs/uchar.h: Test __STDC_VERSION__.
24378
3e1aa84e
UD
243792012-01-20 Ulrich Drepper <drepper@gmail.com>
24380
24381 * nscd/aicache.c (addhstaiX): Do not cache negative results of
24382 transient errors.
24383 * nscd/grpcache.c (cache_addgr): Likewise.
24384 * nscd/hstcache.c (cache_addhst): Likewise.
24385 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24386 * nscd/pwdcache.c (cache_addpw): Likewise.
24387 * nscd/servicescache.c (cache_addserv): Likewise.
24388
400aa020
UD
243892012-01-16 Ulrich Drepper <drepper@gmail.com>
24390
d77e7869
UD
24391 * malloc/malloc.c: Various cleanups.
24392 * malloc/hooks.c: Likewise.
24393
400aa020
UD
24394 * stdlib/Makefile (tests): Add bug-fmtmsg1.
24395 * stdlib/bug-fmtmsg1.c: New file.
24396
24397 * stdlib/fmtmsg.c (init): Add missing unlock.
24398 Patch by Peng Haitao <penght@cn.fujitsu.com>.
24399
e0a309cf
MP
244002012-01-12 Marek Polacek <polacek@redhat.com>
24401
24402 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
24403 and _GNU_SOURCE.
24404
929d11c7
WS
244052012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
24406
24407 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
24408 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
24409 macro to ensure uniqueness of label name.
24410 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
24411 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
24412
41d0e869
UD
244132012-01-11 Ulrich Drepper <drepper@gmail.com>
24414
0cc5ed3b
UD
24415 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
24416
41d0e869
UD
24417 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
24418 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
24419 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
24420 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
24421
a47a831a
UD
244222012-01-10 Ulrich Drepper <drepper@gmail.com>
24423
daa891c0
UD
24424 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
24425
24426 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
24427 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
24428 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
24429
e58ef0f2
UD
24430 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
24431
a47a831a 24432 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
24433 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
24434 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 24435 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
24436
24437 * math/bits/math-finite.h: Add ldexp support.
24438
a0bfc9c7
MP
244392012-01-10 Marek Polacek <polacek@redhat.com>
24440
24441 * locale/programs/localedef.h (show_archive_content): Add noreturn
24442 attribute.
24443
d6e97a1d
UD
244442012-01-09 Ulrich Drepper <drepper@gmail.com>
24445
24446 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
24447
d5835c26
UD
244482012-01-08 Ulrich Drepper <drepper@gmail.com>
24449
e5f484c6
UD
24450 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
24451
d5835c26
UD
24452 * io/Makefile (headers): Add bits/poll2.h.
24453
d1f741e9
WS
244542011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
24455
24456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
24457 typo #include statement.
24458
ec09c1c4
UD
244592012-01-08 Ulrich Drepper <drepper@gmail.com>
24460
24461 * include/sys/cdefs.h: Define __attribute_alloc_size.
24462 * catgets/gencat.c: Add alloc_size attribute and apply consistently
24463 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
24464 * elf/pldd.c: Likewise.
24465 * iconv/iconv_charmap.c: Likewise.
24466 * iconv/iconvconfig.c: Likewise.
24467 * iconv/strtab.c: Likewise.
24468 * locale/programs/locale.c: Likewise.
24469 * locale/programs/localedef.h: Likewise.
24470 * locale/programs/simple-hash.c: Likewise.
24471 * nscd/nscd.h: Likewise.
24472 * nss/makedb.c: Likewise.
24473 * sysdeps/generic/ldconfig.h: Likewise.
24474 * locale/programs/localedef.c: Remove xmalloc prototype.
24475 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
24476
20b38e03
PP
244772012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
24478
24479 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
24480 appropriate.
24481
a0da5fe1
UD
244822012-01-08 Ulrich Drepper <drepper@gmail.com>
24483
1d5a644a 24484 * math/Makefile (tests): Add tst-CMPLX.
669704fd 24485 * math/tst-CMPLX.c: New file.
1d5a644a 24486
8784a6db
UD
24487 * math/complex.h (CMPLXL): Fix typo.
24488
d9a216c0
UD
24489 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
24490 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
24491 GLIBC_2.16.
24492 * debug/tst-chk1.c: Add poll and ppoll tests.
24493 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
24494 * include/sys/poll.h: Add hidden proto for ppoll.
24495 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
24496 * sysdeps/mach/hurd/ppoll.c: Likewise.
24497 * io/ppoll.c: Likewise.
24498 * debug/poll_chk.c: New file.
24499 * debug/ppoll_chk.c: New file.
24500 * include/bits/poll2.h: New file.
24501 * io/bits/poll2.h: New file.
24502
ac097f5c
UD
24503 [BZ #1350]
24504 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
24505
2119dcfa
UD
24506 * configure.in: static is always set to yes. Remove.
24507 * config.make.in: Don't set build-static.
24508 * Makeconfig: Remove use of build-static.
24509 * dlfcn/Makefile: Likewise.
24510 * elf/Makefile: Likewise.
24511 * math/Makefile: Likewise.
24512 * misc/Makefile: Likewise.
24513 * nptl/Makefile: Likewise.
24514 * sysdeps/mach/hurd/Makefile: Likewise.
24515
121766a9
UD
24516 * configure.in: PWD_P is not used anymore.
24517 * config.make.in: Remove PWD_P entry.
24518
51a1d39c 24519 * configure.in: Remove last remnants of RANLIB.
8720d066 24520 No need to check for signed size_t anymore.
215f4bdc
UD
24521 Don't set libc_commonpagesize and libc_relro_required here for Alpha
24522 and IA-64.
3857022a 24523 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
24524 * aclocal.m4: Likewise.
24525
d3ed7225
UD
24526 * wcsmbs/mbrtoc16.c: Implement using towc function.
24527 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
24528 * wcsmbs/wcsmbsload.c: Likewise.
24529 * iconv/gconv_simple.c: Likewise.
24530 * iconv/gconv_int.h: Likewise.
24531 * iconv/gconv_builtin.h: Likewise.
24532 * iconv/iconv_prog.c: Remove CHAR16 handling.
24533
24534 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
24535
24536 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
24537
a0da5fe1
UD
24538 * configure.in: Remove --with-elf and --enable-bounded options.
24539 Dont set base_machine for ia64. More non-ELF conditions removed.
24540 Remove testing and setting of leading underscore information.
24541 * config.make.in (build-bounded): Set to no.
24542 * config.h.in: Remove NO_UNDERSCORES entry.
24543 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
24544 them.
24545 * csu/start.c: Remove !NO_UNDERSCORE code.
24546 * locale/localeinfo.h: Likewise.
24547 * sysdeps/generic/machine-gmon.h: Likewise.
24548 * sysdeps/generic/sysdep.h: Likewise.
24549 * sysdeps/i386/sysdep.h: Likewise.
24550 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
24551 * sysdeps/mach/sysdep.h: Likewise.
24552 * sysdeps/s390/s390-32/sysdep.h: Likewise.
24553 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24554 * sysdeps/sh/sysdep.h: Likewise.
24555 * sysdeps/sparc/sparc32/alloca.S: Likewise.
24556 * sysdeps/unix/i386/sysdep.S: Likewise.
24557 * sysdeps/unix/sparc/start.c: Likewise.
24558 * sysdeps/unix/sparc/sysdep.S: Likewise.
24559 * sysdeps/unix/sparc/sysdep.h: Likewise.
24560 * sysdeps/unix/start.c: Likewise.
24561 * sysdeps/unix/x86_64/sysdep.S: Likewise.
24562 * sysdeps/x86_64/sysdep.h: Likewise.
24563
df78418a
UD
245642012-01-07 Ulrich Drepper <drepper@gmail.com>
24565
a784e502
UD
24566 [BZ #13553]
24567 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
24568 for non-gcc.
24569 * argp/argp-fmtstream.h: Use const instead __const.
24570 * argp/argp.h: Likewise.
24571 * assert/assert.h: Likewise.
24572 * bits/fenv.h: Likewise.
24573 * bits/sched.h: Likewise.
24574 * bits/sigset.h: Likewise.
24575 * bits/sigthread.h: Likewise.
24576 * catgets/nl_types.h: Likewise.
24577 * conform/data/pthread.h-data: Likewise.
24578 * crypt/crypt-private.h: Likewise.
24579 * crypt/crypt.h: Likewise.
24580 * crypt/crypt_util.c: Likewise.
24581 * ctype/ctype.h: Likewise.
24582 * debug/execinfo.h: Likewise.
24583 * debug/mbsnrtowcs_chk.c: Likewise.
24584 * debug/mbsrtowcs_chk.c: Likewise.
24585 * debug/wcsnrtombs_chk.c: Likewise.
24586 * debug/wcsrtombs_chk.c: Likewise.
24587 * debug/wcstombs_chk.c: Likewise.
24588 * dirent/dirent.h: Likewise.
24589 * dlfcn/dlfcn.h: Likewise.
24590 * elf/neededtest4.c: Likewise.
24591 * grp/grp.h: Likewise.
24592 * gshadow/gshadow.h: Likewise.
24593 * iconv/gconv.h: Likewise.
24594 * iconv/gconv_int.h: Likewise.
24595 * iconv/gconv_simple.c: Likewise.
24596 * iconv/iconv.h: Likewise.
24597 * iconv/loop.c: Likewise.
24598 * iconv/skeleton.c: Likewise.
24599 * include/aio.h: Likewise.
24600 * include/aliases.h: Likewise.
24601 * include/argz.h: Likewise.
24602 * include/arpa/inet.h: Likewise.
24603 * include/assert.h: Likewise.
24604 * include/dirent.h: Likewise.
24605 * include/dlfcn.h: Likewise.
24606 * include/execinfo.h: Likewise.
24607 * include/fcntl.h: Likewise.
24608 * include/fenv.h: Likewise.
24609 * include/glob.h: Likewise.
24610 * include/grp.h: Likewise.
24611 * include/libintl.h: Likewise.
24612 * include/mntent.h: Likewise.
24613 * include/netdb.h: Likewise.
24614 * include/pwd.h: Likewise.
24615 * include/rpc/netdb.h: Likewise.
24616 * include/sched.h: Likewise.
24617 * include/search.h: Likewise.
24618 * include/shadow.h: Likewise.
24619 * include/signal.h: Likewise.
24620 * include/stdio.h: Likewise.
24621 * include/stdlib.h: Likewise.
24622 * include/string.h: Likewise.
24623 * include/sys/socket.h: Likewise.
24624 * include/sys/stat.h: Likewise.
24625 * include/sys/statfs.h: Likewise.
24626 * include/sys/statvfs.h: Likewise.
24627 * include/sys/syslog.h: Likewise.
24628 * include/sys/time.h: Likewise.
24629 * include/sys/uio.h: Likewise.
24630 * include/time.h: Likewise.
24631 * include/unistd.h: Likewise.
24632 * include/utmp.h: Likewise.
24633 * include/wchar.h: Likewise.
24634 * include/wctype.h: Likewise.
24635 * inet/aliases.h: Likewise.
24636 * inet/arpa/inet.h: Likewise.
24637 * inet/netinet/ether.h: Likewise.
24638 * inet/netinet/in.h: Likewise.
24639 * intl/libintl.h: Likewise.
24640 * io/bits/fcntl2.h: Likewise.
24641 * io/fcntl.h: Likewise.
24642 * io/ftw.h: Likewise.
24643 * io/sys/poll.h: Likewise.
24644 * io/sys/stat.h: Likewise.
24645 * io/sys/statfs.h: Likewise.
24646 * io/sys/statvfs.h: Likewise.
24647 * io/utime.h: Likewise.
24648 * libio/bits/stdio.h: Likewise.
24649 * libio/bits/stdio2.h: Likewise.
24650 * libio/libio.h: Likewise.
24651 * libio/libioP.h: Likewise.
24652 * libio/stdio.h: Likewise.
24653 * locale/lc-ctype.c: Likewise.
24654 * locale/locale.h: Likewise.
24655 * login/utmp.h: Likewise.
24656 * malloc/arena.c: Likewise.
24657 * malloc/malloc.c: Likewise.
24658 * malloc/malloc.h: Likewise.
24659 * malloc/mcheck.c: Likewise.
24660 * malloc/mtrace.c: Likewise.
24661 * math/bits/mathcalls.h: Likewise.
24662 * math/fenv.h: Likewise.
24663 * math/math_private.h: Likewise.
24664 * misc/bits/error.h: Likewise.
24665 * misc/bits/syslog.h: Likewise.
24666 * misc/err.h: Likewise.
24667 * misc/error.h: Likewise.
24668 * misc/fstab.h: Likewise.
24669 * misc/mntent.h: Likewise.
24670 * misc/regexp.h: Likewise.
24671 * misc/search.h: Likewise.
24672 * misc/sgtty.h: Likewise.
24673 * misc/sys/mman.h: Likewise.
24674 * misc/sys/syslog.h: Likewise.
24675 * misc/sys/uio.h: Likewise.
24676 * misc/sys/xattr.h: Likewise.
24677 * misc/ttyent.h: Likewise.
24678 * nis/rpcsvc/ypclnt.h: Likewise.
24679 * nss/nss.h: Likewise.
24680 * posix/bits/unistd.h: Likewise.
24681 * posix/fnmatch.h: Likewise.
24682 * posix/glob.h: Likewise.
24683 * posix/sched.h: Likewise.
24684 * posix/spawn.h: Likewise.
24685 * posix/sys/wait.h: Likewise.
24686 * posix/unistd.h: Likewise.
24687 * posix/wordexp.h: Likewise.
24688 * pwd/pwd.h: Likewise.
24689 * resolv/netdb.h: Likewise.
24690 * resource/sys/resource.h: Likewise.
24691 * rt/aio.h: Likewise.
24692 * rt/bits/mqueue2.h: Likewise.
24693 * rt/mqueue.h: Likewise.
24694 * shadow/shadow.h: Likewise.
24695 * signal/signal.h: Likewise.
24696 * socket/send.c: Likewise.
24697 * socket/sendto.c: Likewise.
24698 * socket/sys/socket.h: Likewise.
24699 * stdio-common/printf.h: Likewise.
24700 * stdlib/bits/stdlib.h: Likewise.
24701 * stdlib/fmtmsg.h: Likewise.
24702 * stdlib/monetary.h: Likewise.
24703 * stdlib/stdlib.h: Likewise.
24704 * stdlib/ucontext.h: Likewise.
24705 * streams/stropts.h: Likewise.
24706 * string/argz.h: Likewise.
24707 * string/bits/string2.h: Likewise.
24708 * string/string.h: Likewise.
24709 * string/strings.h: Likewise.
24710 * sunrpc/rpc/auth.h: Likewise.
24711 * sunrpc/rpc/auth_des.h: Likewise.
24712 * sunrpc/rpc/clnt.h: Likewise.
24713 * sunrpc/rpc/netdb.h: Likewise.
24714 * sunrpc/rpc/pmap_clnt.h: Likewise.
24715 * sunrpc/rpc/xdr.h: Likewise.
24716 * sysdeps/generic/inttypes.h: Likewise.
24717 * sysdeps/generic/net/if.h: Likewise.
24718 * sysdeps/generic/sys/swap.h: Likewise.
24719 * sysdeps/gnu/net/if.h: Likewise.
24720 * sysdeps/gnu/utmpx.h: Likewise.
24721 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
24722 * sysdeps/i386/i486/bits/string.h: Likewise.
24723 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
24724 * sysdeps/s390/bits/string.h: Likewise.
24725 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
24726 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
24727 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
24728 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
24729 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
24730 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
24731 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
24732 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
24733 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
24734 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
24735 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
24736 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
24737 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
24738 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
24739 * sysdeps/unix/sysv/linux/readv.c: Likewise.
24740 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
24741 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
24742 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24743 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
24744 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
24745 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
24746 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
24747 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
24748 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
24749 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
24750 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
24751 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
24752 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
24753 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
24754 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
24755 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
24756 * sysvipc/sys/ipc.h: Likewise.
24757 * sysvipc/sys/msg.h: Likewise.
24758 * sysvipc/sys/sem.h: Likewise.
24759 * sysvipc/sys/shm.h: Likewise.
24760 * termios/termios.h: Likewise.
24761 * time/sys/time.h: Likewise.
24762 * time/time.h: Likewise.
24763 * wcsmbs/bits/wchar2.h: Likewise.
24764 * wcsmbs/uchar.h: Likewise.
24765 * wcsmbs/wchar.h: Likewise.
24766 * wctype/wctype.h: Likewise.
24767
0269750c
UD
24768 [BZ #13551]
24769 * Makeconfig: Remove all but ELF support including AIX support.
24770 * Makerules: Likewise.
24771 * config.h.in: Likewise.
24772 * config.make.in: Likewise.
24773 * configure: Likewise.
24774 * configure.in: Likewise.
24775 * csu/Makefile: Likewise.
24776 * csu/version.c: Likewise.
24777 * debug/Makefile: Likewise.
24778 * dlfcn/Makefile: Likewise.
24779 * elf/Makefile: Likewise.
24780 * extra-lib.mk: Likewise.
24781 * iconv/Makefile: Likewise.
24782 * include/libc-symbols.h: Likewise.
24783 * include/shlib-compat.h: Likewise.
24784 * resolv/Makefile: Likewise.
24785 * resolv/res_libc.c: Likewise.
24786 * rt/Makefile: Likewise.
24787 * sysdeps/i386/asm-syntax.h: Likewise.
24788 * sysdeps/i386/sysdep.h: Likewise.
24789 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
24790 * sysdeps/mach/sysdep.h: Likewise.
24791 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
24792 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
24793 * sysdeps/s390/asm-syntax.h: Likewise.
24794 * sysdeps/s390/s390-32/sysdep.h: Likewise.
24795 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24796 * sysdeps/sh/sysdep.h: Likewise.
24797 * sysdeps/unix/sparc/sysdep.h: Likewise.
24798 * sysdeps/wordsize-32/divdi3.c: Likewise.
24799 * sysdeps/x86_64/sysdep.h: Likewise.
24800
00bbd29b
UD
24801 * argp/Versions: Remove _argp_unlock_xxx.
24802
24803 [BZ #13559]
24804 * abilist/ld.abilist: Update. Adjust for removal of tls option.
24805 * abilist/libBrokenLocale.abilist: Likewise.
24806 * abilist/libanl.abilist: Likewise.
24807 * abilist/libc.abilist: Likewise.
24808 * abilist/libcrypt.abilist: Likewise.
24809 * abilist/libdl.abilist: Likewise.
24810 * abilist/libm.abilist: Likewise.
24811 * abilist/libnsl.abilist: Likewise.
24812 * abilist/libpthread.abilist: Likewise.
24813 * abilist/libresolv.abilist: Likewise.
24814 * abilist/librt.abilist: Likewise.
24815 * abilist/libthread_db.abilist: Likewise.
24816 * abilist/libutil.abilist: Likewise.
24817 * abilist/libnss_db.abilist: New file.
24818
24819 * scripts/abilist.awk: Add support for indirect functions.
24820
a2693a0e
UD
24821 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
24822
3f05895f
UD
24823 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
24824
ecb6fb48
UD
24825 * shlib-versions: Remove entries for ports architectures.
24826
664f8cb9
UD
24827 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
24828 files in ports.
24829 * elf/stackguard-macros.h: Remove support for IA-64.
24830 * elf/tst-auditmod1.c: Likewise.
24831 * sysdeps/generic/ldsodefs.h: Likewise.
24832
7ae81d88
UD
24833 * sysdeps/unix/sysv/linux/configure.in: Ports should define
24834 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
24835 configure files.
24836
bdeba135
UD
24837 [BZ #13552]
24838 * configure.in: Remove --enable-omitfp support.
24839 * FAQ.in: Adjust.
24840 * config.make.in: Likewise.
24841 * Makeconfig: Likewise.
24842 * manual/install.texi: Likewise.
24843
d75a0a62
UD
24844 In case anyone cares, the IA-64 architecture could move to ports.
24845 * sysdeps/ia64/*: Removed.
24846 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 24847 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 24848
dcc9756b
UD
24849 [BZ #13555]
24850 * configure.in: Remove entries for unsupported architectures.
24851
d3761ebc 24852 [BZ #13533]
9954432e
UD
24853 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
24854 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
24855 routines.
24856 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
24857 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
24858 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
24859 fall back to using wcrtomb.
24860 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
24861 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
24862 renaming.
24863 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
24864 * wcsmbs/tst-c16c32-1.c: New file.
24865
24866 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
24867 local variable.
24868
c3a87236
UD
24869 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
24870
28926a1b
UD
24871 * elf/tst-unique3.cc: Add explicit declaration of gets.
24872 * elf/tst-unique3lib.cc: Likewise.
24873 * elf/tst-unique3lib2.cc: Likewise.
24874 * elf/tst-unique4.cc: Likewise.
24875
df78418a
UD
24876 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
24877
8ecd6b2a
JM
248782012-01-06 Joseph Myers <joseph@codesourcery.com>
24879
24880 [BZ #13566]
24881 * assert/assert.h (static_assert): Don't define for C++.
24882 * libio/stdio.h (gets): Do declare for C++ <= C++11.
24883 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
24884
9f115170
UD
248852012-01-03 Ulrich Drepper <drepper@gmail.com>
24886
5e0d0300
UD
24887 * iconv/loop.c (single loop): Fix assertion in storing of
24888 remaining bytes.
24889
9f115170
UD
24890 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
24891
81fb02b0
UD
248922012-01-01 Ulrich Drepper <drepper@gmail.com>
24893
24894 * posix/getconf.c: Update copyright year.
24895 * nss/getent.c: Likewise.
a316c1f6 24896 * nss/makedb.c: Likewise.
81fb02b0
UD
24897 * iconv/iconvconfig.c: Likewise.
24898 * iconv/iconv_prog.c: Likewise.
24899 * elf/ldconfig.c: Likewise.
a316c1f6
UD
24900 * elf/pldd.c: Likewise.
24901 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
24902 * catgets/gencat.c: Likewise.
24903 * csu/version.c: Likewise.
24904 * elf/ldd.bash.in: Likewise.
24905 * elf/sprof.c (print_version): Likewise.
24906 * locale/programs/locale.c: Likewise.
24907 * locale/programs/localedef.c: Likewise.
a316c1f6 24908 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
24909 * nscd/nscd.c (print_version): Likewise.
24910 * debug/xtrace.sh: Likewise.
24911 * malloc/memusage.sh: Likewise.
24912 * malloc/mtrace.pl: Likewise.
24913 * debug/catchsegv.sh: Likewise.
24914
2ba92745
JJ
249152011-12-30 Jakub Jelinek <jakub@redhat.com>
24916
24917 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
24918 pure attribute.
24919
dadebdae
UD
249202011-12-24 Ulrich Drepper <drepper@gmail.com>
24921
d3761ebc 24922 [BZ #13533]
db6af3eb
UD
24923 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
24924 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
24925 transformations.
24926 * iconv/gconv_int.h: Likewise.
24927 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
24928 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
24929 from libc for GLIBC_2.16.
24930 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
24931 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
24932 * wcsmbs/uchar.h: Really define mbstate_t.
24933 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
24934 * wcsmbs/c16rtomb.c: New file.
24935 * wcsmbs/mbrtoc16.c: New file.
24936 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
24937 for C/POSIX locale.
24938 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
24939 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
24940
dadebdae
UD
24941 * wcsmbs/wchar.h: Add missing __restrict.
24942
67371b56
UD
249432011-12-23 Ulrich Drepper <drepper@gmail.com>
24944
74033a25
UD
24945 [BZ #13532]
24946 * time/Makefile (routines): Add timespec_get.
24947 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
24948 * time/time.h: Define TIME_UTC and declare timespec_get. Define
24949 timespec for ISO C11.
24950 * time/timespec_get.c: New file.
24951 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
24952 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
24953
380d7e87
UD
24954 [BZ #13531]
24955 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
24956 * stdlib/stdlib.h: Declare aligned_alloc.
24957 * Versions.def: Add GLIBC_2.16 for libc.
24958 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
24959
4e9e7a35
UD
24960 [BZ 13527]
24961 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
24962 ISO C11.
24963
380d7e87 24964 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
24965 code.
24966
03a71829
UD
24967 [BZ #13528]
24968 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
24969
839e283e
UD
24970 [BZ #13529]
24971 * assert/assert.h (static_assert): Define.
24972
ce5294e2 24973 * version.h: Update for 2.16 development version.
90fa7312 24974
8d44e150 24975 [BZ #13526]
d7809905
UD
24976 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
24977 _ISOC11_SOURCE.
24978
c0da14cd
UD
24979 * version.h (RELEASE): Bump for 2.15 release.
24980 * include/features.h (__GLIBC_MINOR__): Bump to 15.
24981
530a3249
MP
24982 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
24983 Patch by Marek Polacek <mpolacek@redhat.com>.
24984
67371b56
UD
24985 * bits/byteswap.h: Protect long long constants with __extension__.
24986 * sysdeps/i386/bits/byteswap.h: Likewise.
24987 * sysdeps/ia64/bits/byteswap.h: Likewise.
24988 * sysdeps/s390/bits/byteswap.h: Likewise.
24989 * sysdeps/x86_64/bits/byteswap.h: Likewise.
24990
15db4de1
LD
249912011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24992
24993 [BZ #13540]
bbe315ea
LD
24994 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
24995 destination buffer.
15db4de1
LD
24996 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
24997
2b2596b1
MP
249982011-12-23 Marek Polacek <polacek@redhat.com>
24999
25000 * elf/dl-addr.c (determine_info): Add inline keyword.
25001 * elf/tst-auditmod4b.c (check_avx): Likewise.
25002 * elf/tst-auditmod6b.c (check_avx): Likewise.
25003 * elf/tst-auditmod6c.c (check_avx): Likewise.
25004 * elf/tst-auditmod7b.c (check_avx): Likewise.
25005
70c6c246
UD
250062011-12-23 Ulrich Drepper <drepper@gmail.com>
25007
25008 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
25009 !__SSE_MATH__.
25010
c044cf14
LD
250112011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25012
15db4de1 25013 [BZ #13540]
c044cf14
LD
25014 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
25015 processing for last bytes.
25016
6b13d9d9
BH
250172011-08-06 Bruno Haible <bruno@clisp.org>
25018
d455f537
BH
25019 [BZ #13061]
25020 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
25021 U+0385, not to U+1FEE.
25022
6b13d9d9
BH
25023 [BZ #13062]
25024 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
25025 entry for U+00A5 U+0301.
25026
db910efd
UD
250272011-12-22 Ulrich Drepper <drepper@gmail.com>
25028
27deeafc
UD
25029 [BZ #13166]
25030 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
25031 buffer for the output is too small.
25032
aed9d171
UD
25033 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
25034 optimization.
25035
db910efd
UD
25036 [BZ #13185]
25037 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
25038 SSE flags if possible.
25039
2bd779ae
LD
250402011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25041
e7f9dac3 25042 [BZ #13540]
2bd779ae
LD
25043 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
25044 processing for last bytes.
25045
154bfc16
JM
250462011-12-22 Joseph Myers <joseph@codesourcery.com>
25047
25048 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
25049 (syscall-list-default-options, syscall-list-default-condition)
25050 (syscall-list-includes): Define.
25051 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
25052 list of ABIs and options and #if conditions for each ABI. Do not
25053 handle common syscalls between ABIs specially.
25054 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
25055 Remove.
25056 (syscall-list-variants, syscall-list-32bit-options)
25057 (syscall-list-32bit-condition, syscall-list-64bit-options)
25058 (syscall-list-64bit-condition): Define.
25059 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
25060 (syscall-list-variants, syscall-list-32bit-options)
25061 (syscall-list-32bit-condition, syscall-list-64bit-options)
25062 (syscall-list-64bit-condition): Define.
25063 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
25064 Remove.
25065 (syscall-list-variants, syscall-list-32bit-options)
25066 (syscall-list-32bit-condition, syscall-list-64bit-options)
25067 (syscall-list-64bit-condition): Define.
25068 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
25069 Remove.
25070 (syscall-list-variants, syscall-list-32bit-options)
25071 (syscall-list-32bit-condition, syscall-list-64bit-options)
25072 (syscall-list-64bit-condition): Define.
25073
21eaf3a5
UD
250742011-12-22 Ulrich Drepper <drepper@gmail.com>
25075
16c6f992
UD
25076 * locale/iso-639.def: Add brx entry.
25077
41043168
UD
25078 [BZ #13328]
25079 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
25080 Proposed by Mariusz_Cukr <marcukr@op.pl>.
25081
21eaf3a5
UD
25082 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
25083 __feraiseexcept_renamed.
25084
e3a851a2
UD
250852011-12-21 Ulrich Drepper <drepper@gmail.com>
25086
4920765e
UD
25087 [BZ #13538]
25088 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
25089 EPOLLET with unsigned values.
25090 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25091 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
25092
e3a851a2
UD
25093 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
25094 to large cancellation.
25095 * math/s_cacoshf.c: Likewise.
25096 * math/s_cacoshl.c: Likewise.
25097
b27e24b8
RK
250982011-11-18 Richard B. Kreckel <kreckel@ginac.de>
25099
25100 [BZ #13305]
aebefeee 25101 [BZ #12786]
b27e24b8
RK
25102 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
25103 * math/s_cacoshf.c: Likewise.
25104 * math/s_cacoshl.c: Likewise.
25105
ee190f67
UD
251062011-12-21 Ulrich Drepper <drepper@gmail.com>
25107
25108 [BZ #13439]
25109 * iconv/gconv.h: Define __GCONV_SWAP.
25110 * iconvdata/unicode.c: The swap bit must be stored in __flags.
25111 * iconvdata/utf-16.c: Likewise.
25112 * iconvdata/utf-32.c: Likewise.
25113
707f25df
AS
251142011-12-21 Andreas Schwab <schwab@linux-m68k.org>
25115
25116 [BZ #13524]
25117 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
25118 numerator after shifting it by one limb.
25119
d2daaa1e
RÁE
251202011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
25121
25122 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
25123 under [__USE_EXTERN_INLINES].
25124
a4647e72
UD
251252011-12-17 Ulrich Drepper <drepper@gmail.com>
25126
25127 [BZ #13446]
25128 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
25129
f0b264f1
AZ
251302011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25131
25132 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
25133 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
25134 optimized code.
25135 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
25136 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
25137 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
25138 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
25139 for strncasecmp/strncasecmp_l compilation.
25140 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
25141 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
25142
8ef4f244
MP
251432011-12-08 Marek Polacek <mpolacek@redhat.com>
25144
25145 [BZ #13484]
25146 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
25147 of __asm__.
25148
97ac2654
UD
251492011-12-17 Ulrich Drepper <drepper@gmail.com>
25150
25151 [BZ #13506]
25152 * time/tzfile.c (__tzfile_read): Check values from file header.
25153
91d2a845
WS
251542011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
25155
25156 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
25157 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
25158 * powerpc/powerpc32/dl-start.S: Likewise.
25159 * powerpc/powerpc32/elf/start.S: Likewise.
25160 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
25161 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
25162 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
25163 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
25164 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
25165 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
25166 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
25167 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
25168 * powerpc/powerpc32/fpu/s_round.S: Likewise.
25169 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
25170 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
25171 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
25172 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
25173 * powerpc/powerpc32/memset.S: Likewise.
25174 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
25175 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25176 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25177 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25178 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25179 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
25180 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
25181 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
25182 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
25183 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
25184 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
25185 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
25186 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
25187
a1267ba1
AZ
251882011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25189
25190 * math/libm-test.inc: Added more nearbyint tests.
25191 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
25192 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
25193 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
25194 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
25195
ad8ac1bd
RL
251962011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
25197
25198 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
25199 FD_CLOEXEC.
25200
1d3e4b61
UD
252012011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25202
25203 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
25204 Add wcscpy-ssse3 wcscpy-c.
25205 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
25206 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
25207 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
25208 * sysdeps/x86_64/wcschr.S: New file.
25209 * sysdeps/x86_64/wcsrchr.S: New file.
25210 * string/test-strcmp.c: Remove checking of wcscmp function for
25211 wrong alignments.
25212 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
25213 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
25214 wcsrchr-sse2 wcsrchr-c.
25215 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
25216 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
25217 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
25218 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
25219 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
25220 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
25221 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
25222 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
25223 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
25224 * wcsmbc/wcschr.c (WCSCHR): New macro.
25225
5b330a2d
UD
252262011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25227
25228 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
25229 * wcsmbs/test-wcsrchr.c: New file.
25230 * string/test-strrchr.c: Add wcsrchr support.
25231 (WIDE): New macro.
25232 * wcsmbs/test-wcscpy.c: New file.
25233 * string/test-strcpy.c: Add wcscpy support.
25234 (WIDE): New macro.
26428b7c 25235
f039c043
UD
252362011-12-10 Ulrich Drepper <drepper@gmail.com>
25237
25238 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
25239 the inner loop.
25240
850fb039
AS
252412011-12-06 Andreas Schwab <schwab@linux-m68k.org>
25242
25243 [BZ #13472]
25244 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
25245
4efbd5cb
UD
252462011-12-04 Ulrich Drepper <drepper@gmail.com>
25247
52ff5dd0 25248 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 25249 Minor optimizations.
52ff5dd0 25250
4efbd5cb
UD
25251 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
25252 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
25253 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
25254
8a426e12
UD
252552011-12-03 Ulrich Drepper <drepper@gmail.com>
25256
aff2453d
UD
25257 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
25258 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
25259 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
25260 for gcc to avoid warnings.
25261 * inet/Makefile (tests): Add tst-checks.
25262 * inet/tst-checks.c: New file.
25263
25264 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
25265 warning.
25266
25267 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
25268 __wmemcmp_sse2.
25269
25270 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
25271 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
25272
8a426e12
UD
25273 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
25274
9bea3473
UD
252752011-12-02 Ulrich Drepper <drepper@gmail.com>
25276
3a965496
UD
25277 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
25278 problem.
25279
9bea3473
UD
25280 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
25281
f101631b
UD
252822011-11-29 Joseph Myers <joseph@codesourcery.com>
25283
25284 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
25285 conditional on GCC version.
25286 (__arch_compare_and_exchange_val_8_acq)
25287 (__arch_compare_and_exchange_val_16_acq)
25288 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
25289 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
25290 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
25291
a98275aa
UD
252922011-12-02 Joseph Myers <joseph@codesourcery.com>
25293
25294 * sysdeps/sh/backtrace.c: New file.
25295
d4cc29a2
AS
252962011-12-02 Andreas Schwab <schwab@redhat.com>
25297
25298 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
25299 parenthesis.
25300
6257af2d
AS
253012011-12-01 Andreas Schwab <schwab@redhat.com>
25302
25303 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
25304 falling back to utime.
25305
b5f44c1a
AS
253062011-11-30 Andreas Schwab <schwab@redhat.com>
25307
25308 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
25309 expectations for float.
25310
f3a6cc0a
AS
253112011-11-29 Andreas Schwab <schwab@redhat.com>
25312
25313 * locale/weight.h (findidx): Add parameter len.
25314 * locale/weightwc.h (findidx): Likewise.
25315 * posix/fnmatch_loop.c (FCT): Adjust caller.
25316 * posix/regcomp.c (build_equiv_class): Likewise.
25317 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
25318 * posix/regexec.c (check_node_accept_bytes): Likewise.
25319 * string/strcoll_l.c (STRCOLL): Likewise.
25320 * string/strxfrm_l.c (STRXFRM): Likewise.
25321
9d65ea3a
UD
253222011-11-17 Ulrich Drepper <drepper@gmail.com>
25323
25324 * Makefile.in: Remove CVSOPT handling.
25325 * configure.in: Remove use of AC_REVISION.
25326 * iconvdata/Makefile (distribute): No need to filter out CVS.
25327 * scripts/list-sources.sh: Remove CVS, subversion and monotone
25328 handling.
25329
5583a086
AS
253302011-11-16 Andreas Schwab <schwab@redhat.com>
25331
25332 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
25333 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
25334 [USE_AS_STRNCASECMP_L]: Likewise.
25335 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
25336 NO_TLS_DIRECT_SEG_REFS.
25337 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
25338 Fix argument offsets for non-PIC.
25339 [USE_AS_STRNCASECMP_L]: Likewise.
25340 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
25341 NO_TLS_DIRECT_SEG_REFS.
25342
d62a8200
UD
253432011-11-15 Ulrich Drepper <drepper@gmail.com>
25344
9d65ea3a 25345 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
25346 O_CLOEXEC.
25347 * locale/loadlocale.c (_nl_load_locale): Likewise.
25348
09f93bd3
AS
253492011-11-15 Andreas Schwab <schwab@redhat.com>
25350
446514f9
AS
25351 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
25352 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
25353 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
25354 (SYSCALL_GETTIME): Set errno on error.
25355
09f93bd3
AS
25356 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
25357 count references to noai6ai_cached.
25358
312be3f9
UD
253592011-11-15 Ulrich Drepper <drepper@gmail.com>
25360
25361 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
25362
25363 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
25364 FD_CLOEXEC for /proc/self/maps.
25365
25366 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
25367 FD_CLOEXEC for /proc/meminfo.
25368
25369 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
25370 gai.conf.
25371
25372 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
25373 FD_CLOEXEC for given file.
25374
25375 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
25376
25377 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
25378 FD_CLOEXEC for /etc/hosts.
25379 (_gethtent): Likewise.
25380
25381 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
25382
25383 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
25384 cancellation and set FD_CLOEXEC for /etc/netgroup.
25385
25386 * nss/nss_files/files-key.c (search): Don't allow cancellation when
25387 reading /etc/publickey.
25388
25389 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
25390 allow cancellation when reading /etc/group.
25391
25392 * nss/nss_files/files-alias.c (internal_setent): Don't allow
25393 cancellation.
25394 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
25395
25396 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
25397 when using data file.
25398
25399 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
25400
25401 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
25402 (write_nis_obj): Use "c" and "e" in fopen.
25403
25404 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
25405
25406 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
25407
25408 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
25409
25410 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
25411
25412 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
25413 locale.alias.
25414
25415 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
25416
25417 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
25418
25419 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
25420
25421 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
25422 file parsing and set FD_CLOEXEC.
25423
82af0fa8
UD
254242011-11-14 Ulrich Drepper <drepper@gmail.com>
25425
25426 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
25427
a5fb313c
AS
254282011-11-14 Andreas Schwab <schwab@redhat.com>
25429
25430 * malloc/arena.c (arena_get2): Don't call reused_arena when
25431 _int_new_arena failed.
25432
6abf3465
UD
254332011-11-14 Ulrich Drepper <drepper@gmail.com>
25434
25435 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
25436 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
25437 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
25438 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25439 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25440 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
25441 to compile strcasecmp and strncasecmp.
25442 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
25443 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
25444
25445 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
25446
76e3966e
UD
254472011-11-13 Ulrich Drepper <drepper@gmail.com>
25448
25449 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
25450 locale-defines.sym to gen-as-const-headers.
25451 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
25452 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
25453 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
25454 to compile strcasecmp and strncasecmp.
25455 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
25456 strcasecmp_l and strncasecmp_l.
25457 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
25458 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
25459 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
25460 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
25461 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
25462 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
25463 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
25464 * sysdeps/i386/i686/multiarch/strncase.S: New file.
25465 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
25466 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
25467 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
25468
ab26144e
UD
254692011-11-12 Ulrich Drepper <drepper@gmail.com>
25470
7edb22ef
UD
25471 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
25472 result of SYSDEP_GETTIME_CPU to retval.
25473 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
25474 parameter list to macro. Remove trailing semicolon. Adjust users.
25475
9694fc44
UD
25476 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
25477 variable.
25478
8ad89ef8
UD
25479 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
25480 mantissa words.
25481 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
25482
0c822ef9
UD
25483 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
25484 from unused variable.
25485
874e0564
UD
25486 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
25487 DWARF definitions.
25488 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
25489 for assembling.
25490
3a2edc79
UD
25491 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
25492 over namespaces.
25493
f3c2577f
UD
25494 * sunrpc/rpc_prot.c (rejected): Fix case value.
25495
294ce126
UD
25496 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
25497 unsigned long long int to avoid warnings in shift.
25498
5e2b63c6
UD
25499 * posix/regex_internal.c (re_string_reconstruct): Actually use result
25500 of use of trans.
25501 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
25502 variable tmp.
25503
e7f4b08e
UD
25504 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
25505 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
25506 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
25507
ab26144e
UD
25508 * nis/nis_table.c (nis_list): Use variable of correct type for
25509 result of __follow_path call.
25510
8a6d5255
AZ
255112011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25512
25513 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
25514 of math functions ceil, trunc, floor, round, and sqrt, when
25515 avaliable on the platform.
25516 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
25517 name clash.
25518 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
25519 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
25520 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
25521
aaddc98c
MP
255222011-10-30 Marek Polacek <mpolacek@redhat.com>
25523
25524 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
25525 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
25526
95b7042b
RM
255272011-11-11 Roland McGrath <roland@hack.frob.com>
25528
25529 * include/unistd.h: Fix __readlink return type.
25530 Reported by Chris Metcalf <cmetcalf@tilera.com>.
25531
57769839
UD
255322011-11-11 Ulrich Drepper <drepper@gmail.com>
25533
25534 * stdlib/ucontext.h: Undo last change for makecontext.
25535
edc5984d
AS
255362011-11-11 Andreas Schwab <schwab@redhat.com>
25537
98591e58
AS
25538 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
25539
edc5984d
AS
25540 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
25541 * setjmp/setjmp.h: Mark functions as non-leaf.
25542 * setjmp/bits/setjmp2.h: Likewise.
25543 * stdlib/ucontext.h: Likewise.
25544
77cdc054
AS
255452011-11-10 Andreas Schwab <schwab@redhat.com>
25546
25547 * malloc/arena.c (_int_new_arena): Don't increment narenas.
25548 (reused_arena): Don't check arena limit.
25549 (arena_get2): Atomically check arena limit.
25550
fe72eebd
UD
255512011-11-08 Ulrich Drepper <drepper@gmail.com>
25552
5f078c32
UD
25553 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
25554 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
25555
fe72eebd
UD
25556 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
25557 instructions.
25558
ae1bc2fa
AS
255592011-11-07 Andreas Schwab <schwab@redhat.com>
25560
7583a88d
AS
25561 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
25562 handler when locking.
25563
ae1bc2fa
AS
25564 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
25565 Fix size of allocated buffer.
25566
10fb0bfa
AS
255672011-11-04 Andreas Schwab <schwab@redhat.com>
25568
998832a4
AS
25569 [BZ #10103]
25570 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
25571 declarations for long double functions.
25572 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
25573
10fb0bfa
AS
25574 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
25575
3d7ba52b
AS
255762011-11-03 Andreas Schwab <schwab@redhat.com>
25577
a9ae54a1
AS
25578 * nscd/nscd.c (main): Don't start AVC thread until credentials are
25579 installed.
25580
3d7ba52b
AS
25581 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
25582 is disabled.
25583
bc8db248
ST
255842011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
25585
25586 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
25587
45b96dd6
AS
255882011-11-01 Andreas Schwab <schwab@linux-m68k.org>
25589
647776f6
AS
25590 * include/alloca.h (stackinfo_alloca_round): Define.
25591 (extend_alloca): Use it.
25592 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
25593 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
25594 here.
25595
d91a8b93
AS
25596 * scripts/check-local-headers.sh: Ignore libaudit.h.
25597
45b96dd6
AS
25598 * nscd/Makefile (extra-objs): Make recursively expanded.
25599
432d41ce
UD
256002011-11-01 Ulrich Drepper <drepper@gmail.com>
25601
34372fc6
UD
25602 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
25603 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
25604
fadb59f8
UD
25605 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
25606 * posix/tst-rfc3484-2.c: Likewise.
25607 * posix/tst-rfc3484-3.c: Likewise.
25608
78239589
UD
25609 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
25610 process_vm_writev.
25611 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
25612 process_vm_writev.
25613 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
25614 process_vm_writev from libc using GLIBC_2.15 version.
25615
432d41ce
UD
25616 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
25617
02f9c6cf
PP
256182011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
25619
25620 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
25621 stack usage.
25622
3a2c0242
UD
256232011-10-31 Ulrich Drepper <drepper@gmail.com>
25624
f4ec4833
UD
25625 [BZ #13367]
25626 * nss/getent.c (initgroups_keys): Show error message in case no group
25627 names are given.
25628
3a2c0242
UD
25629 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
25630 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
25631 __bump_nl_timestamp.
25632 * nscd/connections (nscd_init): When host database is served open
25633 netlink socket and request notification about configuration changes.
25634 (main_loop_poll): Track netlink file descriptor and bump timestamp
25635 in case data becomes available.
25636 (main_loop_epoll): Likewise.
25637 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
25638 (database_pers_head): Add extra_data fileds.
25639 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
25640 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
25641 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
25642 Adjust caller.
25643 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
25644 in6ai data, call __free_in6ai.
25645 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
25646 Add -DHAVE_NETLINK.
25647 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
25648 interface information. Reuse previous data if netlink timestamp
25649 is not changed.
25650 (__bump_nl_timestamp): New function.
25651 (__free_in6ai): New function.
25652
636064eb
UD
256532011-10-30 Ulrich Drepper <drepper@gmail.com>
25654
25655 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
25656 close_not_cancel_no_status here.
25657 (__check_pf): Reorganize code a bit to not call close twice if OOM.
25658
9beb2334
UD
256592011-10-29 Ulrich Drepper <drepper@gmail.com>
25660
6ef76f3b
UD
25661 [BZ #13276]
25662 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
25663 return value.
25664
0ffc4f3e 25665 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
25666 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
25667 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
25668
cb95113e
UD
256692011-07-03 Andreas Jaeger <aj@suse.de>
25670
25671 [BZ #10709]
25672 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
25673 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
25674 * math/libm-test.inc (sin_test): Add test case.
25675
a1b560ff
UD
256762011-10-29 Ulrich Drepper <drepper@gmail.com>
25677
c9aaface
UD
25678 [BZ #13337]
25679 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
25680 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
25681
d272e7f1
UD
25682 * elf/chroot_canon.c (chroot_canon): Cleanups.
25683
1bc33071
UD
25684 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
25685
1760874d
TJ
25686 [BZ #13335]
25687 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
25688 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
25689
51d91b18
UD
25690 * string/test-strchr.c: Make usable for strchrnul testing.
25691 * string/test-strchrnul.c: New file.
25692 * string/Makefile (strop-tests): Add strchrnul.
25693
a1b560ff 25694 * po/it.po: Update from translation team.
b611fb81 25695 * po/es.po: Likewise.
a1b560ff 25696
a5b81e1f
UD
256972011-10-28 Ulrich Drepper <drepper@gmail.com>
25698
fd52bc6d
UD
25699 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
25700 the three constants needed as parameters. Drop the others.
25701 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
25702 __m128i_strloadu_tolower.
52e4b9eb
UD
25703 Create and initialize variable zero and use it in all the places
25704 where _mm_setzero_si128 was used.
fd52bc6d 25705
a5b81e1f
UD
25706 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
25707 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
25708 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
25709 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
25710 anymore.
25711 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
25712 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
25713 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
25714 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
25715 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
25716 __mpranred, __mptan.
25717 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
25718 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
25719 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
25720 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
25721 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
25722 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
25723 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
25724 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
25725 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
25726
b4343346
AS
257272011-10-28 Andreas Schwab <schwab@redhat.com>
25728
0c92d8a8
AS
25729 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
25730 redefine if SHARED.
25731 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
25732
b4343346
AS
25733 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
25734 wide char related routines to wcsmbs subdir.
25735
3871f58f
AS
257362011-10-27 Andreas Schwab <schwab@redhat.com>
25737
25738 [BZ #13344]
25739 * misc/sys/cdefs.h (__THROWNL): Define.
25740 * posix/unistd.h: Use __THREADNL instead of __THREAD
25741 for memory synchronization functions.
25742
94d44d9f
RM
257432011-10-26 Roland McGrath <roland@hack.frob.com>
25744
21b64b15 25745 [BZ #13349]
94d44d9f
RM
25746 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
25747 doesn't exist.
25748 * manual/stdio.texi (Obstack Streams): Node removed.
25749
f6ce9294
AS
257502011-10-26 Andreas Schwab <schwab@redhat.com>
25751
80479147
AS
25752 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
25753 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
25754 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
25755
f6ce9294
AS
25756 * math/math_private.h (math_force_eval): Allow non-addressable
25757 arguments.
25758 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
25759
618280a1
UD
257602011-10-25 Ulrich Drepper <drepper@gmail.com>
25761
e0016b11
UD
25762 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
25763 file is not needed.
25764
25765 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
25766 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
25767 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25768 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25769 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25770 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25771 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
25772 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
25773 Add AVX variants.
25774 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
25775 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
25776 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
25777 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
25778 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
25779 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
25780 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
25781 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
25782 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
25783 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
25784 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
25785 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
25786 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
25787 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
25788 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
25789 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
25790 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
25791 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
25792 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
25793
25794 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
25795 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
25796
618280a1
UD
25797 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
25798 place. Use VEX encoding when compiling for AVX.
25799
37822576
AS
258002011-10-25 Andreas Schwab <schwab@redhat.com>
25801
1f1e1947
AS
25802 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
25803 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
25804
37822576
AS
25805 * string/test-strchr.c (do_test): Don't generate NUL bytes.
25806
31ea014d
UD
258072011-10-25 Ulrich Drepper <drepper@gmail.com>
25808
d7826aa1 25809 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 25810 useless if() expression.
d7826aa1
UD
25811 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
25812 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
25813 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25814 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25815 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25816 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
25817 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
25818 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25819 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
25820 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25821 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
25822 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
25823 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
25824 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
25825 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
25826 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
25827 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
25828 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
25829 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
25830
31ea014d
UD
25831 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
25832
16437fec
AS
258332011-10-25 Andreas Schwab <schwab@redhat.com>
25834
25835 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
25836 condition.
25837 * elf/dl-fini.c (_dl_sort_fini): Likewise.
25838
31d3cc00
UD
258392011-10-25 Ulrich Drepper <drepper@gmail.com>
25840
25841 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
25842 .text section. Avoid duplicate constants.
25843 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25844 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25845 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25846 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25847 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25848 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25849 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25850 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25851 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
25852 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
25853 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
25854 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25855 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
25856 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
25857 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
25858 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
25859 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
25860 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
25861 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25862 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25863 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25864 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25865 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25866 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
25867 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
25868 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
25869 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
25870 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
25871 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
25872 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
25873 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
25874 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
25875 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25876 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
25877 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
25878 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
25879 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
25880 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
25881 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
25882 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
25883 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
25884 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
25885 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
25886 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
25887 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
25888
58985aa9
UD
258892011-10-24 Ulrich Drepper <drepper@gmail.com>
25890
202c9deb
UD
25891 * sysdeps/x86_64/dla.h: Move to ...
25892 * sysdeps/x86_64/fpu/dla.h: ...here.
25893 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
25894 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 25895
af968f62
UD
25896 * config.make.in: Add have-mfma4 entry.
25897 * configure.in: Substitute libc_cv_cc_fma4.
25898 * math/Makefile (dbl-only-routines): Add sincostab.
25899 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
25900 Use __sincostab not sincos.
25901 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
25902 name is a macro.
25903 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25904 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25905 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25906 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
25907 using __copysign.
25908 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
25909 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
25910 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
25911 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
25912 and __inv.
25913 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
25914 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
25915 __copysign.
25916 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
25917 define aliases when function name is a macro.
25918 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
25919 sysdeps/ieee754/dbl-64/sincos.tbl.
25920 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
25921 fma4-enabled routines.
25922 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
25923 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
25924 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
25925 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
25926 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
25927 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
25928 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
25929 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
25930 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
25931 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
25932 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
25933 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
25934 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
25935 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
25936 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
25937 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
25938 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
25939 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
25940 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
25941 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
25942 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
25943 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
25944 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
25945 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
25946 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
25947 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
25948 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
25949 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
25950 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
25951 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
25952
58985aa9
UD
25953 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
25954 rename.
25955 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25956 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25957 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25958 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25959 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25960 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25961 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25962 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25963
a201fbcf
AS
259642011-10-24 Andreas Schwab <schwab@redhat.com>
25965
25966 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
25967
fc2ee42a
LD
259682011-10-23 Ulrich Drepper <drepper@gmail.com>
25969
bb3129bd
UD
25970 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
25971
0275fff8
UD
25972 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
25973 prediction.
25974 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
25975
2fa2ae85
UD
25976 * string/strnlen.c: Don't define STRNLEN, reverse logic.
25977 Remove unused variable magic_bits.
25978 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
25979
fc2ee42a
LD
25980 * string/strnlen.c: Define and use STRNLEN macro.
25981 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
25982 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
25983 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
25984 * wcsmbs/wcslen.c: Define and use WCSLEN.
25985 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
25986 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
25987 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
25988 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
25989 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
25990 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
25991 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
25992
ce7dd29f
LD
259932011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25994
25995 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25996 strnlen-sse2-no-bsf.
25997 Rename strlen-no-bsf to strlen-sse2-no-bsf.
25998 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
25999 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
26000 Add strnlen support.
26001 (USE_AS_STRNLEN): New macro.
26002 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
26003 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
26004 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
26005 * sysdeps/x86_64/wcslen.S: New file.
26006
979c70a3
MZ
260072011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
26008
26009 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
26010 XMM-moves are used for copying on small sizes.
26011
2d09f82f
LD
260122011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26013
26014 * wcsmbs/Makefile (strop-tests): Add wcschr.
26015 * wcsmbs/test-wcschr.c: New file.
26016 * string/test-strchr.c: Update.
26017 Add wcschr support.
26018 (WIDE): New macro.
26019
619fccca
LD
260202011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26021
2d09f82f 26022 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
26023 * wcsmbs/test-wcslen.c: New file.
26024 * string/test-strlen.c: Update.
26025 Add wcslen support.
26026 (WIDE): New macro.
26027
09f699ea
UD
260282011-10-23 Ulrich Drepper <drepper@gmail.com>
26029
26030 * po/it.po: Update from translation team.
26031
95584d3b
LD
260322011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26033
26034 * sysdeps/x86_64/wcscmp.S: Update.
26035 Fix wrong comparison semantics.
26036 wcscmp shall use signed comparison not unsigned.
26037 Don't use substraction to avoid overflow bug.
26038 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
26039 * wcsmbc/wcscmp.c: Likewise.
26040 * string/test-strcmp.c: Likewise.
26041 Add new tests to check cases with negative values.
26042
c8b3296b
UD
260432011-10-23 Ulrich Drepper <drepper@gmail.com>
26044
26045 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
26046 * sysdeps/x86_64/dla.h: ...here. New file.
26047 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
26048 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26049 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26050 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26051 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26052 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26053 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26054 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26055 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26056
246ad57a
AS
260572011-10-23 Andreas Schwab <schwab@linux-m68k.org>
26058
26059 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
26060 __ynl_finite aliases.
26061
a1a87169
UD
260622011-10-22 Ulrich Drepper <drepper@gmail.com>
26063
0d355eb7
UD
26064 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26065
a1a87169
UD
26066 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
26067 define DLA_FMA.
26068 [DLA_FMA] (EMULV): Use DLA_FMA.
26069 [DLA_FMA] (MUL12): Use EMULV.
26070 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
26071 that are not needed.
26072 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26073 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26074 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26075 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26076 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26077 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26078 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26079
ee2aafe0
AS
260802011-10-22 Andreas Schwab <schwab@linux-m68k.org>
26081
26082 * math/s_nan.c: Undef __nan.
26083 * math/s_nanf.c: Undef __nanf.
26084 * math/s_nanl.c: Undef __nanl.
26085 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
26086 "math_private.h".
26087
bc62c2fb
UD
260882011-10-22 Ulrich Drepper <drepper@gmail.com>
26089
77425c63
UD
26090 * math/s_catan.c: Add branch predictions.
26091 * math/s_catanf.c: Likewise.
26092 * math/s_catanh.c: Likewise.
26093 * math/s_catanhf.c: Likewise.
26094 * math/s_catanhl.c: Likewise.
26095 * math/s_catanl.c: Likewise.
26096 * math/s_cexp.c: Likewise.
26097 * math/s_cexpf.c: Likewise.
26098 * math/s_cexpl.c: Likewise.
26099 * math/s_clog.c: Likewise.
26100 * math/s_clog10.c: Likewise.
26101 * math/s_clog10f.c: Likewise.
26102 * math/s_clog10l.c: Likewise.
26103 * math/s_clogf.c: Likewise.
26104 * math/s_clogl.c: Likewise.
26105 * math/s_csqrt.c: Likewise.
26106 * math/s_csqrtf.c: Likewise.
26107 * math/s_csqrtl.c: Likewise.
26108 * math/s_ctanf.c: Likewise.
26109 * math/s_ctanh.c: Likewise.
26110 * math/s_ctanhf.c: Likewise.
26111 * math/s_ctanhl.c: Likewise.
26112 * math/s_ctanl.c: Likewise.
26113
bc62c2fb
UD
26114 * math/math_private.h: Define __nan, __nanf, __nanl.
26115 * math/s_cacosh.c: Include <math_private.h>.
26116 * math/s_cacoshl.c: Likewise.
26117 * math/s_casinh.c: Likewise.
26118 * math/s_casinhf.c: Likewise.
26119 * math/s_casinhl.c: Likewise.
26120 * math/s_ccos.c: Rely entire on ccosh.
26121 * math/s_ccosf.c: Rely entire on ccoshf.
26122 * math/s_ccosl.c: Rely entirely on ccoshl.
26123 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
26124 Remove tests for FE_INVALID.
26125 * math/s_ccoshf.c: Likewise.
26126 * math/s_ccoshl.c: Likewise.
26127 * math/s_csin.c: Likewise.
26128 * math/s_csinf.c: Likewise.
26129 * math/s_csinh.c Likewise.
26130 * math/s_csinhf.c: Likewise.
26131 * math/s_csinhl.c: Likewise.
26132 * math/s_csinl.c: Likewise.
26133 * math/s_ctan.c: Likewise.
26134 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
26135 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
26136 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
26137
8ec250a4
UD
261382011-10-21 Ulrich Drepper <drepper@gmail.com>
26139
c196fed8
UD
26140 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
26141 compilation problems.
26142
8ec250a4
UD
26143 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
26144 __builtin_expect.
26145
8d4f46c6
UD
261462011-10-20 Ulrich Drepper <drepper@gmail.com>
26147
ed72b654
UD
26148 * sysdeps/i386/configure.in: Test for -mfma4 option.
26149 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
26150 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
26151 COMMON_CPUID_INDEX_80000001.
26152 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
26153 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
26154 use it if FMA3 is not supported.
26155 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
26156
8d4f46c6
UD
26157 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
26158 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
26159
d45c60c2
AS
261602011-10-20 Andreas Schwab <schwab@redhat.com>
26161
26162 [BZ #12892]
26163 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
26164 it would create a cycle with a link time dependency.
26165
d9a4d2ab
UD
261662011-10-19 Ulrich Drepper <drepper@gmail.com>
26167
855d1560
UD
26168 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
26169 instruction.
26170 * string/Makefile (strop-tests): Add rawmemchr.
26171 * string/test-rawmemchr.c: New file.
26172
d9a4d2ab
UD
26173 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
26174 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
26175 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
26176 when compiling str{,n}casecmp and when AVX is available. Hook up
26177 new optimized code in initializers.
26178
8f3b1ffe
AS
261792011-10-19 Andreas Schwab <schwab@redhat.com>
26180
26181 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
26182 __feraiseexcept instead of feraiseexcept.
26183
d38f1dba
UD
261842011-10-18 Ulrich Drepper <drepper@gmail.com>
26185
d9a8d0ab
UD
26186 * math/math_private.h: Define defaults for libc_fetestexcept and
26187 libc_feupdateenv.
26188 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
26189 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
26190 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
26191 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
26192 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
26193 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
26194 libc_fetestexcept and libc_feupdateenv.
26195
4855e3dd
UD
26196 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
26197 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
26198 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
26199 * sysdeps/x86_64/fpu/math_private.h: Define special version of
26200 libc_feholdexcept_setround.
26201
581d30e3
UD
26202 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
26203 Add s_nearbyint-c and s_nearbyintf-c.
26204 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
26205 nearbyintf inlines.
26206 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
26207 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
26208 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
26209 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
26210
d38f1dba
UD
26211 * math/math_private.h: Define defaults for libc_fegetround,
26212 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
26213 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
26214 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
26215 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
26216 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
26217 standard functions.
26218 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26219 Remove comments and hacks for old compiler versions.
26220 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
26221 libc_fegetround, libc_fesetround, libc_feholdexcept, and
26222 libc_feholdexceptl.
26223
caa6c9d8
AS
262242011-10-18 Andreas Schwab <schwab@redhat.com>
26225
26226 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
26227 (__feraiseexcept_renamed): Add __NTH.
26228 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
26229 namespace violations.
26230
97c066e6
UD
262312011-10-17 Ulrich Drepper <drepper@gmail.com>
26232
99ce7b04
UD
26233 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
26234
1004d182
UD
26235 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
26236
228a984d
UD
26237 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
26238 recently added interfaces.
26239 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
26240
c8553a6a
UD
26241 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
26242 about macro parameter expansion.
26243
ed22dcf6
UD
26244 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
26245 __NO_MATH_INLINES is defined. Cleanups.
26246
26247 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
26248 and __floorf is target has SSE4.1.
26249 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
26250 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
26251 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
26252 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
26253
b171c137
UD
26254 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
26255 name.
26256 (floorf): Likewise.
26257
97c066e6
UD
26258 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
26259
629f62ef
AS
262602011-10-17 Andreas Schwab <schwab@redhat.com>
26261
49a43d80
AS
26262 * misc/sys/cdefs.h: Fix last change.
26263
629f62ef
AS
26264 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
26265 database lookup.
26266
e453f6cd
UD
262672011-10-16 Ulrich Drepper <drepper@gmail.com>
26268
aa78043a
UD
26269 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
26270
ad0f5cad
UD
26271 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
26272 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26273 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
26274 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26275 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26276 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
26277 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26278 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26279 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
26280 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
26281 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
26282 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
26283 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
26284 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
26285 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
26286 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
26287 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
26288 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
26289 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
26290 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
26291 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
26292 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
26293
26294 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
26295 ceil, ceilf, floor, floorf.
26296
26297 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
26298 Perform IRELATIVE relocations last.
26299
e453f6cd
UD
26300 * elf/do-rel.h: Add another parameter nrelative, replacing the
26301 local variable with the same name. Change name of the function
26302 to end in Rel or Rela (uppercase).
26303 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
26304 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
26305 elf_dynamic_do_##reloc function.
26306
fd5bdc09
UD
263072011-10-15 Ulrich Drepper <drepper@gmail.com>
26308
79b195b5
UD
26309 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
26310 is sufficient, at least on modern CPUs.
26311
d4a28569
UD
26312 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
26313
b61099b5
UD
26314 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
26315 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
26316
bcf01e6d
UD
26317 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
26318 __expl_finite.
26319 * math/bits/math-finite.h: Add entries for exp.
26320 * math/e_expl.c: Add __*_finite alias.
26321 * sysdeps/i386/fpu/e_exp.S: Likewise.
26322 * sysdeps/i386/fpu/e_expf.S: Likewise.
26323 * sysdeps/i386/fpu/e_expl.c: Likewise.
26324 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26325 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
26326 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
26327 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26328 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
26329 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
26330 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
26331
ba1a0d59
UD
26332 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
26333 is sufficient, at least on modern CPUs.
26334
fd5bdc09
UD
26335 * ctype/ctype-info.c (__ctype_init): Define.
26336 * include/ctype.h (__ctype_init): Declare.
26337 (__ctype_b_loc): The variable is always initialized.
26338 (__ctype_toupper_loc): Likewise.
26339 (__ctype_tolower_loc): Likewise.
26340 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
26341 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
26342
7872cfb0
AS
263432011-10-15 Andreas Schwab <schwab@linux-m68k.org>
26344
b468825a
AS
26345 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
26346
7872cfb0
AS
26347 * configure.in: Also look in $cxxmachine/include for C++ system
26348 headers.
26349
be13f7bf
LD
263502011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26351
26352 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
26353 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
26354 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
26355 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
26356 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
26357 (USE_AS_WMEMCMP): New macro.
26358 Fixing indents.
26359 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
26360 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
26361 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
26362 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
26363 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26364 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
26365 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
26366 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
26367 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
26368 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
26369 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
26370 (USE_AS_WMEMCMP): New macro.
26371 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
26372 * sysdeps/string/test-memcmp.c: Update.
26373 Fix simple_wmemcmp.
26374 Add new tests.
26375 * wcsmbs/wmemcmp.c: Update.
26376 (WMEMCMP): New macro.
26377 Fix overflow bug.
26378
556a2007
AJ
263792011-10-12 Andreas Jaeger <aj@suse.de>
26380
26381 [BZ #13268]
26382 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
26383
538faaa7
UD
263842011-10-15 Ulrich Drepper <drepper@gmail.com>
26385
ab6737ff
UD
26386 * libio/iofwide.c (do_length): Avoid warning.
26387
538faaa7
UD
26388 * ctype/ctype.h (__isctype_f): Add missing __THROW.
26389
396a21b1
UD
263902011-10-14 Ulrich Drepper <drepper@gmail.com>
26391
cdf2901f
UD
26392 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
26393
38ad40ce
UD
26394 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
26395 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
26396 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
26397 * sysdeps/i386/i686/fpu/e_log.S: New file.
26398 * sysdeps/i386/i686/fpu/e_logf.S: New file.
26399 * sysdeps/i386/i686/fpu/e_logl.S: New file.
26400
396a21b1
UD
26401 * ctype/ctype.h: Add support for inlined isXXX functions when
26402 compiling C++ code.
26403
6b1f68c9
AS
264042011-10-14 Andreas Schwab <schwab@redhat.com>
26405
349290c0
AS
26406 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26407
6b1f68c9
AS
26408 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
26409
f2282d42
RM
264102011-10-13 Roland McGrath <roland@hack.frob.com>
26411
26412 [BZ #13291]
26413 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
26414
5298ffa8
AS
264152011-10-13 Andreas Schwab <schwab@redhat.com>
26416
714fad23
AS
26417 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
26418 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
26419 feraiseexcept.
26420
81dcc7fb
AS
26421 * sysdeps/x86_64/memrchr.S: Check for zero size.
26422
5298ffa8
AS
26423 * string/stratcliff.c: Add memrchr tests.
26424
951fbcec
LD
264252011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26426
26427 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26428 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
26429 rawmemchr-sse2 rawmemchr-sse2-bsf.
26430 * sysdeps/i386/i686/multiarch/memchr.S: New file.
26431 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
26432 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
26433 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
26434 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
26435 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
26436 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
26437 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
26438 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
26439 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
26440 * string/memrchr.c (MEMRCHR): New macro.
26441
0ac5ae23
UD
264422011-10-12 Ulrich Drepper <drepper@gmail.com>
26443
26444 Add integration with gcc's -ffinite-math-only and optimize wrapper
26445 functions in libm.
26446 * Versions.def: Define GLIBC_2.15 version for libm.
26447 * math/Makefile (headers): Add bits/math-finite.h.
26448 * math/bits/math-finite.h: New file.
26449 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
26450 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
26451 * math/e_acoshl.c: Add __*_finite alias.
26452 * math/e_acosl.c: Likewise.
26453 * math/e_asinl.c: Likewise.
26454 * math/e_atan2l.c: Likewise.
26455 * math/e_atanhl.c: Likewise.
26456 * math/e_coshl.c: Likewise.
26457 * math/e_exp10.c: Likewise.
26458 * math/e_exp10f.c: Likewise.
26459 * math/e_exp10l.c: Likewise.
26460 * math/e_exp2l.c: Likewise.
26461 * math/e_fmodl.c: Likewise.
26462 * math/e_gammal_r.c: Likewise.
26463 * math/e_hypotl.c: Likewise.
26464 * math/e_j0l.c: Likewise.
26465 * math/e_j1l.c: Likewise.
26466 * math/e_jnl.c: Likewise.
26467 * math/e_lgammal_r.c: Likewise.
26468 * math/e_log10l.c: Likewise.
26469 * math/e_log2l.c: Likewise.
26470 * math/e_logl.c: Likewise.
26471 * math/e_powl.c: Likewise.
26472 * math/e_sinhl.c: Likewise.
26473 * math/e_sqrtl.c: Likewise.
26474 * math/e_scalb.c: Completely rewritten and optimized.
26475 * math/e_scalbf.c: Likewise.
26476 * math/e_scalbl.c: Likewise.
26477 * math/w_acos.c: Likewise.
26478 * math/w_acosf.c: Likewise.
26479 * math/w_acosl.c: Likewise.
26480 * math/w_acosh.c: Likewise.
26481 * math/w_acoshf.c: Likewise.
26482 * math/w_acoshl.c: Likewise.
26483 * math/w_asin.c: Likewise.
26484 * math/w_asinf.c: Likewise.
26485 * math/w_asinl.c: Likewise.
26486 * math/w_atan2.c: Likewise.
26487 * math/w_atan2f.c: Likewise.
26488 * math/w_atan2l.c: Likewise.
26489 * math/w_atanh.c: Likewise.
26490 * math/w_atanhf.c: Likewise.
26491 * math/w_atanhl.c: Likewise.
26492 * math/w_exp10.c: Likewise.
26493 * math/w_exp10f.c: Likewise.
26494 * math/w_exp10l.c: Likewise.
26495 * math/w_fmod.c: Likewise.
26496 * math/w_fmodf.c: Likewise.
26497 * math/w_fmodl.c: Likewise.
26498 * math/w_j0.c: Likewise.
26499 * math/w_j0f.c: Likewise.
26500 * math/w_j0l.c: Likewise.
26501 * math/w_j1.c: Likewise.
26502 * math/w_j1f.c: Likewise.
26503 * math/w_j1l.c: Likewise.
26504 * math/w_jn.c: Likewise.
26505 * math/w_jnf.c: Likewise.
26506 * math/w_log.c: Likewise.
26507 * math/w_logf.c: Likewise.
26508 * math/w_logl.c: Likewise.
26509 * math/w_log10.c: Likewise.
26510 * math/w_log10f.c: Likewise.
26511 * math/w_log10l.c: Likewise.
26512 * math/w_log2.c: Likewise.
26513 * math/w_log2f.c: Likewise.
26514 * math/w_log2l.c: Likewise.
26515 * math/w_pow.c: Likewise.
26516 * math/w_powf.c: Likewise.
26517 * math/w_powl.c: Likewise.
26518 * math/w_remainder.c: Likewise.
26519 * math/w_remainderf.c: Likewise.
26520 * math/w_remainderl.c: Likewise.
26521 * math/w_scalb.c: Likewise.
26522 * math/w_scalbf.c: Likewise.
26523 * math/w_scalbl.c: Likewise.
26524 * math/w_sqrt.c: Likewise.
26525 * math/w_sqrtf.c: Likewise.
26526 * math/w_sqrtl.c: Likewise.
26527 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
26528 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
26529 used.
26530 * math/math_private.h: Declare __kernel_standard_f.
26531 * math/w_cosh.c: Remove cruft and optimize a bit.
26532 * math/w_coshf.c: Likewise.
26533 * math/w_coshl.c: Likewise.
26534 * math/w_exp2.c: Likewise.
26535 * math/w_exp2f.c: Likewise.
26536 * math/w_exp2l.c: Likewise.
26537 * math/w_hypot.c: Likewise.
26538 * math/w_hypotf.c: Likewise.
26539 * math/w_hypotl.c: Likewise.
26540 * math/w_lgamma.c: Likewise.
26541 * math/w_lgamma_r.c: Likewise.
26542 * math/w_lgammaf.c: Likewise.
26543 * math/w_lgammaf_r.c: Likewise.
26544 * math/w_lgammal.c: Likewise.
26545 * math/w_lgammal_r.c: Likewise.
26546 * math/w_sinh.c: Likewise.
26547 * math/w_sinhf.c: Likewise.
26548 * math/w_sinhl.c: Likewise.
26549 * math/w_tgamma.c: Likewise.
26550 * math/w_tgammaf.c: Likewise.
26551 * math/w_tgammal.c: Likewise.
26552 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
26553 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26554 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
26555 Minor optimizations. Pretty printing. Remove cruft.
26556 * sysdeps/i386/fpu/e_acosf.S: Likewise.
26557 * sysdeps/i386/fpu/e_acosh.S: Likewise.
26558 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
26559 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
26560 * sysdeps/i386/fpu/e_acosl.c: Likewise.
26561 * sysdeps/i386/fpu/e_asin.S: Likewise.
26562 * sysdeps/i386/fpu/e_asinf.S: Likewise.
26563 * sysdeps/i386/fpu/e_atan2.S: Likewise.
26564 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
26565 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
26566 * sysdeps/i386/fpu/e_atanh.S: Likewise.
26567 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
26568 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
26569 * sysdeps/i386/fpu/e_exp10.S: Likewise.
26570 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
26571 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
26572 * sysdeps/i386/fpu/e_exp2.S: Likewise.
26573 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
26574 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
26575 * sysdeps/i386/fpu/e_fmod.S: Likewise.
26576 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
26577 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
26578 * sysdeps/i386/fpu/e_hypot.S: Likewise.
26579 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
26580 * sysdeps/i386/fpu/e_log.S: Likewise.
26581 * sysdeps/i386/fpu/e_log10.S: Likewise.
26582 * sysdeps/i386/fpu/e_log10f.S: Likewise.
26583 * sysdeps/i386/fpu/e_log10l.S: Likewise.
26584 * sysdeps/i386/fpu/e_log2.S: Likewise.
26585 * sysdeps/i386/fpu/e_log2f.S: Likewise.
26586 * sysdeps/i386/fpu/e_log2l.S: Likewise.
26587 * sysdeps/i386/fpu/e_logf.S: Likewise.
26588 * sysdeps/i386/fpu/e_logl.S: Likewise.
26589 * sysdeps/i386/fpu/e_pow.S: Likewise.
26590 * sysdeps/i386/fpu/e_powf.S: Likewise.
26591 * sysdeps/i386/fpu/e_powl.S: Likewise.
26592 * sysdeps/i386/fpu/e_remainder.S: Likewise.
26593 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
26594 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
26595 * sysdeps/i386/fpu/e_scalb.S: Likewise.
26596 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
26597 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
26598 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
26599 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
26600 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
26601 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
26602 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26603 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26604 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
26605 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26606 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
26607 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
26608 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
26609 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26610 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
26611 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
26612 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
26613 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26614 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
26615 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
26616 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26617 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26618 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
26619 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26620 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26621 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
26622 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
26623 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
26624 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
26625 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
26626 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
26627 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
26628 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
26629 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
26630 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
26631 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26632 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
26633 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
26634 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
26635 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
26636 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
26637 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
26638 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
26639 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
26640 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
26641 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
26642 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
26643 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
26644 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
26645 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
26646 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
26647 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
26648 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
26649 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
26650 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
26651 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
26652 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
26653 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
26654 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
26655 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
26656 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
26657 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
26658 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
26659 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
26660 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
26661 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
26662 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
26663 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
26664 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
26665 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
26666 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
26667 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
26668 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
26669 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
26670 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
26671 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
26672 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
26673 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
26674 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
26675 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
26676 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
26677 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
26678 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
26679 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
26680 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
26681 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
26682 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
26683 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
26684 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
26685 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
26686 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
26687 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
26688 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
26689 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
26690 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
26691 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
26692 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
26693 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26694 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
26695 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
26696 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
26697 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
26698 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
26699 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
26700 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
26701 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
26702 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
26703 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
26704 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
26705 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
26706 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
26707 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
26708 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26709 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
26710 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
26711 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
26712 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
26713 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
26714 (__isnanf): Likewise.
26715 (__isinf_ns): Likewise.
26716 (__isinf_nsf): Likewise.
26717 (__finite): Likewise.
26718 (__finitef): Likewise.
26719 (__ieee754_sqrt): Define as macro.
26720 (__ieee754_sqrtf): Define as macro.
26721 (__ieee754_sqrtl): Define as macro.
26722 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
26723 inlined copy.
26724 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
26725 __FINITE_MATH_ONLY__ consistent.
26726 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
26727
12cc2fcd
AS
267282011-10-10 Andreas Schwab <schwab@linux-m68k.org>
26729
a843a204
AS
26730 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
26731 of rawmemchr.
26732
12cc2fcd
AS
26733 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
26734
c853acd5
UD
267352011-10-09 Ulrich Drepper <drepper@gmail.com>
26736
26737 * po/ja.po: Update from translation team.
26738
c658d255
RM
267392011-10-08 Roland McGrath <roland@hack.frob.com>
26740
110946e4
RM
26741 * locale/programs/locarchive.c (prepare_address_space): New function.
26742 (create_archive, enlarge_archive, open_archive): Use it.
26743
50604220
RM
26744 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
26745 inside [SHARED], where it is used.
26746
c658d255
RM
26747 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
26748
26749 * nss/getent.c (netgroup_keys): Remove unused variable.
26750 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
26751
6a621eb7
UD
267522011-10-08 Ulrich Drepper <drepper@gmail.com>
26753
7edb55ce
UD
26754 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
26755 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
26756 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
26757 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
26758 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
26759 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
26760 * math/Makefile (libm-calls): Add s_isinf_ns.
26761 * math/divtc3.c: Use __isinf_nsl instead of isinf.
26762 * math/multc3.c: Likewise.
26763 * math/s_casin.c: Likewise.
26764 * math/s_casinf.c: Likewise.
26765 * math/s_casinl.c: Likewise.
26766 * math/s_ccos.c: Likewise.
26767 * math/s_ccosf.c: Likewise.
26768 * math/s_ccosl.c: Likewise.
26769 * math/s_ctan.c: Likewise.
26770 * math/s_ctanf.c: Likewise.
26771 * math/s_ctanh.c: Likewise.
26772 * math/s_ctanhf.c: Likewise.
26773 * math/s_ctanhl.c: Likewise.
26774 * math/s_ctanl.c: Likewise.
26775 * math/w_fmod.c: Likewise.
26776 * math/w_fmodf.c: Likewise.
26777 * math/w_fmodl.c: Likewise.
26778 * math/w_remainder.c: Likewise.
26779 * math/w_remainderf.c: Likewise.
26780 * math/w_remainderl.c: Likewise.
26781 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
26782 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
26783 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
26784 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
26785 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
26786 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
26787 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
26788 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
26789
187da0ae
UD
26790 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
26791 of the number.
26792 * stdio-common/printf_fphex.c: Likewise.
26793 * stdio-common/printf_size.c: Likewise.
26794
9277c064
UD
26795 * math/e_exp10.c: Include math_private.h using <...> not "...".
26796 * math/e_exp10f.c: Likewise.
26797 * math/e_exp10l.c: Likewise.
26798 * math/e_exp2l.c: Likewise.
26799 * math/e_j0l.c: Likewise.
26800 * math/e_j1l.c: Likewise.
26801 * math/e_jnl.c: Likewise.
26802 * math/e_lgammal_r.c: Likewise.
26803 * math/e_rem_pio2l.c: Likewise.
26804 * math/e_scalb.c: Likewise.
26805 * math/e_scalbf.c: Likewise.
26806 * math/e_scalbl.c: Likewise.
26807 * math/k_cosl.c: Likewise.
26808 * math/k_sinl.c: Likewise.
26809 * math/k_tanl.c: Likewise.
26810 * math/s_cacoshf.c: Likewise.
26811 * math/s_catan.c: Likewise.
26812 * math/s_catanf.c: Likewise.
26813 * math/s_catanh.c: Likewise.
26814 * math/s_catanhf.c: Likewise.
26815 * math/s_catanhl.c: Likewise.
26816 * math/s_catanl.c: Likewise.
26817 * math/s_ccosh.c: Likewise.
26818 * math/s_ccoshf.c: Likewise.
26819 * math/s_ccoshl.c: Likewise.
26820 * math/s_cexp.c: Likewise.
26821 * math/s_cexpf.c: Likewise.
26822 * math/s_cexpl.c: Likewise.
26823 * math/s_clog.c: Likewise.
26824 * math/s_clog10.c: Likewise.
26825 * math/s_clog10f.c: Likewise.
26826 * math/s_clog10l.c: Likewise.
26827 * math/s_clogf.c: Likewise.
26828 * math/s_clogl.c: Likewise.
26829 * math/s_csin.c: Likewise.
26830 * math/s_csinf.c: Likewise.
26831 * math/s_csinh.c: Likewise.
26832 * math/s_csinhf.c: Likewise.
26833 * math/s_csinhl.c: Likewise.
26834 * math/s_csinl.c: Likewise.
26835 * math/s_csqrt.c: Likewise.
26836 * math/s_csqrtf.c: Likewise.
26837 * math/s_csqrtl.c: Likewise.
26838 * math/s_ctan.c: Likewise.
26839 * math/s_ctanf.c: Likewise.
26840 * math/s_ctanh.c: Likewise.
26841 * math/s_ctanhf.c: Likewise.
26842 * math/s_ctanhl.c: Likewise.
26843 * math/s_ctanl.c: Likewise.
26844 * math/s_ldexp.c: Likewise.
26845 * math/s_ldexpf.c: Likewise.
26846 * math/s_ldexpl.c: Likewise.
26847 * math/s_significand.c: Likewise.
26848 * math/s_significandf.c: Likewise.
26849 * math/s_significandl.c: Likewise.
26850 * math/w_acos.c: Likewise.
26851 * math/w_acosf.c: Likewise.
26852 * math/w_acosh.c: Likewise.
26853 * math/w_acoshf.c: Likewise.
26854 * math/w_acoshl.c: Likewise.
26855 * math/w_acosl.c: Likewise.
26856 * math/w_asin.c: Likewise.
26857 * math/w_asinf.c: Likewise.
26858 * math/w_asinl.c: Likewise.
26859 * math/w_atan2.c: Likewise.
26860 * math/w_atan2f.c: Likewise.
26861 * math/w_atan2l.c: Likewise.
26862 * math/w_atanh.c: Likewise.
26863 * math/w_atanhf.c: Likewise.
26864 * math/w_atanhl.c: Likewise.
26865 * math/w_cosh.c: Likewise.
26866 * math/w_coshf.c: Likewise.
26867 * math/w_coshl.c: Likewise.
26868 * math/w_dremf.c: Likewise.
26869 * math/w_exp10.c: Likewise.
26870 * math/w_exp10f.c: Likewise.
26871 * math/w_exp10l.c: Likewise.
26872 * math/w_exp2.c: Likewise.
26873 * math/w_exp2f.c: Likewise.
26874 * math/w_fmod.c: Likewise.
26875 * math/w_fmodf.c: Likewise.
26876 * math/w_fmodl.c: Likewise.
26877 * math/w_hypot.c: Likewise.
26878 * math/w_hypotf.c: Likewise.
26879 * math/w_hypotl.c: Likewise.
26880 * math/w_j0.c: Likewise.
26881 * math/w_j0f.c: Likewise.
26882 * math/w_j0l.c: Likewise.
26883 * math/w_j1.c: Likewise.
26884 * math/w_j1f.c: Likewise.
26885 * math/w_j1l.c: Likewise.
26886 * math/w_jn.c: Likewise.
26887 * math/w_jnf.c: Likewise.
26888 * math/w_jnl.c: Likewise.
26889 * math/w_lgamma.c: Likewise.
26890 * math/w_lgamma_r.c: Likewise.
26891 * math/w_lgammaf.c: Likewise.
26892 * math/w_lgammaf_r.c: Likewise.
26893 * math/w_lgammal.c: Likewise.
26894 * math/w_lgammal_r.c: Likewise.
26895 * math/w_log.c: Likewise.
26896 * math/w_log10.c: Likewise.
26897 * math/w_log10f.c: Likewise.
26898 * math/w_log10l.c: Likewise.
26899 * math/w_log2.c: Likewise.
26900 * math/w_log2f.c: Likewise.
26901 * math/w_log2l.c: Likewise.
26902 * math/w_logf.c: Likewise.
26903 * math/w_logl.c: Likewise.
26904 * math/w_pow.c: Likewise.
26905 * math/w_powf.c: Likewise.
26906 * math/w_powl.c: Likewise.
26907 * math/w_remainder.c: Likewise.
26908 * math/w_remainderf.c: Likewise.
26909 * math/w_remainderl.c: Likewise.
26910 * math/w_scalb.c: Likewise.
26911 * math/w_scalbf.c: Likewise.
26912 * math/w_scalbl.c: Likewise.
26913 * math/w_sinh.c: Likewise.
26914 * math/w_sinhf.c: Likewise.
26915 * math/w_sinhl.c: Likewise.
26916 * math/w_sqrt.c: Likewise.
26917 * math/w_sqrtf.c: Likewise.
26918 * math/w_sqrtl.c: Likewise.
26919 * math/w_tgamma.c: Likewise.
26920 * math/w_tgammaf.c: Likewise.
26921 * math/w_tgammal.c: Likewise.
26922
6a621eb7
UD
26923 * po/ja.po: Update from translation team.
26924
bf582445
AJ
269252011-09-29 Andreas Jaeger <aj@suse.de>
26926
f9efbf3a
AJ
26927 [BZ #13179]
26928 * sunrpc/netname.c (netname2host): Fix logic.
26929
bf582445
AJ
26930 [BZ #6779]
26931 [BZ #6783]
26932 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
26933 correctly.
26934 * math/w_remainder.c (__remainder): Likewise.
26935 * math/w_remainderf.c (__remainderf): Likewise.
26936 * math/libm-test.inc (remainder_test): Add test cases.
26937
48693bea
AK
269382011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26939
26940 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
26941 sdiv_qrnnd.
26942
42622229
LD
269432011-10-07 Ulrich Drepper <drepper@gmail.com>
26944
26945 * string/test-memcmp.c: Avoid unncessary #defines.
26946 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
26947
093ecf92
LD
269482011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26949
26950 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
26951 Use new sse2 version for core i3 - i7 as it's faster
26952 than sse42 version.
26953 (bit_Prefer_PMINUB_for_stringop): New.
26954 * sysdeps/x86_64/rawmemchr.S: Update.
26955 Replace with faster SSE2 version.
26956 * sysdeps/x86_64/memrchr.S: New file.
26957 * sysdeps/x86_64/memchr.S: Update.
26958 Replace with faster SSE2 version.
26959
fde56e5c
MP
269602011-09-12 Marek Polacek <mpolacek@redhat.com>
26961
26962 * elf/dl-load.c (lose): Add cast to avoid warning.
26963
21fd49a9
UD
269642011-10-07 Ulrich Drepper <drepper@gmail.com>
26965
5a06e643
UD
26966 * po/ca.po: Update from translation team.
26967
684ae515
UD
26968 * inet/getnetgrent_r.c: Hook up nscd.
26969 * nscd/Makefile (routines): Add nscd_netgroup.
26970 (nscd-modules): Add netgroupcache.
26971 (CFLAGS-netgroupcache.c): Define.
26972 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
26973 (cache_search): Add const to second parameter.
26974 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
26975 INNETGR.
26976 (dbs): Add netgrdb entry.
26977 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
26978 (verify_persistent_db): Handle netgrdb.
26979 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
26980 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
26981 GETFDNETGR.
26982 (netgroup_response_header): Define.
26983 (innetgroup_response_header): Define.
26984 (datahead): Add netgroup_response_header and innetgroup_response_header
26985 elements.
26986 * nscd/nscd.conf: Add entries for netgroup cache.
26987 * nscd/nscd.h (dbtype): Add netgrdb.
26988 (_PATH_NSCD_NETGROUP_DB): Define.
26989 (netgroup_iov_disabled): Declare.
26990 (xmalloc, xcalloc, xrealloc): Move declarations here.
26991 (cache_search): Adjust prototype.
26992 Add netgroup-related prototypes.
26993 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
26994 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
26995 (__nscd_innetgr): Declare.
26996 * nscd/selinux.c (perms): Use access_vector_t as element type and
26997 add netgroup-related initializers.
26998 * nscd/netgroupcache.c: New file.
26999 * nscd/nscd_netgroup.c: New file.
27000 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
27001 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
27002 For four parameters use innetgr.
27003 * nss/nss_files/files-init.c: Add definition and callback for netgr.
27004 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
27005 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
27006 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
27007
21fd49a9
UD
27008 * nscd/connections.c (register_traced_file): Don't register file
27009 for disabled databases.
27010
054c0457
UD
270112011-10-06 Ulrich Drepper <drepper@gmail.com>
27012
32b63198
UD
27013 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
27014
054c0457
UD
27015 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
27016 from tree and freeing node.
27017
64031225
JO
270182011-09-25 Jiri Olsa <jolsa@redhat.com>
27019
27020 * nss/nsswitch.c (__nss_database_lookup): Handle
27021 nss_parse_service_list out of memory case.
27022
0490345c
JO
270232011-09-15 Jiri Olsa <jolsa@redhat.com>
27024
27025 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
27026 out of memory case.
27027
3a62d00d
AS
270282011-10-04 Andreas Schwab <schwab@redhat.com>
27029
27030 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
27031 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
27032 pass it down.
27033 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
27034 elf_machine_rela, elf_machine_lazy_rel.
27035 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
27036 (ELF_DYNAMIC_DO_REL): Likewise.
27037 (ELF_DYNAMIC_DO_RELA): Likewise.
27038 (ELF_DYNAMIC_RELOCATE): Likewise.
27039 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
27040 to ELF_DYNAMIC_DO_REL.
27041 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
27042 (dl_main): In trace mode always set __RTLD_NOIFUNC.
27043 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
27044 elf_machine_rela.
27045 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
27046 skip_ifunc, don't call ifunc function if non-zero.
27047 (elf_machine_rela): Likewise.
27048 (elf_machine_lazy_rel): Likewise.
27049 (elf_machine_lazy_rela): Likewise.
27050 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
27051 (elf_machine_lazy_rel): Likewise.
27052 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
27053 Likewise.
27054 (elf_machine_lazy_rel): Likewise.
27055 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27056 Likewise.
27057 (elf_machine_lazy_rel): Likewise.
27058 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
27059 (elf_machine_lazy_rel): Likewise.
27060 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
27061 (elf_machine_lazy_rel): Likewise.
27062 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
27063 (elf_machine_lazy_rel): Likewise.
27064 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
27065 (elf_machine_lazy_rel): Likewise.
27066 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
27067 (elf_machine_lazy_rel): Likewise.
27068 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
27069 (elf_machine_lazy_rel): Likewise.
27070
68577918
UD
270712011-09-28 Ulrich Drepper <drepper@gmail.com>
27072
27073 * nss/nss_files/files-init.c (_nss_files_init): Use static
27074 initialization for all the *_traced_file variables.
27075
68822d74
AS
270762011-09-28 Andreas Schwab <schwab@redhat.com>
27077
27078 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27079
2056100b
RM
270802011-09-27 Roland McGrath <roland@hack.frob.com>
27081
27082 [BZ #13226]
27083 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
27084
32c76b63
AS
270852011-09-27 Andreas Schwab <schwab@redhat.com>
27086
27087 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
27088 Reread the line before reparsing it.
27089
bf972c9d
AS
270902011-09-26 Andreas Schwab <schwab@redhat.com>
27091
27092 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
27093
e057a1b5
JM
270942011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
27095 Maxim Kuvyrkov <maxim@codesourcery.com>
27096 Joseph Myers <joseph@codesourcery.com>
27097
27098 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
27099 if needed for __stack_chk_guard.
27100
bc7e1c36
RM
271012011-09-19 Roland McGrath <roland@hack.frob.com>
27102
ecb1482f
RM
27103 * sysdeps/posix/spawni.c (script_execute): Always define it.
27104 It will be optimized away if unused.
27105 (maybe_script_execute): New function.
27106 (__spawni): Call it.
27107
bc7e1c36
RM
27108 * Makerules: Don't include tls.make.
27109 (config-tls): Always set to thread.
27110 * tls.make.c: File removed.
27111
1c3b002b
MF
271122011-09-19 Mike Frysinger <vapier@gentoo.org>
27113
27114 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
27115 * config.make.in (CPPFLAGS-config): New substituted variable.
27116
2840865d
UD
271172011-09-15 Ulrich Drepper <drepper@gmail.com>
27118
88738eb6
UD
27119 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
27120
cbf645a6 27121 [BZ #13192]
2840865d
UD
27122 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
27123 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
27124
b402e91a
RM
271252011-09-15 Roland McGrath <roland@hack.frob.com>
27126
27127 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
27128 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
27129 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
27130 (CALL_FAIL): Likewise.
27131 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
27132 (CALL_FAIL): Macro removed.
27133 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
27134
4c1a1f71
UD
271352011-09-15 Ulrich Drepper <drepper@gmail.com>
27136
27137 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
27138 for __FINITE_MATH_ONLY__ == 1.
27139
edc121be
AS
271402011-09-15 Andreas Schwab <schwab@redhat.com>
27141
27142 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
27143 __ieee754_sqrt instead of sqrt.
27144 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
27145 __ieee754_sqrtf instead of sqrtf.
27146 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
27147 __floorf instead of floorf.
27148 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
27149 __floorf, __truncf instead of floorf, truncf.
27150
cd205654
UD
271512011-09-14 Ulrich Drepper <drepper@gmail.com>
27152
ee4d0315
UD
27153 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
27154
cd205654
UD
27155 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
27156 __extern_always_inline.
27157 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
27158 32-bit.
27159
48b67d71
AS
271602011-09-14 Andreas Schwab <schwab@redhat.com>
27161
27162 * elf/rtld.c (dl_main): Also relocate in dependency order when
27163 doing symbol dependency testing.
27164
1ae12c75
AS
271652011-09-13 Andreas Schwab <schwab@linux-m68k.org>
27166
27167 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27168 Always define `refsym'.
27169
995a80df
AS
271702011-09-13 Andreas Schwab <schwab@redhat.com>
27171
e529793b
AS
27172 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
27173 (__FD_ELT): Renamed from __FDELT.
27174 * misc/bits/select2.h (__FD_ELT): Likewise.
27175 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
27176 __FD_MASK instead of __FDELT, __FDMASK.
27177 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
27178 Likewise.
27179 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
27180 Likewise.
27181
52d4fef8
AS
27182 * elf/Makefile (gen-ldd): Fix pattern.
27183
995a80df
AS
27184 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
27185 (init_tls): Likewise.
27186
8682f8b0
UD
271872011-09-12 Ulrich Drepper <drepper@gmail.com>
27188
27189 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
27190
de82006d
AS
271912011-09-12 Andreas Schwab <schwab@redhat.com>
27192
a7c8e6a1
AS
27193 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
27194 `struct cmsghdr *' instead of `void *'.
27195 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
27196 Likewise.
27197
0f31fe77
AS
271982011-09-11 Andreas Schwab <schwab@linux-m68k.org>
27199
27200 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
27201 if non-absolute.
27202 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
27203 ldd_rewrite_script.
0f31fe77 27204
32b4c839
UD
272052011-09-11 Ulrich Drepper <drepper@gmail.com>
27206
83cd1420
UD
27207 * configure.in: Remove --with-tls option.
27208 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
27209 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
27210 out in case it is missing.
27211 * sysdeps/ia64/elf/configure.in: Likewise.
27212 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
27213 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
27214 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
27215 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
27216 * sysdeps/sh/elf/configure.in: Likewise.
27217 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
27218 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
27219 * sysdeps/x86_64/elf/configure.in: Likewise.
27220 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
27221 * sysdeps/mach/hurd/tls.h: Likewise.
27222
633f745d
UD
27223 [BZ #13067]
27224 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
27225
f318beb8
UD
27226 [BZ #13090]
27227 * configure.in: Fix use of AC_INIT.
27228
32b4c839
UD
27229 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
27230
3ce1f295
UD
272312011-09-10 Ulrich Drepper <drepper@gmail.com>
27232
bb016596
UD
27233 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
27234 __set_errno.
8e58439c
UD
27235 * malloc/hooks.c: Likewise.
27236
aebae053 27237 [BZ #11929]
02d46fc4
UD
27238 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
27239 variables statically.
27240 (narenas): Initialize.
27241 (list_lock): Initialize.
bb016596
UD
27242 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
27243 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
27244 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
27245 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
27246 Add initializers to main_arena and mp_.
27247 (malloc_state): Remove pagesize member. Change all users to use
27248 GLRO(dl_pagesize).
27249
27250 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
27251 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
27252 is always initialized.
27253
22a89187
UD
27254 * malloc/malloc.c: Removed unused configurations and dead code.
27255 * malloc/arena.c: Likewise.
27256 * malloc/hooks.c: Likewise.
02d46fc4 27257 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 27258
d063d164
UD
27259 * include/tls.h: Removed. USE___THREAD must always be defined.
27260 * bits/libc-tsd.h: Don't handle !USE___THREAD.
27261 * elf/dl-libc.c: Likewise.
27262 * elf/dl-tsd.c: Likewise.
27263 * include/errno.h: Likewise.
27264 * include/netdb.h: Likewise.
27265 * include/resolv.h: Likewise.
27266 * inet/herrno-loc.c: Likewise.
27267 * inet/herrno.c: Likewise.
27268 * malloc/arena.c: Likewise.
27269 * malloc/hooks.c: Likewise.
27270 * malloc/malloc.c: Likewise.
27271 * resolv/res-state.c: Likewise.
27272 * resolv/res_libc.c: Likewise.
27273 * sysdeps/i386/dl-machine.h: Likewise.
27274 * sysdeps/ia64/dl-machine.h: Likewise.
27275 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
27276 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
27277 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
27278 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
27279 * sysdeps/sh/dl-machine.h: Likewise.
27280 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
27281 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
27282 * sysdeps/unix/i386/sysdep.S: Likewise.
27283 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27284 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
27285 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
27286 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27287 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
27288 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27289 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27290 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27291 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27292 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27293 * sysdeps/unix/x86_64/sysdep.S: Likewise.
27294 * sysdeps/x86_64/dl-machine.h: Likewise.
27295 * tls.make.c: Likewise.
27296
3ce1f295
UD
27297 * configure.in: Remove --with-__thread option. Make tests for
27298 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
27299 tls_model attribute fail if no support is available. Remove
27300 USE_IN_LIBIO.
27301 * Makeconfig: Adjust for dropped configure option. All features are
27302 now mandatory.
27303 * Makerules: Likewise.
27304 * Versions.def: Likewise.
27305 * argp/argp-fmtstream.c: Likewise.
27306 * argp/argp-fmtstream.h: Likewise.
27307 * argp/argp-help.c: Likewise.
27308 * assert/assert.c: Likewise.
27309 * config.h.in: Likewise.
27310 * config.make.in: Likewise.
27311 * configure: Likewise.
27312 * configure.in: Likewise.
27313 * csu/Versions: Likewise.
27314 * csu/init.c: Likewise.
27315 * elf/tst-audit2.c: Likewise.
27316 * elf/tst-tls10.c: Likewise.
27317 * elf/tst-tls10.h: Likewise.
27318 * elf/tst-tls11.c: Likewise.
27319 * elf/tst-tls12.c: Likewise.
27320 * elf/tst-tls14.c: Likewise.
27321 * elf/tst-tlsmod11.c: Likewise.
27322 * elf/tst-tlsmod12.c: Likewise.
27323 * elf/tst-tlsmod13.c: Likewise.
27324 * elf/tst-tlsmod13a.c: Likewise.
27325 * elf/tst-tlsmod14a.c: Likewise.
27326 * elf/tst-tlsmod15b.c: Likewise.
27327 * elf/tst-tlsmod16a.c: Likewise.
27328 * elf/tst-tlsmod16b.c: Likewise.
27329 * elf/tst-tlsmod7.c: Likewise.
27330 * elf/tst-tlsmod8.c: Likewise.
27331 * elf/tst-tlsmod9.c: Likewise.
27332 * gmon/gmon.c: Likewise.
27333 * grp/fgetgrent_r.c: Likewise.
27334 * grp/putgrent.c: Likewise.
27335 * hurd/fopenport.c: Likewise.
27336 * include/libc-symbols.h: Likewise.
27337 * include/tls.h: Likewise.
27338 * intl/gettextP.h: Likewise.
27339 * intl/loadinfo.h: Likewise.
27340 * locale/global-locale.c: Likewise.
27341 * locale/localeinfo.h: Likewise.
27342 * mach/devstream.c: Likewise.
27343 * malloc/arena.c: Likewise.
27344 * malloc/set-freeres.c: Likewise.
27345 * misc/err.c: Likewise.
27346 * misc/getttyent.c: Likewise.
27347 * misc/mntent_r.c: Likewise.
27348 * posix/getopt.c: Likewise.
27349 * posix/wordexp.c: Likewise.
27350 * pwd/fgetpwent_r.c: Likewise.
27351 * resolv/Versions: Likewise.
27352 * resolv/res_hconf.c: Likewise.
27353 * shadow/fgetspent_r.c: Likewise.
27354 * shadow/putspent.c: Likewise.
27355 * stdio-common/printf_fphex.c: Likewise.
27356 * stdio-common/tmpfile.c: Likewise.
27357 * stdlib/abort.c: Likewise.
27358 * stdlib/fmtmsg.c: Likewise.
27359 * sunrpc/auth_unix.c: Likewise.
27360 * sunrpc/clnt_perr.c: Likewise.
27361 * sunrpc/clnt_tcp.c: Likewise.
27362 * sunrpc/clnt_udp.c: Likewise.
27363 * sunrpc/clnt_unix.c: Likewise.
27364 * sunrpc/openchild.c: Likewise.
27365 * sunrpc/svc_simple.c: Likewise.
27366 * sunrpc/svc_tcp.c: Likewise.
27367 * sunrpc/svc_udp.c: Likewise.
27368 * sunrpc/svc_unix.c: Likewise.
27369 * sunrpc/xdr.c: Likewise.
27370 * sunrpc/xdr_array.c: Likewise.
27371 * sunrpc/xdr_rec.c: Likewise.
27372 * sunrpc/xdr_ref.c: Likewise.
27373 * sunrpc/xdr_stdio.c: Likewise.
27374
1248c1c4
PB
273752011-09-09 Ulrich Drepper <drepper@gmail.com>
27376
27377 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27378
273792011-07-03 Andreas Jaeger <aj@suse.de>
27380
27381 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
27382 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
27383 regenerate with gen-libm-tests.pl.
27384
273852010-05-12 Petr Baudis <pasky@suse.cz>
27386
27387 [BZ #11589]
27388 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
27389 around j0() zero points by switching to j1().
27390 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27391 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27392 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27393 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27394
f22e1074
UD
273952011-09-09 Ulrich Drepper <drepper@gmail.com>
27396
f19009c1
UD
27397 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
27398 instead of 0.
27399 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 27400 instead of 0.
f19009c1
UD
27401 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27402 Patch in part by Pavel Roskin <proski@gnu.org>.
27403
3f8cc204
UD
27404 [BZ #13138]
27405 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
27406 realloc.
27407 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
27408 Free memory block if necessary.
27409
f22e1074
UD
27410 [BZ #12847]
27411 * libio/genops.c (INTDEF): For string streams the _lock pointer can
27412 be NULL. Don't lock in this case.
27413
0a2349f9
RM
274142011-09-09 Roland McGrath <roland@hack.frob.com>
27415
27416 * elf/elf.h (ELFOSABI_GNU): New macro.
27417 (ELFOSABI_LINUX): Define to that.
27418
f3cdd467
DZ
274192011-07-29 Denis Zaitceff <zaitceff@gmail.com>
27420
27421 * string/strncat.c (strncat): Undef the symbol in case it has been
27422 defined in bits/string.h.
27423
74718d13
UD
274242011-09-09 Ulrich Drepper <drepper@gmail.com>
27425
633e9e0f
UD
27426 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
27427
0a2349f9 27428 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
27429 link map.
27430
f9924780
AJ
274312011-08-17 Andreas Jaeger <aj@suse.de>
27432
27433 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
27434
7f5517aa
PP
274352011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
27436 Ian Lance Taylor <iant@google.com>
27437
27438 * math/libm-test.inc (lround_test): New testcase.
27439 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
27440
762011fe
UD
274412011-09-08 Ulrich Drepper <drepper@gmail.com>
27442
92963737
UD
27443 * Makefile: Remove support for automatic cvs check-ins.
27444 * Makerules: Likewise.
27445 * config.make.in: Likewise.
27446 * configure.in: Likewise.
27447 * intl/Makefile: Likewise.
27448 * locale/Makefile: Likewise.
27449 * po/Makefile: Likewise.
27450 * posix/Makefile: Likewise.
27451 * sysdeps/gnu/Makefile: Likewise.
27452 * sysdeps/mach/hurd/Makefile: Likewise.
27453 * sysdeps/sparc/sparc32/Makefile: Likewise.
27454
b0727fd8
JS
27455 [BZ #13118]
27456 * posix/Makefile (bug-regex32-ENV): Define.
27457 Patch by John Stanley <jpsinthemix@verizon.net>.
27458
a0f33f99
UD
27459 * misc/Makefile (headers): Add bits/select2.h.
27460 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
27461 * misc/bits/select2.h: New file.
27462 * include/bits/select2.h: New file.
27463 * debug/Makefile (routines): Add fdelt_chk.
27464 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
27465 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
27466 FD_ISSET.
27467 * debug/fdelt_chk.c: New file.
27468
762011fe
UD
27469 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
27470 * wcsmbs/test-wmemcmp.c: Likewise.
27471 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 27472 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
27473
274742011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27475
27476 * string/Makefile (strop-tests): Add memcmp.
27477 * string/test-wmemcmp.c: New file.
27478 * string/test-memcmp.c: Add wmemcmp support.
27479
7f513ec8
RM
274802011-09-08 Roland McGrath <roland@hack.frob.com>
27481
0442afb4
RM
27482 [BZ #13153]
27483 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
27484 2011-07-19 change.
27485
7f513ec8
RM
27486 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
27487 garbage value in a __mach_port_mod_refs call in the cases of the
27488 task-self and thread-self ports.
27489
a12b2239
ST
274902011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
27491
27492 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
27493
610f9ab4
AS
274942011-09-08 Andreas Schwab <schwab@redhat.com>
27495
7f513ec8 27496 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 27497
48882a1a
LD
274982011-09-07 Ulrich Drepper <drepper@gmail.com>
27499
b49865be
UD
27500 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
27501
fdc86bc9
UD
27502 * elf/dl-libc.c (dlerror_run): Pass back error code from
27503 dl_catch_error.
27504
c966526a
UD
27505 [BZ #13123]
27506 * elf/dl-load.c (lose): Free l_origin if it is valid.
27507
48882a1a
LD
27508 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
27509 names.
27510 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
27511 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
27512 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
27513 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
27514 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
27515 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
27516
77a2a8b4
AZ
275172011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27518
27519 * sysdeps/powerpc/fpu/e_hypot.c: New file.
27520 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
27521 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
27522 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
27523 * sysdeps/powerpc/fpu/k_cosf.c: New file.
27524 * sysdeps/powerpc/fpu/k_sinf.c: New file.
27525 * sysdeps/powerpc/fpu/s_cosf.c: New file.
27526 * sysdeps/powerpc/fpu/s_sinf.c: New file.
27527 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
27528 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
27529
24f579d8
AM
275302011-08-15 Alan Modra <amodra@gmail.com>
27531
27532 [BZ #13092]
27533 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
27534 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
27535 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
27536 ppc_mcount to static-only-routines.
27537 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
27538 __mcount_internal.
27539 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
27540 __mcount_internal with usual JUMPTARGET. Remove useless nop.
27541
3d4837df
UD
275422011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
27543
27544 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
27545 for finite and infinity parameters.
27546
22700377
WS
275472011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
27548
27549 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
27550 and add nop instructions for throughput optimization.
27551 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
27552
5025581e
WS
275532011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
27554
27555 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
27556 aligned copy for power7 with vector-scalar instructions.
27557 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
27558
08a300c9
L
275592011-07-24 H.J. Lu <hongjiu.lu@intel.com>
27560
27561 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
27562 AVX check.
27563
59178ef9
AS
275642011-09-07 Andreas Schwab <schwab@redhat.com>
27565
27566 [BZ #13144]
27567 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
27568 last change.
27569
e38ba7ab
UD
275702011-09-07 Ulrich Drepper <drepper@gmail.com>
27571
27572 * sysdeps/unix/sysv/linux/x86_64/init-first.c
27573 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
27574 syscall wrapper around clock_gettime in __vdso_clock_gettime.
27575 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
27576 clock_gettime.
27577
d53a73ac
UD
275782011-09-06 Ulrich Drepper <drepper@gmail.com>
27579
fc8bffcc
UD
27580 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
27581 Forgot to demangle the pointer.
27582
ceaa0c5d
UD
27583 * sysdeps/i386/sysdep.h: Define atom_text_section.
27584 * sysdeps/x86_64/sysdep.h: Likewise.
27585 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
27586 section with atom_text_section.
27587 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
27588 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
27589 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
27590 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
27591 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
27592
a77d3c17
UD
27593 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
27594 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
27595 already be defined. Change to take two parameters and don't assign
27596 result to variable. Adjust all users.
27597 Define INTERNAL_GETTIME if not already defined.
27598 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
27599 call.
27600 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
27601 HAVE_CLOCK_GETTIME_VSYSCALL.
27602 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
27603
d53a73ac
UD
27604 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
27605 gettimeofday vsyscall, just use time.
27606
a8f84144
AS
276072011-09-06 Andreas Schwab <schwab@redhat.com>
27608
27609 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
27610 <errno.h>.
27611
ef606249
UD
276122011-09-06 Ulrich Drepper <drepper@gmail.com>
27613
27614 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
27615 syscall on x86-64.
27616 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
27617 syscall.
27618 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
27619 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
27620 syscall if possible.
27621
6585cb60
UD
276222011-09-05 Ulrich Drepper <drepper@gmail.com>
27623
27624 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
27625 e_ident. Don't pass to find_mapsXX.
27626 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
27627
a5f524e4
LD
276282011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27629
27630 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27631 strchr-sse2-no-bsf strrchr-sse2-no-bsf
27632 * sysdeps/x86_64/multiarch/strchr.S: Update.
27633 Check bit_slow_BSF bit.
27634 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
27635 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
27636 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
27637
554881ef
UD
276382011-09-05 Ulrich Drepper <drepper@gmail.com>
27639
d96de963
UD
27640 [BZ #13134]
27641 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
27642 before glibc 2.15.
27643 (tryshell): Define.
27644 (__spawni): Change last parameter to be flag. Test
27645 SPAWN_XFLAGS_USE_PATH flag to use path or not.
27646 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
27647 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
27648 * posix/spawni.c: Likewise.
27649 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
27650 * posix/spawnp.c: Likewise. Change normal version to use
27651 SPAWN_XFLAGS_USE_PATH.
27652 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
27653 SPAWN_XFLAGS_TRY_SHELL.
27654
d48e5868
UD
27655 [BZ #13150]
27656 * posix/glob.h: Remove gcc 1.x support.
27657
554881ef
UD
27658 [BZ #13068]
27659 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
27660
693fb948
LD
276612011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27662
27663 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27664 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
27665 strrchr-sse2-bsf
27666 * sysdeps/i386/i686/multiarch/strchr.S: New file.
27667 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
27668 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
27669 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
27670 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
27671 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
27672
1b48c537
UD
276732011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27674
49d42c37
UD
27675 * sysdeps/x86_64/wcscmp.S: New file.
27676
1b48c537
UD
27677 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
27678 wcscmp-c wcscmp-sse2
27679 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
27680 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
27681 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
27682 * wcsmbs/wcscmp.c: Allow renaming.
27683
15c95c5d
DM
276842011-09-05 David S. Miller <davem@davemloft.net>
27685
27686 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
27687 stack slot, rather than the struct return pointer slot.
27688 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
27689 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
27690 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
27691 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
27692
2f0ad8f3
UD
276932011-09-05 Ulrich Drepper <drepper@gmail.com>
27694
d88ae418
UD
27695 * po/ja.po: Update from translation team.
27696
2f0ad8f3
UD
27697 [BZ #13144]
27698 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
27699 kernel in 64-bit binaries.
27700
5f4318d1
DM
277012011-09-01 David S. Miller <davem@davemloft.net>
27702
27703 * elf/elf.h (HWCAP_SPARC_*): Move to..
27704 * sysdeps/sparc/sysdep.h: this new file and add new values.
27705 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
27706 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
27707 _DL_HWCAP_COUNT to 24.
27708 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
27709 entries.
27710 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
27711 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
27712 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
27713 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
27714 instead of magic constants.
27715 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27716
3ba57516
DM
277172011-08-31 David S. Miller <davem@davemloft.net>
27718
27719 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
27720 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
27721 Reimplement to do errno handling inline.
27722 (SYSCALL_ERROR_HANDLER): New macro.
27723 (__SYSCALL_STRING): Do not do errno handling in asm.
27724 (__CLONE_SYSCALL_STRING): Delete.
27725 (__INTERNAL_SYSCALL_STRING): Delete.
27726 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
27727 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
27728 (PSEUDO): Reimplement to do errno handling inline.
27729 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
27730 (SYSCALL_ERROR_HANDLER): New macro.
27731 (__SYSCALL_STRING): Do not do errno handling in asm.
27732 (__CLONE_SYSCALL_STRING): Delete.
27733 (__INTERNAL_SYSCALL_STRING): Delete.
27734 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
27735 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
27736 i386.
27737 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
27738 (inline_syscall*): Add 'err' argument.
27739 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
27740 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
27741 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
27742 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
27743
27744 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
27745 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
27746
2bc17433
AS
277472011-08-30 Andreas Schwab <schwab@redhat.com>
27748
27749 * elf/rtld.c (dl_main): Relocate objects in dependency order.
27750
fbeb5f4d
JO
277512011-08-29 Jiri Olsa <jolsa@redhat.com>
27752
27753 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
27754 directive.
27755
ad69cc26
DM
277562011-08-24 David S. Miller <davem@davemloft.net>
27757
27758 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
27759
39dd69df
AS
277602011-08-24 Andreas Schwab <schwab@redhat.com>
27761
27762 * elf/Makefile: Add rules to build and run unload8 test.
27763 * elf/unload8.c: New file.
27764 * elf/unload8mod1.c: New file.
27765 * elf/unload8mod1x.c: New file.
27766 * elf/unload8mod2.c: New file.
27767 * elf/unload8mod3.c: New file.
27768
27769 * elf/dl-close.c (_dl_close_worker): Reset private search list if
27770 it wasn't used.
27771
2c0b250a
DM
277722011-08-23 David S. Miller <davem@davemloft.net>
27773
27774 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
27775 subtract stack bias.
27776 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
27777 %sp not %fp in calculations.
27778 (_JMPBUF_UNWINDS_ADJ): Likewise.
27779
22044b48
DM
27780 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
27781 (aio_suspend): Call it to force an exception region around the
27782 AIO_MISC_WAIT() invocation.
27783
2cae4995
AS
277842011-08-23 Andreas Schwab <schwab@redhat.com>
27785
27786 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
27787 backslash.
27788
873a772e
AJ
277892011-07-04 Aurelien Jarno <aurelien@aurel32.net>
27790
27791 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
27792 protection macro.
27793 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
27794 and <dl-machine.h>.
27795 (Elf64_FuncDesc): Remove.
27796
25ad0df1
DM
277972011-08-22 David S. Miller <davem@davemloft.net>
27798
27799 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
27800 sigaltstack check, add missing cfi directives.
27801 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
27802 missing cfi directives, and sigaltstack handling.
27803
e888bcbe
AS
278042011-08-16 Andreas Schwab <schwab@redhat.com>
27805
27806 [BZ #11724]
27807 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
27808 object is seen twice.
27809 * elf/dl-fini.c (_dl_sort_fini): Likewise.
27810
27811 * elf/Makefile (distribute): Add tst-initorder2.c.
27812 (tests): Add tst-initorder2.
27813 (modules-names): Add tst-initorder2a tst-initorder2b
27814 tst-initorder2c tst-initorder2d. Add rules to build them.
27815 ($(objpfx)tst-initorder2.out): New rule.
27816 * elf/tst-initorder2.c: New file.
27817 * elf/tst-initorder2.exp: New file.
27818
87162f46
AS
278192011-08-22 Andreas Schwab <schwab@redhat.com>
27820
70538b7f
AS
27821 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
27822
f55ffe58
AS
27823 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
27824 dependencies back to end of function.
27825
87162f46
AS
27826 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
27827 $(elfobjdir)/ld.so.
27828
91b392a4
UD
278292011-08-21 Ulrich Drepper <drepper@gmail.com>
27830
27831 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
27832 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
27833 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
27834 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
27835 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
27836 of __vdso_gettimeofday.
27837 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
27838 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
27839 attribute_hidden.
27840 (_libc_vdso_platform_setup): Remove initialization of
27841 __vdso_gettimeofday and __vdso_time.
27842
5c43483f
UD
278432011-08-20 Ulrich Drepper <drepper@gmail.com>
27844
775a77e7
UD
27845 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
27846 and fgetc_unlocked.
27847 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
27848 getc_unlocked.
89f447ed 27849
49c74ba9
UD
27850 * elf/dl-open.c (add_to_global): Report additions to the global scope
27851 for LD_DEBUG=scopes.
27852 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 27853 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 27854
5c43483f
UD
27855 [BZ #13114]
27856 * stdio-common/Makefile (tests): Add bug24.
27857 * stdio-common/bug24.c: New file.
27858
a101b025
AJ
278592011-08-19 Andreas Jaeger <aj@suse.de>
27860
27861 [BZ #13114]
27862 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
27863 non-existant file when using close-on-exec mode.
27864
c88f1766
UD
278652011-08-20 Ulrich Drepper <drepper@gmail.com>
27866
0276a718
UD
27867 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
27868 the very first instruction.
27869
c88f1766
UD
27870 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
27871 the CFI state in the end.
27872 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
27873 inclusion of dl-trampoline.h.
27874 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
27875
51ccffa0
AS
278762011-08-19 Andreas Schwab <schwab@redhat.com>
27877
94d7165f
AS
27878 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
27879 expectations for long double.
27880
51ccffa0
AS
27881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
27882 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
27883
fd708658 278842011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
27885
27886 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
27887 artificual limit depends upon the system page size.
27888
44f0a71e
UD
278892011-08-17 Ulrich Drepper <drepper@gmail.com>
27890
27891 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
27892 * resolv/Makefile: Define CFLAGS-libresolv.
27893
8de79a24
AS
278942011-08-17 Andreas Schwab <schwab@redhat.com>
27895
27896 * nss/makedb.c (compute_tables): Make variables used in nested
27897 function static.
27898
27724598
UD
278992011-08-17 Ulrich Drepper <drepper@gmail.com>
27900
c5305d88
UD
27901 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
27902 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
27903 if buffer was too small.
27904
27724598
UD
27905 * elf/pldd.c (main): Attach to all threads in the process.
27906 Rewrite /proc handling to use *at functions.
27907
076fe015
UD
279082011-08-16 Ulrich Drepper <drepper@gmail.com>
27909
174baab3
UD
27910 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
27911 specifies first scope to show.
27912 (dl_open_worker): Update callers. Move printing scope of new
27913 object to before the relocation.
44f0a71e 27914 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
27915 * sysdeps/generic/ldsodefs.h: Update declaration.
27916
076fe015
UD
27917 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
27918 string for the scope number.
27919
a60df2c3
UD
279202011-08-14 Ulrich Drepper <drepper@gmail.com>
27921
27922 * nscd/servicescache.c (cache_addserv): Make sure written is always
27923 initialized.
27924
5e4287d1
RM
279252011-08-14 Roland McGrath <roland@hack.frob.com>
27926
85ae0589
RM
27927 * sysdeps/i386/i486/bits/atomic.h
27928 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
27929 statement expression, so as to suppress "set but not used" warning.
27930 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
27931
69f63097
RM
27932 * string/strncat.c (STRNCAT): Use prototype definition.
27933
675456ef
RM
27934 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
27935 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
27936 -Iprograms here.
27937 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
27938 (localedef-modules): Add localedef.
27939 (locale-modules): Add locale.
27940
5e4287d1
RM
27941 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
27942 * elf/rtld.c (dl_main): Invert order of assignment in last change,
27943 to avoid a warning.
27944
9c96ff23
DM
279452011-08-14 David S. Miller <davem@davemloft.net>
27946
27947 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
27948 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
27949
f9ddf089
UD
279502011-08-13 Ulrich Drepper <drepper@gmail.com>
27951
44f0a71e 27952 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
27953 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
27954 * elf/rtld.c (dl_main): Set l_name of vDSO.
27955 Call _dl_show_scope when DL_DEBUG_SCOPES.
27956 (process_dl_debug): Recognize scopes flag and also set it for all.
27957 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
27958 Declare _dl_show_scope.
27959
1dc27704
UD
27960 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
27961 (do_dlopen): Pass caller_dlopen to dl_open.
27962 (__libc_dlopen_mode): Initialize caller_dlopen.
27963
f9ddf089
UD
27964 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
27965 of libc. Make tolower call locale-independent. Optimize a bit by
27966 using isdigit instead of isalnum.
27967 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
27968
9ac533d3
UD
279692011-08-12 Ulrich Drepper <drepper@gmail.com>
27970
27971 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
27972 was a dependency or dynamically loaded.
27973
89edf2e9
UD
279742011-08-11 Ulrich Drepper <drepper@gmail.com>
27975
8e999d29
UD
27976 * intl/l10nflist.c: Allow architecture-specific pop function.
27977 * sysdeps/x86_64/l10nflist.c: New file.
27978
89edf2e9
UD
27979 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
27980 classification.
27981
14d96785
AS
279822011-08-10 Andreas Schwab <schwab@redhat.com>
27983
27984 * include/dirent.h: Add libc_hidden_proto for scandirat and
27985 scandirat64. Don't declare __scandirat64.
27986 * dirent/scandirat.c: Add libc_hidden_def.
27987 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
27988 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
27989
6761ac04
DM
279902011-08-10 David S. Miller <davem@davemloft.net>
27991
27992 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
27993 enum.
27994 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
27995 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
27996 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
27997
c55fbd1e
UD
279982011-08-09 Ulrich Drepper <drepper@gmail.com>
27999
28000 * Versions.def [libc]: Add GLIBC_2.15.
28001 * dirent/Makefile (routines): Add scandirat and scandirat64.
28002 * dirent/Versions [libc]: Export scandirat and scandirat64 for
28003 GLIBC_2.15.
28004 * dirent/dirent.h: Declare scandirat and scandirat64.
28005 * dirent/scandirat.c: New file.
28006 * dirent/scandirat64.c: New file.
28007 * sysdeps/wordsize-64/scandirat.c: New file.
28008 * sysdeps/wordsize-64/scandirat64.c: New file.
28009 * dirent/opendir.c: Define opendirat.
28010 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
28011 using scandirat.
28012 * dirent/scandir64.c: Adjust for scandir.c change.
28013 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
28014 __scandirat64, and __scandir_cancel_handler.
28015 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
28016 additional parameter and use openat instead of open (outside of ld.so).
28017 Add new __opendir as wrapper around __opendirat.
28018 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
28019 here without requiring old scandirat implementation.
28020
879165f2
UD
280212011-08-08 Ulrich Drepper <drepper@gmail.com>
28022
28023 * dirent/scandir.c (cancel_handler): Renamed to
28024 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
28025 defined. Adjust users.
28026 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
28027 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
28028
cb7e923b
UD
280292011-08-04 Ulrich Drepper <drepper@gmail.com>
28030
16292edd
UD
28031 * string/test-string.h (IMPL): Use __STRING to expand name and then
28032 stringify it.
28033
cb7e923b
UD
28034 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
28035 of cleanups.
28036
cff82933
LD
280372011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28038
28039 * string/Makefile: Update.
28040 (strop-tests): Append strncat.
28041 * string/test-wcscmp.c: New file.
28042 New comprehensive test for wcscmp.
28043 * string/test-strcmp.c: Update.
28044 (WIDE): New define.
28045
9be9bfcc
AS
280462011-07-22 Andreas Schwab <schwab@redhat.com>
28047
28048 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
28049 line.
28050
2e96f1c7
AS
280512011-07-26 Andreas Schwab <schwab@redhat.com>
28052
28053 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
28054 encoding to ACE if AI_IDN.
28055
85188888
JJ
280562011-08-01 Jakub Jelinek <jakub@redhat.com>
28057
28058 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
28059 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
28060
5fa16e9b
LD
280612011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28062
28063 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
28064 Fix overflow bug in strncat.
28065 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
28066
28067 * string/test-strncat.c: Update.
28068 Add new tests for checking overflow bugs.
28069
280702011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28071
28072 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28073 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
28074 * sysdeps/i386/i686/multiarch/strcat.S: New file.
28075 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
28076 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
28077 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
28078 * sysdeps/i386/i686/multiarch/strncat.S: New file.
28079 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
28080 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
28081
28082 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
28083 (USE_AS_STRCAT): Define.
28084 Add strcat and strncat support.
28085 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
28086
8c1a459f
AS
280872011-07-25 Andreas Schwab <schwab@redhat.com>
28088
28089 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
28090 __n bigger than INT_MAX+1.
28091 (__strncmp_g): Likewise.
28092
bba33c28
UD
280932011-07-23 Ulrich Drepper <drepper@gmail.com>
28094
798be72d
UD
28095 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
28096 * libio/stido.h: Likewise.
28097
8accd4dc
UD
28098 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
28099 (AF_NFC): Define.
28100 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
28101 (AF_NFC): Define.
28102
cbff0d96
UD
28103 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
28104 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28105 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28106 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
28107 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28108
9191c04a
UD
28109 [BZ #13021]
28110 * scripts/test-installation.pl: Don't expect libnss_test1 to be
28111 installed.
28112
bba33c28
UD
28113 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
28114 typo.
28115 (_dl_x86_64_save_sse): Likewise.
28116
90f139dd
UD
281172011-07-22 Ulrich Drepper <drepper@gmail.com>
28118
1aae088a
UD
28119 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
28120 OSXSAVE.
28121 (_dl_x86_64_save_sse): Likewise.
28122
8e2045f5
UD
28123 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
28124
90f139dd
UD
28125 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
28126
1d002f25
AS
281272011-07-21 Andreas Schwab <schwab@redhat.com>
28128
28129 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
28130 change.
28131 (_dl_x86_64_save_sse): Use correct AVX check.
28132
21137f89
UD
281332011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28134
28135 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
28136 bug in strncpy/strncat.
28137 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
28138
a65c0b7a
UD
281392011-07-21 Ulrich Drepper <drepper@gmail.com>
28140
28141 * string/tester.c (test_strcat): Add tests for different alignments
28142 of source and destination.
28143 (test_strncat): Likewise.
28144
6986b98a
UD
281452011-07-20 Ulrich Drepper <drepper@gmail.com>
28146
90bb2039
UD
28147 [BZ #12852]
28148 * posix/glob.c (glob): Check passed in values before using them in
28149 expressions to avoid some overflows.
28150 (glob_in_dir): Likewise.
28151
5644ef54
UD
28152 [BZ #13007]
28153 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
28154 check for AVX enablement so that we don't crash with old kernels and
28155 new hardware.
28156 * elf/tst-audit4.c: Add same checks here.
28157 * elf/tst-audit6.c: Likewise.
28158
28159 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 28160
bfc9dc9b
AS
281612011-07-09 Andreas Schwab <schwab@linux-m68k.org>
28162
28163 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
28164
702e64bb
UD
281652011-07-20 Ulrich Drepper <drepper@gmail.com>
28166
28167 * po/cs.po: Update from translation team.
28168 * po/bg.po: Likewise.
28169
295e904f
MP
281702011-07-12 Marek Polacek <mpolacek@redhat.com>
28171
28172 * misc/sys/cdefs.h: Add support for const attribute.
28173 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
28174 to gnu_dev_{major,minor,makedev} functions.
28175
3ff94596
MP
281762011-07-20 Marek Polacek <mpolacek@redhat.com>
28177
28178 * intl/dcigettext.c (get_output_charset): Add missing bracket.
28179
28b59fca
AS
281802011-07-20 Andreas Schwab <schwab@redhat.com>
28181
28182 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
28183 strlen results.
28184
19df733e
AK
281852011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28186
28187 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
28188 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
28189 register in order to avoid conflicts with the soft frame pointer
28190 being held in r11 when necessary.
28191 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
28192 (INTERNAL_VSYSCALL_NCS): Likewise.
28193
c8835729
MP
281942011-07-14 Marek Polacek <mpolacek@redhat.com>
28195
28196 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
28197 * elf/dl-fini.c (_dl_fini): Adjust caller.
28198 * elf/dl-close.c (_dl_close_worker): Likewise.
28199 * sysdeps/generic/ldsodefs.h: Adjust declaration.
28200
b902330c
MP
282012011-07-15 Marek Polacek <mpolacek@redhat.com>
28202
8991e135
MP
28203 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
28204 "aux_cache->nlibs < 0".
28205
b902330c
MP
28206 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
28207 in the reload-count case.
28208
99710781
LD
282092011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28210
28211 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28212 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
28213 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
28214 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
28215 * sysdeps/x86_64/multiarch/strcat.S: New file.
28216 * sysdeps/x86_64/multiarch/strncat.S: New file.
28217 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
28218 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
28219 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
28220 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
28221 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
28222 (USE_AS_STRCAT): Define.
28223 Add strcat and strncat support.
28224 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
28225 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
28226 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
28227 * string/strncat.c: Update.
28228 (USE_AS_STRNCAT): Define.
28229 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28230 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
28231 and i7.
28232 * sysdeps/x86_64/multiarch/init-arch.h
28233 (bit_Prefer_PMINUB_for_stringop): New.
28234 (index_Prefer_PMINUB_for_stringop): Likewise.
28235 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
28236 bit_Prefer_PMINUB_for_stringop.
28237
7dc6bd90
UD
282382011-07-19 Ulrich Drepper <drepper@gmail.com>
28239
28240 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
28241 buffer64.
28242 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
28243 of casting of buffer.
28244 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
28245 buffer32 and buffer64.
28246 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
28247 writes instead of casting of buffer.
28248 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
28249 buffer32.
28250 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
28251 casting of buffer.
28252
e0e72284
AS
282532011-07-19 Andreas Schwab <schwab@redhat.com>
28254
28255 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
28256
feb1eb0b
UD
282572011-07-19 Ulrich Drepper <drepper@gmail.com>
28258
28259 * nscd/nscd.c (termination_handler): Don't do anything for a database
28260 if it has not yet been initialized.
28261
298711ff
UD
282622011-07-18 Ulrich Drepper <drepper@gmail.com>
28263
28264 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
28265
282662011-07-15 Marek Polacek <mpolacek@redhat.com>
28267
28268 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
28269
f9d68389
UD
282702011-07-18 Ulrich Drepper <drepper@gmail.com>
28271
28272 * po/nl.po: Update from translation team.
28273 * po/sv.po: Likewise.
28274
db290cf5
RM
282752011-07-16 Roland McGrath <roland@hack.frob.com>
28276
28277 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
28278 now disallowed by GCC.
5c550700 28279
fd5e21c7
RM
28280 * configure.in (use-default-link): Default to yes if a test -shared
28281 link meets our qualifications.
28282 * configure: Regenerated.
28283
5c550700
RM
28284 * config.make.in (output-format): New variable.
28285 * configure.in: Check for ld --print-output-format support.
28286 * configure: Regenerated.
28287 * Makerules ($(common-objpfx)format.lds)
28288 [$(output-format) != unknown]: Just use $(output-format),
28289 instead of the linker-script munging.
28290
9fa2c032
RM
282912011-07-14 Roland McGrath <roland@hack.frob.com>
28292
a6928d51
RM
28293 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
28294 of $(common-objpfx)shlib.lds.
28295 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
28296
661607b3
RM
28297 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
28298 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
28299
9fa2c032
RM
28300 * configure.in (-z relro check): Adjust test code to add a large
28301 writable data section after it.
28302 * configure: Regenerated.
28303
defe9061
RM
283042011-07-11 Roland McGrath <roland@hack.frob.com>
28305
28306 * configure.in (-z relro check): Fix test code to make the variable
28307 truly const.
28308 * configure: Regenerated.
28309
319b9ad4
UD
283102011-07-11 Ulrich Drepper <drepper@gmail.com>
28311
28312 * nscd/nscd.h (struct traced_file): Define.
28313 (struct database_dyn): Remove inotify_descr, reset_res, and filename
28314 elements. Add traced_files.
28315 (inotify_fd): Declare.
28316 (register_traced_file): Declare.
28317 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
28318 (inotify_fd): Export.
28319 (resolv_conf_descr): Remove.
28320 (nscd_init): Move inotify descriptor creation to main.
28321 Don't register files for notification here.
28322 (register_traced_file): New function.
28323 (invalidate_cache): Don't use reset_res to determine whether to call
28324 res_init, go through the list of registered files.
28325 (main_loop_poll): The inotify descriptors are now stored in the
28326 structures for the traced files.
28327 (main_loop_epoll): Likewise
28328 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
28329 to __nss_disable_nscd.
28330 * nscd/cache.c (prune_cache): There is no single inotify descriptor
28331 for a database anymore. Check the records for all the registered
28332 files instead.
28333 * nss/Makefile (libnss_files-routines): Add files-init.
28334 (libnss_db-routines): Add db-init.
28335 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
28336 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
28337 * nss/nss_db/db-init.c: New file.
28338 * nss/nss_files/files-init.c: New file.
28339 * nss/nsswitch.c (nss_load_library): New function. Broken out of
28340 __nss_lookup_function.
28341 (__nss_lookup_function): Call nss_load_library.
28342 (nss_load_all_libraries): New function.
28343 (__nss_disable_nscd): Take parameter with callback function for files
28344 to register. Set is_nscd. Load all the DSOs for the NSS modules
28345 used for the cached services.
28346 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
28347 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
28348 options for features to all the files in nscd.
28349
28350 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
28351
23bee3e8
RM
283522011-07-10 Roland McGrath <roland@hack.frob.com>
28353
28354 * csu/elf-init.c (__libc_csu_init): Comment typo.
28355
46a5b7f0
UD
283562011-07-09 Ulrich Drepper <drepper@gmail.com>
28357
28358 * po/pl.po: Update from translation team.
28359 * po/ja.po: Likewise.
28360 * po/ru.po: Likewise.
28361 * po/ko.po: Likewise.
28362 * po/fr.po: Likewise.
28363
d30cf5bb
RM
283642011-07-09 Roland McGrath <roland@hack.frob.com>
28365
113ddea4
RM
28366 * configure.in (.ctors/.dtors header and trailer check):
28367 Use an empirical test on a built program.
28368 * configure: Regenerated.
28369
574920b4
RM
28370 * configure.in (-z relro check): Use an empirical test on a built DSO.
28371 Detect, but do not require, on ia64.
28372 * configure: Regenerated.
28373
d30cf5bb
RM
28374 * configure.in (READELF): Find it with AC_CHECK_TOOL.
28375 Update tests that use readelf to use $READELF instead.
28376 * configure: Regenerated.
28377
8538fdb3
UD
283782011-07-08 Ulrich Drepper <drepper@gmail.com>
28379
28380 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
28381 if the result is not used.
28382
04d08991
AJ
283832011-07-05 Andreas Jaeger <aj@suse.de>
28384
28385 [BZ#9696]
28386 * stdlib/tst-strtod.c: Add testcase.
28387
de283087
AD
283882011-07-07 Ulrich Drepper <drepper@gmail.com>
28389
4e5f31c8 28390 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 28391 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
28392 The latter has a higher limit. Take additional parameter to pass to
28393 the new function.
28394 (__pathconf): Pass file to __statfs_link_max.
28395 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
28396 __statfs_link_max.
28397 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
28398 __statfs_link_max.
28399
de283087
AD
28400 [BZ #12868]
28401 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
28402 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28403 Handle Lustre.
28404 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
28405 (__statfs_filesize_max): Likewise.
28406 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
28407
c75fa153
AJ
284082011-07-05 Andreas Jaeger <aj@suse.de>
28409
28410 * resolv/res_comp.c (dn_skipname): Remove unused variable.
28411
1a544854
UD
284122011-07-06 Marek Polacek <mpolacek@redhat.com>
28413
28414 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
28415 `status' variable.
28416 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
28417 Likewise.
28418
6f0eec67
UD
284192011-07-04 H.J. Lu <hongjiu.lu@intel.com>
28420
28421 * Makefile (strop-tests): Add strncat.
28422 * string/test-strncat.c: New file.
28423
aae30307
UD
284242011-06-30 Marek Polacek <mpolacek@redhat.com>
28425
28426 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
28427
c0cfb5eb
UD
284282011-06-21 Andreas Jaeger <aj@suse.de>
28429
28430 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
28431 Copy rule from iconvdata/Makefile.
28432
01636b21
UD
284332011-07-06 Ulrich Drepper <drepper@gmail.com>
28434
28435 [BZ #12922]
28436 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
28437 but no long options are defined, just return 'W'.
28438
9895c8bc
UD
284392011-06-22 Marek Polacek <mpolacek@redhat.com>
28440
28441 [BZ #9696]
28442 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
28443
5d4cf042
UD
284442011-07-06 Ulrich Drepper <drepper@gmail.com>
28445
28446 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
28447 netgroups to read.
960e5535 28448 (innetgr): Likewise.
5d4cf042 28449
751eb97e
RM
284502011-07-05 Roland McGrath <roland@hack.frob.com>
28451
28452 * config.make.in (install_root): Default to $(DESTDIR).
28453
f15f1e45
UD
284542011-07-05 Ulrich Drepper <drepper@gmail.com>
28455
28456 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
28457
4e34ac6a
RM
284582011-07-02 Roland McGrath <roland@hack.frob.com>
28459
5e9b6af4
RM
28460 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
28461
84f9ea0f
RM
28462 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
28463 containing directory rather than embedding absolute directory names.
28464
ea5ee9f7
RM
28465 * scripts/check-local-headers.sh: Rewritten using awk.
28466 Match by word, not by line. Print error messages for matches.
28467 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
28468
1b74661a
RM
28469 * Makerules [shlib-lds-flags empty]:
28470 ($(common-objpfx)libc_pic.opts): New target.
28471 ($(common-objpfx)libc_pic.os.clean): New target.
28472 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
28473
28474 * config.make.in (OBJCOPY): New variable.
28475 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
28476 * configure: Regenerated.
28477
f781ef40
RM
28478 * config.make.in (use-default-link): New variable.
28479 * configure.in (use_default_link): Grok --with-default-link to set it.
28480 * configure: Regenerated.
28481 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
28482 (shlib-lds, shlib-lds-flags): Define to empty.
28483
2d4fa81e
RM
28484 * Makerules (shlib-lds): New variable.
28485 (shlib-lds-flags): New variable.
28486 (build-shlib, build-moduile, build-module-asneeded): Use it.
28487 ($(common-objpfx)libc.so): Use $(shlib-lds).
28488 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
28489 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
28490
31fffa6b
RM
28491 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
28492 DT_FLAGS/DT_FLAGS_1 with zero flags.
28493
4e34ac6a
RM
28494 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
28495 linker script munging.
28496
fcfc776b
UD
284972011-07-02 Ulrich Drepper <drepper@gmail.com>
28498
28499 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
28500 as 128-bit value.
28501 * crypt/sha512.c (sha512_process_block): Perform total addition using
28502 128-bit if possible.
28503 (__sha512_finish_ctx): Likewise.
28504 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
28505 as 64-bit value.
28506 * crypt/sha256.c (SWAP64): Define.
28507 (sha256_process_block): Perform total addition using 64-bit if
28508 possible.
28509 (__sha256_finish_ctx): Likewise.
28510
99231d9a
UD
285112011-07-01 Ulrich Drepper <drepper@gmail.com>
28512
28513 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
28514 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28515 * nscd/hstcache.c (cache_addhst): Likewise.
28516 * nscd/grpcache.c (cache_addgr): Likewise.
28517 * nscd/aicache.c (addhstaiX): Likewise
28518 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
28519
445b4a53
TK
285202011-07-01 Thorsten Kukuk <kukuk@suse.de>
28521
28522 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
28523 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28524 * nscd/hstcache.c (cache_addhst): Likewise.
28525 * nscd/grpcache.c (cache_addgr): Likewise.
28526 * nscd/aicache.c (addhstaiX): Likewise
28527
6d4d8e8e
AS
285282011-07-01 Andreas Schwab <schwab@redhat.com>
28529
28530 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
28531 domain only when needed.
28532
89f654c5
AS
285332011-06-30 Andreas Schwab <schwab@redhat.com>
28534
28535 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
28536 is always restored.
28537
cf3b23ff
UD
285382011-06-29 Ulrich Drepper <drepper@gmail.com>
28539
28540 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
28541 are re-adding the entry.
28542 * nscd/servicescache.c (cache_addserv): Likewise.
28543
751626f9
AJ
285442011-06-30 Aurelien Jarno <aurelien@aurel32.net>
28545
28546 * sysdeps/generic/dl-irel.h: fix protection against multiple
28547 inclusions.
28548 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
28549
9113ea1f
UD
285502011-06-28 Ulrich Drepper <drepper@gmail.com>
28551
5c0b8d90
UD
28552 [BZ #12935]
28553 * malloc/memusage.sh: Fix quoting in message.
28554 * debug/xtrace.sh: Likewise.
28555
9113ea1f
UD
28556 * configure.in: Remove support for --experimental-malloc option, make
28557 it the default.
28558 * config.make.in: Likewise.
28559 * malloc/Makefile: Likewise.
28560
a4172181
AS
285612011-06-27 Andreas Schwab <schwab@redhat.com>
28562
28563 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
28564 two-byte characters.
28565
78a7eee7
RM
285662011-06-27 Roland McGrath <roland@hack.frob.com>
28567
62bede13
RM
28568 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
28569 AC_CACHE_CHECK invocation.
28570 * configure: Regenerated.
28571
78a7eee7
RM
28572 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
28573
5ce33a62
UD
285742011-06-27 Ulrich Drepper <drepper@gmail.com>
28575
034807a9
UD
28576 [BZ #12350]
28577 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
28578 bit from old_res_options.
28579
4902da17
UD
28580 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
28581
5ce33a62
UD
28582 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
28583 value type for setfct.
28584
c2344f56
L
285852011-06-23 H.J. Lu <hongjiu.lu@intel.com>
28586
28587 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
28588 __gettimeofday instead of gettimeofday.
28589
68468076
UD
285902011-06-26 Ulrich Drepper <drepper@gmail.com>
28591
28592 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
28593
acb0d739
L
285942011-06-24 H.J. Lu <hongjiu.lu@intel.com>
28595
28596 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
28597
28598 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
28599 info.
28600
8912479f
L
286012011-06-22 H.J. Lu <hongjiu.lu@intel.com>
28602
28603 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28604 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
28605 strcpy-sse2-unaligned strncpy-sse2-unaligned
28606 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
28607 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
28608 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
28609 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
28610 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
28611 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
28612 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
28613 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
28614 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
28615 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
28616 (STRCPY): Support SSE2 and SSSE3 versions.
28617
d5495a11
UD
286182011-06-24 Ulrich Drepper <drepper@gmail.com>
28619
28620 [BZ #12874]
28621 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
28622 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
28623 kernels which artificially limit size of requests.
28624
0b1cbaae
L
286252011-06-22 H.J. Lu <hongjiu.lu@intel.com>
28626
28627 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28628 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
28629 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
28630 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
28631 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
28632 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
28633 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
28634 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
28635 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
28636 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
28637 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
28638 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
28639 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
28640 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
28641 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
28642 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28643 Enable unaligned load optimization for Intel Core i3, i5 and i7
28644 processors.
28645 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
28646 Define.
28647 (index_Fast_Unaligned_Load): Define.
28648 (HAS_FAST_UNALIGNED_LOAD): Define.
28649
07f494a0
MP
286502011-06-23 Marek Polacek <mpolacek@redhat.com>
28651
28652 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
28653
fa3fc0fe
UD
286542011-06-22 Ulrich Drepper <drepper@gmail.com>
28655
28656 [BZ #12907]
28657 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
28658 until it is clear that the information is realy needed.
28659 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
28660
e12df166
AS
286612011-06-22 Andreas Schwab <schwab@redhat.com>
28662
28663 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
28664
852eb34d
UD
286652011-06-22 Ulrich Drepper <drepper@gmail.com>
28666
84e2a551
UD
28667 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
28668 /sys/devices/system/cpu/online if it is usable.
28669
852eb34d
UD
28670 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
28671 reading the information from the /proc filesystem to once a second.
28672
6e502e19
UD
286732011-06-21 Andreas Jaeger <aj@suse.de>
28674
28675 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
28676 NULL after inclusion of kernel headers.
28677
75d39ff2
UD
286782011-06-21 Ulrich Drepper <drepper@gmail.com>
28679
51f9aa6a
UD
28680 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
28681 calls to internal_setent.
28682
c0244a9d
UD
28683 [BZ #12885]
28684 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
28685 addresses using gethostbyname4_r ignore IPv4 addresses.
28686
c5e3c2ae
UD
28687 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
28688 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
28689
75d39ff2
UD
28690 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
28691
42675c6f
DM
286922011-06-20 David S. Miller <davem@davemloft.net>
28693
28694 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
28695 inclusions.
28696 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
28697
28698 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
28699 (elf_irel): Use it.
28700 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
28701 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
28702 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
28703 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
28704 * sysdeps/x86_64/dl-irel.h: Likewise.
28705
28706 * elf/dl-runtime.c: Use elf_ifunc_invoke.
28707 * elf/dl-sym.c: Likewise.
28708
57912a71
UD
287092011-06-15 Ulrich Drepper <drepper@gmail.com>
28710
28711 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
28712 need to dereference resplen2.
28713
ee22793d
AS
287142011-06-14 Andreas Schwab <schwab@redhat.com>
28715
28716 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
28717
a9e836b0
UD
287182011-06-15 Ulrich Drepper <drepper@gmail.com>
28719
77fb9117
UD
28720 * Makeconfig: Define vardbdir and inst_vardbdir.
28721 * nss/Makefile: Add rules to install db-Makefile.
28722
40c1b22c
UD
28723 * nss/nss_db/db-XXX.c: Cleanup.
28724
9f2da732
UD
28725 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
28726 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
28727 GLIBC_PRIVATE.
28728 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
28729 * nss/makedb.c: Implement -g option to specify that value strings
28730 are generated and should not be added to table iterated over for
28731 get*ent calls.
28732 * nss/nss_db/db-initgroups.c: New file.
28733
82e9a1f7
UD
28734 * nss/getent.c: Add support for initgroups lookups through getgrouplist
28735 interface.
28736
c41af17e
UD
28737 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
28738 (internal_getgrouplist): Adjust to name change.
28739 Update use_initgroups_entry if this is not the first call.
28740 * nss/databases.def: Add initgroups entry.
28741
a9e836b0
UD
28742 * nss/makedb.c (compute_tables): Check result of multiple hash table
28743 sizes to minimize maximum chain length.
28744
2666d441
UD
287452011-06-14 Ulrich Drepper <drepper@gmail.com>
28746
28747 * Versions.def: Add entry for libnss_db.
28748 * shlib-versions: Likewise.
28749 * nss/Makefile: Add rules to build libnss_db.
28750 * nss/Versions: Add libnss_db information. Organize libnss_files
28751 entries better.
28752 * nss/db-Makefile: Add gshadow support. Change rules for the new
28753 makedb progra. Some minor improvements to generate smaller files.
28754 * nss/nss_db/nss_db.h: Move NSS database header data structures to
28755 here from...
28756 * nss/makedb.c: ...here.
28757 Improve database format to be smaller and require less memory at
28758 runtime.
28759 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
28760 db anymore.
28761 * nss/nss_db/db-netgrp.c: Likewise.
28762 * nss/nss_db/db-open.c: Likewise.
28763 * nss/nss_files/flies-XXX.x: Adjust comments.
28764 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
28765 * nss/nss_files/files-grp.c: Likewise.
28766 * nss/nss_files/files-hosts.c: Likewise.
28767 * nss/nss_files/files-network.c: Likewise.
28768 * nss/nss_files/files-proto.c: Likewise.
28769 * nss/nss_files/files-pwd.c: Likewise.
28770 * nss/nss_files/files-rpc.c: Likewise.
28771 * nss/nss_files/files-service.c: Likewise.
28772 * nss/nss_files/files-sgrp.c: Likewise.
28773 * nss/nss_files/files-spwd.c: Likewise.
28774 * nss/nss_db/db-alias.c: Removed.
28775 * nss/nss_db/dummy-db.h: Removed.
28776
9ee76b5a
UD
287772011-06-02 Ulrich Drepper <drepper@gmail.com>
28778
28779 * nss/makedb.c: Rewritten to not use database library.
28780 * nss/Makefile: Update to build new makedb program.
28781
c71ca1f8
AJ
287822011-06-14 Andreas Jaeger <aj@suse.de>
28783
28784 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
28785 memset declaration.
28786
3154bfb8
UD
287872011-06-10 Andreas Schwab <schwab@redhat.com>
28788
28789 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
28790 tmpbuf.
28791
b350afab
RM
287922011-06-10 Roland McGrath <roland@hack.frob.com>
28793
decd4e50
RM
28794 * Makerules (shlib.lds): Fail if the linker script comes out empty.
28795 * elf/Makefile ($(objpfx)ld.so): Likewise.
28796
5615eaf2
RM
28797 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
28798 Don't list ld.so twice in dependencies.
28799
28800 * posix/bug-regex31.c: Include <stdlib.h>.
28801
28802 * nscd/hstcache.c (cache_addhst): Remove unused variable.
28803
28804 * nis/nss_compat/compat-spwd.c
28805 (getspent_next_nss_netgr): Remove unused variable.
28806 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
28807
28808 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
28809 nonmembers" output to use the right array.
28810
28811 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
28812
28813 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
28814
28815 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
28816 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
28817 * catgets/gencat.c (read_input_file): Likewise.
28818 * locale/programs/locarchive.c (enlarge_archive): Likewise.
28819
28820 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
28821 variable definition inside #if's controlling its use.
28822
28823 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
28824
28825 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
28826
28827 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
28828
28829 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
28830 unreachable code.
28831
28832 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
28833
b68e08db
RM
28834 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
28835 * configure: Regenerated.
28836
b350afab
RM
28837 * Makerules: Revert last change.
28838 * elf/Makefile: Likewise.
28839
28368601
RM
288402011-06-09 Roland McGrath <roland@hack.frob.com>
28841
28842 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
28843 * elf/Makefile ($(objpfx)librtld.os): Likewise.
28844 (reloc-link): Likewise.
28845
11988f8f
UD
288462011-06-09 Ulrich Drepper <drepper@gmail.com>
28847
28848 * elf/Makefile: Add rules to build pldd.
28849 * elf/pldd.c: New file.
28850 * elf/pldd-xx.c: New file.
28851
e80fab37
UD
288522011-06-07 Ulrich Drepper <drepper@gmail.com>
28853
28854 * version.h: Update for 2.15 development version.
28855
9b849836
DM
288562011-06-07 David S. Miller <davem@davemloft.net>
28857
28858 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
28859 ifuncs.
28860 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
28861 elf_machine_lazy_rel): Likewise.
28862 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
28863 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
28864 elf_machine_lazy_rel): Likewise.
28865 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
28866 dl_hwcap via passed in argument.
28867 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
28868 Likewise.
28869
5a31b283
AK
288702011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28871
28872 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
28873
069e52f8
RM
288742011-06-06 Roland McGrath <roland@hack.frob.com>
28875
28876 [BZ #12849]
28877 * manual/fdl-1.1.texi: New file, verbatim from:
28878 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
28879 * manual/lgpl-2.1.texi: New file, verbatim from:
28880 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
28881 * manual/Makefile (licenses): New variable, list those new file names.
28882 (texis): Use it.
28883 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
28884
28885 * manual/fdl.texi: File removed.
28886 * manual/lesser.texi: File removed.
28887 * manual/libc.texinfo (Copying, Documentation License):
28888 Use new @include file names, put @appendix directive before @include.
28889
f16846a5
JJ
288902011-06-04 Jakub Jelinek <jakub@redhat.com>
28891
28892 [BZ #12841]
28893 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
28894 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
28895 (mq_open): Add __NTH.
28896
3d29045b
L
288972011-06-02 H.J. Lu <hongjiu.lu@intel.com>
28898
28899 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28900 Assume Intel Core i3/i5/i7 processor if AVX is available.
28901
8c297311
UD
289022011-05-31 Ulrich Drepper <drepper@gmail.com>
28903
28904 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
28905 typo.
28906
c8fc0c91
UD
289072011-05-31 Andreas Schwab <schwab@redhat.com>
28908
28909 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
28910 memory. Use alloca_account. Fix memory leak when retrying.
28911
5b27a807
UD
289122011-05-31 Ulrich Drepper <drepper@gmail.com>
28913
356f8bc6
UD
28914 * version.h (RELEASE): Bump for 2.14 release.
28915 * include/features.h (__GLIBC_MINOR__): Bump to 14.
28916
5b27a807
UD
28917 * config.make.in (RANLIB): Remove entry.
28918
01f16ab0
UD
289192011-05-30 Ulrich Drepper <drepper@gmail.com>
28920
41fce8bd
UD
28921 * po/Makefile (po-sed-cmd): Add ksh to extensions.
28922 (libc.pot): Work around missing support for .ksh extension in xgettext.
28923
4769ae77
UD
28924 [BZ #12684]
28925 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
28926 if both request failed.
28927 (send_dg): In case of server errors clear resplen or *resplen2.
28928
6b1e7d19
UD
28929 [BZ #12454]
28930 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
28931 when there are multiple maps.
28932 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
28933 (_dl_fini): Remove test here.
28934
01f16ab0
UD
28935 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
28936
b1ebd700
UD
289372011-05-29 Ulrich Drepper <drepper@gmail.com>
28938
7ae22829
UD
28939 [BZ #12350]
28940 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
28941 bit from old_res_options.
28942 (gaih_inet): Likewise.
28943
553149f6 28944 [BZ #11099]
18a84741 28945 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
28946 as signed.
28947
652ffab1
UD
28948 * resolv/res_init.c (res_setoptions): Make the code more compact.
28949
16985fd0
UD
28950 [BZ #11558]
28951 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
28952 set RES_USEVC.
28953
0464f746
UD
28954 [BZ #11634]
28955 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
28956
7d17596c
UD
28957 * malloc/malloc.h: Mark malloc hook variables as deprecated.
28958
cf6bbbd7
UD
28959 [BZ #11781]
28960 * malloc/malloc.h: Declare malloc hook variables as volatile.
28961
13f1ab36
UD
28962 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
28963 in last patch.
28964
b1ebd700
UD
28965 [BZ #11799]
28966 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 28967 raise in the comment.
80e2212d
UD
28968 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
28969 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
28970 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 28971
ce67228d
UD
289722011-05-28 Ulrich Drepper <drepper@gmail.com>
28973
8887a920
UD
28974 [BZ #12811]
28975 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
28976 grow the buffers more if it already has to be sufficient.
28977 (build_wcs_upper_buffer): Likewise.
28978 * posix/regexec.c (check_matching): Likewise.
28979 (clean_state_log_if_needed): Likewise.
28980 (extend_buffers): Don't enlarge buffers beyond size of the input
28981 buffer.
28982 Patches mostly by Emil Wojak <emil@wojak.eu>.
28983 * posix/bug-regex32.c: New file.
28984 * posix/Makefile (tests): Add bug-regex32.
28985
4f031072
UD
28986 * locale/findlocale.c (_nl_find_locale): Return right away if
28987 _nl_explode_name failed.
28988 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
28989
d0478f0c
UD
28990 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
28991
de81b246
UD
28992 * debug/xtrace.sh: Unify messages.
28993 * malloc/memusage.sh: Likewise.
28994
c738465a
UD
28995 [BZ #12813]
28996 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
28997 time symbol from vDSO. Substitute with vsyscall if not available.
28998 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
28999 __vdso_time.
29000
f1f929d7
UD
29001 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
29002 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
29003 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
29004 Add sendmmsg and internal_sendmmsg.
29005 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
29006 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
29007 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
29008
ce67228d
UD
29009 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
29010 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
29011 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
29012
e57420c6
UD
290132011-05-27 Ulrich Drepper <drepper@gmail.com>
29014
a8509ca5
UD
29015 [BZ #12813]
29016 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
29017 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
29018 available.
29019 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
29020 __vdso_getcpu.
29021
e57420c6
UD
29022 [BZ #12814]
29023 * iconvdata/Makefile (tests): Add bug-iconv9.
29024 * iconvdata/bug-iconv9.c: New file.
29025
4d07db15
AS
290262011-05-27 Andreas Schwab <schwab@redhat.com>
29027
29028 [BZ #12814]
29029 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
29030
ea486f69
JJ
290312011-05-25 Jakub Jelinek <jakub@redhat.com>
29032
29033 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
29034 (struct user_regs_struct): Change intcs field back to cs.
29035
6f038433
UD
290362011-05-25 Ulrich Drepper <drepper@gmail.com>
29037
29038 * po/ja.po: Update from translation team.
29039
67f86a25
UD
290402011-05-23 Ulrich Drepper <drepper@gmail.com>
29041
29042 [BZ #12795]
29043 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
29044 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
29045
def7fbd6
AS
290462011-05-20 Andreas Schwab <schwab@redhat.com>
29047
29048 * stdlib/longlong.h: Update from GCC.
29049
f50ef8f1
AS
290502011-05-23 Andreas Schwab <schwab@redhat.com>
29051
29052 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
29053 parameter name.
29054 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
29055 Add parameter name.
29056 (__sysconf): Pass it down.
29057
de7ce8f1
UD
290582011-05-22 Ulrich Drepper <drepper@gmail.com>
29059
f2962a71
UD
29060 [BZ #12671]
29061 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
29062 some situations.
29063 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
29064 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
29065 add in in __libc_use_alloca calls. Adjust callers.
29066 (glob): Use malloc in some situations.
29067
de7ce8f1
UD
29068 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
29069 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
29070 pltexit.
29071
aec84f53
UD
290722011-05-21 Ulrich Drepper <drepper@gmail.com>
29073
05bb4a68
UD
29074 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
29075 and CLOCK_BOOTTIME_ALARM.
29076
7ea72f99
UD
29077 [BZ #12782]
29078 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
29079 is returned.
29080
7e4afad5
UD
29081 * string/_strerror.c (__strerror_r): Print negative errors as signed
29082 numbers.
29083
8e211fec
UD
29084 [BZ #12777]
29085 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
29086 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
29087 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
29088
f7d82dc9
UD
29089 * configure.in: Fix typo in redirection and correct removal of test
29090 files in two cases.
29091
cc9e536d
UD
29092 [BZ #12788]
29093 * locale/setlocale.c (new_composite_name): Fix test to check for
29094 identical name of all categories.
29095
aec84f53
UD
29096 [BZ #12792]
29097 * libio/filedoalloc.c (local_isatty): New function.
29098 (_IO_file_doallocate): Use local_isatty.
29099 * stdio-common/perror.c (perror): In case a new stream is used
29100 forward the stream error.
29101 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
29102 error flag.
29103
78e64fdc
RT
291042011-05-20 Ulrich Drepper <drepper@gmail.com>
29105
34a9094f
UD
29106 [BZ #11869]
29107 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
29108 alloca.
29109 * include/alloca.h (extend_alloca_account): Define.
29110
78e64fdc
RT
29111 [BZ #11857]
29112 * posix/regex.h: Fix comments with documentation of user-accessible
29113 fields after compilation and describe correct free'ing of pattern
29114 after re_compile_pattern.
29115 Patch by Reuben Thomas <rrt@sc3d.org>.
29116
457bddfc
RA
291172011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
29118
29119 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
29120 and -mno-altivec to prevent the compiler from using Altivec and/or
29121 VSX instructions when the corresponding registers are not available.
29122
a4527b51
AS
291232011-05-19 Andreas Schwab <schwab@redhat.com>
29124
29125 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
29126
ed690b2f
UD
291272011-05-19 Ulrich Drepper <drepper@gmail.com>
29128
29129 * libio/freopen.c (freopen): Use __dup2, not dup2.
29130 * libio/freopen64.c (freopen64): Likewise.
29131
8db73634
L
291322011-05-17 H.J. Lu <hongjiu.lu@intel.com>
29133
29134 [BZ #12775]
29135 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
29136 * math/Makefile (tests): Add test-powl.
29137 (CFLAGS-test-powl.c): Define.
29138 * math/test-powl.c: New file.
29139
0a197a9d
L
291402011-05-16 H.J. Lu <hongjiu.lu@intel.com>
29141
29142 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
29143
ee30c380
UD
291442011-05-17 Ulrich Drepper <drepper@gmail.com>
29145
29146 [BZ #11837]
29147 * iconvdata/gb18030.c: Update to GB18020-2005.
29148
6ce75379
UD
291492011-05-16 Ulrich Drepper <drepper@gmail.com>
29150
a4b89fd8
AR
29151 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
29152 RE_SYNTAX_POSIX_AWK): Update to match recent development.
29153 Patch by Aharon Robbins <arnold@skeeve.com>.
29154
ea389b12
UD
29155 [BZ #11892]
29156 * stdlib/putenv.c (putenv): Don't always create copy of the variable
29157 on the stack.
29158
68a3f91f
UD
29159 [BZ #11895]
29160 * misc/pselect.c (__pselect): Handle timeout value errors hidden
29161 through underflows.
29162
15cc7dd1
UD
29163 [BZ #12766]
29164 * misc/error.c (error_at_line): Ensure file_name and old_file_name
29165 point to strings before performing equality test for error_one_per_line
29166 mode.
29167
f3799213
UD
29168 [BZ #11697]
29169 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
29170
d79a9c94
UD
29171 [BZ #11820]
29172 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
29173 (struct user_fpregs_struct): Avoid __uint*_t types.
29174
56e5eb46
UD
29175 [BZ #6420]
29176 * malloc/mtrace.c (tr_where): Add additional parameter to point to
29177 symbol info. Use it instead of calling _dl_addr locally.
29178 (lock_and_info): New function.
29179 (tr_freehook): Call lock_and_info and pass symbol info as additional
29180 parameter to tr_where.
29181 (tr_mallochook): Likewise.
29182 (tr_reallochook): Likewise.
29183 (tr_memalignhook): Likewise.
29184
6ce75379
UD
29185 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
29186 used and couldn't be at all thread-safe.
29187
f8a3b5bf
UD
291882011-05-15 Ulrich Drepper <drepper@gmail.com>
29189
94b7cc37
UD
29190 * libio/freopen.c (freopen): Don't close old file descriptor
29191 before the new one is opened. Instead dup the new file descriptor
29192 to the old one after the new stream is created.
29193 * libio/freopen64.c (freopen64): Likewise.
29194 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
29195 * libio/fileops.c (_IO_new_file_close_it): Handle new
29196 _IO_FLAGS2_NOCLOSE flag.
29197 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
29198 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
29199 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
29200 _IO_FLAGS2_NOCLOSE flag.
29201 * include/unistd.h: Add hidden_proto for dup3.
29202 Define __have_dup3.
29203 * io/dup3.c: Define hidden symbol.
29204 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
29205
bd25564e
UD
29206 [BZ #7101]
29207 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
29208 when an incomplete long option is used.
29209 * posix/tst-getopt_long1.c: New file.
29210 * posix/Makefile (tests): Add tst-getopt_long1.
29211
c84cfef4
UD
29212 [BZ #10138]
29213 * scripts/config.guess: Update from autoconf-2.68.
29214 * scripts/config.sub: Likewise.
29215
3b85df27
UD
29216 [BZ #10157]
29217 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
29218 tests into ...
29219 (has_cpuclock): ...this. New function.
29220 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
29221 macro here based on has_cpuclock code.
29222
15a856b1
UD
29223 [BZ #10149]
29224 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29225 First byte (not low byte) is now always NUL.
29226 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
29227
05f399e6
UD
29228 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29229 Use non-cancelable interfaces.
29230
10a52685 29231 [BZ #9809]
94ecc67d
UD
29232 * locale/iso-639.def: Add entry for Sorani.
29233
f8a3b5bf
UD
29234 [BZ #11901]
29235 * include/stdlib.h: Move include protection to the right place.
29236 Define abort_msg_s. Declare __abort_msg with it.
29237 * stdlib/abort.c (__abort_msg): Adjust type.
29238 * assert/assert.c (__assert_fail_base): New function. Majority
29239 of code from __assert_fail. Allocate memory for __abort_msg with
29240 mmap.
29241 (__assert_fail): Now call __assert_fail_base.
29242 * assert/assert-perr.c: Remove bulk of implementation. Use
29243 __assert_fail_base.
29244 * include/assert.hL Declare __assert_fail_base.
29245 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
29246 mmap.
29247 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
29248
1af4e298
UD
292492011-05-14 Ulrich Drepper <drepper@gmail.com>
29250
f8a3b5bf 29251 [BZ #11952]
d26dfc60
MG
29252 [BZ #12453]
29253 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
29254 until all modules are registered in the DTV.
29255 * elf/Makefile: Add rules to build and run tst-tls19.
29256 * elf/tst-tls19.c: New file.
29257 * elf/tst-tls19mod1.c: New file.
29258 * elf/tst-tls19mod2.c: New file.
29259 * elf/tst-tls19mod3.c: New file.
29260 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
29261
2fc54d6f
UD
29262 [BZ #12083]
29263 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
29264 correctly.
29265
98d76b46
UD
29266 [BZ #12601]
29267 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
29268 two-byte sequence errors.
29269 * iconvdata/Makefile (tests): Add bug-iconv8.
29270 * iconvdata/bug-iconv8.c: New file.
29271
da3c19ef
UD
29272 [BZ #12626]
29273 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
29274 buf2 definition.
29275
ca408c15
UD
29276 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
29277
d6f67f7d
UD
29278 [BZ #12432]
29279 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
29280 (dummy_getcfa): New function.
29281 (init): Get _Unwind_GetCFA address, use dummy if not found.
29282 (backtrace_helper): In recursion check, also check whether CFA changes.
29283 (__backtrace): Completely initialize arg.
29284
1af4e298 29285 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
29286 storing incomplete byte sequence in state object. Avoid testing for
29287 guaranteed too small input if we know there is enough data available.
1af4e298 29288
da62f81b
AS
292892011-05-11 Andreas Schwab <schwab@redhat.com>
29290
29291 * Makeconfig (+link-pie): Indent.
29292 * Rules (binaries-pie): Define if $(have-fpie) and
29293 $(build-shared).
29294 (binaries-shared): Also filter out $(binaries-pie).
29295 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
29296 * nscd/Makefile (others-pie): Add nscd.
29297 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
29298 ($(objpfx)nscd): Remove command override.
29299 * login/Makefile (others-pie): Add pt_chown.
29300 ($(objpfx)pt_chown): Remove command override.
29301 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
29302 remove command overrides.
29303
fcabc0f8
UD
293042011-05-13 Ulrich Drepper <drepper@gmail.com>
29305
20030ae6
UD
29306 * libio/tst_putwc.c: Fix error messages.
29307
fcabc0f8
UD
29308 [BZ #12724]
29309 * libio/fileops.c (_IO_new_file_close_it): Always flush when
29310 currently writing and seek to current position when not.
29311 * libio/Makefile (tests): Add bug-fclose1.
29312 * libio/bug-fclose1.c: New file.
29313
320a5dc0
PB
293142011-05-12 Ulrich Drepper <drepper@gmail.com>
29315
29316 [BZ #12511]
29317 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
29318 don't set DF_1_NODELETE here.
29319 (do_lookup_x): When entering new entry test for copy relocation
29320 and if necessary set DF_1_NODELETE flag.
29321 * elf/tst-unique4.cc: New file.
29322 * elf/tst-unique4.h: New file.
29323 * elf/tst-unique4lib.cc: New file.
29324 * elf/Makefile: Add rules to build and run tst-unique4.
29325 Patch by Piotr Bury <pbury@goahead.com>.
29326
22836f52
UD
293272011-05-11 Ulrich Drepper <drepper@gmail.com>
29328
f574184a
UD
29329 [BZ #12052]
29330 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
29331
e1fb097f
UD
29332 [BZ #12625]
29333 * misc/mntent_r.c (addmntent): Flush the stream after the output
29334
22836f52
UD
29335 [BZ #12393]
29336 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
29337 (is_trusted_path_normalize): Skip initial colon. Append slash
29338 to empty buffer. Duplicate is_trusted_path code but allow
29339 constructed patch to be prefix.
29340 (is_dst): Allow $ORIGIN followed by /.
29341 (_dl_dst_substitute): Correct clearing of check_for_trusted.
29342 Correct testing of result of is_trusted_path_normalize
29343 (decompose_rpath): Fix warning.
29344
7b3b0b2a
UD
293452011-05-10 Ulrich Drepper <drepper@gmail.com>
29346
29347 [BZ #11257]
29348 * grp/initgroups.c (internal_getgrouplist): When we found the service
29349 list through the initgroups entry in nsswitch.conf do not always
29350 continue on a successful lookup. Don't always use the
eac80ce2 29351 __nss_group_database value if it is set.
7b3b0b2a
UD
29352 * nss/nsswitch.conf (initgroups): Change action for successful db
29353 lookup to continue for compatibility.
29354
2a81eaa5
UD
293552011-05-09 Ulrich Drepper <drepper@gmail.com>
29356
be97a69e
UD
29357 [BZ #11532]
29358 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
29359 and CP774 modules.
29360 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
29361 and CP774 modules.
29362 * iconvdata/tst-tables.sh: Likewise.
29363 * iconvdata/cp770.c: New file.
29364 * iconvdata/cp771.c: New file.
29365 * iconvdata/cp772.c: New file.
29366 * iconvdata/cp773.c: New file.
29367 * iconvdata/cp774.c: New file.
29368 * iconvdata/testdata/CP770: New file.
29369 * iconvdata/testdata/CP770..UTF8: New file.
29370 * iconvdata/testdata/CP771: New file.
29371 * iconvdata/testdata/CP771..UTF8: New file.
29372 * iconvdata/testdata/CP772: New file.
29373 * iconvdata/testdata/CP772..UTF8: New file.
29374 * iconvdata/testdata/CP773: New file.
29375 * iconvdata/testdata/CP773..UTF8: New file.
29376 * iconvdata/testdata/CP774: New file.
29377 * iconvdata/testdata/CP774..UTF8: New file.
29378
29379 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
29380 END CHARMAP line.
29381 * iconvdata/gen-8bit-gap.sh: Likewise.
29382 * iconvdata/gen-8bit.sh: Likewise.
29383
c1e9e399
UD
29384 * locale/iso-639.def: Add ary entry.
29385
24c55fb3 29386 [BZ #11258]
96b4b1b0
UD
29387 * locale/C-translit.h.in: Add U20A1 transliteration.
29388
bdc2f971
KB
29389 [BZ #12178]
29390 * locale/iso-639.def: Add wae entry.
29391 Patch by Kevin Bortis <bortis@translate-wae.ch>.
29392
2952b117
UD
29393 [BZ #12545]
29394 * locale/programs/localedef.c (construct_output_path): Use ssize_t
29395 for n.
29396
2a81eaa5
UD
29397 [BZ #12711]
29398 * locale/C-translit.h.in: Add entry for U20B9.
29399 Patch by pravin.d.s@gmail.com.
29400
28377d1b
UD
294012011-05-08 Ulrich Drepper <drepper@gmail.com>
29402
7fb90fb8
UD
29403 [BZ #12713]
29404 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
29405 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
29406 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
29407 in rtld. Use *stat64.
7fb90fb8 29408 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 29409 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 29410 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
29411 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
29412 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
29413 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
29414 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
29415 __fstatat64 macros.
7fb90fb8
UD
29416 * include/dirent.h: Add libc_hidden_proto for rewinddir.
29417 * dirent/rewinddir.c: Add libc_hidden_def.
29418 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 29419 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 29420
28377d1b
UD
29421 * include/dirent.h (__alloc_dir): Add flags parameter.
29422 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
29423 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
29424 __alloc_dir.
29425 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
29426 from fdopendir if O_CLOEXEC is already set.
29427
66bdbaa4
AM
294282011-03-15 Alan Modra <amodra@gmail.com>
29429
29430 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
29431 l_tls_firstbyte_offset non-zero. Save padding offset in
29432 l_tls_firstbyte_offset for later use.
29433 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
29434 freeing static tls block.
29435
95721191
JN
294362011-03-05 Jonathan Nieder <jrnieder@gmail.com>
29437
29438 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
29439 where #ifdef was intended. The intent is to prevent ARG_MAX from
29440 being defined by the kernel headers.
29441
f87dfb1f
UD
294422011-05-07 Ulrich Drepper <drepper@gmail.com>
29443
29444 [BZ #12734]
29445 * resolv/resolv.h: Define RES_NOTLDQUERY.
29446 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
29447 no-tld-query and set RES_NOTLDQUERY.
29448 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
29449 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
29450 modern BIND to search name as TLD unless forbidden.
29451
47c3cd7a
UD
294522011-05-07 Petr Baudis <pasky@suse.cz>
29453 Ulrich Drepper <drepper@gmail.com>
29454
29455 [BZ #12393]
29456 * elf/dl-load.c (fillin_rpath): Move trusted path check...
29457 (is_trusted_path): ...to here.
c1e9ea35 29458 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 29459 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 29460 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 29461
8a35c912
PP
294622011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
29463
29464 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
29465 __BEGIN/__END_DECLS.
29466
acd41f47
UD
294672011-05-06 Ulrich Drepper <drepper@gmail.com>
29468
29469 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
29470 NSS_STATUS_NOTFOUND if no record was found.
29471
597df647
AS
294722011-05-05 Andreas Schwab <schwab@redhat.com>
29473
29474 * sunrpc/Makefile (headers): Add rpc/netdb.h.
29475 (headers-not-in-tirpc): Remove rpc/netdb.h
29476 * resolv/netdb.h: Revert last change.
29477
b9af1301
PP
294782011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
29479
29480 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
29481 circular dependency between libgcc.a and libc.a.
29482
4e34d5f5
AS
294832011-05-05 Andreas Schwab <schwab@redhat.com>
29484
29485 * resolv/netdb.h: Don't include <rpc/netdb.h>.
29486 * nis/Makefile: Don't install rpcsvc/*.
29487 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
29488 instead of <rpc/types.h>.
29489 (MAXHOSTNAMELEN): Define.
29490
00ee369c
AS
294912011-05-03 Andreas Schwab <schwab@redhat.com>
29492
29493 * elf/ldconfig.c (add_dir): Don't crash on empty path.
29494
0b592a30
MB
294952011-04-28 Maciej Babinski <mbabinski@google.com>
29496
29497 [BZ #12714]
29498 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
29499 gethostbyname4_r when IPv6 results are possible.
29500
6e04cbbe
UD
295012011-05-02 Ulrich Drepper <drepper@gmail.com>
29502
29503 [BZ #12723]
29504 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
29505 _PC_PIPE_BUF handling.
29506
e4ecafe0
BH
295072011-04-30 Bruno Haible <bruno@clisp.org>
29508
29509 [BZ #12717]
29510 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
29511 * resolv/netdb.h (getnameinfo): Change type of flags parameter
29512 to 'int'.
29513 * inet/getnameinfo.c (getnameinfo): Likewise.
29514
125ee683
UD
295152011-04-29 Ulrich Drepper <drepper@gmail.com>
29516
29517 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
29518 to groups setting in database lookup.
29519 * nss/nsswitch.conf: Add initgroups entry.
29520
b722481a
EB
295212011-04-22 Ulrich Drepper <drepper@gmail.com>
29522
29523 [BZ #12685]
29524 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
29525 mode string.
29526 Patch by Eric Blake <eblake@redhat.com>.
29527
4df46dbd
L
295282011-04-20 H.J. Lu <hongjiu.lu@intel.com>
29529
29530 * sunrpc/Makefile (need-export-routines): Add svc_run.
29531 (routines): Remove svc_run.
29532 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
29533 * sunrpc/clnt_perr.c (clnt_perrno): Export.
29534 * sunrpc/svc_run.c (svc_run): Likewise.
29535 * sunrpc/svc_udp.c (svcudp_create): Likewise.
29536
e84142d2
UD
295372011-04-21 Ulrich Drepper <drepper@gmail.com>
29538
29539 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
29540 problem in reallocation in last patch.
29541
877175d8
UD
295422011-04-20 Ulrich Drepper <drepper@gmail.com>
29543
29544 * sunrpc/Makefile: Move inclusion of Rules.
29545
ab8eed78
UD
295462011-04-19 Ulrich Drepper <drepper@gmail.com>
29547
29548 * nss/nss_files/files-initgroups.c: New file.
29549 * nss/Makefile (libnss_files-routines): Add files-initgroups.
29550 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
29551 _nss_files_initgroups_dyn.
29552
e3d8f584
RS
295532011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
29554
29555 * elf/elf.h (R_ARM_IRELATIVE): Define.
29556
af190f45
UD
295572011-04-19 Ulrich Drepper <drepper@gmail.com>
29558
29559 * po/ru.po: Update from translation team.
29560
53cf59ef
UD
295612011-04-17 Ulrich Drepper <drepper@gmail.com>
29562
29563 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
29564 dependencies.
29565
4c559bcd
MF
295662011-02-06 Mike Frysinger <vapier@gentoo.org>
29567
29568 [BZ #12653]
29569 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
29570 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
29571 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
29572 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
29573 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
29574
4420675c
AS
295752011-03-28 Andreas Schwab <schwab@linux-m68k.org>
29576
29577 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
29578 differing bytes.
29579 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
29580 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
29581 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29582
75ea32ab
UD
295832011-04-17 Ulrich Drepper <drepper@gmail.com>
29584
29585 [BZ #12420]
29586 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
29587 storing it.
29588 * stdlib/bug-getcontext.c: New file.
29589 * stdlib/Makefile: Add rules to build and run bug-getcontext.
29590
27390476
AK
295912011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29592
29593 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
29594 instructions into .machine "z9-109".
29595 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
29596 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
29597
10442705
AK
295982011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29599
29600 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
29601 between environment variables and auxiliary vector.
29602
7b57bfe5
UD
296032011-04-16 Ulrich Drepper <drepper@gmail.com>
29604
29605 * Makefile: Add rules to build linkobj/libc.so.
29606 * include/libc-symbols.h: Define libc_hidden_nolink.
29607 * include/rpc/auth.h: Mark functions which are to be hidden.
29608 * include/rpc/auth_des.h: Likewise.
29609 * include/rpc/auth_unix.h: Likewise.
29610 * include/rpc/clnt.h: Likewise.
29611 * include/rpc/des_crypt.h: Likewise.
29612 * include/rpc/key_prot.h: Likewise.
29613 * include/rpc/pmap_clnt.h: Likewise.
29614 * include/rpc/pmap_prot.h: Likewise.
29615 * include/rpc/pmap_rmt.h: Likewise.
29616 * include/rpc/rpc_msg.h: Likewise.
29617 * include/rpc/svc.h: Likewise.
29618 * include/rpc/svc_auth.h: Likewise.
29619 * include/rpc/xdr.h: Likewise.
29620 * nis/Makefile: Link all DSOs against linkobj/libc.so.
29621 * nss/Makefile: Likewise.
29622 * sunrpc/Makefile: Don't install headers. Build library with normal
29623 entry points. Don't build rpcinfo. Link RPC tests appropriately.
29624 * sunrpc/auth_des.c: Hide exported symbols by default, export some
29625 for the compat linking library. Remove use of INTDEF/INTUSE.
29626 * sunrpc/auth_none.c: Likewise.
29627 * sunrpc/auth_unix.c: Likewise.
29628 * sunrpc/authdes_prot.c: Likewise.
29629 * sunrpc/authuxprot.c: Likewise.
29630 * sunrpc/clnt_gen.c: Likewise.
29631 * sunrpc/clnt_perr.c: Likewise.
29632 * sunrpc/clnt_raw.c: Likewise.
29633 * sunrpc/clnt_simp.c: Likewise.
29634 * sunrpc/clnt_tcp.c: Likewise.
29635 * sunrpc/clnt_udp.c: Likewise.
29636 * sunrpc/clnt_unix.c: Likewise.
29637 * sunrpc/des_crypt.c: Likewise.
29638 * sunrpc/des_soft.c: Likewise.
29639 * sunrpc/get_myaddr.c: Likewise.
29640 * sunrpc/key_call.c: Likewise.
29641 * sunrpc/key_prot.c: Likewise.
29642 * sunrpc/netname.c: Likewise.
29643 * sunrpc/pm_getmaps.c: Likewise.
29644 * sunrpc/pm_getport.c: Likewise.
29645 * sunrpc/pmap_clnt.c: Likewise.
29646 * sunrpc/pmap_prot.c: Likewise.
29647 * sunrpc/pmap_prot2.c: Likewise.
29648 * sunrpc/pmap_rmt.c: Likewise.
29649 * sunrpc/publickey.c: Likewise.
29650 * sunrpc/rpc_cmsg.c: Likewise.
29651 * sunrpc/rpc_common.c: Likewise.
29652 * sunrpc/rpc_dtable.c: Likewise.
29653 * sunrpc/rpc_prot.c: Likewise.
29654 * sunrpc/rpc_thread.c: Likewise.
29655 * sunrpc/rtime.c: Likewise.
29656 * sunrpc/svc.c: Likewise.
29657 * sunrpc/svc_auth.c: Likewise.
29658 * sunrpc/svc_authux.c: Likewise.
29659 * sunrpc/svc_raw.c: Likewise.
29660 * sunrpc/svc_run.c: Likewise.
29661 * sunrpc/svc_simple.c: Likewise.
29662 * sunrpc/svc_tcp.c: Likewise.
29663 * sunrpc/svc_udp.c: Likewise.
29664 * sunrpc/svc_unix.c: Likewise.
29665 * sunrpc/svcauth_des.c: Likewise.
29666 * sunrpc/xcrypt.c: Likewise.
29667 * sunrpc/xdr.c: Likewise.
29668 * sunrpc/xdr_array.c: Likewise.
29669 * sunrpc/xdr_float.c: Likewise.
29670 * sunrpc/xdr_intXX_t.c: Likewise.
29671 * sunrpc/xdr_mem.c: Likewise.
29672 * sunrpc/xdr_rec.c: Likewise.
29673 * sunrpc/xdr_ref.c: Likewise.
29674 * sunrpc/xdr_sizeof.c: Likewise.
29675 * sunrpc/xdr_stdio.c: Likewise.
29676
e6c61494
UD
296772011-04-10 Ulrich Drepper <drepper@gmail.com>
29678
29679 [BZ #12650]
29680 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
29681 * sysdeps/ia64/dl-tls.h: Likewise.
29682 * sysdeps/powerpc/dl-tls.h: Likewise.
29683 * sysdeps/s390/dl-tls.h: Likewise.
29684 * sysdeps/sh/dl-tls.h: Likewise.
29685 * sysdeps/sparc/dl-tls.h: Likewise.
29686 * sysdeps/x86_64/dl-tls.h: Likewise.
29687 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
29688
34fe483e
AS
296892011-03-14 Andreas Schwab <schwab@redhat.com>
29690
29691 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
29692 rpath element also skip the following colon.
29693 (expand_dynamic_string_token): Add is_path parameter and pass
29694 down to DL_DST_REQUIRED and _dl_dst_substitute.
29695 (decompose_rpath): Call expand_dynamic_string_token with
29696 non-zero is_path. Ignore empty rpaths.
29697 (_dl_map_object_from_fd): Call expand_dynamic_string_token
29698 with zero is_path.
29699
f12a32e6
AS
297002011-04-08 Andreas Schwab <schwab@linux-m68k.org>
29701
29702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
29703 Make cancelable.
29704
38a7d692
UD
297052011-04-09 Ulrich Drepper <drepper@gmail.com>
29706
29707 [BZ #12655]
29708 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
29709 Patch by Filipe David Manana <fdmanana@apache.org>.
29710
e451d22b
AS
297112011-04-07 Andreas Schwab <schwab@redhat.com>
29712
29713 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
29714 Maintain aligned stack.
29715 (CHECK_RSP): Remove unused macro.
29716
dedc7c7b
UD
297172011-04-03 Ulrich Drepper <drepper@gmail.com>
29718
29719 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
29720 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
29721
94521213
UD
297222011-04-02 Ulrich Drepper <drepper@gmail.com>
29723
29724 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
29725
8cb700c0 29726 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 29727
0354e355
L
297282011-03-26 H.J. Lu <hongjiu.lu@intel.com>
29729
29730 [BZ #12518]
29731 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
29732 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
29733 * sysdeps/x86_64/memmove.c: New file.
29734 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
29735 (memcpy): Renamed to ...
29736 (__new_memcpy): This.
29737 (memcpy): Provide GLIBC_2_14 memcpy.
29738 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
29739 (memcpy): Provide GLIBC_2_2_5 memcpy.
29740
8593482f
UD
297412011-04-01 Ulrich Drepper <drepper@gmail.com>
29742
29743 [BZ #12631]
29744 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
29745
81a5726b
AS
297462011-03-30 Andreas Schwab <schwab@redhat.com>
29747
29748 * misc/syncfs.c: New file.
29749 * misc/Makefile (routines): Add syncfs.
29750 * posix/unistd.h: Declare syncfs.
29751 * sysdeps/unix/syscalls.list: Add syncfs.
29752
00e5419f
AS
297532011-04-01 Andreas Schwab <schwab@redhat.com>
29754
29755 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
29756 open_by_handle_at.
29757 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
29758 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
29759 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29760 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
29761 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29762 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
29763 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
29764
748876bf
UD
297652011-04-01 Ulrich Drepper <drepper@gmail.com>
29766
658e451d
UD
29767 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
29768 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
29769 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
29770 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29771 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
29772 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29773 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
29774
748876bf
UD
29775 * io/Makefile: Compile fallocate.c, fallocate64.c, and
29776 sync_file_range.c with -fexceptions.
29777 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
29778 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
29779 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
29780 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
29781 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
29782 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
29783 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
29784 sync_file_range as cancellation point
29785 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
29786 now a wrapper around __call_sync_file_range with cancellation handling.
29787 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
29788 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
29789 function name to __call_sync_file_range.
29790 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
29791 Add call_sync_file_range.
748876bf 29792
6e63d5e1
AS
297932011-04-01 Andreas Schwab <schwab@redhat.com>
29794
29795 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 29796 bits/timex.h.
6e63d5e1 29797
46998f74
UD
297982011-04-01 Ulrich Drepper <drepper@gmail.com>
29799
4c1423ed
UD
29800 * iconv/iconv.h: Fix typo in comment.
29801 * io/fcntl.h: Likewise.
29802 * libio/stdio.h: Likewise.
29803 * posix/spawn.h: Likewise.
29804 * posix/unistd.h: Likewise.
29805 * stdlib/stdlib.h: Likewise.
29806 * time/time.h: Likewise.
29807 * wcsmbs/wchar.h: Likewise.
29808
158648c0
UD
29809 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
29810 open_by_handle): Add.
29811 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
29812 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
29813 Augment a few comments.
29814 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
29815 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29816 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
29817 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29818 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
29819 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
29820 open_by_handle.
29821
46998f74
UD
29822 * io/fcntl.h (AT_EMPTY_PATH): Define.
29823
83fe108b
UD
298242011-03-30 Ulrich Drepper <drepper@gmail.com>
29825
29826 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
29827 * sysdeps/unix/sysv/linux/bits/time.h: New file.
29828 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
29829 to...
29830 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
29831 * Versions.def: Add GLIBC_2.14.
29832 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
29833 Export.
83fe108b 29834
bb242059
UD
298352011-03-22 Ulrich Drepper <drepper@gmail.com>
29836
29837 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
29838 round counter.
29839 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
29840
c97a1282
L
298412011-03-20 H.J. Lu <hongjiu.lu@intel.com>
29842
29843 [BZ #12597]
29844 * string/test-strncmp.c (do_page_test): New function.
29845 (check2): Likewise.
29846 (test_main): Call check2.
29847 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
29848
2a115601
UD
298492011-03-20 Ulrich Drepper <drepper@gmail.com>
29850
29851 [BZ #12587]
29852 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
29853 Handle cache information in CPU leaf 4.
29854 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
29855
8126d904
UD
298562011-03-18 Ulrich Drepper <drepper@gmail.com>
29857
042c49c6 29858 [BZ #12583]
8126d904
UD
29859 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
29860 character representation.
29861 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
29862
ccfe366e
RA
298632011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
29864
29865 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
29866 END(__isnan) to END(__isnanf) to match function entry point/label
29867 EALIGN(__isnanf,...).
29868
c6e13027
JJ
298692011-03-10 Jakub Jelinek <jakub@redhat.com>
29870
29871 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
29872
33f85a3f
UD
298732011-03-10 Ulrich Drepper <drepper@gmail.com>
29874
028478fa
UD
29875 [BZ #12510]
29876 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
29877 copy from the symbol referenced in the relocation to initialize the
29878 used variable.
29879 Patch by Piotr Bury <pbury@goahead.com>.
29880 * elf/Makefile: Add rules to build and tst-unique3.
29881 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
29882 * elf/tst-unique3.cc: New file.
29883 * elf/tst-unique3.h: New file.
29884 * elf/tst-unique3lib.cc: New file.
29885 * elf/tst-unique3lib2.cc: New file.
29886
33f85a3f
UD
29887 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
29888
03592fc7
MF
298892011-03-10 Mike Frysinger <vapier@gentoo.org>
29890
29891 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
29892 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
29893 to _start.
03592fc7 29894
6a5ee102
UD
298952011-03-06 Ulrich Drepper <drepper@gmail.com>
29896
29897 * elf/dl-load.c (_dl_map_object): If we are looking for the first
29898 to-be-loaded object along a path to loader is ld.so.
29899
7e4ba49c
HJ
299002011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
29901 Ulrich Drepper <drepper@gmail.com>
29902
29903 * sysdeps/x86_64/memset.S: After aligning destination, code
29904 branches to different locations depending on the value of
29905 misalignment, when multiarch is enabled. Fix this.
29906
299072011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
29908
29909 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
29910 Set _x86_64_preferred_memory_instruction for AMD processsors.
29911 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29912 Set bit_Prefer_SSE_for_memop for AMD processors.
29913
13a804de
UD
299142011-03-04 Ulrich Drepper <drepper@gmail.com>
29915
29916 * libio/fmemopen.c (fmemopen): Optimize a bit.
29917
9d25c392
AS
299182011-03-03 Andreas Schwab <schwab@redhat.com>
29919
29920 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
29921
a5543c6a
RM
299222011-03-03 Roland McGrath <roland@redhat.com>
29923
29924 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
29925
012d35f7
DM
299262011-02-28 Aurelien Jarno <aurelien@aurel32.net>
29927
7e4ba49c 29928 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
29929 __bzero_ultra1 instead of __memset_ultra1.
29930
4bff6e01
AS
299312011-02-23 Andreas Schwab <schwab@redhat.com>
29932 Ulrich Drepper <drepper@gmail.com>
29933
29934 [BZ #12509]
29935 * include/link.h (struct link_map): Add l_orig_initfini.
29936 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
29937 returning unsuccessfully.
29938 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
29939 close of a file loaded at startup, restore the original l_initfini
29940 list.
29941 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
29942 list, store the pointer.
29943 * elf/Makefile ($(objpfx)noload-mem): New rule.
29944 (noload-ENV): Define.
29945 (tests): Add $(objpfx)noload-mem.
29946 * elf/noload.c: Include <memcheck.h>.
29947 (main): Call mtrace. Close all opened handles.
29948
f2092faf
AS
299492011-02-17 Andreas Schwab <schwab@redhat.com>
29950
29951 [BZ #12454]
29952 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
29953 dependencies are missing.
29954
6c8a2e88
ST
299552011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
29956
f2092faf 29957 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
29958 Hurd needs munmap.
29959 * sysdeps/mach/hurd/ifreq.h: New file.
29960
84a42118
PB
299612011-01-27 Petr Baudis <pasky@suse.cz>
29962 Ulrich Drepper <drepper@gmail.com>
29963
071f805e 29964 [BZ 12445]#
84a42118
PB
29965 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
29966 to extend_alloca().
29967 * stdio-common/bug23.c: New file.
29968 * stdio-common/Makefile (tests): Add bug23.
29969
e23fe25b
AS
299702010-09-28 Andreas Schwab <schwab@redhat.com>
29971 Ulrich Drepper <drepper@gmail.com>
29972
29973 [BZ #12489]
29974 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
29975 before performing relro protection. At old place add assertion
29976 to make sure nothing changed.
29977
d3f02e10
NS
299782011-02-17 Nathan Sidwell <nathan@codesourcery.com>
29979 Glauber de Oliveira Costa <glommer@gmail.com>
29980
29981 * elf/elf.h: Add new ARM TLS relocs.
29982
d55fd7a5
RA
299832011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
29984
29985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
29986 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
29987 cast from r3.
29988 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
29989 'tests' variable.
29990 * sysdeps/wordsize-64/tst-writev.c: New file.
29991
2206397e
RA
299922011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
29993
29994 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
29995 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
29996 insns in _dl_start to prevent a TOC reference before relocs are
29997 resolved.
29998
e9433893
UD
299992011-02-15 Ulrich Drepper <drepper@gmail.com>
30000
30001 [BZ #12469]
30002 * Makeconfig: Remove RANLIB definition.
30003 * Makerules: Don't use RANLIB.
30004 * aclocal.m4: Remove ranlib test.
30005 * configure.in: No need to check for ranlib.
30006 * elf/rtld-Rules: Don't use RANLIB.
30007
f75286c6
ST
300082011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
30009
8e31c82d
ST
30010 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
30011 protection macro.
30012 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
30013 inclusion protection macro.
30014
f75286c6
ST
30015 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
30016 SIGRTMIN and SIGRTMAX and print information in that case only when
30017 SIGRTMIN is defined.
30018
c1d0e639
JJ
300192011-02-11 Jakub Jelinek <jakub@redhat.com>
30020
30021 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
30022 arginfo fn returning -1.
30023
30024 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
30025 and thousands string is zero terminated.
30026
edf9294e
AS
300272011-02-03 Andreas Schwab <schwab@redhat.com>
30028
30029 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
30030 sysdeps/unix/sysv/linux/bits/socket.h.
30031
2b7e92df
ST
300322011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
30033
edf9294e
AS
30034 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
30035 (__CPU_COUNT): Remove old macros.
30036 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
30037 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
30038 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
30039 (__sched_cpualloc, __sched_cpufree): Add declarations.
30040
a4c7ea7b
UD
300412011-02-05 Ulrich Drepper <drepper@gmail.com>
30042
30043 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
30044 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
30045 * nscd/aicache.c (addhstaiX): Return timeout of added value.
30046 (readdhstai): Return value of addhstaiX call.
30047 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
30048 (addgrbyX): Return value returned by cache_addgr.
30049 (readdgrbyname): Return value returned by addgrbyX.
30050 (readdgrbygid): Likewise.
30051 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
30052 (addpwbyX): Return value returned by cache_addpw.
30053 (readdpwbyname): Return value returned by addhstbyX.
30054 (readdpwbyuid): Likewise.
30055 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
30056 (addservbyX): Return value returned by cache_addserv.
30057 (readdservbyname): Return value returned by addservbyX:
30058 (readdservbyport): Likewise.
30059 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
30060 (addhstbyX): Return value returned by cache_addhst.
30061 (readdhstbyname): Return value returned by addhstbyX.
30062 (readdhstbyaddr): Likewise.
30063 (readdhstbynamev6): Likewise.
30064 (readdhstbyaddrv6): Likewise.
30065 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
30066 (readdinitgroups): Return value returned by addinitgroupsX.
30067 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
30068 (prune_cache): Keep track of timeout value of re-added entries.
30069 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
30070 * nscd/nscd.h: Adjust prototypes of readd* functions.
30071
a0bf67cc
RM
300722011-02-04 Roland McGrath <roland@redhat.com>
30073
30074 * nis/nis_server.c (nis_servstate): Use the right name for 0.
30075 (nis_stats): Likewise.
30076 * nis/nis_modify.c (nis_modify): Likewise.
30077 * nis/nis_remove.c (nis_remove): Likewise.
30078 * nis/nis_add.c (nis_add): Likewise.
30079
30080 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
30081
30082 * posix/fnmatch_loop.c: Add some consts.
30083
30084 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
30085
435b95eb
L
300862011-02-02 H.J. Lu <hongjiu.lu@intel.com>
30087
30088 [BZ #12460]
30089 * config.make.in (config-cflags-novzeroupper): Define.
30090 * configure.in: Substitute libc_cv_cc_novzeroupper.
30091 * elf/Makefile (AVX-CFLAGS): Define.
30092 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
30093 (CFLAGS-tst-auditmod4a.c): Likewise.
30094 (CFLAGS-tst-auditmod4b.c): Likewise.
30095 (CFLAGS-tst-auditmod6b.c): Likewise.
30096 (CFLAGS-tst-auditmod6c.c): Likewise.
30097 (CFLAGS-tst-auditmod7b.c): Likewise.
30098 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
30099
8517b15e
UD
301002011-02-02 Ulrich Drepper <drepper@gmail.com>
30101
30102 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
30103 function to the callback.
30104 Patch partly by Jiri Olsa <jolsa@redhat.com>.
30105
10a656fe
AS
301062011-02-02 Andreas Schwab <schwab@redhat.com>
30107
30108 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
30109 of errno.
30110
968dad0a
UD
301112011-01-19 Ulrich Drepper <drepper@gmail.com>
30112
9f94d2ea 30113 [BZ #11724]
968dad0a
UD
30114 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
30115 of constructors.
30116 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
30117 of destructors.
30118 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
30119
30120 [BZ #11724]
30121 * elf/Makefile: Add rules to build and run new test.
30122 * elf/tst-initorder.c: New file.
30123 * elf/tst-initorder.exp: New file.
30124 * elf/tst-initordera1.c: New file.
30125 * elf/tst-initordera2.c: New file.
30126 * elf/tst-initordera3.c: New file.
30127 * elf/tst-initordera4.c: New file.
30128 * elf/tst-initorderb1.c: New file.
30129 * elf/tst-initorderb2.c: New file.
30130 * elf/tst-order-a1.c: New file.
30131 * elf/tst-order-a2.c: New file.
30132 * elf/tst-order-a3.c: New file.
30133 * elf/tst-order-a4.c: New file.
30134 * elf/tst-order-b1.c: New file.
30135 * elf/tst-order-b2.c: New file.
30136 * elf/tst-order-main.c: New file.
30137 New test case by George Gensure <werkt0@gmail.com>.
30138
86e92359
UD
301392010-10-01 Andreas Schwab <schwab@redhat.com>
30140
30141 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
30142 decoding ACE if AI_CANONIDN.
30143
5d5732b0
UD
301442011-01-18 Ulrich Drepper <drepper@gmail.com>
30145
30146 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
30147
a77e8cbc
UD
301482011-01-17 Ulrich Drepper <drepper@gmail.com>
30149
6392473f
UD
30150 * version.h (RELEASE): Bump for 2.13 release.
30151 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
30152
620a0529
UD
30153 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
30154
18ba70a5
UD
30155 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
30156 MADV_NOHUGEPAGE.
32465c3e
UD
30157 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
30158 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
30159 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
30160 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
30161 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
30162 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
30163
c0dafcf1
UD
30164 * posix/getconf.c: Update copyright year.
30165 * catgets/gencat.c: Likewise.
30166 * csu/version.c: Likewise.
30167 * debug/catchsegv.sh: Likewise.
30168 * debug/xtrace.sh: Likewise.
30169 * elf/ldconfig.c: Likewise.
30170 * elf/ldd.bash.in: Likewise.
30171 * elf/sprof.c (print_version): Likewise.
30172 * iconv/iconv_prog.c: Likewise.
30173 * iconv/iconvconfig.c: Likewise.
30174 * locale/programs/locale.c: Likewise.
30175 * locale/programs/localedef.c: Likewise.
30176 * malloc/memusage.sh: Likewise.
30177 * malloc/mtrace.pl: Likewise.
30178 * nscd/nscd.c (print_version): Likewise.
30179 * nss/getent.c: Likewise.
30180
a77e8cbc
UD
30181 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
30182 PF_CAIF, and PF_ALG.
30183 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30184
77e8bddf
AS
301852011-01-16 Andreas Schwab <schwab@linux-m68k.org>
30186
1f20b93a
AS
30187 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
30188 (modules-names): Use them.
30189 (ifunc-test-modules, ifunc-pie-tests): Define.
30190 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
30191 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
30192 (test-extras): Likewise.
30193 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
30194 $(compile-command.c).
30195 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
30196 (all-built-dso): Define.
30197 (check-textrel.out, check-execstack.out): Depend on it.
30198
77e8bddf
AS
30199 * configure.in: Don't override --enable-multi-arch.
30200
bc425b33
UD
302012011-01-15 Ulrich Drepper <drepper@gmail.com>
30202
30203 [BZ #6812]
30204 * nscd/hstcache.c (tryagain): Define.
30205 (cache_addhst): Return tryagain not notfound for temporary errors.
30206 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
30207 failed.
30208
794c3ad3
UD
302092011-01-14 Ulrich Drepper <drepper@gmail.com>
30210
70181fdd
UD
30211 [BZ #10563]
30212 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
30213 to make the syscall.
30214 * sysdeps/unix/sysv/linux/setgroups.c: New file.
30215
794c3ad3
UD
30216 [BZ #12378]
30217 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
30218 and fall back to matching as normal character if the string ends before
30219 the matching ']' is found. This is what POSIX requires.
30220 * posix/testfnm.c: Adjust test result.
30221 * posix/globtest.sh: Adjust test result. Add new test.
30222 * posix/tst-fnmatch.input: Likewise.
30223 * posix/tst-fnmatch2.c: Add new test.
30224
68dc9497
AS
302252010-12-28 Andreas Schwab <schwab@linux-m68k.org>
30226
30227 * elf/Makefile (check-execstack): Revert last change. Depend on
30228 check-execstack.h.
30229 (check-execstack.h): New target.
30230 (generated): Add check-execstack.h.
30231 * elf/check-execstack.c: Include "check-execstack.h".
30232 (main): Revert last change.
30233 (handle_file): Return zero if GNU_STACK is absent and
30234 DEFAULT_STACK_PERMS doesn't include PF_X.
30235
451f001b
UD
302362011-01-13 Ulrich Drepper <drepper@gmail.com>
30237
cfa28e56
UD
30238 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
30239 in child fails because the descriptor is already closed.
8cf8ce17
UD
30240 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
30241 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
30242 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 30243
1086d70d
UD
30244 [BZ #12397]
30245 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
30246 syscall.
30247
451f001b
UD
30248 [BZ #10484]
30249 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
30250 temporary buffer used to handle multi lookups locally.
a85b5cb4 30251 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 30252
08769175
UD
302532011-01-12 Ulrich Drepper <drepper@gmail.com>
30254
30255 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
30256 loader is ld.so.
30257
5e49c52e
UD
302582011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
30259
30260 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
30261 alignment for SSE2.
30262
60522a5f
UD
302632011-01-12 Ulrich Drepper <drepper@gmail.com>
30264
30265 [BZ #12394]
30266 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
30267 characters. When rounding increased number of integer digits recompute
30268 number of groups.
30269 * stdio-common/tst-grouping.c: New file.
30270 * stdio-common/Makefile: Add rules to build and run tst-grouping.
30271
f257bbd7
UD
302722011-01-09 Ulrich Drepper <drepper@gmail.com>
30273
30274 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
30275 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
30276
30277 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
30278 void.
30279 * bits/select.h: Likewise.
30280
fa9c15cb
UD
302812011-01-08 Ulrich Drepper <drepper@gmail.com>
30282
30283 * po/ja.po: Update from translation team.
30284
16c2895f
DM
302852011-01-04 David S. Miller <davem@sunset.davemloft.net>
30286
30287 [BZ #11155]
30288 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
30289 implementation just like for lxstat, fxstatat, et al.
30290
2543fef2
JM
302912010-12-27 Jim Meyering <meyering@redhat.com>
30292
30293 [BZ #12348]
30294 * posix/regexec.c (build_trtable): Return failure indication upon
30295 calloc failure. Otherwise, re_search_internal could infloop on OOM.
30296
98727dbe
UD
302972010-12-25 Ulrich Drepper <drepper@gmail.com>
30298
5bd6dc5c
UD
30299 [BZ #12201]
30300 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
30301 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
30302 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
30303 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
30304
97983464
UD
30305 [BZ #12207]
30306 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
30307
98727dbe
UD
30308 [BZ #12204]
30309 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
30310 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
30311
4a531bb0
L
303122010-12-15 H.J. Lu <hongjiu.lu@intel.com>
30313
30314 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
30315 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
30316 script has SORT_BY_INIT_PRIORITY.
30317 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
30318 NO_CTORS_DTORS_SECTIONS is defined.
30319 * elf/soinit.c: Likewise.
30320 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
30321 NO_CTORS_DTORS_SECTIONS is defined.
30322 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
30323 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
30324 * sysdeps/sh/init-first.c: Likewise.
30325 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
30326
07eb4b71
UD
303272010-12-24 Ulrich Drepper <drepper@gmail.com>
30328
30329 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
30330 always use the slow path.
30331
30950a5f
RA
303322010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
30333
30334 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
30335 similar rule which adds the sysdep directories to the header search in
30336 order to pick up the correct platform stackinfo.h.
30337 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
30338 perform test if it is, otherwise return successfully without testing.
30339 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
30340 DEFAULT_STACK_PERMS define in stackinfo.h.
30341 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
30342 defined in stackinfo.h.
30343 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
30344 DEFAULT_STACK_PERMS defined in stackinfo.h.
30345 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
30346 * sysdeps/ia64/stackinfo.h: Likewise.
30347 * sysdeps/s390/stackinfo.h: Likewise.
30348 * sysdeps/sh/stackinfo.h: Likewise.
30349 * sysdeps/sparc/stackinfo.h: Likewise.
30350 * sysdeps/x86_64/stackinfo.h: Likewise.
30351 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
30352 PF_X for powerpc64. Retain PF_X for powerpc32.
30353
db753e2c
UD
303542010-12-19 Ulrich Drepper <drepper@gmail.com>
30355
14b697f7
UD
30356 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
30357 accurately.
db753e2c
UD
30358 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
30359 GETDENTS_64BIT_ALIGNED.
30360
28300719
UD
303612010-12-14 Ulrich Drepper <dreper@gmail.com>
30362
14b697f7 30363 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 30364
4f197237
AS
303652010-12-10 Andreas Schwab <schwab@redhat.com>
30366
dbb0472f
AS
30367 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
30368 _GNU_SOURCE.
30369
4f197237
AS
30370 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
30371 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
30372 Remove __restrict.
30373 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
30374 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
30375
fb88ac72
UD
303762010-12-09 Ulrich Drepper <drepper@gmail.com>
30377
30378 [BZ #11655]
30379 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
30380 are initialized.
30381
42acbb92
JJ
303822010-12-09 Jakub Jelinek <jakub@redhat.com>
30383
30384 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
30385
c038d98d
UD
303862010-12-03 Ulrich Drepper <drepper@gmail.com>
30387
30388 * po/it.po: Update from translation team.
30389
3a4a2499
L
303902010-12-01 H.J. Lu <hongjiu.lu@intel.com>
30391
30392 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
30393 unused codes.
30394
1e24cf6e
UD
303952010-11-30 Ulrich Drepper <drepper@gmail.com>
30396
30397 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
30398
a7690819
AS
303992010-11-24 Andreas Schwab <schwab@redhat.com>
30400
30401 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
30402 specially.
30403 (gaih_getanswer_slice): Likewise.
30404
3bf8d1b1
JJ
304052010-10-20 Jakub Jelinek <jakub@redhat.com>
30406
30407 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
30408
6db52fbb
PB
304092010-05-31 Petr Baudis <pasky@suse.cz>
30410
30411 [BZ #11149]
30412 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
30413 silently even in the chroot mode.
30414
eaca7569
UD
304152010-11-22 Ulrich Drepper <drepper@gmail.com>
30416
30417 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
30418 last patch a bit. Pretty printing
30419
3056dcdb
UD
304202010-05-31 Petr Baudis <pasky@suse.cz>
30421
30422 [BZ #10085]
30423 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
30424 initialization of skip_initgroups_dyn.
30425
cf7c9078
UD
304262010-11-19 Ulrich Drepper <drepper@gmail.com>
30427
30428 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
30429 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
30430
a1fb5e3e
UD
304312010-11-16 Ulrich Drepper <drepper@gmail.com>
30432
30433 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
30434
3540d66b
AS
304352010-11-11 Andreas Schwab <schwab@redhat.com>
30436
30437 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
30438 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
30439 (tst-fnmatch-ENV): Set MALLOC_TRACE.
30440 ($(objpfx)tst-fnmatch-mem): New rule.
30441 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
30442 * posix/tst-fnmatch.c (main): Call mtrace.
30443
13b69574
L
304442010-11-11 H.J. Lu <hongjiu.lu@intel.com>
30445
30446 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30447 Support Intel processor model 6 and model 0x2c.
30448
da93d214
LM
304492010-11-10 Luis Machado <luisgpm@br.ibm.com>
30450
30451 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
30452 signed comparison.
30453
8ca52c6e
L
304542010-11-09 H.J. Lu <hongjiu.lu@intel.com>
30455
30456 [BZ #12205]
30457 * string/test-strncasecmp.c (check_result): New function.
30458 (do_one_test): Use it.
30459 (check1): New function.
30460 (test_main): Use it.
30461 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
30462 Support strcasecmp and strncasecmp.
30463
69da074d
UD
304642010-11-08 Ulrich Drepper <drepper@gmail.com>
30465
30466 [BZ #12194]
30467 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
30468 * sysdeps/x86_64/bits/byteswap.h: Likewise.
30469
ff02d528
L
304702010-11-07 H.J. Lu <hongjiu.lu@intel.com>
30471
30472 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
30473 IFUNC support.
30474 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30475 memset-x86-64.
30476 * sysdeps/x86_64/multiarch/bzero.S: New file.
30477 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
30478 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
30479 * sysdeps/x86_64/multiarch/memset.S: New file.
30480 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
30481 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30482 Set bit_Prefer_SSE_for_memop for Intel processors.
30483 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
30484 Define.
30485 (index_Prefer_SSE_for_memop): Define.
30486 (HAS_PREFER_SSE_FOR_MEMOP): Define.
30487
344d0b54
LM
304882010-11-04 Luis Machado <luisgpm@br.ibm.com>
30489
30490 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
30491 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
30492
c0dde15b
UD
304932010-11-03 H.J. Lu <hongjiu.lu@intel.com>
30494
30495 [BZ #12191]
30496 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
30497 (__x86_64_raw_data_cache_size_half): Likewise.
30498 (__x86_64_raw_shared_cache_size): Likewise.
30499 (__x86_64_raw_shared_cache_size_half): Likewise.
30500
30501 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
30502 (__x86_64_raw_data_cache_size_half): Likewise.
30503 (__x86_64_raw_shared_cache_size): Likewise.
30504 (__x86_64_raw_shared_cache_size_half): Likewise.
30505 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
30506 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
30507 and __x86_64_raw_shared_cache_size_half. Round
30508 __x86_64_data_cache_size_half, __x86_64_data_cache_size
30509 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
30510 to multiple of 256 bytes.
30511
0e516e0e
MS
305122010-11-03 Ulrich Drepper <drepper@gmail.com>
30513
30514 [BZ #12167]
30515 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
30516 of inacessible symlinks. Verify result of symlink before returning it.
30517 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
30518 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
30519
0e012e87
ER
305202010-10-28 Erich Ritz <erichritz@gmail.com>
30521
30522 * math/math.h (isinf): Fix typo in comment.
30523
de0ff7bc
UD
305242010-11-01 Ulrich Drepper <drepper@gmail.com>
30525
30526 * po/da.po: Update from translation team.
30527
fa41c84d
UD
305282010-10-26 Ulrich Drepper <drepper@gmail.com>
30529
30530 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
30531 is added to the list.
30532
f0967738
AK
305332010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30534 Ulrich Drepper <drepper@gmail.com>
30535
30536 * elf/dl-object.c (_dl_new_object): Don't append the new object to
30537 the global list here. Move code to...
30538 (_dl_add_to_namespace_list): ...here. New function.
30539 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
30540 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
30541 * elf/dl-load.c (lose): Don't remove the element from the list.
30542 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
30543 (_dl_map_object): Likewise.
30544
305452010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
30546
30547 [BZ #12159]
30548 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
30549 into all bytes of SSE register.
30550 Patch by Richard Li <richardpku@gmail.com>.
30551
f0967738 305522010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
30553
30554 [BZ #12140]
30555 * malloc/malloc.c (_int_free): Fill correct number of bytes when
30556 perturbing.
30557
d0b9e94f
MB
305582010-10-20 Michael B. Brutman <brutman@us.ibm.com>
30559
30560 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
30561 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
30562 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
30563 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
30564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
30565 submachine.
30566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
30567
8e9f92e9
AS
305682010-10-22 Andreas Schwab <schwab@redhat.com>
30569
30570 * include/dlfcn.h (__RTLD_SECURE): Define.
30571 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
30572 mode & __RTLD_SECURE instead.
30573 (open_path): Rename preloaded parameter to secure.
30574 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
30575 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
30576 * elf/dl-deps.c (openaux): Likewise.
30577 * elf/rtld.c (struct map_args): Remove is_preloaded.
30578 (map_doit): Don't use it.
30579 (dl_main): Likewise.
30580 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
30581 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
30582
bc96fbda
AS
305832010-09-09 Andreas Schwab <schwab@redhat.com>
30584
30585 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
30586 (sysd-rules-targets): Remove duplicates.
30587 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
30588 rtld-%.$o dependency.
30589
22cd1c9b
AS
305902010-10-18 Andreas Schwab <schwab@redhat.com>
30591
30592 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
30593 _dl_map_object do it.
30594
18edac48
UD
305952010-10-19 Ulrich Drepper <drepper@gmail.com>
30596
30597 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
30598 fast fma builtins, define the macros in the C99 standard.
30599 (FP_FAST_FMAF): Likewise.
30600 (FP_FAST_FMAL): Likewise.
30601 * sysdeps/x86_64/bits/mathdef.h: Likewise.
30602
30603 * bits/mathdef.h: Update copyright year.
30604 * sysdeps/powerpc/bits/mathdef.h: Likewise.
30605
d2050124
MM
306062010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
30607
30608 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
30609 builtins, define the macros in the C99 standard.
30610 (FP_FAST_FMAF): Likewise.
30611 (FP_FAST_FMAL): Likewise.
30612 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
30613 multiply/add.
30614 (FP_FAST_FMAF): Likewise.
30615
475facd1
JJ
306162010-10-15 Jakub Jelinek <jakub@redhat.com>
30617
30618 [BZ #3268]
30619 * math/libm-test.inc (fma_test): Some new testcases.
30620 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
30621 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
30622 y and infinite z. Do multiplication by C already in long double.
30623 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
30624 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
30625 y and infinite z. Do bitwise or of inexact bit into u.d.
30626 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
30627 * sysdeps/i386/fpu/s_fmaf.S: Removed.
30628 * sysdeps/i386/fpu/s_fma.S: Removed.
30629 * sysdeps/i386/fpu/s_fmal.S: Removed.
30630
7c08a05c
JJ
306312010-10-16 Jakub Jelinek <jakub@redhat.com>
30632
30633 [BZ #3268]
30634 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
30635 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
30636 computation is not scheduled after fetestexcept. Fix value
30637 of minimum denormal long double.
30638
f3f7372d
JJ
306392010-10-14 Jakub Jelinek <jakub@redhat.com>
30640
30641 [BZ #3268]
30642 * math/libm-test.inc (fma_test): Add some more tests.
30643 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
30644 correctly.
30645
14d43591
AS
306462010-10-15 Andreas Schwab <schwab@redhat.com>
30647
30648 * scripts/data/localplt-s390-linux-gnu.data: New file.
30649 * scripts/data/localplt-s390x-linux-gnu.data: New file.
30650
5e908464
JJ
306512010-10-13 Jakub Jelinek <jakub@redhat.com>
30652
30653 [BZ #3268]
30654 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
30655 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
30656 instead of dbl-64.
30657 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
30658 inlines.
30659 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
30660 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
30661 if one of x and y is very large and the other is subnormal.
30662 * sysdeps/s390/fpu/s_fmaf.c: New file.
30663 * sysdeps/s390/fpu/s_fma.c: New file.
30664 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
30665 * sysdeps/powerpc/fpu/s_fma.S: New file.
30666 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
30667 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
30668 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
30669
306702010-10-12 Jakub Jelinek <jakub@redhat.com>
30671
30672 [BZ #3268]
30673 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
30674 fma tests.
30675 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
30676 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
30677 * sysdeps/i386/i686/multiarch/s_fma.c: Include
30678 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
30679 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
30680 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
30681 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
30682
b833d51f
UD
306832010-10-12 Ulrich Drepper <drepper@redhat.com>
30684
30685 [BZ #12078]
30686 * posix/regcomp.c (parse_branch): One more memory leak plugged.
30687 * posix/bug-regex31.input: Add test case.
30688
1751705d
UD
306892010-10-11 Ulrich Drepper <drepper@gmail.com>
30690
e9b9cbf5
UD
30691 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
30692 * posix/bug-regex31.input: New file.
30693
30694 [BZ #12078]
30695 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
30696 (parse_sub_exp): Fix last change, use postorder.
30697
ef06edbe
UD
30698 * posix/bug-regex31.c: New file.
30699 * posix/Makefile: Add rules to build and run bug-regex31.
30700
a129c80d
UD
30701 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
30702
30703 [BZ #12078]
30704 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
30705
b76b818e
UD
30706 [BZ #12108]
30707 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
30708 to have entries in sys_siglist.
30709
1751705d
UD
30710 [BZ #12093]
30711 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
30712 be NULL.
30713
9ff8d36f
JJ
307142010-10-07 Jakub Jelinek <jakub@redhat.com>
30715
30716 [BZ #3268]
30717 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
30718 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
30719 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
30720 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
30721 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
30722 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
30723 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
30724 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
30725 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
30726 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
30727 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
30728 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
30729 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
30730 * math/ftestexcept.c (fetestexcept): Likewise.
30731 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
30732 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
30733 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
30734 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
30735 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
30736 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
30737 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30738
af325969
UD
307392010-10-11 Ulrich Drepper <drepper@gmail.com>
30740
c579b202 30741 [BZ #12107]
af325969
UD
30742 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
30743 newline.
30744
67a67b95
UD
307452010-10-06 Ulrich Drepper <drepper@gmail.com>
30746
30747 * string/bug-strstr1.c: New file.
30748 * string/Makefile: Add rules to build and run bug-strstr1.
30749
5fb308bc
EB
307502010-10-05 Eric Blake <eblake@redhat.com>
30751
30752 [BZ #12092]
30753 * string/str-two-way.h (two_way_long_needle): Always clear memory
30754 when skipping input due to the shift table.
30755
45db99c7
UD
307562010-10-03 Ulrich Drepper <drepper@gmail.com>
30757
3b111893
UD
30758 [BZ #12005]
30759 * malloc/mcheck.c: Handle large requests.
30760
45db99c7
UD
30761 [BZ #12077]
30762 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
30763 for strncmp and strncasecmp.
30764 * string/stratcliff.c: Add tests for strcmp and strncmp.
30765 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
30766
cf7a1eb8
NI
307672010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
30768
30769 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
30770 __set_fpscr.
30771
6484ba5e
AJ
307722010-09-30 Andreas Jaeger <aj@suse.de>
30773
30774 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
30775 (CGROUP_SUPER_MAGIC): Define.
30776 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30777 Handle btrfs and cgroup file systems.
30778 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
30779 Likewise.
30780
91c42559
LM
307812010-09-27 Luis Machado <luisgpm@br.ibm.com>
30782
30783 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
30784 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
30785
87a97932
AK
307862010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30787
30788 [BZ #12067]
30789 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
30790 trying to locate the ELF header.
30791
c21cc9bc
AS
307922010-09-27 Andreas Schwab <schwab@redhat.com>
30793
30794 [BZ #11611]
30795 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
30796 Mask out sign-bit copies when constructing f_fsid.
30797
315970f6
PB
307982010-09-24 Petr Baudis <pasky@suse.cz>
30799
30800 * debug/stack_chk_fail_local.c: Add missing licence exception.
30801 * debug/warning-nop.c: Likewise.
30802
1ac7a2c7
JM
308032010-09-15 Joseph Myers <joseph@codesourcery.com>
30804
30805 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
30806 implementing getdents64 using getdents syscall, set d_type if
30807 __ASSUME_GETDENTS32_D_TYPE.
30808
56801c50
AS
308092010-09-16 Andreas Schwab <schwab@redhat.com>
30810
30811 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
30812 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
30813
dda51327
UD
308142010-09-21 Ulrich Drepper <drepper@redhat.com>
30815
30816 [BZ #12037]
30817 * posix/unistd.h: Undo change of feature selection for ftruncate from
30818 2010-01-11.
30819
8ffcee4a
UD
308202010-09-20 Ulrich Drepper <drepper@redhat.com>
30821
a545ecd9 30822 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
30823 detection.
30824
e24f0a8b
AS
308252010-09-20 Andreas Schwab <schwab@redhat.com>
30826
30827 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
30828 fanotify_mark.
30829 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
30830
7291c56f
AS
308312010-09-14 Andreas Schwab <schwab@redhat.com>
30832
30833 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
30834 variables after CHECK_SP call.
30835 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
30836
bc5fb037
AS
308372010-09-13 Andreas Schwab <schwab@redhat.com>
30838 Ulrich Drepper <drepper@redhat.com>
30839
30840 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
30841 re-relocationg ld.so.
30842 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
30843 _dl_init_paths call.
30844 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
30845 here anymore.
30846
e66e7419
UD
308472010-09-14 Ulrich Drepper <drepper@redhat.com>
30848
30849 * resolv/res_init.c (__res_vinit): Count the default server we added.
30850
c044aa75
CLT
308512010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
30852 Ulrich Drepper <drepper@redhat.com>
30853
30854 [BZ #11968]
30855 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
30856 (____longjmp_chk): Use %ebx for saving value across system call.
30857 Add unwind info.
30858
32cf4069
AS
308592010-09-06 Andreas Schwab <schwab@redhat.com>
30860
30861 * manual/Makefile: Don't mix pattern rules with normal rules.
30862
817328ee
AS
308632010-09-05 Andreas Schwab <schwab@linux-m68k.org>
30864
30865 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
30866 operation.
30867 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
30868 * libio/iofopncook.c (_IO_cookie_init): Likewise.
30869 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
30870 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
30871 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30872 Likewise.
30873
29fddf61
UD
308742010-09-04 Ulrich Drepper <drepper@redhat.com>
30875
30876 [BZ #11979]
30877 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
30878 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
30879
0959ffc9
UD
308802010-09-02 Ulrich Drepper <drepper@redhat.com>
30881
30882 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
30883 * sysdeps/x86_64/addmul_1.S: Likewise.
30884 * sysdeps/x86_64/lshift.S: Likewise.
30885 * sysdeps/x86_64/mul_1.S: Likewise.
30886 * sysdeps/x86_64/rshift.S: Likewise.
30887 * sysdeps/x86_64/sub_n.S: Likewise.
30888 * sysdeps/x86_64/submul_1.S: Likewise.
30889
ece29840
ST
308902010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
30891
0959ffc9
UD
30892 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
30893 Define __sched_param instead of SCHED_* and sched_param when
ece29840 30894 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 30895 * bits/sched.h [__need_schedparam]
ece29840 30896 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
30897 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
30898 (__defined_schedparam): Define to 1.
ece29840
ST
30899 (__sched_param): New structure, identical to sched_param.
30900 (__need_schedparam): Undefine.
30901
e53a31fe
MF
309022010-08-31 Mike Frysinger <vapier@gentoo.org>
30903
fdc0c10d
MF
30904 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
30905 (epoll_create1): Declare.
30906
e53a31fe
MF
30907 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
30908
a726d796
AS
309092010-08-31 Andreas Schwab <schwab@redhat.com>
30910
30911 [BZ #7066]
30912 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
30913 shifting retval into place.
30914
2f3e3dc7
UD
309152010-09-01 Ulrich Drepper <drepper@redhat.com>
30916
f2933da9
UD
30917 * nis/rpcsvc/nis.h: Update copyright notice.
30918 * nis/rpcsvc/nis.x: Likewise.
30919 * nis/rpcsvc/nis_callback.h: Likewise.
30920 * nis/rpcsvc/nis_callback.x: Likewise.
30921 * nis/rpcsvc/nis_object.x: Likewise.
30922 * nis/rpcsvc/nis_tags.h: Likewise.
30923 * nis/rpcsvc/yp.h: Likewise.
30924 * nis/rpcsvc/yp.x: Likewise.
30925 * nis/rpcsvc/ypupd.h: Likewise.
30926 * nis/yp_xdr.c: Likewise.
30927 * nis/ypupdate_xdr.c: Likewise.
30928
2f3e3dc7
UD
30929 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
30930 mainly the body of pmap_getport. Add parameters to specify timeouts.
30931 (pmap_getport): Use __libc_rpc_getport.
30932 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
30933 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
30934 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
30935
f3dcc2f9
AS
309362010-08-31 Andreas Schwab <schwab@linux-m68k.org>
30937
30938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
30939 fanotify_mark.
30940
6d34eb5b
RM
309412010-08-27 Roland McGrath <roland@redhat.com>
30942
30943 * sysdeps/i386/i686/multiarch/Makefile
30944 (CFLAGS-varshift.c): New variable.
30945
9ea3de11
UD
309462010-08-27 Ulrich Drepper <drepper@redhat.com>
30947
c96d23fc
UD
30948 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
30949 * sysdeps/i386/i686/multiarch/varshift.c: New file.
30950
9ea3de11
UD
30951 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
30952
30953 * sysdeps/x86_64/strlen.S: Minimal code improvement.
30954
623aac7f
L
309552010-08-26 H.J. Lu <hongjiu.lu@intel.com>
30956
30957 * sysdeps/x86_64/strlen.S: Unroll the loop.
30958 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30959 strlen-sse2 strlen-sse2-bsf.
30960 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
30961 __strlen_no_bsf if bit_Slow_BSF is set.
30962 (__strlen_sse42): Removed.
30963 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
30964 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
30965
8b2b7715
RM
309662010-08-25 Roland McGrath <roland@redhat.com>
30967
30968 * sysdeps/x86_64/multiarch/varshift.S: File removed.
30969 * sysdeps/x86_64/multiarch/varshift.c: New file.
30970 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
30971 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
30972 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
30973 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
30974
e73015f2
L
309752010-08-25 H.J. Lu <hongjiu.lu@intel.com>
30976
30977 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30978 strlen-sse2 strlen-sse2-bsf.
30979 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
30980 __strlen_sse2_bsf if bit_Slow_BSF is unset.
30981 (__strlen_sse2): Removed.
30982 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
30983 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
30984 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
30985 bit_Slow_BSF for Atom.
30986 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
30987 (index_Slow_BSF): Define.
30988 (HAS_SLOW_BSF): Define.
30989
df24a73e
UD
309902010-08-25 Ulrich Drepper <drepper@redhat.com>
30991
30992 [BZ #10851]
30993 * resolv/res_init.c (__res_vinit): When no server address at all
30994 is given default to loopback.
30995
f2ac4868
RM
309962010-08-24 Roland McGrath <roland@redhat.com>
30997
09055553
RM
30998 * configure.in: Remove config-name.h generation.
30999 * configure: Regenerated.
31000 * config-name.in: File removed.
31001 * scripts/config-uname.sh: New file.
31002 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
31003 ($(objdir)config-name.h): New target.
31004
f2ac4868
RM
31005 * sunrpc/rpc_parse.h: Avoid nested comment.
31006
73f27d5e
RH
310072010-08-24 Richard Henderson <rth@redhat.com>
31008 Ulrich Drepper <drepper@redhat.com>
31009 H.J. Lu <hongjiu.lu@intel.com>
31010
31011 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
31012 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
31013 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
31014 Replace _mm_srli_si128 with __m128i_shift_right. Replace
31015 _mm_alignr_epi8 with _mm_loadu_si128.
31016 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
31017 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
31018 (__m128i_shift_right): Removed.
31019 * sysdeps/i386/i686/multiarch/varshift.h: New file.
31020 * sysdeps/i386/i686/multiarch/varshift.S: New file.
31021 * sysdeps/x86_64/multiarch/varshift.h: New file.
31022 * sysdeps/x86_64/multiarch/varshift.S: New file.
31023
84b9230c
MF
310242010-08-21 Mike Frysinger <vapier@gentoo.org>
31025
31026 * configure.in: Move assembler checks to before sysdep dir checking.
31027
9bbd0ddc
PB
310282010-08-20 Petr Baudis <pasky@suse.cz>
31029
31030 * LICENSES: Sync the sunrpc license.
31031
9da4bb31
UD
310322010-08-19 Ulrich Drepper <drepper@redhat.com>
31033
a7ab6ec8
UD
31034 * sunrpc/auth_des.c: Update copyright notice once again.
31035 * sunrpc/auth_none.c: Likewise.
31036 * sunrpc/auth_unix.c: Likewise.
31037 * sunrpc/authdes_prot.c: Likewise.
31038 * sunrpc/authuxprot.c: Likewise.
31039 * sunrpc/bindrsvprt.c: Likewise.
31040 * sunrpc/clnt_gen.c: Likewise.
31041 * sunrpc/clnt_perr.c: Likewise.
31042 * sunrpc/clnt_raw.c: Likewise.
31043 * sunrpc/clnt_simp.c: Likewise.
31044 * sunrpc/clnt_tcp.c: Likewise.
31045 * sunrpc/clnt_udp.c: Likewise.
31046 * sunrpc/clnt_unix.c: Likewise.
31047 * sunrpc/des_crypt.c: Likewise.
31048 * sunrpc/des_soft.c: Likewise.
31049 * sunrpc/get_myaddr.c: Likewise.
31050 * sunrpc/getrpcport.c: Likewise.
31051 * sunrpc/key_call.c: Likewise.
31052 * sunrpc/key_prot.c: Likewise.
31053 * sunrpc/openchild.c: Likewise.
31054 * sunrpc/pm_getmaps.c: Likewise.
31055 * sunrpc/pm_getport.c: Likewise.
31056 * sunrpc/pmap_clnt.c: Likewise.
31057 * sunrpc/pmap_prot.c: Likewise.
31058 * sunrpc/pmap_prot2.c: Likewise.
31059 * sunrpc/pmap_rmt.c: Likewise.
31060 * sunrpc/rpc/auth.h: Likewise.
31061 * sunrpc/rpc/auth_unix.h: Likewise.
31062 * sunrpc/rpc/clnt.h: Likewise.
31063 * sunrpc/rpc/des_crypt.h: Likewise.
31064 * sunrpc/rpc/key_prot.h: Likewise.
31065 * sunrpc/rpc/netdb.h: Likewise.
31066 * sunrpc/rpc/pmap_clnt.h: Likewise.
31067 * sunrpc/rpc/pmap_prot.h: Likewise.
31068 * sunrpc/rpc/pmap_rmt.h: Likewise.
31069 * sunrpc/rpc/rpc.h: Likewise.
31070 * sunrpc/rpc/rpc_des.h: Likewise.
31071 * sunrpc/rpc/rpc_msg.h: Likewise.
31072 * sunrpc/rpc/svc.h: Likewise.
31073 * sunrpc/rpc/svc_auth.h: Likewise.
31074 * sunrpc/rpc/types.h: Likewise.
31075 * sunrpc/rpc/xdr.h: Likewise.
31076 * sunrpc/rpc_clntout.c: Likewise.
31077 * sunrpc/rpc_cmsg.c: Likewise.
31078 * sunrpc/rpc_common.c: Likewise.
31079 * sunrpc/rpc_cout.c: Likewise.
31080 * sunrpc/rpc_dtable.c: Likewise.
31081 * sunrpc/rpc_hout.c: Likewise.
31082 * sunrpc/rpc_main.c: Likewise.
31083 * sunrpc/rpc_parse.c: Likewise.
31084 * sunrpc/rpc_parse.h: Likewise.
31085 * sunrpc/rpc_prot.c: Likewise.
31086 * sunrpc/rpc_sample.c: Likewise.
31087 * sunrpc/rpc_scan.c: Likewise.
31088 * sunrpc/rpc_scan.h: Likewise.
31089 * sunrpc/rpc_svcout.c: Likewise.
31090 * sunrpc/rpc_tblout.c: Likewise.
31091 * sunrpc/rpc_util.c: Likewise.
31092 * sunrpc/rpc_util.h: Likewise.
31093 * sunrpc/rpcinfo.c: Likewise.
31094 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
31095 * sunrpc/rpcsvc/key_prot.x: Likewise.
31096 * sunrpc/rpcsvc/klm_prot.x: Likewise.
31097 * sunrpc/rpcsvc/mount.x: Likewise.
31098 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
31099 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
31100 * sunrpc/rpcsvc/rex.x: Likewise.
31101 * sunrpc/rpcsvc/rstat.x: Likewise.
31102 * sunrpc/rpcsvc/rusers.x: Likewise.
31103 * sunrpc/rpcsvc/sm_inter.x: Likewise.
31104 * sunrpc/rpcsvc/spray.x: Likewise.
31105 * sunrpc/rpcsvc/yppasswd.x: Likewise.
31106 * sunrpc/rtime.c: Likewise.
31107 * sunrpc/svc.c: Likewise.
31108 * sunrpc/svc_auth.c: Likewise.
31109 * sunrpc/svc_authux.c: Likewise.
31110 * sunrpc/svc_raw.c: Likewise.
31111 * sunrpc/svc_run.c: Likewise.
31112 * sunrpc/svc_simple.c: Likewise.
31113 * sunrpc/svc_tcp.c: Likewise.
31114 * sunrpc/svc_udp.c: Likewise.
31115 * sunrpc/svc_unix.c: Likewise.
31116 * sunrpc/svcauth_des.c: Likewise.
31117 * sunrpc/xcrypt.c: Likewise.
31118 * sunrpc/xdr.c: Likewise.
31119 * sunrpc/xdr_array.c: Likewise.
31120 * sunrpc/xdr_float.c: Likewise.
31121 * sunrpc/xdr_mem.c: Likewise.
31122 * sunrpc/xdr_rec.c: Likewise.
31123 * sunrpc/xdr_ref.c: Likewise.
31124 * sunrpc/xdr_sizeof.c: Likewise.
31125 * sunrpc/xdr_stdio.c: Likewise.
31126
9da4bb31
UD
31127 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
31128 handling.
31129
bdaa77bc
AS
311302010-08-19 Andreas Schwab <schwab@redhat.com>
31131
31132 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
31133
fe2f79db
LM
311342010-08-19 Luis Machado <luisgpm@br.ibm.com>
31135
31136 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
31137 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
31138 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
31139 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
31140 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
31141 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
31142 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
31143 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
31144 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
31145 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
31146 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
31147 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
31148 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
31149 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
31150
b9b42ee0
AB
311512010-07-26 Anton Blanchard <anton@samba.org>
31152
31153 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
31154 * malloc/arena.c (heap_trim): Likewise.
31155
1c06ba31
UD
311562010-08-16 Ulrich Drepper <drepper@redhat.com>
31157
31158 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
31159 here. Not...
31160 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
31161 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
31162
f8392f40
L
311632010-08-12 H.J. Lu <hongjiu.lu@intel.com>
31164
31165 * sysdeps/i386/elf/Makefile: New file.
31166
3162f12e
AS
311672010-08-14 Andreas Schwab <schwab@linux-m68k.org>
31168
31169 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
31170 from fanotify_init.
31171 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
31172 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
31173
28c90b2c
UD
311742010-08-15 Ulrich Drepper <drepper@redhat.com>
31175
31176 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
31177 of strncasecmp_l.
1feccb6c 31178 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 31179
ca6bb004
UD
311802010-08-14 Ulrich Drepper <drepper@redhat.com>
31181
e9f82e0d
UD
31182 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
31183 strncase_l-nonascii.
31184 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
31185 Add strncase_l-ssse3.
31186 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
31187 * sysdeps/x86_64/strcmp.S: Likewise.
31188 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
31189 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
31190 * sysdeps/x86_64/strncase.S: New file.
31191 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
31192 * sysdeps/x86_64/strncase_l.S: New file.
31193 * string/Makefile (strop-tests): Add strncasecmp.
31194 * string/test-strncasecmp.c: New file.
31195
31196 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
31197 warning.
31198
ca6bb004
UD
31199 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
31200 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
31201
052fa7b3
AS
312022010-08-14 Andreas Schwab <schwab@linux-m68k.org>
31203
31204 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
31205
962dba78
UD
312062010-08-12 Ulrich Drepper <drepper@redhat.com>
31207
31208 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
31209 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
31210 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
31211
bebff237
AM
312122010-05-01 Alan Modra <amodra@gmail.com>
31213
31214 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
31215 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
31216 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
31217 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
31218 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
31219 tidying. Don't tail-call __sigjmp_save for static lib.
31220 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
31221 save location.
31222 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
31223 (CALL_MCOUNT): Add eh info, and nop after bl.
31224 (TAIL_CALL_SYSCALL_ERROR): New macro.
31225 (PSEUDO_RET): Use it.
31226 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
31227 Correct save location of integer regs and cr.
31228 (_dl_profile_resolve): Correct cr save location. Delete nops
31229 after bl when SHARED. Reduce cfi size a little by better
31230 placement of cfi directives.
31231 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
31232 make a stack frame. Instead use parm save area as a temp.
31233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
31234 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
31235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
31236 Don't make a stack frame for parent, use parm save area.
31237 Increase child stack frame to 112 bytes. Don't save unused reg,
31238 and adjust reg usage. Set up cfi on error recovery and
31239 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
31240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
31241 (__makecontext): Add dummy nop after jump to exit.
31242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
31243 Use correct parm save area and cr save, reduce stack frame.
31244 Correct cfi for possible PSEUDO_RET frame setup.
31245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
31246 Branch to local label emitted by PSEUDO_RET rather than
31247 __syscall_error.
31248
02637374
AS
312492010-08-12 Andreas Schwab <schwab@redhat.com>
31250
31251 [BZ #11904]
31252 * locale/programs/locale.c (print_assignment): New function.
31253 (show_locale_vars): Use it.
31254
c3e2f19b
UD
312552010-08-11 Ulrich Drepper <drepper@redhat.com>
31256
3cdaa6ad
UD
31257 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
31258 field.
31259 (struct statfs64): Likewise.
31260 (_STATFS_F_FLAGS): Define.
31261 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
31262 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31263 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
31264 (ST_VALID): Define locally.
31265 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
31266 __statvfs_getflags, use the provided value.
31267 * sysdeps/unix/sysv/linux/kernel-features.h: Define
31268 __ASSUME_STATFS_F_FLAGS.
31269
754f7da3
UD
31270 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
31271
10b3bedc
UD
31272 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
31273 Add sys/fanotify.h.
31274 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
31275 fanotify_mask for GLIBC_2.13.
31276 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
31277 fanotify_init and fanotify_mark.
31278 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
31279 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
31280
c08fb0d7
UD
31281 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
31282 Add prlimit.
31283 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
31284 prlimit64 for GLIBC_2.13.
31285 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
31286 prlimit64.
31287 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
31288 syscall.
31289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
31290 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
31291 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
31292 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
31293 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
31294 add prlimit alias.
31295 * sysdeps/unix/sysv/linux/prlimit.c: New file.
31296
15bac72b
UD
31297 [BZ #11903]
31298 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
31299 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
31300
c3e2f19b
UD
31301 * nss/Makefile: Add rules to build and run tst-nss-test1.
31302 * shlib-versions: Add entry for libnss_test1.
31303 * nss/nss_test1.c: New file.
31304 * nss/tst-nss-test1.c: New file.
31305
31306 * nss/nsswitch.c (__nss_database_custom): Define new variable.
31307 (__nss_configure_lookup): Set appropriate entry in
31308 __nss_configure_lookup to true.
31309 * nss/nsswitch.h: Define enum with indeces of databases in
31310 databases and __nss_database_custom arrays. Declare
31311 __nss_database_custom.
31312 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
31313 to avoid using nscd when custom rules are installed.
31314 * nss/getXXbyYY_r.c: Likewise.
31315 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
31316
31317 * nss/nss_files/files-parse.c: Whitespace fixes.
31318
f15ce4d8
UD
313192010-08-09 Ulrich Drepper <drepper@redhat.com>
31320
31321 [BZ #11883]
31322 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
31323 * posix/fnmatch_loop.c: Likewise.
31324
d22e4cc9
AK
313252010-07-17 Andi Kleen <ak@linux.intel.com>
31326
31327 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
31328 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
31329 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
31330 * Versions.def [GLIBC_2.13]: Add.
31331
805bc17d
UD
313322010-08-06 Ulrich Drepper <drepper@redhat.com>
31333
31334 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31335 Also fail if tpwd after pwuid call is NULL.
31336
5a42321d
ST
313372010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
31338
31339 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
31340 when converting to ms.
31341
fd3ebeda
ST
313422010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
31343
31344 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
31345 EOPNOTSUPP errors with ENOTTY.
31346 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
31347 EOPNOTSUPP errors with ENOTTY.
31348
73507d3a
UD
313492010-07-31 Ulrich Drepper <drepper@redhat.com>
31350
31351 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
31352 Add strcasecmp_l-ssse3.
31353 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
31354 strcasecmp.
31355 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
31356 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
31357 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
31358
fe36dd02
UD
313592010-07-30 Ulrich Drepper <drepper@redhat.com>
31360
66f6765a
UD
31361 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
31362
42e08a54
UD
31363 * string/Makefile (strop-tests): Add strcasecmp.
31364 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
31365 strcasecmp_l-nonascii.
31366 (gen-as-const-headers): Add locale-defines.sym.
31367 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
31368 * sysdeps/x86_64/strcasecmp.S: New file.
31369 * sysdeps/x86_64/strcasecmp_l.S: New file.
31370 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
31371 * sysdeps/x86_64/locale-defines.sym: New file.
31372 * string/test-strcasecmp.c: New file.
31373
fe36dd02
UD
31374 * string/test-strcasestr.c: Test both ends of the range of characters.
31375 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
31376
48cbc0d6
RM
313772010-07-29 Roland McGrath <roland@redhat.com>
31378
76e6d6bc 31379 [BZ #11856]
48cbc0d6
RM
31380 * manual/locale.texi (Yes-or-No Questions): Fix example code.
31381
880113d9
UD
313822010-07-27 Ulrich Drepper <drepper@redhat.com>
31383
31384 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
31385 for ld.so.
31386
deb9cabb
AS
313872010-07-27 Andreas Schwab <schwab@redhat.com>
31388
31389 * manual/memory.texi (Malloc Tunable Parameters): Document
31390 M_PERTURB.
31391
1c7570ff
RM
313922010-07-26 Roland McGrath <roland@redhat.com>
31393
31394 [BZ #11840]
31395 * configure.in (-fgnu89-inline check): Set and substitute
31396 gnu89_inline, not libc_cv_gnu89_inline.
31397 * configure: Regenerated.
31398 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
31399
24fb0f88
UD
314002010-07-26 Ulrich Drepper <drepper@redhat.com>
31401
31402 * string/test-strnlen.c: New file.
31403 * string/Makefile (strop-tests): Add strnlen.
31404 * string/tester.c (test_strnlen): Add a few more test cases.
31405 * string/tst-strlen.c: Better error reporting.
31406
31407 * sysdeps/x86_64/strnlen.S: New file.
31408
8e96b93a
UD
314092010-07-24 Ulrich Drepper <drepper@redhat.com>
31410
31411 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
31412 lower-latency instructions.
31413
dbc676d4
UD
314142010-07-23 Ulrich Drepper <drepper@redhat.com>
31415
31416 * string/test-strcasestr.c: New file.
31417 * string/test-strstr.c: New file.
31418 * string/Makefile (strop-tests): Add strstr and strcasestr.
31419 * string/str-two-way.h: Don't undefine MAX.
31420 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
31421
f6a31e0e
AS
314222010-07-21 Andreas Schwab <schwab@redhat.com>
31423
31424 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31425 strcasestr-nonascii.
31426 (CFLAGS-strcasestr-nonascii.c): Define.
31427 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
31428 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
31429 Remove unused attribute.
31430
5dbc3b6c
RM
314312010-07-20 Roland McGrath <roland@redhat.com>
31432
31433 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
31434 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
31435 ld.so.cache was broken. With it, there is no way to disable dsocaps
31436 like LD_HWCAP_MASK can disable hwcaps.
31437
23d101d8
EPM
314382010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
31439
31440 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
31441
cc9f2e47
UD
314422010-07-16 Ulrich Drepper <drepper@redhat.com>
31443
31444 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
31445 call in strcasestr.
31446 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
31447 __strcasestr_sse42_nonascii.
31448 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
31449 strcasestr-nonascii.c.
31450 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
31451
77c1b069
LM
314522010-06-15 Luis Machado <luisgpm@br.ibm.com>
31453
31454 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
31455 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
31456 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
31457 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
31458
440566c3
UD
314592010-07-09 Ulrich Drepper <drepper@redhat.com>
31460
31461 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
31462 fcntl.
31463
5be9d05d
AS
314642010-07-06 Andreas Schwab <schwab@redhat.com>
31465
c30b7ee2 31466 [BZ #11577]
5be9d05d
AS
31467 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
31468 dl_signal_cerror.
31469
8a492a67
UD
314702010-07-06 Ulrich Drepper <drepper@redhat.com>
31471
31472 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
31473 _PC_PIPE_BUF using F_GETPIPE_SZ.
31474
713df3d5
RM
314752010-07-05 Roland McGrath <roland@redhat.com>
31476
31477 * manual/arith.texi (Rounding Functions): Fix rint description
31478 implicit in round description.
31479
702e8f14
UD
314802010-07-02 Ulrich Drepper <drepper@redhat.com>
31481
31482 * elf/Makefile: Fix linking for a few tests to make recent linker
31483 happy.
31484
52ed8be9
AS
314852010-06-30 Andreas Schwab <schwab@redhat.com>
31486
31487 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
31488 $(common-objpfx)libc_nonshared.a.
31489
f47c9a11
LM
314902010-06-21 Luis Machado <luisgpm@br.ibm.com>
31491
31492 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
31493 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
31494 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
31495 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
31496 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
31497 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
31498 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
31499 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
31500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
31501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
31502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
31503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
31504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
31505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
31506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
31507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
31508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
31509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
31510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
31511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
31512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
31513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
31514 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
31515 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
31516 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
31517 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
31518 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
31519 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
31520 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
31521 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
31522 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
31523 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
31524 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
31525 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
31526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
31527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
31528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
31529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
31530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
31531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
31532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
31533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
31534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
31535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
31536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
31537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
31538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
31539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
31540
6fb8cbcb
L
315412010-06-25 H.J. Lu <hongjiu.lu@intel.com>
31542
31543 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
31544 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
31545 * string/memmove.c (memmove): Renamed to ...
31546 (MEMMOVE): ...this. Default to memmove.
31547 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
31548 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
31549 (END_CHK): Define.
31550 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31551 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
31552 mempcpy-ssse3-back memmove-ssse3-back.
31553 * sysdeps/x86_64/multiarch/bcopy.S: New file .
31554 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
31555 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
31556 * sysdeps/x86_64/multiarch/memcpy.S: New file.
31557 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
31558 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
31559 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
31560 * sysdeps/x86_64/multiarch/memmove.c: New file.
31561 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
31562 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
31563 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
31564 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
31565 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
31566 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
31567 Define.
31568 (index_Fast_Copy_Backward): Define.
31569 (HAS_ARCH_FEATURE): Define.
31570 (HAS_FAST_REP_STRING): Define.
31571 (HAS_FAST_COPY_BACKWARD): Define.
31572
4e733bac 315732010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
31574
31575 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31576 Restore proper fallback handling.
31577
63c4ed22
UD
315782010-06-19 Ulrich Drepper <drepper@redhat.com>
31579
ac2b484c
UD
31580 [BZ #11701]
31581 * posix/group_member.c (__group_member): Correct checking loop.
31582
63c4ed22
UD
31583 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
31584 OOM in getpwuid_r correctly. Return error number when the caller
31585 should return, otherwise -1.
31586 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
31587 call returning > 0 value.
31588 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
31589
765ade4b
AS
315902010-06-07 Andreas Schwab <schwab@redhat.com>
31591
31592 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
31593 libc_nonshared.a from targets in modules-names.
31594
80da2e09
KS
315952010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
31596
31597 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
31598 requires it.
31599
158db122
LM
316002010-06-10 Luis Machado <luisgpm@br.ibm.com>
31601
31602 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
31603 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
31604 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
31605 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
31606
caa78cf8
AS
316072010-06-02 Andreas Schwab <schwab@redhat.com>
31608
31609 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
31610
b2ef2c01
UD
316112010-06-14 Ulrich Drepper <drepper@redhat.com>
31612
31613 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
31614 and F_GETPIPE_SZ.
31615 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
31616 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31617 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31618 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31619 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31620 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
31621
fbd643b6
RM
316222010-06-14 Roland McGrath <roland@redhat.com>
31623
31624 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
31625
f32f2869
JJ
316262010-06-07 Jakub Jelinek <jakub@redhat.com>
31627
31628 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
31629 __REDIRECT followed by __THROW.
31630 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
31631 * posix/getopt.h (getopt): Likewise.
31632
2a50c078
EPM
316332010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
31634
31635 * hurd/lookup-at.c (__file_name_lookup_at): Accept
31636 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
31637 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
31638 in AT_FLAGS.
31639 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
31640 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
31641
eb5ad2eb
LM
316422010-05-28 Luis Machado <luisgpm@br.ibm.com>
31643
31644 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
31645
3c88fe1e
L
316462010-05-26 H.J. Lu <hongjiu.lu@intel.com>
31647
31648 [BZ #11640]
31649 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31650 Properly check family and model.
31651
d2f73151
TY
316522010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
31653
31654 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
31655
ebd2e13d
LM
316562010-05-24 Luis Machado <luisgpm@br.ibm.com>
31657
31658 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
31659
b32b8b45
UD
316602010-05-21 Ulrich Drepper <drepper@redhat.com>
31661
31662 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
31663 symbol reference.
31664
9acbe24d
AS
316652010-05-19 Andreas Schwab <schwab@redhat.com>
31666
31667 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
31668 symbol reference.
31669
f0ccf6ea
AS
316702010-05-21 Andreas Schwab <schwab@redhat.com>
31671
3d04ff3a
AS
31672 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
31673 and internal_recvmmsg.
31674 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
31675 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
31676 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
31677 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
31678
f0ccf6ea
AS
31679 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
31680 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
31681 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
31682
5b08ac57
AS
316832010-05-20 Andreas Schwab <schwab@redhat.com>
31684
31685 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
31686
4828935d
LM
316872010-05-17 Luis Machado <luisgpm@br.ibm.com>
31688
31689 POWER7 optimizations.
31690 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
31691 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
31692
373d545e
UD
316932010-05-19 Ulrich Drepper <drepper@redhat.com>
31694
31695 * version.h: Update for 2.13 development version.
31696
21a2b1ae
AS
316972010-05-12 Andrew Stubbs <ams@codesourcery.com>
31698
31699 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
31700 exceptions. Return 0.
31701
3f7dcb2b
RM
317022010-05-07 Roland McGrath <roland@redhat.com>
31703
31704 * elf/ldconfig.c (main): Add a const.
31705
5f24d53a 317062010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 31707
a160f8d8
UD
31708 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
31709 (args_options): Add no-idn option.
31710 (ahosts_keys_int): Add idn_flags to ai_flags.
31711 (parse_option): Handle 'i' option to clear idn_flags.
31712
5f24d53a
UD
31713 * malloc/malloc.c (_int_free): Possible race in the most recently
31714 added check. Only act on the data if no current modification
31715 happened.
265bb1ce
UD
31716
31717See ChangeLog.17 for earlier changes.