]> sourceware.org Git - glibc.git/blame - ChangeLog
Remove dead DL_DST_REQ_STATIC code.
[glibc.git] / ChangeLog
CommitLineData
d1d54715
MR
12013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
2
3 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
4 DL_DST_REQ_STATIC.
5 (DL_DST_REQ_STATIC): Remove macro.
6
8fdda7af
JM
72013-06-21 Joseph Myers <joseph@codesourcery.com>
8
9 [BZ #7006]
10 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
11 with a shift of 0 bits.
12
f3bc5e5a
MR
132013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
14
15 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
16 $(tststatic-ENV).
17
be09e8c9
KK
182013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19
20 [BZ #15655]
21 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
22
85c2e611
AZ
232013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24
25 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
26 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
27 accepts -fno-tree-loop-distribute-patterns.
28 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
29 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
30 recursive call.
31 * string/memset.c (memset): Likewise.
32 * string/test-memmove.c (simple_memmove): Disable loop transformation
33 to library calls.
34 * string/test-memset.c (simple_memset): Likewise.
35 * benchtests/bench-memmove.c (simple_memmove): Likewise.
36 * benchtests/bench-memset.c (simple_memset): Likewise.
37 * configure: Regenerated.
38
c91e0825
JM
392013-06-20 Joseph Myers <joseph@codesourcery.com>
40
b8c792af
JM
41 * math/test-misc.c (main): Ignore fesetround failure when failures
42 of subsequent rounding tests would be ignored.
43
c91e0825
JM
44 [BZ #15654]
45 * math/fedisblxcpt.c (fedisableexcept): Return 0.
46 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
47 * math/fegetenv.c (__fegetenv): Return 0.
48 * math/fegetexcept.c (fegetexcept): Return 0.
49 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
50 FE_TONEAREST.
51 * math/feholdexcpt.c (feholdexcept): Return 0.
52 * math/fesetenv.c (__fesetenv): Return 0.
53 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
54 argument FE_TONEAREST.
55 * math/feupdateenv.c (__feupdateenv): Return 0.
56 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
57
bfcacbde
RM
582013-06-18 Roland McGrath <roland@hack.frob.com>
59
60 * elf/rtld-Rules (rtld-compile-command.S): New variable.
61 (rtld-compile-command.s, rtld-compile-command.c): New variables.
62 ($(objpfx)rtld-%.os rules): Use them.
63
e55a9b25
AZ
642013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
65
66 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
67 fields.
68
346d65b3
RM
692013-06-17 Roland McGrath <roland@hack.frob.com>
70
12086fb4
RM
71 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
72 length of target pattern, then descending length of dependency pattern.
73 * configure.in (AWK): Require gawk 3.1.2 or newer.
74 * manual/install.texi (Tools for Compilation): Say that we do.
75 * configure: Regenerated.
76
346d65b3
RM
77 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
78 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
79 * scripts/sysd-rules.awk: ... this new script.
80 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
81 than a glob-style pattern.
82
1a846317
JM
832013-06-17 Joseph Myers <joseph@codesourcery.com>
84
85 * math/test-misc.c (main): Do not treat incorrectly rounded
86 conversions as failure unless ROUNDING_TESTS passes.
87
8fc75e6f
JM
882013-06-15 Joseph Myers <joseph@codesourcery.com>
89
3711a167
JM
90 [BZ #15631]
91 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
92 restore exception state around main square root computation, then
93 check for inexactness explicitly.
94
8fc75e6f
JM
95 * math/libm-test.inc (fma_test_data): Add another test.
96
61dd6208
SP
972013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
98
adf23d2c
SP
99 * manual/threads.texi (Non-POSIX Extensions): New document
100 node. Document pthread_getattr_default_np and
101 pthread_setattr_default_np.
102
61dd6208
SP
103 * Versions.def (libpthread): Add GLIBC_2.18.
104 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
106 Likewise.
107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
108 Likewise.
109 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
110 Likewise.
111 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
112 Likewise.
113 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
114 Likewise.
115 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
116 Likewise.
117 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
118 Likewise.
119 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
120 Likewise.
121 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
122 Likewise.
123
d086fc7b
LD
1242013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
125
126 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
127 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
128
747ef469
SP
1292013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
130 H.J. Lu <hjl.tools@gmail.com>
131
132 [BZ #15627]
133 * sysdeps/x86_64/rtld-memset.c: Remove file.
134 * sysdeps/x86_64/rtld-memset.S: New file.
135
1b2feed2
JM
1362013-06-14 Joseph Myers <joseph@codesourcery.com>
137
138 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
139 (test_in_one_mode): Take arguments for whether the rounding mode
140 is supported for each floating-point type.
141 (do_test): Pass new arguments to test_in_one_mode using
142 ROUNDING_TESTS.
143
a58ad3f8
RM
1442013-06-13 Roland McGrath <roland@hack.frob.com>
145
146 * posix/tst-waitid.c (do_test): Distinguish different instances of
147 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
148 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
149 before entering the kernel for waitpid.
150
c204ab28
SP
1512013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
152
153 * NEWS: Fix note on clock function precision. Text by Roland
154 McGrath.
155
f4a29fba
RM
1562013-06-13 Roland McGrath <roland@hack.frob.com>
157
158 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
159 it into place only when and if the sanity check passes.
160
1f24b9ad
JM
1612013-06-13 Joseph Myers <joseph@codesourcery.com>
162
163 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
164 output for whether conversion result is exact. Take argument
165 indicating whether type is IBM long double.
166 (round_for_all): Change need_exact field to ibm_ld.
167 * stdlib/tst-strtod-round.c (struct exactness): New type.
168 (struct test): Change bool ld_ok field to struct exactness exact.
169 (TEST): Update all definitions for change to field.
170 (tests): Regenerate array contents.
171 (test_in_one_mode): Take pointer to new field instead of old ld_ok
172 field value. Check for IBM long double here.
173 (do_test): Update calls to test_in_one_mode.
174
58206c68
SP
1752013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
176
177 [BZ #12515]
178 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
179 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
180
2d6f4c5b 1812013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
182
183 [BZ #15605]
184 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
185 generated by the compiler on loop optimizations.
186 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
187 general definitions.
188
94f2c076
JM
1892013-06-12 Joseph Myers <joseph@codesourcery.com>
190
191 * math/bug-nextafter.c: Include <math-tests.h>.
192 (main): Only test for exceptions if EXCEPTION_TESTS is true for
193 the relevant type.
194 * math/bug-nexttoward.c: Include <math-tests.h>.
195 (main): Only test for exceptions if EXCEPTION_TESTS is true for
196 the relevant type.
197 * math/test-misc.c: Include <math-tests.h>.
198 (main): Only test for exceptions if EXCEPTION_TESTS is true for
199 the relevant type.
200
e0e50a0a
AJ
2012013-06-12 Andreas Jaeger <aj@suse.de>
202
203 * po/ia.po: Update Interlingua translation from translation
204 project.
205
25061094
SP
2062013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
207
208 * include/fenv.h: Include stdbool.h.
209 (struct rm_ctx): New structure.
210 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
211 Define macro.
212 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
213 (SET_RESTORE_ROUNDF): Likewise.
214 (SET_RESTORE_ROUNDL): Likewise.
215 (SET_RESTORE_ROUND_NOEX): Likewise.
216 (SET_RESTORE_ROUND_NOEXF): Likewise.
217 (SET_RESTORE_ROUND_NOEXL): Likewise.
218 (SET_RESTORE_ROUND_53BIT): Likewise.
219 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
220 (libc_feresetround_noexf_ctx): Likewise.
221 (libc_feresetround_noexl_ctx): Likewise.
222 (libc_feholdsetround_53bit_ctx): Likewise.
223 (libc_feresetround_53bit_ctx): Likewise.
224 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
225 (libc_feholdexcept_setround_sse_ctx): New function.
226 (libc_fesetenv_sse_ctx): Likewise.
227 (libc_feupdateenv_sse_ctx): Likewise.
228 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
229 (libc_feholdexcept_setround_387_ctx): Likewise.
230 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
231 (libc_feholdsetround_387_prec_ctx): Likewise.
232 (libc_feholdsetround_387_ctx): Likewise.
233 (libc_feholdsetround_387_53bit_ctx): Likewise.
234 (libc_feholdsetround_sse_ctx): Likewise.
235 (libc_feresetround_sse_ctx): Likewise.
236 (libc_feresetround_387_ctx): Likewise.
237 (libc_feupdateenv_387_ctx): Likewise.
238 (libc_feholdexcept_setroundf_ctx): Define macro.
239 (libc_fesetenvf_ctx): Likewise.
240 (libc_feupdateenvf_ctx): Likewise.
241 (libc_feholdsetroundf_ctx): Likewise.
242 (libc_feresetroundf_ctx): Likewise.
243 (libc_feholdexcept_setround_ctx): Likewise.
244 (libc_fesetenv_ctx): Likewise.
245 (libc_feupdateenv_ctx): Likewise.
246 (libc_feholdsetround_ctx): Likewise.
247 (libc_feresetround_ctx): Likewise.
248 (libc_feholdexcept_setroundl_ctx): Likewise.
249 (libc_feupdateenvl_ctx): Likewise.
250 (libc_feholdsetroundl_ctx): Likewise.
251 (libc_feresetroundl_ctx): Likewise.
252 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
253 (libc_feresetround_53bit_ctx): Likewise.
254
59b30555
SP
2552013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
256
257 * locale/iso-639.def: Convert to UTF-8.
258
f1d73d30
JM
2592013-06-11 Joseph Myers <joseph@codesourcery.com>
260
261 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
262 (EXCEPTION_TESTS_double): Likewise.
263 (EXCEPTION_TESTS_long_double): Likewise.
264 (EXCEPTION_TESTS): Likewise.
265 * math/libm-test.inc (test_exceptions): Only test exceptions if
266 EXCEPTION_TESTS (FLOAT).
267
94aca5e7
SP
2682013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
269
270 * benchtests/Makefile (string-bench): Add strcpy_chk and
271 stpcpy_chk.
272 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
273 * benchtests/bench-stpcpy_chk.c: New file.
274 * benchtests/bench-strcpy_chk-ifunc.c: New file.
275 * benchtests/bench-strcpy_chk.c: New file.
276 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
277 code.
278 (do_test): Likewise.
279
fac0c5f2
RA
2802013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
281
282 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
283 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
284 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
285 with tabs where appropriate.
286 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
287 dl-procinfo.h.
288 [PPC_PLATFORM_PPC440]: Likewise.
289 [PPC_PLATFORM_PPC464]: Likewise.
290 [PPC_PLATFORM_PPC476]: Likewise.
291 (_dl_string_platform): Add support for detecting ppc405, ppc440,
292 ppc464, and ppc476 platform strings merging from ports/
293 dl-procinfo.h.
294
f22bc486
AS
2952013-06-11 Andreas Schwab <schwab@suse.de>
296
297 [BZ #14991]
298 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
299 (from_ucs4_idx): Regenerate.
300 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
301 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
302 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
303 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
304 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
305 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
306 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
307 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
308 from FROM_LOOP and TO_LOOP specific macros.
309 (BODY): Handle combining characters.
310 * iconvdata/BIG5HKSCS.irreversible: Update.
311 * iconvdata/BIG5HKSCS.precomposed: New file.
312 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
313 characters.
314 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
315
c1f75dc3
SP
3162013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
317
4eacded2
SP
318 * include/sys/time.h: Fix indentation and add copyright header.
319
fec799f8
SP
320 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
321 (do_test): Likewise.
322 * string/test-memchr.c (do_one_test): Likewise.
323 (do_test): Likewise.
324 * string/test-memcmp.c (do_one_test): Likewise.
325 (do_test): Likewise.
326 * string/test-memcpy.c (do_one_test): Likewise.
327 (do_test): Likewise.
328 * string/test-memmem.c (do_one_test): Likewise.
329 (do_test): Likewise.
330 (do_random_tests): Likewise.
331 * string/test-memmove.c (do_one_test): Likewise.
332 (do_test): Likewise.
333 * string/test-memset.c (do_one_test): Likewise.
334 (do_test): Likewise.
335 * string/test-rawmemchr.c (do_one_test): Likewise.
336 (do_test): Likewise.
337 * string/test-strcasecmp.c (do_one_test): Likewise.
338 (do_test): Likewise.
339 * string/test-strcasestr.c (do_one_test): Likewise.
340 (do_test): Likewise.
341 * string/test-strcat.c (do_one_test): Likewise.
342 (do_test): Likewise.
343 * string/test-strchr.c (do_one_test): Likewise.
344 (do_test): Likewise.
345 * string/test-strcmp.c (do_one_test): Likewise.
346 (do_test): Likewise.
347 * string/test-strcpy.c (do_one_test): Likewise.
348 (do_test): Likewise.
349 * string/test-string.h: Likewise.
350 (test_init): Likewise.
351 * string/test-strlen.c (do_one_test): Likewise.
352 (do_test): Likewise.
353 * string/test-strncasecmp.c (do_one_test): Likewise.
354 (do_test): Likewise.
355 * string/test-strncat.c (do_one_test): Likewise.
356 (do_test): Likewise.
357 * string/test-strncmp.c (do_one_test): Likewise.
358 (do_test_limit): Likewise.
359 (do_test): Likewise.
360 * string/test-strncpy.c (do_one_test): Likewise.
361 (do_test): Likewise.
362 * string/test-strnlen.c (do_one_test): Likewise.
363 (do_test): Likewise.
364 * string/test-strpbrk.c (do_one_test): Likewise.
365 (do_test): Likewise.
366 * string/test-strrchr.c (do_one_test): Likewise.
367 (do_test): Likewise.
368 * string/test-strspn.c (do_one_test): Likewise.
369 (do_test): Likewise.
370 * string/test-strstr.c (do_one_test): Likewise.
371 (do_test): Likewise.
372
97020474
SP
373 * benchtests/Makefile (string-bench): Add string benchmarks.
374 * benchtests/bench-bcopy-ifunc.c: New file.
375 * benchtests/bench-bcopy.c: New file.
376 * benchtests/bench-bzero-ifunc.c: New file.
377 * benchtests/bench-bzero.c: New file.
378 * benchtests/bench-memccpy-ifunc.c: New file.
379 * benchtests/bench-memccpy.c: New file.
380 * benchtests/bench-memchr-ifunc.c: New file.
381 * benchtests/bench-memchr.c: New file.
382 * benchtests/bench-memcmp-ifunc.c: New file.
383 * benchtests/bench-memcmp.c: New file.
384 * benchtests/bench-memmem-ifunc.c: New file.
385 * benchtests/bench-memmem.c: New file.
386 * benchtests/bench-memmove-ifunc.c: New file.
387 * benchtests/bench-memmove.c: New file.
388 * benchtests/bench-mempcpy-ifunc.c: New file.
389 * benchtests/bench-mempcpy.c: New file.
390 * benchtests/bench-memset-ifunc.c: New file.
391 * benchtests/bench-memset.c: New file.
392 * benchtests/bench-rawmemchr-ifunc.c: New file.
393 * benchtests/bench-rawmemchr.c: New file.
394 * benchtests/bench-stpcpy-ifunc.c: New file.
395 * benchtests/bench-stpcpy.c: New file.
396 * benchtests/bench-stpncpy-ifunc.c: New file.
397 * benchtests/bench-stpncpy.c: New file.
398 * benchtests/bench-strcasecmp-ifunc.c: New file.
399 * benchtests/bench-strcasecmp.c: New file.
400 * benchtests/bench-strcasestr-ifunc.c: New file.
401 * benchtests/bench-strcasestr.c: New file.
402 * benchtests/bench-strcat-ifunc.c: New file.
403 * benchtests/bench-strcat.c: New file.
404 * benchtests/bench-strchr-ifunc.c: New file.
405 * benchtests/bench-strchr.c: New file.
406 * benchtests/bench-strchrnul-ifunc.c: New file.
407 * benchtests/bench-strchrnul.c: New file.
408 * benchtests/bench-strcmp-ifunc.c: New file.
409 * benchtests/bench-strcmp.c: New file.
410 * benchtests/bench-strcpy-ifunc.c: New file.
411 * benchtests/bench-strcpy.c: New file.
412 * benchtests/bench-strcspn-ifunc.c: New file.
413 * benchtests/bench-strcspn.c: New file.
414 * benchtests/bench-strlen-ifunc.c: New file.
415 * benchtests/bench-strlen.c: New file.
416 * benchtests/bench-strncasecmp-ifunc.c: New file.
417 * benchtests/bench-strncasecmp.c: New file.
418 * benchtests/bench-strncat-ifunc.c: New file.
419 * benchtests/bench-strncat.c: New file.
420 * benchtests/bench-strncmp-ifunc.c: New file.
421 * benchtests/bench-strncmp.c: New file.
422 * benchtests/bench-strncpy-ifunc.c: New file.
423 * benchtests/bench-strncpy.c: New file.
424 * benchtests/bench-strnlen-ifunc.c: New file.
425 * benchtests/bench-strnlen.c: New file.
426 * benchtests/bench-strpbrk-ifunc.c: New file.
427 * benchtests/bench-strpbrk.c: New file.
428 * benchtests/bench-strrchr-ifunc.c: New file.
429 * benchtests/bench-strrchr.c: New file.
430 * benchtests/bench-strspn-ifunc.c: New file.
431 * benchtests/bench-strspn.c: New file.
432 * benchtests/bench-strstr-ifunc.c: New file.
433 * benchtests/bench-strstr.c: New file.
434
c1f75dc3
SP
435 * benchtests/Makefile: Disable parallel execution of targets.
436 (string-bench): Add memcpy.
437 (benchset): New variable to store a list of benchmark sets.
438 (bench-func): Renamed from bench.
439 (bench-set): New target.
440 (bench): Depend on bench-func and bench-set.
441 * benchtests/README: Add section on benchmark sets.
442 * benchtests/bench-memcpy-ifunc.c: New file.
443 * benchtests/bench-memcpy.c: New file.
444 * benchtests/bench-string.h: New file.
445
50fd745b
AS
4462013-06-11 Andreas Schwab <schwab@suse.de>
447
448 [BZ #15577]
449 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
450 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
451 values in the triple.
452 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
453 terminator in the group key.
454
3ee7e9fe
AJ
4552013-06-11 Andreas Jaeger <aj@suse.de>
456
457 * po/zh_TW.po: Update Chinese (traditional) translation from
458 translation project.
459
89fb6835
SP
4602013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
461
462 * include/time.h (__clock_gettime): Add libc_hidden_proto.
463 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
464 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
465 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
466 (clock_getcpuclockid): Likewise.
467 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
468 Add weak_alias and libc_hidden_def.
469 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
470 * rt/clock_gettime.c (clock_gettime): Rename to
471 __clock_gettime. Add weak_alias and libc_hidden_def.
472 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
473 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
474 __clock_nanosleep. Add weak_alias and libc_hidden_def.
475 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
476 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
477 Likewise.
478 * rt/clock_settime.c (clock_settime): Rename to
479 __clock_settime. Add weak_alias and libc_hidden_def.
480 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
481
0efa6f8b
JM
4822013-06-10 Joseph Myers <joseph@codesourcery.com>
483
b8c61b4b
JM
484 * mach/err_boot.sub: Remove trailing whitespace.
485 * mach/err_ipc.sub: Likewise.
486 * mach/err_mach.sub: Likewise.
487
0efa6f8b
JM
488 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
489 (ROUNDING_TESTS_double): Likewise.
490 (ROUNDING_TESTS_long_double): Likewise.
491 (ROUNDING_TESTS): Likewise.
492 * math/libm-test.inc: Include <math-tests.h>.
493 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
494 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
495 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
496 (IF_ROUND_INIT_FE_UPWARD): Likewise.
497
50b818bf
SP
4982013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
499
500 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
501 of assigning.
502
60d2f8f3
JM
5032013-06-08 Joseph Myers <joseph@codesourcery.com>
504
4902d2c3
JM
505 * sysdeps/gnu/errlist.awk: Do not generate space at end of
506 otherwise empty TRANS lines.
507 * sysdeps/gnu/errlist.c: Regenerated.
508
60d2f8f3
JM
509 * catgets/gencat.c (error_print): Use (void) in function
510 definition.
511 * crypt/crypt_util.c (__init_des): Likewise.
512 * crypt/speeds.c (Stop): Likewise.
513 (main): Likewise.
514 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
515 * inet/ruserpass.c (token): Likewise.
516 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
517 * intl/localealias.c (extend_alias_table): Likewise.
518 * intl/plural-exp.c (init_germanic_plural): Likewise.
519 * libio/fcloseall.c (__fcloseall): Likewise.
520 * libio/genops.c (_IO_flush_all): Likewise.
521 (_IO_flush_all_linebuffered): Likewise.
522 (_IO_cleanup): Likewise.
523 (_IO_iter_begin): Likewise.
524 (_IO_iter_end): Likewise.
525 (_IO_list_lock): Likewise.
526 (_IO_list_unlock): Likewise.
527 (_IO_list_resetlock): Likewise.
528 * libio/getchar.c (getchar): Likewise.
529 * libio/getchar_u.c (getchar_unlocked): Likewise.
530 * libio/getwchar.c (getwchar): Likewise.
531 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
532 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
533 * login/getpt.c (__getpt): Likewise.
534 * login/tst-utmp.c (main): Likewise.
535 * malloc/hooks.c (__malloc_check_init): Likewise.
536 * malloc/malloc.c (__malloc_stats): Likewise.
537 * malloc/mtrace.c (tr_break): Likewise.
538 (mtrace): Likewise.
539 (muntrace): Likewise.
540 * misc/fstab.c (endfsent): Likewise.
541 * misc/getclktck.c (__getclktck): Likewise.
542 * misc/getdtsz.c (__getdtablesize): Likewise.
543 * misc/gethostid.c (gethostid): Likewise.
544 * misc/getpagesize.c (__getpagesize): Likewise.
545 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
546 (__get_nprocs): Likewise.
547 (__get_phys_pages): Likewise.
548 (__get_avphys_pages): Likewise.
549 * misc/getttyent.c (getttyent): Likewise.
550 (setttyent): Likewise.
551 (endttyent): Likewise.
552 * misc/getusershell.c (getusershell): Likewise.
553 (endusershell): Likewise.
554 (setusershell): Likewise.
555 (initshells): Likewise.
556 * misc/hsearch.c (__hdestroy): Likewise.
557 * misc/sync.c (sync): Likewise.
558 * misc/syslog.c (closelog_internal): Likewise.
559 (closelog): Likewise.
560 * misc/ttyslot.c (ttyslot): Likewise.
561 * misc/vhangup.c (vhangup): Likewise.
562 * posix/fork.c (__fork): Likewise.
563 * posix/getegid.c (__getegid): Likewise.
564 * posix/geteuid.c (__geteuid): Likewise.
565 * posix/getgid.c (__getgid): Likewise.
566 * posix/getpid.c (__getpid): Likewise.
567 * posix/getppid.c (__getppid): Likewise.
568 * posix/getuid.c (__getuid): Likewise.
569 * posix/pause.c (pause): Likewise.
570 * posix/setpgrp.c (setpgrp): Likewise.
571 * posix/setsid.c (__setsid): Likewise.
572 * posix/test-vfork.c (noop): Likewise.
573 * resolv/gethnamaddr.c (_endhtent): Likewise.
574 (_gethtent): Likewise.
575 (ht_endhostent): Likewise.
576 (gethostent): Likewise.
577 (dns_service): Likewise.
578 * stdlib/drand48.c (drand48): Likewise.
579 * stdlib/lrand48.c (lrand48): Likewise.
580 * stdlib/mrand48.c (mrand48): Likewise.
581 * stdlib/rand.c (rand): Likewise.
582 * stdlib/random.c (__random): Likewise.
583 * stdlib/setenv.c (clearenv): Likewise.
584 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
585 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
586 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
587 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
588 (__get_nprocs): Likewise.
589 (__get_phys_pages): Likewise.
590 (__get_avphys_pages): Likewise.
591 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
592 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
593 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
594 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
595 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
596 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
597 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
598 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
599 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
600 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
601 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
602 * sysdeps/mach/hurd/sync.c (sync): Likewise.
603 * sysdeps/posix/clock.c (clock): Likewise.
604 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
605 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
606 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
607 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
608 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
609 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
610 (__get_nprocs_conf): Likewise.
611 (__get_phys_pages): Likewise.
612 (__get_avphys_pages): Likewise.
613 * time/clock.c (clock): Likewise.
614 * time/tzset.c (__tzname_max): Likewise.
615
2e09a79a
JM
6162013-06-07 Joseph Myers <joseph@codesourcery.com>
617
618 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
619 (__bswap_32): Do not use "register".
620 * crypt/crypt.c (_ufc_doit_r): Likewise.
621 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
622 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
623 * gmon/gmon.c (__monstartup): Likewise.
624 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
625 * hurd/hurdmalloc.c (more_memory): Likewise.
626 (malloc): Likewise.
627 (free): Likewise.
628 (realloc): Likewise.
629 (malloc_fork_prepare): Likewise.
630 (malloc_fork_parent): Likewise.
631 (malloc_fork_child): Likewise.
632 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
633 (_svcauth_des): Likewise.
634 * inet/inet_lnaof.c (inet_lnaof): Likewise.
635 * inet/inet_net.c (inet_network): Likewise.
636 * inet/inet_netof.c (inet_netof): Likewise.
637 * inet/rcmd.c (__validuser2_sa): Likewise.
638 * io/fts.c (fts_open): Likewise.
639 (fts_load): Likewise.
640 (fts_close): Likewise.
641 (fts_read): Likewise.
642 (fts_children): Likewise.
643 (fts_build): Likewise.
644 (fts_stat): Likewise.
645 (fts_sort): Likewise.
646 (fts_alloc): Likewise.
647 (fts_lfree): Likewise.
648 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
649 (_IO_file_xsgetn): Likewise.
650 (_IO_file_xsgetn_mmap): Likewise.
651 * libio/iofopncook.c (_IO_cookie_read): Likewise.
652 (_IO_cookie_write): Likewise.
653 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
654 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
655 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
656 * malloc/obstack.c (_obstack_begin): Likewise.
657 (_obstack_begin_1): Likewise.
658 (_obstack_newchunk): Likewise.
659 (_obstack_allocated_p): Likewise.
660 (obstack_free): Likewise.
661 (_obstack_memory_used): Likewise.
662 * misc/getttyent.c (getttynam): Likewise.
663 (getttyent): Likewise.
664 (skip): Likewise.
665 (value): Likewise.
666 * misc/getusershell.c (initshells): Likewise.
667 * misc/syslog.c (__vsyslog_chk): Likewise.
668 * misc/ttyslot.c (ttyslot): Likewise.
669 * nis/nis_hash.c (__nis_hash): Likewise.
670 * posix/fnmatch_loop.c (FCT): Likewise.
671 * posix/getconf.c (print_all): Likewise.
672 (main): Likewise.
673 * posix/getopt.c (exchange): Likewise.
674 * posix/glob.c (globfree): Likewise.
675 (prefix_array): Likewise.
676 (__glob_pattern_type): Likewise.
677 * resolv/arpa/nameser.h (NS_GET16): Likewise.
678 (NS_GET32): Likewise.
679 (NS_PUT16): Likewise.
680 (NS_PUT32): Likewise.
681 * resolv/gethnamaddr.c (getanswer): Likewise.
682 (gethostbyname2): Likewise.
683 (gethostbyaddr): Likewise.
684 (_gethtent): Likewise.
685 (_gethtbyname2): Likewise.
686 (_gethtbyaddr): Likewise.
687 * resolv/ns_print.c (dst_s_get_int16): Likewise.
688 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
689 * resolv/res_init.c (__res_vinit): Likewise.
690 (net_mask): Likewise.
691 * resolv/res_mkquery.c (outchar): Likewise.
692 (PRINT): Likewise.
693 * stdio-common/printf_fp.c (outchar): Likewise.
694 (PRINT): Likewise.
695 * stdio-common/printf_fphex.c (outchar): Likewise.
696 (PRINT): Likewise.
697 * stdio-common/printf_size.c (outchar): Likewise.
698 (PRINT): Likewise.
699 * stdio-common/test_rdwr.c (main): Likewise.
700 * stdio-common/tfformat.c (matches): Likewise.
701 * stdio-common/vfprintf.c (outchar): Likewise.
702 (printf_unknown): Likewise.
703 (buffered_vfprintf): Likewise.
704 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
705 * stdio-common/xbug.c (AppendToBuffer): Likewise.
706 (ReadFile): Likewise.
707 * stdlib/qsort.c (SWAP): Likewise.
708 (_quicksort): Likewise.
709 * stdlib/setenv.c (__add_to_environ): Likewise.
710 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
711 * stdlib/strtol_l.c (__strtol_l): Likewise.
712 * stdlib/tst-strtod.c (main): Likewise.
713 * stdlib/tst-strtol.c (main): Likewise.
714 * stdlib/tst-strtoll.c (main): Likewise.
715 * string/bits/string2.h (__strcmp_cc): Likewise.
716 (__strcmp_cg): Likewise.
717 (__strcspn_c1): Likewise.
718 (__strcspn_c2): Likewise.
719 (__strcspn_c3): Likewise.
720 (__strspn_c1): Likewise.
721 (__strspn_c2): Likewise.
722 (__strspn_c3): Likewise.
723 (__strsep_1c): Likewise.
724 (__strsep_2c): Likewise.
725 (__strsep_3c): Likewise.
726 * string/memccpy.c (__memccpy): Likewise.
727 * string/stpcpy.c (__stpcpy): Likewise.
728 * string/strcmp.c (strcmp): Likewise.
729 * string/strrchr.c (strrchr): Likewise.
730 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
731 Likewise.
732 * sysdeps/mach/hurd/getcwd.c
733 (_hurd_canonicalize_directory_name_internal): Likewise.
734 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
735 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
736 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
737 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
738 Likewise, in both definitions.
739 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
740 definitions.
741 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
742 64] (__bswap_64): Likewise.
743 * time/test_time.c (main): Likewise.
744 * time/tzfile.c (__tzfile_read): Likewise.
745 (__tzfile_compute): Likewise.
746 * time/tzset.c (__tzset_parse_tz): Likewise.
747 (tzset_internal): Likewise.
748 (compute_change): Likewise.
749 * wcsmbs/wcscat.c (__wcscat): Likewise.
750 * wcsmbs/wcschr.c (wcschr): Likewise.
751 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
752 * wcsmbs/wcscspn.c (wcscspn): Likewise.
753 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
754 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
755 * wcsmbs/wcsspn.c (wcsspn): Likewise.
756 * wcsmbs/wcsstr.c (wcsstr): Likewise.
757 * wcsmbs/wmemchr.c (wmemchr): Likewise.
758 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
759 * wcsmbs/wmemset.c (wmemset): Likewise.
760
9e54314b
JM
7612013-06-06 Joseph Myers <joseph@codesourcery.com>
762
763 * scripts/config.guess: Update to version 2013-05-16.
764 * scripts/config.sub: Update to version 2013-04-24.
765 * scripts/install-sh: Update to version 2011-11-20.07.
766 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
767 * scripts/move-if-change: Update to version 2012-01-06 07:23.
768
350635a5
OB
7692013-06-06 Ondřej Bílka <neleai@seznam.cz>
770
771 * debug/fgetws_u_chk.c: Fix leading whitespaces.
772 * elf/sln.c: Likewise.
773 * hurd/hurd/ioctl.h: Likewise.
774 * hurd/hurdmalloc.c: Likewise.
775 * hurd/xattr.c: Likewise.
776 * include/shlib-compat.h: Likewise.
777 * inet/ruserpass.c: Likewise.
778 * libio/iofgets_u.c: Likewise.
779 * libio/iofgetws_u.c: Likewise.
780 * locale/programs/ld-identification.c: Likewise.
781 * locale/programs/ld-time.c: Likewise.
782 * mach/msg-destroy.c: Likewise.
783 * nss/nss_files/files-netgrp.c: Likewise.
784 * resolv/res_data.c: Likewise.
785 * soft-fp/op-1.h: Likewise.
786 * soft-fp/op-2.h: Likewise.
787 * soft-fp/op-4.h: Likewise.
788 * soft-fp/op-common.h: Likewise.
789 * stdio-common/printf_fphex.c: Likewise.
790 * stdlib/strtod_l.c: Likewise.
791 * sunrpc/rpc/clnt.h: Likewise.
792 * sysdeps/generic/framestate.c: Likewise.
793 * sysdeps/i386/bsd-_setjmp.S: Likewise.
794 * sysdeps/i386/bsd-setjmp.S: Likewise.
795 * sysdeps/i386/__longjmp.S: Likewise.
796 * sysdeps/i386/setjmp.S: Likewise.
797 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
798 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
799 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
800 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
801 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
802 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
803 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
804 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
805 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
806 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
807 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
808 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
809 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
810 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
811 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
812 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
813 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
814 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
815 * sysdeps/ieee754/support.c: Likewise.
816 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
817 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
818 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
819 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
820 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
821 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
822 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
823 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
824 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
825 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
826 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
827 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
828 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
829 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
830 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
831 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
832 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
834
44a988af
OB
8352013-06-05 Ondřej Bílka <neleai@seznam.cz>
836
25506f09 837 * posix/transbug.c: Remove executable mode.
44a988af 838
9c84384c
JM
8392013-06-05 Joseph Myers <joseph@codesourcery.com>
840
841 * crypt/speeds.c: Remove trailing whitespace.
842 * dlfcn/default.c: Likewise.
843 * elf/ifuncdep2.c: Likewise.
844 * elf/ifuncmain1.c: Likewise.
845 * elf/ifuncmain1vis.c: Likewise.
846 * elf/testobj.h: Likewise.
847 * elf/tst-stackguard1.c: Likewise.
848 * gmon/sys/gmon.h: Likewise.
849 * hurd/hurdmsg.c: Likewise.
850 * hurd/new-fd.c: Likewise.
851 * hurd/ports-get.c: Likewise.
852 * iconvdata/ibm1008_420.c: Likewise.
853 * inet/tst-getni1.c: Likewise.
854 * inet/tst-getni2.c: Likewise.
855 * libio/ioungetc.c: Likewise.
856 * libio/wfiledoalloc.c: Likewise.
857 * manual/libm-err-tab.pl: Likewise.
858 * math/w_dremf.c: Likewise.
859 * misc/ftruncate.c: Likewise.
860 * posix/bug-glob2.c: Likewise.
861 * posix/tst-pcre.c: Likewise.
862 * posix/wait4.c: Likewise.
863 * resolv/README: Likewise.
864 * resolv/res_debug.h: Likewise.
865 * resolv/tst-inet_ntop.c: Likewise.
866 * setjmp/bug269-setjmp.c: Likewise.
867 * soft-fp/extended.h: Likewise.
868 * soft-fp/op-1.h: Likewise.
869 * soft-fp/op-2.h: Likewise.
870 * soft-fp/op-4.h: Likewise.
871 * soft-fp/op-8.h: Likewise.
872 * soft-fp/testit.c: Likewise.
873 * stdio-common/bug16.c: Likewise.
874 * stdlib/random.c: Likewise.
875 * sunrpc/rpcsvc/rquota.x: Likewise.
876 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
877 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
878 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
879 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
880 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
881 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
882 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
883 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
884 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
885 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
886 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
887 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
888 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
889 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
890 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
891 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
892 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
893 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
894 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
895 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
896 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
897 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
898 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
899 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
900 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
901 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
902 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
903 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
904 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
905 * sysdeps/ieee754/s_lib_version.c: Likewise.
906 * sysdeps/mach/hurd/check_fds.c: Likewise.
907 * sysdeps/mach/hurd/getsockname.c: Likewise.
908 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
909 * sysdeps/mach/hurd/recvfrom.c: Likewise.
910 * sysdeps/powerpc/bits/link.h: Likewise.
911 * sysdeps/powerpc/dl-procinfo.c: Likewise.
912 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
913 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
914 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
915 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
916 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
917 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
918 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
919 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
920 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
921 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
922 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
923 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
924 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
925 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
926 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
927 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
928 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
929 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
930 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
931 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
932 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
933 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
934 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
935 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
936 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
937 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
938 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
939 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
940 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
941 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
942 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
943 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
944 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
945 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
946 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
947 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
948 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
949 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
950 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
951 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
952 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
953 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
954 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
955 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
956 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
957 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
958 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
959 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
960 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
961 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
962 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
963 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
964 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
965 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
966 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
967 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
968 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
969 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
970 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
971 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
972 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
973 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
974 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
975 * sysdeps/powerpc/sysdep.h: Likewise.
976 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
977 * sysdeps/s390/s390-64/sub_n.S: Likewise.
978 * sysdeps/sh/dl-trampoline.S: Likewise.
979 * sysdeps/sh/memset.S: Likewise.
980 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
981 * sysdeps/sh/strlen.S: Likewise.
982 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
983 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
984 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
985 * sysdeps/sparc/sparc32/rem.S: Likewise.
986 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
987 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
988 * sysdeps/sparc/sparc32/strchr.S: Likewise.
989 * sysdeps/sparc/sparc32/udiv.S: Likewise.
990 * sysdeps/sparc/sparc32/urem.S: Likewise.
991 * sysdeps/sparc/sparc64/add_n.S: Likewise.
992 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
993 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
994 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
995 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
996 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
997 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
998 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
999 * sysdeps/unix/bsd/times.c: Likewise.
1000 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
1001 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
1002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
1003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
1004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
1005 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
1006 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
1007 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
1008 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
1009 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
1010 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
1011 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
1012 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
1013 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
1014 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
1015 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
1016 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
1017 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
1018 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
1019 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
1020 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
1021 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
1022 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
1023 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
1024 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
1025 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
1026 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
1027 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1028 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
1029 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
1030 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
1031 * sysdeps/x86_64/strcspn.S: Likewise.
1032
869378a5
RA
10332013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1034
1035 * locale/C-translit.h: Revert #include <stdint.h> because this is a
1036 generated file. Regenerate properly from gen-translit.pl.
1037 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
1038 locale/C-translit.h.
1039
840e2943
AS
10402013-06-05 Andreas Schwab <schwab@suse.de>
1041
1042 [BZ #15100]
1043 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
1044 week as 6 instead of -1.
1045 * time/tst-strptime.c (day_tests): Add test case.
1046
4c60cb0c
SP
10472013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1048
1049 * sysdeps/generic/math_private.h
1050 (libc_feholdexcept_setround_53bit): Replace with
1051 libc_feholdsetround_53bit.
1052 (libc_feupdateenv_53bit): Replace with
1053 libc_feresetround_53bit.
1054 (SET_RESTORE_ROUND_53BIT): Adjust.
1055
d180203e
SP
10562013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
1057
96df079a
SP
1058 * string/test-strchrnul.c: Add copyright header.
1059
d180203e
SP
1060 * posix/tst-getaddrinfo4.c: Increase test timeout.
1061
8b0ccb2d
CD
10622013-06-03 Carlos O'Donell <carlos@redhat.com>
1063
1064 [BZ #15536]
1065 * math/libm-test.inc (MAX_EXP): Remove
1066 (MIN_EXP): Define.
1067 (ulp): Use MIN_EXP - MANT_DIG.
1068 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
1069
3b3c4d40
CD
10702013-05-31 Carlos O'Donell <carlos@redhat.com>
1071
1072 * po/be.po: Revert last change.
1073 * po/zh_CN.po: Likewise.
1074 * po/header.pot: Likewise.
1075
fab7ce3f
JM
10762013-05-31 Joseph Myers <joseph@codesourcery.com>
1077
1078 * Makefile ($(common-objpfx)linkobj/libc.so): Define
1079 link-libc-deps to empty as target-specific variable.
1080 * Makerules (link-libc-args): New variable.
1081 (libc-for-link): Likewise.
1082 (link-libc-deps): Likewise.
1083 (lib%.so): Depend on $(link-libc-deps). Link with
1084 $(link-libc-args).
1085 (build-module): Link with $(link-libc-args).
1086 (build-module-asneeded): Likewise.
1087 (build-module-helper-objlist): Filter out $(link-libc-deps) from
1088 list of objects.
1089 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
1090 target-specific variable.
1091 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
1092 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
1093 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
1094 libc.
1095 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
1096 libc and ld.so.
1097 ($(objpfx)libpcprofile.so): Likewise.
1098 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
1099 libc_nonshared.a.
1100 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
1101 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
1102 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
1103 $(link-libc-deps).
1104 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
1105 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
1106 * login/Makefile ($(objpfx)libutil.so): Likewise.
1107 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
1108 * math/Makefile ($(objpfx)libm.so): Likewise.
1109 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
1110 $(objpfx)libnsl.so): Define libc-for-link as target-specific
1111 variable instead of depending directly on libc.
1112 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
1113 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
1114 $(link-libc-deps).
1115 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
1116 libc.
1117 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
1118 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
1119 ($(objpfx)libanl.so): Likewise.
1120 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
1121 ld.so.
1122 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
1123 $(link-libc-deps).
1124 * sysdeps/i386/fpu/Makefile: Remove file.
1125 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
1126 ($(objpfx)libm.so): Remove dependency on ld.so.
1127
eca5920c
PF
11282013-05-30 Patsy Franklin <pfrankli@redhat.com>
1129
1130 [BZ # 15553]
1131 * nis/yp_xdr.c (XDRMAXNAME): Define.
1132 (XDRMAXRECORD): Define.
1133 (xdr_domainname): Use XDRMAXNAME.
1134 (xdr_mapname): Likewise.
1135 (xdr_peername): Likewise.
1136 (xdr_keydat): Use XDRMAXRECORD.
1137 (xdr_valdat): Likewise.
1138
11392013-05-30 Jeff Law <law@redhat.com>
96945714
JL
1140
1141 [BZ #14256]
1142 * manual/errno.texi (ESTALE): Update to account for more than
1143 just NFS file systems.
1144 * sysdeps/gnu/errlist.c: Regenerated.
1145
b9375348
SP
11462013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1147
1148 [BZ #15465]
1149 * elf/Makefile (tests): Add tst-null-argv.
1150 (modules-names): Add tst-null-argv-lib.
1151 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
1152 (tst-null-argv-ENV): Set environment for tst-null-argv.
1153 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
1154 (RTLD_PROGNAME): New macro.
1155 * elf/tst-null-argv.c: New test case.
1156 * elf/tst-null-argv-lib.c: Library for test case.
1157 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
1158 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
1159 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
1160 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
1161 * elf/dl-init.c (call_init): Likewise.
1162 (_dl_init): Likewise.
1163 * elf/dl-load.c (print_search_path): Likewise.
1164 (_dl_map_object): Likewise.
1165 * elf/dl-lookup.c (do_lookup_x): Likewise.
1166 (add_dependency): Likewise.
1167 (_dl_lookup_symbol_x): Likewise.
1168 (_dl_debug_bindings): Likewise.
1169 * elf/dl-open.c (_dl_show_scope): Likewise.
1170 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
1171 * elf/dl-version.c (match_symbol): Likewise.
1172 (_dl_check_map_versions): Likewise.
1173 * elf/rtld.c (dl_main): Likewise.
1174 (print_unresolved): Use RTLD_PROGNAME.
1175 (print_missing_version): Likewise.
1176 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
1177 (elf_machine_rela): Likewise.
1178 * sysdeps/powerpc/powerpc32/dl-machine.c
1179 (__process_machine_rela): Likewise.
1180 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
1181 Likewise.
1182 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
1183 Likewise.
1184 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
1185 Likewise.
1186 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
1187 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
1188 Likewise.
1189 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
1190 Likewise.
1191 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
1192
8a9f20c8
CD
11932013-05-28 Carlos O'Donell <carlos@redhat.com>
1194
1195 * po/be.po: Add descriptive title.
1196 * po/zh_CN.po: Likewise.
1197 * po/header.pot: Likewise.
1198
0e60d68e
MF
11992013-05-28 Mike Frysinger <vapier@gentoo.org>
1200
1201 * locale/programs/locarchive.c (create_archive): Inlucde fname in
1202 error message.
1203 (enlarge_archive): Likewise.
1204
56b672e9
BN
12052013-05-28 Ben North <ben@redfrontdoor.org>
1206
1207 * manual/arith.texi (frexp): It is the magnitude of the return
1208 value which lies in [0.5, 1), not the return value itself.
1209
5e056687
AZ
12102013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1211
1212 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1213
2b66ef5d
TS
12142013-05-26 Thomas Schwinge <thomas@codesourcery.com>
1215
528c2405
TS
1216 * stdio-common/bug26.c (main): Correct fscanf template.
1217
07b4c13d
TS
1218 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
1219 declare _dl_skip_args.
1220
ec9dd97c
TS
1221 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
1222 Don't declare.
1223
2b66ef5d
TS
1224 * manual/platform.texi: Add missing @end deftypefun.
1225
4f8dfe27
JM
12262013-05-24 Joseph Myers <joseph@codesourcery.com>
1227
0323d086
JM
1228 [BZ #15529]
1229 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
1230 bit of mantissa of 2^16382.
1231 * math/libm-test.inc (hypot_test_data): Add more tests.
1232
dd4259b9
JM
1233 * math/libm-test.inc: Add drem and pow10 to list of tested
1234 functions.
1235 (pow10_test): New function.
1236 (drem_test): Likewise.
1237 (drem_test_tonearest): Likewise.
1238 (drem_test_towardzero): Likewise.
1239 (drem_test_downward): Likewise.
1240 (drem_test_upward): Likewise.
1241 (main): Call the new functions.
1242
4f8dfe27
JM
1243 * math/libm-test.inc (finite_test_data): Remove.
1244 (finite_test): Run tests from isfinite_test_data.
1245 (gamma_test_data): Remove.
1246 (gamma_test): Run tests from lgamma_test_data.
1247 * sysdeps/i386/fpu/libm-test-ulps: Update.
1248 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1249
d116b7c4
AZ
12502013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1251
1252 * manual/platform.texi: Add PowerPC PPR function set documentation.
1253 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
1254 implementation.
1255
e96e3767
CD
12562013-05-24 Carlos O'Donell <carlos@redhat.com>
1257
1258 * math/libm-test.inc (MAX_EXP): Define.
1259 (ULPDIFF): Define.
1260 (ulp): New function.
1261 (check_float_internal): Use ULPDIFF.
1262 (cpow_test): Disable failing test.
1263 (check_ulp): Test ulp() implemetnation.
1264 (main): Call check_ulp before starting tests.
1265
b679a606
JM
12662013-05-24 Joseph Myers <joseph@codesourcery.com>
1267
e8bdba36
JM
1268 * math/gen-libm-test.pl (generate_testfile): Do not handle
1269 START_DATA and END_DATA.
1270 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
1271 END_DATA.
1272 (acos_tonearest_test_data): Likewise.
1273 (acos_towardzero_test_data): Likewise.
1274 (acos_downward_test_data): Likewise.
1275 (acos_upward_test_data): Likewise.
1276 (acosh_test_data): Likewise.
1277 (asin_test_data): Likewise.
1278 (asin_tonearest_test_data): Likewise.
1279 (asin_towardzero_test_data): Likewise.
1280 (asin_downward_test_data): Likewise.
1281 (asin_upward_test_data): Likewise.
1282 (asinh_test_data): Likewise.
1283 (atan_test_data): Likewise.
1284 (atanh_test_data): Likewise.
1285 (atan2_test_data): Likewise.
1286 (cabs_test_data): Likewise.
1287 (cacos_test_data): Likewise.
1288 (cacosh_test_data): Likewise.
1289 (carg_test_data): Likewise.
1290 (casin_test_data): Likewise.
1291 (casinh_test_data): Likewise.
1292 (catan_test_data): Likewise.
1293 (catanh_test_data): Likewise.
1294 (cbrt_test_data): Likewise.
1295 (ccos_test_data): Likewise.
1296 (ccosh_test_data): Likewise.
1297 (ceil_test_data): Likewise.
1298 (cexp_test_data): Likewise.
1299 (cimag_test_data): Likewise.
1300 (clog_test_data): Likewise.
1301 (clog10_test_data): Likewise.
1302 (conj_test_data): Likewise.
1303 (copysign_test_data): Likewise.
1304 (cos_test_data): Likewise.
1305 (cos_tonearest_test_data): Likewise.
1306 (cos_towardzero_test_data): Likewise.
1307 (cos_downward_test_data): Likewise.
1308 (cos_upward_test_data): Likewise.
1309 (cosh_test_data): Likewise.
1310 (cosh_tonearest_test_data): Likewise.
1311 (cosh_towardzero_test_data): Likewise.
1312 (cosh_downward_test_data): Likewise.
1313 (cosh_upward_test_data): Likewise.
1314 (cpow_test_data): Likewise.
1315 (cproj_test_data): Likewise.
1316 (creal_test_data): Likewise.
1317 (csin_test_data): Likewise.
1318 (csinh_test_data): Likewise.
1319 (csqrt_test_data): Likewise.
1320 (ctan_test_data): Likewise.
1321 (ctan_tonearest_test_data): Likewise.
1322 (ctan_towardzero_test_data): Likewise.
1323 (ctan_downward_test_data): Likewise.
1324 (ctan_upward_test_data): Likewise.
1325 (ctanh_test_data): Likewise.
1326 (ctanh_tonearest_test_data): Likewise.
1327 (ctanh_towardzero_test_data): Likewise.
1328 (ctanh_downward_test_data): Likewise.
1329 (ctanh_upward_test_data): Likewise.
1330 (erf_test_data): Likewise.
1331 (erfc_test_data): Likewise.
1332 (exp_test_data): Likewise.
1333 (exp_tonearest_test_data): Likewise.
1334 (exp_towardzero_test_data): Likewise.
1335 (exp_downward_test_data): Likewise.
1336 (exp_upward_test_data): Likewise.
1337 (exp10_test_data): Likewise.
1338 (exp2_test_data): Likewise.
1339 (expm1_test_data): Likewise.
1340 (fabs_test_data): Likewise.
1341 (fdim_test_data): Likewise.
1342 (finite_test_data): Likewise.
1343 (floor_test_data): Likewise.
1344 (fma_test_data): Likewise.
1345 (fma_towardzero_test_data): Likewise.
1346 (fma_downward_test_data): Likewise.
1347 (fma_upward_test_data): Likewise.
1348 (fmax_test_data): Likewise.
1349 (fmin_test_data): Likewise.
1350 (fmod_test_data): Likewise.
1351 (fpclassify_test_data): Likewise.
1352 (frexp_test_data): Likewise.
1353 (gamma_test_data): Likewise.
1354 (hypot_test_data): Likewise.
1355 (ilogb_test_data): Likewise.
1356 (isfinite_test_data): Likewise.
1357 (isgreater_test_data): Likewise.
1358 (isgreaterequal_test_data): Likewise.
1359 (isinf_test_data): Likewise.
1360 (isless_test_data): Likewise.
1361 (islessequal_test_data): Likewise.
1362 (islessgreater_test_data): Likewise.
1363 (isnan_test_data): Likewise.
1364 (isnormal_test_data): Likewise.
1365 (issignaling_test_data): Likewise.
1366 (isunordered_test_data): Likewise.
1367 (j0_test_data): Likewise.
1368 (j1_test_data): Likewise.
1369 (jn_test_data): Likewise.
1370 (ldexp_test_data): Likewise.
1371 (lgamma_test_data): Likewise.
1372 (lrint_test_data): Likewise.
1373 (lrint_tonearest_test_data): Likewise.
1374 (lrint_towardzero_test_data): Likewise.
1375 (lrint_downward_test_data): Likewise.
1376 (lrint_upward_test_data): Likewise.
1377 (llrint_test_data): Likewise.
1378 (llrint_tonearest_test_data): Likewise.
1379 (llrint_towardzero_test_data): Likewise.
1380 (llrint_downward_test_data): Likewise.
1381 (llrint_upward_test_data): Likewise.
1382 (log_test_data): Likewise.
1383 (log10_test_data): Likewise.
1384 (log1p_test_data): Likewise.
1385 (log2_test_data): Likewise.
1386 (logb_test_data): Likewise.
1387 (logb_downward_test_data): Likewise.
1388 (lround_test_data): Likewise.
1389 (llround_test_data): Likewise.
1390 (modf_test_data): Likewise.
1391 (nearbyint_test_data): Likewise.
1392 (nextafter_test_data): Likewise.
1393 (nexttoward_test_data): Likewise.
1394 (pow_test_data): Likewise.
1395 (pow_tonearest_test_data): Likewise.
1396 (pow_towardzero_test_data): Likewise.
1397 (pow_downward_test_data): Likewise.
1398 (pow_upward_test_data): Likewise.
1399 (remainder_test_data): Likewise.
1400 (remainder_tonearest_test_data): Likewise.
1401 (remainder_towardzero_test_data): Likewise.
1402 (remainder_downward_test_data): Likewise.
1403 (remainder_upward_test_data): Likewise.
1404 (remquo_test_data): Likewise.
1405 (rint_test_data): Likewise.
1406 (rint_tonearest_test_data): Likewise.
1407 (rint_towardzero_test_data): Likewise.
1408 (rint_downward_test_data): Likewise.
1409 (rint_upward_test_data): Likewise.
1410 (round_test_data): Likewise.
1411 (scalb_test_data): Likewise.
1412 (scalbn_test_data): Likewise.
1413 (scalbln_test_data): Likewise.
1414 (signbit_test_data): Likewise.
1415 (sin_test_data): Likewise.
1416 (sin_tonearest_test_data): Likewise.
1417 (sin_towardzero_test_data): Likewise.
1418 (sin_downward_test_data): Likewise.
1419 (sin_upward_test_data): Likewise.
1420 (sincos_test_data): Likewise.
1421 (sinh_test_data): Likewise.
1422 (sinh_tonearest_test_data): Likewise.
1423 (sinh_towardzero_test_data): Likewise.
1424 (sinh_downward_test_data): Likewise.
1425 (sinh_upward_test_data): Likewise.
1426 (sqrt_test_data): Likewise.
1427 (tan_test_data): Likewise.
1428 (tan_tonearest_test_data): Likewise.
1429 (tan_towardzero_test_data): Likewise.
1430 (tan_downward_test_data): Likewise.
1431 (tan_upward_test_data): Likewise.
1432 (tanh_test_data): Likewise.
1433 (tgamma_test_data): Likewise.
1434 (trunc_test_data): Likewise.
1435 (y0_test_data): Likewise.
1436 (y1_test_data): Likewise.
1437 (yn_test_data): Likewise.
1438 (significand_test_data): Likewise.
1439
b679a606
JM
1440 * math/gen-libm-test.pl (@functions): Remove variable.
1441 (generate_testfile): Don't handle START and END lines.
1442 * math/libm-test.inc (START): New macro.
1443 (END): Likewise.
1444 (END_COMPLEX): Likewise.
1445 (acos_test): Use END macro without arguments.
1446 (acos_test_tonearest): Likewise.
1447 (acos_test_towardzero): Likewise.
1448 (acos_test_downward): Likewise.
1449 (acos_test_upward): Likewise.
1450 (acosh_test): Likewise.
1451 (asin_test): Likewise.
1452 (asin_test_tonearest): Likewise.
1453 (asin_test_towardzero): Likewise.
1454 (asin_test_downward): Likewise.
1455 (asin_test_upward): Likewise.
1456 (asinh_test): Likewise.
1457 (atan_test): Likewise.
1458 (atanh_test): Likewise.
1459 (atan2_test): Likewise.
1460 (cabs_test): Likewise.
1461 (cacos_test): Use END_COMPLEX macro without arguments.
1462 (cacosh_test): Likewise.
1463 (carg_test): Use END macro without arguments.
1464 (casin_test): Use END_COMPLEX macro without arguments.
1465 (casinh_test): Likewise.
1466 (catan_test): Likewise.
1467 (catanh_test): Likewise.
1468 (cbrt_test): Use END macro without arguments.
1469 (ccos_test): Use END_COMPLEX macro without arguments.
1470 (ccosh_test): Likewise.
1471 (ceil_test): Use END macro without arguments.
1472 (cexp_test): Use END_COMPLEX macro without arguments.
1473 (cimag_test): Use END macro without arguments.
1474 (clog_test): Use END_COMPLEX macro without arguments.
1475 (clog10_test): Likewise.
1476 (conj_test): Likewise.
1477 (copysign_test): Use END macro without arguments.
1478 (cos_test): Likewise.
1479 (cos_test_tonearest): Likewise.
1480 (cos_test_towardzero): Likewise.
1481 (cos_test_downward): Likewise.
1482 (cos_test_upward): Likewise.
1483 (cosh_test): Likewise.
1484 (cosh_test_tonearest): Likewise.
1485 (cosh_test_towardzero): Likewise.
1486 (cosh_test_downward): Likewise.
1487 (cosh_test_upward): Likewise.
1488 (cpow_test): Use END_COMPLEX macro without arguments.
1489 (cproj_test): Likewise.
1490 (creal_test): Use END macro without arguments.
1491 (csin_test): Use END_COMPLEX macro without arguments.
1492 (csinh_test): Likewise.
1493 (csqrt_test): Likewise.
1494 (ctan_test): Likewise.
1495 (ctan_test_tonearest): Likewise.
1496 (ctan_test_towardzero): Likewise.
1497 (ctan_test_downward): Likewise.
1498 (ctan_test_upward): Likewise.
1499 (ctanh_test): Likewise.
1500 (ctanh_test_tonearest): Likewise.
1501 (ctanh_test_towardzero): Likewise.
1502 (ctanh_test_downward): Likewise.
1503 (ctanh_test_upward): Likewise.
1504 (erf_test): Use END macro without arguments.
1505 (erfc_test): Likewise.
1506 (exp_test): Likewise.
1507 (exp_test_tonearest): Likewise.
1508 (exp_test_towardzero): Likewise.
1509 (exp_test_downward): Likewise.
1510 (exp_test_upward): Likewise.
1511 (exp10_test): Likewise.
1512 (exp2_test): Likewise.
1513 (expm1_test): Likewise.
1514 (fabs_test): Likewise.
1515 (fdim_test): Likewise.
1516 (finite_test): Likewise.
1517 (floor_test): Likewise.
1518 (fma_test): Likewise.
1519 (fma_test_towardzero): Likewise.
1520 (fma_test_downward): Likewise.
1521 (fma_test_upward): Likewise.
1522 (fmax_test): Likewise.
1523 (fmin_test): Likewise.
1524 (fmod_test): Likewise.
1525 (fpclassify_test): Likewise.
1526 (frexp_test): Likewise.
1527 (gamma_test): Likewise.
1528 (hypot_test): Likewise.
1529 (ilogb_test): Likewise.
1530 (isfinite_test): Likewise.
1531 (isgreater_test): Likewise.
1532 (isgreaterequal_test): Likewise.
1533 (isinf_test): Likewise.
1534 (isless_test): Likewise.
1535 (islessequal_test): Likewise.
1536 (islessgreater_test): Likewise.
1537 (isnan_test): Likewise.
1538 (isnormal_test): Likewise.
1539 (issignaling_test): Likewise.
1540 (isunordered_test): Likewise.
1541 (j0_test): Likewise.
1542 (j1_test): Likewise.
1543 (jn_test): Likewise.
1544 (ldexp_test): Likewise.
1545 (lgamma_test): Likewise.
1546 (lrint_test): Likewise.
1547 (lrint_test_tonearest): Likewise.
1548 (lrint_test_towardzero): Likewise.
1549 (lrint_test_downward): Likewise.
1550 (lrint_test_upward): Likewise.
1551 (llrint_test): Likewise.
1552 (llrint_test_tonearest): Likewise.
1553 (llrint_test_towardzero): Likewise.
1554 (llrint_test_downward): Likewise.
1555 (llrint_test_upward): Likewise.
1556 (log_test): Likewise.
1557 (log10_test): Likewise.
1558 (log1p_test): Likewise.
1559 (log2_test): Likewise.
1560 (logb_test): Likewise.
1561 (logb_test_downward): Likewise.
1562 (lround_test): Likewise.
1563 (llround_test): Likewise.
1564 (modf_test): Likewise.
1565 (nearbyint_test): Likewise.
1566 (nextafter_test): Likewise.
1567 (nexttoward_test): Likewise.
1568 (pow_test): Likewise.
1569 (pow_test_tonearest): Likewise.
1570 (pow_test_towardzero): Likewise.
1571 (pow_test_downward): Likewise.
1572 (pow_test_upward): Likewise.
1573 (remainder_test): Likewise.
1574 (remainder_test_tonearest): Likewise.
1575 (remainder_test_towardzero): Likewise.
1576 (remainder_test_downward): Likewise.
1577 (remainder_test_upward): Likewise.
1578 (remquo_test): Likewise.
1579 (rint_test): Likewise.
1580 (rint_test_tonearest): Likewise.
1581 (rint_test_towardzero): Likewise.
1582 (rint_test_downward): Likewise.
1583 (rint_test_upward): Likewise.
1584 (round_test): Likewise.
1585 (scalb_test): Likewise.
1586 (scalbn_test): Likewise.
1587 (scalbln_test): Likewise.
1588 (signbit_test): Likewise.
1589 (sin_test): Likewise.
1590 (sin_test_tonearest): Likewise.
1591 (sin_test_towardzero): Likewise.
1592 (sin_test_downward): Likewise.
1593 (sin_test_upward): Likewise.
1594 (sincos_test): Likewise.
1595 (sinh_test): Likewise.
1596 (sinh_test_tonearest): Likewise.
1597 (sinh_test_towardzero): Likewise.
1598 (sinh_test_downward): Likewise.
1599 (sinh_test_upward): Likewise.
1600 (sqrt_test): Likewise.
1601 (tan_test): Likewise.
1602 (tan_test_tonearest): Likewise.
1603 (tan_test_towardzero): Likewise.
1604 (tan_test_downward): Likewise.
1605 (tan_test_upward): Likewise.
1606 (tanh_test): Likewise.
1607 (tgamma_test): Likewise.
1608 (trunc_test): Likewise.
1609 (y0_test): Likewise.
1610 (y1_test): Likewise.
1611 (yn_test): Likewise.
1612 (significand_test): Likewise.
1613
bae143d2
OB
16142013-05-24 Ondřej Bílka <neleai@seznam.cz>
1615
1616 [BZ #15381]
1617 * libio/genops.c (_IO_no_init): Initialize wide struct info.
1618
9323d39b
EM
16192013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
1620
d4ea44a0 1621 [BZ #14894]
9323d39b
EM
1622 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
1623 __ppc_mdoio and __ppc_mdoom.
1624 * manual/platform.texi: Document new functions __ppc_yield,
1625 __ppc_mdoio and __ppc_mdoom.
1626
13e23af7
CD
16272013-05-22 Carlos O'Donell <carlos@redhat.com>
1628
1629 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
1630 (main): Mention "tls" pseudo-hwcap is legacy.
1631 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
1632
351fe550
JM
16332013-05-22 Joseph Myers <joseph@codesourcery.com>
1634
1635 * math/gen-libm-test.pl (parse_args): Output only string of
1636 arguments as text for test name, not full call or descriptions of
1637 tests for extra outputs.
1638 (generate_testfile): Do not pass function name to parse_args.
1639 Generate this_func variable from START.
1640 * math/libm-test.inc (struct test_f_f_data): Rename test_name
1641 field to arg_str.
1642 (struct test_ff_f_data): Likewise.
1643 (test_ff_f_data_nexttoward): Likewise.
1644 (struct test_fi_f_data): Likewise.
1645 (struct test_fl_f_data): Likewise.
1646 (struct test_if_f_data): Likewise.
1647 (struct test_fff_f_data): Likewise.
1648 (struct test_c_f_data): Likewise.
1649 (struct test_f_f1_data): Likewise. Remove field extra_name.
1650 (struct test_fF_f1_data): Likewise.
1651 (struct test_ffI_f1_data): Likewise.
1652 (struct test_c_c_data): Rename test_name field to arg_str.
1653 (struct test_cc_c_data): Likewise.
1654 (struct test_f_i_data): Likewise.
1655 (struct test_ff_i_data): Likewise.
1656 (struct test_f_l_data): Likewise.
1657 (struct test_f_L_data): Likewise.
1658 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
1659 and extra2_name.
1660 (COMMON_TEST_SETUP): New macro.
1661 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
1662 (COMMON_TEST_CLEANUP): Likewise.
1663 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
1664 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
1665 macros.
1666 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
1667 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
1668 macros.
1669 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
1670 (RUN_TEST_fff_f): Take argument string. Call new setup and
1671 cleanup macros.
1672 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
1673 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
1674 macros.
1675 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
1676 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
1677 macros.
1678 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
1679 (RUN_TEST_fF_f1): Take argument string. Call new setup and
1680 cleanup macros.
1681 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
1682 (RUN_TEST_fI_f1): Take argument string. Call new setup and
1683 cleanup macros.
1684 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
1685 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
1686 cleanup macros.
1687 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
1688 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
1689 macros.
1690 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
1691 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
1692 macros.
1693 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
1694 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
1695 macros.
1696 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
1697 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
1698 cleanup macros.
1699 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
1700 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
1701 cleanup macros.
1702 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
1703 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
1704 macros.
1705 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
1706 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
1707 cleanup macros.
1708 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
1709 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
1710 macros.
1711 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
1712 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
1713 macros.
1714 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
1715 (RUN_TEST_fFF_11): Take argument string. Call new setup and
1716 cleanup macros.
1717 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
1718
85118d4d
EBM
17192013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1720
1721 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
1722 to _sifields.sigfault.
1723 (si_addr_lsb): Define new macro.
1724 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
1725 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
1726 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
1727
7a44c18f
CD
17282013-05-03 Carlos O'Donell <carlos at redhat.com>
1729
1730 [BZ #15441]
1731 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
1732 returns -1.
1733 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
1734 null return -1.
1735 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
1736 loading the domain.
1737
b50a7181
JM
17382013-05-22 Joseph Myers <joseph@codesourcery.com>
1739
1740 * math/gen-libm-test.pl (parse_args): Do not include expected
1741 result in test name.
1742 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
1743 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1744 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1745 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
1746 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1747 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1748
051063c8
SP
17492013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
1750
3ce9e010
SP
1751 * benchtests/Makefile: Sort function entries.
1752
051063c8
SP
1753 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
1754 tanh, asinh, acosh, atanh.
1755 * benchtests/acos-inputs: New file.
1756 * benchtests/acosh-inputs: New file.
1757 * benchtests/asin-inputs: New file.
1758 * benchtests/asinh-inputs: New file.
1759 * benchtests/atanh-inputs: New file.
1760 * benchtests/cosh-inputs: New file.
1761 * benchtests/log-inputs: New file.
1762 * benchtests/sinh-inputs: New file.
1763 * benchtests/tanh-inputs: New file.
1764
47c22455
DL
17652013-05-21 Dmitry V. Levin <ldv@altlinux.org>
1766
1767 [BZ #15339]
1768 * posix/tst-getaddrinfo4.c: New test.
1769 * posix/Makefile (tests): Add it.
1770
3d04f5db
SP
17712013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1772
1773 [BZ #15339]
1774 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
1775 when no services were used.
1776 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
1777 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
1778
d5dd6189
AS
17792013-05-21 Andreas Schwab <schwab@suse.de>
1780
1781 [BZ #15014]
1782 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
1783 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
1784 successful.
1785 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
1786 redundant variable declarations and reallocation of buffer when
1787 parsing as IPv6 address. Always set NSS status when called from
1788 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
1789 buffer too small. Correct computation of needed size.
1790 * nss/Makefile (tests): Add test-digits-dots.
1791 * nss/test-digits-dots.c: New test.
1792
fef94eab
SP
17932013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1794
1795 * benchtests/Makefile: Remove instructions for adding
1796 benchmark tests.
1797 * benchtests/README: New file to explain how to execute and
1798 enhance the benchmark tests.
1799
e39adf43
AS
18002013-05-21 Andreas Schwab <schwab@suse.de>
1801
1802 [BZ #15493]
1803 * setjmp/Makefile (tests): Add tst-sigsetjmp.
1804 * setjmp/tst-sigsetjmp.c: New test.
1805
b2b671b6
OB
18062013-05-20 Ondřej Bílka <neleai@seznam.cz>
1807
1808 * sysdeps/x86_64/memset.S (memset): New implementation.
1809 (__bzero): Likewise.
1810 (__memset_tail): New function.
1811
2d48b41c
OB
18122013-05-20 Ondřej Bílka <neleai@seznam.cz>
1813
1814 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
1815 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
1816 __memcpy_sse2_unaligned ifunc selection.
1817 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
1818 Add memcpy-sse2-unaligned.S.
1819 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1820 Add: __memcpy_sse2_unaligned.
1821
f16cc3eb
JM
18222013-05-19 Joseph Myers <joseph@codesourcery.com>
1823
3e694268
JM
1824 [BZ #15490]
1825 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
1826 math_force_eval before restoring floating-point envrionment.
1827 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
1828 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
1829 Likewise.
1830 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
1831 <math_private.h>.
1832 (__nearbyintl): Use math_force_eval before restoring
1833 floating-point environment.
1834 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
1835
db62a907
JM
1836 * math/gen-libm-test.pl (special_functions): Remove.
1837 (parse_args): Don't handle TEST_extra. Handle functions with no
1838 return value.
1839 * math/libm-test.inc (struct test_sincos_data): Replace with
1840 struct test_fFF_11_data.
1841 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
1842 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
1843 (sincos_test_data): Change element type to struct
1844 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
1845 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
1846 RUN_TEST_LOOP_sincos.
1847 * math/README.libm-test: Don't mention special handling of
1848 individual functions.
1849 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
1850 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1851 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1852 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
1853 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1854 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1855
f16cc3eb
JM
1856 * math/gen-libm-test.pl (get_variable): Remove function.
1857 (parse_args): Don't show pointer parameters to call in test
1858 names. Use "extra output N" in test names for extra outputs
1859 rather than naming variables.
1860
3779b5b6
JM
18612013-05-18 Joseph Myers <joseph@codesourcery.com>
1862
2ee094ff
JM
1863 [BZ #15488]
1864 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
1865 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
1866 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
1867 double tests.
1868 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
1869 disable.
1870 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
1871 check_long_double.
1872
3779b5b6
JM
1873 * math/gen-libm-test.pl (@tests): Remove variable.
1874 ($count): Likewise.
1875 (new_test): Remove function.
1876 (show_exceptions): New function.
1877 (special_functions): Use show_exceptions instead of new_test.
1878 (parse_args): Likewise.
1879 (generate_testfile): Pass only function name in generated call to
1880 print_max_error or print_complex_max_error.
1881 (get_ulps): Do not handle complex tests specially.
1882 (output_test): Rename to ...
1883 (get_all_ulps_for_test): ... this. Return a string rather than
1884 printing to a file. Require ulps to be present.
1885 (output_ulps): Generate arrays rather than #defines.
1886 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
1887 (struct ulp_data): New type.
1888 (BUILD_COMPLEX_ULP): Remove macro.
1889 (compare_ulp_data): New function.
1890 (find_ulps): Likewise.
1891 (find_test_ulps): Likewise.
1892 (find_function_ulps): Likewise.
1893 (find_complex_function_ulps): Likewise.
1894 (print_max_error): Determine allowed ulps using
1895 find_function_ulps.
1896 (print_complex_max_error): Determine allowed ulps using
1897 find_complex_function_ulps.
1898 (check_float_internal): Determine max ulps using find_test_ulps.
1899 (check_float): Do not take max_ulp parameter. Update call to
1900 check_float_internal.
1901 (check_complex): Likewise.
1902 (check_int): Do not take max_ulp parameter.
1903 (check_long): Likewise.
1904 (check_bool): Likewise.
1905 (check_longlong): Likewise.
1906 (struct test_f_f_data): Remove max_ulp field.
1907 (struct test_ff_f_data): Likewise.
1908 (struct test_ff_f_data_nexttoward): Likewise.
1909 (struct test_fi_f_data): Likewise.
1910 (struct test_fl_f_data): Likewise.
1911 (struct test_if_f_data): Likewise.
1912 (struct test_fff_f_data): Likewise.
1913 (struct test_c_f_data): Likewise.
1914 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
1915 (struct test_fF_f1_data): Likewise.
1916 (struct test_ffI_f1_data): Likewise.
1917 (struct test_c_c_data): Remove max_ulp field.
1918 (struct test_cc_c_data): Likewise.
1919 (struct test_f_i_data): Likewise.
1920 (struct test_ff_i_data): Likewise.
1921 (struct test_f_l_data): Likewise.
1922 (struct test_f_L_data): Likewise.
1923 (struct test_sincos_data): Likewise.
1924 (RUN_TEST_f_f): Do not handle ulps.
1925 (RUN_TEST_LOOP_f_f): Likewise.
1926 (RUN_TEST_2_f): Likewise.
1927 (RUN_TEST_LOOP_2_f): Likewise.
1928 (RUN_TEST_fff_f): Likewise.
1929 (RUN_TEST_LOOP_fff_f): Likewise.
1930 (RUN_TEST_c_f): Likewise.
1931 (RUN_TEST_LOOP_c_f): Likewise.
1932 (RUN_TEST_f_f1): Likewise.
1933 (RUN_TEST_LOOP_f_f1): Likewise.
1934 (RUN_TEST_fF_f1): Likewise.
1935 (RUN_TEST_LOOP_fF_f1): Likewise.
1936 (RUN_TEST_fI_f1): Likewise.
1937 (RUN_TEST_LOOP_fI_f1): Likewise.
1938 (RUN_TEST_ffI_f1): Likewise.
1939 (RUN_TEST_LOOP_ffI_f1): Likewise.
1940 (RUN_TEST_c_c): Likewise.
1941 (RUN_TEST_LOOP_c_c): Likewise.
1942 (RUN_TEST_cc_c): Likewise.
1943 (RUN_TEST_LOOP_cc_c): Likewise.
1944 (RUN_TEST_f_i): Likewise.
1945 (RUN_TEST_LOOP_f_i): Likewise.
1946 (RUN_TEST_f_i_tg): Likewise.
1947 (RUN_TEST_LOOP_f_i_tg): Likewise.
1948 (RUN_TEST_ff_i_tg): Likewise.
1949 (RUN_TEST_LOOP_ff_i_tg): Likewise.
1950 (RUN_TEST_f_b): Likewise.
1951 (RUN_TEST_LOOP_f_b): Likewise.
1952 (RUN_TEST_f_b_tg): Likewise.
1953 (RUN_TEST_LOOP_f_b_tg): Likewise.
1954 (RUN_TEST_f_l): Likewise.
1955 (RUN_TEST_LOOP_f_l): Likewise.
1956 (RUN_TEST_f_L): Likewise.
1957 (RUN_TEST_LOOP_f_L): Likewise.
1958 (RUN_TEST_sincos): Likewise.
1959 (RUN_TEST_LOOP_sincos): Likewise.
1960
8269107f
JM
19612013-05-17 Joseph Myers <joseph@codesourcery.com>
1962
bb38759d
JM
1963 [BZ #15480]
1964 [BZ #15485]
1965 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
1966 main case of finite arguments, set rounding mode to FE_TONEAREST
1967 and discard exceptions.
1968 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
1969 exceptions.
1970 (remainder_tonearest_test_data): New variable.
1971 (remainder_test_tonearest): New function.
1972 (remainder_towardzero_test_data): New variable.
1973 (remainder_test_towardzero): New function.
1974 (remainder_downward_test_data): New variable.
1975 (remainder_test_downward): New function.
1976 (remainder_upward_test_data): New variable.
1977 (remainder_test_upward): New function.
1978 (main): Call the new test functions.
1979
a00bdcf0
JM
1980 * math/libm-test.inc (struct test_f_f1_data): Remove field
1981 extra_init.
1982 (struct test_fF_f1_data): Likewise.
1983 (struct test_ffI_f1_data): Likewise.
1984 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
1985 based on value of EXTRA_EXPECTED.
1986 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
1987 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
1988 EXTRA_VAR based on value of EXTRA_EXPECTED.
1989 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
1990 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
1991 EXTRA_VAR based on value of EXTRA_EXPECTED.
1992 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
1993 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
1994 EXTRA_VAR based on value of EXTRA_EXPECTED.
1995 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
1996 * math/gen-libm-test.pl (parse_args): Don't output initializers
1997 for extra output values.
1998
de407f79
JM
1999 * math/libm-test.inc (check_int): Expect result to be exactly
2000 equal to expected value and do not handle ulps.
2001 (check_long): Likewise.
2002 (check_longlong): Likewise.
2003
8269107f
JM
2004 * math/libm-test.inc (ceil_test_data): Test for "inexact"
2005 exceptions.
2006 (cimag_test_data): Likewise.
2007 (conj_test_data): Likewise.
2008 (copysign_test_data): Likewise.
2009 (cproj_test_data): Likewise.
2010 (creal_test_data): Likewise.
2011 (fabs_test_data): Likewise.
2012 (fdim_test_data): Likewise.
2013 (finite_test_data): Likewise.
2014 (floor_test_data): Likewise.
2015 (fmax_test_data): Likewise.
2016 (fmin_test_data): Likewise.
2017 (fmod_test_data): Likewise.
2018 (fpclassify_test_data): Likewise.
2019 (frexp_test_data): Likewise.
2020 (ilogb_test_data): Likewise.
2021 (isfinite_test_data): Likewise.
2022 (isgreater_test_data): Likewise.
2023 (isgreaterequal_test_data): Likewise.
2024 (isinf_test_data): Likewise.
2025 (isless_test_data): Likewise.
2026 (islessequal_test_data): Likewise.
2027 (islessgreater_test_data): Likewise.
2028 (isnan_test_data): Likewise.
2029 (isnormal_test_data): Likewise.
2030 (issignaling_test_data): Likewise.
2031 (isunordered_test_data): Likewise.
2032 (ldexp_test_data): Likewise.
2033 (lrint_test_data): Likewise.
2034 (lrint_test_data) [TEST_FLOAT]: Disable one test.
2035 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
2036 (lrint_tonearest_test_data): Test for "inexact" exceptions.
2037 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
2038 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
2039 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
2040 test input.
2041 (lrint_towardzero_test_data): Test for "inexact" exceptions.
2042 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
2043 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
2044 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
2045 that test input.
2046 (lrint_downward_test_data): Test for "inexact" exceptions.
2047 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
2048 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
2049 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
2050 test input.
2051 (lrint_upward_test_data): Test for "inexact" exceptions.
2052 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
2053 test input.
2054 (llrint_test_data): Test for "inexact" exceptions.
2055 (llrint_test_data) [TEST_FLOAT]: Disable one test.
2056 (llrint_tonearest_test_data): Test for "inexact" exceptions.
2057 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
2058 (llrint_towardzero_test_data): Test for "inexact" exceptions.
2059 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
2060 (llrint_downward_test_data): Test for "inexact" exceptions.
2061 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
2062 (llrint_upward_test_data): Test for "inexact" exceptions.
2063 (logb_test_data): Likewise.
2064 (logb_downward_test_data): Likewise.
2065 (nextafter_test_data): Likewise.
2066 (nexttoward_test_data): Likewise.
2067 (remainder_test_data): Likewise.
2068 (remquo_test_data): Likewise.
2069 (scalbn_test_data): Likewise.
2070 (scalbln_test_data): Likewise.
2071 (signbit_test_data): Likewise.
2072 (sqrt_test_data): Likewise.
2073 (significand_test_data): Likewise.
2074
48a18de1
SP
20752013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2076
2077 [BZ #15424]
2078 * benchtests/bench-modf.c (struct args): Mark arg0 as
2079 volatile.
2080 * scripts/bench.pl: Mark members of struct args as volatile.
2081
13d3b41a
AZ
20822013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2083
68191c1d 2084 [BZ # 15497]
13d3b41a
AZ
2085 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
2086 negative infinity on POWER6 or lower.
2087 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
2088
2848b105
MR
20892013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
2090
2091 [BZ #15442]
2092 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
2093 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
2094 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
2095 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
2096 (_FP_SETQNAN): New macro.
2097 (_FP_SETQNAN_SEMIRAW): Likewise.
2098 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
2099 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
2100 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
2101 (FP_EXTEND): Use _FP_FRAC_SNANP.
2102 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
2103 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
2104 into account.
2105 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
2106 New macro.
2107 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
2108 Likewise.
2109
323e5cb7
JM
21102013-05-16 Joseph Myers <joseph@codesourcery.com>
2111
c58b274f
JM
2112 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
2113 with DIVIDE_BY_ZERO_EXCEPTION.
2114 (gamma_test_data): Likewise.
2115 (lgamma_test_data): Likewise.
2116 (log_test_data): Likewise.
2117 (log10_test_data): Likewise.
2118 (log2_test_data): Likewise.
2119 (tgamma_test_data): Likewise.
2120
0ab34904
JM
2121 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
2122 (acos_test_tonearest): Likewise.
2123 (acos_test_towardzero): Likewise.
2124 (acos_test_downward): Likewise.
2125 (acos_test_upward): Likewise.
2126 (acosh_test): Likewise.
2127 (asin_test): Likewise.
2128 (asin_test_tonearest): Likewise.
2129 (asin_test_towardzero): Likewise.
2130 (asin_test_downward): Likewise.
2131 (asin_test_upward): Likewise.
2132 (asinh_test): Likewise.
2133 (atan_test): Likewise.
2134 (atanh_test): Likewise.
2135 (atan2_test): Likewise.
2136 (cabs_test): Likewise.
2137 (cacos_test): Likewise.
2138 (cacosh_test): Likewise.
2139 (casin_test): Likewise.
2140 (casinh_test): Likewise.
2141 (catan_test): Likewise.
2142 (catanh_test): Likewise.
2143 (cbrt_test): Likewise.
2144 (ccos_test): Likewise.
2145 (ccosh_test): Likewise.
2146 (cexp_test): Likewise.
2147 (clog_test): Likewise.
2148 (clog10_test): Likewise.
2149 (cos_test): Likewise.
2150 (cos_test_tonearest): Likewise.
2151 (cos_test_towardzero): Likewise.
2152 (cos_test_downward): Likewise.
2153 (cos_test_upward): Likewise.
2154 (cosh_test): Likewise.
2155 (cosh_test_tonearest): Likewise.
2156 (cosh_test_towardzero): Likewise.
2157 (cosh_test_downward): Likewise.
2158 (cosh_test_upward): Likewise.
2159 (cpow_test): Likewise.
2160 (csin_test): Likewise.
2161 (csinh_test): Likewise.
2162 (csqrt_test): Likewise.
2163 (ctan_test): Likewise.
2164 (ctan_test_tonearest): Likewise.
2165 (ctan_test_towardzero): Likewise.
2166 (ctan_test_downward): Likewise.
2167 (ctan_test_upward): Likewise.
2168 (ctanh_test): Likewise.
2169 (ctanh_test_tonearest): Likewise.
2170 (ctanh_test_towardzero): Likewise.
2171 (ctanh_test_downward): Likewise.
2172 (ctanh_test_upward): Likewise.
2173 (erf_test): Likewise.
2174 (erfc_test): Likewise.
2175 (exp_test): Likewise.
2176 (exp_test_tonearest): Likewise.
2177 (exp_test_towardzero): Likewise.
2178 (exp_test_downward): Likewise.
2179 (exp_test_upward): Likewise.
2180 (exp10_test): Likewise.
2181 (exp2_test): Likewise.
2182 (expm1_test): Likewise.
2183 (fmod_test): Likewise.
2184 (gamma_test): Likewise.
2185 (hypot_test): Likewise.
2186 (j0_test): Likewise.
2187 (j1_test): Likewise.
2188 (jn_test): Likewise.
2189 (lgamma_test): Likewise.
2190 (log_test): Likewise.
2191 (log10_test): Likewise.
2192 (log1p_test): Likewise.
2193 (log2_test): Likewise.
2194 (logb_test_downward): Likewise.
2195 (pow_test): Likewise.
2196 (pow_test_tonearest): Likewise.
2197 (pow_test_towardzero): Likewise.
2198 (pow_test_downward): Likewise.
2199 (pow_test_upward): Likewise.
2200 (remainder_test): Likewise.
2201 (remquo_test): Likewise.
2202 (sin_test): Likewise.
2203 (sin_test_tonearest): Likewise.
2204 (sin_test_towardzero): Likewise.
2205 (sin_test_downward): Likewise.
2206 (sin_test_upward): Likewise.
2207 (sincos_test): Likewise.
2208 (sinh_test): Likewise.
2209 (sinh_test_tonearest): Likewise.
2210 (sinh_test_towardzero): Likewise.
2211 (sinh_test_downward): Likewise.
2212 (sinh_test_upward): Likewise.
2213 (sqrt_test): Likewise.
2214 (tan_test): Likewise.
2215 (tan_test_tonearest): Likewise.
2216 (tan_test_towardzero): Likewise.
2217 (tan_test_downward): Likewise.
2218 (tan_test_upward): Likewise.
2219 (tanh_test): Likewise.
2220 (tgamma_test): Likewise.
2221 (y0_test): Likewise.
2222 (y1_test): Likewise.
2223 (yn_test): Likewise.
2224
323e5cb7
JM
2225 * math/gen-libm-test.pl (adjust_arg): Remove function.
2226 (special_function): Remove argument $in_func. Only handle
2227 generating output for tables of tests, not inside functions.
2228 (parse_args): Likewise.
2229 (generate_testfile): Remove variable $in_func. Update call to
2230 parse_args.
2231 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
2232 (MINUS_ZERO_INIT): Rename macro to minus_zero.
2233 (PLUS_INFTY_INIT): Rename macro to plus_infty.
2234 (MINUS_INFTY_INIT): Rename macro to minus_infty.
2235 (QNAN_VALUE_INIT): Rename macro to qnan_value.
2236 (MAX_VALUE_INIT): Rename macro to max_value.
2237 (MIN_VALUE_INIT): Rename macro to min_value.
2238 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
2239 (plus_zero): Remove variable.
2240 (minus_zero): Likewise.
2241 (plus_infty): Likewise.
2242 (minus_infty): Likewise.
2243 (qnan_value): Likewise.
2244 (max_value): Likewise.
2245 (min_value): Likewise.
2246 (min_subnorm_value): Likewise.
2247
e054f494
RA
22482013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2249
2250 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
2251 uint64_t or uint32_t usage.
2252 * crypt/sha256-block.c: Likewise.
2253 * crypt/sha256-crypt.c: Likewise.
2254 * crypt/sha256.c: Likewise.
2255 * crypt/sha512-block.c: Likewise.
2256 * crypt/sha512-crypt.c: Likewise.
2257 * crypt/sha512.c: Likewise.
2258 * debug/backtrace-tst.c: Likewise.
2259 * debug/pcprofiledump.c: Likewise.
2260 * elf/cache.c: Likewise.
2261 * elf/dl-cache.c: Likewise.
2262 * elf/dl-misc.c: Likewise.
2263 * elf/dl-profile.c: Likewise.
2264 * elf/dl-support.c: Likewise.
2265 * elf/ldconfig.c: Likewise.
2266 * elf/sprof.c: Likewise.
2267 * iconv/dummy-repertoire.c: Likewise.
2268 * iconv/iconv_charmap.c: Likewise.
2269 * iconv/skeleton.c: Likewise.
2270 * iconvdata/8bit-generic.c: Likewise.
2271 * iconvdata/cp737.h: Likewise.
2272 * iconvdata/cp775.h: Likewise.
2273 * iconvdata/ibm1008.h: Likewise.
2274 * iconvdata/ibm1025.h: Likewise.
2275 * iconvdata/ibm1046.h: Likewise.
2276 * iconvdata/ibm1097.h: Likewise.
2277 * iconvdata/ibm1112.h: Likewise.
2278 * iconvdata/ibm1122.h: Likewise.
2279 * iconvdata/ibm1123.h: Likewise.
2280 * iconvdata/ibm1124.h: Likewise.
2281 * iconvdata/ibm1129.h: Likewise.
2282 * iconvdata/ibm1130.h: Likewise.
2283 * iconvdata/ibm1132.h: Likewise.
2284 * iconvdata/ibm1133.h: Likewise.
2285 * iconvdata/ibm1137.h: Likewise.
2286 * iconvdata/ibm1140.h: Likewise.
2287 * iconvdata/ibm1141.h: Likewise.
2288 * iconvdata/ibm1142.h: Likewise.
2289 * iconvdata/ibm1143.h: Likewise.
2290 * iconvdata/ibm1144.h: Likewise.
2291 * iconvdata/ibm1145.h: Likewise.
2292 * iconvdata/ibm1146.h: Likewise.
2293 * iconvdata/ibm1147.h: Likewise.
2294 * iconvdata/ibm1148.h: Likewise.
2295 * iconvdata/ibm1149.h: Likewise.
2296 * iconvdata/ibm1153.h: Likewise.
2297 * iconvdata/ibm1154.h: Likewise.
2298 * iconvdata/ibm1155.h: Likewise.
2299 * iconvdata/ibm1156.h: Likewise.
2300 * iconvdata/ibm1157.h: Likewise.
2301 * iconvdata/ibm1158.h: Likewise.
2302 * iconvdata/ibm1160.h: Likewise.
2303 * iconvdata/ibm1161.h: Likewise.
2304 * iconvdata/ibm1162.h: Likewise.
2305 * iconvdata/ibm1163.h: Likewise.
2306 * iconvdata/ibm1164.h: Likewise.
2307 * iconvdata/ibm1166.h: Likewise.
2308 * iconvdata/ibm1167.h: Likewise.
2309 * iconvdata/ibm12712.h: Likewise.
2310 * iconvdata/ibm1390.h: Likewise.
2311 * iconvdata/ibm1399.h: Likewise.
2312 * iconvdata/ibm16804.h: Likewise.
2313 * iconvdata/ibm4517.h: Likewise.
2314 * iconvdata/ibm4899.h: Likewise.
2315 * iconvdata/ibm4909.h: Likewise.
2316 * iconvdata/ibm4971.h: Likewise.
2317 * iconvdata/ibm5347.h: Likewise.
2318 * iconvdata/ibm803.h: Likewise.
2319 * iconvdata/ibm856.h: Likewise.
2320 * iconvdata/ibm901.h: Likewise.
2321 * iconvdata/ibm902.h: Likewise.
2322 * iconvdata/ibm9030.h: Likewise.
2323 * iconvdata/ibm9066.h: Likewise.
2324 * iconvdata/ibm921.h: Likewise.
2325 * iconvdata/ibm922.h: Likewise.
2326 * iconvdata/ibm9448.h: Likewise.
2327 * iconvdata/isiri-3342.h: Likewise.
2328 * iconvdata/jis0201.h: Likewise.
2329 * include/link.h: Likewise.
2330 * include/netdb.h: Likewise.
2331 * inet/check_native.c: Likewise.
2332 * inet/check_pf.c: Likewise.
2333 * inet/getipv4sourcefilter.c: Likewise.
2334 * inet/getnameinfo.c: Likewise.
2335 * inet/getsourcefilter.c: Likewise.
2336 * inet/htonl.c: Likewise.
2337 * inet/setipv4sourcefilter.c: Likewise.
2338 * inet/setsourcefilter.c: Likewise.
2339 * inet/test-inet6_opt.c: Likewise.
2340 * inet/tst-network.c: Likewise.
2341 * locale/C-collate.c: Likewise.
2342 * locale/C-ctype.c: Likewise.
2343 * locale/C-time.c: Likewise.
2344 * locale/C-translit.h: Likewise.
2345 * locale/loadarchive.c: Likewise.
2346 * locale/programs/3level.h: Likewise.
2347 * locale/programs/charmap.c: Likewise.
2348 * locale/programs/charmap.h: Likewise.
2349 * locale/programs/ld-address.c: Likewise.
2350 * locale/programs/ld-collate.c: Likewise.
2351 * locale/programs/ld-ctype.c: Likewise.
2352 * locale/programs/ld-identification.c: Likewise.
2353 * locale/programs/ld-measurement.c: Likewise.
2354 * locale/programs/ld-messages.c: Likewise.
2355 * locale/programs/ld-monetary.c: Likewise.
2356 * locale/programs/ld-name.c: Likewise.
2357 * locale/programs/ld-numeric.c: Likewise.
2358 * locale/programs/ld-paper.c: Likewise.
2359 * locale/programs/ld-telephone.c: Likewise.
2360 * locale/programs/ld-time.c: Likewise.
2361 * locale/programs/linereader.c: Likewise.
2362 * locale/programs/locale.c: Likewise.
2363 * locale/programs/locarchive.c: Likewise.
2364 * locale/programs/locfile.h: Likewise.
2365 * locale/programs/repertoire.c: Likewise.
2366 * locale/programs/simple-hash.c: Likewise.
2367 * locale/programs/simple-hash.h: Likewise.
2368 * malloc/memusage.c: Likewise.
2369 * malloc/memusagestat.c: Likewise.
2370 * nis/nis_defaults.c: Likewise.
2371 * nis/nis_hash.c: Likewise.
2372 * nis/nis_print.c: Likewise.
2373 * nis/nis_xdr.c: Likewise.
2374 * nscd/connections.c: Likewise.
2375 * nscd/hstcache.c: Likewise.
2376 * nscd/nscd_gethst_r.c: Likewise.
2377 * nscd/nscd_getserv_r.c: Likewise.
2378 * nscd/nscd_helper.c: Likewise.
2379 * nscd/servicescache.c: Likewise.
2380 * nss/makedb.c: Likewise.
2381 * nss/nss_db/db-XXX.c: Likewise.
2382 * nss/nss_db/db-initgroups.c: Likewise.
2383 * nss/nss_db/db-netgrp.c: Likewise.
2384 * nss/nss_files/files-network.c: Likewise.
2385 * nss/nss_files/files-parse.c: Likewise.
2386 * posix/bug-regex5.c: Likewise.
2387 * posix/fnmatch_loop.c: Likewise.
2388 * posix/regcomp.c: Likewise.
2389 * posix/regexec.c: Likewise.
2390 * posix/tst-rfc3484-2.c: Likewise.
2391 * posix/tst-rfc3484-3.c: Likewise.
2392 * posix/tst-rfc3484.c: Likewise.
2393 * resolv/nss_dns/dns-canon.c: Likewise.
2394 * resolv/nss_dns/dns-network.c: Likewise.
2395 * resolv/res_init.c: Likewise.
2396 * resolv/res_mkquery.c: Likewise.
2397 * resolv/tst-aton.c: Likewise.
2398 * stdlib/cxa_atexit.c: Likewise.
2399 * stdlib/cxa_finalize.c: Likewise.
2400 * stdlib/gen-fpioconst.c: Likewise.
2401 * stdlib/strtol_l.c: Likewise.
2402 * string/tst-endian.c: Likewise.
2403 * sunrpc/auth_des.c: Likewise.
2404 * sunrpc/clnt_udp.c: Likewise.
2405 * sunrpc/rtime.c: Likewise.
2406 * sunrpc/svcauth_des.c: Likewise.
2407 * sunrpc/xdr.c: Likewise.
2408 * sunrpc/xdr_intXX_t.c: Likewise.
2409 * sunrpc/xdr_rec.c: Likewise.
2410 * sysdeps/generic/ldconfig.h: Likewise.
2411 * sysdeps/generic/ldsodefs.h: Likewise.
2412 * sysdeps/generic/memusage.h: Likewise.
2413 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
2414 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
2415 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
2416 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
2417 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
2418 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
2419 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
2420 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
2421 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
2422 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2423 * sysdeps/posix/getaddrinfo.c: Likewise.
2424 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
2425 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2426 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
2427 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
2428 * sysdeps/powerpc/test-gettimebase.c: Likewise.
2429 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2430 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
2431 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
2432 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
2433 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
2434 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
2435 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
2436 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
2437 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
2438 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
2439 * sysdeps/x86_64/dl-tls.h: Likewise.
2440 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
2441 * time/alt_digit.c: Likewise.
2442 * time/era.c: Likewise.
2443 * wcsmbs/tst-c16c32-1.c: Likewise.
2444
8c75f674
JM
24452013-05-16 Joseph Myers <joseph@codesourcery.com>
2446
2447 * math/libm-test.inc (struct test_sincos_data): New type.
2448 (RUN_TEST_LOOP_sincos): New macro.
2449 (sincos_test_data): New variable.
2450 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
2451
e6e49e59
RH
24522013-05-16 Richard Henderson <rth@redhat.com>
2453
2454 * math/atest-exp2.c (LIMB64): New macro.
2455 (CONSTSZ): New macro.
2456 (mp_exp1, mp_exp_m1, mp_log2): New variables.
2457 (hexdig): Move ...
2458 (print_mpn_fp): ... to function scope.
2459 (read_mpn_hex): Remove.
2460 (get_log2): Remove.
2461 (exp2_mpn): Use mp_log2.
2462 (main): Use mp_exp1.
2463
15c7c18d
JM
24642013-05-16 Joseph Myers <joseph@codesourcery.com>
2465
105a07df
JM
2466 * math/libm-test.inc: Remove comment about not testing "inexact"
2467 exceptions.
2468 (INEXACT_EXCEPTION): New macro.
2469 (NO_INEXACT_EXCEPTION): Likewise.
2470 (INVALID_EXCEPTION_OK): Update value.
2471 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2472 (OVERFLOW_EXCEPTION_OK): Likewise.
2473 (UNDERFLOW_EXCEPTION_OK): Likewise.
2474 (IGNORE_ZERO_INF_SIGN): Likewise.
2475 (ERRNO_UNCHANGED): Likewise.
2476 (ERRNO_EDOM): Likewise.
2477 (ERRNO_ERANGE): Likewise.
2478 (test_exceptions): Handle testing "inexact" exceptions.
2479 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
2480 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
2481 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
2482 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
2483 INEXACT_EXCEPTION.
2484 (rint_towardzero_test_data): Likewise.
2485 (rint_downward_test_data): Likewise.
2486 (rint_upward_test_data): Likewise.
2487
e9eee333
JM
2488 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
2489 with OVERFLOW_EXCEPTION.
2490 (exp10_test_data): Likewise.
2491 (exp2_test_data): Likewise.
2492 (expm1_test_data): Likewise.
2493 (lgamma_test_data): Likewise.
2494 (pow_test_data): Likewise.
2495 (tgamma_test_data): Likewise.
2496 (yn_test_data): Remove duplicate test of overflow.
2497
1c38ff73
JM
2498 * math/libm-test.inc (struct test_cc_c_data): New type.
2499 (RUN_TEST_LOOP_cc_c): New macro.
2500 (cpow_test_data): New variable.
2501 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
2502
15c7c18d
JM
2503 * math/libm-test.inc (struct test_f_L_data): New type.
2504 (RUN_TEST_LOOP_f_L): New macro.
2505 (llrint_test_data): New variable.
2506 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
2507 (llrint_tonearest_test_data): New variable.
2508 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
2509 (llrint_towardzero_test_data): New variable.
2510 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
2511 (llrint_downward_test_data): New variable.
2512 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
2513 (llrint_upward_test_data): New variable.
2514 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
2515 (llround_test_data): New variable.
2516 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
2517
f137ff13
PC
25182013-05-13 Peter Collingbourne <pcc@google.com>
2519
2520 * math/atest-exp2.c (get_log2): Remove const attribute.
2521
3608cb24
JM
25222013-05-15 Joseph Myers <joseph@codesourcery.com>
2523
2524 * math/libm-test.inc (struct test_f_l_data): New type.
2525 (RUN_TEST_LOOP_f_l): New macro.
2526 (lrint_test_data): New variable.
2527 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
2528 (lrint_tonearest_test_data): New variable.
2529 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
2530 (lrint_towardzero_test_data): New variable.
2531 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
2532 (lrint_downward_test_data): New variable.
2533 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
2534 (lrint_upward_test_data): New variable.
2535 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
2536 (lround_test_data): New variable.
2537 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
2538
39b1f617
PC
25392013-05-15 Peter Collingbourne <pcc@google.com>
2540
1deff3dc
PC
2541 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
2542 (EXTRACT_WORDS64) Use where appropriate.
2543 (INSERT_WORDS64) Likewise.
2544
791f3ba0
PC
2545 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
2546 constraints with x constraints.
2547 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
2548
39b1f617
PC
2549 * malloc/obstack.c (_obstack_compat): Add initializer.
2550
12fba011
EM
25512013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
2552
2553 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
2554 si_trapno and add si_addr_lsb to _sifields.sigfault.
2555 (si_trapno): Remove macro.
2556 (si_addr_lsb): Define new macro.
2557 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
2558
d369f531
JM
25592013-05-15 Joseph Myers <joseph@codesourcery.com>
2560
b861c6c4
JM
2561 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
2562 instead of TEST_f_l.
2563 (llrint_test_tonearest): Likewise.
2564 (llrint_test_towardzero): Likewise.
2565 (llrint_test_downward): Likewise.
2566 (llrint_test_upward): Likewise.
2567 (llround_test): Likewise.
2568
7abeee12
JM
2569 * math/libm-test.inc (struct test_f_i_data): Add comment.
2570 (RUN_TEST_LOOP_f_b): New macro.
2571 (RUN_TEST_LOOP_f_b_tg): Likewise.
2572 (finite_test_data): New variable.
2573 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
2574 (isfinite_test_data): New variable.
2575 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2576 (isinf_test_data): New variable.
2577 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2578 (isnan_test_data): New variable.
2579 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2580 (isnormal_test_data): New variable.
2581 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2582 (issignaling_test_data): New variable.
2583 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2584 (signbit_test_data): New variable.
2585 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2586
cbe8c4d3
JM
2587 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
2588 with INVALID_EXCEPTION.
2589 (acosh_test_data): Likewise.
2590 (asin_test_data): Likewise.
2591 (atanh_test_data): Likewise.
2592 (fmod_test_data): Likewise.
2593 (log_test_data): Likewise.
2594 (log10_test_data): Likewise.
2595 (log2_test_data): Likewise.
2596 (pow_test_data): Likewise.
2597 (sqrt_test_data): Likewise.
2598 (y0_test_data): Likewise.
2599 (y1_test_data): Likewise.
2600 (yn_test_data): Likewise.
2601
5575c0e5
JM
2602 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
2603 function contents.
2604
d369f531
JM
2605 * math/libm-test.inc (struct test_ff_i_data): New type.
2606 (RUN_TEST_LOOP_ff_i_tg): New macro.
2607 (isgreater_test_data): New variable.
2608 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2609 (isgreaterequal_test_data): New variable.
2610 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2611 (isless_test_data): New variable.
2612 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2613 (islessequal_test_data): New variable.
2614 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2615 (islessgreater_test_data): New variable.
2616 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2617 (isunordered_test_data): New variable.
2618 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2619
781fd748
DM
26202013-05-14 David S. Miller <davem@davemloft.net>
2621
2622 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2623
87aa21df
JM
26242013-05-14 Joseph Myers <joseph@codesourcery.com>
2625
5e908270
JM
2626 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
2627
f71172e5
JM
2628 * math/libm-test.inc (struct test_fF_f1_data): Change type of
2629 extra_test to int.
2630 (struct test_f_i_data): Change type of max_ulp to int.
2631
8cfa635a
JM
2632 * math/libm-test.inc (test_ffI_f1_data): New type.
2633 (RUN_TEST_LOOP_ffI_f1): New macro.
2634 (remquo_test_data): New variable.
2635 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
2636
2bcb36b2
JM
2637 * setjmp/tst-setjmp-fp.c: New file.
2638 * setjmp/Makefile (tests): Add tst-setjmp-fp.
2639 (link-libm): New variable.
2640 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
2641
acbd839a
JM
2642 * math/libm-test.inc (struct test_f_i_data): New type.
2643 (RUN_TEST_LOOP_f_i): New macro.
2644 (RUN_TEST_LOOP_f_i_tg): Likewise.
2645 (fpclassify_test_data): New variable.
2646 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
2647 (ilogb_test_data): New variable.
2648 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
2649
e414d745
JM
2650 * math/libm-test.inc (scalbln_test): Correct function name in END
2651 call.
2652
d9c2a0fd
JM
2653 * math/libm-test.inc (struct test_f_f1_data): Add comment.
2654 (RUN_TEST_LOOP_fI_f1): New macro.
2655 (frexp_test_data): New variable.
2656 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
2657
9dc9095d
JM
2658 * math/libm-test.inc (struct test_fF_f1_data): New type.
2659 (RUN_TEST_LOOP_fF_f1): New macro.
2660 (modf_test_data): New variable.
2661 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
2662
87aa21df
JM
2663 * math/libm-test.inc (struct test_f_f1_data): New type.
2664 (RUN_TEST_LOOP_f_f1): New macro.
2665 (gamma_test_data): New variable.
2666 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
2667 (lgamma_test_data): New variable.
2668 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
2669
141af660
CD
26702013-05-13 Carlos O'Donell <carlos@redhat.com>
2671
2672 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
2673 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
2674 (main): Comment "tls" pseudo-hwcap.
2675
6d33265c
JM
26762013-05-13 Joseph Myers <joseph@codesourcery.com>
2677
68fc074c
JM
2678 * math/libm-test.inc (struct test_fl_f_data): New type.
2679 (RUN_TEST_LOOP_fl_f): New variable.
2680 (scalbln_test_data): New variable.
2681 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
2682
243216e1
JM
2683 * math/libm-test.inc (struct test_fi_f_data): New type.
2684 (RUN_TEST_LOOP_fi_f): New macro.
2685 (ldexp_test_data): New variable.
2686 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
2687 (scalbn_test_data): New variable.
2688 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
2689
6a1992e2
JM
2690 * math/libm-test.inc (struct test_c_f_data): New type.
2691 (RUN_TEST_LOOP_c_f): New macro.
2692 (cabs_test_data): New variable.
2693 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
2694 (carg_test_data): New variable.
2695 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
2696 (cimag_test_data): New variable.
2697 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
2698 (creal_test_data): New variable.
2699 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
2700
0e400df5
JM
2701 * math/libm-test.inc (struct test_if_f_data): New type.
2702 (RUN_TEST_LOOP_if_f): New macro.
2703 (jn_test_data): New variable.
2704 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
2705 (yn_test_data): New variable.
2706 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
2707
6d33265c
JM
2708 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
2709
f98ece5f
AZ
27102013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2711
2712 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
2713 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
2714
0f7d347b
SP
27152013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2716
43fe811b
SP
2717 * benchtests/Makefile (CPPFLAGS-nonlib): Add
2718 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
2719 (bench-deps): Add bench-timing.h.
2720 * benchtests-bench-skeleton.c: Include bench-timing.h.
2721 (main): Use TIMING_* macros instead of clock_gettime.
2722 * benchtests/bench-timing.h: New file.
2723
0f7d347b
SP
2724 [BZ #14582]
2725 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
2726 Renamed from _LIB_VERSION.
2727 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
2728
601a3a5f
JM
27292013-05-12 Joseph Myers <joseph@codesourcery.com>
2730
4f184d30
JM
2731 * math/libm-test.inc (struct test_fff_f_data): New type.
2732 (RUN_TEST_LOOP_fff_f): New macro.
2733 (fma_test_data): New variable.
2734 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
2735 (fma_towardzero_test_data): New variable.
2736 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
2737 (fma_downward_test_data): New variable.
2738 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
2739 (fma_upward_test_data): New variable.
2740 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
2741
08198877
JM
2742 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
2743 (struct test_c_c_data): New type.
2744 (RUN_TEST_LOOP_c_c): New macro.
2745 (cacos_test_data): New variable.
2746 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
2747 (cacosh_test_data): New variable.
2748 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
2749 (casin_test_data): New variable.
2750 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
2751 (casinh_test_data): New variable.
2752 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
2753 (catan_test_data): New variable.
2754 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
2755 (catanh_test_data): New variable.
2756 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
2757 (ccos_test_data): New variable.
2758 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
2759 (ccosh_test_data): New variable.
2760 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
2761 (cexp_test_data): New variable.
2762 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
2763 (clog_test_data): New variable.
2764 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
2765 (clog10_test_data): New variable.
2766 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
2767 (conj_test_data): New variable.
2768 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
2769 (cproj_test_data): New variable.
2770 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
2771 (csin_test_data): New variable.
2772 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
2773 (csinh_test_data): New variable.
2774 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
2775 (csqrt_test_data): New variable.
2776 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
2777 (ctan_test_data): New variable.
2778 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
2779 (ctan_tonearest_test_data): New variable.
2780 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
2781 (ctan_towardzero_test_data): New variable.
2782 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
2783 (ctan_downward_test_data): New variable.
2784 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
2785 (ctan_upward_test_data): New variable.
2786 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
2787 (ctanh_test_data): New variable.
2788 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
2789 (ctanh_tonearest_test_data): New variable.
2790 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
2791 (ctanh_towardzero_test_data): New variable.
2792 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
2793 (ctanh_downward_test_data): New variable.
2794 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
2795 (ctanh_upward_test_data): New variable.
2796 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
2797 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
2798 of BUILD_COMPLEX.
2799
601a3a5f
JM
2800 * math/libm-test.inc (struct test_ff_f_data): New type.
2801 (struct test_ff_f_data_nexttoward): Likewise.
2802 (RUN_TEST_LOOP_2_f): New macro.
2803 (RUN_TEST_LOOP_ff_f): Likewise.
2804 (atan2_test_data): New variable.
2805 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
2806 (copysign_test_data): New variable.
2807 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
2808 (fdim_test_data): New variable.
2809 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
2810 (fmax_test_data): New variable.
2811 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
2812 (fmin_test_data): New variable.
2813 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
2814 (fmod_test_data): New variable.
2815 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
2816 (hypot_test_data): New variable.
2817 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
2818 (nextafter_test_data): New variable.
2819 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
2820 (nexttoward_test_data): New variable.
2821 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
2822 (pow_test_data): New variable.
2823 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
2824 (pow_tonearest_test_data): New variable.
2825 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
2826 (pow_towardzero_test_data): New variable.
2827 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
2828 (pow_downward_test_data): New variable.
2829 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
2830 (pow_upward_test_data): New variable.
2831 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
2832 (remainder_test_data): New variable.
2833 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
2834 (scalb_test_data): New variable.
2835 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
2836 * sysdeps/i386/fpu/libm-test-ulps: Update.
2837
74c57478
JM
28382013-05-11 Joseph Myers <joseph@codesourcery.com>
2839
8329e4da
JM
2840 * math/libm-test.inc (fma_test): Use max_value instead of local
2841 variable fltmax.
2842 (nextafter_test): Likewise.
2843
74c57478
JM
2844 * math/libm-test.inc (acos_towardzero_test_data): New variable.
2845 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2846 (acos_downward_test_data): New variable.
2847 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2848 (acos_upward_test_data): New variable.
2849 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2850 (acosh_test_data): New variable.
2851 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
2852 (asin_test_data): New variable.
2853 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
2854 (asin_tonearest_test_data): New variable.
2855 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2856 (asin_towardzero_test_data): New variable.
2857 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2858 (asin_downward_test_data): New variable.
2859 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2860 (asin_upward_test_data): New variable.
2861 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2862 (asinh_test_data): New variable.
2863 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
2864 (atan_test_data): New variable.
2865 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
2866 (atanh_test_data): New variable.
2867 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
2868 (cbrt_test_data): New variable.
2869 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
2870 (ceil_test_data): New variable.
2871 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
2872 (cos_test_data): New variable.
2873 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
2874 (cos_tonearest_test_data): New variable.
2875 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2876 (cos_towardzero_test_data): New variable.
2877 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2878 (cos_downward_test_data): New variable.
2879 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2880 (cos_upward_test_data): New variable.
2881 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2882 (cosh_test_data): New variable.
2883 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
2884 (cosh_tonearest_test_data): New variable.
2885 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2886 (cosh_towardzero_test_data): New variable.
2887 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2888 (cosh_downward_test_data): New variable.
2889 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2890 (cosh_upward_test_data): New variable.
2891 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2892 (erf_test_data): New variable.
2893 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
2894 (erfc_test_data): New variable.
2895 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
2896 (exp_test_data): New variable.
2897 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
2898 (exp_tonearest_test_data): New variable.
2899 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2900 (exp_towardzero_test_data): New variable.
2901 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2902 (exp_downward_test_data): New variable.
2903 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2904 (exp_upward_test_data): New variable.
2905 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2906 (exp10_test_data): New variable.
2907 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
2908 (exp2_test_data): New variable.
2909 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
2910 (expm1_test_data): New variable.
2911 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
2912 (fabs_test_data): New variable.
2913 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
2914 (floor_test_data): New variable.
2915 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
2916 (j0_test_data): New variable.
2917 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
2918 (j1_test_data): New variable.
2919 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
2920 (log_test_data): New variable.
2921 (log_test): Run tests with RUN_TEST_LOOP_f_f.
2922 (log10_test_data): New variable.
2923 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
2924 (log1p_test_data): New variable.
2925 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
2926 (log2_test_data): New variable.
2927 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
2928 (logb_test_data): New variable.
2929 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
2930 (logb_downward_test_data): New variable.
2931 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2932 (nearbyint_test_data): New variable.
2933 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
2934 (rint_test_data): New variable.
2935 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
2936 (rint_tonearest_test_data): New variable.
2937 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2938 (rint_towardzero_test_data): New variable.
2939 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2940 (rint_downward_test_data): New variable.
2941 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2942 (rint_upward_test_data): New variable.
2943 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2944 (round_test_data): New variable.
2945 (round_test): Run tests with RUN_TEST_LOOP_f_f.
2946 (sin_test_data): New variable.
2947 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
2948 (sin_tonearest_test_data): New variable.
2949 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2950 (sin_towardzero_test_data): New variable.
2951 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2952 (sin_downward_test_data): New variable.
2953 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2954 (sin_upward_test_data): New variable.
2955 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2956 (sinh_test_data): New variable.
2957 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
2958 (sinh_tonearest_test_data): New variable.
2959 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2960 (sinh_towardzero_test_data): New variable.
2961 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2962 (sinh_downward_test_data): New variable.
2963 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2964 (sinh_upward_test_data): New variable.
2965 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2966 (sqrt_test_data): New variable.
2967 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
2968 (tan_test_data): New variable.
2969 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
2970 (tan_tonearest_test_data): New variable.
2971 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2972 (tan_towardzero_test_data): New variable.
2973 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2974 (tan_downward_test_data): New variable.
2975 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2976 (tan_upward_test_data): New variable.
2977 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2978 (tanh_test_data): New variable.
2979 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
2980 (tgamma_test_data): New variable.
2981 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
2982 (trunc_test_data): New variable.
2983 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
2984 (y0_test_data): New variable.
2985 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
2986 (y1_test_data): New variable.
2987 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
2988 (significand_test_data): New variable.
2989 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
2990
7187d844
CG
29912013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
2992
2993 [BZ #12387]
2994 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
2995
f63fae73
PT
29962013-05-10 Pino Toscano <toscano.pino@tiscali.it>
2997
2998 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
2999
8a67a4b3
AJ
30002013-05-10 Andreas Jaeger <aj@suse.de>
3001
3002 [BZ #15448]
3003 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
3004 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
3005
51df539d
JM
30062013-05-10 Joseph Myers <joseph@codesourcery.com>
3007
3008 * math/gen-libm-test.pl (adjust_arg): New function.
3009 (special_functions): Handle generating output in both functions
3010 and arrays.
3011 (parse_args): Likewise.
3012 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
3013 $in_func argument to parse_args.
3014 * math/libm-test.inc (struct test_f_f_data): New type.
3015 (IF_ROUND_INIT_): New macro.
3016 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
3017 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
3018 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
3019 (IF_ROUND_INIT_FE_UPWARD): Likewise.
3020 (ROUND_RESTORE_): Likewise.
3021 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
3022 (ROUND_RESTORE_FE_TONEAREST): Likewise.
3023 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
3024 (ROUND_RESTORE_FE_UPWARD): Likewise.
3025 (RUN_TEST_LOOP_f_f): New macro.
3026 (acos_test_data): New variable.
3027 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
3028 (acos_tonearest_test_data): New variable.
3029 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3030
5c637fe5
SP
30312013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3032
3033 * benchtests/bench-skeleton.c (startup): Fix coding style.
3034
ab2b9461
JM
30352013-05-10 Joseph Myers <joseph@codesourcery.com>
3036
3037 [BZ #6809]
3038 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
3039 negative infinity argument.
3040 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
3041 negative infinity argument.
3042 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
3043 negative infinity argument.
3044 * math/libm-test.inc (tgamma_test): Expect errno to be set for
3045 domain errors.
3046
4c0fe6fe
FW
30472013-05-10 Florian Weimer <fweimer@redhat.com>
3048
3049 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
3050 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
3051 * iconv/iconv_prog.c (main): Likewise.
3052 * locale/programs/charmap-dir.c (charmap_readdir)
3053 (fopen_uncompressed): Likewise.
3054 * locale/programs/locfile.c (siblings_uncached)
3055 (write_locale_data): Use lstat64 instead of lstat.
3056 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
3057 stat.
3058
a3375d29
AJ
30592013-05-10 Andreas Jaeger <aj@suse.de>
3060
3061 [BZ #15395]
3062 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
3063 localization.
3064 Include <locale.h>.
3065
36129722
CD
30662013-05-09 Carlos O'Donell <carlos@redhat.com>
3067
3068 * elf/dl-close.c (_dl_close_worker): Add comments.
3069
faa7f811
JM
30702013-05-09 Joseph Myers <joseph@codesourcery.com>
3071
ed41ffef
JM
3072 [BZ #15359]
3073 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
3074 high part of pi/2.
3075 (__ieee754_rem_pio2l): Update comments.
3076
d0213cd0
JM
3077 [BZ #15429]
3078 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
3079 high part of pi/2.
3080 (__ieee754_rem_pio2l): Update comments.
3081
0d3e777a
JM
3082 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
3083 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
3084
24f56066
JM
3085 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
3086 M_PI_4l.
3087
faa7f811
JM
3088 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
3089 (M_PI_34_LOG10El): Likewise.
3090 (M_PI2_LOG10El): Likewise.
3091 (M_PI4_LOG10El): Likewise.
3092 (M_PI_LOG10El): Likewise.
3093
e9a5e0fd
AZ
30942013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3095
3096 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3097
d8cd06db
JM
30982013-05-08 Joseph Myers <joseph@codesourcery.com>
3099
a0d9f9d7
JM
3100 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
3101 (MINUS_ZERO_INIT): Likewise.
3102 (PLUS_INFTY_INIT): Likewise.
3103 (MINUS_INFTY_INIT): Likewise.
3104 (QNAN_VALUE_INIT): Likewise.
3105 (MAX_VALUE_INIT): Likewise.
3106 (MIN_VALUE_INIT): Likewise.
3107 (MIN_SUBNORM_VALUE_INIT): Likewise.
3108 (plus_zero): Initialize with PLUS_ZERO_INIT.
3109 (minus_zero): Initialize with MINUS_ZERO_INIT.
3110 (plus_infty): Initialize with PLUS_INFTY_INIT.
3111 (minus_infty): Initialize with MINUS_INFTY_INIT.
3112 (qnan_value): Initialize with QNAN_VALUE_INIT.
3113 (max_value): Initialize with MAX_VALUE_INIT.
3114 (min_value): Initialize with MIN_VALUE_INIT.
3115 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
3116
ae08db3b
JM
3117 * math/libm-test.inc (RUN_TEST_if_f): New macro.
3118 (jn_test): Use TEST_if_f instead of TEST_ff_f.
3119 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
3120 (yn_test): Use TEST_if_f instead of TEST_ff_f.
3121
f44bf14a
JM
3122 * math/libm-test.inc (RUN_TEST_f_f): New macro.
3123 (RUN_TEST_2_f): Likewise.
3124 (RUN_TEST_ff_f): Likewise.
3125 (RUN_TEST_fi_f): Likewise.
3126 (RUN_TEST_fl_f): Likewise.
3127 (RUN_TEST_fff_f): Likewise.
3128 (RUN_TEST_c_f): Likewise.
3129 (RUN_TEST_f_f1): Likewise.
3130 (RUN_TEST_fF_f1): Likewise.
3131 (RUN_TEST_fI_f1): Likewise.
3132 (RUN_TEST_ffI_f1): Likewise.
3133 (RUN_TEST_c_c): Likewise.
3134 (RUN_TEST_cc_c): Likewise.
3135 (RUN_TEST_f_i): Likewise.
3136 (RUN_TEST_f_i_tg): Likewise.
3137 (RUN_TEST_ff_i_tg): Likewise.
3138 (RUN_TEST_f_b): Likewise.
3139 (RUN_TEST_f_b_tg): Likewise.
3140 (RUN_TEST_f_l): Likewise.
3141 (RUN_TEST_f_L): Likewise.
3142 (RUN_TEST_sincos): Likewise.
3143 * math/gen-libm-test.pl (new_test): Take new argument to indicate
3144 whether to show exceptions. Do not include ");\n" in return
3145 value.
3146 (special_functions): Output call to RUN_TEST_sincos instead of
3147 check_float calls. Update calls to new_test.
3148 (parse_args): Output call to single RUN_TEST_* macro instead of
3149 check_* calls and other assignments. Update calls to new_test.
3150
d8cd06db
JM
3151 [BZ #2546]
3152 [BZ #2560]
3153 [BZ #5159]
3154 [BZ #15426]
3155 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
3156 input to result for tgamma overflow.
3157 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
3158 (gamma_coeff): New variable.
3159 (NCOEFF): New macro.
3160 (gamma_positive): New function.
3161 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
3162 underflow here. Use gamma_positive instead of exp (lgamma) for
3163 other arguments.
3164 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
3165 (gamma_coeff): New variable.
3166 (NCOEFF): New macro.
3167 (gammaf_positive): New function.
3168 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
3169 underflow here. Use gamma_positive instead of exp (lgamma) for
3170 other arguments.
3171 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
3172 (gamma_coeff): New variable.
3173 (NCOEFF): New macro.
3174 (gammal_positive): New function.
3175 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
3176 underflow here. Use gamma_positive instead of exp (lgamma) for
3177 other arguments.
3178 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
3179 (gamma_coeff): New variable.
3180 (NCOEFF): New macro.
3181 (gammal_positive): New function.
3182 (__ieee754_gammal_r): Handle positive infinity, overflow and
3183 underflow here. Handle NaN the same as positive infinity. Remove
3184 check x < 0xffffffff for negative integers. Use gamma_positive
3185 instead of exp (lgamma) for other arguments.
3186 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
3187 (gamma_coeff): New variable.
3188 (NCOEFF): New macro.
3189 (gammal_positive): New function.
3190 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
3191 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
3192 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
3193 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
3194 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
3195 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
3196 * sysdeps/generic/math_private.h (__gamma_productf): New
3197 prototype.
3198 (__gamma_product): Likewise.
3199 (__gamma_productl): Likewise.
3200 * math/Makefile (libm-calls): Add gamma_product.
3201 * math/libm-test.inc (tgamma_test): Add more tests.
3202 * sysdeps/i386/fpu/libm-test-ulps: Update.
3203 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3204
bb7cf681
OB
32052013-05-08 Ondřej Bílka <neleai@seznam.cz>
3206
3207 * benchtests/bench-skeleton.c (main): Preheat CPU.
3208
ba853947
AJ
32092013-05-07 Aurelien Jarno <aurelien@aurel32.net>
3210
3211 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
3212
8347c74c
RM
32132013-05-07 Roland McGrath <roland@hack.frob.com>
3214
3215 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
3216 and _dl_skip_args_internal.
3217
e8dd4791
CD
32182013-05-07 Carlos O'Donell <carlos@redhat.com>
3219
3220 * manual/message.texi (Message Translation): Talk about users.
3221 Message to key mapping impacts design.
3222
c7405830
RM
32232013-05-06 Roland McGrath <roland@hack.frob.com>
3224
a9173057
RM
3225 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
3226
976e2f03
RM
3227 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
3228
9723ffc5
RM
3229 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
3230 * sysdeps/wordsize-64/glob64.c: ... here.
3231
962e6658
RM
3232 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
3233 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
3234 New macros.
3235
ee586a6d
RM
3236 * debug/getlogin_r_chk.c: Moved to ...
3237 * login/getlogin_r_chk.c: ... here.
3238 * debug/Makefile (routines): Move getlogin_r_chk to ...
3239 * login/Makefile (routines): ... here.
3240 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
3241 * login/Versions (libc: GLIBC_2.4): ... here.
3242
355f9165
RM
3243 * io/poll.c (__poll): Renamed from poll.
3244 Add libc_hidden_def.
3245 (poll): Define as weak alias.
3246
bd9ffde6
RM
3247 * debug/ptsname_r_chk.c: Moved to ...
3248 * login/ptsname_r_chk.c: ... here.
3249 * debug/Makefile (routines): Move ptsname_r_chk to ...
3250 * login/Makefile (routines): ... here.
3251 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
3252 * login/Versions (libc: GLIBC_2.4): ... here.
3253
8fb16a04
RM
3254 * posix/getlogin.c: Moved to ...
3255 * login/getlogin.c: ... here.
3256 * posix/getlogin_r.c: Moved to ...
3257 * login/getlogin_r.c: ... here.
3258 * posix/getlogin_r.c: Moved to ...
3259 * login/getlogin_r.c: ... here.
3260 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
3261 * login/Makefile (routines): ... here.
3262 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
3263 * login/Versions (libc: GLIBC_2.0): ... here.
3264
b99b892f
RM
3265 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
3266 (setrlimit): Define as weak alias.
3267
c7405830
RM
3268 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
3269 Call __ names for open, ftruncate, and close.
3270 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
3271 (truncate): Define as weak alias.
3272
5bf96de5
JM
32732013-05-06 Joseph Myers <joseph@codesourcery.com>
3274
9ea3513c
JM
3275 * math/gen-libm-test.pl (parse_args): Initialize x before each
3276 test of frexp, modf and remquo.
3277
5bf96de5
JM
3278 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
3279 test signgam value.
3280
16e616a7
AZ
32812013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3282
3283 [BZ #15418]
3284 [BZ #15419]
3285 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
3286 internal tests.
3287 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3288
d5e82754
RM
32892013-05-06 Roland McGrath <roland@hack.frob.com>
3290
3291 * elf/dl-writev.h: New file.
3292 * elf/dl-misc.c: Include it.
3293 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
3294 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
3295
a7548d41
JM
32962013-05-04 Joseph Myers <joseph@codesourcery.com>
3297
b7dab1e4
JM
3298 * math/libm-test.inc (noXFails): Remove variable.
3299 (noXPasses): Likewise.
3300 (BUILD_COMPLEX_INT): Remove macro.
3301 (print_screen): Remove xfail argument.
3302 (print_screen_max_error): Likewise.
3303 (update_stats): Likewise.
3304 (print_max_error): Likewise. Update calls to other affected
3305 functions.
3306 (print_complex_max_error): Likewise.
3307 (test_single_exception): Update calls to print_screen.
3308 (test_single_errno): Likewise.
3309 (check_float_internal): Remove xfail argument. Update calls to
3310 other affected functions.
3311 (check_float): Likewise.
3312 (check_complex): Likewise.
3313 (check_int): Likewise.
3314 (check_long): Likewise.
3315 (check_bool): Likewise.
3316 (check_longlong): Likewise.
3317 (main): Don't print noXFails and noXPasses.
3318 * math/gen-libm-test.pl (top level): Don't mention expected
3319 failure handling in comment.
3320 (new_test): Don't handle expected failures.
3321 (parse_args): Don't mention expected failure handling in comment.
3322 (generate_testfile): Don't handle expected failures.
3323 (parse_ulps): Likewise.
3324 (print_ulps_file): Likewise.
3325 (get_failure): Remove function.
3326 (output_test): Don't handle expected failures.
3327 * make/README.libm-test: Don't mention expected failure handling.
3328
a7548d41
JM
3329 * math/libm-test.inc (plus_zero): Make const. Add initializer.
3330 (minus_zero): Likewise.
3331 (plus_infty): Likewise.
3332 (minus_infty): Likewise.
3333 (qnan_value): Likewise.
3334 (max_value): Likewise.
3335 (min_value): Likewise.
3336 (min_subnorm_value): Likewise.
3337 (initialize): Do not initialize those variables dynamically.
3338
60bfd54c
RM
33392013-05-03 Roland McGrath <roland@hack.frob.com>
3340
cc0e6ed8
RM
3341 * io/open.c (__open_2): Moved to ...
3342 * io/open_2.c: ... this new file.
3343 * io/open64.c (__open64_2): Moved to ...
3344 * io/open64_2.c: ... this new file.
3345 * io/openat.c (__openat_2): Moved to ...
3346 * io/openat_2.c: ... this new file.
3347 * io/openat64.c (__openat64_2): Moved to ...
3348 * io/openat64_2.c: ... this new file.
3349 * io/Makefile (routines): Add them.
3350 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
3351 * sysdeps/unix/sysv/linux/open_2.c: File removed.
3352 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
3353 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
3354 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
3355 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
3356 (__openat64): Add hidden_ver.
3357 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
3358 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
3359
60bfd54c
RM
3360 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
3361 Separately conditionalize setting of GLRO(dl_sysinfo) so
3362 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
3363 as well, but the actual setting is only under [NEED_DL_SYSINFO].
3364
83e7640f
AZ
33652013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3366
3367 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
3368 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
3369 definition.
3370 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
3371 * sysdeps/unix/sysv/linux/powerpc/init-first.c
3372 (_libc_vdso_platform_setup): Add __vdso_time initialization.
3373 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
3374 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
3375
d5dc2af3
JM
33762013-05-03 Joseph Myers <joseph@codesourcery.com>
3377
c31a5b1e
JM
3378 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
3379 test signgam value.
3380
d5dc2af3
JM
3381 * math/libm-test.inc (hypot_test): Do not use
3382 IGNORE_ZERO_INF_SIGN.
3383
164fd39d
AJ
33842013-05-03 Andreas Jaeger <aj@suse.de>
3385
3386 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
3387 Linux 3.9.
3388 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
3389 (PF_MAX): Adjust for VSOCK change.
3390
8237f48c
AZ
33912013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3392
3393 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3394
9df02941
CD
33952013-05-02 Carlos O'Donell <carlos@redhat.com>
3396
3397 [BZ #15264]
3398 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
3399 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
3400 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
3401
d422395e
DM
34022013-05-02 David S. Miller <davem@davemloft.net>
3403
3404 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3405
a07c5731
OB
34062013-05-01 Ondřej Bílka <neleai@seznam.cz>
3407
3408 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
3409
1324e37f
RM
34102013-05-01 Roland McGrath <roland@hack.frob.com>
3411
3412 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
3413
0695940b
RS
34142013-05-01 Richard Smith <richard@metafoo.co.uk>
3415
bb5f27ad 3416 [BZ #14952]
0695940b
RS
3417 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
3418 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
3419 Use __attribute__ ((__gnu_inline__)).
3420 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
3421 Don't use __attribute__ ((__gnu_inline__)).
3422
10de07f5
JM
34232013-05-01 Joseph Myers <joseph@codesourcery.com>
3424
3425 [BZ #15423]
3426 * math/s_catan.c (__catan): Handle small real or imaginary part of
3427 input specially to avoid spurious underflow.
3428 * math/s_catanf.c (__catanf): Likewise.
3429 * math/s_catanh.c (__catanh): Likewise.
3430 * math/s_catanhf.c (__catanhf): Likewise.
3431 * math/s_catanhl.c (__catanhl): Likewise.
3432 * math/s_catanl.c (__catanl): Likewise.
3433 * math/libm-test.inc (catan_test): Add more tests.
3434 (catanh_test): Likewise.
3435 * sysdeps/i386/fpu/libm-test-ulps: Update.
3436 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3437
cb4d5414
AZ
34382013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3439
3440 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3441
caf84319
JM
34422013-04-30 Joseph Myers <joseph@codesourcery.com>
3443
3444 [BZ #15416]
3445 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
3446 accurately for denominator in atan2.
3447 * math/s_catanf.c (__catanf): Likewise.
3448 * math/s_catanh.c (__catanh): Likewise.
3449 * math/s_catanhf.c (__catanhf): Likewise.
3450 * math/s_catanhl.c (__catanhl): Likewise.
3451 * math/s_catanl.c (__catanl): Likewise.
3452 * math/libm-test.inc (catan_test): Add more tests.
3453 (catanh_test): Likewise.
3454 * sysdeps/i386/fpu/libm-test-ulps: Update.
3455 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3456
d569c6ee
SP
34572013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3458
6dbe713d
SP
3459 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
3460
f0ee064b
SP
3461 * benchtests/Makefile (bench): Remove slow benchmarks.
3462 * benchtests/atan-inputs: Add slow benchmark inputs.
3463 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
3464 (BENCH_FUNC): Accept variant offset.
3465 (VARIANT): Define.
3466 * benchtests/bench-skeleton.c (main): Run benchmark for each
3467 variant.
3468 * benchtests/cos-inputs: Add slow benchmark inputs.
3469 * benchtests/exp-inputs: Likewise.
3470 * benchtests/pow-inputs: Likewise.
3471 * benchtests/sin-inputs: Likewise.
3472 * benchtests/slowatan-inputs: Remove.
3473 * benchtests/slowatan.c: Remove.
3474 * benchtests/slowcos-inputs: Remove.
3475 * benchtests/slowcos.c: Remove.
3476 * benchtests/slowexp-inputs: Remove.
3477 * benchtests/slowexp.c: Remove.
3478 * benchtests/slowpow-inputs: Remove.
3479 * benchtests/slowpow.c: Remove.
3480 * benchtests/slowsin-inputs: Remove.
3481 * benchtests/slowsin.c: Remove.
3482 * benchtests/slowtan-inputs: Remove.
3483 * benchtests/slowtan.c: Remove.
3484 * benchtests/tan-inputs: Add slow benchmark inputs.
3485 * scripts/bench.pl: Parse comments and directives.
3486
d569c6ee
SP
3487 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
3488 in CPPFLAGS.
3489 ($(objpfx)bench-%.c): Remove *-ITER.
3490 * benchtests/bench-modf.c: Remove definition of ITER.
3491 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
3492 (main): Loop for DURATION seconds instead of fixed number of
3493 iterations.
3494 * scripts/bench.pl: Don't expect iterations in parameters.
3495
a6a242fe
RM
34962013-04-29 Roland McGrath <roland@hack.frob.com>
3497
3498 * io/fchdir.c (__fchdir): Renamed from fchdir.
3499 (fchdir): Define as weak alias.
3500
f2da7793
JM
35012013-04-29 Joseph Myers <joseph@codesourcery.com>
3502
3503 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
3504 (ERRNO_EDOM): Likewise.
3505 (ERRNO_ERANGE): Likewise.
3506 (noErrnoTests): New variable.
3507 (init_max_error): Set errno to 0.
3508 (test_single_errno): New function.
3509 (test_errno): Likewise.
3510 (check_float_internal): Call test_errno. Set errno to 0.
3511 (check_complex): Refer to errno tests in comment.
3512 (check_int): Call test_errno. Set errno to 0.
3513 (check_long): Likewise.
3514 (check_bool): Likewise.
3515 (check_longlong): Likewise.
3516 (cos_test): Use ERRNO_* flags for errno tests instead of
3517 check_int.
3518 (expm1_test): Likewise.
3519 (fmod_test): Likewise.
3520 (ilogb_test): Likewise.
3521 (lgamma_test): Likewise.
3522 (pow_test): Likewise.
3523 (remainder_test): Likewise.
3524 (sin_test): Likewise.
3525 (tan_test): Likewise.
3526 (yn_test): Likewise.
3527 (initialize): Set errno to 0.
3528 (main): Print number of errno tests.
3529 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
3530
b1a36ceb
AJ
35312013-04-29 Andreas Jaeger <aj@suse.de>
3532
c3ed8088
AJ
3533 [BZ #15084]
3534 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
3535 and RES_USEVC.
3536
f1a24198
AJ
3537 [BZ #15085]
3538 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
3539 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
3540 unimplemented.
3541
9ce3b2cb
AJ
3542 [BZ #15380]
3543 * stdlib/random.c (__initstate): Return NULL if
3544 __initstate fails.
3545
f1a24198 3546 [BZ #15086]
b1a36ceb
AJ
3547 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
3548 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
3549 RES_SNGLKUPREOP.
3550
7e7b6f36
AZ
35512013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3552
3553 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3554
4d14f449
JM
35552013-04-29 Joseph Myers <joseph@codesourcery.com>
3556
3557 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
3558 of individual tests.
3559 (casin_test): Likewise.
3560 (casinh_test): Likewise.
3561
5b4217d7
JM
35622013-04-27 Joseph Myers <joseph@codesourcery.com>
3563
3564 [BZ #15409]
3565 * math/s_catan.c (__catan): Handle arguments with large real or
3566 imaginary part separately without squaring.
3567 * math/s_catanf.c (__catanf): Likewise.
3568 * math/s_catanh.c (__catanh): Likewise.
3569 * math/s_catanhf.c (__catanhf): Likewise.
3570 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3571 and redefine.
3572 (__catanhl): Handle arguments with large real or imaginary part
3573 separately without squaring.
3574 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3575 and redefine.
3576 (__catanl): Handle arguments with large real or imaginary part
3577 separately without squaring.
3578 * math/libm-test.inc (catan_test): Add more tests.
3579 (catanh_test): Likewise.
3580 * sysdeps/i386/fpu/libm-test-ulps: Update.
3581 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3582
4220c3ef
AJ
35832013-04-27 Andreas Jaeger <aj@suse.de>
3584
3585 [BZ #15007]
3586 * stdlib/stdlib.h: Update guards for qecvt.
3587 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
3588 <stdlib.h>.
3589
4721b2d1
AM
35902013-04-27 Allan McRae <allan@archlinux.org>
3591
3592 * sysdeps/i386/fpu/libm-test-ulps: Update.
3593
f0302940
JM
35942013-04-26 Joseph Myers <joseph@codesourcery.com>
3595
9457fd95
JM
3596 [BZ #15406]
3597 * math/s_catan.c: Include <float.h>.
3598 (__catan): Ensure underflow exception occurs for underflowed
3599 result.
3600 * math/s_catanf.c: Include <float.h>.
3601 (__catanf): Ensure underflow exception occurs for underflowed
3602 result.
3603 * math/s_catanh.c: Include <float.h>.
3604 (__catanh): Ensure underflow exception occurs for underflowed
3605 result.
3606 * math/s_catanhf.c: Include <float.h>.
3607 (__catanhf): Ensure underflow exception occurs for underflowed
3608 result.
3609 * math/s_catanhl.c: Include <float.h>.
3610 (__catanhl): Ensure underflow exception occurs for underflowed
3611 result.
3612 * math/s_catanl.c: Include <float.h>.
3613 (__catanl): Ensure underflow exception occurs for underflowed
3614 result.
3615 * math/libm-test.inc (catan_test): Add more tests.
3616 (catanh_test): Likewise.
3617
f0302940
JM
3618 [BZ #15405]
3619 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
3620 underflowed result.
3621 * math/s_ccoshf.c (__ccoshf): Likewise.
3622 * math/s_ccoshl.c (__ccoshl): Likewise.
3623 * math/s_csin.c (__csin): Likewise.
3624 * math/s_csinf.c (__csinf): Likewise.
3625 * math/s_csinh.c (__csinh): Likewise.
3626 * math/s_csinhf.c (__csinhf): Likewise.
3627 * math/s_csinhl.c (__csinhl): Likewise.
3628 * math/s_csinl.c (__csinl): Likewise.
3629 * math/libm-test.inc (ccos_test): Add more tests.
3630 (ccosh_test): Likewise.
3631 (csin_test): Likewise.
3632 (csinh_test): Likewise.
3633
aa630f59
AZ
36342013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3635
3636 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
3637 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
3638 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
3639 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
3640 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
3641 powerpc/power5+/fpu folders.
3642 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
3643
3644
1b835983
MT
36452013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
3646
3647 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3648
73709b26
JM
36492013-04-25 Joseph Myers <joseph@codesourcery.com>
3650
3651 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
3652 additions to variable.
3653 [$(config-machine) = x86_64] (modules-names): Likewise.
3654 ($(objpfx)tst-audit3): Remove dependency.
3655 ($(objpfx)tst-audit3.out): Likewise.
3656 ($(objpfx)tst-audit4): Likewise.
3657 ($(objpfx)tst-audit4.out): Likewise.
3658 ($(objpfx)tst-audit5): Likewise.
3659 ($(objpfx)tst-audit5.out): Likewise.
3660 ($(objpfx)tst-audit6): Likewise.
3661 ($(objpfx)tst-audit6.out): Likewise.
3662 ($(objpfx)tst-audit7): Likewise.
3663 ($(objpfx)tst-audit7.out): Likewise.
3664 (tst-audit3-ENV): Remove variable.
3665 (tst-audit4-ENV): Likewise.
3666 (tst-audit5-ENV): Likewise.
3667 (tst-audit6-ENV): Likewise.
3668 (tst-audit7-ENV): Likewise.
3669 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
3670 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
3671 addition to variable.
3672 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
3673 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
3674 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
3675 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
3676 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
3677 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
3678 tst-audit3, tst-audit4 and tst-audit5.
3679 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
3680 tst-audit6 and tst-audit7.
3681 [$(subdir) = elf] (modules-names): Add audit modules for those
3682 tests.
3683 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
3684 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
3685 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
3686 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
3687 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
3688 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
3689 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
3690 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
3691 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
3692 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
3693 [$(subdir) = elf] (tst-audit3-ENV): New variable.
3694 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
3695 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
3696 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
3697 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
3698 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
3699 Likewise.
3700 [$(subdir) = elf && $(config-cflags-avx) = yes]
3701 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
3702 [$(subdir) = elf && $(config-cflags-avx) = yes]
3703 (CFLAGS-tst-auditmod4a.c): Likewise.
3704 [$(subdir) = elf && $(config-cflags-avx) = yes]
3705 (CFLAGS-tst-auditmod4b.c): Likewise.
3706 [$(subdir) = elf && $(config-cflags-avx) = yes]
3707 (CFLAGS-tst-auditmod6b.c): Likewise.
3708 [$(subdir) = elf && $(config-cflags-avx) = yes]
3709 (CFLAGS-tst-auditmod6c.c): Likewise.
3710 [$(subdir) = elf && $(config-cflags-avx) = yes]
3711 (CFLAGS-tst-auditmod7b.c): Likewise.
3712 * elf/tst-audit3.c: Move to ...
3713 * sysdeps/x86_64/tst-audit3.c: ... here.
3714 * elf/tst-audit4.c: Move to ...
3715 * sysdeps/x86_64/tst-audit4.c: ... here.
3716 * elf/tst-audit5.c: Move to ...
3717 * sysdeps/x86_64/tst-audit5.c: ... here.
3718 * elf/tst-audit6.c: Move to ...
3719 * sysdeps/x86_64/tst-audit6.c: ... here.
3720 * elf/tst-audit7.c: Move to ...
3721 * sysdeps/x86_64/tst-audit7.c: ... here.
3722 * elf/tst-auditmod3a.c: Move to ...
3723 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
3724 * elf/tst-auditmod3b.c: Move to ...
3725 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
3726 * elf/tst-auditmod4a.c: Move to ...
3727 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
3728 * elf/tst-auditmod4b.c: Move to ...
3729 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
3730 * elf/tst-auditmod5a.c: Move to ...
3731 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
3732 * elf/tst-auditmod5b.c: Move to ...
3733 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
3734 * elf/tst-auditmod6a.c: Move to ...
3735 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
3736 * elf/tst-auditmod6b.c: Move to ...
3737 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
3738 * elf/tst-auditmod6c.c: Move to ...
3739 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
3740 * elf/tst-auditmod7a.c: Move to ...
3741 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
3742 * elf/tst-auditmod7b.c: Move to ...
3743 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
3744
1ef74943
PP
37452013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
3746
3747 [BZ #15366]
3748 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
3749 define unconditionally.
3750 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
3751 define unconditionally.
3752 (INT8_C, INT16_C, etc.): Likewise.
3753
93fd48c5
MR
37542013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
3755
ae9552cf
MR
3756 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
3757 __ehdr_start with hidden visibility.
3758
93fd48c5
MR
3759 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
3760
418601aa
CD
37612013-04-24 Carlos O'Donell <carlos@redhat.com>
3762
3763 * math/libm-test.inc (cos_test): Use accurate hex constants.
3764 (sincost_test): Likewise.
3765
2f38fbfe
JM
37662013-04-24 Joseph Myers <joseph@codesourcery.com>
3767
5e221800
JM
3768 * math/libm-test.inc (catan_test): Add more tests.
3769 (catanh_test): Likewise.
3770
77f143fd
JM
3771 * math/s_catanf.c (__catanf): Use suffixed floating-point
3772 constants.
3773 * math/s_catanhf.c (__catanhf): Likewise.
3774 * math/s_catanhl.c (__catanhl): Likewise.
3775 * math/s_catanl.c (__catanl): Likewise.
3776
2f38fbfe
JM
3777 [BZ #15394]
3778 * math/s_catan.c (__catan): Calculate imaginary part of result
3779 with log1p not log unless computing log of number close to 0.
3780 * math/s_catanf.c (__catanf): Likewise.
3781 * math/s_catanl.c (__catanl): Likewise.
3782 * math/s_catanh.c (__catanh): Calculate real part of result with
3783 log1p not log unless computing log of number close to 0.
3784 * math/s_catanhf.c (__catanhf): Likewise.
3785 * math/s_catanhl.c (__catanhl): Likewise.
3786 * math/libm-test.inc (catan_test): Add more tests.
3787 (catanh_test): Likewise.
3788 * sysdeps/i386/fpu/libm-test-ulps: Update.
3789 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3790
45d69176
SP
37912013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3792
3793 * benchtests/Makefile: Mention files in which fast and slow
3794 paths of math functions are implemented.
3795
87f51853
RM
37962013-04-23 Roland McGrath <roland@hack.frob.com>
3797
3798 * sysdeps/posix/timespec_get.c: New file.
3799
3c026539
AZ
38002013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3801
3802 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
3803 POWER.
3804 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
3805 for POWER.
3806 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
3807 powerpc/power5/fpu folders.
3808 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
3809 * benchtests/Makefile: Add modf testcase.
3810 * benchtests/bench-modf.c: New file: Benchmark test for mo
3811
ff491d14
SP
38122013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
3813
3814 [BZ #14888]
3815 * time/Makefile (tests): Add tst-strptime-whitespace.
3816 * time/strptime_l.c (get_number): Use ISSPACE.
3817 (__strptime_internal): Likewise.
3818 * time/tst-strptime-whitespace.c: New test case.
3819
7ed3f4e8
AS
38202013-04-23 Andreas Schwab <schwab@linux-m68k.org>
3821
3822 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
3823 member.
3824 (_nss_files_init): Set it here.
3825
5c95f7b6
HC
38262013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
3827
3828 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
3829 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
3830 unsigned.
3831
d34c9158
JBG
38322013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
3833
3834 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
3835
2169712d
SP
38362013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3837
3838 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
3839 size just once.
3840
29c5de99
DM
38412013-04-21 David S. Miller <davem@davemloft.net>
3842
3843 * po/ru.po: Update Russion translation from translation project.
3844
ccdad15d
AC
38452013-04-17 Adam Conrad <adconrad@0c3.net>
3846
3847 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
3848 and setfsgid.
3849
0f122b8d
CD
38502013-04-17 Carlos O'Donell <carlos@redhat.com>
3851
5c5b07da 3852 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 3853 * configure: Regenerate.
5c5b07da 3854 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
3855 Add example to error message.
3856 * sysdeps/i386/configure: Regenerate.
3857
037714dd
SP
38582013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3859
3860 * benchtests/Makefile (bench): Add cos, tan, slowcos and
3861 slowtan.
3862 * benchtests/cos-inputs: New file.
3863 * benchtests/slowcos-inputs: New file.
3864 * benchtests/slowcos.c: New file.
3865 * benchtests/slowtan-inputs: New file.
3866 * benchtests/slowtan.c: New file.
3867 * benchtests/tan-inputs: New file.
3868
e913141d
RM
38692013-04-16 Roland McGrath <roland@hack.frob.com>
3870
3871 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
3872 considered kosher.
3873
a2964074
SP
38742013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3875
4856bcd2
SP
3876 * benchtests/Makefile: Include cppflags-iterator.mk to add
3877 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
3878
a2964074
SP
3879 * Makefile.in (bench-clean): New target.
3880 * benchtests/Makefile (bench-clean): Likewise.
3881
9fbf9aca
DH
38822013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
3883
3884 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
3885
207d1e2a
TS
38862013-04-15 Thomas Schwinge <thomas@codesourcery.com>
3887
3888 * stdio-common/tstdiomisc.c: Fix coding-style violation.
3889
306dfba9
AS
38902013-04-15 Andreas Schwab <schwab@suse.de>
3891
3892 * nscd/grpcache.c (cache_addgr): Properly check for short write.
3893 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3894 * nscd/pwdcache.c (cache_addpw): Likewise.
3895 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
3896 more than recsize.
3897
206a6699
SP
38982013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3899
3900 * benchtests/Makefile (bench): Write all output to
3901 bench-out.tmp together.
3902
0582f6b3
AS
39032013-04-15 Andreas Schwab <schwab@suse.de>
3904
3905 * nscd/nscd.c (main): Don't fork again after closing files.
3906
acb4325f
SP
39072013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3908
5cb26d0a
SP
3909 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
3910
acb4325f
SP
3911 * benchtests/Rules (bench-deps): Collect dependencies into a
3912 single variable. Add Makefile to dependencies.
3913 ($(objpfx)bench-%.c): Depend on bench-deps.
3914
47792506
RM
39152013-04-12 Roland McGrath <roland@hack.frob.com>
3916 Xavier Roche <roche+kml2@exalead.com>
3917
3918 [BZ #15361]
3919 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
3920 just that it's a file descriptor.
3921 * manual/llio.texi (Synchronizing AIO Operations): Update description
3922 for EBADF error from aio_fsync.
3923
8fc1bee5
SP
39242013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3925
3926 * Rules (bench): Move target definition...
3927 * benchtests/Makefile: ... here.
3928
aba5e333
CD
39292013-04-11 Carlos O'Donell <carlos@redhat.com>
3930
3931 * math/libm-test.inc (cos_test): Fix PI/2 test.
3932 (sincos_test): Likewise.
3933 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
3934 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
3935
273cdee8
AS
39362013-04-11 Andreas Schwab <schwab@suse.de>
3937
6ecec3b6
AS
3938 [BZ #13988]
3939 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
3940 accept exponent character only when digits were seen.
3941 * stdio-common/Makefile (tests): Add bug26.
3942 * stdio-common/bug26.c: New file.
3943
273cdee8
AS
3944 [BZ #14293]
3945 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
3946 non-freeable.
3947
8da491f5
SP
39482013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3949
01dc6df9
SP
3950 * Makeconfig (rtld-prefix): Define built linker prefix.
3951 * Rules (run-bench): Use it.
3952 * math/Makefile (run-regen-ulps): Likewise.
3953
8da491f5
SP
3954 * Rules (bench): Remove eval.
3955
abe7f530
SP
39562013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3957 Roland McGrath <roland@hack.frob.com>
3958 Ondrej Bilka <neleai@seznam.cz>
3959
3960 [BZ #15346]
3961 * time/getdate.c: Include ctype.h and alloca.h.
3962 (__getdate_r): Trim leading and trailing spaces of input.
3963 * time/tst-getdate.c (tests): Add tests with leading and
3964 trailing spaces.
3965
61c23e62
RM
39662013-04-08 Roland McGrath <roland@hack.frob.com>
3967
3968 [BZ #14280]
3969 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
3970 when computing value.
3971
7208a313
CD
39722013-04-06 Carlos O'Donell <carlos@redhat.com>
3973
085b2d41
CD
3974 * math/README.libm-test (How can I generate "libm-test-ulps"?):
3975 Use testrun.sh to run libm tests.
3976
7208a313
CD
3977 [BZ #15309]
3978 * elf/dl-open.c (dl_open_worker): memset all of seen array.
3979
872c0acd
MM
39802013-04-06 Marko Myllynen <myllynen@redhat.com>
3981
3982 [BZ #15264]
3983 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
3984
26510bdd
CD
39852013-04-06 Carlos O'Donell <carlos@redhat.com>
3986
3987 * Makefile.in (regen-ulps): New target.
3988 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
3989 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
3990 [ifneq (no,$(PERL)] (regen-ulps): New target.
3991 [ifeq (no,$(PERL)] (regen-ulps): New target.
3992 * math/libm-test.inc (ulps_file_name): Define.
3993 (output_dir): New variable.
3994 (options): Add "output-dir" option.
3995 (parse_opt): Handle 'o' case.
3996 (main): If output_dir is non-NULL use it as a prefix
3997 otherwise use "".
3998 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
3999
a01f19c8
CD
40002013-04-06 Carlos O'Donell <carlos@redhat.com>
4001
4002 [BZ #10060, #10062]
4003 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
4004 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
4005 fail configure if __sync_val_compare_and_swap is not inlined.
4006 * sysdeps/i386/configure: Regenerate.
4007 * configure.in: Build for i686 when configured for i386.
4008 * configure: Regenerate.
4009 * README: Remove i386 reference.
4010
b7a329a5
CD
40112013-04-06 Carlos O'Donell <carlos@redhat.com>
4012
4013 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
4014 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4015
bf0f50df
TS
40162013-04-05 Thomas Schwinge <thomas@codesourcery.com>
4017
ee091edf
TS
4018 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
4019 (lmsnanval): New variables.
4020 (F): Add conversion tests.
4021 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
4022 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
4023
a8b792d6
TS
4024 * stdio-common/tstdiomisc.c (F): Properly collect individual
4025 tests' results.
4026
a1cbf437
TS
4027 [BZ #14686, #15336]
4028 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
4029 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
4030 Instead, use input NaN values or generate a qNaN by arithmetic
4031 operation. Also fix bugs to comply with the standard.
4032 * math/libm-test.inc (remainder_test): Add more tests.
4033
8b43a0c9
TS
4034 [BZ #15335, #15342]
4035 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
4036 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
4037 input NaN values or generate a qNaN by arithmetic operation.
4038
d91da4ce
TS
4039 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
4040 unreachable code.
4041
bf0f50df
TS
4042 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
4043 definitions.
4044
05e166c8
JM
40452013-04-03 Joseph Myers <joseph@codesourcery.com>
4046
4047 [BZ #14478]
4048 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
4049 underflowed result.
4050 * math/s_cexpf.c (__cexpf): Likewise.
4051 * math/s_cexpl.c (__cexpl): Likewise.
4052 * math/libm-test.inc (cexp_test): Add more tests.
4053
1cef1b19
AS
40542013-04-03 Andreas Schwab <schwab@suse.de>
4055
4056 [BZ #15330]
4057 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
4058 order arrays from heap if bigger than alloca cutoff.
4059
74d87055
TS
40602013-04-03 Thomas Schwinge <thomas@codesourcery.com>
4061
4062 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
4063 (SNAN_TESTS_double): Refer to GCC PR56831.
4064 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
4065 GCC PR56828.
4066
d755bba4
SP
40672013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4068
90d5d5bb
SP
4069 * Rules (bench): Move bench.out after the run is complete.
4070
73e0cd5d
SP
4071 * Rules (bench): Echo currently running benchmark.
4072
64aabd4b
SP
4073 * benchtests/Makefile (bench): Add atan and slowatan.
4074 * benchtests/atan-inputs: New file.
4075 * benchtests/slowatan-inputs: New file.
4076 * benchtests/slowatan.c: New file.
4077
c871eccd
SP
4078 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
4079 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
4080 its value.
4081
d755bba4
SP
4082 [BZ #15305]
4083 * sysdeps/unix/sysv/linux/kernel-features.h
4084 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
4085 __ASSUME_XFS_RESTRICTED_CHOWN.
4086 * sysdeps/unix/sysv/linux/pathconf.c
4087 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
4088 Save and restore errno.
4089
52ce4860
JM
40902013-04-02 Joseph Myers <joseph@codesourcery.com>
4091
4092 [BZ #15327]
4093 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
4094 arguments using __kernel_casinh.
4095 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
4096 arguments using __kernel_casinhf.
4097 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
4098 arguments using __kernel_casinhl.
4099 * math/libm-test.inc (cacosh_test): Add more tests.
4100 * sysdeps/i386/fpu/libm-test-ulps: Update.
4101 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4102
81f311c2
SP
41032013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4104
e7906a47
SP
4105 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
4106 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
4107
92e3664b
SP
4108 * bench/Makefile (bench): Add sin and slowsin.
4109 * benchtests/sin-inputs: New file.
4110 * benchtests/slowsin-inputs: New file.
4111 * benchtests/slowsin.c: New file.
4112
81f311c2
SP
4113 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
4114 (bench): Add slowexp and slowpow.
4115 (exp-ITER): Increase iterations.
4116 (pow-ITER): Likewise.
4117 * benchtests/exp-inputs: Change input.
4118 * benchtests/pow-inputs: Likewise.
4119 * benchtests/slowexp-inputs: New file.
4120 * benchtests/slowexp.c: New file.
4121 * benchtests/slowpow-inputs: New file.
4122 * benchtests/slowpow.c: New file.
4123
ab0f1aa9
AZ
41242013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4125
4126 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
4127 instructions.
4128 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
4129 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
4130 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
4131 * benchtests/Makefile: Add rint benchtest.
4132 * benchtests/rint-inputs: Input for rint benchtest.
4133
57267616
TS
41342013-04-02 Thomas Schwinge <thomas@codesourcery.com>
4135
4136 * Versions.def (libm): Add GLIBC_2.18.
4137 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
4138 hidden libm prototypes.
4139 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
4140 * math/Makefile (libm-calls): Add s_issignaling.
4141 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
4142 __issignalingf, __issignalingl. Adjust all libm.abilist files.
4143 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
4144 declaration.
4145 * math/math.h [__USE_GNU] (issignaling): New macro.
4146 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
4147 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
4148 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
4149 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
4150 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
4151 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
4152 * manual/arith.texi (issignaling): New section.
4153 * manual/libm-err-tab.pl (@all_functions): Update comment.
4154 * math/gen-libm-test.pl (parse_args): Apply special handling for
4155 issignaling.
4156 * math/libm-test.inc (print_float, issignaling_test): New
4157 functions.
4158 (check_float_internal): Add issignaling checks.
4159 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
4160 default definition.
4161 * sysdeps/powerpc/math-tests.h: New file.
4162 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
4163 tests.
4164 * math/test-snan.c (TEST_FUNC): Likewise.
4165
6142896d
DM
41662013-03-30 David S. Miller <davem@davemloft.net>
4167
4168 * po/de.po: Update from translation team.
4169
ccc8cadf
JM
41702013-03-30 Joseph Myers <joseph@codesourcery.com>
4171
4172 [BZ #10357]
4173 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4174 imaginary part less than 1.0 and real part less than 0.5
4175 specially.
4176 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4177 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4178 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
4179 (cacos_test): Add more tests.
4180 (casin_test): Likewise.
4181 (casinh_test): Likewise.
4182 * sysdeps/i386/fpu/libm-test-ulps: Update.
4183 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4184
0f6a8d4b
SP
41852013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4186
0d1029de
SP
4187 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
4188 ONE with its value.
4189
c2d94018
SP
4190 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
4191 (__pow_mp): Replace ONE and MONE with their values.
4192 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4193 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
4194 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4195 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
4196 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4197 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4198
27ec37f1
SP
4199 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
4200
a64d7e0e
SP
4201 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
4202 (__pow_mp): Replace ZERO and MZERO with their values.
4203 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
4204 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4205 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4206 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4207 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4208 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
4209 (__sqr): Likewise.
4210
d26dd3eb
SP
4211 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
4212
0f6a8d4b
SP
4213 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
4214
e57b0c61
RM
42152013-03-28 Roland McGrath <roland@hack.frob.com>
4216
4217 * include/stdlib.h [!SHARED] (__call_tls_dtors):
4218 Declare with __attribute__ ((weak)).
4219 * stdlib/exit.c (__libc_atexit) [!SHARED]:
4220 Call __call_tls_dtors only if it's not NULL.
4221
356b3480
RM
42222013-03-28 Roland McGrath <roland@hack.frob.com>
4223
288f7d79
RM
4224 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
4225 didn't do it already, then set _dl_phdr and _dl_phnum based on the
4226 magic __ehdr_start linker symbol if it's defined.
4227 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
4228 them up here if it was already done.
4229
dc0a0263
RM
4230 * elf/dl-support.c (_dl_phdr): Make pointer to const.
4231 (_dl_aux_init): Use const in cast when setting it.
4232 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
4233 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
4234 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
4235
3d3436ae
RM
4236 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
4237 Declare them here.
4238 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
4239 * csu/libc-tls.c: Nor here.
4240 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
4241
356b3480
RM
4242 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
4243 (__libc_message): Never call vsyslog.
4244
b0f1246a
AM
42452013-03-28 Alan Modra <amodra@gmail.com>
4246
4247 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
4248 Define as empty.
4249 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
4250 Likewise.
4251
fbbe2b9a
AZ
42522013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4253
4254 [BZ #15214]
4255 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
4256 underflow.
4257 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4258
1728ab37
SP
42592013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4260
7a86be6e
SP
4261 [BZ #15304]
4262 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
4263 Don't add gid passed as argument.
4264
1728ab37
SP
4265 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
4266
3a7182a1
JM
42672013-03-27 Joseph Myers <joseph@codesourcery.com>
4268
4269 [BZ #15307]
4270 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4271 imaginary part between 1.0 and 1.5 and real part less than 0.5
4272 specially.
4273 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4274 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4275 * math/libm-test.inc (cacos_test): Add more tests.
4276 (casin_test): Likewise.
4277 (casinh_test): Likewise.
4278 * sysdeps/i386/fpu/libm-test-ulps: Update.
4279 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4280
6f2e90e7
SP
42812013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4282
5739f705
SP
4283 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
4284 constants.
4285 (norm): Likewise.
4286 (denorm): Likewise.
4287 (__dbl_mp): Likewise.
4288 (add_magnitudes): Likewise.
4289 (sub_magnitudes): Likewise.
4290 (__add): Likewise.
4291 (__sub): Likewise.
4292 (__mul): Likewise.
4293 (__sqr): Likewise.
4294 (__inv): Likewise.
4295 (__dvd): Likewise.
4296
e375e83d
SP
4297 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
4298 commented code.
4299 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
4300 (__dubcos): Likewise.
4301 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
4302 (__ieee754_acos): Likewise.
4303 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
4304 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
4305 (__exp1): Likewise.
4306 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4307 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
4308 (log1): Likewise.
4309 (my_log2): Likewise.
4310 (checkint): Likewise.
4311 * sysdeps/ieee754/dbl-64/e_remainder.c
4312 (__ieee754_remainder): Likewise.
4313 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4314 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
4315 (bsloww): Likewise.
4316 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4317
6f2e90e7
SP
4318 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
4319 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
4320 MANTISSA_STORE_T to store computations on mantissa. Use
4321 macros for rounding and division.
4322 (denorm): Likewise.
4323 (__dbl_mp): Likewise.
4324 (add_magnitudes): Likewise.
4325 (sub_magnitudes): Likewise.
4326 (__mul): Likewise.
4327 (__sqr): Likewise.
4328 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
4329 powers of two in terms of TWOPOW macro.
4330 (mp_no): Make type of mantissa as MANTISSA_T.
4331 [!RADIXI]: Define RADIXI.
4332 [!TWO52]: Define TWO52.
4333 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
4334
fce14d4e
AZ
43352013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4336
4337 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
4338 llroundl symbol when building for PPC32.
4339
9ad027fb
MW
43402013-03-24 Mark H Weaver <mhw@netris.org>
4341
4342 * manual/arith.texi (Normalization Functions): Fix prototypes for
4343 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
4344
e42a38dd
AZ
43452013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4346
4347 [BZ #13889]
4348 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
4349 high value to check if expl overflow.
4350 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
4351 to check for underflow and overflow.
4352 * math/libm-test.inc: Add exp test.
4353
2e0fb521
DL
43542013-03-21 Dmitry V. Levin <ldv@altlinux.org>
4355
4356 [BZ #11120]
4357 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
4358 with NOT_IN_libc.
4359
b5784d95
AZ
43602013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4361
4362 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
4363 symbol.
4364
5aa4a1a1
TS
43652013-03-21 Thomas Schwinge <thomas@codesourcery.com>
4366
bdef0be7
TS
4367 * math/gen-libm-test.pl (parse_args, special_functions): Properly
4368 wrap blocks consisting of several statements.
4369
5aa4a1a1
TS
4370 * sysdeps/generic/math-tests.h: New file.
4371 * sysdeps/i386/fpu/math-tests.h: Likewise.
4372 * math/test-snan.c: Include it.
4373 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
4374
98c48fe5
JM
43752013-03-21 Joseph Myers <joseph@codesourcery.com>
4376
4377 [BZ #15285]
4378 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
4379 (__ieee754_j0l): Do not improve calculations using cos of twice
4380 input for inputs above LDBL_MAX / 2.0L.
4381 (__ieee754_y0l): Likewise.
4382 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
4383 (__ieee754_j1l): Do not improve calculations using cos of twice
4384 input for inputs above LDBL_MAX / 2.0L.
4385 (__ieee754_y1l): Likewise.
4386 * math/libm-test.inc (j0_test): Add another test.
4387 (j1_test): Likewise.
4388 (y0_test): Likewise.
4389 (y1_test): Likewise.
4390 * sysdeps/i386/fpu/libm-test-ulps: Update.
4391
3775a8bc
SP
43922013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4393
4394 * Rules ($(objpfx)bench-%.c): Include code from a C source
4395 file.
4396
0a1b2ae6
JM
43972013-03-21 Joseph Myers <joseph@codesourcery.com>
4398
4399 [BZ #15287]
4400 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4401 imaginary part 1.0 and real part less than 0.5 specially.
4402 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4403 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4404 * math/libm-test.inc (cacos_test): Add more tests.
4405 (casin_test): Likewise.
4406 (casinh_test): Likewise.
4407 * sysdeps/i386/fpu/libm-test-ulps: Update.
4408 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4409
b33d4ce4
SP
44102013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4411
4412 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
4413 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
4414
bef0b507
JM
44152013-03-20 Joseph Myers <joseph@codesourcery.com>
4416
4417 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
4418 * config.make.in (config-cflags-sse4): Remove variable.
4419 (config-cflags-avx): Likewise.
4420 (config-cflags-sse2avx): Likewise.
4421 (config-cflags-novzeroupper): Likewise.
4422 (config-asflags-i686): Likewise.
4423 (have-mfma4): Likewise.
4424 (have-as-vis3): Likewise.
4425 (MIG): Likewise.
4426 * configure.in (MIG): Do not AC_SUBST.
4427 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
4428 (libc_cv_cc_sse4): Do not AC_SUBST.
4429 (libc_cv_cc_avx): Likewise.
4430 (libc_cv_cc_sse2avx): Likewise.
4431 (libc_cv_cc_novzeroupper): Likewise.
4432 (libc_cv_cc_fma4): Likewise.
4433 (libc_cv_as_i686): Likewise.
4434 (libc_cv_sparc_as_vis3): Likewise.
4435 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
4436 LIBC_CONFIG_VAR.
4437 (config-asflags-i686): Likewise.
4438 (config-cflags-avx): Likewise.
4439 (config-cflags-sse2avx): Likewise.
4440 (have-mfma4): Likewise.
4441 (config-cflags-novzeroupper): Likewise.
4442 * sysdeps/mach/configure.in (MIG): Likewise.
4443 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
4444 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
4445 LIBC_CONFIG_VAR.
4446 (config-cflags-avx): Likewise.
4447 (config-cflags-sse2avx): Likewise.
4448 (have-mfma4): Likewise.
4449 (config-cflags-novzeroupper): Likewise.
4450 * configure: Regenerated.
4451 * sysdeps/i386/configure: Likewise.
4452 * sysdeps/mach/configure: Likewise.
4453 * sysdeps/sparc/configure: Likewise.
4454 * sysdeps/x86_64/configure: Likewise.
4455
912cc4b3
RM
44562013-03-20 Roland McGrath <roland@hack.frob.com>
4457
4458 [BZ #14812]
4459 * locale/programs/localedef.c (options): Put N_ translation marker
4460 on argument names, not just descriptions.
4461
04eed2b0
MS
44622013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4463
4464 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
4465
a065ceff
OB
44662013-03-20 Ondřej Bílka <neleai@seznam.cz>
4467
9bb2a810 4468 [BZ #14176]
a065ceff
OB
4469 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
4470
a600e5ce
RM
44712013-03-19 Roland McGrath <roland@hack.frob.com>
4472
4473 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
4474 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
4475 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
4476 [!BEFORE_ABORT] (before_abort): New function.
4477 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
4478 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
4479 (writev_for_fatal): New function.
4480 (WRITEV_FOR_FATAL): New macro; call that.
4481 (backtrace_and_maps): New function.
4482 (BEFORE_ABORT): New macro; call that.
4483 (struct str_list): Type removed.
4484 (__libc_message, __libc_fatal): Functions removed.
4485 Include <sysdeps/posix/libc_fatal.c> instead.
4486
6b18bea6
JM
44872013-03-19 Joseph Myers <joseph@codesourcery.com>
4488
4489 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
4490 constants.
4491 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
4492 double constants.
4493
aaa8cb4b
AS
44942013-03-19 Andreas Schwab <schwab@suse.de>
4495
44673770
AS
4496 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
4497 * sysdeps/gnu/configure: Regenerate.
4498
aaa8cb4b
AS
4499 * configure.in: Substitute libc_cv_rtlddir.
4500 * configure: Regenerate.
4501 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
4502 * Makeconfig (rtlddir, inst_rtlddir): New variables.
4503 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
4504 * elf/Makefile (install-others, CFLAGS-interp.c)
4505 (ldso_install, common-ldd-rewrite): Likewise.
4506 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
4507 $(inst_slibdir)/$(rtld-installed-name).
4508 * scripts/rellns-sh: Add -p option.
4509 * Makerules (make-shlib-link): Use rellns-sh to get relative name
4510 for source.
4511
d3cfc668
SP
45122013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4513
4514 * manual/nptl.texi: Renamed to ...
4515 * manual/threads.texi: ... this.
4516 * manual/Makefile (chapters): Update.
4517
0e2b9cdd
RM
45182013-03-18 Roland McGrath <roland@hack.frob.com>
4519
4520 [BZ #14812]
4521 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
4522 on argument names, not just descriptions.
0e2b9cdd
RM
4523 * malloc/memusagestat.c (options): Likewise.
4524 * nss/getent.c (options): Likewise.
63270c24
RM
4525
45262013-03-18 Benno Schulenberg <bensberg@justemail.net>
4527
4528 [BZ #14812]
4529 * iconv/iconv_prog.c (options): Put N_ translation marker
4530 on argument names, not just descriptions.
4531 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 4532
b2e1393c
OB
45332013-03-18 Ondrej Bilka <neleai@seznam.cz>
4534
4535 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
4536 implementation which is faster on all x86_64 architectures.
4537 Tested on AMD, Intel Nehalem, SNB, IVB.
4538 * sysdeps/x86_64/strnlen.S: Likewise.
4539
4540 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
4541 Remove all multiarch strlen and strnlen versions.
4542 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
4543 Remove strlen and strnlen related parts.
4544
4545 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
4546 Inline strlen part.
4547 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
4548
4549 * sysdeps/x86_64/multiarch/strlen.S: Remove.
4550 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
4551 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
4552 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
4553 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
4554 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
4555
ec4ff04d
CD
45562013-03-17 Carlos O'Donell <carlos@redhat.com>
4557
4558 * manual/memory.texi (Malloc Tunable Parameters):
4559 Sort parameters alphabetically. Add comments for missing entries.
4560
cd18e90a
DM
45612013-03-17 David S. Miller <davem@davemloft.net>
4562
4563 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4564
2a185d32
JM
45652013-03-16 Joseph Myers <joseph@codesourcery.com>
4566
d2f9799e
JM
4567 [BZ #15283]
4568 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
4569 for arguments at most half maximum finite value.
4570 * math/libm-test.inc (j0_test): Add more tests.
4571 (j1_test): Likewise.
4572 (y0_test): Likewise.
4573 (y1_test): Likewise.
4574 * sysdeps/i386/fpu/libm-test-ulps: Update.
4575 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4576
2a185d32
JM
4577 [BZ #14155]
4578 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
4579 1 / x and functions P and Q for arguments above 0x1p256L.
4580 (__ieee754_y0l): Likewise.
4581 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
4582 (__ieee754_y1l): Likewise.
4583 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
4584 (j1_test): Likewise.
4585 (y0_test): Likewise.
4586 (y1_test): Likewise.
4587
6cbec759
TS
45882013-03-16 Thomas Schwinge <thomas@codesourcery.com>
4589
4590 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
4591 variable.
4592
bc16e260
RM
45932013-03-15 Roland McGrath <roland@hack.frob.com>
4594
aefc9b8c
RM
4595 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
4596 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
4597 zero since it's initialized to EXEC_PAGESIZE.
4598
bc16e260
RM
4599 * sysdeps/unix/sysv/linux/ldsodefs.h
4600 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
4601 * sysdeps/generic/ldsodefs.h: ... here.
4602
a57da955
TS
46032013-03-15 Thomas Schwinge <thomas@codesourcery.com>
4604
af00a34d
TS
4605 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
4606
495ded2c
TS
4607 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
4608 math/test-snan.c.
4609 * math/test-snan.c: Renamed from
4610 sysdeps/powerpc/fpu/test-powerpc-snan.c.
4611 * math/Makefile (tests): Add test-snan.
4612 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
4613 test-powerpc-snan.
4614
777b0332
TS
4615 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
4616 SUFFIX. Initialize qNaN_var with __builtin_nan family of
4617 functions.
4618 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
4619 __builtin_nan family of functions.
4620 * math/libm-test.inc (initialize): Initialize qnan_value with
4621 __builtin_nan family of functions.
4622 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
4623 Remove variables.
4624 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
4625 Remove functions.
4626 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
4627 storage class. Initialize qNaN_var and sNaN_var with
4628 __builtin_nan and __builtin_nans families of functions,
4629 respectively.
4630
64d063b8
TS
4631 * math/libm-test.inc (acosh_test): Also test with qNaN input.
4632 (sqrt_test): Remove duplicate test with qNaN input.
4633 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
4634 (round_test, signbit_test, significand_test): Note missing +/-Inf
4635 as well as qNaN tests.
4636
67e971f1
TS
4637 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
4638 qNaN_var. Fix a few strings, too.
4639 * math/libm-test.inc (nan_value): Rename to qnan_value.
4640 * math/gen-libm-test.pl (%beautify): Adjust to that.
4641 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
4642 * math/test-misc.c (main): Likewise.
4643 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
4644 to __qnan_bytes, and __qnan_union, respectively.
4645 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
4646 Likewise.
4647 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
4648 and lqnanval, respectively.
4649 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
4650 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
4651 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
4652 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
4653
64487e12
TS
4654 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
4655 * math/test-misc.c (main) [__x86_64__]: Enable test for long
4656 doubles.
4657
e015e27b
TS
4658 * math/test-misc.c (main): Fix copy'n'pastos.
4659 * misc/tst-efgcvt.c (special): Likewise.
4660
a57da955
TS
4661 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
4662 Remove declarations.
4663
1e380345
SP
46642013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4665
4666 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
4667 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
4668 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
4669 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
4670
ef26eece
AZ
46712013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4672
4673 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
4674 macro to return vdso values correctly in IFUNC implementations.
4675 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
4676 Optimization by using IFUNC.
4677
8cfdb7e0
SP
46782013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4679 Richard Henderson <rth@redhat.com>
4680 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4681
4682 * Makefile.in (bench): New target.
4683 * NEWS: Mention the benchmark framework.
4684 * Rules (bench): Likewise.
4685 (binaries-bench): Generate binaries for functions to
4686 benchmark.
4687 * benchtests/Makefile: New makefile for benchmark tests.
4688 * benchtests/bench-skeleton.c: New skeleton file for benchmark
4689 programs.
4690 * benchtests/exp-inputs: New input file for EXP function.
4691 * benchtests/pow-inputs: New input file for POW function.
4692 * scripts/bench.pl: New script to generate source files for
4693 benchmark programs.
4694
bcda9880
SP
46952013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4696
d22ca8cd
SP
4697 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
4698 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
4699 computations on mantissa. Use macros for rounding and
4700 division.
4701 (denorm): Likewise.
4702 (__dbl_mp): Likewise.
4703 (add_magnitudes): Likewise.
4704 (sub_magnitudes): Likewise.
4705 (__mul): Likewise.
4706 (__sqr): Likewise.
4707 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
4708 powers of two in terms of TWOPOW macro.
4709 (mp_no): Make type of mantissa as MANTISSA_T.
4710 [!RADIXI]: Define RADIXI.
4711 [!TWO52]: Define TWO52.
4712 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
4713
bcda9880
SP
4714 * manual/nptl.texi (cindex): Modify threads to pthreads.
4715
06d5adfb
JM
47162013-03-15 Joseph Myers <joseph@codesourcery.com>
4717
4718 * sysdeps/x86_64/preconfigure: Regenerated.
4719
41c7328e
JM
47202013-03-14 Joseph Myers <joseph@codesourcery.com>
4721
4722 [BZ #14155]
4723 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
4724 0x1p28 and above.
4725 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
4726 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
4727 0x1p28 and above.
4728 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
4729 * math/libm-test.inc (j0_test): Do not allow one spurious
4730 underflow exception.
4731 (y1_test): Likewise.
4732
e25cfa60
SP
47332013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4734
0409959c
SP
4735 * manual/Makefile (chapters): Add nptl.
4736 * manual/debug.texi (Debugging Support): Add link to Threads
4737 chapter.
4738 * manual/nptl.texi: New file.
4739
e25cfa60
SP
4740 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
4741
58a1335e
PB
47422013-03-14 Petr Baudis <pasky@ucw.cz>
4743
4744 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
4745 for non-NULL pointer before the memory validity test. Pointed
4746 out by Holger Brunck <holger.brunck@keymile.com>.
4747
9dc7c64f
AS
47482013-03-13 Andreas Schwab <schwab@suse.de>
4749
4750 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
4751 instead of .os.
4752
54206aa6
JM
47532013-03-13 Joseph Myers <joseph@codesourcery.com>
4754
4755 * timezone/zic.c: Update from tzcode 2013b.
4756
e98cdb38
CD
47572013-03-12 Carlos O'Donell <carlos@redhat.com>
4758
4759 * manual/install.texi (Configuring and compiling):
4760 Mention i686 and i586.
4761 * INSTALL: Regenerate.
4762
9967e003
RM
47632013-03-12 Roland McGrath <roland@hack.frob.com>
4764
4765 * sysdeps/init_array/elf-init.c: New file.
4766 * csu/elf-init.c
4767 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
4768 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
4769
4770 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
4771 __gmon_start__ as global, but as static with a .preinit_array pointer.
4772 * sysdeps/init_array/gmon-start.c: New file. Use that.
4773 * sysdeps/init_array/crti.S: New file, empty except for comments.
4774 * sysdeps/init_array/crtn.S: Likewise.
4775
e6b5a293 47762013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
4777
4778 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
4779 definining bcopy.
80f844c9
OB
4780 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4781 Remove Prefer_SSE_for_memop.
4782 * sysdeps/x86_64/multiarch/init-arch.h: Remove
4783 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
4784 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
4785 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
4786 memset-x86-64.
80f844c9 4787 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 4788 Remove bzero, memset ifunc support.
80f844c9
OB
4789 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
4790 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
4791 * sysdeps/x86_64/multiarch/memset.S: Likewise.
4792 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4793
fb6b0fcb
AS
47942013-03-11 Andreas Schwab <schwab@suse.de>
4795
4796 [BZ #15234]
4797 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
4798 by SHLIB_COMPAT.
4799 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
4800 (GLIBC_2.16): Remove pthread_atfork.
4801
3e6bd4b1
PP
48022013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
4803
4804 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
4805 (ptestcases.h): Likewise.
4806
222d7f00
RM
48072013-03-08 Roland McGrath <roland@hack.frob.com>
4808
4809 * Makeconfig ($(common-objpfx)config.status): Depend on
4810 sysdeps/*/preconfigure{,.in} too.
4811
1ba4f030
JM
48122013-03-08 Joseph Myers <joseph@codesourcery.com>
4813
a222d91a
JM
4814 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
4815 (__free_hook): Use void * instead of __malloc_ptr_t.
4816 (__malloc_hook): Likewise.
4817 (__realloc_hook): Likewise.
4818 (__memalign_hook): Likewise.
4819 (__after_morecore_hook): Likewise.
4820 * malloc/arena.c (save_malloc_hook): Likewise.
4821 (save_free_hook): Likewise.
4822 * malloc/hooks.c (malloc_hook_ini): Likewise.
4823 (realloc_hook_ini): Likewise.
4824 (memalign_hook_ini): Likewise.
4825 * malloc/malloc.c (malloc_hook_ini): Likewise.
4826 (realloc_hook_ini): Likewise.
4827 (memalign_hook_ini): Likewise.
4828 (__free_hook): Likewise.
4829 (__malloc_hook): Likewise.
4830 (__realloc_hook): Likewise.
4831 (__memalign_hook): Likewise.
4832 (__libc_malloc): Likewise.
4833 (__libc_free): Likewise.
4834 (__libc_realloc): Likewise.
4835 (__libc_memalign): Likewise.
4836 (__libc_valloc): Likewise.
4837 (__libc_pvalloc): Likewise.
4838 (__libc_calloc): Likewise.
4839 (__posix_memalign): Likewise.
4840 * malloc/morecore.c (__sbrk): Likewise.
4841 (__default_morecore): Likewise.
4842
5cc45e10
JM
4843 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
4844
dd54b864
JM
4845 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
4846 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
4847 __malloc_ptrdiff_t.
4848
1ba4f030
JM
4849 * malloc/malloc.h (__malloc_size_t): Remove macro.
4850 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
4851 __malloc_size_t.
4852 (old_memalign_hook): Likewise.
4853 (old_realloc_hook): Likewise.
4854 (struct hdr): Likewise.
4855 (flood): Likewise.
4856 (mallochook): Likewise.
4857 (memalignhook): Likewise.
4858 (reallochook): Likewise.
4859 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
4860 (tr_old_realloc_hook): Likewise.
4861 (tr_old_memalign_hook): Likewise.
4862 (tr_mallochook): Likewise.
4863 (tr_reallochook): Likewise.
4864 (tr_memalignhook): Likewise.
4865
edf66e57
AZ
48662013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4867
4868 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
4869 default_ldbl_pack and using as default implementation.
4870 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
4871 implementation.
4872 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
4873 redundant definition.
4874 (ldbl_insert_mantissa): Likewise.
4875 (ldbl_canonicalize): Likewise.
4876 (ldbl_nearbyint): Likewise.
4877 (ldbl_pack): Rename to ldbl_pack_ppc.
4878 (ldbl_unpack): Rename to ldbl_unpack_ppc.
4879 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
4880 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
4881
6d9145d8
SP
48822013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4883
4884 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
4885 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
4886 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
4887 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
4888 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
4889 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
4890 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
4891 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
4892
4dd4e157
AJ
48932013-03-07 Andreas Jaeger <aj@suse.de>
4894
4895 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4896 bits/mman-linux.h.
4897
adbb8027
SP
48982013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
4899
ce544b5b
SP
4900 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
4901 Include mpa.h and declare __MPEXP.
4902 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
4903 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
4904 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
4905 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
4906 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
4907 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
4908 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
4909
4cc149fd
SP
4910 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
4911 (__slowpow): Use long double EXPL and LOGL functions to
4912 compute POW.
4913 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
4914 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
4915 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
4916 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
4917 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
4918 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
4919
e6ebd4a7
SP
4920 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
4921 intermediate variable to calculate exponent.
4922 (__sqr): Likewise.
4923 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
4924 Likewise.
4925 (__sqr): Likewise.
4926
82a9811d
SP
4927 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
4928 [!NO__SQR]: Define __sqr.
4929 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
4930 and NO__SQR. Remove all code except __mul and __sqr. Include
4931 sysdeps/ieee754/dbl-64/mpa.c.
4932 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4933
adbb8027
SP
4934 [BZ #12723]
4935 * posix/Makefile (tests): Add tst-pathconf.
4936 * posix/tst-pathconf.c: New test case.
4937 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
4938 _PC_PIPE_BUF.
4939 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
4940
39120df9
PF
49412013-03-06 Patsy Franklin <pfrankli@redhat.com>
4942
4943 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
4944
67525cb8
AJ
49452013-03-06 Andreas Jaeger <aj@suse.de>
4946
664a9ce4
AJ
4947 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
4948 definition via __MAP_ANONYMOUS.
4949
8e39047d
AJ
4950 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
4951 it's not part of Linux headers.
4952
67525cb8
AJ
4953 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
4954 (MAP_HUGE_MASK): Define.
4955
4956 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
4957 Define.
4958 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
4959 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
4960 Define.
4961 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
4962 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
4963 Define.
4964 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
4965 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
4966 Define.
4967 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
4968
4969 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
4970 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
4971 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
4972 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
4973 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
4974 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
4975
4976 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
4977 Handle f2fs.
4978
4979 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
4980 Handle f2fs and efivarfs.
4981
4982 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
4983 f2fs.
4984
4985 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
4986 (EFIVARFS_MAGIC): Add.
4987 (F2FS_LINK_MAX): Add.
4988
e1b42695
PP
49892013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
4990
4991 * stdio-common/vfprintf.c: Replace __builtin_expect with
4992 __glibc_unlikely.
4993
2d67d91a
JM
49942013-03-06 Joseph Myers <joseph@codesourcery.com>
4995
4996 [BZ #13550]
4997 * sysdeps/generic/bp-sym.h: Remove file.
4998 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
4999 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
5000 <bp-sym.h> and <bp-asm.h>.
5001 (__longjmp): Don't use BP_SYM.
5002 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
5003 and <bp-asm.h>.
5004 (memcpy): Don't use BP_SYM.
5005 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
5006 <bp-sym.h> and <bp-asm.h>.
5007 (memcpy): Don't use BP_SYM.
5008 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
5009 <bp-asm.h>.
5010 (memcpy): Don't use BP_SYM.
5011 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
5012 <bp-asm.h>.
5013 (memset): Don't use BP_SYM.
5014 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5015 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5016 (__bzero): Don't use BP_SYM.
5017 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5018 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5019 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
5020 <bp-sym.h> and <bp-asm.h>.
5021 (memcmp): Don't use BP_SYM. Remove comment about bounded
5022 pointers.
5023 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
5024 <bp-sym.h> and <bp-asm.h>.
5025 (memcpy): Don't use BP_SYM.
5026 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
5027 <bp-sym.h> and <bp-asm.h>.
5028 (memset): Don't use BP_SYM.
5029 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5030 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5031 (__bzero): Don't use BP_SYM.
5032 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5033 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5034 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
5035 <bp-sym.h> and <bp-asm.h>.
5036 (strncmp): Don't use BP_SYM. Remove comment about bounded
5037 pointers.
5038 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
5039 <bp-sym.h> and <bp-asm.h>.
5040 (memcpy): Don't use BP_SYM.
5041 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
5042 <bp-sym.h> and <bp-asm.h>.
5043 (memset): Don't use BP_SYM.
5044 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5045 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5046 (__bzero): Don't use BP_SYM.
5047 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5048 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5049 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
5050 <bp-sym.h> and <bp-asm.h>.
5051 (__memchr): Don't use BP_SYM.
5052 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
5053 <bp-sym.h> and <bp-asm.h>.
5054 (memcmp): Don't use BP_SYM. Remove comment about bounded
5055 pointers.
5056 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
5057 <bp-sym.h> and <bp-asm.h>.
5058 (memcpy): Don't use BP_SYM.
5059 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
5060 <bp-sym.h> and <bp-asm.h>.
5061 (__mempcpy): Don't use BP_SYM.
5062 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
5063 <bp-sym.h> and <bp-asm.h>.
5064 (__memrchr): Don't use BP_SYM.
5065 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
5066 <bp-sym.h> and <bp-asm.h>.
5067 (memset): Don't use BP_SYM.
5068 (__bzero): Likewise.
5069 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
5070 <bp-sym.h> and <bp-asm.h>.
5071 (__rawmemchr): Don't use BP_SYM.
5072 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
5073 <bp-sym.h> and <bp-asm.h>.
5074 (__STRCMP): Don't use BP_SYM.
5075 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
5076 <bp-sym.h> and <bp-asm.h>.
5077 (strchr): Don't use BP_SYM.
5078 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
5079 <bp-sym.h> and <bp-asm.h>.
5080 (__strchrnul): Don't use BP_SYM.
5081 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
5082 <bp-sym.h> and <bp-asm.h>.
5083 (strlen): Don't use BP_SYM.
5084 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
5085 <bp-sym.h> and <bp-asm.h>.
5086 (strncmp): Don't use BP_SYM. Remove comment about bounded
5087 pointers.
5088 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
5089 <bp-sym.h> and <bp-asm.h>.
5090 (__strnlen): Don't use BP_SYM.
5091 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
5092 <bp-sym.h> and <bp-asm.h>.
5093 (__GI__setjmp): Don't use BP_SYM.
5094 (_setjmp): Likewise.
5095 (__sigsetjmp): Likewise.
5096 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
5097 (L(start_addresses)): Don't use BP_SYM.
5098 (_start): Likewise.
5099 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
5100 <bp-asm.h>.
5101 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
5102 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
5103 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5104 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5105 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
5106 <bp-asm.h>.
5107 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
5108 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
5109 about bounded pointers.
5110 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5111 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5112 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
5113 <bp-asm.h>.
5114 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
5115 about bounded pointers. Remove GKM FIXME comments.
5116 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5117 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
5118 <bp-asm.h>.
5119 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
5120 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
5121 Remove GKM FIXME comments.
5122 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5123 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5124 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
5125 <bp-asm.h>.
5126 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
5127 about bounded pointers. Remove GKM FIXME comment.
5128 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
5129 and <bp-asm.h>.
5130 (strncmp): Don't use BP_SYM. Remove comment about bounded
5131 pointers.
5132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
5133 <bp-sym.h> and <bp-asm.h>.
5134 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
5135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
5136 <bp-sym.h> and <bp-asm.h>.
5137 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
5138 comment.
5139
cdcf361f
PP
51402013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
5141
5142 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
5143 call free(NULL).
5144
3c4a2b15
DM
51452013-03-05 David S. Miller <davem@davemloft.net>
5146
5147 * po/es.po: Update from translation team.
5148
cdcf361f 51492013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
5150
5151 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
5152 <bits/mman-linux.h>.
5153 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5154 is fine.
5155 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
5156 <bits/mman-linux.h> to end of file.
5157 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5158 is fine.
5159 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
5160 <bits/mman-linux.h> to end of file.
5161 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5162 is fine.
5163 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
5164 <bits/mman-linux.h> to end of file.
5165
5166 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
5167 (MCL_CURRENT, MCL_FUTURE): Define here.
5168
5f67c04f
AK
51692013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5170
8a4473cc 5171 [BZ #15232]
5f67c04f
AK
5172 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
5173 attribute_hidden.
5174 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
5175
c3e94a95
AK
51762013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5177
5178 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
5179 fourth parameter needed for rt_sigprocmask syscall.
5180 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
5181 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
5182 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
5183 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
5184 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
5185 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
5186
cfb6382a
JM
51872013-03-04 Joseph Myers <joseph@codesourcery.com>
5188
5189 [BZ #13550]
5190 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
5191 comment about bounded pointers.
5192 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
5193 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
5194
539d8e01
AJ
51952013-03-04 Andreas Jaeger <aj@suse.de>
5196
5197 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
5198 common definitions.
5199
5200 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
5201 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
5202 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
5203 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5204 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
5205 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5206
2e167a70 52072013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
5208
5209 [BZ #15055]
5210 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
5211 __ieee754_sqrl instead of __sqrl.
5212
68508633
JM
52132013-03-01 Joseph Myers <joseph@codesourcery.com>
5214
5215 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
5216 * sysdeps/powerpc/fpu_control.h: ... here.
5217 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
5218 * sysdeps/powerpc/bits/fenvinline.h: ... here.
5219 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
5220 * sysdeps/powerpc/bits/mathinline.h: ... here.
5221
7775448e
RM
52222013-03-01 Roland McGrath <roland@hack.frob.com>
5223
5224 * elf/dl-hwcaps.c (_dl_important_hwcaps):
5225 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
5226 to just [NEED_DL_SYSINFO_DSO].
5227 * elf/dl-support.c: Likewise.
5228 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
5229 * elf/rtld.c (dl_main): Likewise.
5230 * elf/setup-vdso.h (setup_vdso): Likewise.
5231 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
5232 * sysdeps/unix/sysv/linux/dl-sysdep.c
5233 (_dl_discover_osversion): Likewise.
5234
4e9b5995
CD
52352013-03-01 Carlos O'Donell <carlos@redhat.com>
5236
5237 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
5238 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
5239
e23872c8
SP
52402013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
5241
e5c74c63
SP
5242 * NEWS: Mention libm performance improvements and non-x86 PI
5243 futex support.
5244
e23872c8
SP
5245 * csu/libc-start.c (__pthread_initialize_minimal): Change
5246 function arguments.
5247 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
5248
b5510883
JM
52492013-02-28 Joseph Myers <joseph@codesourcery.com>
5250
5251 [BZ #13550]
5252 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
5253 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
5254 <bp-sym.h> and <bp-asm.h>.
5255 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5256 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
5257 and <bp-asm.h>.
5258 (memcpy): Don't use BP_SYM.
5259 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
5260 <bp-asm.h>.
5261 (__mpn_add_n): Don't use BP_SYM.
5262 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
5263 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
5264 and <bp-asm.h>.
5265 (__mpn_addmul_1): Don't use BP_SYM.
5266 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5267 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
5268 <bp-sym.h>.
5269 (_setjmp): Don't use BP_SYM.
5270 (__novmx_setjmp): Likewise.
5271 (__GI__setjmp): Likewise.
5272 (__vmx_setjmp): Likewise.
5273 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
5274 <bp-sym.h>.
5275 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
5276 (__bzero): Don't use BP_SYM.
5277 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5278 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5279 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
5280 <bp-sym.h> and <bp-asm.h>.
5281 (memcpy): Don't use BP_SYM.
5282 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
5283 <bp-sym.h> and <bp-asm.h>.
5284 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5285 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
5286 <bp-sym.h> and <bp-asm.h>.
5287 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5288 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
5289 <bp-asm.h>.
5290 (__mpn_lshift): Don't use BP_SYM.
5291 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5292 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
5293 <bp-asm.h>.
5294 (memset): Don't use BP_SYM.
5295 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5296 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5297 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
5298 <bp-asm.h>.
5299 (__mpn_mul_1): Don't use BP_SYM.
5300 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5301 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
5302 <bp-sym.h> and <bp-asm.h>.
5303 (memcmp): Don't use BP_SYM.
5304 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
5305 <bp-sym.h> and <bp-asm.h>.
5306 (memcpy): Don't use BP_SYM.
5307 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
5308 <bp-sym.h> and <bp-asm.h>.
5309 (memset): Don't use BP_SYM.
5310 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
5311 <bp-sym.h> and <bp-asm.h>.
5312 (strncmp): Don't use BP_SYM.
5313 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
5314 <bp-sym.h> and <bp-asm.h>.
5315 (memcpy): Don't use BP_SYM.
5316 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
5317 <bp-sym.h> and <bp-asm.h>.
5318 (memset): Don't use BP_SYM.
5319 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
5320 <bp-sym.h> and <bp-asm.h>.
5321 (__memchr): Don't use BP_SYM.
5322 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
5323 <bp-sym.h> and <bp-asm.h>.
5324 (memcmp): Don't use BP_SYM.
5325 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
5326 <bp-sym.h> and <bp-asm.h>.
5327 (memcpy): Don't use BP_SYM.
5328 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
5329 <bp-sym.h> and <bp-asm.h>.
5330 (__mempcpy): Don't use BP_SYM.
5331 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
5332 <bp-sym.h> and <bp-asm.h>.
5333 (__memrchr): Don't use BP_SYM.
5334 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
5335 <bp-sym.h> and <bp-asm.h>.
5336 (memset): Don't use BP_SYM.
5337 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
5338 <bp-sym.h> and <bp-asm.h>.
5339 (__rawmemchr): Don't use BP_SYM.
5340 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
5341 <bp-sym.h> and <bp-asm.h>.
5342 (__STRCMP): Don't use BP_SYM.
5343 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
5344 <bp-sym.h> and <bp-asm.h>.
5345 (strchr): Don't use BP_SYM.
5346 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
5347 <bp-sym.h> and <bp-asm.h>.
5348 (__strchrnul): Don't use BP_SYM.
5349 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
5350 <bp-sym.h> and <bp-asm.h>.
5351 (strlen): Don't use BP_SYM.
5352 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
5353 <bp-sym.h> and <bp-asm.h>.
5354 (strncmp): Don't use BP_SYM.
5355 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
5356 <bp-sym.h> and <bp-asm.h>.
5357 (__strnlen): Don't use BP_SYM.
5358 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
5359 <bp-asm.h>.
5360 (__mpn_rshift): Don't use BP_SYM.
5361 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5362 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
5363 <bp-sym.h> and <bp-asm.h>.
5364 (__sigsetjmp): Don't use BP_SYM.
5365 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
5366 (L(start_addresses)): Don't use BP_SYM.
5367 (_start): Likewise.
5368 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
5369 <bp-asm.h>.
5370 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
5371 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5372 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5373 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
5374 <bp-asm.h>.
5375 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
5376 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5377 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5378 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
5379 <bp-asm.h>.
5380 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
5381 comments.
5382 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5383 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
5384 <bp-asm.h>.
5385 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
5386 FIXME comments.
5387 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5388 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5389 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
5390 <bp-asm.h>.
5391 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
5392 comment.
5393 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
5394 and <bp-asm.h>.
5395 (strncmp): Don't use BP_SYM,
5396 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
5397 <bp-asm.h>.
5398 (__mpn_sub_n): Don't use BP_SYM.
5399 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5400 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
5401 and <bp-asm.h>.
5402 (__mpn_submul_1): Don't use BP_SYM.
5403 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
5405 <bp-sym.h> and <bp-asm.h>.
5406 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
5407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
5408 <bp-sym.h> and <bp-asm.h>.
5409 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
5410 comment.
5411
8d19fe64
SP
54122013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5413
5414 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
5415 Use ZK to minimize writes to Z.
5416 (sub_magnitudes): Simplify code a bit.
5417 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
5418 Use ZK to minimize writes to Z.
5419 (sub_magnitudes): Simplify code a bit.
5420
85bd816a
RM
54212013-02-27 Roland McGrath <roland@hack.frob.com>
5422
5423 * csu/gmon-start.c: Add special exception to license text.
5424
b5977bf2
RH
54252013-02-27 Richard Henderson <rth@redhat.com>
5426
5427 * scripts/config.guess: Update from config.git.
5428 * scripts/config.sub: Likewise.
5429
11d6e2f2
SP
54302013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5431
09c14ed2
SP
5432 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
5433
a688864e
SP
5434 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
5435
6295157a
SP
5436 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
5437
b8de2202
SP
5438 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
5439
11d6e2f2
SP
5440 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
5441
7e80ddb8
RM
54422013-02-26 Roland McGrath <roland@hack.frob.com>
5443
5444 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
5445 [$(build-shared = yes].
7e80ddb8 5446
7da6d9ed
SP
54472013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5448
45f05884
SP
5449 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
5450 (__mul): Reduce iterations for calculating mantissa.
5451
2236d359
SP
5452 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
5453 MPTWO.
5454 (__mpranred): Likewise.
5455
7da6d9ed
SP
5456 [BZ #15160]
5457 * malloc/memusagestat.c (main): Draw graphs for heap and stack
5458 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
5459
b7688c42
PE
54602013-02-26 Paul Eggert <eggert@cs.ucla.edu>
5461
5462 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
5463 Define __attribute__.
5464
53a5c423
SP
54652013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5466
5467 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
5468 unused.
5469 * posix/regex_internal.h (__attribute): Remove.
5470 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
5471 (re_string_context_at): Likewise.
5472 (bitset_not): Use __attribute__ and mark function as possibly
5473 unused.
5474 (bitset_merge): Likewise.
5475 (bitset_mask): Likewise.
5476 (re_string_char_size_at): Likewise.
5477 (re_string_wchar_at): Likewise.
5478 (re_string_elem_size_at): Likewise.
5479
60f5a8b5
SP
54802013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5481
2a983a2e
SP
5482 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
5483 code.
5484 (cc32): Likewise.
5485
e69804d1
SP
5486 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
5487 (__acr): Likewise.
5488 (__cpy): Likewise.
5489 (norm): Likewise.
5490 (denorm): Likewise.
5491 (__dbl_mp): Likewise.
5492 (add_magnitudes): Likewise.
5493 (sub_magnitudes): Likewise.
5494 (__mul): Likewise.
5495 (__inv): Likewise.
5496
2f22a1e8
SP
5497 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
5498 style.
5499
8930ddc7
SP
5500 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
5501 style.
5502
dc60cb11
SP
5503 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
5504 code.
5505
60f5a8b5
SP
5506 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
5507 up changes with default code.
5508 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
5509 Likewise.
5510
b4d1fd33
AM
55112013-02-24 Allan McRae <allan@archlinux.org>
5512
faf6f8bc
AM
5513 * manual/socket.texi (The Internet Namespace): Order menu items
5514 to match that in the file.
5515
b4d1fd33
AM
5516 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
5517 node listing of the info page menu.
5518
2366713d
JM
55192013-02-21 Joseph Myers <joseph@codesourcery.com>
5520
5521 [BZ #13550]
5522 * sysdeps/i386/bp-asm.h: Remove file.
5523 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
5524 (PARMS): Do not use macros from bp-asm.h.
5525 (S1): Likewise.
5526 (S2): Likewise.
5527 (SIZE): Likewise.
5528 (__mpn_add_n): Do not use BP_SYM
5529 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
5530 "bp-asm.h".
5531 (PARMS): Do not use macros from bp-asm.h.
5532 (S1): Likewise.
5533 (SIZE): Likewise.
5534 (__mpn_addmul_1): Do not use BP_SYM
5535 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
5536 "bp-asm.h".
5537 (PARMS): Do not use macros from bp-asm.h.
5538 (SIGMSK): Likewise.
5539 (_setjmp): Likewise. Do not use BP_SYM.
5540 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
5541 "bp-asm.h".
5542 (PARMS): Do not use macros from bp-asm.h.
5543 (SIGMSK): Likewise.
5544 (setjmp): Likewise. Do not use BP_SYM.
5545 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
5546 "bp-asm.h".
5547 (PARMS): Do not use macros from bp-asm.h.
5548 (__frexp): Do not use BP_SYM.
5549 (frexp): Likewise.
5550 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
5551 "bp-asm.h".
5552 (PARMS): Do not use macros from bp-asm.h.
5553 (__frexpf): Do not use BP_SYM.
5554 (frexpf): Likewise.
5555 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
5556 "bp-asm.h".
5557 (PARMS): Do not use macros from bp-asm.h.
5558 (__frexpl): Do not use BP_SYM.
5559 (frexpl): Likewise.
5560 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
5561 "bp-asm.h".
5562 (PARMS): Do not use macros from bp-asm.h.
5563 (__remquo): Do not use BP_SYM.
5564 (remquo): Likewise.
5565 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
5566 "bp-asm.h".
5567 (PARMS): Do not use macros from bp-asm.h.
5568 (__remquof): Do not use BP_SYM.
5569 (remquof): Likewise.
5570 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
5571 "bp-asm.h".
5572 (PARMS): Do not use macros from bp-asm.h.
5573 (__remquol): Do not use BP_SYM.
5574 (remquol): Likewise.
5575 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
5576 "bp-asm.h".
5577 (PARMS): Do not use macros from bp-asm.h.
5578 (DEST): Likewise.
5579 (SRC): Likewise.
5580 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
5581 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
5582 "bp-asm.h".
5583 (PARMS): Do not use macros from bp-asm.h.
5584 (strlen): Do not use BP_SYM.
5585 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
5586 "bp-asm.h".
5587 (PARMS): Do not use macros from bp-asm.h.
5588 (S1): Likewise.
5589 (S2): Likewise.
5590 (SIZE): Likewise.
5591 (__mpn_add_n): Do not use BP_SYM.
5592 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
5593 "bp-asm.h".
5594 (PARMS): Do not use macros from bp-asm.h.
5595 (S1): Likewise.
5596 (SIZE): Likewise.
5597 (__mpn_addmul_1): Do not use BP_SYM.
5598 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
5599 weak_alias.
5600 (bzero): Likewise.
5601 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
5602 "bp-asm.h".
5603 (PARMS): Do not use macros from bp-asm.h.
5604 (S): Likewise.
5605 (SIZE): Likewise.
5606 (__mpn_lshift): Do not use BP_SYM.
5607 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
5608 "bp-asm.h".
5609 (PARMS): Do not use macros from bp-asm.h.
5610 (DEST): Likewise.
5611 (SRC): Likewise.
5612 (LEN): Likewise.
5613 (memcpy): Likewise. Do not use BP_SYM.
5614 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
5615 libc_hidden_def and weak_alias.
5616 (mempcpy): Do not use BP_SYM in weak_alias.
5617 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
5618 "bp-asm.h".
5619 (PARMS): Do not use macros from bp-asm.h.
5620 (DEST): Likewise.
5621 (LEN): Likewise.
5622 [!BZERO_P] (CHR): Likewise.
5623 (memset): Likewise. Do not use BP_SYM.
5624 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
5625 "bp-asm.h".
5626 (PARMS): Do not use macros from bp-asm.h.
5627 (S1): Likewise.
5628 (SIZE): Likewise.
5629 (__mpn_mul_1): Do not use BP_SYM.
5630 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
5631 "bp-asm.h".
5632 (PARMS): Do not use macros from bp-asm.h.
5633 (S): Likewise.
5634 (SIZE): Likewise.
5635 (__mpn_rshift): Do not use BP_SYM.
5636 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
5637 "bp-asm.h".
5638 (PARMS): Do not use macros from bp-asm.h.
5639 (STR): Likewise.
5640 (CHR): Likewise.
5641 (strchr): Likewise. Do not use BP_SYM.
5642 (index): Do not use BP_SYM in weak_alias.
5643 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
5644 "bp-asm.h".
5645 (PARMS): Do not use macros from bp-asm.h.
5646 (DEST): Likewise.
5647 (SRC): Likewise.
5648 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
5649 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
5650 "bp-asm.h".
5651 (PARMS): Do not use macros from bp-asm.h.
5652 (strlen): Do not use BP_SYM.
5653 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
5654 "bp-asm.h".
5655 (PARMS): Do not use macros from bp-asm.h.
5656 (S1): Likewise.
5657 (S2): Likewise.
5658 (SIZE): Likewise.
5659 (__mpn_sub_n): Do not use BP_SYM.
5660 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
5661 "bp-asm.h".
5662 (PARMS): Do not use macros from bp-asm.h.
5663 (S1): Likewise.
5664 (SIZE): Likewise.
5665 (__mpn_submul_1): Do not use BP_SYM.
5666 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
5667 "bp-asm.h".
5668 (PARMS): Do not use macros from bp-asm.h.
5669 (S1): Likewise.
5670 (S2): Likewise.
5671 (SIZE): Likewise.
5672 (__mpn_add_n): Do not use BP_SYM.
5673 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
5674 weak_alias.
5675 (bzero): Likewise.
5676 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
5677 "bp-asm.h".
5678 (PARMS): Do not use macros from bp-asm.h.
5679 (BLK2): Likewise.
5680 (LEN): Likewise.
5681 (memcmp): Do not use BP_SYM.
5682 (bcmp): Do not use BP_SYM in weak_alias.
5683 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
5684 "bp-asm.h".
5685 (PARMS): Do not use macros from bp-asm.h.
5686 (DEST): Likewise.
5687 (SRC): Likewise.
5688 (LEN): Likewise.
5689 (memcpy): Likewise. Do not use BP_SYM.
5690 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
5691 "bp-asm.h".
5692 (PARMS): Do not use macros from bp-asm.h.
5693 (DEST): Likewise.
5694 (SRC): Likewise.
5695 (LEN): Likewise.
5696 (memmove): Likewise. Do not use BP_SYM.
5697 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
5698 "bp-asm.h".
5699 (PARMS): Do not use macros from bp-asm.h.
5700 (DEST): Likewise.
5701 (SRC): Likewise.
5702 (LEN): Likewise.
5703 (__mempcpy): Likewise. Do not use BP_SYM.
5704 (mempcpy): Do not use BP_SYM in weak_alias.
5705 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
5706 "bp-asm.h".
5707 (PARMS): Do not use macros from bp-asm.h.
5708 (DEST): Likewise.
5709 (LEN): Likewise.
5710 [!BZERO_P] (CHR): Likewise.
5711 (memset): Likewise. Do not use BP_SYM.
5712 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
5713 "bp-asm.h".
5714 (PARMS): Do not use macros from bp-asm.h.
5715 (STR2): Likewise.
5716 (strcmp): Do not use BP_SYM.
5717 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
5718 "bp-asm.h".
5719 (PARMS): Do not use macros from bp-asm.h.
5720 (STR): Likewise.
5721 (DELIM): Likewise.
5722 [USE_AS_STRTOK_R] (SAVE): Likewise.
5723 (FUNCTION): Likewise. Do not use BP_SYM.
5724 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
5725 aliases.
5726 (strtok_r): Likewise.
5727 (__GI___strtok_r): Likewise.
5728 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
5729 (PARMS): Do not use macros from bp-asm.h.
5730 (S): Likewise.
5731 (SIZE): Likewise.
5732 (__mpn_lshift): Do not use BP_SYM.
5733 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
5734 (PARMS): Do not use macros from bp-asm.h.
5735 (STR): Likewise.
5736 (CHR): Likewise.
5737 (__memchr): Do not use BP_SYM.
5738 (memchr): Do not use BP_SYM in weak_alias.
5739 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
5740 (PARMS): Do not use macros from bp-asm.h.
5741 (BLK2): Likewise.
5742 (LEN): Likewise.
5743 (memcmp): Do not use BP_SYM.
5744 (bcmp): Do not use BP_SYM in weak_alias.
5745 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
5746 (PARMS): Do not use macros from bp-asm.h.
5747 (S1): Likewise.
5748 (SIZE): Likewise.
5749 (__mpn_mul_1): Do not use BP_SYM.
5750 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
5751 "bp-asm.h".
5752 (PARMS): Do not use macros from bp-asm.h.
5753 (STR): Likewise.
5754 (CHR): Likewise.
5755 (__rawmemchr): Do not use BP_SYM.
5756 (rawmemchr): Do not use BP_SYM in weak_alias.
5757 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
5758 (PARMS): Do not use macros from bp-asm.h.
5759 (S): Likewise.
5760 (SIZE): Likewise.
5761 (__mpn_rshift): Do not use BP_SYM.
5762 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
5763 (PARMS): Do not use macros from bp-asm.h.
5764 (SIGMSK): Likewise.
5765 (__sigsetjmp): Likewise. Do not use BP_SYM.
5766 * sysdeps/i386/start.S: Do not include "bp-sym.h".
5767 (_start): Do not use BP_SYM.
5768 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
5769 (PARMS): Do not use macros from bp-asm.h.
5770 (DEST): Likewise.
5771 (SRC): Likewise.
5772 (__stpcpy): Likewise. Do not use BP_SYM.
5773 (stpcpy): Do not use BP_SYM in weak_alias.
5774 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
5775 "bp-asm.h".
5776 (PARMS): Do not use macros from bp-asm.h.
5777 (DEST): Likewise.
5778 (SRC): Likewise.
5779 (LEN): Likewise.
5780 (__stpncpy): Likewise. Do not use BP_SYM.
5781 (stpncpy): Do not use BP_SYM in weak_alias.
5782 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
5783 (PARMS): Do not use macros from bp-asm.h.
5784 (STR): Likewise.
5785 (CHR): Likewise.
5786 (strchr): Likewise. Do not use BP_SYM.
5787 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
5788 "bp-asm.h".
5789 (PARMS): Do not use macros from bp-asm.h.
5790 (STR): Likewise.
5791 (CHR): Likewise.
5792 (__strchrnul): Likewise. Do not use BP_SYM.
5793 (strchrnul): Do not use BP_SYM in weak_alias.
5794 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
5795 "bp-asm.h".
5796 (PARMS): Do not use macros from bp-asm.h.
5797 (STOP): Likewise.
5798 (strcspn): Do not use BP_SYM.
5799 * sysdeps/i386/strpbrk.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 (STOP): Likewise.
5804 (strpbrk): Likewise. Do not use BP_SYM.
5805 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
5806 "bp-asm.h".
5807 (PARMS): Do not use macros from bp-asm.h.
5808 (STR): Likewise.
5809 (CHR): Likewise.
5810 (strrchr): Likewise. Do not use BP_SYM.
5811 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
5812 (PARMS): Do not use macros from bp-asm.h.
5813 (SKIP): Likewise.
5814 (strspn): Do not use BP_SYM.
5815 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
5816 (PARMS): Do not use macros from bp-asm.h.
5817 (STR): Likewise.
5818 (DELIM): Likewise.
5819 (SAVE): Likewise.
5820 (FUNCTION): Likewise. Do not use BP_SYM.
5821 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
5822 aliases.
5823 (strtok_r): Likewise.
5824 (__GI___strtok_r): Likewise.
5825 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
5826 (PARMS): Do not use macros from bp-asm.h.
5827 (S1): Likewise.
5828 (S2): Likewise.
5829 (SIZE): Likewise.
5830 (__mpn_sub_n): Do not use BP_SYM.
5831 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
5832 "bp-asm.h".
5833 (PARMS): Do not use macros from bp-asm.h.
5834 (S1): Likewise.
5835 (SIZE): Likewise.
5836 (__mpn_submul_1): Do not use BP_SYM.
5837 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
5838 <bp-sym.h>.
5839 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
5840 and <bp-asm.h>.
5841 (PARMS): Do not use macros from bp-asm.h.
5842 (FLAGS): Likewise.
5843 (PTID): Likewise.
5844 (TLS): Likewise.
5845 (CTID): Likewise.
5846 (__clone): Do not use BP_SYM.
5847 (clone): Do not use BP_SYM in weak_alias.
5848 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
5849 and <bp-asm.h>.
5850 (PARMS): Do not use macros from bp-asm.h.
5851 (LEN): Likewise.
5852 (__mmap64): Do not use BP_SYM.
5853 (mmap64): Do not use BP_SYM in weak_alias.
5854 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
5855 <bp-sym.h> and <bp-asm.h>.
5856 (PARMS): Do not use macros from bp-asm.h.
5857 (__posix_fadvise64_l64): Do not use BP_SYM.
5858 * sysdeps/unix/sysv/linux/i386/semtimedop.S
5859 (PARMS): Do not use macros from bp-asm.h.
5860 (NSOPS): Likewise.
5861 (semtimedop): Do not use BP_SYM.
5862 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
5863 and <bp-asm.h>.
5864
582a3cff
AM
58652013-02-21 Allan McRae <allan@archlinux.org>
5866
5867 * manual/message.texi (Charset conversion in gettext):
5868 Move @end statement to beginning of line.
5869
bab8a695
SP
58702013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5871
80945231
SP
5872 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
5873 static.
5874 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
5875 Likewise.
5876
bab8a695
SP
5877 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
5878 (denorm): Likewise.
5879 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
5880 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
5881
e21d7aa7
AK
58822013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5883
5884 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
5885 tail-call to the resolved function if pltexit isn't needed.
5886
4c7a4263
SP
58872013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5888
5889 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
5890 or Y being zero as being unlikely.
5891 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
5892 Likewise.
5893
41f49342
CD
58942013-02-20 Carlos O'Donell <carlos@redhat.com>
5895
5896 * manual/nss.texi (System Databases and Name Service Switch):
5897 Remove frobnicate @pxref.
5898
50022a93
TS
58992013-02-20 Thomas Schwinge <thomas@codesourcery.com>
5900
5901 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
5902 __attribute__ ((unused)) to __attribute__ ((__unused__)).
5903
08cbd996
PM
59042013-02-20 Petr Machata <pmachata@redhat.com>
5905
5906 * elf/elf.h (R_ARM_TARGET1): New macro.
5907 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
5908 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
5909 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
5910 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
5911 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
5912 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
5913 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
5914 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
5915 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
5916 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
5917 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
5918 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
5919 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
5920 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
5921 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
5922 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
5923 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
5924 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
5925 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
5926 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
5927 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
5928 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
5929 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
5930 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
5931 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
5932 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
5933 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
5934 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
5935 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
5936 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
5937 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
5938 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
5939 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
5940 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
5941 (R_ARM_THM_GOT_BREL12): Likewise.
5942 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
5943 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
5944 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
5945 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
5946 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
5947 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
5948 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
5949 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
5950 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
5951
c7b275d6
TS
59522013-02-20 Thomas Schwinge <thomas@codesourcery.com>
5953
5954 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
5955 __attribute_used__ to __attribute__ ((unused)).
5956
20cd7fb3
SP
59572013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5958
5959 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
5960 powerpc mpa.c.
5961 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
5962 comment formatting.
5963 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
5964
92945b52
JM
59652013-02-19 Joseph Myers <joseph@codesourcery.com>
5966
5967 [BZ #13550]
5968 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
5969 Remove macro.
5970 (ENTER): Remove both macro definitions.
5971 (LEAVE): Likewise.
5972 (CHECK_BOUNDS_LOW): Likewise.
5973 (CHECK_BOUNDS_HIGH): Likewise.
5974 (CHECK_BOUNDS_BOTH): Likewise.
5975 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
5976 (RETURN_BOUNDED_POINTER): Likewise.
5977 (RETURN_NULL_BOUNDED_POINTER): Likewise.
5978 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
5979 (POP_ERRNO_LOCATION_RETURN): Likewise.
5980 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
5981 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5982 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
5983 macros.
5984 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5985 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
5986 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
5987 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
5988 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
5989 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
5990 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
5991 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
5992 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
5993 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
5994 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
5995 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
5996 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5997 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
5998 removed macros.
5999 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6000 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
6001 macros.
6002 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6003 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
6004 * sysdeps/i386/i586/memset.S (memset): Likewise.
6005 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
6006 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6007 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
6008 macros.
6009 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6010 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
6011 Change uses of L(2) to L(out).
6012 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
6013 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
6014 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
6015 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6016 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
6017 removed macros.
6018 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6019 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
6020 macros.
6021 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6022 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
6023 (RETURN): Do not use macro LEAVE.
6024 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
6025 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
6026 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
6027 * sysdeps/i386/i686/memset.S (memset): Likewise.
6028 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
6029 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
6030 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6031 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
6032 Likewise.
6033 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6034 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
6035 L(1_2) and L(1_3) into L(1).
6036 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
6037 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
6038 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6039 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
6040 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6041 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
6042 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
6043 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6044 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
6045 macros.
6046 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
6047 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6048 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
6049 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
6050 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
6051 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6052 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
6053 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
6054 * sysdeps/i386/strcspn.S (strcspn): Likewise.
6055 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
6056 * sysdeps/i386/strrchr.S (strrchr): Likewise.
6057 * sysdeps/i386/strspn.S (strspn): Likewise.
6058 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
6059 conditional code.
6060 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6061 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
6062 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
6063 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
6064 L(1_3) into L(1_1).
6065 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
6066 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6067 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
6068 macros.
6069 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6070
2389741a
JJ
60712013-02-19 Jakub Jelinek <jakub@redhat.com>
6072
6073 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
6074 macro.
6075
2016b3cd
SP
60762013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6077
e4f22324
SP
6078 * math/atest-exp.c (exp_mpn): Remove ROUND.
6079 * math/atest-exp2.c (exp_mpn): Likewise.
6080 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
6081
2016b3cd
SP
6082 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
6083 * stdlib/tst-tls-atexit-lib.c: Likewise.
6084 * stdlib/tst-tls-atexit.c: Likewise.
6085
4be9b544
MF
60862013-02-18 Mike Frysinger <vapier@gentoo.org>
6087
6088 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
6089 and __attribute_alloc_size__.
6090
2f62b9ee
MF
60912013-02-18 Mike Frysinger <vapier@gentoo.org>
6092
6093 * include/programs/xmalloc.h: Change __attribute_alloc_size to
6094 __attribute_alloc_size__.
6095 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
6096 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
6097
6ff444c4
MF
60982013-02-18 Mike Frysinger <vapier@gentoo.org>
6099
6100 * include/programs/xmalloc.h: New file.
6101 * catgets/gencat.c: Include it.
6102 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
6103 * elf/pldd.c: Likewise.
6104 * iconv/iconv_charmap.c: Likewise.
6105 * iconv/iconvconfig.c: Likewise.
6106 * iconv/strtab.c: Likewise.
6107 * locale/programs/locale.c: Likewise.
6108 * locale/programs/localedef.h: Likewise.
6109 * locale/programs/simple-hash.c: Likewise.
6110 * nscd/nscd.h: Likewise.
6111 * nss/makedb.c: Likewise.
6112 * sysdeps/generic/ldconfig.h: Likewise.
6113
be179c8a
SP
61142013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6115
ba384f6e
SP
6116 * Versions.def: Add GLIBC_2.18.
6117 * include/link.h (struct link_map): New member l_tls_dtor_count.
6118 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
6119 (__call_tls_dtors): Likewise.
6120 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
6121 __cxa_thread_atexit_impl.
6122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6123 Likewise.
6124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6125 Likewise.
6126 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
6127 Likewise.
6128 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
6129 Likewise.
6130 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6131 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
6132 Likewise.
6133 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
6134 Likewise.
6135 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6136 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
6137 Likewise.
6138 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
6139 (tests): Add test case tst-tls-atexit.
6140 (modules-names): Add shared library for tst-tls-atexit.
6141 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
6142 (GLIBC_PRIVATE): Add __call_tls_dtors.
6143 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
6144 for libstdc++.
6145 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
6146 * stdlib/tst-tls-atexit.c: New test case.
6147 * stdlib/tst-tls-atexit-lib.c: New test case.
6148
ffaa74cf 6149 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 6150
be179c8a
SP
6151 * elf/Versions (ld): Add _dl_find_dso_for_object.
6152 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
6153 * elf/dl-open.c (_dl_find_dso_for_object): New function.
6154 (dl_open_worker): Use _dl_find_dso_for_object.
6155 * elf/dl-sym.c (do_sym): Likewise.
6156 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
6157
f78b5caa
AK
61582013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6159
6160 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
6161 Syntactic changes only.
6162 (_dl_runtime_profile): Do a tail-call to the resolved function.
6163
29691210
JM
61642013-02-17 Joseph Myers <joseph@codesourcery.com>
6165
6166 [BZ #13550]
6167 * sysdeps/x86_64/bp-asm.h: Remove file.
6168 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
6169 <bp-sym.h> and <bp-asm.h>.
6170 (__clone): Do not use BP_SYM.
6171 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
6172 <bp-sym.h> and <bp-asm.h>.
6173 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6174 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
6175 "bp-asm.h".
6176 (_setjmp): Do not use BP_SYM.
6177 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
6178 "bp-asm.h".
6179 (setjmp): Do not use BP_SYM.
6180 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
6181 libc_hidden_def.
6182 (mempcpy): Do not use BP_SYM in weak_alias.
6183 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
6184 "bp-asm.h".
6185 (strchr): Do not use BP_SYM.
6186 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
6187 "bp-asm.h".
6188 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
6189 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
6190 (_start): Do not use BP_SYM.
6191 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
6192 "bp-asm.h".
6193 (strcat): Do not use BP_SYM.
6194 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
6195 "bp-asm.h".
6196 (STRCMP): Do not use BP_SYM.
6197 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
6198 "bp-asm.h".
6199 (STRCPY): Do not use BP_SYM.
6200 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
6201 "bp-asm.h".
6202 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
6203 "bp-asm.h".
6204 (FUNCTION): Do not use BP_SYM.
6205 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
6206 weak_alias.
6207 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
6208
f238fd19
AJ
62092013-02-17 Andreas Jaeger <aj@suse.de>
6210
6211 * time/Versions: Sort entries.
6212 * string/Versions: Likewise.
6213 * resolv/Versions: Likewise.
6214 * posix/Versions: Likewise.
6215 * iconv/Versions: Likewise.
6216 * elf/Versions: Likewise.
6217 * wcsmbs/Versions: Likewise.
6218
bd07f23c 62192013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 6220
22af19f9
SP
6221 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
6222 loop termination condition.
6223
4709fe76
SP
6224 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
6225 variable to calculate EZ.
6226 (__sqr): Likewise.
2d0e0f29
SP
6227
6228 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
6229 the lower precision input.
6230
daaa7713
JM
62312013-02-15 Joseph Myers <joseph@codesourcery.com>
6232
6233 [BZ #13550]
6234 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
6235 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
6236 (run-via-rtld-prefix): Do not handle %-bp tests.
6237 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
6238 (all-object-suffixes): Remove .ob.
6239 (bppfx): Remove variable.
6240 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
6241 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
6242 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
6243 [$(build-bounded) = yes] (libtype.ob): Likewise.
6244 * Makerules (elide-routines.ob): Remove variable.
6245 (do-tests-clean): Do not handle *-bp.out.
6246 (common-mostlyclean): Do not handle *-bp and *-bp.out.
6247 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
6248 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
6249 (tests): Do not include $(tests-bp.out).
6250 (xtests): Do not include $(xtests-bp.out).
6251 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
6252 [$(build-bounded) = yes] ($(addprefix
6253 $(objpfx),$(binaries-bounded))): Remove rule.
6254 ($(objpfx)%-bp.out): Remove rule.
6255 * config.make.in (build-bounded): Remove variable.
6256 * crypt/Makefile [$(build-bounded) = yes]
6257 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
6258 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
6259 append to variable.
6260 [$(build-bounded) = yes] (install-lib): Likewise.
6261 [$(build-bounded) = yes] (generated): Likewise.
6262 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
6263 Remove rule.
6264 * intl/Makefile [$(build-bounded) = yes]
6265 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
6266 * math/Makefile [$(build-bounded) = yes]
6267 ($(tests:%=$(objpfx)%-bp): Likewise.
6268 * misc/Makefile [$(build-bounded) = yes]
6269 ($(objpfx)tst-tsearch-bp): Likewise.
6270 * nptl/Makeconfig (bounded-thread-library): Remove variable.
6271 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
6272 Remove dependency.
6273 * string/Makefile (o-objects.ob): Remove variable.
6274 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
6275 (CFLAGS-.ob): Remove variable.
6276 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
6277 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
6278 both definitions of variable.
6279 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
6280 (ASFLAGS-.ob): Remove variable.
6281
e97ed6dd
JM
62822013-02-14 Joseph Myers <joseph@codesourcery.com>
6283
2bdd4ca6
JM
6284 [BZ #13550]
6285 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
6286 Remove __BOUNDED_POINTERS__ from condition.
6287 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
6288 * string/bits/string2.h [!__NO_STRING_INLINES &&
6289 !__BOUNDED_POINTERS__]: Likewise.
6290 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
6291 Likewise.
6292 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
6293 Remove conditional code.
6294 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
6295 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
6296 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
6297 condition.
6298
e97ed6dd
JM
6299 [BZ #13550]
6300 * csu/libc-start.c: Do not include <bp-sym.h>.
6301 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
6302 * elf/dl-open.c: Do not include <bp-sym.h>.
6303 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
6304 * math/fegetenv.c: Do not include <bp-sym.h>.
6305 (fegetenv): Do not use BP_SYM in versioned symbols.
6306 * nptl/sysdeps/pthread/bits/libc-lockP.h
6307 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
6308 <bp-sym.h>.
6309 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6310 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
6311 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6312 (__pthread_mutex_destroy): Likewise.
6313 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6314 (__pthread_mutex_lock): Likewise.
6315 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6316 (__pthread_mutex_trylock): Likewise.
6317 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6318 (__pthread_mutex_unlock): Likewise.
6319 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6320 (__pthread_mutexattr_init): Likewise.
6321 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6322 (__pthread_mutexattr_destroy): Likewise.
6323 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6324 (__pthread_mutexattr_settype): Likewise.
6325 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6326 (__pthread_rwlock_init): Likewise.
6327 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6328 (__pthread_rwlock_destroy): Likewise.
6329 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6330 (__pthread_rwlock_rdlock): Likewise.
6331 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6332 (__pthread_rwlock_tryrdlock): Likewise.
6333 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6334 (__pthread_rwlock_wrlock): Likewise.
6335 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6336 (__pthread_rwlock_trywrlock): Likewise.
6337 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6338 (__pthread_rwlock_unlock): Likewise.
6339 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6340 (__pthread_key_create): Likewise.
6341 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6342 (__pthread_setspecific): Likewise.
6343 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6344 (__pthread_getspecific): Likewise.
6345 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
6346 Likewise.
6347 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6348 (_pthread_cleanup_push_defer): Likewise.
6349 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6350 (_pthread_cleanup_pop_restore): Likewise.
6351 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6352 (pthread_setcancelstate): Likewise.
6353 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
6354 <bp-sym.h>.
6355 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
6356 (memchr): Do not use BP_SYM in weak_alias.
6357 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
6358 (fegetenv): Do not use BP_SYM in versioned symbols.
6359 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
6360 (fesetenv): Do not use BP_SYM in versioned symbols.
6361 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
6362 (feupdateenv): Do not use BP_SYM in versioned symbols.
6363 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
6364 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
6365 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
6366 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
6367 (open64): Do not use BP_SYM in weak_alias.
6368 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
6369 (fegetenv): Do not use BP_SYM in versioned symbols.
6370 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
6371 (fesetenv): Do not use BP_SYM in versioned symbols.
6372 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
6373 (feupdateenv): Do not use BP_SYM in versioned symbols.
6374 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
6375 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
6376 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
6377 (feraiseexcept): Do not use BP_SYM in versioned symbols.
6378 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
6379 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
6380 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
6381 <bp-sym.h>.
6382 (__libc_start_main): Do not use BP_SYM.
6383
d6752ccd
SP
63842013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6385
cb57ce60
SP
6386 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
6387 redundant return line.
6388 (norm): Likewise.
6389 (denorm): Likewise.
6390 (dbl_mp): Likewise.
6391 (sub_magnitudes): Likewise.
6392 (__add): Likewise.
6393 (__sub): Likewise.
6394 (__mul): Likewise.
6395 (__inv): Likewise.
6396 (__dvd): Likewise.
6397 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
6398 (norm): Likewise.
6399 (denorm): Likewise.
6400 (dbl_mp): Likewise.
6401 (sub_magnitudes): Likewise.
6402 (__add): Likewise.
6403 (__sub): Likewise.
6404 (__mul): Likewise.
6405 (__inv): Likewise.
6406 (__dvd): Likewise.
6407
f414520d
SP
6408 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
6409 instead of __mul.
6410 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
6411 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
6412 (cc32): Likewise.
6413
d6752ccd
SP
6414 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
6415 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
6416 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
6417 of __mul for squares.
6418 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
6419 function
6420 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
6421 Likewise.
6422 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
6423 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
6424
70d9946a
JM
64252013-02-13 Joseph Myers <joseph@codesourcery.com>
6426
6427 [BZ #13550]
6428 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
6429 code.
6430 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
6431 prototype or function definition. Rename ubp_* variables and
6432 parameters. Remove argv definitions conditional on
6433 [__BOUNDED_POINTERS__].
6434 * debug/backtrace.c (__backtrace): Do not use __unbounded.
6435 * elf/dl-runtime.c (_dl_fixup): Likewise.
6436 * include/set-hooks.h (RUN_HOOK): Likewise.
6437 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
6438 definition.
6439 * string/strcpy.c (strcpy): Do not use __unbounded.
6440 * sysdeps/generic/frame.h (struct layout): Likewise.
6441 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
6442 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
6443 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
6444 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
6445 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
6446 (__backtrace): Likewise.
6447 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
6448 use __ptrvalue.
6449 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
6450 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
6451 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
6452 Likewise.
6453 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
6454 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
6455 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
6456 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
6457 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
6458 Do not use __unbounded.
6459 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
6460 Rename __unboundedrlimits parameter to rlimits in prototype.
6461 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
6462 Do not use __unbounded.
6463 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
6464 not use __ptrvalue.
6465 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
6466 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
6467 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
6468 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
6469 __ptrvalue or __unbounded.
6470 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
6471 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
6472 use __unbounded.
6473 (__new_msgctl): Do not use __ptrvalue.
6474 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
6475 __unbounded.
6476 (__libc_msgrcv): Do not use __ptrvalue.
6477 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
6478 startup_info): Do not use __unbounded.
6479 (__libc_start_main): Likewise. Rename ubp_* variables and
6480 parameters. Remove argv definitions conditional on
6481 [__BOUNDED_POINTERS__].
6482 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
6483 __ptrvalue.
6484 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
6485 use __unbounded.
6486 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
6487 or __ptrvalue.
6488 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
6489 use __unbounded.
6490 (__new_shmctl): Do not use __ptrvalue.
6491 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
6492 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
6493 Likewise.
6494 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
6495 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
6496 (__libc_sigaction): Likewise.
6497 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
6498 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
6499 Likewise.
6500 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
6501
cc7834d6
OB
65022013-02-13 Ondřej Bílka <neleai@seznam.cz>
6503
ffb1ec7b 6504 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
6505
6506 * string/mempcpy.c: Implement by calling memcpy.
6507
bdf02814
SP
65082013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6509
c2af38aa
SP
6510 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
6511
4e92d59e
SP
6512 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
6513 evaluation.
6514
909279a5
SP
6515 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
6516 values in the mantissa.
6517
bdf02814
SP
6518 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
6519 minimize writes to Z.
6520 (sub_magnitudes): Simplify code a bit.
6521
cd525923
RM
65222013-02-12 Roland McGrath <roland@hack.frob.com>
6523
6524 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
6525 from the message. The linker prefixes all warnings with that already.
6526
7e2f0d2d
AS
65272013-02-12 Andreas Schwab <schwab@suse.de>
6528
a445af0b
AS
6529 [BZ #15078]
6530 * posix/regexec.c (extend_buffers): Add parameter min_len.
6531 (check_matching): Pass minimum needed length.
6532 (clean_state_log_if_needed): Likewise.
6533 (get_subexp): Likewise.
6534 * posix/Makefile (tests): Add bug-regex34.
6535 (bug-regex34-ENV): Define.
6536 * posix/bug-regex34.c: New file.
6537
7e2f0d2d
AS
6538 [BZ #11561]
6539 * posix/regcomp.c (parse_bracket_exp): When looking up collating
6540 elements compare against the byte sequence of it, not its name.
6541 * posix/Makefile (tests): Add bug-regex35.
6542 (bug-regex35-ENV): Define.
6543 * posix/bug-regex35.c: New file.
6544
a175b684
TV
65452013-02-11 Tom de Vries <tom@codesourcery.com>
6546
6547 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
6548 comment.
6549 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
6550 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
6551 (CHECK_EOL): Add undef.
6552
310998fe 65532013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
6554
6555 * bits/stdlib-bsearch.h: New file.
6556 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 6557 * stdlib/stdlib.h: Likewise.
41eda41d 6558
8ded91fb
RM
65592013-02-11 Roland McGrath <roland@hack.frob.com>
6560
6561 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
6562 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
6563 declaration.
6564 * manual/search.texi (Array Search Function): Add missing const in
6565 lfind prototype.
6566 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
6567 declaration to use rlim_t.
6568 (Basic Scheduling Functions): Remove erroneous const from
6569 sched_getparam prototype. Remove erroneous * from
6570 sched_get_priority_max and sched_get_priority_min prototypes.
6571 (Resource Usage): Fix summary @comment on vtimes to refer to
6572 sys/vtimes.h rather than vtimes.h.
6573 Add missing *s in vtimes prototype.
6574 (Limits on Resources): Fix ulimit prototype to return long int.
6575 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
6576 prototypes to use long int rather than double.
6577 (BSD Random): Fix initstate and setstate to use char *, not void *.
6578 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
6579 prototype to make second argument 'struct aiocb64 *const[]'.
6580 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
6581 (Status of AIO Operations): Remove erroneous const in aio_return and
6582 aio_return64 prototypes.
6583 (Synchronizing I/O): Fix sync prototype to return void.
6584 * manual/startup.texi (Suboptions): Remove an erroneous const in
6585 getsubopt prototype.
6586 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
6587 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
6588 use size_t rather than int.
6589 (Scanning All Users): Likewise for getpwent_r.
6590 (Setting Groups): Add missing const to setgroups prototype.
6591 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
6592 * manual/socket.texi (Host Names): Fix gethostbyaddr and
6593 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
6594 'const void *' rather than 'const char *'.
6595 (Host Address Functions): Likewise for inet_ntop.
6596 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
6597 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
6598 ssize_t for return value.
6599 (Sending Data): Likewise for send, sendto, sendmsg.
6600 (Socket Option Functions): Add a missing const in setsockopt prototype.
6601 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
6602 use wchar_t for the argument.
6603 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
6604 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
6605 take no arguments.
6606 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
6607 double/float/long double for second argument.
6608 Fix return types of significand, significandf, significandl.
6609 * manual/filesys.texi (Setting Permissions): Use mode_t for second
6610 argument in fchmod prototype.
6611 (File Owner): Use uid_t and gid_t in fchown prototype.
6612 (File Times): Add const to utimes, futimes, and lutimes prototypes.
6613 (Making Special Files): Use mode_t and dev_t in mknod prototype.
6614 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
6615 use 'const struct dirent **' as argument types to CMP function pointer
6616 argument.
6617 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
6618 (File Times): Fix summary magic @comment for struct utimbuf and utime
6619 to refer to utime.h, not time.h.
6620 * manual/string.texi (Argz Functions): Add missing const in
6621 argz_extract and argz_next prototypes.
6622 (Finding Tokens in a String): Likewise for basename.
6623 (String/Array Comparison): Fix typo in wcscasecmp prototype.
6624 (Copying and Concatenation): Fix typo in wmemmove prototype.
6625 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
6626 (Signal Stack): Remove erroneous const in sigstack prototype.
6627 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
6628 prototype.
6629 (Simple Calendar Time): Likewise for stime.
6630 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
6631 prototype.
6632 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
6633 say sys/sysctl.h instead.
6634 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
6635 and vsyslog prototypes.
6636
fe77fe6d
TV
66372013-02-11 Tom de Vries <tom@codesourcery.com>
6638
6639 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
6640 Remove.
6641
3a09b620
RM
66422013-02-11 Roland McGrath <roland@hack.frob.com>
6643
6644 * misc/sys/mman.h: Fix typo in mremap comment.
6645
550a0b89
RM
66462013-02-08 Roland McGrath <roland@hack.frob.com>
6647
6648 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
6649 the '\0' terminator.
6650
a2da1673
JM
66512013-02-08 Joseph Myers <joseph@codesourcery.com>
6652
6653 [BZ #13550]
6654 * debug/segfault.c: Don't include <bp-checks.h>.
6655 * sysdeps/generic/bp-checks.h: Remove file.
6656 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
6657 (__GETDENTS): Don't use CHECK_N.
6658 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
6659 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
6660 (__getgroups): Don't use CHECK_N.
6661 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
6662 (setgroups): Don't use CHECK_N.
6663 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
6664 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
6665 (__libc_msgrcv): Don't use CHECK_N.
6666 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
6667 (__libc_msgsnd): Don't use CHECK_N.
6668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
6669 <bp-checks.h>.
6670 (__libc_pread): Don't use CHECK_N.
6671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
6672 include <bp-checks.h>.
6673 (__libc_pread64): Don't use CHECK_N.
6674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
6675 include <bp-checks.h>.
6676 (__libc_pwrite): Don't use CHECK_N.
6677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
6678 include <bp-checks.h>.
6679 (__libc_pwrite64): Don't use CHECK_N.
6680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
6681 <bp-checks.h>.
6682 (__libc_pread): Don't use CHECK_N.
6683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
6684 include <bp-checks.h>.
6685 (__libc_pread64): Don't use CHECK_N.
6686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
6687 include <bp-checks.h>.
6688 (__libc_pwrite): Don't use CHECK_N.
6689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
6690 include <bp-checks.h>.
6691 (__libc_pwrite64): Don't use CHECK_N.
6692 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
6693 (do_pread): Don't use CHECK_N.
6694 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
6695 (do_pread64): Don't use CHECK_N.
6696 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
6697 (do_pwrite): Don't use CHECK_N.
6698 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
6699 (do_pwrite64): Don't use CHECK_N.
6700 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
6701 (__libc_readv): Don't use CHECK_N.
6702 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
6703 (semop): Don't use CHECK_N.
6704 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
6705 <bp-checks.h>.
6706 (semtimedop): Don't use CHECK_N.
6707 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
6708 (__libc_pread): Don't use CHECK_N.
6709 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
6710 <bp-checks.h>.
6711 (__libc_pread64): Don't use CHECK_N.
6712 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
6713 <bp-checks.h>.
6714 (__libc_pwrite): Don't use CHECK_N.
6715 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
6716 <bp-checks.h>.
6717 (__libc_pwrite64): Don't use CHECK_N.
6718 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
6719 <bp-checks.h>.
6720 (__libc_msgrcv): Don't use CHECK_N.
6721 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
6722 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
6723 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
6724 (__libc_writev): Don't use CHECK_N.
6725
b84660a8
RM
67262013-02-08 Roland McGrath <roland@hack.frob.com>
6727
7f3e75f8
RM
6728 * string/strcpy.c: Removed unused variable.
6729
b84660a8
RM
6730 * Makeconfig (+sysdep-includes): Define with := rather than =.
6731 Use an existing include/ subdir of each sysdeps dir before it.
6732
471514d3
CD
67332013-02-08 Carlos O'Donell <carlos@redhat.com>
6734
6735 * nscd/connection.c (register_traced_file): Comment function.
6736 [HAVE_INOTIFY] (union __inev): Define.
6737 [HAVE_INOTIFY] (inotify_check_files): New function.
6738 [HAVE_INOTIFY] (clear_db_cache): Likewise.
6739 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
6740 clear_db_cache.
6741 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
6742
b2d3c3be
CD
67432013-02-08 Carlos O'Donell <carlos@redhat.com>
6744
6745 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
6746 loaded if not already and that a failure is permanent.
6747
b39949d2
CD
67482013-02-08 Carlos O'Donell <carlos@redhat.com>
6749
ddacd1db 6750 [BZ #15006]
b39949d2
CD
6751 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
6752 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
6753
b2c9eff4
JM
67542013-02-08 Joseph Myers <joseph@codesourcery.com>
6755
f3aae3f3
JM
6756 [BZ #13550]
6757 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
6758 (CHECK_1_NULL_OK): Likewise.
6759 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
6760 (__fxstat): Do not use CHECK_1.
6761 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
6762 <bp-checks.h>.
6763 (___fxstat64): Do not use CHECK_1.
6764 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
6765 <bp-checks.h>.
6766 (__fxstatat): Do not use CHECK_1.
6767 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
6768 <bp-checks.h>.
6769 (__fxstatat64): Do not use CHECK_1.
6770 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
6771 <bp-checks.h>.
6772 (__fxstat): Do not use CHECK_1.
6773 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
6774 <bp-checks.h>.
6775 (__fxstatat): Do not use CHECK_1.
6776 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
6777 <bp-checks.h>.
6778 (__getresgid): Do not use CHECK_1.
6779 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
6780 <bp-checks.h>.
6781 (__getresuid): Do not use CHECK_1.
6782 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
6783 <bp-checks.h>.
6784 (__lxstat): Do not use CHECK_1.
6785 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
6786 <bp-checks.h>.
6787 (__old_msgctl): Do not use CHECK_1.
6788 (__new_msgctl): Likewise.
6789 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
6790 <bp-checks.h>.
6791 (__new_setrlimit): Do not use CHECK_1.
6792 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
6793 <bp-checks.h>.
6794 (__old_shmctl): Do not use CHECK_1.
6795 (__new_shmctl): Likewise.
6796 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
6797 <bp-checks.h>.
6798 (__xstat): Do not use CHECK_1.
6799 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
6800 (__lxstat): Do not use CHECK_1.
6801 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
6802 <bp-checks.h>.
6803 (___lxstat64): Do not use CHECK_1.
6804 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
6805 (__old_msgctl): Do not use CHECK_1.
6806 (__new_msgctl): Likewise.
6807 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
6808 <bp-checks.h>.
6809 (__gettimeofday): Do not use CHECK_1.
6810 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
6811 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
6812 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
6813 <bp-checks.h>.
6814 (__gettimeofday): Do not use CHECK_1.
6815 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
6816 (__old_shmctl): Do not use CHECK_1_NULL_OK.
6817 (__new_shmctl): Do not use CHECK_1.
6818 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
6819 <bp-checks.h>.
6820 (do_sigtimedwait): Do not use CHECK_1.
6821 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
6822 <bp-checks.h>.
6823 (do_sigwaitinfo): Do not use CHECK_1.
6824 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
6825 <bp-checks.h>.
6826 (msgctl): Do not use CHECK_1.
6827 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
6828 <bp-checks.h>.
6829 (shmctl): Do not use CHECK_1.
6830 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
6831 (ustat): Do not use CHECK_1.
6832 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
6833 <bp-checks.h>.
6834 (__fxstat): Do not use CHECK_1.
6835 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
6836 <bp-checks.h>.
6837 (__fxstatat): Do not use CHECK_1.
6838 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
6839 <bp-checks.h>.
6840 (__lxstat): Do not use CHECK_1.
6841 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
6842 <bp-checks.h>.
6843 (__xstat): Do not use CHECK_1.
6844 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
6845 (__xstat): Do not use CHECK_1.
6846 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
6847 (___xstat64): Do not use CHECK_1.
6848
b2c9eff4
JM
6849 [BZ #13550]
6850 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
6851 definitions.
6852 (CHECK_BOUNDS_HIGH): Likewise.
6853 * string/strcpy.c: Do not include <bp-checks.h>.
6854 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
6855
f1d70dad
RM
68562013-02-07 Roland McGrath <roland@hack.frob.com>
6857
6858 * nscd/nscd-client.h (__nscd_drop_map_ref):
6859 Add __attribute__ ((unused)).
6860 * nis/nss-nisplus.h (niserr2nss): Likewise.
6861
6862 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
6863 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
6864
6865 * csu/libc-tls.c (init_static_tls, init_slotinfo):
6866 Remove inline keyword.
6867 * include/rounding-mode.h (round_away): Likewise.
6868 * libio/wfileops.c (adjust_wide_data): Likewise.
6869 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
6870 (__m128i_strloadu_tolower): Likewise.
6871 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
6872 (__m128i_strloadu_tolower): Likewise.
6873 * time/mktime.c (ydhms_diff): Likewise.
6874 * locale/elem-hash.h (elem_hash): Likewise.
6875 * locale/setlocale.c (setdata): Likewise.
6876 * posix/regex_internal.h (re_string_char_size_at): Likewise.
6877 (re_string_wchar_at): Likewise.
6878 (bitset_not, bitset_merge, bitset_mask): Likewise.
6879 [!(__GNUC__ > 3)] (inline): Remove macro.
6880 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
6881 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
6882 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
6883 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
6884 * string/memcmp.c (memcmp_bytes): Likewise.
6885 * locale/programs/locarchive.c (compute_hashval): Likewise.
6886 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
6887 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
6888 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
6889 * nss/getent.c (print_rpc, print_protocols): Likewise.
6890 (print_passwd, print_group, print_aliases): Likewise.
6891 * nis/nss-nisplus.h (niserr2nss): Likewise.
6892 * nscd/connections.c (restart_p): Likewise.
6893 Change return type to bool.
6894
eab55bfb
RM
68952013-02-05 Roland McGrath <roland@hack.frob.com>
6896
7bd642f5
RM
6897 * Makeconfig (all-Depend-files): Add existing
6898 $(sorted-subdirs:=/Depend) files.
6899 (all-subdirs): Remove nss.
6900 * sysdeps/unix/inet/Subdirs: Add it here instead.
6901 * hesiod/Depend: New file.
6902
573c29b2
RM
6903 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
6904 instead of calling alloca.
6905
b2e25af0
RM
6906 * io/lseek.c (__lseek): Rename to __libc_lseek.
6907 Define __lseek as an alias.
6908
eab55bfb
RM
6909 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
6910
9a0d1941
CD
69112013-02-04 Carlos O'Donell <carlos@redhat.com>
6912
6913 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
6914 else clause and remove check for non-standard endianness.
6915
b83bbec4
DM
69162013-02-04 David S. Miller <davem@davemloft.net>
6917
6918 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6919
6277fdab
JM
69202013-02-04 Joseph Myers <joseph@codesourcery.com>
6921
6922 [BZ #13550]
6923 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
6924 (__ubp_memchr): Remove prototype.
6925 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
6926 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
6927 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
6928 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
6929 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
6930 Remove alias.
6931 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
6932 (__ubp_memchr): Likewise.
6933 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
6934 (__ubp_memchr): Likewise.
6935 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
6936 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
6937 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
6938 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
6939 CHECK_STRING.
6940 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
6941 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
6942 (__getcwd): Do not use CHECK_STRING.
6943 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
6944 <bp-checks.h>.
6945 (__real_chown): Do not use CHECK_STRING.
6946 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
6947 <bp-checks.h>.
6948 (fchownat): Do not use CHECK_STRING.
6949 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
6950 CHECK_STRING.
6951 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
6952 <bp-checks.h>.
6953 (__lchown): Do not use CHECK_STRING.
6954 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
6955 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
6956 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
6957 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
6958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
6959 include <bp-checks.h>.
6960 (truncate64): Do not use CHECK_STRING.
6961 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
6962 <bp-checks.h>.
6963 (__real_chown): Do not use CHECK_STRING.
6964 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
6965 <bp-checks.h>.
6966 (__lchown): Do not use CHECK_STRING.
6967 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
6968 <bp-checks.h>.
6969 (__chown): Do not use CHECK_STRING.
6970 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
6971 <bp-checks.h>.
6972 (truncate64): Do not use CHECK_STRING.
6973 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
6974 Likewise.
6975 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
6976 (__xmknod): Do not use CHECK_STRING.
6977 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
6978 <bp-checks.h>.
6979 (__xmknodat): Do not use CHECK_STRING.
6980 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
6981 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
6982
903ae060
AS
69832013-02-04 Andreas Schwab <schwab@suse.de>
6984
6985 [BZ #14142]
6986 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
6987 * include/netdb.h: Likewise for h_errno.
6988 * elf/tst-stackguard1.c: Include <tls.h>.
6989
542f9466
JK
69902013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6991
6992 * elf/link.h (struct link_map): Extend the l_addr comment.
6993 * include/link.h (struct link_map): Likewise.
6994
e782a927
JM
69952013-02-01 Joseph Myers <joseph@codesourcery.com>
6996
6997 [BZ #13550]
6998 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
6999 (BOUNDED_1): Remove macro.
7000 * debug/backtrace.c: Don't include <bp-checks.h>.
7001 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
7002 (__backtrace): Likewise.
7003 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
7004 <bp-checks.h>.
7005 (__backtrace): Don't use BOUNDED_1.
7006 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
7007 <bp-checks.h>.
7008 (__backtrace): Don't use BOUNDED_1.
7009 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
7010 (__backtrace): Don't use BOUNDED_1.
7011 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
7012 (shmat): Don't use BOUNDED_N.
7013
8cf28c5e
JM
70142013-01-31 Joseph Myers <joseph@codesourcery.com>
7015
3a7ac8a0
JM
7016 [BZ #13550]
7017 * sysdeps/generic/bp-start.h: Remove file.
7018 * csu/libc-start.c: Don't include <bp-start.h>.
7019 (LIBC_START_MAIN): Set up __environ directly instead of using
7020 INIT_ARGV_and_ENVIRON.
7021 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
7022 <bp-start.h>.
7023
f3499f95
JM
7024 [BZ #13550]
7025 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
7026 definitions.
7027 (CHECK_FCNTL): Likewise.
7028 (CHECK_N_PAGES): Likewise.
7029
32a45bea
JM
7030 [BZ #13550]
7031 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
7032 definitions.
7033 (CHECK_SIGSET_NULL_OK): Likewise.
7034 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
7035 <bp-checks.h>.
7036 (sigpending): Don't use CHECK_SIGSET.
7037 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
7038 <bp-checks.h>.
7039 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7040 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
7041 <bp-checks.h>.
7042 (do_sigsuspend): Don't use CHECK_SIGSET.
7043 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
7044 use CHECK_SIGSET.
7045 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
7046 (do_sigwait): Don't use CHECK_SIGSET.
7047 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
7048 use CHECK_SIGSET.
7049 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
7050 include <bp-checks.h>.
7051 (sigpending): Don't use CHECK_SIGSET.
7052 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
7053 include <bp-checks.h>.
7054 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7055 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
7056 <bp-checks.h>.
7057 (sigpending): Don't use CHECK_SIGSET.
7058 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
7059 <bp-checks.h>.
7060 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7061
2e8a5c8c
JM
7062 [BZ #13550]
7063 * sysdeps/generic/bp-semctl.h: Remove file.
7064 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
7065 <bp-checks.h> and <bp-semctl.h>.
7066 (__old_semctl): Don't use CHECK_SEMCTL.
7067 (__new_semctl): Likewise.
7068 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
7069 and <bp-semctl.h>.
7070 (__old_semctl): Don't use CHECK_SEMCTL.
7071 (__new_semctl): Likewise.
7072 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
7073 <bp-checks.h> and <bp-semctl.h>.
7074 (__old_semctl): Don't use CHECK_SEMCTL.
7075 (__new_semctl): Likewise.
7076 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
7077 <bp-checks.h> and <bp-semctl.h>.
7078 (semctl): Don't use CHECK_SEMCTL.
7079
c2d54929
JM
7080 [BZ #13550]
7081 * Makerules (elide-bp-thunks): Remove variable.
7082 (elide-routines.oS): Don't use $(elide-bp-thunks).
7083 (elide-routines.os): Likewise.
7084 (elide-routines.o): Likewise.
7085 (elide-routines.op): Likewise.
7086 (elide-routines.og): Likewise.
7087 (objects): Don't use $(bp-thunks).
7088 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
7089 include.
7090 (common-generated): Do not add s-proto-bp.d.
7091 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
7092 (int): Likewise.
7093 (typ): Likewise.
7094 Do not generate makefile rules for bounded-pointer thunks.
7095 * sysdeps/generic/bp-thunks.h: Remove file.
7096 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
7097 * sysdeps/unix/s-proto-bp.S: Likewise.
7098
8cf28c5e
JM
7099 [BZ #15062]
7100 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
7101 parts of result separately when argument is not close to line from
7102 -i to i and one part of argument is small.
7103 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7104 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7105 * math/libm-test.inc (cacos_test): Add more tests.
7106 (casin_test): Likewise.
7107 (casinh_test): Likewise.
7108 * sysdeps/i386/fpu/libm-test-ulps: Update.
7109 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7110
c4e33b8d
DM
71112013-01-31 David S. Miller <davem@davemloft.net>
7112
7113 * po/de.po: Update from translation team.
7114
3b60b421
MK
71152013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
7116
7117 * time/tzfile.c: Include stdint.h for SIZE_MAX.
7118
bb931195
TS
71192013-01-25 Thomas Schwinge <thomas@codesourcery.com>
7120
b5a5da23
TS
7121 * configure.in (_AC_PROG_CC_C89): New definition.
7122 * configure: Regenerate.
7123
bb931195
TS
7124 * configure.in (AC_PROG_CPP): New definition.
7125 * configure: Regenerate.
7126
8c53a12c
JM
71272013-01-23 Joseph Myers <joseph@codesourcery.com>
7128
7129 * debug/tst-backtrace.h: New file.
7130 * debug/tst-backtrace2.c: Include tst-backtrace.h.
7131 (ret): Remove variable.
7132 (x): Likewise.
7133 (FAIL): Remove macro.
7134 (NO_INLINE): Likewise.
7135 (fn1): Use match function instead of strstr.
7136 * debug/tst-backtrace3.c: Include tst-backtrace.h.
7137 (ret): Remove variable.
7138 (x): Likewise.
7139 (FAIL): Remove macro.
7140 (NO_INLINE): Likewise.
7141 (fn): Use match function instead of strstr.
7142 * debug/tst-backtrace4.c: Include tst-backtrace.h.
7143 (ret): Remove variable.
7144 (x): Likewise.
7145 (FAIL): Remove macro.
7146 (NO_INLINE): Likewise.
7147 (handle_signal): Use match function instead of strstr.
7148 * debug/tst-backtrace5.c: Include tst-backtrace.h.
7149 (ret): Remove variable.
7150 (x): Likewise.
7151 (FAIL): Remove macro.
7152 (NO_INLINE): Likewise.
7153 (handle_signal): Use match function instead of strstr.
7154
4858fa2a
RM
71552013-01-23 Roland McGrath <roland@hack.frob.com>
7156
7157 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
7158
bae8e7f5
DM
71592013-01-23 David S. Miller <davem@davemloft.net>
7160
7161 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
7162 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
7163 argument of CAS if possible.
7164 * sysdeps/sparc/sparc64/bits/atomic.h
7165 (__arch_compare_and_exchange_val_32_acq): Likewise.
7166 (__arch_compare_and_exchange_val_64_acq): Likewise.
7167
9cbbc4ae
PT
71682013-01-23 Pino Toscano <toscano.pino@tiscali.it>
7169
7170 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
7171 * sysdeps/posix/ulimit.c: ... this.
92a601b8 7172 Include <limits.h>.
67b3f58c 7173 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 7174
5655a0b5
AC
71752013-01-23 Adam Conrad <adconrad@0c3.net>
7176
7177 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
7178 (LDFLAGS-tst-array5): Likewise.
7179
052aff95
JM
71802013-01-23 Joseph Myers <joseph@codesourcery.com>
7181
7182 [BZ #15036]
7183 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
7184 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
7185 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
7186 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
7187
7c1e01aa
DM
71882013-01-21 David S. Miller <davem@davemloft.net>
7189
7190 * sysdeps/sparc/backtrace.c: New file.
7191 * sysdeps/sparc/sparc32/backtrace.h: New file.
7192 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
7193 * sysdeps/sparc/sparc64/backtrace.h: New file.
7194 * sysdeps/sparc/sparc64/backtrace.c: Delete.
7195 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
7196 -funwind-tables.
7197
ab087e0a
AS
71982013-01-21 Andreas Schwab <schwab@suse.de>
7199
7200 [BZ #15020]
7201 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
7202 closed its stdout.
7203
ed689c2f
AS
72042013-01-20 Andreas Schwab <schwab@linux-m68k.org>
7205
7206 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
7207 "mpa2.h".
7208 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7209
31d470ac
JM
72102013-01-18 Joseph Myers <joseph@codesourcery.com>
7211 Mark Mitchell <mark@codesourcery.com>
7212 Tom de Vries <tom@codesourcery.com>
7213 Paul Pluzhnikov <ppluzhnikov@google.com>
7214
7215 * debug/tst-backtrace2.c: New file.
7216 * debug/tst-backtrace3.c: Likewise.
7217 * debug/tst-backtrace4.c: Likewise.
7218 * debug/tst-backtrace5.c: Likewise.
7219 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
7220 (CFLAGS-tst-backtrace3.c): Likewise.
7221 (CFLAGS-tst-backtrace4.c): Likewise.
7222 (CFLAGS-tst-backtrace5.c): Likewise.
7223 (LDFLAGS-tst-backtrace2): Likewise.
7224 (LDFLAGS-tst-backtrace3): Likewise.
7225 (LDFLAGS-tst-backtrace4): Likewise.
7226 (LDFLAGS-tst-backtrace5): Likewise.
7227 (tests): Add new tests tst-backtrace2, tst-backtrace3,
7228 tst-backtrace4 and tst-backtrace5.
7229
90567f30 72302013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
7231 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7232
7233 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
7234 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
7235 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
7236 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
7237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7238 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
7239 "+r" and remove output regs list as redundant. Add explicit inline
7240 asm to specify register of return val to work around compiler codegen
7241 bug. Remove (int) cast on return value. Add return type parameter to
7242 use in macro so that this macro does not truncate return value for
7243 64-bit values.
7244 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
7245 pass to INTERNAL_VSYSCALL_NCS.
7246 (INLINE_VSYSCALL): Add 'long int' as return type to
7247 INTERNAL_VSYSCALL_NCS macro invocation.
7248 (INTERNAL_VSYSCALL): Add 'long int' as return type to
7249 INTERNAL_VSYSCALL_NCS macro invocation.
7250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7251
d3b9ea61
SP
72522013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7253
0b57daeb
SP
7254 [BZ #14496]
7255 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
7256 Fix application of SIMD FP exception mask.
7257
caa99d06
SP
7258 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
7259 mp_no from a power of two.
7260 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
7261 __mpexp_twomm1. Use __pow_mp.
7262
d3b9ea61
SP
7263 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
7264 multiplication.
7265
1dbaee3c
DM
72662013-01-17 David S. Miller <davem@davemloft.net>
7267
7268 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7269
728d7b43
JM
72702013-01-17 Joseph Myers <joseph@codesourcery.com>
7271
7272 [BZ #15023]
7273 * include/complex.h: Condition contents on [!_COMPLEX_H].
7274 (__kernel_casinhf): New prototype.
7275 (__kernel_casinh): Likewise.
7276 (__kernel_casinhl): Likewise.
7277 * math/Makefile (libm_calls): Add k_casinh.
7278 * math/k_casinh.c: New file.
7279 * math/k_casinhf.c: Likewise.
7280 * math/k_casinhl.c: Likewise.
7281 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
7282 finite nonzero arguments.
7283 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
7284 finite nonzero arguments.
7285 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
7286 finite nonzero arguments.
7287 * math/s_casinh.c: Do not include <float.h>.
7288 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
7289 * math/s_casinhf.c: Do not include <float.h>.
7290 (__casinhf): Move code for finite nonzero arguments to
7291 k_casinhf.c.
7292 * math/s_casinhl.c: Do not include <float.h>.
7293 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
7294 redefine.
7295 (__casinhl): Move code for finite nonzero arguments to
7296 k_casinhl.c.
7297 * math/libm-test.inc (cacos_test): Add more tests.
7298 * sysdeps/i386/fpu/libm-test-ulps: Update.
7299 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7300
2a26ef3a
PT
73012013-01-17 Pino Toscano <toscano.pino@tiscali.it>
7302
7303 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
7304 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
7305 [!HAVE_MREMAP]: Remove [defined linux] case.
7306 * malloc/arena.c: Do not include <malloc-sysdep.h>.
7307
a897655d
SP
73082013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7309
7310 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
7311
881ebe89 73122013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
7313
7314 * elf/elf.h (R_386_SIZE32): New relocation.
7315 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
7316 R_386_SIZE32.
7317 (elf_machine_rela): Likewise.
7318 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
7319 R_X86_64_SIZE64 and R_X86_64_SIZE32.
7320
59981e9b
JM
73212013-01-17 Joseph Myers <joseph@codesourcery.com>
7322
7323 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
7324 (FP_FAST_FMA): Do not define.
7325 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
7326 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
7327 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
7328 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
7329 !_SOFT_FLOAT]: Likewise.
7330 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
7331 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
7332 value.
7333 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
7334 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
7335 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
7336 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
7337 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
7338 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
7339 file.
7340
cfa8054f
AS
73412013-01-16 Andreas Schwab <schwab@suse.de>
7342
7343 [BZ #14327]
7344 * include/stdlib.h (__mktemp): Add declaration.
7345 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
7346 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
7347
dd930cc5
SP
73482013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7349
881ebe89
SP
7350 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
7351 definitions.
7352 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
7353 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
7354 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
7355 definitions here.
7356 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
7357 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
7358 definitions.
7359 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
7360 and ONE.
7361 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
7362 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
7363 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
7364 definitions.
7365 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
7366 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
7367 definitions.
7368 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 7369
dd930cc5
SP
7370 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
7371
c19a9f89
DM
73722013-01-15 David S. Miller <davem@davemloft.net>
7373
1aa61767
DM
7374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7375 trunc{,f} to libm-sysdep_routes.
7376 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
7378 file.
7379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
7380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
7381 file.
7382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
7383 file.
7384 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
7385 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
7386 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
7387 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
7388 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
7389 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
7390 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
7391 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
7392
c42d5e98
DM
7393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7394 nearbyint{,f} to libm-sysdep_routes.
7395 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
7397 New file.
7398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
7399 file.
7400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
7401 New file.
7402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
7403 file.
7404 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
7405 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
7406 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
7407 file.
7408 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
7409 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
7410 file.
7411 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
7412 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
7413 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
7414
c19a9f89
DM
7415 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
7416 libc_feholdexcept and libc_fesetenv.
7417
357679d2
MF
74182013-01-15 Mike Frysinger <vapier@gentoo.org>
7419
7420 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
7421
65a82e3d
DM
74222013-01-14 David S. Miller <davem@davemloft.net>
7423
8b954ab9
DM
7424 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
7425 (SPARC_ASM_VIS2_IFUNC): Likewise.
7426 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
7427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
7428 use of 'siam' instruction.
7429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
7430 Likewise.
7431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
7432 Likewise.
7433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
7434 Likewise.
7435 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
7436 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
7437 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
7438 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
7439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
7440 file.
7441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
7442 file.
7443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
7444 file.
7445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
7446 file.
7447 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
7448 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
7449 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
7450 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
7451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
7452 new VIS2 routines.
7453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
7454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
7456 Likewise.
7457 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
7458 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
7459 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
7460 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
7461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
7462 routines to libm-sysdep_routines.
7463 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7464
65a82e3d
DM
7465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7466 fdim/fdimf to libm-sysdep_routines.
7467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
7468 file.
7469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
7470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
7471 file.
7472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
7473 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
7474 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
7475 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
7476 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
7477 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
7478 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
7479
e34ab705
SP
74802013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7481
2a91b573
SP
7482 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
7483 to optimize copies.
7484
1066a534
SP
7485 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
7486 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
7487 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7488
e34ab705
SP
7489 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
7490 local variable MPTWO.
7491 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
7492 Likewise.
7493
aba5e596
MF
74942013-01-13 Mike Frysinger <vapier@gentoo.org>
7495
7496 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
7497 GLOB_NOESCAPE.
7498
e557e9e5
MF
74992013-01-13 Mike Frysinger <vapier@gentoo.org>
7500
7501 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
7502
0428cec9
MF
75032013-01-13 Mike Frysinger <vapier@gentoo.org>
7504
7505 * manual/pattern.texi (glob_t): Document gl_flags.
7506 (glob64_t): Likewise.
7507
8794a964
DM
75082013-01-11 David S. Miller <davem@davemloft.net>
7509
66438c3f
RM
7510 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
7511 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
7512 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
7513 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
7514 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
7515 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
7516 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
7517 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
7518 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
7519 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
7520 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
7521 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
7522 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
7523
4ae4244d
DM
7524 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
7525 sparc V9 rather than using V8 code.
7526 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
7527 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
7528
8794a964
DM
7529 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
7530 Move to...
7531 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
7532 Here.
7533
6270516e
RM
75342013-01-11 Roland McGrath <roland@hack.frob.com>
7535
7536 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
7537 not in the main loop.
7538 * configure: Regenerated.
7539
6a57d931
JM
75402013-01-11 Joseph Myers <joseph@codesourcery.com>
7541
7542 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
7543 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
7544 to just #else.
7545 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
7546 [!__GLIBC_HAVE_LONG_LONG] case.
7547 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
7548 condition to just #else.
7549 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
7550 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
7551 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
7552 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
7553 unconditional.
7554 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
7555 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
7556 #elif condition to just #else.
7557 * sysdeps/unix/sysv/linux/sys/sysmacros.h
7558 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
7559 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
7560 #elif condition to just #else.
7561
0e8529e9
SE
75622013-01-11 Steve Ellcey <sellcey@mips.com>
7563
7564 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
7565 (EF_MIPS_ARCH_64): Fix value.
7566 (EF_MIPS_ARCH_32R2): New.
7567 (EF_MIPS_ARCH_64R2): New.
7568
740b3dbe
L
75692013-01-11 H.J. Lu <hongjiu.lu@intel.com>
7570
7571 * Makeconfig (+link-pie-before-libc): New.
7572 (+link-pie-after-libc): Likewise.
7573 (+link-pie-tests): Likewise.
7574 (+link-pie): Rewritten.
7575 (link-before-libc): Remove $(config-LDFLAGS).
7576 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
7577 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
7578 (config-LDFLAGS): Renamed to ...
7579 (rtld-LDFLAGS): This.
7580 (rtld-tests-LDFLAGS): New macro.
7581 (link-libc-rpath-link): Likewise.
7582 (link-libc-tests-rpath-link): Likewise.
7583 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
7584 (link-libc): Prepand $(link-libc-rpath-link).
7585 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
7586 (test-program-prefix): New macro.
7587 (test-via-rtld-prefix): Likewise.
7588 (test-program-cmd): Likewise.
7589 (host-test-program-cmd): Likewise.
7590 * Makefile ($(common-objpfx)testrun.sh): Replace
7591 $(run-program-prefix) with $(test-program-prefix).
7592 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
7593 $(rtld-LDFLAGS).
7594 ($(common-objpfx)shlib.lds): Likewise.
7595 (build-module-helper): Likewise.
7596 ($(common-objpfx)format.lds): Likewise.
7597 * Rules (binaries-pie-tests): New.
7598 (binaries-pie-notests): Likewise.
7599 (binaries-pie): Rewritten.
7600 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
7601 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
7602 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
7603 (make-test-out): Replace $(host-built-program-cmd) with
7604 $(host-test-program-cmd).
7605 * config.make.in (build-hardcoded-path-in-tests): New variable.
7606 * configure.in (--enable-hardcoded-path-in-tests): New configure
7607 option.
7608 (hardcoded_path_in_tests): New AC_SUBST.
7609 * configure: Regenerated.
7610 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
7611 $(built-program-cmd) with $(test-program-cmd).
7612 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
7613 (test_program_cmd): This.
7614 * elf/Makefile ($(objpfx)order.out): Run test with
7615 $(test-program-prefix).
7616 ($(objpfx)order2.out): Likewise.
7617 ($(objpfx)tst-initorder.out): Likewise.
7618 ($(objpfx)tst-initorder2.out): Likewise.
7619 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
7620 $(test-program-cmd).
7621 ($(objpfx)tst-array1-static.out): Likewise.
7622 ($(objpfx)tst-array2.out): Likewise.
7623 ($(objpfx)tst-array3.out): Likewise.
7624 ($(objpfx)tst-array4.out): Likewise.
7625 ($(objpfx)tst-array5.out): Likewise.
7626 ($(objpfx)tst-array5-static.out): Likewise.
7627 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
7628 $(test-program-cmd).
7629 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
7630 $(run-program-prefix) with $(test-program-prefix).
7631 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
7632 (test_program_prefix): This.
7633 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
7634 $(run-program-prefix) with $(test-program-prefix).
7635 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
7636 (test_program_prefix): This.
7637 * iconvdata/tst-tables.sh: Likewise.
7638 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
7639 $(run-program-prefix) with $(test-program-prefix).
7640 ($(objpfx)tst-translit.out): Likewise.
7641 ($(objpfx)tst-gettext2.out): Likewise.
7642 ($(objpfx)tst-gettext4.out): Likewise.
7643 ($(objpfx)tst-gettext6.out): Likewise.
7644 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
7645 (test_program_prefix): This.
7646 * intl/tst-gettext2.sh: Likewise.
7647 * intl/tst-gettext4.sh Likewise.
7648 * intl/tst-gettext6.sh: Likewise.
7649 * intl/tst-translit.sh: Likewise.
7650 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
7651 with $(test-program-cmd).
7652 * libio/Makefile ($(objpfx)test-freopen.out): Replace
7653 $(run-program-prefix) with $(test-program-prefix).
7654 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
7655 (test_program_prefix): This.
7656 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
7657 $(run-program-prefix) with $(test-program-prefix).
7658 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
7659 (test_program_prefix): This.
7660 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
7661 * posix/Makefile ($(objpfx)globtest.out): Replace
7662 $(run-via-rtld-prefix) and $(test-wrapper) with
7663 $(test-program-prefix) and $(test-via-rtld-prefix).
7664 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
7665 $(test-program-prefix).
7666 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
7667 $(host-test-program-cmd).
7668 (tst-spawn-ARGS): Likewise.
7669 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
7670 $(test-program-prefix).
7671 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
7672 (test_via_rtld_prefix): This.
7673 (test_wrapper): Renamed to ...
7674 (test_program_prefix): This.
7675 (run_program_prefix): Replaced by test_program_prefix.
7676 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
7677 (test_program_prefix): This.
7678 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
7679 with $(host-test-program-cmd).
7680 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
7681 $(run-program-prefix) with $(test-program-prefix).
7682 ($(objpfx)tst-printf.out): Likewise.
7683 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
7684 $(test-program-cmd).
7685 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
7686 (test_program_prefix): This.
7687 * stdio-common/tst-unbputc.sh: Likewise.
7688 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
7689 $(run-program-prefix) with $(test-program-prefix).
7690 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
7691 (test_program_prefix): This.
7692 * string/Makefile ($(objpfx)tst-svc.out): Replace
7693 $(built-program-cmd) with $(test-program-cmd).
7694
c6fe55cf
AJ
76952013-01-11 Andreas Jaeger <aj@suse.de>
7696
7697 [BZ #15003]
7698 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
7699 value. Sync with Linux 3.7.
7700
9e6919c8
DM
77012013-01-10 David S. Miller <davem@davemloft.net>
7702
7703 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
7704 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
7705 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
7706
1c9f1a02
RM
77072013-01-10 Roland McGrath <roland@hack.frob.com>
7708
7709 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
7710 never set.
7711 * configure: Regenerated.
7712
b9de2dde
DM
77132013-01-10 David S. Miller <davem@davemloft.net>
7714
7715 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
7716 sparc V9 rather than using V8 code.
7717 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
7718 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
7719
e7f68ef4
RM
77202013-01-10 Roland McGrath <roland@hack.frob.com>
7721
7722 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
7723 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
7724 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
7725 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
7726 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
7727 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
7728 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
7729 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
7730 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
7731 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
7732 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
7733 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
7734 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
7735 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
7736 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
7737 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
7738 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
7739 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
7740 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
7741 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
7742 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
7743 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
7744 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
7745 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
7746 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
7747 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
7748 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
7749
5a47cc9c
DM
77502013-01-10 David S. Miller <davem@davemloft.net>
7751
7752 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7753
4cf8f209
L
77542013-01-10 H.J. Lu <hongjiu.lu@intel.com>
7755
7756 * posix/Makefile (tests-static): New variable.
7757 (tests): Add $(tests-static).
7758 (tst-exec-static-ARGS): New variable.
7759 (tst-spawn-static-ARGS): Likewise.
7760 * posix/tst-exec-static.c: New file.
7761 * posix/tst-spawn-static.c: Likewise.
7762 * posix/tst-exec.c: Support run directly.
7763 * posix/tst-spawn.c: Likewise.
7764
fed0faa1
JM
77652013-01-10 Joseph Myers <joseph@codesourcery.com>
7766
828beb13
JM
7767 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
7768 long.
7769 * math/bits/mathcalls.h (llrint): Likewise.
7770 (llround): Likewise.
7771 * stdlib/stdlib.h (struct drand48_data): Likewise.
7772 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
7773 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
7774 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
7775 Likewise.
7776 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
7777 Likewise.
7778 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
7779 (elf_greg_t): Likewise.
7780 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
7781 (__jmp_buf): Likewise.
7782 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
7783 definitions.
7784 (llrint): Likewise, for all definitions.
7785 (llrintl): Likewise.
7786
fed0faa1
JM
7787 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
7788 Remove [__GNUC__] condition.
7789 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
7790 condition to just [__USE_ISOC99].
7791 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
7792
1a20cb20
L
77932013-01-10 H.J. Lu <hongjiu.lu@intel.com>
7794
7795 [BZ #14200]
7796 * sysdeps/unix/sysv/linux/x86/bits/environments.h
7797 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
7798 defined.
7799 (_POSIX_V6_ILP32_OFF32): Likewise.
7800 (_XBS5_ILP32_OFF32): Likewise.
7801 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
7802 (__ILP32_OFFBIG_LDFLAGS): Likewise.
7803
751b85f7
SP
78042013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7805
7490eb81
SP
7806 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
7807
751b85f7
SP
7808 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
7809 doubles __mpexp_twomm1. Adjust usage.
7810 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
7811 Remove.
7812
988197f0
AS
78132013-01-10 Andreas Schwab <schwab@suse.de>
7814
7815 [BZ #14964]
7816 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
7817 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
7818
e83d7298
DM
78192013-01-09 David S. Miller <davem@davemloft.net>
7820
034ed64b 7821 [BZ #15003]
e83d7298
DM
7822 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
7823 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
7824 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
7825 TCP_FASTOPEN): Define.
7826 (tcp_repair_opt): New structure.
7827 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
7828 enum values.
7829 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
7830 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
7831 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
7832 (tcp_cookie_transactions): New structure.
7833
d5e0b9bd
AB
78342013-01-09 Anton Blanchard <anton@samba.org>
7835
7836 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
7837 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
7838 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
7839 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
7840
0c07e3ea
JM
78412013-01-09 Joseph Myers <joseph@codesourcery.com>
7842
7843 * include/features.h (__USE_ANSI): Remove.
7844
232f7002
RM
78452013-01-09 Roland McGrath <roland@hack.frob.com>
7846
ad98e30c
RM
7847 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
7848
232f7002
RM
7849 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
7850
950c99ca
SP
78512013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
7852
b5792741
SP
7853 * sysdeps/s390/fpu/libm-test-ulps: Update.
7854
47cf2278
SP
7855 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7856
950c99ca
SP
7857 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
7858 (__acr): Likewise.
7859 (__cpy): Likewise.
7860 (norm): Likewise.
7861 (denorm): Likewise.
7862 (__mp_dbl): Likewise.
7863 (__dbl_mp): Likewise.
7864 (add_magnitudes): Likewise.
7865 (sub_magnitudes): Likewise.
7866 (__add): Likewise.
7867 (__sub): Likewise.
7868 (__mul): Likewise.
7869 (__inv): Likewise.
7870 (__dvd): Likewise.
7871 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
7872 (__acr): Likewise.
7873 (__cpy): Likewise.
7874 (norm): Likewise.
7875 (denorm): Likewise.
7876 (__mp_dbl): Likewise.
7877 (__dbl_mp): Likewise.
7878 (add_magnitudes): Likewise.
7879 (sub_magnitudes): Likewise.
7880 (__add): Likewise.
7881 (__sub): Likewise.
7882 (__mul): Likewise.
7883 (__inv): Likewise.
7884 (__dvd): Likewise.
7885 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
7886 (__acr): Likewise.
7887 (__cpy): Likewise.
7888 (norm): Likewise.
7889 (denorm): Likewise.
7890 (__mp_dbl): Likewise.
7891 (__dbl_mp): Likewise.
7892 (add_magnitudes): Likewise.
7893 (sub_magnitudes): Likewise.
7894 (__add): Likewise.
7895 (__sub): Likewise.
7896 (__mul): Likewise.
7897 (__inv): Likewise.
7898 (__dvd): Likewise.
7899
eede9df9
JM
79002013-01-08 Joseph Myers <joseph@codesourcery.com>
7901
7902 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
7903 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
7904 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
7905 2 && __USE_EXTERN_INLINES]: Likewise.
7906
c40ea3d9
AJ
79072013-01-08 Andreas Jaeger <aj@suse.de>
7908
7909 [BZ# 14985]
7910 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
7911 Remove.
7912 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
7913 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
7914
2ccdea26
AB
79152013-01-07 Anton Blanchard <anton@samba.org>
7916
7917 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
7918 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
7919 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
7920 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
7921 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
7922 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7923 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
7924 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
7925 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
7926 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
7927 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7928 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7929 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
7930 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7931 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
7932 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7933 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7934 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7935 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
7936 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
7937 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
7938 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
7939 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
7940 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
7941 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
7942 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
7943 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
7944 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
7945 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
7946 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
7947 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
7948 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7949 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
7950 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
7951 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
7952 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
7953 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
7954 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
7955 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
7956 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
7957 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
7958 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
7959 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
7960
a9708fed
JM
79612013-01-07 Joseph Myers <joseph@codesourcery.com>
7962
375607b9
JM
7963 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
7964 (__MALLOC_PMT): Likewise.
7965 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
7966 [__GNUC__], only on [_LIBC].
7967 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
7968 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
7969 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
7970 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
7971 forward declaration.
7972 (realloc_hook_ini): Likewise.
7973 (memalign_hook_ini): Likewise.
7974 (__libc_memalign): Do not use __MALLOC_PMT in variable
7975 declaration.
7976 (__libc_valloc): Likewise.
7977 (__libc_pvalloc): Likewise.
7978 (__libc_calloc): Likewise.
7979 (__posix_memalign): Likewise.
7980
a9708fed
JM
7981 [BZ #14996]
7982 * math/s_casinh.c: Include <float.h>.
7983 (__casinh): Do not do computation with squaring and square root
7984 for large arguments.
7985 * math/s_casinhf.c: Include <float.h>.
7986 (__casinhf): Do not do computation with squaring and square root
7987 for large arguments.
7988 * math/s_casinhl.c: Include <float.h>.
7989 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
7990 (__casinhl): Do not do computation with squaring and square root
7991 for large arguments.
7992 * math/libm-test.inc (casin_test): Add more tests.
7993 (casinh_test): Likewise.
7994 * sysdeps/i386/fpu/libm-test-ulps: Update.
7995 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7996
afec409a
L
79972013-01-04 H.J. Lu <hongjiu.lu@intel.com>
7998
7999 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
8000 (__x86_64_raw_data_cache_size): Likewise.
8001 (__x86_64_data_cache_size_half): Likewise.
8002 (__x86_64_raw_data_cache_size_half): Likewise.
8003 (__x86_64_shared_cache_size): Likewise.
8004 (__x86_64_raw_shared_cache_size): Likewise.
8005 (__x86_64_shared_cache_size_half): Likewise.
8006 (__x86_64_raw_shared_cache_size_half): Likewise.
8007 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
8008 to ...
8009 (__x86_data_cache_size): This.
8010 (__x86_64_raw_data_cache_size): Renamed to ...
8011 (__x86_raw_data_cache_size): This.
8012 (__x86_64_data_cache_size_half): Renamed to ...
8013 (__x86_data_cache_size_half): This.
8014 (__x86_64_raw_data_cache_size_half): Renamed to ...
8015 (__x86_raw_data_cache_size_half): This.
8016 (__x86_64_shared_cache_size): Renamed to ...
8017 (__x86_shared_cache_size): This.
8018 (__x86_64_raw_shared_cache_size): Renamed to ...
8019 (__x86_raw_shared_cache_size): This.
8020 (__x86_64_shared_cache_size_half): Renamed to ...
8021 (__x86_shared_cache_size_half): This.
8022 (__x86_64_raw_shared_cache_size_half): Renamed to ...
8023 (__x86_raw_shared_cache_size_half): This.
8024 * sysdeps/x86_64/memcpy.S: Updated.
8025 * sysdeps/x86_64/memset.S: Likewise.
8026 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
8027 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8028 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8029
0b3986d0
DM
80302013-01-04 David S. Miller <davem@davemloft.net>
8031
8032 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8033
e47686e9
AS
80342013-01-04 Andreas Schwab <schwab@linux-m68k.org>
8035
d643bac1
AS
8036 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
8037 1 to avoid redefinition warning.
8038 (__USE_GNU): Don't define.
8039 (init_signaling_nan): Protoize.
8040
e47686e9
AS
8041 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8042
b18decba
SP
80432013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8044
fffb407f
SP
8045 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
8046 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
8047 (__cpymn): Likewise.
8048 (norm): Remove commented code.
8049 (denorm): Likewise.
8050 (__mp_dbl): Likewise.
8051 (__inv): Likewise.
8052 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
8053 (__cpymn): Likewise.
8054 (norm): Remove commented code.
8055 (denorm): Likewise.
8056 (__mp_dbl): Likewise.
8057 (__inv): Likewise.
8058
b18decba
SP
8059 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
8060 mp_no value for 1.0 and 2.0.
8061 (norm): Use RADIXI instead of radixi.d.
8062 (denorm): Likewise.
8063 (__mul): Use 0.0 instead of zero.d.
8064 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
8065 mp_no value for 1.0 and 2.0.
8066 (norm): Use RADIXI instead of radixi.d.
8067 (denorm): Likewise.
8068 (__mul): Use 0.0 instead of zero.d.
8069
cdc1c96f
JM
80702013-01-04 Joseph Myers <joseph@codesourcery.com>
8071
8072 [BZ #14994]
8073 * math/s_casinh.c (__casinh): Reduce finite argument to first
8074 quadrant then set signs of results at the end.
8075 * math/s_casinhf.c (__casinhf): Likewise.
8076 * math/s_casinhl.c (__casinhl): Likewise.
8077 * math/libm-test.inc (casin_test): Add more tests.
8078 (casinh_test): Likewise.
8079 * sysdeps/i386/fpu/libm-test-ulps: Update.
8080 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8081
302913e1
SP
80822013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8083
6420d207
SP
8084 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
8085
a9e48ab4
SP
8086 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
8087
b7837264
SP
8088 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
8089 declarations.
8090 (denorm): Likewise.
8091 (__mp_dbl): Likewise.
8092 (__inv): Likewise.
8093
f8af25d2
SP
8094 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
8095 and adjust the header comment.
8096
302913e1
SP
8097 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
8098 variable name from declaration.
8099
5d7dd1ca
L
81002013-01-03 H.J. Lu <hongjiu.lu@intel.com>
8101
8102 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8103 Initialize COMMON_CPUID_INDEX_7 element.
8104 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
8105 (CPUID_RTM): Likewise.
8106 (HAS_RTM): Likewise.
8107 (COMMON_CPUID_INDEX_7): New enum.
8108
2f5f40f4
AS
81092013-01-03 Andreas Schwab <schwab@linux-m68k.org>
8110
8111 [BZ #14981]
8112 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
8113 size is zero, record memory as freed.
8114
4056f4a0
AJ
81152013-01-03 Andreas Jaeger <aj@suse.de>
8116
8117 * po/ia.po: Add new Interlingua translation.
8118
ab15736f 81192012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
8120
8121 * locale/programs/localedef.c: Fix description of '--posix' flag.
8122
568035b7
JM
81232013-01-02 Joseph Myers <joseph@codesourcery.com>
8124
e6898b8d
JM
8125 * NEWS: Update dates in second copyright notice.
8126 * README: Update copyright dates in example.
8127 * manual/libc.texinfo: Update copyright dates.
8128 * scripts/test-installation.pl: Update copyright date in --version
8129 output.
8130
0e2f9562
JM
8131 * hurd/ctty-input.c: Fix copyright notice formatting.
8132 * hurd/ctty-output.c: Likewise.
8133 * hurd/dtable.c: Likewise.
8134 * hurd/hurd-raise.c: Likewise.
8135 * hurd/hurdprio.c: Likewise.
8136 * hurd/msgportdemux.c: Likewise.
8137 * misc/sys/file.h: Likewise.
8138 * misc/sys/ioctl.h: Likewise.
8139 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
8140 * sysdeps/mach/hurd/chdir.c: Likewise.
8141 * sysdeps/mach/hurd/fchdir.c: Likewise.
8142 * sysdeps/mach/hurd/rename.c: Likewise.
8143 * sysdeps/mach/hurd/rmdir.c: Likewise.
8144 * sysdeps/mach/hurd/seekdir.c: Likewise.
8145 * sysdeps/mach/hurd/setsid.c: Likewise.
8146 * sysdeps/posix/wait3.c: Likewise.
8147
568035b7
JM
8148 * All files with FSF copyright notices: Update copyright dates
8149 using scripts/update-copyrights.
8150 * intl/plural.c: Regenerated.
8151 * locale/programs/charmap-kw.h: Likewise.
8152 * locale/programs/locfile-kw.h: Likewise.
8153
da08f647
SP
81542013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8155
0f5477af
SP
8156 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
8157 four values.
8158
44e0d4c2
SP
8159 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
8160 calculation loop and add branch prediction.
8161
4d55b4e5
SP
8162 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
8163 check access beyond bounds of m1np.
8164
da08f647
SP
8165 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
8166 MPTWO.
8167 (__inv): Remove local variable MPTWO to use the global
8168 constant.
8169 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
8170 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
8171 variable MPTWO.
8172 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
8173 MP3HALFS static const.
8174
8e051029
DM
81752013-01-01 David S. Miller <davem@davemloft.net>
8176
8177 * po/ca.po: Update from translation team.
8178
f4cf5f2d
JM
81792013-01-01 Joseph Myers <joseph@codesourcery.com>
8180
8181 * scripts/update-copyrights: New file.
8182 * Makeconfig: Reformat copyright notice.
8183 * ctype/ctype.h: Likewise.
8184 * debug/swprintf_chk.c: Likewise.
8185 * elf/dl-cache.c: Likewise.
8186 * elf/dl-debug.c: Likewise.
8187 * elf/dl-object.c: Likewise.
8188 * grp/initgroups.c: Likewise.
8189 * hurd/Makefile: Likewise.
8190 * hurd/hurd/signal.h: Likewise.
8191 * hurd/hurdfault.c: Likewise.
8192 * hurd/hurdioctl.c: Likewise.
8193 * hurd/hurdlookup.c: Likewise.
8194 * hurd/intr-msg.c: Likewise.
8195 * iconv/gconv_open.c: Likewise.
8196 * libio/swprintf.c: Likewise.
8197 * locale/lc-ctype.c: Likewise.
8198 * locale/nl_langinfo.c: Likewise.
8199 * mach/Machrules: Likewise.
8200 * mach/Makefile: Likewise.
8201 * malloc/obstack.h: Likewise.
8202 * manual/Makefile: Likewise.
8203 * manual/tsort.awk: Likewise.
8204 * misc/bits/stab.def: Likewise.
8205 * nis/nis_print_group_entry.c: Likewise.
8206 * nis/nis_table.c: Likewise.
8207 * nis/nss_compat/compat-pwd.c: Likewise.
8208 * nis/nss_compat/compat-spwd.c: Likewise.
8209 * po/Makefile: Likewise.
8210 * posix/fnmatch.c: Likewise.
8211 * posix/regex.h: Likewise.
8212 * resolv/Makefile: Likewise.
8213 * resolv/nss_dns/dns-network.c: Likewise.
8214 * resolv/res_hconf.c: Likewise.
8215 * scripts/gen-sorted.awk: Likewise.
8216 * soft-fp/soft-fp.h: Likewise.
8217 * stdio-common/printf.h: Likewise.
8218 * stdlib/monetary.h: Likewise.
8219 * stdlib/random.c: Likewise.
8220 * stdlib/random_r.c: Likewise.
8221 * sysdeps/generic/Makefile: Likewise.
8222 * sysdeps/gnu/Makefile: Likewise.
8223 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8224 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8225 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8226 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8227 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8228 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8229 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8230 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8231 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8232 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8233 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8234 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8235 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
8236 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
8237 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
8238 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
8239 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8240 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8241 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8242 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8243 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8244 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8245 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8246 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
8247 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
8248 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
8249 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
8250 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
8251 * sysdeps/mach/hurd/errnos.awk: Likewise.
8252 * sysdeps/mach/hurd/fork.c: Likewise.
8253 * sysdeps/mach/hurd/getcwd.c: Likewise.
8254 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
8255 * sysdeps/mach/hurd/mmap.c: Likewise.
8256 * sysdeps/mach/hurd/utimes.c: Likewise.
8257 * sysdeps/mach/hurd/xmknod.c: Likewise.
8258 * sysdeps/posix/profil.c: Likewise.
8259 * sysdeps/posix/readdir_r.c: Likewise.
8260 * sysdeps/powerpc/bits/mathdef.h: Likewise.
8261 * sysdeps/powerpc/bits/setjmp.h: Likewise.
8262 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
8263 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
8264 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8265 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
8266 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8267 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8268 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8269 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
8270 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8271 * sysdeps/pthread/lio_listio.c: Likewise.
8272 * sysdeps/sparc/dl-procinfo.h: Likewise.
8273 * sysdeps/unix/i386/sysdep.S: Likewise.
8274 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
8275 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
8276 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
8277 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
8278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8279 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
8280 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
8281 * sysdeps/unix/sysv/linux/speed.c: Likewise.
8282 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
8283 * sysdeps/wordsize-32/divdi3.c: Likewise.
8284 * time/sys/time.h: Likewise.
8285 * wcsmbs/Makefile: Likewise.
8286
0549fbba
DM
82872013-01-01 David S. Miller <davem@davemloft.net>
8288
a141f1a7
DM
8289 * po/fr.po: Update from translation team.
8290
0549fbba
DM
8291 * catgets/gencat.c: Update copyright year.
8292 * csu/version.c: Likewise.
8293 * debug/catchsegv.sh: Likewise.
8294 * debug/pcprofiledump.c: Likewise.
8295 * debug/xtrace.sh: Likewise.
8296 * elf/ldconfig.c: Likewise.
8297 * elf/ldd.bash.in: Likewise.
8298 * elf/pldd.c: Likewise.
8299 * elf/sotruss.ksh: Likewise.
8300 * elf/sprof.c: Likewise.
8301 * iconv/iconv_prog.c: Likewise.
8302 * iconv/iconvconfig.c: Likewise.
8303 * locale/programs/locale.c: Likewise.
8304 * locale/programs/localedef.c: Likewise.
8305 * login/programs/pt_chown.c: Likewise.
8306 * malloc/memusage.sh: Likewise.
8307 * malloc/memusagestat.c: Likewise.
8308 * malloc/mtrace.pl: Likewise.
8309 * nscd/nscd.c: Likewise.
8310 * nss/getent.c: Likewise.
8311 * nss/makedb.c: Likewise.
8312 * posix/getconf.c: Likewise.
8313
18ea052c
SP
83142012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
8315
8316 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
8317 numbers.
8318
9c89fca6
MF
83192012-12-30 Mike Frysinger <vapier@gentoo.org>
8320
8321 * math/bits/mathcalls.h (modf): Use __nonnull.
8322
085ec079
SP
83232012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8324
8325 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
8326 (split): Use macro CN instead of the bare value.
8327 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
8328 could be used.
8329 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
8330 instead of the bare value.
8331 (power1): Likewise.
8332
6d9f97e1
SP
83332012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8334
d63f73be
SP
8335 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
8336 __ATAN_TWOM.
8337 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8338
6d9f97e1
SP
8339 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
8340 their values.
8341 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
8342 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
8343 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
8344 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
8345
4c4febf5
AJ
83462012-12-28 Andreas Jaeger <aj@suse.de>
8347
af5843ef
AJ
8348 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
8349 values are from Linux 3.7.
8350
4c4febf5
AJ
8351 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
8352 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
8353
99136f82
SP
83542012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8355
2f216c3c 8356 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
8357 TRUE case.
8358
99136f82
SP
8359 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
8360 (norm): Likewise.
8361 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
8362 variables with preprocessor constants.
8363 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8364 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
8365 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
8366
7fffbdff
BH
83672012-12-27 Bruno Haible <bruno@clisp.org>
8368
8369 [BZ #14317]
8370 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
8371 only if needed.
8372
b76eb5f0
SP
83732012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8374
31a7fe5c
SP
8375 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
8376 and use variable directly.
8377 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
8378
b76eb5f0
SP
8379 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
8380 MPONE.
8381 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
8382 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
8383 variable MPONE.
8384 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
8385 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
8386 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
8387 include directive. Remove local variable MPONE.
8388 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
8389 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
8390 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8391
2c8bfe7d
DM
83922012-12-25 David S. Miller <davem@davemloft.net>
8393
8394 * version.h (RELEASE): Set to "development".
8395 (VERSION): Set to "2.17.90".
8396 * NEWS: Add 2.18 section.
8397
147d03b0
DM
83982012-12-21 David S. Miller <davem@davemloft.net>
8399
8400 * po/hr.po: Update from translation team.
8401
a8ebb2b9
AK
84022012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8403
8404 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
8405
95b4f1b6
SE
84062012-12-19 Steve Ellcey <sellcey@mips.com>
8407
b2d94007 8408 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 8409
cedb2a90
MS
84102012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8411
8412 * manual/contrib.texi (Contributors): Spelling correction.
8413
bbf527d6
DM
84142012-12-15 David S. Miller <davem@davemloft.net>
8415
8416 * po/ru.po: Update from translation team.
8417
bc38c906
DM
84182012-12-13 David S. Miller <davem@davemloft.net>
8419
85429b1a
DM
8420 * NEWS: Mention IFUNC testsuite enhancements.
8421
d283e353
DM
8422 * po/pl.po: Update from translation team.
8423 * po/bg.po: Likewise.
8424
bc38c906
DM
8425 * manual/contrib.texi (Contributors): Update entries for Hongjiu
8426 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
8427
a181b0d7
DM
84282012-12-11 David S. Miller <davem@davemloft.net>
8429
4641d57e
DM
8430 * po/sv.po: Update from translation team.
8431
f7bc6495
DM
8432 * po/vi.po: Update from translation team.
8433
6fc9048f
DM
8434 * po/cs.po: Update from translation team.
8435
a181b0d7
DM
8436 * po/de.po: Update from translation team.
8437 * po/eo.po: Likewise.
8438 * po/nl.po: Likewise.
8439
f70bfe80
SP
84402012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8441
3c8b4190
SP
8442 [BZ #14246]
8443 * manual/argp.texi (Argp Helper Functions): Move node to follow
8444 Argp Parsing State.
8445
f70bfe80
SP
8446 [BZ #14872]
8447 * manual/conf.texi (Limits on File System Capacity): Mention if
8448 terminating null is included in the max size.
8449
188f0adf
AJ
84502012-12-10 Andreas Jaeger <aj@suse.de>
8451
8452 * po/cs.po: Update from translation team.
8453
56e7d3ad
SP
84542012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8455
8456 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
8457 void pointer and cast to uintptr_t.
8458 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
8459 path.
8460 * sysdeps/s390/s390-64/memcpy.S: Likewise.
8461 * sysdeps/s390/s390-64/memset.S: Likewise.
8462
76f2d2ea 84632012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
8464
8465 [BZ #14833]
8466 * menual/message.texi (Message Translation): Fix typos.
8467 (Helper programs for gettext): Likewise.
8468
67cbf9a2
AS
84692012-12-07 Andreas Schwab <schwab@linux-m68k.org>
8470
8471 [BZ #14898]
8472 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
8473 Change to -1.
8474
682d0e9a
DM
84752012-12-07 David S. Miller <davem@davemloft.net>
8476
8477 * po/libc.pot: Update.
8478
573cd484
RH
84792012-12-07 Richard Henderson <rth@redhat.com>
8480
7e9da188 8481 [BZ #10114]
573cd484
RH
8482 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
8483 normal/normal case to before the switch.
8484 (_FP_DIV): Likewise.
8485
e933a943
MF
84862012-12-06 Carlos O'Donell <carlos@systemhalted.org>
8487 Mike Frysinger <vapier@gentoo.org>
8488
8489 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
8490 check for __NR_fadvise64_64.
8491
82123268
CM
84922012-12-06 Chris Metcalf <cmetcalf@tilera.com>
8493
8494 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
8495 0, not just to plain "0" as a statement.
8496 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
8497 with cw.
8498
d9814526
JM
84992012-12-06 Joseph Myers <joseph@codesourcery.com>
8500
8501 * NEWS: Use sourceware.org in Bugzilla URL.
8502
7728c574
SP
85032012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8504
f16946dd
SP
8505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
8506 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
8507
5704bbcb
SP
8508 * stdio-common/tst-put-error.c (do_test): Add newline to the
8509 padded test to ensure flush.
8510
17aa0516
JL
85112012-12-05 Jeff Law <law@redhat.com>
8512
8513 * sunrpc/etc.rpc (fedfs_admin): Add entry.
8514
363313b5
JM
85152012-12-05 Joseph Myers <joseph@codesourcery.com>
8516
effbd42a
JM
8517 * README: Don't refer to ports add-on as distributed separately.
8518 Mention AArch64 in list of systems supported in the ports add-on.
8519
87600365
JM
8520 * LICENSES: Add more non-FSF copyright and license notices.
8521
a0d7066a
JM
8522 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
8523 ((unused)).
8524
66ca5a5b
JM
8525 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
8526
363313b5
JM
8527 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
8528 10000 as width of padded output.
8529
b37984ad
JM
85302012-12-04 Joseph Myers <joseph@codesourcery.com>
8531
9003570a
JM
8532 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
8533
b37984ad
JM
8534 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
8535 variable LX with __attribute__ ((unused)).
8536 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
8537 Likewise.
8538 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
8539 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8540 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
8541 with __attribute__ ((unused)).
8542
c8df52ec
DM
85432012-12-04 David S. Miller <davem@abraco.davemloft.net>
8544
8545 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
8546
b3b099af
JM
85472012-12-04 Joseph Myers <joseph@codesourcery.com>
8548
c33aa6e3
JM
8549 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
8550 (CFLAGS-nldbl-acos.c): New variable.
8551 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
8552 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
8553 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
8554 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
8555 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
8556 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
8557 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
8558 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
8559 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
8560 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
8561 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
8562 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
8563 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
8564 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
8565 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
8566 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
8567 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
8568 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
8569 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
8570 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
8571 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
8572 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
8573 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
8574 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
8575 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
8576 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
8577 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
8578 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
8579 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
8580 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
8581 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
8582 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
8583 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
8584 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
8585 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
8586 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
8587 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
8588 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
8589 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
8590 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
8591 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
8592 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
8593 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
8594 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
8595 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
8596 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
8597 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
8598 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
8599 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
8600 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
8601 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
8602 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
8603 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
8604 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
8605 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
8606 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
8607 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
8608 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
8609 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
8610 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
8611 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
8612 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
8613 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
8614 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
8615 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
8616 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
8617 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
8618 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
8619 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
8620 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
8621 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
8622 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
8623 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
8624 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
8625 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
8626 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
8627 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
8628 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
8629 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
8630 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
8631 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
8632 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
8633 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
8634 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
8635 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
8636 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
8637 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
8638 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
8639 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
8640 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
8641 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
8642 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
8643 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
8644 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
8645 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
8646 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
8647 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
8648
20f0018d
JM
8649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8650 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
8651
b3b099af
JM
8652 [BZ #14914]
8653 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
8654 whole low double instead of just low 47 bits when splitting values
8655 into two parts.
8656
029264d1
AM
86572012-12-03 Allan McRae <allan@archlinux.org>
8658
8659 * manual/stdio.texi (Predefined Printf Handlers): Remove
8660 @hsep and @vsep usage.
8661
c9d6789e
MF
86622012-12-03 Mike Frysinger <vapier@gentoo.org>
8663
8664 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
8665 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
8666
4b7634a5
JL
86672012-12-03 Jeff Law <law@redhat.com>
8668
8669 * time/sys/time.h (settimeofday): Do not mark TV argument
8670 as __nonnull.
8671
eb6cbd24
MF
86722012-12-01 Mike Frysinger <vapier@gentoo.org>
8673
8674 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
8675 when currently writing and seek to current position when not.
8676 * libio/Makefile (tests): Remove bug-fclose1.
8677 * libio/bug-fclose1.c: Delete.
8678
f638872a
JM
86792012-12-01 Joseph Myers <joseph@codesourcery.com>
8680
8681 * manual/arith.texi (feenableexcept): Fix typo.
8682 (fedisableexcept): Likewise.
8683
48085d14
RM
86842012-11-30 Roland McGrath <roland@hack.frob.com>
8685
8686 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
8687 second, differently-typed declaration, rather than a cast.
8688
1a538b9f
SP
86892012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8690
8691 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
8692 * include/rpc/svc.h: ... here.
8693
d07f2ff1 86942012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
8695
8696 [BZ #13013]
8697 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
8698 depending n and resplen2 to catch cases where answer
8699 equals answerp2.
8700
c93ec1f0
CD
87012012-11-29 Carlos O'Donell <carlos@systemhalted.org>
8702
8703 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
8704 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
8705
37db69de
MF
87062012-11-29 Mike Frysinger <vapier@gentoo.org>
8707
8708 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
8709
e10c4e4f
RM
87102012-11-29 Roland McGrath <roland@hack.frob.com>
8711
8712 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
8713
2af1b328
JL
87142012-11-28 Jeff Law <law@redhat.com>
8715
8716 [BZ #13761]
8717 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
8718 dataset_temporary. Track alloca usage into alloca_used.
8719 If dataset is large allocate and release it via malloc/free.
8720
111db5b1
FW
87212012-06-04 Florian Weimer <fweimer@redhat.com>
8722
f06cc227 8723 [BZ #14197]
111db5b1
FW
8724 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
8725
dd694abd
DM
87262012-11-28 David S. Miller <davem@davemloft.net>
8727
8728 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8729
9984dd01
JM
87302012-11-28 Joseph Myers <joseph@codesourcery.com>
8731
8732 [BZ #14803]
8733 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
8734 of pi/2 rounded to nearest to 64 bits.
8735 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
8736 nearest to 64 bits.
8737 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
8738 bits.
8739
14bc93a9
JL
87402012-11-28 Jeff Law <law@redhat.com>
8741 Martin Osvald <mosvald@redhat.com>
8742
8743 [BZ #14889]
8744 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
8745 * sunrpc/svc.c: Include time.h.
8746 (__svc_accept_failed): New function.
8747 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
8748 any reason other than EINTR, call __svc_accept_failed.
8749 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
8750 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
8751
e3c6aa3a
AS
87522012-11-28 Andreas Schwab <schwab@suse.de>
8753
8754 * scripts/abilist.awk: Also handle indirect functions in .opd
8755 section.
8756
1bead169
JM
87572012-11-28 Joseph Myers <joseph@codesourcery.com>
8758
8759 [BZ #13881]
8760 * sysdeps/x86/fpu/powl_helper.c: New file.
8761 * sysdeps/x86/fpu/Makefile: Likewise.
8762 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
8763 (p3): New object.
8764 (__ieee754_powl): Use __powl_helper for finite arguments except
8765 integer exponents below 8.
8766 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
8767 (p3): New object.
8768 (__ieee754_powl): Use __powl_helper for finite arguments except
8769 integer exponents below 8.
8770 * math/libm-test.inc (pow_test): Add more tests and enable some
8771 previously disabled tests.
8772 * sysdeps/i386/fpu/libm-test-ulps: Update.
8773 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8774
0817d63d
SP
87752012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8776 Carlos O'Donell <carlos_odonell@mentor.com>
8777
8778 * nss/makedb.c (is_prime): Assert that input is odd and greater
8779 than 4. Note that fact in a comment too.
8780 (next_prime): Add 4 to input.
8781
de2fd463
SP
87822012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8783
8784 [BZ #11741]
8785 * libio/Makefile (tests): Add test case tst-fwrite-error.
8786 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
8787 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
8788 * libio/tst-fwrite-error.c: New test case.
8789
c515fb51
L
87902012-11-26 H.J. Lu <hongjiu.lu@intel.com>
8791
8792 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
8793 before casting to void *.
8794 * include/libc-internal.h (__pointer_type): New macro.
8795 (__integer_if_pointer_type_sub): Likewise.
8796 (__integer_if_pointer_type): Likewise.
8797 (cast_to_integer): Likewise.
8798 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
8799 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
8800 before casting to atomic64_t.
8801 (atomic_exchange_acq): Likewise.
8802 (__arch_exchange_and_add_body): Likewise.
8803 (__arch_add_body): Likewise.
8804 (atomic_add_negative): Likewise.
8805 (atomic_add_zero): Likewise.
8806
4cf77aa9
JM
88072012-11-26 Joseph Myers <joseph@codesourcery.com>
8808
8809 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
8810 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
8811 (add_fdes): Likewise.
8812 (linear_search_fdes): Likewise.
8813 (binary_search_unencoded_fdes): Likewise.
8814
d260b3b4
AS
88152012-11-26 Andreas Schwab <schwab@linux-m68k.org>
8816
8817 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
8818
67060746
AC
88192012-11-24 Adam Conrad <adconrad@0c3.net>
8820
8821 * configure.in: Autodetect C++ header directories.
8822 * configure: Regenerated.
8823
800938a1
MF
88242012-11-23 Mike Frysinger <vapier@gentoo.org>
8825
8826 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
8827
4e6e34e6
AS
88282012-11-23 Andreas Schwab <schwab@linux-m68k.org>
8829
8830 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8831
7c7feb47
JM
88322012-11-22 Joseph Myers <joseph@codesourcery.com>
8833
7184dcdf
JM
8834 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
8835 LDBL_MANT_DIG == 106]: Disable some tests.
8836 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
8837 Likewise.
8838 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
8839 Likewise.
8840
0a42601f
JM
8841 [BZ #14871]
8842 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
8843 input for small inputs. Return +/- pi/2 for large inputs.
8844 * math/libm-test.inc (atan_test): Add more tests.
8845
79c9b9fe
JM
8846 * sysdeps/generic/unwind-dw2-fde-glibc.c
8847 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
8848 __attribute__ ((unused)).
8849
c60d3bf2
JM
8850 [BZ #14645]
8851 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
8852 x * y if x and y are nonzero and z is zero.
8853
ef1e0867
JM
8854 [BZ #14811]
8855 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
8856 nonzero exponents with absolute value below 0x1p-117 to +/-
8857 0x1p-117.
8858
1468ded3
JM
8859 [BZ #14869]
8860 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
8861 up arguments below 2**-450, not just those below 2**-500.
8862 * math/libm-test.inc (hypot_test): Add another test.
8863
8e27e3cc
JM
8864 [BZ #14868]
8865 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
8866 Return a+b for ratio over 2**120, not 2**60.
8867 * math/libm-test.inc (hypot_test): Add another test.
8868
c9c0279b
JM
8869 * math/libm-test.inc (clog_test): Use
8870 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
8871 (clog10_test): Likewise.
8872
7c7feb47
JM
8873 [BZ #6778]
8874 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
8875
fff1530e
AS
88762012-11-22 Andreas Schwab <schwab@suse.de>
8877
8878 * sysdeps/i386/fpu/libm-test-ulps: Update.
8879
94558d30
PT
88802012-11-22 Pino Toscano <toscano.pino@tiscali.it>
8881
8882 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
8883 printf output with newline.
8884
7e1be741
L
88852012-11-21 H.J. Lu <hongjiu.lu@intel.com>
8886
6bfea974
L
8887 [BZ #14865]
8888 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
8889 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
8890 -z nodlopen, -z initfirst and -z execstack support.
8891 * configure: Regenerated.
8892
7e1be741
L
8893 * elf/elf.h (DF_1_NODIRECT): New macro.
8894 (DF_1_IGNMULDEF): Likewise.
8895 (DF_1_NOKSYMS): Likewise.
8896 (DF_1_NOHDR): Likewise.
8897 (DF_1_EDITED): Likewise.
8898 (DF_1_NORELOC): Likewise.
8899 (DF_1_SYMINTPOSE): Likewise.
8900 (DF_1_GLOBAUDIT): Likewise.
8901 (DF_1_SINGLETON): Likewise.
8902 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
8903 DT_1_SUPPORTED_MASK bits.
8904 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
8905
105ce2ce
CD
89062012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
8907
8908 * sysdeps/unix/make-syscalls.sh: Document prefixes.
8909
123be9de
TS
89102012-11-20 Thomas Schwinge <thomas@codesourcery.com>
8911
d072f3f7
TS
8912 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
8913 macro.
8914
123be9de
TS
8915 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
8916 (sendmmsg): Move declarations...
8917 * socket/sys/socket.h: ... here.
8918 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
8919 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
8920 include it from...
8921 * socket/recvmmsg.c: ... this new file.
8922 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
8923 (sendmmsg): Rename to __sendmmsg, create weak alias and make
8924 definition of __sendmmsg hidden.
8925 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
8926 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
8927 Move ENOSYS stub into and include it from...
8928 * socket/sendmmsg.c: ... this new file.
8929 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
8930 (sysdep_routines): Move recvmmsg and sendmmsg...
8931 * socket/Makefile (routines): ... here.
8932 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
8933 (GLIBC_PRIVATE): Add __sendmmsg.
8934 * include/sys/socket.h (__sendmmsg): Add declarations.
8935 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
8936 sendmmsg.
8937
cf9a5d18
JM
89382012-11-20 Joseph Myers <joseph@codesourcery.com>
8939
8940 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
8941 variable I1 with __attribute__ ((unused)).
8942 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
8943
ecd4caf9
JM
89442012-11-19 Joseph Myers <joseph@codesourcery.com>
8945
be14d48f
JM
8946 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
8947 DUMMY variables with __attribute__ ((unused)).
8948
ecd4caf9
JM
8949 * bits/byteswap.h: Include <bits/types.h>.
8950 (__bswap_64): Use __uint64_t instead of unsigned long long int.
8951
986cab95
PT
89522012-11-19 Pino Toscano <toscano.pino@tiscali.it>
8953
8954 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
8955 string_t. Do not manually set errno.
8956 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
8957 length with __strnlen. Make sure to both set errno and return it on
8958 failure.
8959
6d33cc9d
DM
89602012-11-19 David S. Miller <davem@davemloft.net>
8961
8962 With help from Joseph Myers.
8963 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
8964 very large arguments properly.
8965 * math/libm-test.inc (atan_test): New tests.
8966 (atan2_test): New tests.
8967 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8968 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8969
ee663277
JM
89702012-11-19 Joseph Myers <joseph@codesourcery.com>
8971
877f2d8e
JM
8972 [BZ #14856]
8973 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
8974 Define to 3.
8975
116fc08a
JM
8976 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
8977 [POSIX] (EADDRNOTAVAIL): Likewise.
8978 [POSIX] (EAFNOSUPPORT): Likewise.
8979 [POSIX] (EALREADY): Likewise.
8980 [POSIX] (ECONNABORTED): Likewise.
8981 [POSIX] (ECONNREFUSED): Likewise.
8982 [POSIX] (ECONNRESET): Likewise.
8983 [POSIX] (EDESTADDRREQ): Likewise.
8984 [POSIX] (EDQUOT): Likewise.
8985 [POSIX] (EHOSTUNREACH): Likewise.
8986 [POSIX] (EIDRM): Likewise.
8987 [POSIX] (EISCONN): Likewise.
8988 [POSIX] (ELOOP): Likewise.
8989 [POSIX] (EMULTIHOP): Likewise.
8990 [POSIX] (ENETDOWN): Likewise.
8991 [POSIX] (ENETUNREACH): Likewise.
8992 [POSIX] (ENOBUFS): Likewise.
8993 [POSIX] (ENODATA): Likewise.
8994 [POSIX] (ENOLINK): Likewise.
8995 [POSIX] (ENOMSG): Likewise.
8996 [POSIX] (ENOPROTOOPT): Likewise.
8997 [POSIX] (ENOSR): Likewise.
8998 [POSIX] (ENOSTR): Likewise.
8999 [POSIX] (ENOTCONN): Likewise.
9000 [POSIX] (ENOTSOCK): Likewise.
9001 [POSIX] (EOPNOTSUPP): Likewise.
9002 [POSIX] (EOVERFLOW): Likewise.
9003 [POSIX] (EPROTO): Likewise.
9004 [POSIX] (EPROTONOSUPPORT): Likewise.
9005 [POSIX] (EPROTOTYPE): Likewise.
9006 [POSIX] (ESTALE): Likewise.
9007 [POSIX] (ETIME): Likewise.
9008 [POSIX] (ETXTBSY): Likewise.
9009 [POSIX] (EWOULDBLOCK): Likewise.
9010 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
9011 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
9012 [POSIX] (SEEK_CUR): Likewise.
9013 [POSIX] (SEEK_END): Likewise.
9014 [POSIX || UNIX98] (mode_t): Do not require.
9015 [POSIX] (off_t): Likewise.
9016 [POSIX] (pid_t): Likewise.
9017 [POSIX] (sys/stat.h): Do not allow header.
9018 [POSIX] (unistd.h): Likewise.
9019 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
9020 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
9021 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
9022 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
9023 require.
9024 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
9025 sigevent): Specify elements.
9026 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
9027 entry.
9028 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
9029 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
9030
a483863f
JM
9031 * conform/data/cpio.h-data [POSIX]: Disable whole file.
9032 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
9033 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
9034 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
9035 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
9036 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
9037 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
9038 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
9039 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
9040 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
9041 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
9042 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
9043 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
9044 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
9045 Likewise.
9046 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
9047 Likewise.
9048 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
9049 Likewise.
9050 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
9051 Likewise.
9052 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
9053 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
9054 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
9055 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
9056 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
9057 Specify lower bound on value.
9058 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
9059 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
9060 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
9061 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
9062 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
9063 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
9064 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
9065 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
9066 value.
9067 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
9068 as optional.
9069 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
9070 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
9071 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
9072 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
9073 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
9074 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
9075 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
9076 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
9077 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
9078 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
9079 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
9080 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
9081 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
9082 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
9083 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
9084 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
9085 entry.
9086 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
9087 optional.
9088 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
9089 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
9090 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
9091 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
9092 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
9093 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
9094 Likewise.
9095 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
9096 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
9097 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
9098 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
9099 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
9100 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
9101 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
9102 as optional.
9103 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
9104 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
9105 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
9106 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
9107 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
9108 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
9109 specify as optional.
9110 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
9111 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
9112 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
9113 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
9114 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
9115 [XPG3] (NL_LANGMAX): Likewise.
9116 [POSIX || XPG3] (NL_MSGMAX): Likewise.
9117 [POSIX || XPG3] (NL_NMAX): Likewise.
9118 [POSIX || XPG3] (NL_SETMAX): Likewise.
9119 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
9120 [XPG3] (NZERO): Likewise.
9121 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
9122 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
9123 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
9124 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
9125 (REG_ERANGE): Expect.
9126 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
9127 optional-constant.
9128 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
9129 Use (void) in prototype.
9130 [POSIX] (*_t): Allow.
9131 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
9132 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
9133 (WRDE_BADVAL): Expect.
9134
5ba924e3
JM
9135 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
9136 expect.
9137 [XPG3 || XPG4] (O_RSYNC): Likewise.
9138 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
9139 Likewise.
9140 [XPG3 || XPG4] (pthread_sigmask): Likewise.
9141 [XPG3 || XPG4] (sigqueue): Likewise.
9142 [XPG3 || XPG4] (sigtimedwait): Likewise.
9143 [XPG3 || XPG4] (sigwaitinfo): Likewise.
9144 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
9145 [XPG3 || XPG4] (vsnprintf): Likewise.
9146 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
9147 Likewise.
9148 [XPG3 || XPG4] (blksize_t): Likewise.
9149 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
9150 Likewise.
9151 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
9152 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
9153 [XPG3 || XPG4] (struct itimerspec): Likewise.
9154 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
9155 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
9156 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
9157 [XPG3 || XPG4] (clockid_t): Likewise.
9158 [XPG3 || XPG4] (timer_t): Likewise.
9159 [XPG3 || XPG4] (clock_getres): Likewise.
9160 [XPG3 || XPG4] (clock_gettime): Likewise.
9161 [XPG3 || XPG4] (clock_settime): Likewise.
9162 [XPG3 || XPG4] (nanosleep): Likewise.
9163 [XPG3 || XPG4] (timer_create): Likewise.
9164 [XPG3 || XPG4] (timer_delete): Likewise.
9165 [XPG3 || XPG4] (timer_gettime): Likewise.
9166 [XPG3 || XPG4] (timer_getoverrun): Likewise.
9167 [XPG3 || XPG4] (timer_settime): Likewise.
9168 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
9169 [XPG3 || XPG4] (getlogin_r): Likewise.
9170 [XPG3 || XPG4] (pread): Likewise.
9171 [XPG3 || XPG4] (pthread_atfork): Likewise.
9172 [XPG3 || XPG4] (pwrite): Likewise.
9173
ee663277
JM
9174 [BZ #14835]
9175 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
9176 <bits/siginfo.h>.
9177
942caa16
PT
91782012-11-19 Pino Toscano <toscano.pino@tiscali.it>
9179
e19af380
PT
9180 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
9181 finalizing MALLSTREAM.
9182
942caa16
PT
9183 * sysdeps/mach/hurd/syncfs.c: New file.
9184
cfde9b46
SP
91852012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9186
9187 [BZ #14719]
9188 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
9189 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
9190 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
9191 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
9192 (_nss_dns_gethostbyname4_r): Likewise.
9193 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
9194 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
9195
f6da27e5
PH
91962012-11-19 Peng Haitao <penght@cn.fujitsu.com>
9197
9198 [BZ #13763]
9199 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
9200
6665d4a2
SM
92012012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
9202
1f51ee92
SM
9203 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
9204 * elf/cache.c (print_entry): Print ",AArch64" for
9205 FLAG_AARCH64_LIB64
9206
6665d4a2
SM
9207 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
9208 * elf/cache.c (print_entry): Print ",hard-float" for
9209 FLAG_ARM_LIBHF.
9210
05b227bd
DM
92112012-11-18 David S. Miller <davem@davemloft.net>
9212
9213 With help from Joseph Myers.
9214 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
9215 cutoff to 2**-13.
9216 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
9217 cutoff to 2**-25.
9218 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
9219 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
9220 small.
9221 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
9222 * math/libm-test.inc (y0_test): New tests.
9223 (y1_test): New tests.
9224 * sysdeps/i386/fpu/libm-test-ulps: Update.
9225 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9226 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9227
786b0b67
AS
92282012-11-18 Andreas Schwab <schwab@linux-m68k.org>
9229
9230 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
9231 64-bit targets.
9232 * configure: Regenerated.
9233
8e18b86d
DM
92342012-11-17 David S. Miller <davem@davemloft.net>
9235
9236 [BZ #14811]
9237 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
9238 nonzero exponents with absolute value below 0x1p-128 to +/-
9239 0x1p-128.
9240
531f1ae0
JM
92412012-11-17 Joseph Myers <joseph@codesourcery.com>
9242
12df29e2
JM
9243 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
9244
150dc1a0
JM
9245 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
9246
531f1ae0
JM
9247 * posix/getconf-speclist.c: New file.
9248 * posix/posix-envs.def: Likewise.
9249 * posix/confstr.c (START_ENV_GROUP): New macro.
9250 (END_ENV_GROUP): Likewise.
9251 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
9252 (KNOWN_PRESENT_ENV_STRING): Likewise.
9253 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
9254 (UNKNOWN_ENVIRONMENT): Likewise.
9255 (confstr): Include posix-envs.def instead of handling
9256 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
9257 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
9258 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
9259 (END_ENV_GROUP): Likewise.
9260 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
9261 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
9262 (UNKNOWN_ENVIRONMENT): Likewise.
9263 (__sysconf): Include posix-envs.def instead of handling associated
9264 cases directly here.
9265 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
9266 preprocessing getconf-speclist.c rather than running getconf or
9267 generating empty file.
9268
a93f9cbc
PT
92692012-11-16 Pino Toscano <toscano.pino@tiscali.it>
9270
9271 * scripts/check-local-headers.sh: Ignore 'mach' headers.
9272
d64d9f87
AL
92732012-11-16 Andrej Lajovic <natrij@gmail.com>
9274
9275 [BZ #14672]
9276 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
9277
447885eb
DM
92782012-11-16 David S. Miller <davem@davemloft.net>
9279
9280 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
9281 smaller than LDBL_EPSILON/2.0L, just return xm1.
9282
bcbf9830
L
92832012-11-16 H.J. Lu <hongjiu.lu@intel.com>
9284
9285 * elf/tst-array1.c (init): Set constructor priority to 1000.
9286 (fini): Set destructor priority to 1000.
9287 * elf/tst-array2dep.c: Likewise.
9288
2b766585
SP
92892012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9290
9291 [BZ #11741]
9292 * libio/fileops.c (_IO_new_file_write): Correctly return error.
9293 (_IO_new_file_xsputn): Also return EOF if none of the input
9294 data was written when overflow failed.
9295 * libio/iopadn.c (_IO_padn): Likewise.
9296 * libio/iowpadn.c (_IO_wpadn): Likewise.
9297 * stdio-common/tst-put-error.c: Add copyright notice.
9298 (do_test): Add case for printing padded string.
9299 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
9300 _IO_padn returned error.
9301 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
9302 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
9303 return EOF.
9304
b1848fde
SP
93052012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9306
9307 * libio/libioP.h: Add comment note that the references to C++
9308 bits are now obsolete.
9309
2fd89785
MS
93102012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9311
9312 * math/libm-test.inc (check_complex): Use asprintf.
9313
e3ea5409
JM
93142012-11-14 Joseph Myers <joseph@codesourcery.com>
9315
9316 * debug/pcprofiledump.c (print_version): Update copyright year.
9317 * malloc/memusagestat.c (print_version): Likewise.
9318
2e64d265
L
93192012-11-14 H.J. Lu <hongjiu.lu@intel.com>
9320
9321 [BZ #14831]
9322 * elf/Makefile (tests): Add tst-audit8.
9323 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
9324 ($(objpfx)tst-audit8.out): New target.
9325 (tst-audit8-ENV): New variable.
9326 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
9327 audit if l_reloc_result is NULL.
9328 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
9329 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
9330 * elf/tst-audit8.c: New file.
9331
c485e4d2
MS
93322012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9333
9334 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
9335 * misc/Makefile (CFLAGS-select.c): Define.
9336 * posix/Makefile (CFLAGS-pause.c): Define.
9337
3a0d900a
DM
93382012-11-13 David S. Miller <davem@davemloft.net>
9339
9340 * crypt/Makefile: Move test targets after toplevel Rules
9341 inclusion. Grab any necessary sysdep routines when linking.
9342 * crypt/md5.c (md5_process_block): Remove define, we will always
9343 name it __md5_process_block.
9344 (md5_finish_ctx): Update md5_process_block call.
9345 (md5_stream): Likewise.
9346 (md5_process_bytes): Likewise.
9347 (md5_process_block): Rename to __md5_process_block and move to ...
9348 * crypt/md5-block.c: ... here.
9349 * crypt/sha256.c (sha256_process_block): Move to ...
9350 * crypt/sha256-block.c: ... here.
9351 * crypt/sha512.c (sha512_process_block): Move to ...
9352 * crypt/sha512-block.c: ... here.
9353 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
9354 path.
9355 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
9356 * sysdeps/sparc/sparc64/multiarch/Makefile
9357 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
9358 crypt subdir.
9359 (localedef-aux): Add md5 crypto assembler when in locale subdir.
9360 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
9361 multiarch changes.
9362 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
9363 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
9364 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
9365 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
9366 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
9367 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
9368 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
9369 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
9370 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
9371 file.
9372 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
9373 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
9374 file.
9375 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
9376
8ca89318
JM
93772012-11-13 Joseph Myers <joseph@codesourcery.com>
9378
e27d476a
JM
9379 * timezone/tzselect.ksh: Update from tzcode git revision
9380 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
9381 * timezone/zdump.c: Likewise.
9382 * timezone/zic.c: Likewise.
9383 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
9384 in TZVERSION setting, not $(PKGVERSION).
9385 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
9386 REPORT_BUGS_TO settings.
9387
8ca89318
JM
9388 [BZ #14838]
9389 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
9390 macro.
9391
47594329
MS
93922012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9393
9394 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
9395 detection to immediately after _FP_ROUND().
9396 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
9397 bits are 0.
9398
640ac3f1
DM
93992012-11-11 David S. Miller <davem@davemloft.net>
9400
9401 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
9402 inttypes.h
9403 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
9404 __close rather than their public counterparts.
9405
3d2577bb
JM
94062012-11-10 Joseph Myers <joseph@codesourcery.com>
9407
9408 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
9409 file.
9410 [UNIX98] (sem_timedwait): Do not expect.
9411 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
9412 [XPG4 || UNIX98] (sockatmark): Do not expect.
9413 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
9414 (clock_getcpuclockid): Do not expect.
9415 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
9416 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
9417 Do not expect.
9418 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
9419 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
9420 [UNIX98] (vwscanf): Likewise.
9421 [UNIX98] (vswscanf): Likewise.
9422
fb1ae1ee
JM
94232012-11-09 Joseph Myers <joseph@codesourcery.com>
9424
9ec6f8bd
JM
9425 * timezone/version.h: Remove file.
9426 * timezone/README: Do not refer to version.h.
9427 * timezone/Makefile ($(objpfx)zic.o): New dependency on
9428 $(objpfx)version.h.
9429 ($(objpfx)zdump.o): Likewise.
c3f81911 9430 ($(objpfx)version.h): New target.
9ec6f8bd 9431
0aa8f8a1
JM
9432 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
9433 2012i.
9434 * timezone/README: Don't mention modification to tzselect.ksh.
9435 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
9436 work on unmodified tzselect.ksh. Substitute version numbers in
9437 tzselect.ksh.
9438
4e87147f
JM
9439 * Makefile (format-me): Remove.
9440 (INSTALL): Adjust indentation. Use commands directly instead of
9441 using $(format-me).
9442
8b748aed
JM
9443 * aclocal.m4 (ACX_PKGVERSION): New macro.
9444 (ACX_BUGURL): Likewise.
9445 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
9446 (PKGVERSION): New AC_DEFINE_UNQUOTED.
9447 (REPORT_BUGS_TO): Likewise.
9448 * configure: Regenerated.
9449 * config.h.in (PKGVERSION): New macro.
9450 (REPORT_BUGS_TO): Likewise.
9451 * config.make.in (PKGVERSION): New variable.
9452 (PKGVERSION_TEXI): Likewise.
9453 (REPORT_BUGS_TO): Likewise.
9454 (REPORT_BUGS_TEXI): Likewise.
9455 * Makefile (format-me): Use -I$(common-objpfx)manual.
9456 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
9457 ($(common-objpfx)manual/%): New target.
9458 (manual/%): Remove target.
9459 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
9460 (print_version): Use PKGVERSION.
9461 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
9462 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
9463 and REPORT_BUGS_TO.
9464 ($(objpfx)xtrace): Likewise.
9465 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
9466 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
9467 (print_version): Use PKGVERSION.
9468 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
9469 (do_version): Use PKGVERSION.
9470 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
9471 REPORT_BUGS_TO.
9472 (common-ldd-rewrite): Likewise.
9473 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
9474 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
9475 (print_version): Use PKGVERSION.
9476 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
9477 * elf/pldd.c (argp_program_bug_address): Remove variable.
9478 (more_help): New function.
9479 (argp): Use more_help.
9480 (print_version): Use PKGVERSION.
9481 * elf/sln.c (main): Use PKGVERSION.
9482 (usage): Use REPORT_BUGS_TO.
9483 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
9484 (top level): Use PKGVERSION.
9485 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
9486 (print_version): Use PKGVERSION.
9487 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
9488 (print_version): Use PKGVERSION.
9489 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
9490 (print_version): Use PKGVERSION.
9491 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
9492 (print_version): Use PKGVERSION.
9493 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
9494 (print_version): Use PKGVERSION.
9495 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
9496 (print_version): Use PKGVERSION.
9497 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
9498 and BUGURL.
9499 ($(objpfx)memusage): Likewise.
9500 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
9501 (do_version): Use PKGVERSION.
9502 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
9503 (print_version): Use PKGVERSION.
9504 * malloc/mtrace.pl ($PACKAGE): Remove variable.
9505 ($PKGVERSION): New variable.
9506 ($REPORT_BUGS_TO): Likewise.
9507 (usage): Use $REPORT_BUGS_TO.
9508 (top level): Use $PKGVERSION.
9509 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
9510 ($(objpfx)pkgvers.texi): New rule.
9511 ($(objpfx)stamp-pkgvers): Likewise.
9512 * manual/install.texi: Include pkgvers.texi.
9513 (--with-pkgversion): Document new configure option.
9514 (--with-bugurl): Likewise.
9515 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
9516 than necessarily for this particular distribution. Use
9517 REPORT_BUGS_TO for where to report bugs.
9518 * INSTALL: Regenerated.
9519 * manual/libc.texinfo: Include pkgvers.texi.
9520 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
9521 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
9522 (print_version): Use PKGVERSION.
9523 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
9524 (print_version): Use PKGVERSION.
9525 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
9526 (print_version): Use PKGVERSION.
9527 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
9528 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
9529 macro.
9530 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
9531 (print_version): Use PKGVERSION.
9532 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
9533 (print_version): Use PKGVERSION.
9534 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
9535 and PKGVERSION.
9536
92e4b6a9
JM
9537 * timezone/checktab.awk: Update from tzcode 2012i.
9538 * timezone/ialloc.c: Likewise.
9539 * timezone/private.h: Likewise.
9540 * timezone/scheck.c: Likewise.
9541 * timezone/tzfile.h: Likewise.
9542 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
9543 (TZVERSION): Hardcode tzcode version number.
9544 * timezone/zdump.c: Update from tzcode 2012i.
9545 * timezone/zic.c: Likewise.
9546 * timezone/version.h: New file.
9547 * timezone/README: Describe version.h. Update upstream location.
9548
9bde902c
JM
9549 [BZ #14824]
9550 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
9551 (mktemp): Enable declaration.
9552 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
9553 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
9554 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
9555 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
9556 Likewise.
9557 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
9558 Likewise.
9559 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
9560 Likewise.
9561 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
9562 Likewise.
9563 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
9564 Likewise.
9565 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
9566 Likewise.
9567
fb1ae1ee
JM
9568 [BZ #14821]
9569 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
9570 offset in buffer as u_int32_t not u_long. Consistently use memcpy
9571 for copies of such integer values.
9572 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
9573 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
9574
2c1adbcb
AJ
95752012-11-09 Andreas Jaeger <aj@suse.de>
9576
9577 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
9578 definitions and declarations that are provided by
9579 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
9580
d0f8457e
AK
95812012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9582
3a235abb 9583 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
9584 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
9585 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
9586 definition.
9587
57241e26
MS
95882012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9589
9590 * elf/elf.h: Update comment before AArch64 relocations.
9591
60e8270d
DM
95922012-11-07 David S. Miller <davem@davemloft.net>
9593
9594 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
9595 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
9596 (__start_context): Declare.
9597 (__makecontext_ret): Delete.
9598 (__makecontext): Hook up __start_context instead of
9599 __makecontext_ret.
9600 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
9601 (sysdep_routines): Add __start_context when in stdlib.
9602
0fbb0fbc
JM
96032012-11-07 Joseph Myers <joseph@codesourcery.com>
9604
9605 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
9606 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
9607 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
9608 hardcoded "nm".
9609 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
9610 (READELF): New variable. Use it instead of hardcoded "readelf".
9611
eb48db7e
L
96122012-11-07 H.J. Lu <hongjiu.lu@intel.com>
9613
9614 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
9615 * sysdeps/x86/Makefile: Here.
9616 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
9617 * sysdeps/x86/tst-xmmymm.sh: This.
9618
05bcf62a
JM
96192012-11-07 Joseph Myers <joseph@codesourcery.com>
9620
c4b6cf53
JM
9621 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
9622 expectations.
9623 [UNIX98] (pthread_barrier_t): Do not expect.
9624 [UNIX98] (pthread_barrierattr_t): Likewise.
9625 [UNIX98] (pthread_spinlock_t): Likewise.
9626 [UNIX98] (pthread_barrier_destroy): Likewise.
9627 [UNIX98] (pthread_barrier_init): Likewise.
9628 [UNIX98] (pthread_barrier_wait): Likewise.
9629 [UNIX98] (pthread_barrierattr_destroy): Likewise.
9630 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
9631 [UNIX98] (pthread_barrierattr_init): Likewise.
9632 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
9633 [UNIX98] (pthread_getcpuclockid): Likewise.
9634 [UNIX98] (pthread_mutex_timedlock): Likewise.
9635 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
9636 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
9637 [UNIX98] (pthread_sigmask): Likewise.
9638 [UNIX98] (pthread_spin_destroy): Likewise.
9639 [UNIX98] (pthread_spin_init): Likewise.
9640 [UNIX98] (pthread_spin_lock): Likewise.
9641 [UNIX98] (pthread_spin_trylock): Likewise.
9642 [UNIX98] (pthread_spin_unlock): Likewise.
9643 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
9644 Do not expect.
9645 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
9646 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
9647 [XPG3 || XPG4] (pthread_cond_t): Likewise.
9648 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
9649 [XPG3 || XPG4] (pthread_key_t): Likewise.
9650 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
9651 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
9652 [XPG3 || XPG4] (pthread_once_t): Likewise.
9653 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
9654 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
9655 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
9656 [XPG3 || XPG4] (pthread_t): Likewise.
9657
cbe6e120
JM
9658 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
9659 not expect.
9660 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
9661
1b126443
JM
9662 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
9663 Change function return type to int.
9664
b961a573
JM
9665 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
9666 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
9667 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
9668 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
9669 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
9670 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
9671 [!POSIX] (posix_madvise): Likewise.
9672 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
9673 && !UNIX98].
9674 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
9675 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
9676 (mode_t): Likewise.
9677 (posix_mem_offset): Likewise.
9678 (posix_typed_mem_get_info): Likewise.
9679 (posix_typed_mem_open): Likewise.
9680
9e188909
JM
9681 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
9682 Change condition to [XOPEN2K8].
9683
05bcf62a
JM
9684 * conform/conformtest.pl: Preprocess allow-header data with -x c
9685 instead of from stdin.
9686 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
9687 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
9688 [C99-based standards] (cerfc): Likewise.
9689 [C99-based standards] (cexp2): Likewise.
9690 [C99-based standards] (cexpm1): Likewise.
9691 [C99-based standards] (clog10): Likewise.
9692 [C99-based standards] (clog1p): Likewise.
9693 [C99-based standards] (clog2): Likewise.
9694 [C99-based standards] (clgamma): Likewise.
9695 [C99-based standards] (ctgamma): Likewise.
9696 [C99-based standards] (cerff): Likewise.
9697 [C99-based standards] (cerfcf): Likewise.
9698 [C99-based standards] (cexp2f): Likewise.
9699 [C99-based standards] (cexpm1f): Likewise.
9700 [C99-based standards] (clog10f): Likewise.
9701 [C99-based standards] (clog1pf): Likewise.
9702 [C99-based standards] (clog2f): Likewise.
9703 [C99-based standards] (clgammaf): Likewise.
9704 [C99-based standards] (ctgammaf): Likewise.
9705 [C99-based standards] (cerfl): Likewise.
9706 [C99-based standards] (cerfcl): Likewise.
9707 [C99-based standards] (cexp2l): Likewise.
9708 [C99-based standards] (cexpm1l): Likewise.
9709 [C99-based standards] (clog10l): Likewise.
9710 [C99-based standards] (clog1pl): Likewise.
9711 [C99-based standards] (clog2l): Likewise.
9712 [C99-based standards] (clgammal): Likewise.
9713 [C99-based standards] (ctgammal): Likewise.
9714 * conform/data/inttypes.h-data [C99-based standards]: Include
9715 stdint.h-data. Remove all expectations for stdint.h contents.
9716 [C99-based standards] (PRI*): Do not allow.
9717 [C99-based standards] (SCN*): Likewise.
9718 [C99-based standards] (*_t): Likewise.
9719 [C99-based-standards] (PRId8): Expect macro.
9720 [C99-based-standards] (PRIi8): Likewise.
9721 [C99-based-standards] (PRIo8): Likewise.
9722 [C99-based-standards] (PRIu8): Likewise.
9723 [C99-based-standards] (PRIx8): Likewise.
9724 [C99-based-standards] (PRIX8): Likewise.
9725 [C99-based-standards] (SCNd8): Likewise.
9726 [C99-based-standards] (SCNi8): Likewise.
9727 [C99-based-standards] (SCNo8): Likewise.
9728 [C99-based-standards] (SCNu8): Likewise.
9729 [C99-based-standards] (SCNx8): Likewise.
9730 [C99-based-standards] (PRIdLEAST8): Likewise.
9731 [C99-based-standards] (PRIiLEAST8): Likewise.
9732 [C99-based-standards] (PRIoLEAST8): Likewise.
9733 [C99-based-standards] (PRIuLEAST8): Likewise.
9734 [C99-based-standards] (PRIxLEAST8): Likewise.
9735 [C99-based-standards] (PRIXLEAST8): Likewise.
9736 [C99-based-standards] (SCNdLEAST8): Likewise.
9737 [C99-based-standards] (SCNiLEAST8): Likewise.
9738 [C99-based-standards] (SCNoLEAST8): Likewise.
9739 [C99-based-standards] (SCNuLEAST8): Likewise.
9740 [C99-based-standards] (SCNxLEAST8): Likewise.
9741 [C99-based-standards] (PRIdFAST8): Likewise.
9742 [C99-based-standards] (PRIiFAST8): Likewise.
9743 [C99-based-standards] (PRIoFAST8): Likewise.
9744 [C99-based-standards] (PRIuFAST8): Likewise.
9745 [C99-based-standards] (PRIxFAST8): Likewise.
9746 [C99-based-standards] (PRIXFAST8): Likewise.
9747 [C99-based-standards] (SCNdFAST8): Likewise.
9748 [C99-based-standards] (SCNiFAST8): Likewise.
9749 [C99-based-standards] (SCNoFAST8): Likewise.
9750 [C99-based-standards] (SCNuFAST8): Likewise.
9751 [C99-based-standards] (SCNxFAST8): Likewise.
9752 [C99-based-standards] (PRId16): Likewise.
9753 [C99-based-standards] (PRIi16): Likewise.
9754 [C99-based-standards] (PRIo16): Likewise.
9755 [C99-based-standards] (PRIu16): Likewise.
9756 [C99-based-standards] (PRIx16): Likewise.
9757 [C99-based-standards] (PRIX16): Likewise.
9758 [C99-based-standards] (SCNd16): Likewise.
9759 [C99-based-standards] (SCNi16): Likewise.
9760 [C99-based-standards] (SCNo16): Likewise.
9761 [C99-based-standards] (SCNu16): Likewise.
9762 [C99-based-standards] (SCNx16): Likewise.
9763 [C99-based-standards] (PRIdLEAST16): Likewise.
9764 [C99-based-standards] (PRIiLEAST16): Likewise.
9765 [C99-based-standards] (PRIoLEAST16): Likewise.
9766 [C99-based-standards] (PRIuLEAST16): Likewise.
9767 [C99-based-standards] (PRIxLEAST16): Likewise.
9768 [C99-based-standards] (PRIXLEAST16): Likewise.
9769 [C99-based-standards] (SCNdLEAST16): Likewise.
9770 [C99-based-standards] (SCNiLEAST16): Likewise.
9771 [C99-based-standards] (SCNoLEAST16): Likewise.
9772 [C99-based-standards] (SCNuLEAST16): Likewise.
9773 [C99-based-standards] (SCNxLEAST16): Likewise.
9774 [C99-based-standards] (PRIdFAST16): Likewise.
9775 [C99-based-standards] (PRIiFAST16): Likewise.
9776 [C99-based-standards] (PRIoFAST16): Likewise.
9777 [C99-based-standards] (PRIuFAST16): Likewise.
9778 [C99-based-standards] (PRIxFAST16): Likewise.
9779 [C99-based-standards] (PRIXFAST16): Likewise.
9780 [C99-based-standards] (SCNdFAST16): Likewise.
9781 [C99-based-standards] (SCNiFAST16): Likewise.
9782 [C99-based-standards] (SCNoFAST16): Likewise.
9783 [C99-based-standards] (SCNuFAST16): Likewise.
9784 [C99-based-standards] (SCNxFAST16): Likewise.
9785 [C99-based-standards] (PRId32): Likewise.
9786 [C99-based-standards] (PRIi32): Likewise.
9787 [C99-based-standards] (PRIo32): Likewise.
9788 [C99-based-standards] (PRIu32): Likewise.
9789 [C99-based-standards] (PRIx32): Likewise.
9790 [C99-based-standards] (PRIX32): Likewise.
9791 [C99-based-standards] (SCNd32): Likewise.
9792 [C99-based-standards] (SCNi32): Likewise.
9793 [C99-based-standards] (SCNo32): Likewise.
9794 [C99-based-standards] (SCNu32): Likewise.
9795 [C99-based-standards] (SCNx32): Likewise.
9796 [C99-based-standards] (PRIdLEAST32): Likewise.
9797 [C99-based-standards] (PRIiLEAST32): Likewise.
9798 [C99-based-standards] (PRIoLEAST32): Likewise.
9799 [C99-based-standards] (PRIuLEAST32): Likewise.
9800 [C99-based-standards] (PRIxLEAST32): Likewise.
9801 [C99-based-standards] (PRIXLEAST32): Likewise.
9802 [C99-based-standards] (SCNdLEAST32): Likewise.
9803 [C99-based-standards] (SCNiLEAST32): Likewise.
9804 [C99-based-standards] (SCNoLEAST32): Likewise.
9805 [C99-based-standards] (SCNuLEAST32): Likewise.
9806 [C99-based-standards] (SCNxLEAST32): Likewise.
9807 [C99-based-standards] (PRIdFAST32): Likewise.
9808 [C99-based-standards] (PRIiFAST32): Likewise.
9809 [C99-based-standards] (PRIoFAST32): Likewise.
9810 [C99-based-standards] (PRIuFAST32): Likewise.
9811 [C99-based-standards] (PRIxFAST32): Likewise.
9812 [C99-based-standards] (PRIXFAST32): Likewise.
9813 [C99-based-standards] (SCNdFAST32): Likewise.
9814 [C99-based-standards] (SCNiFAST32): Likewise.
9815 [C99-based-standards] (SCNoFAST32): Likewise.
9816 [C99-based-standards] (SCNuFAST32): Likewise.
9817 [C99-based-standards] (SCNxFAST32): Likewise.
9818 [C99-based-standards] (PRId64): Likewise.
9819 [C99-based-standards] (PRIi64): Likewise.
9820 [C99-based-standards] (PRIo64): Likewise.
9821 [C99-based-standards] (PRIu64): Likewise.
9822 [C99-based-standards] (PRIx64): Likewise.
9823 [C99-based-standards] (PRIX64): Likewise.
9824 [C99-based-standards] (SCNd64): Likewise.
9825 [C99-based-standards] (SCNi64): Likewise.
9826 [C99-based-standards] (SCNo64): Likewise.
9827 [C99-based-standards] (SCNu64): Likewise.
9828 [C99-based-standards] (SCNx64): Likewise.
9829 [C99-based-standards] (PRIdLEAST64): Likewise.
9830 [C99-based-standards] (PRIiLEAST64): Likewise.
9831 [C99-based-standards] (PRIoLEAST64): Likewise.
9832 [C99-based-standards] (PRIuLEAST64): Likewise.
9833 [C99-based-standards] (PRIxLEAST64): Likewise.
9834 [C99-based-standards] (PRIXLEAST64): Likewise.
9835 [C99-based-standards] (SCNdLEAST64): Likewise.
9836 [C99-based-standards] (SCNiLEAST64): Likewise.
9837 [C99-based-standards] (SCNoLEAST64): Likewise.
9838 [C99-based-standards] (SCNuLEAST64): Likewise.
9839 [C99-based-standards] (SCNxLEAST64): Likewise.
9840 [C99-based-standards] (PRIdFAST64): Likewise.
9841 [C99-based-standards] (PRIiFAST64): Likewise.
9842 [C99-based-standards] (PRIoFAST64): Likewise.
9843 [C99-based-standards] (PRIuFAST64): Likewise.
9844 [C99-based-standards] (PRIxFAST64): Likewise.
9845 [C99-based-standards] (PRIXFAST64): Likewise.
9846 [C99-based-standards] (SCNdFAST64): Likewise.
9847 [C99-based-standards] (SCNiFAST64): Likewise.
9848 [C99-based-standards] (SCNoFAST64): Likewise.
9849 [C99-based-standards] (SCNuFAST64): Likewise.
9850 [C99-based-standards] (SCNxFAST64): Likewise.
9851 [C99-based-standards] (PRIdMAX): Likewise.
9852 [C99-based-standards] (PRIiMAX): Likewise.
9853 [C99-based-standards] (PRIoMAX): Likewise.
9854 [C99-based-standards] (PRIuMAX): Likewise.
9855 [C99-based-standards] (PRIxMAX): Likewise.
9856 [C99-based-standards] (PRIXMAX): Likewise.
9857 [C99-based-standards] (SCNdMAX): Likewise.
9858 [C99-based-standards] (SCNiMAX): Likewise.
9859 [C99-based-standards] (SCNoMAX): Likewise.
9860 [C99-based-standards] (SCNuMAX): Likewise.
9861 [C99-based-standards] (SCNxMAX): Likewise.
9862 [C99-based-standards] (PRIdPTR): Likewise.
9863 [C99-based-standards] (PRIiPTR): Likewise.
9864 [C99-based-standards] (PRIoPTR): Likewise.
9865 [C99-based-standards] (PRIuPTR): Likewise.
9866 [C99-based-standards] (PRIxPTR): Likewise.
9867 [C99-based-standards] (PRIXPTR): Likewise.
9868 [C99-based-standards] (SCNdPTR): Likewise.
9869 [C99-based-standards] (SCNiPTR): Likewise.
9870 [C99-based-standards] (SCNoPTR): Likewise.
9871 [C99-based-standards] (SCNuPTR): Likewise.
9872 [C99-based-standards] (SCNxPTR): Likewise.
9873 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
9874 allow.
9875 * conform/data/stdint.h-data: Update comments to clarify
9876 requirements.
9877 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
9878 type.
9879 [C99-based standards] (INT8_MAX): Likewise.
9880 [C99-based standards] (INT16_MIN): Likewise.
9881 [C99-based standards] (INT16_MAX): Likewise.
9882 [C99-based standards] (INT32_MIN): Likewise.
9883 [C99-based standards] (INT32_MAX): Likewise.
9884 [C99-based standards] (INT64_MIN): Likewise.
9885 [C99-based standards] (INT64_MAX): Likewise.
9886 [C99-based standards] (UINT8_MAX): Likewise.
9887 [C99-based standards] (UINT16_MAX): Likewise.
9888 [C99-based standards] (UINT32_MAX): Likewise.
9889 [C99-based standards] (UINT64_MAX): Likewise.
9890 [C99-based standards] (INT_LEAST8_MIN): Likewise.
9891 [C99-based standards] (INT_LEAST8_MAX): Likewise.
9892 [C99-based standards] (INT_LEAST16_MIN): Likewise.
9893 [C99-based standards] (INT_LEAST16_MAX): Likewise.
9894 [C99-based standards] (INT_LEAST32_MIN): Likewise.
9895 [C99-based standards] (INT_LEAST32_MAX): Likewise.
9896 [C99-based standards] (INT_LEAST64_MIN): Likewise.
9897 [C99-based standards] (INT_LEAST64_MAX): Likewise.
9898 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
9899 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
9900 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
9901 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
9902 [C99-based standards] (INT_FAST8_MIN): Likewise.
9903 [C99-based standards] (INT_FAST8_MAX): Likewise.
9904 [C99-based standards] (INT_FAST16_MIN): Likewise.
9905 [C99-based standards] (INT_FAST16_MAX): Likewise.
9906 [C99-based standards] (INT_FAST32_MIN): Likewise.
9907 [C99-based standards] (INT_FAST32_MAX): Likewise.
9908 [C99-based standards] (INT_FAST64_MIN): Likewise.
9909 [C99-based standards] (INT_FAST64_MAX): Likewise.
9910 [C99-based standards] (UINT_FAST8_MAX): Likewise.
9911 [C99-based standards] (UINT_FAST16_MAX): Likewise.
9912 [C99-based standards] (UINT_FAST32_MAX): Likewise.
9913 [C99-based standards] (UINT_FAST64_MAX): Likewise.
9914 [C99-based standards] (INTPTR_MIN): Likewise.
9915 [C99-based standards] (INTPTR_MAX): Likewise.
9916 [C99-based standards] (UINTPTR_MAX): Likewise.
9917 [C99-based standards] (INTMAX_MIN): Likewise.
9918 [C99-based standards] (INTMAX_MAX): Likewise.
9919 [C99-based standards] (UINTMAX_MAX): Likewise.
9920 [C99-based standards] (PTRDIFF_MIN): Likewise.
9921 [C99-based standards] (PTRDIFF_MAX): Likewise.
9922 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
9923 [C99-based standards] (SIZE_MAX): Likewise.
9924 [C99-based standards] (WCHAR_MAX): Likewise.
9925 [C99-based standards] (WINT_MAX): Likewise.
9926 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
9927 constraint on value.
9928 [C99-based standards] (WCHAR_MIN): Likewise.
9929 [C99-based standards] (WINT_MIN): Likewise.
9930 [C99-based standards] (*_t): Allow.
9931 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
9932 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
9933 Include math.h-data and complex.h-data. Remove all expectations
9934 of math.h and complex.h contents.
9935 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
9936 at end of line.
9937 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
9938 (struct tm): Expect tag.
9939 [C99-based-standards] (wcstof): Expect function.
9940 [C99-based-standards] (wcstold): Likewise.
9941 [C99-based-standards] (wcstoll): Likewise.
9942 [C99-based-standards] (wcstoull): Likewise.
9943 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
9944 macro-int-constant. Specify type.
9945 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
9946 constraint on value.
9947 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
9948 Specify type.
9949 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
9950 Specify value.
9951 [ISO C standards]: Do not allow headers.
9952 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
9953 wcs[abcdefghijklmnopqrstuvwxyz]*.
9954 [ISO C standards] (*_t): Do not allow.
9955 * conform/data/wctype.h-data [C99-based standards] (iswblank):
9956 Expect function.
9957 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
9958 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
9959 Specify type.
9960 [ISO C standards]: Do not allow headers.
9961 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
9962 is[abcdefghijklmnopqrstuvwxyz]*.
9963 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
9964 to[abcdefghijklmnopqrstuvwxyz]*.
9965 [ISO C standards] (*_t): Do not allow.
9966 * conform/data/stdalign.h-data: New file.
9967 * conform/data/stdbool.h-data: Likewise.
9968 * conform/data/stdnoreturn.h-data: Likewise.
9969
7514feb8
RM
99702012-11-07 Roland McGrath <roland@hack.frob.com>
9971
9972 [BZ #14815]
9973 * manual/filesys.texi (Directory Entries): Typo fix.
9974 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
9975
19b2ecfc
MS
99762012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9977
9978 * elf/elf.h (EM_AARCH64): New macro.
9979 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
9980 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
9981 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
9982 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
9983 (R_AARCH64_TLSDESC): Likewise.
9984 (NT_ARM_TLS): Likewise.
9985 (NT_ARM_HW_BREAK): Likewise.
9986 (NT_ARM_HW_WATCH): Likewise.
9987
60e235ee
JM
99882012-11-07 Joseph Myers <joseph@codesourcery.com>
9989
9990 [BZ #14811]
9991 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
9992 (__ieee754_powl): Saturate nonzero exponents with absolute value
9993 below 0x1p-79 to +/- 0x1p-79.
9994 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
9995 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
9996 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
9997 nonzero exponents with absolute value below 0x1p-32 to +/-
9998 0x1p-32.
9999 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
10000 (__ieee754_powl): Saturate nonzero exponents with absolute value
10001 below 0x1p-79 to +/- 0x1p-79.
10002 * math/libm-test.inc (pow_test): Add more tests.
10003
0ab234b7
AK
100042012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10005
10006 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
10007 _dl_s390_cap_flags with kernel. Increase string length.
10008 (_dl_s390_platforms): Add z196 and zEC12.
10009
45832f74
JM
100102012-11-07 Joseph Myers <joseph@codesourcery.com>
10011
10012 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
10013 Change XOPEN21K to XOPEN2K.
10014
19218757
MK
100152012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
10016
10017 * string/memmove.c: Use memcpy when possible.
10018
c5f45721
AJ
100192012-11-06 Andreas Jaeger <aj@suse.de>
10020
10021 * po/eo.po: Update from translation team.
10022
82477c28
JM
100232012-11-06 Joseph Myers <joseph@codesourcery.com>
10024
10025 [BZ #14793]
10026 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
10027 exponent and small x and y exponents, scale x or y up. Increase
10028 by 2 the exponent used in scaling up.
10029 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10030 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10031 * math/libm-test.inc (fma_test): Add more tests.
10032 (fma_test_towardzero): Likewise.
10033 (fma_test_downward): Likewise.
10034 (fma_test_upward): Likewise.
10035
99252c8c
JM
100362012-11-05 Joseph Myers <joseph@codesourcery.com>
10037
acfa885f
JM
10038 [BZ #14805]
10039 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
10040 fenv_t *.
10041
99252c8c
JM
10042 [BZ #14801]
10043 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
10044 namespace for names of struct fields.
10045 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
10046 fenv_t fields.
10047 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
10048 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
10049
d6d98dea
ST
100502012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
10051
10052 [BZ #3665]
10053 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
10054
e10bb107
TS
100552012-11-04 Thomas Schwinge <thomas@codesourcery.com>
10056
10057 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
10058 PTR_DEMANGLE.
10059
10060 [BZ #5246]
10061 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
10062 PTR_DEMANGLE.
10063
a0c2940d
JM
100642012-11-04 Joseph Myers <joseph@codesourcery.com>
10065
10066 [BZ #14797]
10067 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
10068 definitely overflow as x * y not x * y + z.
10069 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10070 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10071 * math/libm-test.inc (fma_test): Add more tests.
10072 (fma_test_towardzero): Likewise.
10073 (fma_test_downward): Likewise.
10074 (fma_test_upward): Likewise.
10075
b830319d
TS
100762012-11-04 Thomas Schwinge <thomas@codesourcery.com>
10077
10078 [BZ #157]
10079
10080 * include/stub-tag.h: Remove file.
10081 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
10082 '#include' of it.
10083 * manual/maint.texi (Porting): Don't reference it.
10084 * Makerules ($(objpfx)stubs): Likewise.
10085 * dirent/closedir.c: Don't include <stub-tag.h>.
10086 * dirent/dirfd.c: Likewise.
10087 * dirent/fdopendir.c: Likewise.
10088 * dirent/getdents.c: Likewise.
10089 * dirent/getdents64.c: Likewise.
10090 * dirent/opendir.c: Likewise.
10091 * dirent/readdir.c: Likewise.
10092 * dirent/readdir64.c: Likewise.
10093 * dirent/readdir64_r.c: Likewise.
10094 * dirent/readdir_r.c: Likewise.
10095 * dirent/rewinddir.c: Likewise.
10096 * dirent/seekdir.c: Likewise.
10097 * dirent/telldir.c: Likewise.
10098 * gmon/profil.c: Likewise.
10099 * grp/setgroups.c: Likewise.
10100 * inet/if_index.c: Likewise.
10101 * io/access.c: Likewise.
10102 * io/chdir.c: Likewise.
10103 * io/chmod.c: Likewise.
10104 * io/chown.c: Likewise.
10105 * io/close.c: Likewise.
10106 * io/dup.c: Likewise.
10107 * io/dup2.c: Likewise.
10108 * io/dup3.c: Likewise.
10109 * io/euidaccess.c: Likewise.
10110 * io/faccessat.c: Likewise.
10111 * io/fchdir.c: Likewise.
10112 * io/fchmod.c: Likewise.
10113 * io/fchmodat.c: Likewise.
10114 * io/fchown.c: Likewise.
10115 * io/fchownat.c: Likewise.
10116 * io/fcntl.c: Likewise.
10117 * io/flock.c: Likewise.
10118 * io/fstatfs.c: Likewise.
10119 * io/fstatfs64.c: Likewise.
10120 * io/fstatvfs.c: Likewise.
10121 * io/fstatvfs64.c: Likewise.
10122 * io/futimens.c: Likewise.
10123 * io/fxstat.c: Likewise.
10124 * io/fxstat64.c: Likewise.
10125 * io/fxstatat.c: Likewise.
10126 * io/fxstatat64.c: Likewise.
10127 * io/getcwd.c: Likewise.
10128 * io/isatty.c: Likewise.
10129 * io/lchmod.c: Likewise.
10130 * io/lchown.c: Likewise.
10131 * io/link.c: Likewise.
10132 * io/linkat.c: Likewise.
10133 * io/lseek.c: Likewise.
10134 * io/lseek64.c: Likewise.
10135 * io/lxstat64.c: Likewise.
10136 * io/mkdir.c: Likewise.
10137 * io/mkdirat.c: Likewise.
10138 * io/mkfifo.c: Likewise.
10139 * io/mkfifoat.c: Likewise.
10140 * io/open.c: Likewise.
10141 * io/open64.c: Likewise.
10142 * io/openat.c: Likewise.
10143 * io/openat64.c: Likewise.
10144 * io/pipe.c: Likewise.
10145 * io/pipe2.c: Likewise.
10146 * io/poll.c: Likewise.
10147 * io/posix_fadvise.c: Likewise.
10148 * io/posix_fadvise64.c: Likewise.
10149 * io/posix_fallocate.c: Likewise.
10150 * io/posix_fallocate64.c: Likewise.
10151 * io/read.c: Likewise.
10152 * io/readlink.c: Likewise.
10153 * io/readlinkat.c: Likewise.
10154 * io/rmdir.c: Likewise.
10155 * io/sendfile.c: Likewise.
10156 * io/sendfile64.c: Likewise.
10157 * io/statfs.c: Likewise.
10158 * io/statfs64.c: Likewise.
10159 * io/statvfs.c: Likewise.
10160 * io/statvfs64.c: Likewise.
10161 * io/symlink.c: Likewise.
10162 * io/symlinkat.c: Likewise.
10163 * io/ttyname.c: Likewise.
10164 * io/ttyname_r.c: Likewise.
10165 * io/umask.c: Likewise.
10166 * io/unlink.c: Likewise.
10167 * io/unlinkat.c: Likewise.
10168 * io/utime.c: Likewise.
10169 * io/utimensat.c: Likewise.
10170 * io/write.c: Likewise.
10171 * io/xmknod.c: Likewise.
10172 * io/xmknodat.c: Likewise.
10173 * io/xstat.c: Likewise.
10174 * io/xstat64.c: Likewise.
10175 * login/getpt.c: Likewise.
10176 * login/grantpt.c: Likewise.
10177 * login/unlockpt.c: Likewise.
10178 * math/e_acoshl.c: Likewise.
10179 * math/e_acosl.c: Likewise.
10180 * math/e_asinl.c: Likewise.
10181 * math/e_atan2l.c: Likewise.
10182 * math/e_atanhl.c: Likewise.
10183 * math/e_coshl.c: Likewise.
10184 * math/e_expl.c: Likewise.
10185 * math/e_fmodl.c: Likewise.
10186 * math/e_gammal_r.c: Likewise.
10187 * math/e_hypotl.c: Likewise.
10188 * math/e_j0l.c: Likewise.
10189 * math/e_j1l.c: Likewise.
10190 * math/e_jnl.c: Likewise.
10191 * math/e_lgammal_r.c: Likewise.
10192 * math/e_log10l.c: Likewise.
10193 * math/e_log2l.c: Likewise.
10194 * math/e_logl.c: Likewise.
10195 * math/e_powl.c: Likewise.
10196 * math/e_rem_pio2l.c: Likewise.
10197 * math/e_sinhl.c: Likewise.
10198 * math/e_sqrtl.c: Likewise.
10199 * math/fclrexcpt.c: Likewise.
10200 * math/fedisblxcpt.c: Likewise.
10201 * math/feenablxcpt.c: Likewise.
10202 * math/fegetenv.c: Likewise.
10203 * math/fegetexcept.c: Likewise.
10204 * math/fegetround.c: Likewise.
10205 * math/feholdexcpt.c: Likewise.
10206 * math/fesetenv.c: Likewise.
10207 * math/fesetround.c: Likewise.
10208 * math/feupdateenv.c: Likewise.
10209 * math/fgetexcptflg.c: Likewise.
10210 * math/fraiseexcpt.c: Likewise.
10211 * math/fsetexcptflg.c: Likewise.
10212 * math/ftestexcept.c: Likewise.
10213 * math/k_cosl.c: Likewise.
10214 * math/k_rem_pio2l.c: Likewise.
10215 * math/k_sinl.c: Likewise.
10216 * math/k_tanl.c: Likewise.
10217 * math/s_asinhl.c: Likewise.
10218 * math/s_atanl.c: Likewise.
10219 * math/s_cbrtl.c: Likewise.
10220 * math/s_erfl.c: Likewise.
10221 * math/s_expm1l.c: Likewise.
10222 * math/s_log1pl.c: Likewise.
10223 * math/s_tanhl.c: Likewise.
10224 * misc/acct.c: Likewise.
10225 * misc/brk.c: Likewise.
10226 * misc/chflags.c: Likewise.
10227 * misc/chroot.c: Likewise.
10228 * misc/fchflags.c: Likewise.
10229 * misc/fgetxattr.c: Likewise.
10230 * misc/flistxattr.c: Likewise.
10231 * misc/fremovexattr.c: Likewise.
10232 * misc/fsetxattr.c: Likewise.
10233 * misc/fsync.c: Likewise.
10234 * misc/ftruncate.c: Likewise.
10235 * misc/futimes.c: Likewise.
10236 * misc/futimesat.c: Likewise.
10237 * misc/getdomain.c: Likewise.
10238 * misc/getdtsz.c: Likewise.
10239 * misc/gethostid.c: Likewise.
10240 * misc/gethostname.c: Likewise.
10241 * misc/getloadavg.c: Likewise.
10242 * misc/getpagesize.c: Likewise.
10243 * misc/getsysstats.c: Likewise.
10244 * misc/getxattr.c: Likewise.
10245 * misc/gtty.c: Likewise.
10246 * misc/ioctl.c: Likewise.
10247 * misc/lgetxattr.c: Likewise.
10248 * misc/listxattr.c: Likewise.
10249 * misc/llistxattr.c: Likewise.
10250 * misc/lremovexattr.c: Likewise.
10251 * misc/lsetxattr.c: Likewise.
10252 * misc/lutimes.c: Likewise.
10253 * misc/madvise.c: Likewise.
10254 * misc/mincore.c: Likewise.
10255 * misc/mlock.c: Likewise.
10256 * misc/mlockall.c: Likewise.
10257 * misc/mmap.c: Likewise.
10258 * misc/mprotect.c: Likewise.
10259 * misc/msync.c: Likewise.
10260 * misc/munlock.c: Likewise.
10261 * misc/munlockall.c: Likewise.
10262 * misc/munmap.c: Likewise.
10263 * misc/preadv.c: Likewise.
10264 * misc/preadv64.c: Likewise.
10265 * misc/ptrace.c: Likewise.
10266 * misc/pwritev.c: Likewise.
10267 * misc/pwritev64.c: Likewise.
10268 * misc/readv.c: Likewise.
10269 * misc/reboot.c: Likewise.
10270 * misc/remap_file_pages.c: Likewise.
10271 * misc/removexattr.c: Likewise.
10272 * misc/revoke.c: Likewise.
10273 * misc/select.c: Likewise.
10274 * misc/setdomain.c: Likewise.
10275 * misc/setegid.c: Likewise.
10276 * misc/seteuid.c: Likewise.
10277 * misc/sethostid.c: Likewise.
10278 * misc/sethostname.c: Likewise.
10279 * misc/setregid.c: Likewise.
10280 * misc/setreuid.c: Likewise.
10281 * misc/setxattr.c: Likewise.
10282 * misc/sstk.c: Likewise.
10283 * misc/stty.c: Likewise.
10284 * misc/swapoff.c: Likewise.
10285 * misc/swapon.c: Likewise.
10286 * misc/sync.c: Likewise.
10287 * misc/syncfs.c: Likewise.
10288 * misc/syscall.c: Likewise.
10289 * misc/truncate.c: Likewise.
10290 * misc/ualarm.c: Likewise.
10291 * misc/usleep.c: Likewise.
10292 * misc/ustat.c: Likewise.
10293 * misc/utimes.c: Likewise.
10294 * misc/vhangup.c: Likewise.
10295 * misc/writev.c: Likewise.
10296 * posix/_exit.c: Likewise.
10297 * posix/alarm.c: Likewise.
10298 * posix/execve.c: Likewise.
10299 * posix/fexecve.c: Likewise.
10300 * posix/fork.c: Likewise.
10301 * posix/fpathconf.c: Likewise.
10302 * posix/getaddrinfo.c: Likewise.
10303 * posix/getegid.c: Likewise.
10304 * posix/geteuid.c: Likewise.
10305 * posix/getgid.c: Likewise.
10306 * posix/getgroups.c: Likewise.
10307 * posix/getlogin.c: Likewise.
10308 * posix/getlogin_r.c: Likewise.
10309 * posix/getpgid.c: Likewise.
10310 * posix/getpid.c: Likewise.
10311 * posix/getppid.c: Likewise.
10312 * posix/getresgid.c: Likewise.
10313 * posix/getresuid.c: Likewise.
10314 * posix/getsid.c: Likewise.
10315 * posix/getuid.c: Likewise.
10316 * posix/glob64.c: Likewise.
10317 * posix/nanosleep.c: Likewise.
10318 * posix/pathconf.c: Likewise.
10319 * posix/pause.c: Likewise.
10320 * posix/posix_madvise.c: Likewise.
10321 * posix/pread.c: Likewise.
10322 * posix/pread64.c: Likewise.
10323 * posix/pwrite.c: Likewise.
10324 * posix/pwrite64.c: Likewise.
10325 * posix/sched_getaffinity.c: Likewise.
10326 * posix/sched_getp.c: Likewise.
10327 * posix/sched_gets.c: Likewise.
10328 * posix/sched_primax.c: Likewise.
10329 * posix/sched_primin.c: Likewise.
10330 * posix/sched_rr_gi.c: Likewise.
10331 * posix/sched_setaffinity.c: Likewise.
10332 * posix/sched_setp.c: Likewise.
10333 * posix/sched_sets.c: Likewise.
10334 * posix/sched_yield.c: Likewise.
10335 * posix/setgid.c: Likewise.
10336 * posix/setlogin.c: Likewise.
10337 * posix/setpgid.c: Likewise.
10338 * posix/setresgid.c: Likewise.
10339 * posix/setresuid.c: Likewise.
10340 * posix/setsid.c: Likewise.
10341 * posix/setuid.c: Likewise.
10342 * posix/sleep.c: Likewise.
10343 * posix/spawni.c: Likewise.
10344 * posix/sysconf.c: Likewise.
10345 * posix/times.c: Likewise.
10346 * posix/wait.c: Likewise.
10347 * posix/wait3.c: Likewise.
10348 * posix/wait4.c: Likewise.
10349 * posix/waitpid.c: Likewise.
10350 * resolv/gai_sigqueue.c: Likewise.
10351 * resource/getpriority.c: Likewise.
10352 * resource/getrlimit.c: Likewise.
10353 * resource/getrusage.c: Likewise.
10354 * resource/nice.c: Likewise.
10355 * resource/setpriority.c: Likewise.
10356 * resource/setrlimit.c: Likewise.
10357 * resource/ulimit.c: Likewise.
10358 * rt/aio_cancel.c: Likewise.
10359 * rt/aio_fsync.c: Likewise.
10360 * rt/aio_read.c: Likewise.
10361 * rt/aio_sigqueue.c: Likewise.
10362 * rt/aio_suspend.c: Likewise.
10363 * rt/aio_write.c: Likewise.
10364 * rt/clock_getres.c: Likewise.
10365 * rt/clock_gettime.c: Likewise.
10366 * rt/clock_nanosleep.c: Likewise.
10367 * rt/clock_settime.c: Likewise.
10368 * rt/lio_listio.c: Likewise.
10369 * rt/mq_close.c: Likewise.
10370 * rt/mq_getattr.c: Likewise.
10371 * rt/mq_notify.c: Likewise.
10372 * rt/mq_open.c: Likewise.
10373 * rt/mq_receive.c: Likewise.
10374 * rt/mq_send.c: Likewise.
10375 * rt/mq_setattr.c: Likewise.
10376 * rt/mq_timedreceive.c: Likewise.
10377 * rt/mq_timedsend.c: Likewise.
10378 * rt/mq_unlink.c: Likewise.
10379 * rt/shm_open.c: Likewise.
10380 * rt/shm_unlink.c: Likewise.
10381 * rt/timer_create.c: Likewise.
10382 * rt/timer_delete.c: Likewise.
10383 * rt/timer_getoverr.c: Likewise.
10384 * rt/timer_gettime.c: Likewise.
10385 * rt/timer_settime.c: Likewise.
10386 * setjmp/__longjmp.c: Likewise.
10387 * setjmp/setjmp.c: Likewise.
10388 * signal/kill.c: Likewise.
10389 * signal/killpg.c: Likewise.
10390 * signal/raise.c: Likewise.
10391 * signal/sigaction.c: Likewise.
10392 * signal/sigaltstack.c: Likewise.
10393 * signal/sigblock.c: Likewise.
10394 * signal/sigignore.c: Likewise.
10395 * signal/sigintr.c: Likewise.
10396 * signal/signal.c: Likewise.
10397 * signal/sigpause.c: Likewise.
10398 * signal/sigpending.c: Likewise.
10399 * signal/sigqueue.c: Likewise.
10400 * signal/sigreturn.c: Likewise.
10401 * signal/sigset.c: Likewise.
10402 * signal/sigsetmask.c: Likewise.
10403 * signal/sigstack.c: Likewise.
10404 * signal/sigsuspend.c: Likewise.
10405 * signal/sigtimedwait.c: Likewise.
10406 * signal/sigvec.c: Likewise.
10407 * signal/sigwait.c: Likewise.
10408 * signal/sigwaitinfo.c: Likewise.
10409 * signal/sysv_signal.c: Likewise.
10410 * socket/accept.c: Likewise.
10411 * socket/accept4.c: Likewise.
10412 * socket/bind.c: Likewise.
10413 * socket/connect.c: Likewise.
10414 * socket/getpeername.c: Likewise.
10415 * socket/getsockname.c: Likewise.
10416 * socket/getsockopt.c: Likewise.
10417 * socket/isfdtype.c: Likewise.
10418 * socket/listen.c: Likewise.
10419 * socket/recv.c: Likewise.
10420 * socket/recvfrom.c: Likewise.
10421 * socket/recvmsg.c: Likewise.
10422 * socket/send.c: Likewise.
10423 * socket/sendmsg.c: Likewise.
10424 * socket/sendto.c: Likewise.
10425 * socket/setsockopt.c: Likewise.
10426 * socket/shutdown.c: Likewise.
10427 * socket/sockatmark.c: Likewise.
10428 * socket/socket.c: Likewise.
10429 * socket/socketpair.c: Likewise.
10430 * stdio-common/ctermid.c: Likewise.
10431 * stdio-common/cuserid.c: Likewise.
10432 * stdio-common/remove.c: Likewise.
10433 * stdio-common/rename.c: Likewise.
10434 * stdio-common/renameat.c: Likewise.
10435 * stdio-common/tempname.c: Likewise.
10436 * stdlib/getcontext.c: Likewise.
10437 * stdlib/makecontext.c: Likewise.
10438 * stdlib/setcontext.c: Likewise.
10439 * stdlib/swapcontext.c: Likewise.
10440 * stdlib/system.c: Likewise.
10441 * streams/fattach.c: Likewise.
10442 * streams/fdetach.c: Likewise.
10443 * streams/getmsg.c: Likewise.
10444 * streams/getpmsg.c: Likewise.
10445 * streams/putmsg.c: Likewise.
10446 * streams/putpmsg.c: Likewise.
10447 * sysdeps/unix/bsd/getpt.c: Likewise.
10448 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
10449 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
10450 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
10451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
10452 Likewise.
10453 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
10454 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
10455 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
10456 * sysvipc/msgctl.c: Likewise.
10457 * sysvipc/msgget.c: Likewise.
10458 * sysvipc/msgrcv.c: Likewise.
10459 * sysvipc/msgsnd.c: Likewise.
10460 * sysvipc/semctl.c: Likewise.
10461 * sysvipc/semget.c: Likewise.
10462 * sysvipc/semop.c: Likewise.
10463 * sysvipc/semtimedop.c: Likewise.
10464 * sysvipc/shmat.c: Likewise.
10465 * sysvipc/shmctl.c: Likewise.
10466 * sysvipc/shmdt.c: Likewise.
10467 * sysvipc/shmget.c: Likewise.
10468 * termios/tcdrain.c: Likewise.
10469 * termios/tcflow.c: Likewise.
10470 * termios/tcflush.c: Likewise.
10471 * termios/tcgetattr.c: Likewise.
10472 * termios/tcgetpgrp.c: Likewise.
10473 * termios/tcsendbrk.c: Likewise.
10474 * termios/tcsetattr.c: Likewise.
10475 * termios/tcsetpgrp.c: Likewise.
10476 * time/adjtime.c: Likewise.
10477 * time/clock.c: Likewise.
10478 * time/getitimer.c: Likewise.
10479 * time/gettimeofday.c: Likewise.
10480 * time/setitimer.c: Likewise.
10481 * time/settimeofday.c: Likewise.
10482 * time/stime.c: Likewise.
10483 * time/time.c: Likewise.
10484
104852012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 10486
a20492cf
PT
10487 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
10488 /usr/old/bin.
10489
72e182e3
PT
10490 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
10491 instead of spaces.
10492 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
10493
fbeafede
JM
104942012-11-03 Joseph Myers <joseph@codesourcery.com>
10495
5b5b04d6
JM
10496 [BZ #14796]
10497 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
10498 FE_TONEAREST before applying Dekker multiplication and Knuth
10499 addition. Clear inexact exceptions and check for exact zero
10500 results afterwards.
10501 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10502 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10503 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10504 * math/libm-test.inc (fma_test): Add more tests.
10505 (fma_test_towardzero): Likewise.
10506 (fma_test_downward): Likewise.
10507 (fma_test_upward): Likewise.
10508 * sysdeps/generic/math_private.h (default_libc_fesetround): New
10509 function.
10510 (libc_fesetround): New macro.
10511 (libc_fesetroundf): Likewise.
10512 (libc_fesetroundl): Likewise.
10513 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
10514 function.
10515 (libc_fesetround_387): Likewise.
10516 (libc_fesetroundf): New macro.
10517 (libc_fesetround): Likewise.
10518 (libc_fesetroundl): Likewise.
10519 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
10520 function.
10521 (libc_fesetroundf): New macro.
10522 (libc_fesetround): Likewise.
10523 (libc_fesetroundl): Likewise.
10524 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
10525 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
10526 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
10527 libm_hidden_ver.
10528 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
10529 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
10530 libm_hidden_def.
10531 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
10532 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
10533 libm_hidden_ver.
10534 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
10535 libm_hidden_def.
10536
fbeafede
JM
10537 [BZ #3439]
10538 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
10539 integer constant usable in #if and use that to give value to enum
10540 constant.
10541 (FE_DIVBYZERO): Likewise.
10542 (FE_UNDERFLOW): Likewise.
10543 (FE_OVERFLOW): Likewise.
10544 (FE_INVALID): Likewise.
10545 (FE_INVALID_SNAN): Likewise.
10546 (FE_INVALID_ISI): Likewise.
10547 (FE_INVALID_IDI): Likewise.
10548 (FE_INVALID_ZDZ): Likewise.
10549 (FE_INVALID_IMZ): Likewise.
10550 (FE_INVALID_COMPARE): Likewise.
10551 (FE_INVALID_SOFTWARE): Likewise.
10552 (FE_INVALID_SQRT): Likewise.
10553 (FE_INVALID_INTEGER_CONVERSION): Likewise.
10554 (FE_TONEAREST): Likewise.
10555 (FE_TOWARDZERO): Likewise.
10556 (FE_UPWARD): Likewise.
10557 (FE_DOWNWARD): Likewise.
10558 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
10559 (FE_DIVBYZERO): Likewise.
10560 (FE_OVERFLOW): Likewise.
10561 (FE_UNDERFLOW): Likewise.
10562 (FE_INEXACT): Likewise.
10563 (FE_TONEAREST): Likewise.
10564 (FE_DOWNWARD): Likewise.
10565 (FE_UPWARD): Likewise.
10566 (FE_TOWARDZERO): Likewise.
10567 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
10568 (FE_UNDERFLOW): Likewise.
10569 (FE_OVERFLOW): Likewise.
10570 (FE_DIVBYZERO): Likewise.
10571 (FE_INVALID): Likewise.
10572 (FE_TONEAREST): Likewise.
10573 (FE_TOWARDZERO): Likewise.
10574 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
10575 (FE_OVERFLOW): Likewise.
10576 (FE_UNDERFLOW): Likewise.
10577 (FE_DIVBYZERO): Likewise.
10578 (FE_INEXACT): Likewise.
10579 (FE_TONEAREST): Likewise.
10580 (FE_TOWARDZERO): Likewise.
10581 (FE_UPWARD): Likewise.
10582 (FE_DOWNWARD): Likewise.
10583 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
10584 (FE_DIVBYZERO): Likewise.
10585 (FE_OVERFLOW): Likewise.
10586 (FE_UNDERFLOW): Likewise.
10587 (FE_INEXACT): Likewise.
10588 (FE_TONEAREST): Likewise.
10589 (FE_DOWNWARD): Likewise.
10590 (FE_UPWARD): Likewise.
10591 (FE_TOWARDZERO): Likewise.
10592
105ca950
CM
105932012-11-02 Chris Metcalf <cmetcalf@tilera.com>
10594
10595 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
10596
a542b389
AS
105972012-11-03 Andreas Schwab <schwab@linux-m68k.org>
10598
10599 * scripts/cross-test-ssh.sh (command): Use newlines to separate
10600 commands. Quote $PWD.
10601 (blacklist_exports): Don't use remove_newlines. Replace "declare
10602 -x" by "export".
10603 (remove_newlines): Remove.
10604
f62c8abc
L
106052012-11-02 H.J. Lu <hongjiu.lu@intel.com>
10606
10607 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
10608 * stdlib/stdlib.h (atof): Moved to ...
10609 * include/bits/stdlib-float.h: Here. New file.
10610 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
10611 * stdlib/bits/stdlib-float.h: New file.
10612 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
10613 -mno-sse -mno-mmx.
10614 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
10615 <xmmintrin.h>.
10616
0155d5b2
JM
106172012-11-02 Joseph Myers <joseph@codesourcery.com>
10618
a68d0680
JM
10619 * conform/conformtest.pl (@headers): Add fenv.h.
10620 * conform/data/fenv.h-data: New file.
10621 * include/fenv.h [_ISOMAC]: Disable all contents of file except
10622 include of <math/fenv.h>.
10623
caf7f573
JM
10624 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
10625 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
10626 && !UNIX98]. Enables tests for XOPEN2K8.
10627 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
10628 POSIX2008]: Likewise.
10629
6c073ad6
JM
10630 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
10631 (struct rusage): Do not expect type or its members.
10632
0155d5b2
JM
10633 [BZ #3439]
10634 * math/math.h (FP_NAN): Define macro to integer constant usable in
10635 #if and use that to give value to enum constant.
10636 (FP_INFINITE): Likewise.
10637 (FP_ZERO): Likewise.
10638 (FP_SUBNORMAL): Likewise.
10639 (FP_NORMAL): Likewise.
10640
b5dcacb4
AS
106412012-11-02 Andreas Schwab <schwab@linux-m68k.org>
10642
10643 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
10644 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
10645 arguments.
10646
f7934be8
RM
106472012-11-02 Roland McGrath <roland@hack.frob.com>
10648
10649 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
10650 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
10651 autoconf-time if not.
10652 * configure.in: Remove AC_PREREQ.
10653
d7d08bde
TMQMF
106542012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10655
10656 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
10657 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
10658 of the internal implementation.
10659
dcdae19a
JM
106602012-11-02 Joseph Myers <joseph@codesourcery.com>
10661
10662 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
10663 except include of <misc/sys/syslog.h>.
10664
d6cffd3e
AS
106652012-11-01 Andreas Schwab <schwab@linux-m68k.org>
10666
10667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
10668 function returns with a NULL context exit with zero.
10669
b3563932
TMQMF
106702012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10671
10672 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
10673
b288a93d
L
106742012-11-01 H.J. Lu <hongjiu.lu@intel.com>
10675
10676 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
10677 (run_program_cmd): This.
10678 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
10679 (tst_langinfo): New variable. Use it.
10680
a2421a68
SAS
106812012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
10682
10683 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
10684 floating point opcodes.
10685
6f796e1b
TS
106862012-11-01 Thomas Schwinge <thomas@codesourcery.com>
10687
7402596b
TS
10688 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
10689 variable.
10690
d0d4f868
TS
10691 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
10692
6f796e1b
TS
10693 * sysdeps/mach/hurd/powerpc: Remove directory.
10694 * sysdeps/mach/powerpc: Likewise.
10695
4da224a2
AS
106962012-11-01 Andreas Schwab <schwab@linux-m68k.org>
10697
10698 * scripts/check-local-headers.sh: Ignore c++ headers.
10699
341dd673
TS
107002012-11-01 Thomas Schwinge <thomas@codesourcery.com>
10701
10702 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
10703 __libc_cleanup_region_start argument.
10704
473611b2
JM
107052012-11-01 Joseph Myers <joseph@codesourcery.com>
10706
10707 [BZ #14784]
10708 [BZ #14785]
10709 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
10710 x * y using scaling, not as x * y + z.
10711 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10712 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10713 * math/libm-test.inc (fma_test): Add more tests.
10714 (fma_test_towardzero): Likewise.
10715 (fma_test_downward): Likewise.
10716 (fma_test_upward): Likewise.
10717
4078da3d
TS
107182012-11-01 Thomas Schwinge <thomas@codesourcery.com>
10719
10720 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
10721
903252aa
JM
107222012-10-31 Joseph Myers <joseph@codesourcery.com>
10723
10724 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
10725 New variable.
10726
cbc818d0
TS
107272012-10-31 Thomas Schwinge <thomas@codesourcery.com>
10728
10729 * rt/tst-shm.c (worker): Correct checking for mmap failure.
10730
5a03cb1e
AS
107312012-10-31 Andreas Schwab <schwab@linux-m68k.org>
10732
10733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10734 Fix sort order.
10735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10736 Likewise.
10737
90aff2ff
TMQMF
107382012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10739
10740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10741 Fix the order of the list for glibc 2.17.
10742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10743 Likewise.
10744
1818fcb7
AS
107452012-10-31 Andreas Schwab <schwab@linux-m68k.org>
10746
10747 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10748
ef82f4da
JM
107492012-10-31 Joseph Myers <joseph@codesourcery.com>
10750
16a0e2ec
JM
10751 [BZ #14610]
10752 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
10753 for low part of x being zero before using __atanl (y).
10754 * math/libm-test.inc (atan2_test): Add another test.
10755
0eb69512
JM
10756 * manual/install.texi (Configuring and compiling): Document
10757 general use of test-wrapper and test-wrapper-env.
10758 * INSTALL: Regenerated.
10759
ef82f4da
JM
10760 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
10761 (__fma): Do not extract and scale down low bits on after-rounding
10762 systems when result rounded to normal precision would have normal
10763 exponent.
10764 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
10765 (__fmal): Do not extract and scale down low bits on after-rounding
10766 systems when result rounded to normal precision would have normal
10767 exponent.
10768 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
10769 (__fmal): Do not extract and scale down low bits on after-rounding
10770 systems when result rounded to normal precision would have normal
10771 exponent.
10772 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
10773 macro.
10774 (fma_test): Add more tests.
10775 (fma_test_towardzero): Likewise.
10776 (fma_test_downward): Likewise.
10777 (fma_test_upward): Likewise.
10778
954ef0d9
L
107792012-10-30 H.J. Lu <hongjiu.lu@intel.com>
10780
10781 * sysdeps/i386/tininess.h: Renamed to ...
10782 * sysdeps/x86/tininess.h: This.
10783 * sysdeps/x86_64/tininess.h: Removed.
10784
df61ffb2
JM
107852012-10-30 Joseph Myers <joseph@codesourcery.com>
10786
10787 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
10788 input. Use $(build-program-cmd).
10789 ($(objpfx)tst-array1-static.out): Likewise.
10790 ($(objpfx)tst-array2.out): Likewise.
10791 ($(objpfx)tst-array3.out): Likewise.
10792 ($(objpfx)tst-array4.out): Likewise.
10793 ($(objpfx)tst-array5.out): Likewise.
10794 ($(objpfx)tst-array5-static.out): Likewise.
10795
01767843
CM
107962012-10-30 Chris Metcalf <cmetcalf@tilera.com>
10797
47cc1490
CM
10798 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
10799 if defined.
10800
01767843
CM
10801 * nss/nsswitch.h (nss_interface_function): Provide new
10802 macro for use with NSS functions.
10803 * grp/initgroups.c: Use new macro.
10804 * nss/getXXbyYY.c: Likewise.
10805 * nss/getXXbyYY_r.c: Likewise.
10806 * nss/getXXent.c: Likewise.
10807 * nss/getXXent_r.c: Likewise.
10808 * sysdeps/posix/getaddrinfo.c: Likewise.
10809
8321aa97
AJ
108102012-10-30 Andreas Jaeger <aj@suse.de>
10811
10812 * po/ru.po: Update Russion translation from translation project.
10813
2a27fd6d
JM
108142012-10-30 Joseph Myers <joseph@codesourcery.com>
10815
8627a232
JM
10816 [BZ #14152]
10817 [BZ #14783]
10818 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
10819 result and shift together with sticky bit instead of replicating
10820 round-to-nearest rounding.
10821 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10822 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10823 * math/libm-test.inc (fma_test): Add more tests. Do not permit
10824 missing underflow exceptions.
10825 (fma_test_towardzero): Add more tests.
10826 (fma_test_downward): Likewise.
10827 (fma_test_upward): Likewise.
10828
2a27fd6d
JM
10829 [BZ #14047]
10830 * sysdeps/generic/tininess.h: New file.
10831 * sysdeps/i386/tininess.h: Likewise.
10832 * sysdeps/sh/tininess.h: Likewise.
10833 * sysdeps/x86_64/tininess.h: Likewise.
10834 * stdlib/tst-strtod-underflow.c: Likewise.
10835 * stdlib/tst-tininess.c: Likewise.
10836 * stdlib/strtod_l.c: Include <tininess.h>.
10837 (round_and_return): Do not set errno for exact underflow cases.
10838 Force an underflow exception when setting errno for underflow.
10839 Determine underflow based on rounding to normal precision if
10840 TININESS_AFTER_ROUNDING.
10841 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
10842 ERANGE for exact underflow cases.
10843 * stdlib/Makefile (tests): Add tst-tininess and
10844 tst-strtod-underflow.
10845 ($(objpfx)tst-tininess): Use $(link-libm).
10846 ($(objpfx)tst-strtod-underflow): Likewise.
10847
e7170363
AJ
108482012-10-30 Andreas Jaeger <aj@suse.de>
10849
e5088dc6
AJ
10850 [BZ#14767]
10851 * elf/Makefile (tests): Remove conditional for have-initfini-array
10852 since this is now always required and the variable does not exist
10853 anymore.
10854 (tests-static): Likewise.
10855 (modules-names): Likewise.
10856
e7170363 10857 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
10858
10859 * elf/tst-array1.c (fini_array): Make writeable so that it can be
10860 merged with constructor/destructor.
10861 (init_array): Likewise.
10862 * elf/tst-array2dep.c (fini_array): Likewise.
10863 (init_array): Likewise.
10864
60457d8a
MF
108652012-10-29 Mike Frysinger <vapier@gentoo.org>
10866
10867 * manual/message.texi: Delete @cartouche tags.
10868
8bece752
PT
108692012-10-29 Pino Toscano <toscano.pino@tiscali.it>
10870
94ce799f
PT
10871 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
10872 EOPNOTSUPP.
10873 * sysdeps/mach/hurd/fsync.c: Likewise.
10874
8bece752
PT
10875 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
10876 [_POSIX_REALTIME_SIGNALS]: Change condition to
10877 [_POSIX_REALTIME_SIGNALS > 0].
10878
86ebe6b1
AJ
108792012-10-27 Andreas Jaeger <aj@suse.de>
10880
10881 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
10882 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
10883 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
10884 [__WORDSIZE != 64]: Likewise.
10885
54399c08
L
108862012-10-26 H.J. Lu <hongjiu.lu@intel.com>
10887
10888 * iconvdata/tst-table.sh: Remove ${SHELL}.
10889 * iconvdata/tst-tables.sh: Likewise.
10890
e2211bed
DM
108912012-10-25 David S. Miller <davem@davemloft.net>
10892
10893 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10894 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
10895 of strtoull.
10896
f303f97c
DM
10897 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
10898 ifunc-impl-list.c
10899 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10900 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
10901 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
10902 file.
10903
1e9d84cd
RM
109042012-10-25 Roland McGrath <roland@hack.frob.com>
10905
10906 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10907 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
10908 __getdirentries.
10909
df381762
JM
109102012-10-25 Joseph Myers <joseph@codesourcery.com>
10911 Jim Blandy <jimb@codesourcery.com>
10912
10913 * scripts/cross-test-ssh.sh: New file.
10914 * manual/install.texi (Configuring and compiling): Document use of
10915 cross-test-ssh.sh.
10916 * INSTALL: Regenerated.
10917
bff64913
PT
109182012-10-25 Pino Toscano <toscano.pino@tiscali.it>
10919
10920 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
10921 EOPNOTSUPP.
10922
25fe8932
JM
109232012-10-25 Joseph Myers <joseph@codesourcery.com>
10924
10925 * Makeconfig (run-program-prefix): Fix comment.
10926
cc1290d0
JM
109272012-10-24 Joseph Myers <joseph@codesourcery.com>
10928 Jim Blandy <jimb@codesourcery.com>
10929
10930 * Makeconfig (test-wrapper): New variable,
10931 (test-wrapper-env): Likewise.
10932 [$(cross-compiling) = yes && $(test-wrapper) != ""]
10933 (run-built-tests): Define to yes.
10934 (run-program-prefix): Use $(test-wrapper).
10935 (built-program-cmd): Likewise.
10936 * Rules (make-test-out): Use $(test-wrapper-env) and
10937 $(host-built-program-cmd).
10938 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
10939 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
10940 tst-pathopt.sh.
10941 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
10942 $(test-wrapper-env) to tst-rtld-load-self.sh.
10943 ($(objpfx)order2.out): Use $(test-wrapper).
10944 ($(objpfx)tst-initorder.out): Likewise.
10945 ($(objpfx)tst-initorder2.out): Likewise.
10946 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
10947 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
10948 (test_wrapper_env): New variable. Use it to run ld.so.
10949 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
10950 Use it to run ld.so.
10951 (test_wrapper_env): Likewise.
10952 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
10953 $(test-wrapper) to run-iconv-test.sh.
10954 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
10955 (ICONV): Use $test_wrapper.
10956 * posix/Makefile ($(objpfx)globtest.out): Pass
10957 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
10958 globtest.sh, not $(run-program-prefix).
10959 * posix/globtest.sh (run_via_rtld_prefix): New variable.
10960 (test_wrapper): Likewise.
10961 (test_wrapper_env): Likewise. Use it to run globtest with HOME
10962 set together with run_via_rtld_prefix.
10963 (run_program_prefix): Define in terms of test_wrapper and
10964 run_via_rtld_prefix.
10965
6e6249d0
RM
109662012-10-24 Roland McGrath <roland@hack.frob.com>
10967
10968 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
10969 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
10970 Targets removed.
10971
10972 [BZ #14743]
10973 * include/time.h: Remove librt_hidden_proto (clock_gettime).
10974 Declare __clock_getres, __clock_gettime, __clock_settime,
10975 __clock_nanosleep, and __clock_getcpuclockid.
10976 * rt/clock_gettime.c: Define __clock_gettime as an alias.
10977 Remove librt_hidden_def (clock_gettime).
10978 * sysdeps/unix/clock_gettime.c: Likewise.
10979 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
10980 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
10981 * rt/clock_getres.c: Define __clock_getres as an alias.
10982 * sysdeps/posix/clock_getres.c: Likewise.
10983 * rt/clock_settime.c: Define __clock_settime as an alias.
10984 * sysdeps/unix/clock_settime.c: Likewise.
10985 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
10986 * sysdeps/unix/clock_nanosleep.c: Likewise.
10987 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
10988 * rt/clock-compat.c: New file.
10989 * rt/Makefile (librt-routines): Add clock-compat and move
10990 $(clock-routines) to ...
10991 (routines): ... here, new variable.
10992 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
10993 Don't add get_clockfreq here.
10994 * rt/Versions (libc: GLIBC_2.17): New version set.
10995 Add clock_* symbols here.
10996 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
10997 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
10998 (GLIBC_2.17): Add clock_* symbols.
10999 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
11000 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
11001 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11003 Likewise.
11004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11005 Likewise.
11006 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11007 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
11008 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
11009 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
11010 * NEWS: Mention the move.
11011
11012 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
11013 Use __open, __read, __close rather than their public counterparts.
11014 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11015 (__get_clockfreq_via_cpuinfo): Likewise.
11016 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
11017 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
11018
11019 * config.h.in (HAVE_IFUNC): New #undef.
11020 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
11021 was successful.
11022 * configure: Regenerated.
11023
0cae3f4b
MF
110242012-10-24 Mike Frysinger <vapier@gentoo.org>
11025
11026 * configure.in: Move READELF check to start of file.
11027 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
11028 libc_cv_asm_gnu_indirect_function in the process.
11029 * configure: Regenerated.
11030
8175a253
MF
110312012-10-24 Mike Frysinger <vapier@gentoo.org>
11032
11033 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
11034 send the output to /dev/null.
11035 (libc_cv_cc_with_libunwind): Likewise.
11036 (libc_cv_as_noexecstack): Likewise.
11037 * configure: Regenerate.
11038
0708a7d1
JM
110392012-10-24 Joseph Myers <joseph@codesourcery.com>
11040
10b40d85
JM
11041 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
11042
0708a7d1
JM
11043 * posix/globtest.sh (TMPDIR): Do not set.
11044 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
11045 (testout): Likewise.
11046
9fddec1a
AJ
110472012-10-24 Andreas Jaeger <aj@suse.de>
11048
3a8db22f
AJ
11049 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
11050 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
11051 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
11052 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
11053 posix_fadvise64, posix_fallocate64.
11054
9fddec1a
AJ
11055 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
11056 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
11057 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
11058 Likewise.
11059 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
11060 Likewise.
11061 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
11062
11063 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
11064 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
11065 <bits/fcntl-linux.h>.
11066 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
11067
11068 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
11069 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
11070 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
11071 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
11072 [__WORDSIZE != 64]: Likewise.
11073
ebfd1bbd
JM
110742012-10-23 Joseph Myers <joseph@codesourcery.com>
11075
03ac099f
JM
11076 * Makeconfig (run-built-tests): New variable.
11077 * Rules [$(cross-compiling) = yes]: Change condition to
11078 [$(run-built-tests) = no].
11079 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
11080 to [$(run-built-tests) = yes].
11081 * elf/Makefile [$(cross-compiling) = no]: Likewise
11082 * grp/Makefile [$(cross-compiling) = no]: Likewise.
11083 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
11084 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
11085 * intl/Makefile [$(cross-compiling) = no]: Likewise.
11086 * io/Makefile [$(cross-compiling) = no]: Likewise.
11087 * libio/Makefile [$(cross-compiling) = no]: Likewise.
11088 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
11089 * misc/Makefile [$(cross-compiling) = no]: Likewise.
11090 * posix/Makefile [$(cross-compiling) = no]: Likewise.
11091 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
11092 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
11093 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
11094 * string/Makefile [$(cross-compiling) = no]: Likewise.
11095
ebfd1bbd
JM
11096 * posix/Makefile ($(objpfx)globtest.out): Pass
11097 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
11098 $(rtld-installed-name).
11099 * posix/globtest.sh (elf_objpfx): Remove variable.
11100 (rtld_installed_name): Likewise.
11101 (library_path): Likewise.
11102 (run_program_prefix): New variable. Use for running globtest
11103 binary.
11104
166bca24
JB
111052012-10-23 Jim Blandy <jimb@codesourcery.com>
11106 Joseph Myers <joseph@codesourcery.com>
11107
11108 * Makeconfig (host-built-program-cmd): New variable.
11109 * elf/Makefile (tst-stackguard1-ARGS): Use
11110 $(host-built-program-cmd).
11111 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
11112 (tst-spawn-ARGS): Likewise.
11113 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
11114
88866099
JM
111152012-10-23 Joseph Myers <joseph@codesourcery.com>
11116 Jim Blandy <jimb@codesourcery.com>
11117
11118 * Makeconfig (run-via-rtld-prefix): New variable.
11119 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
11120 (built-program-cmd): Likewise.
11121
b4b4c296
AJ
111222012-10-22 Andreas Jaeger <aj@suse.de>
11123
11124 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
11125 __O_RSYNC if it exists, otherwise to O_SYNC.
11126
6fb54a22
JB
111272012-10-22 Jim Blandy <jimb@codesourcery.com>
11128 Joseph Myers <joseph@codesourcery.com>
11129
11130 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
11131 /dev/null.
11132 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
11133 from /dev/null
11134 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
11135 /dev/null.
11136
481b90b9
AJ
111372012-10-22 Andreas Jaeger <aj@suse.de>
11138
2a0e2669
AJ
11139 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
11140 Define always.
11141 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
11142
76e38f9a
AJ
11143 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11144 bits/fcntl-linux.h.
11145
7cd37b43
AJ
11146 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
11147 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
11148
481b90b9
AJ
11149 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
11150 to __O_LARGEFILE.
11151 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
11152 to __O_LARGEFILE.
11153
aba75984
JB
111542012-10-21 Jim Blandy <jimb@codesourcery.com>
11155 Joseph Myers <joseph@codesourcery.com>
11156
11157 * config.make.in (NM): New variable.
11158
88d4247f
AJ
111592012-10-21 Andreas Jaeger <aj@suse.de>
11160
11161 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
11162 definitions and declarations that are provided by
11163 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
11164
f2eed205
L
111652012-10-20 H.J. Lu <hongjiu.lu@intel.com>
11166
11167 [BZ #14683]
11168 * elf/Makefile (tests-static): Add tst-leaks1-static.
11169 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
11170 ($(objpfx)tst-leaks1-static): New rule.
11171 ($(objpfx)tst-leaks1-static-mem): Likewise.
11172 (tst-leaks1-static-ENV): New macro.
11173 * elf/dl-open.c (dl_open_worker): Check the main application
11174 only if SHARED is defined.
11175 * elf/tst-leaks1-static.c: New file.
11176
335e6931
AJ
111772012-10-20 Andreas Jaeger <aj@suse.de>
11178
11179 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
11180 generic values for Linux.
11181 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
11182 and declarations that are provided by <bits/fcntl-linux.h> and
11183 include <bits/fcntl-linux.h>.
11184 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11185 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11186
ac5c94d3
RM
111872012-10-20 Roland McGrath <roland@hack.frob.com>
11188
11189 * io/fcntl.h: Move include of <bits/types.h> to the top and
11190 include it unconditionally.
11191
de54b33a
L
111922012-10-20 H.J. Lu <hongjiu.lu@intel.com>
11193
228cfb01
L
11194 * wcsmbs/Makefile (tests-ifunc): New variable.
11195 (tests): Add $(tests-ifunc).
11196 * wcsmbs/test-wcschr-ifunc.c: New file.
11197 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
11198 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
11199 * wcsmbs/test-wcslen-ifunc.c: Likewise.
11200 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
11201 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
11202
69f07e5f
L
11203 * string/Makefile (tests-ifunc): New variable.
11204 (tests): Add $(tests-ifunc).
11205 * string/test-memccpy.c (TEST_NAME): New macro.
11206 * string/test-memchr.c (TEST_NAME): Likewise.
11207 * string/test-memcmp.c (TEST_NAME): Likewise.
11208 * string/test-memcpy.c (TEST_NAME): Likewise.
11209 * string/test-memmem.c (TEST_NAME): Likewise.
11210 * string/test-memmove.c (TEST_NAME): Likewise.
11211 * string/test-memset.c (TEST_NAME): Likewise.
11212 * string/test-rawmemchr.c (TEST_NAME): Likewise.
11213 * string/test-stpcpy.c (TEST_NAME): Likewise.
11214 * string/test-stpncpy.c (TEST_NAME): Likewise.
11215 * string/test-strcasecmp.c (TEST_NAME): Likewise.
11216 * string/test-strcasestr.c (TEST_NAME): Likewise.
11217 * string/test-strcat.c (TEST_NAME): Likewise.
11218 * string/test-strchr.c (TEST_NAME): Likewise.
11219 * string/test-strcmp.c(TEST_NAME): Likewise.
11220 * string/test-strcpy.c (TEST_NAME): Likewise.
11221 * string/test-strcspn.c (TEST_NAME): Likewise.
11222 * string/test-strlen.c (TEST_NAME): Likewise.
11223 * string/test-strncasecmp.c (TEST_NAME): Likewise.
11224 * string/test-strncmp.c (TEST_NAME): Likewise.
11225 * string/test-strncpy.c (TEST_NAME): Likewise.
11226 * string/test-strnlen.c (TEST_NAME): Likewise.
11227 * string/test-strpbrk.c (TEST_NAME): Likewise.
11228 * string/test-strrchr.c (TEST_NAME): Likewise.
11229 * string/test-strspn.c (TEST_NAME): Likewise.
11230 * string/test-strstr.c (TEST_NAME): Likewise.
11231 * string/test-bcopy-ifunc.c: New file.
11232 * string/test-bzero-ifunc.c: Likewise.
11233 * string/test-memccpy-ifunc.c: Likewise.
11234 * string/test-memchr-ifunc.c: Likewise.
11235 * string/test-memcmp-ifunc.c: Likewise.
11236 * string/test-memcpy-ifunc.c: Likewise.
11237 * string/test-memmem-ifunc.c: Likewise.
11238 * string/test-memmove-ifunc.c: Likewise.
11239 * string/test-mempcpy-ifunc.c: Likewise.
11240 * string/test-memset-ifunc.c: Likewise.
11241 * string/test-rawmemchr-ifunc.c: Likewise.
11242 * string/test-stpcpy-ifunc.c: Likewise.
11243 * string/test-stpncpy-ifunc.c: Likewise.
11244 * string/test-strcasecmp-ifunc.c: Likewise.
11245 * string/test-strcasestr-ifunc.c: Likewise.
11246 * string/test-strcat-ifunc.c: Likewise.
11247 * string/test-strchr-ifunc.c: Likewise.
11248 * string/test-strchrnul-ifunc.c: Likewise.
11249 * string/test-strcmp-ifunc.c: Likewise.
11250 * string/test-strcpy-ifunc.c: Likewise.
11251 * string/test-strcspn-ifunc.c: Likewise.
11252 * string/test-strlen-ifunc.c: Likewise.
11253 * string/test-strncasecmp-ifunc.c: Likewise.
11254 * string/test-strncat-ifunc.c: Likewise.
11255 * string/test-strncmp-ifunc.c: Likewise.
11256 * string/test-strncpy-ifunc.c: Likewise.
11257 * string/test-strnlen-ifunc.c: Likewise.
11258 * string/test-strpbrk-ifunc.c: Likewise.
11259 * string/test-strrchr-ifunc.c: Likewise.
11260 * string/test-strspn-ifunc.c: Likewise.
11261 * string/test-strstr-ifunc.c: Likewise.
11262
de54b33a
L
11263 * debug/Makefile (tests-ifunc): New variable.
11264 (tests): Add $(tests-ifunc).
11265 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
11266 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
11267 * debug/test-stpcpy_chk-ifunc.c: New file.
11268 * debug/test-strcpy_chk-ifunc.c: Likewise.
11269
88481c16
SP
112702012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11271
11272 [BZ #13601]
11273 * elf/dl-load.c (open_verify): Retry read if the entire ELF
11274 header is not read in.
11275
135948bd
JM
112762012-10-19 Joseph Myers <joseph@codesourcery.com>
11277
89f1c388
JM
11278 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
11279 script to $(SHELL) as $<. Pass $(common-objpfx) to script
11280 directly. Pass built executable to script as
11281 $(built-program-cmd).
11282 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
11283 $testprogram without using LD_LIBRARY_PATH and $ldso.
11284
e40a0d21
JM
11285 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
11286 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
11287 $(rtld-installed-name).
11288 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
11289 (rtld_installed_name): Likewise.
11290 (library_path): Likewise.
11291 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
11292 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
11293 $(run-program-prefix) to tst-tables.sh.
11294 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
11295 it to run tst-table-from and tst-table-to.
11296 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
11297 Pass it to tst-table.sh.
11298 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
11299 $(run-program-prefix) to tst-gettext.sh.
11300 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
11301 tst-translit.sh.
11302 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
11303 tst-gettext2.sh.
11304 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
11305 to run tst-gettext.
11306 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
11307 to run tst-gettext2.
11308 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
11309 to run tst-translit.
11310 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
11311 $(run-program-prefix) to tst-mtrace.sh.
11312 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
11313 to run tst-mtrace.
11314 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
11315 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
11316 $(rtld-installed-name).
11317 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
11318 (rtld_installed_name): Likewise.
11319 (run_program_prefix): New variable. Use it to run wordexp-test.
11320
728e272a
JM
11321 * Makeconfig (ARCH): Remove all definitions.
11322 (machine): Likewise.
11323 [ARCH]: Remove conditional code.
11324 [!objdir]: Give error.
11325 [!objdir] (objpfx): Remove.
11326 [!objdir] (common-objpfx): Likewise.
11327 [!objdir] (common-objdir): Likewise.
11328 * configure.in (config_makefile): Remove. Hardcode Makefile in
11329 AC_CONFIG_FILES call.
11330 * configure: Regenerated.
11331
d528cdcf
JM
11332 [BZ #13888]
11333 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
11334 or TMPDIR.
11335 (testout): Likewise.
11336
135948bd
JM
11337 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
11338 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
11339 $(rtld-installed-name).
11340 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
11341 (rtld_installed_name): Likwise.
11342 (runit): Remove function.
11343 (run_getconf): New variable, Use it for running getconf binary.
11344
38c78296
L
113452012-10-18 H.J. Lu <hongjiu.lu@intel.com>
11346
11347 [BZ #14716]
11348 * string/test-memmem.c (check_result): New function.
11349 (do_one_test): Use it.
11350 (check1): New function.
11351 (test_main): Use it.
11352
d077f65f
MT
113532012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
11354
11355 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
11356
ced52c71
JM
113572012-10-18 Joseph Myers <joseph@codesourcery.com>
11358
11359 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
11360 (_G_LSEEK64): Likewise.
11361 (_G_MMAP64): Likewise.
11362 (_G_FSTAT64): Likewise.
11363 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
11364 (_G_LSEEK64): Likewise.
11365 (_G_MMAP64): Likewise.
11366 (_G_FSTAT64): Likewise.
11367 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
11368 unconditional. Call __mmap64 directly.
11369 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
11370 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
11371 __lseek64 directly.
11372 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
11373 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
11374 __mmap64 directly.
11375 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
11376 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
11377 __lseek64 directly.
11378 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
11379 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
11380 __lseek64 directly.
11381 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
11382 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
11383 __lseek64 directly.
11384 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
11385 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
11386 __fxstat64 directly.
11387 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
11388 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
11389 unconditional.
11390 (freopen64) [!_G_OPEN64]: Remove conditional code.
11391 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
11392 unconditional.
11393 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
11394 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
11395 unconditional.
11396 (ftello64) [!_G_LSEEK64]: Remove conditional code.
11397 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
11398 unconditional.
11399 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
11400 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
11401 unconditional.
11402 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
11403 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
11404 unconditional.
11405 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
11406 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
11407 unconditional.
11408 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
11409 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
11410 unconditional.
11411 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
11412
b741de23
SP
114132012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11414
11415 [BZ #12140]
11416 * manual/memory.texi (Malloc Tunable Parameters): Add note
11417 about free list pointers overwriting some perturb bytes.
11418 Wording suggested by Roland McGrath.
11419
f9b9d9c9
JM
114202012-10-17 Joseph Myers <joseph@codesourcery.com>
11421
11422 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
11423 (lgamma_test): Likewise.
11424 (tgamma_test): Likewise.
11425
172a631a
FW
114262012-10-16 Florian Weimer <fweimer@redhat.com>
11427
11428 [BZ #14700]
11429 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
11430 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
11431
e9f37252
MK
114322012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
11433
11434 * NEWS: Mention BZ #14716.
11435 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
11436 when removing AVAILABLE1_USES_J macro.
11437
d394eb74
L
114382012-10-12 H.J. Lu <hongjiu.lu@intel.com>
11439
11440 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
11441 (__bswap_64): __uint64_t for unsigned 64-bit int.
11442
ca38dc17
AS
114432012-10-12 Andreas Schwab <schwab@linux-m68k.org>
11444
11445 * include/string.h (memmem): Declare libc hidden alias.
11446 * string/memmem.c (memmem): Define libc hidden alias.
11447 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
11448 __read, __close instead of open, read, close.
11449
9a387d1f
L
114502012-10-11 H.J. Lu <hongjiu.lu@intel.com>
11451
ac49ecaf
L
11452 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
11453 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
11454 global and hidden.
11455 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
11456 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
11457 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
11458 Likewise.
11459 (__rawmemchr_sse2): Likewise.
11460 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
11461 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
11462 (__strchr_sse2): Likewise.
11463 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
11464 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
11465 (__strcasecmp_sse2): Likewise.
11466 (__strncasecmp_sse2): Likewise.
11467 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
11468 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
11469 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
11470 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
11471 (__strrchr_sse2): Likewise.
11472 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
11473 ifunc-impl-list.c.
11474 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
11475 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
11476 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
11477 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11478 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
11479 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
11480 * sysdeps/x86_64/multiarch/memset.S: Likewise.
11481 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11482 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
11483 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
11484 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
11485 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
11486 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
11487 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
11488 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
11489 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11490 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
11491 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
11492 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
11493 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
11494 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
11495 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
11496 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
11497 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
11498 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
11499 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11500 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
11501 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
11502 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
11503 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
11504
b090e8ea
L
11505 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
11506 global and hidden.
11507 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
11508 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
11509 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
11510 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
11511 Likewise.
11512 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
11513 Likewise.
11514 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
11515 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
11516 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
11517 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
11518 ifunc-impl-list.c.
11519 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11520 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11521 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11522 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11523 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11524 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11525 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11526 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11527 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11528 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11529 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11530 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11531 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11532 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
11533 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
11534 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11535 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
11536 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
11537 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11538 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11539 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11540 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11541 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11542 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11543 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11544 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
11545 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
11546 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
11547 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
11548 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
11549 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
11550 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
11551 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
11552 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
11553 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
11554 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
11555 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
11556 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
11557 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
11558 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
11559 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
11560
11dd4af6
L
11561 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
11562 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
11563 * include/ifunc-impl-list.h: New file.
11564 * misc/ifunc-impl-list.c: Likewise.
11565 * misc/Makefile (routines): Add ifunc-impl-list.
11566 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
11567 * string/test-string.h: Include <ifunc-impl-list.h>.
11568 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
11569 impl_array): New variables.
11570 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
11571 are defined.
11572 (test_init): Call __libc_ifunc_impl_list to initialize
11573 func_list if TEST_IFUNC and TEST_NAME are defined.
11574
9a387d1f
L
11575 * string/Makefile (strop-tests): Add bcopy and bzero.
11576 * string/test-bcopy.c: New file.
11577 * string/test-bzero.c: Likewise.
11578 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
11579 defined.
11580 * string/test-memset.c: Support bzero test if TEST_BZERO is
11581 defined.
11582 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
11583 __libc_memmove.
11584 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
11585 __libc_memset.
11586 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
11587 of memset.
11588
472371b9
JM
115892012-10-10 Joseph Myers <joseph@codesourcery.com>
11590
1e4a9536
JM
11591 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
11592 * configure: Regenerated.
11593
d173d12e
JM
11594 * Makeconfig (+link-static-before-libc): Don't include
11595 $(link-static-libc).
11596
472371b9
JM
11597 * libio/libio.h (_IO_pos_t): Remove.
11598
89a3ad0b
AO
115992012-10-10 Alexandre Oliva <aoliva@redhat.com>
11600
11601 * NEWS: Add note about FIPS mode. Wording suggested by Roland
11602 McGrath.
11603
e7451425
AO
116042012-10-10 Alexandre Oliva <aoliva@redhat.com>
11605
11606 * crypt/crypt-entry.c: Include fips-private.h.
11607 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
11608 * crypt/md5c-test.c (main): Tolerate disabled MD5.
11609 * sysdeps/unix/sysv/linux/fips-private.h: New file.
11610 * sysdeps/generic/fips-private.h: New file, dummy fallback.
11611
4ba74a35
AO
116122012-10-10 Alexandre Oliva <aoliva@redhat.com>
11613
11614 * crypt/crypt-private.h: Include stdbool.h.
11615 (_ufc_setup_salt_r): Return bool.
11616 * crypt/crypt-entry.c: Include errno.h.
11617 (__crypt_r): Return NULL with EINVAL for bad salt.
11618 * crypt/crypt_util.c (bad_for_salt): New.
11619 (_ufc_setup_salt_r): Check that salt is long enough and within
11620 the specified alphabet.
11621 * crypt/badsalttest.c: New file.
11622 * crypt/Makefile (tests): Add it.
11623 ($(objpfx)badsalttest): New.
11624
f96f1242
MK
116252012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
11626
11627 * NEWS: Add entry for BZ #14602.
11628
0e8e0c1c
JM
116292012-10-09 Joseph Myers <joseph@codesourcery.com>
11630
11631 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
11632 type-generic.
11633 * math/libm-test.inc: Update comment listing what functions and
11634 macros are tested.
11635 (isgreater_test): New function.
11636 (isgreaterequal_test): Likewise.
11637 (isless_test): Likewise.
11638 (islessequal_test): Likewise.
11639 (islessgreater_test): Likewise.
11640 (isunordered_test): Likewise.
11641 (main): Call the new functions.
11642
273edc5e
RM
116432012-10-09 Roland McGrath <roland@hack.frob.com>
11644
b8493de0
RM
11645 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
11646 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
11647 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
11648 * sysdeps/i386/configure: Regenerated.
11649 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
11650 * sysdeps/mach/configure: Regenerated.
11651 * sysdeps/mach/hurd/configure: Regenerated.
11652 * sysdeps/powerpc/configure: Regenerated.
11653 * sysdeps/powerpc/powerpc32/configure: Regenerated.
11654 * sysdeps/powerpc/powerpc64/configure: Regenerated.
11655 * sysdeps/s390/s390-32/configure: Regenerated.
11656 * sysdeps/s390/s390-64/configure: Regenerated.
11657 * sysdeps/sh/configure: Regenerated.
11658 * sysdeps/sparc/configure: Regenerated.
11659 * sysdeps/unix/sysv/linux/configure: Regenerated.
11660 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
11661 * sysdeps/x86_64/configure: Regenerated.
11662
273edc5e
RM
11663 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
11664 defined. Don't check if MAP is NULL.
11665
c8450f70
JM
116662012-10-09 Joseph Myers <joseph@codesourcery.com>
11667
11668 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
11669 (_G_stat64): Likewise.
11670 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
11671 (_G_stat64): Likewise.
11672 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
11673 instead of struct _G_stat64.
11674 * libio/fileops.c (mmap_remap_check): Likewise.
11675 (decide_maybe_mmap): Likewise.
11676 (_IO_new_file_seekoff): Likewise.
11677 (_IO_file_stat): Likewise.
11678 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
11679 _G_off64_t.
11680 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
11681 instead of struct _G_stat64.
11682 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
11683
57e605ba
MK
116842012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
11685
11686 [BZ #14602]
11687 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
11688 Replace with ...
11689 (CHECK_EOL): New macro.
11690 (two_way_short_needle): Check beginning of haystack for EOL. Use
11691 CHECK_EOL.
11692 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
11693 Replace with CHECK_EOL.
11694 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
11695 Replace with CHECK_EOL.
11696
ef1bb361
JM
116972012-10-08 Joseph Myers <joseph@codesourcery.com>
11698
11699 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
11700 type-generic.
11701 * math/libm-test.inc: Update comment listing what functions and
11702 macros are tested.
11703 (finite_test): New function.
11704 (isinf_test): Likewise.
11705 (isnan_test): Likewise.
11706 (fpclassify_test): Test subnormal input.
11707 (isfinite_test): Likewise.
11708 (isnormal_test): Likewise.
11709 (main): Call the new functions.
11710
55f11534
JN
117112012-10-08 Jonathan Nieder <jrnieder@gmail.com>
11712
11713 [BZ #14660]
11714 * Makerules (%.dynsym): Force C locale when running
11715 $(OBJDUMP) --dynamic-syms.
11716
1ab29350
AS
117172012-10-08 Andreas Schwab <schwab@linux-m68k.org>
11718
11719 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
11720 <stdint.h>.
11721
f1ecb7ef
DM
117222012-10-06 David S. Miller <davem@davemloft.net>
11723
11724 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
11725 upper 32-bits of the length value in %o2 since we use branch-on-register
11726 tests which consider the entire 64-bit register.
11727
5d41d91a
L
117282012-10-06 H.J. Lu <hongjiu.lu@intel.com>
11729
11730 * string/test-strstr.c (check2): Add a test for page boundary.
11731
3baddb72
DM
117322012-10-05 David S. Miller <davem@davemloft.net>
11733
11734 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
11735 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
11736 file.
11737 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
11738 sysdep_routines.
11739 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
11740 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
11741 and bzero when HWCAP_SPARC_CRYPTO is present.
11742
9cee5585
L
117432012-10-05 H.J. Lu <hongjiu.lu@intel.com>
11744
d7e0dab9
L
11745 [BZ #14602]
11746 * string/test-strstr.c (check2): New function.
11747 (test_main): Call check2.
11748
03759f47
L
11749 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
11750 and bug-strchr1.
11751 * string/bug-strcasestr1.c (do_test): Moved to ...
11752 * string/test-strcasestr.c (check1): Here. New function.
11753 (do_one_test): Break out result checking code into ...
11754 (check_result): This. New function.
11755 (do_one_test): Call check_result.
11756 (test_main): Call check1.
11757 * string/bug-strchr1.c (do_test): Moved to ...
11758 * string/test-strchr.c (check1): Here. New function.
11759 (do_one_test): Break out result checking code into ...
11760 (check_result): This. New function.
11761 (do_one_test): Call check_result.
11762 (test_main): Call check1.
11763 * string/bug-strstr1.c (main): Moved to ...
046f153e 11764 * string/test-strstr.c (check1): Here. New function.
03759f47
L
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-strcasestr1.c: Removed.
11770 * string/bug-strchr1.c: Likewise.
11771 * string/bug-strstr1.c: Likewise.
11772
53cea63e
L
11773 * elf/Makefile (dl-routines): Add hwcaps.
11774 * elf/dl-support.c (_dl_important_hwcaps): Removed.
11775 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
11776 (_dl_important_hwcaps): Moved to ...
11777 * elf/dl-hwcaps.c: Here. New file.
11778 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
11779
9cee5585 11780 [BZ #14557]
bb859b06
L
11781 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
11782 if IS_IN_rtld isn't defined.
11783
9cee5585
L
11784 * elf/dl-support.c (_dl_sysinfo_map): New.
11785 Include "get-dynamic-info.h" and "setup-vdso.h".
11786 (_dl_non_dynamic_init): Call setup_vdso.
11787 * elf/dynamic-link.h: Don't include <assert.h>.
11788 (elf_get_dynamic_info): Moved to ...
11789 * elf/get-dynamic-info.h: Here. New file.
11790 * elf/dynamic-link.h: Include "get-dynamic-info.h".
11791 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
11792 * elf/setup-vdso.h: Here. New file.
11793 * elf/rtld.c: Include "setup-vdso.h".
11794 (dl_main): Call setup_vdso.
11795
23c31b76
JM
117962012-10-05 Joseph Myers <joseph@codesourcery.com>
11797
28234b07
JM
11798 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
11799 creal in comment listing functions tested. List finite, isinf,
11800 isnan, isless, islessequal, isgreater, isgreaterequal,
11801 islessgreater, isunordered, lgamma_r and pow10 as functions and
11802 macros not tested. Mention which functions not tested are aliases
11803 for other functions. Fix typo. Note that signs of NaNs are not
11804 tested.
11805
23c31b76
JM
11806 * scripts/config.guess: Update from config.git.
11807 * scripts/config.sub: Likewise.
11808
9043e228
RM
118092012-10-04 Roland McGrath <roland@hack.frob.com>
11810
11811 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
11812 * misc/madvise.c (madvise): Renamed to __madvise.
11813 Make madvise a weak alias.
11814 * include/sys/mman.h: Declare __madvise.
11815 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
11816 * sysdeps/unix/syscalls.list
11817 (madvise): Make __madvise the strong name, and madvise a weak alias.
11818 * sysdeps/unix/sysv/linux/syscalls.list
11819 (madvise, mmap): Remove redundant entries.
11820 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
11821 * malloc/malloc.c (mtrim): Likewise.
11822 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
11823
f57f8055
RM
118242012-10-03 Roland McGrath <roland@hack.frob.com>
11825
11826 * sysdeps/mach/hurd/dl-cache.c: File removed.
11827 * config.h.in (USE_LDCONFIG): New #undef.
11828 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
11829 * configure: Regenerated.
11830 * elf/Makefile (dl-routines): Add dl-cache only under
11831 [$(use-ldconfig) = yes].
11832 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
11833 cache on [USE_LDCONFIG].
11834 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
11835 [USE_LDCONFIG].
11836 * elf/rtld.c (dl_main): Likewise.
11837
5bb0c10a
PT
118382012-10-03 Pino Toscano <toscano.pino@tiscali.it>
11839
11840 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
11841 _SC_LEVEL4_CACHE_LINESIZE.
11842
010188c6
RM
118432012-10-03 Roland McGrath <roland@hack.frob.com>
11844
11845 * sysdeps/unix/bsd/confstr.h: File removed.
11846
b6c5ec07
AO
118472012-10-02 Alexandre Oliva <aoliva@redhat.com>
11848
11849 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
11850 sys/sdt-config.h.
11851
408223d4
RM
118522012-10-02 Roland McGrath <roland@hack.frob.com>
11853
11854 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
11855 Make 'mapoff' field ElfW(Off) rather than off_t.
11856
bb9510dc
DL
118572012-10-02 Dmitry V. Levin <ldv@altlinux.org>
11858
fc997c6e
DL
11859 * nscd/Makefile: Remove nscd-cflags and all its users.
11860 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
11861 (CFLAGS-nonlib): Add compiler flags for nscd modules.
11862
bb9510dc
DL
11863 [BZ #10631]
11864 * malloc.c (malloc_printerr): Clarify error message.
11865
05699367
L
118662012-10-02 H.J. Lu <hongjiu.lu@intel.com>
11867
11868 [BZ #14648]
11869 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11870 Set bit_FMA_Usable if FMA is supported.
11871 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
11872 macro.
11873 (bit_FMA4_Usable): Updated.
11874 (index_FMA_Usable): New macro.
11875 (CPUID_FMA): Likewise
11876 (HAS_FMA): Defined with bit_FMA_Usable.
11877
51367701
RM
118782012-10-01 Roland McGrath <roland@hack.frob.com>
11879
11880 * bits/types.h (__swblk_t): Type removed.
11881 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
11882 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
11883 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11884 (__SWBLK_T_TYPE): Likewise.
11885 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
11886 (__SWBLK_T_TYPE): Likewise.
11887 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11888 (__SWBLK_T_TYPE): Likewise.
11889 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11890 (__SWBLK_T_TYPE): Likewise.
11891
4d57bf63 118922012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 11893 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
11894
11895 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
11896 (xdr_mapname): Use YPMAXMAP as maxsize.
11897 (xdr_peername): Use YPMAXPEER as maxsize.
11898 (xdr_keydat): Use YPAXRECORD as maxsize.
11899 (xdr_valdat): Use YPMAXRECORD as maxsize.
11900
93c65d43
RM
119012012-10-01 Roland McGrath <roland@hack.frob.com>
11902
497a03d6
RM
11903 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
11904
93c65d43
RM
11905 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
11906 * csu/init-first.c: ... here.
11907 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
11908 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
11909 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
11910 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
11911 * sysdeps/i386/init-first.c: File removed.
11912 * sysdeps/sh/init-first.c: File removed.
11913
bec749fd
JM
119142012-10-01 Joseph Myers <joseph@codesourcery.com>
11915
11916 [BZ #14645]
11917 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
11918 if x * y might underflow to zero and z is zero.
11919 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11920 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11921 * math/libm-test.inc (min_subnorm_value): New variable.
11922 (fma_test): Add more tests.
11923 (fma_test_towardzero): Likewise.
11924 (fma_test_downward): Likewise
11925 (fma_test_upward): Likewise.
11926 (initialize): Set min_subnorm_value.
11927
8ec5b013
JM
119282012-09-29 Joseph Myers <joseph@codesourcery.com>
11929
11930 [BZ #14638]
11931 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
11932 0 + 0.
11933 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
11934 mode for addition resulting in exact zero.
11935 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
11936 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
11937 exact 0 + 0.
11938 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11939 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11940 * math/libm-test.inc (fma_test): Add more tests.
11941 (fma_test_towardzero): New function.
11942 (fma_test_downward): Likewise.
11943 (fma_test_upward): Likewise.
11944 (main): Call the new functions.
11945
b1fa802e
DM
119462012-09-28 David S. Miller <davem@davemloft.net>
11947
11948 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
11949
d3b9fd9e
RM
119502012-09-28 Roland McGrath <roland@hack.frob.com>
11951
ea4d37b3
RM
11952 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
11953 instead of SIGALRM.
11954
ac51c949
RM
11955 * sysdeps/gnu/_G_config.h: Moved to ...
11956 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
11957 * sysdeps/mach/hurd/_G_config.h: Moved to ...
11958 * sysdeps/generic/_G_config.h: ... here.
11959
28c195f7
RM
11960 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
11961
848917f9
RM
11962 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
11963
6bacf05b
RM
11964 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
11965 Conditionalize target on [libnss_test1.so-version].
11966
91363dbb
RM
11967 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
11968
cc87f7d8
RM
11969 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
11970 (elfobjdir): Move out of conditionals.
11971
b1c608fe
RM
11972 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
11973 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
11974 (__nss_lookup_function): Conditionalize label remove_from_tree on
11975 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 11976
1d9a6d96
DM
119772012-09-28 David S. Miller <davem@davemloft.net>
11978
11979 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
11980 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
11981 file.
11982 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
11983 sysdep_routines.
11984 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
11985 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
11986 when HWCAP_SPARC_CRYPTO is present.
11987
72581615
PT
119882012-09-28 Pino Toscano <toscano.pino@tiscali.it>
11989
11990 * io/tst-mknodat.c: Create a FIFO instead of a socket.
11991
715a900c
JL
119922012-09-28 Andreas Schwab <schwab@linux-m68k.org>
11993
11994 [BZ #6530]
11995 * stdio-common/vfprintf.c (process_string_arg): Revert
11996 2000-07-22 change.
11997
119982011-09-28 Jonathan Nieder <jrnieder@gmail.com>
11999
12000 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
12001 for testcase.
12002 * stdio-common/tst-sprintf.c: Include <locale.h>
12003 (main): Test sprintf's handling of incomplete multibyte
12004 characters.
12005
9bac1d86
L
120062012-09-28 H.J. Lu <hongjiu.lu@intel.com>
12007
12008 * elf/dl-runtime.c (VERSYMIDX): Removed.
12009 * elf/dl-version.c (VERSYMIDX): Likewise.
12010 * elf/do-rel.h (VERSYMIDX): Likewise.
12011 (VALIDX): Likewise.
12012 * elf/dynamic-link.h (VERSYMIDX): Likewise.
12013 * elf/rtld.c (VALIDX): Likewise.
12014 (ADDRIDX): Likewise.
9bac1d86
L
12015 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
12016 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
12017 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
12018 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
12019 (VALIDX): Likewise.
12020 (ADDRIDX): Likewise.
9bac1d86 12021
b31606c0
PT
120222012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12023
12024 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
12025
11541177
JL
120262012-09-28 Dmitry V. Levin <ldv@altlinux.org>
12027
12028 [BZ #11438]
12029 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
12030 to global scope.
12031 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
12032 addresses are in the same scope as 192.0.2/24.
12033 * posix/gai.conf: Document new scope table defaults.
12034
adb26fae
SP
120352012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12036
12037 [BZ #5298]
12038 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
12039 for ftell. Compute offsets from write pointers instead.
12040 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
12041
4573c6b0
SP
120422012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12043
12044 [BZ #14543]
12045 * libio/Makefile (tests): New test case tst-fseek.
12046 * libio/tst-fseek.c: New test case to verify that fseek/ftell
12047 combination works in wide mode.
12048 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
12049 state when the external buffer state changes.
12050
aa9bbfe6
DM
120512012-09-27 David S. Miller <davem@davemloft.net>
12052
12053 [BZ #14376]
12054 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
12055 pass reloc->r_addend in as the 'high' argument to
12056 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
12057
784421e7
DM
12058 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12059
c39bc8b8
PT
120602012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12061
12062 * rt/tst-aio2.c: Include <pthread.h>.
12063 * rt/tst-aio3.c: Likewise.
12064
1ccc2399
SE
120652012-09-27 Steve Ellcey <sellcey@mips.com>
12066
12067 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
12068
31ed4153
L
120692012-09-27 H.J. Lu <hongjiu.lu@intel.com>
12070
25f5f885
L
12071 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
12072 contents on [SHARED].
31ed4153 12073
b7bfe116
MP
120742012-09-26 Marek Polacek <polacek@redhat.com>
12075
12076 [BZ #14530]
12077 [BZ #13741]
12078 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
12079 for C++ and GCC <4.3 as well as for non GCC compilers.
12080
43c4edba
MT
120812012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
12082
12083 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12084
6a1bf82f
RM
120852012-09-25 Roland McGrath <roland@hack.frob.com>
12086
12087 * Makefile.in (all, install): Declare with .PHONY.
12088 Reported by Michael Hope <michael.hope@linaro.org>.
12089
8ad11b9a
TMQMF
120902012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12091
12092 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
12093 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
12094 system header.
12095 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
12096 Likewise.
12097 (sydep_routines): Add the new and the internal functions.
12098 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
12099 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
12100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
12101 (GLIBC_2.17): Add the new function.
12102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
12103 (GLIBC_2.17): Likewise.
12104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
12105 (GLIBC_2.17): Likewise.
12106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
12107 (GLIBC_2.17): Likewise.
12108 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
12109
7e2fca8d
AM
121102012-09-25 Alan Modra <amodra@gmail.com>
12111
12112 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
12113 Add release barrier before setting once_control to say
12114 initialisation is done. Add hints on lwarx. Use macro in
12115 place of isync.
12116 (clear_once_control): Add release barrier.
12117
b87c4b24
JM
121182012-09-25 Joseph Myers <joseph@codesourcery.com>
12119
d032e0d2
JM
12120 [BZ #13629]
12121 * math/s_clog.c (__clog): Handle more values close to |z| = 1
12122 specially.
12123 * math/s_clog10.c (__clog10): Likewise.
12124 * math/s_clog10f.c (__clog10f): Likewise.
12125 * math/s_clog10l.c (__clog10l): Likewise.
12126 * math/s_clogf.c (__clogf): Likewise.
12127 * math/s_clogl.c (__clogl): Likewise.
12128 * math/Makefile (libm-calls): Add x2y2m1.
12129 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
12130 (__x2y2m1): Likewise.
12131 (__x2y2m1l): Likewise.
12132 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
12133 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
12134 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
12135 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
12136 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
12137 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
12138 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
12139 * sysdeps/i386/fpu/libm-test-ulps: Update.
12140 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12141
b87c4b24
JM
12142 [BZ #14621]
12143 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
12144 int as type of variable DEPTH.
12145 (glob): Use size_t instead of int as type of variables NEWCOUNT
12146 and OLD_PATHC.
12147
6d3bf199
LD
121482012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12149
22bf5c17
LD
12150 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
12151 Add s_sincosf-sse2.
12152 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
12153 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
12154 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
12155 macros for using routine as __sincosf_ia32.
12156 Use macro for function declaration and weak_alias.
12157 * sysdeps/i386/fpu/libm-test-ulps: Update.
12158
12159 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
12160 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12161
12162 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
12163 subnormal argument.
12164 * math/s_cexpf.c (__cexpf): Likewise.
12165 * math/s_csinf.c (__csinf): Likewise.
12166 * math/s_csinhf.c (__csinhf): Likewise.
12167 * math/s_ctanf.c (__ctanf): Likewise.
12168 * math/s_ctanhf.c (__ctanhf): Likewise.
12169 * math/s_ccosh.c (__ccoshf): Likewise.
12170 * math/s_cexp.c (__cexpl): Likewise.
12171 * math/s_csin.c (__csin): Likewise.
12172 * math/s_csinh.c (__csinh): Likewise.
12173 * math/s_ctan.c (__ctan): Likewise.
12174 * math/s_ctanh.c (ctanh): Likewise.
12175 * math/s_ccoshl.c (__ccoshl): Likewise.
12176 * math/s_cexpl.c (__cexpl): Likewise.
12177 * math/s_csinl.c (__csinl): Likewise.
12178 * math/s_csinhl.c (__csinhl): Likewise.
12179 * math/s_ctanl.c (__ctanl): Likewise.
12180 * math/s_ctanhl.c (__ctanhl): Likewise.
12181
203e5603
JM
121822012-09-25 Joseph Myers <joseph@codesourcery.com>
12183
12184 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
12185 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
12186 (_IO_off_t): Define to __off_t, not _G_off_t.
12187 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
12188 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
12189 (_IO_wint_t): Define to wint_t, not _G_wint_t.
12190 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
12191 type of __dummy and __dummy2 fields.
12192 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
12193 (_G_ssize_t): Likewise.
12194 (_G_off_t): Likewise.
12195 (_G_pid_t): Likewise.
12196 (_G_uid_t): Likewise.
12197 (_G_wchar_t): Likewise.
12198 (_G_wint_t): Likewise.
12199 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
12200 (_G_ssize_t): Likewise.
12201 (_G_off_t): Likewise.
12202 (_G_pid_t): Likewise.
12203 (_G_uid_t): Likewise.
12204 (_G_wchar_t): Likewise.
12205 (_G_wint_t): Likewise.
12206 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
12207 (_G_ssize_t): Likewise.
12208 (_G_off_t): Likewise.
12209 (_G_pid_t): Likewise.
12210 (_G_uid_t): Likewise.
12211 (_G_wchar_t): Likewise.
12212 (_G_wint_t): Likewise.
12213
9fab36eb
SP
122142012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12215
12216 * malloc/arena.c: Include malloc-sysdep.h.
12217 (shrink_heap): Use check_may_shrink_heap to decide if madvise
12218 is sufficient to shrink the heap or an unmap is needed.
12219 * sysdeps/generic/malloc-sysdep.h: New file. Define
12220 new function check_may_shrink_heap.
12221 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
12222 new function check_may_shrink_heap.
12223
2b4f00d1
SP
122242012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12225
12226 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
12227 comments.
12228
9a9028b1
DL
122292012-09-24 Dmitry V. Levin <ldv@altlinux.org>
12230
57c69bef
DL
12231 * catgets/test-gencat.sh: Add "set -e".
12232 * elf/tst-pathopt.sh: Likewise.
12233 * grp/tst_fgetgrent.sh: Likewise.
12234 * iconvdata/run-iconv-test.sh: Likewise.
12235 * intl/tst-gettext.sh: Likewise.
12236 * intl/tst-gettext2.sh: Likewise.
12237 * intl/tst-gettext4.sh: Likewise.
12238 * intl/tst-gettext6.sh: Likewise.
12239 * intl/tst-translit.sh: Likewise.
12240 * io/ftwtest-sh: Likewise.
12241 * libio/test-freopen.sh: Likewise.
12242 * malloc/tst-mtrace.sh: Likewise.
12243 * posix/globtest.sh: Likewise.
12244 * posix/tst-getconf.sh: Likewise.
12245 * posix/wordexp-tst.sh: Likewise.
12246 * stdio-common/tst-printf.sh: Likewise.
12247 * stdio-common/tst-unbputc.sh: Likewise.
12248 * stdlib/tst-fmtmsg.sh: Likewise.
12249 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
12250 * catgets/Makefile: Do not specify -e option when running
12251 testsuite shell scripts.
12252 * elf/Makefile: Likewise.
12253 * grp/Makefile: Likewise.
12254 * iconvdata/Makefile: Likewise.
12255 * intl/Makefile: Likewise.
12256 * io/Makefile: Likewise.
12257 * libio/Makefile: Likewise.
12258 * malloc/Makefile: Likewise.
12259 * posix/Makefile: Likewise.
12260 * stdio-common/Makefile: Likewise.
12261 * stdlib/Makefile: Likewise.
12262 * sysdeps/x86_64/Makefile: Likewise.
12263
9a9028b1
DL
12264 * io/ftwtest-sh: Add copyright header.
12265 * posix/globtest.sh: Likewise.
12266 * posix/tst-getconf.sh: Likewise.
12267 * posix/wordexp-tst.sh: Likewise.
12268 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
12269
ced6f16e
L
122702012-09-24 H.J. Lu <hongjiu.lu@intel.com>
12271
94b32c39
L
12272 [BZ #13679]
12273 * Makeconfig (+link): Defined as $(+link-static) if
12274 $(build-shared) isn't yes.
12275 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
12276 isn't yes.
12277 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
12278
189e935b
L
12279 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
12280
ced6f16e
L
12281 [BZ #14562]
12282 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
12283 new chunk size with MALLOC_ALIGN_MASK.
12284
a9f8e53a
JM
122852012-09-24 Joseph Myers <joseph@codesourcery.com>
12286
12287 [BZ #5044]
12288 * stdio-common/printf_fphex.c: Include <stdbool.h> and
12289 <rounding-mode.h>.
12290 (__printf_fphex): Determine rounding using get_rounding_mode and
12291 round_away.
12292 * stdio-common/tst-printf-round.c (struct hex_test): New
12293 structure.
12294 (hex_tests): New variable.
12295 (test_hex_in_one_mode): New function.
12296 (do_test): Also run tests for hex float output.
12297
43153109
JM
122982012-09-21 Joseph Myers <joseph@codesourcery.com>
12299
12300 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
12301 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
12302 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
12303 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
12304 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
12305 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
12306 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
12307 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
12308
8a26625d
JM
123092012-09-20 Joseph Myers <joseph@codesourcery.com>
12310
12311 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
12312 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
12313 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
12314 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
12315
f3fd569c
DL
123162012-09-19 Dmitry V. Levin <ldv@altlinux.org>
12317
12318 [BZ #14579]
12319 * elf/rtld.c (dl_main): Limit the check for self loading to normal
12320 mode only.
12321 * elf/tst-rtld-load-self.sh: New test.
12322 * elf/Makefile: Run it.
12323
63bbedd4
JM
123242012-09-18 Joseph Myers <joseph@codesourcery.com>
12325
12326 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
12327 (tst-writev-ENV): Remove.
12328 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
12329
626f8b6a
CM
123302012-09-17 Chris Metcalf <cmetcalf@tilera.com>
12331
12332 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
12333
b7aaa4d6
JM
123342012-09-17 Joseph Myers <joseph@codesourcery.com>
12335
12336 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
12337 unconditional.
12338 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
12339 Likewise.
12340 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
12341 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
12342 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
12343 Likewise.
12344
65513990
L
123452012-09-14 H.J. Lu <hongjiu.lu@intel.com>
12346
12347 [BZ #14587]
12348 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
12349 * config.make.in (have-cpp-asm-debuginfo): Removed.
12350 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
12351 * configure: Regenerated.
12352
784761be
JM
123532012-09-14 Joseph Myers <joseph@codesourcery.com>
12354
12355 [BZ #5044]
12356 * stdio-common/printf_fp.c: Include <stdbool.h> and
12357 <rounding-mode.h>.
12358 (___printf_fp): Determine rounding using get_rounding_mode and
12359 round_away.
12360 * stdio-common/tst-printf-round.c: New file.
12361 * stdio-common/Makefile (tests): Add tst-printf-round.
12362 (link-libm): New variable.
12363 ($(objpfx)tst-printf-round): Depend in $(link-libm).
12364
9503345f
L
123652012-09-13 H.J. Lu <hongjiu.lu@intel.com>
12366
12367 [BZ #14576]
12368 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
12369 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
12370 Likewise.
12371 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
12372 Likewise.
12373
ad35fc00
JM
123742012-09-13 Joseph Myers <joseph@codesourcery.com>
12375
12376 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
12377 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12378 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12379 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12380
6c9b0f68
JM
123812012-09-12 Joseph Myers <joseph@codesourcery.com>
12382
12383 [BZ #14518]
12384 * include/rounding-mode.h: New file.
12385 * sysdeps/generic/get-rounding-mode.h: Likewise.
12386 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
12387 * stdlib/strtod_l.c: Include <rounding-mode.h>.
12388 (MAX_VALUE): New macro.
12389 (MIN_VALUE): Likewise.
12390 (overflow_value): New function.
12391 (underflow_value): Likewise.
12392 (round_and_return): Use overflow_value and underflow_value to
12393 determine return values in overflow and underflow cases. Use
12394 round_away to determine rounding depending on rounding mode.
12395 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
12396 determine return values in overflow and underflow cases.
12397 * stdlib/tst-strtod-round.c: Include <fenv.h>.
12398 (struct test_results): New structure.
12399 (struct test): Use struct test_results to store expected results
12400 for all rounding modes.
12401 (TEST): Include expected results for all rounding modes.
12402 (test_in_one_mode): New function.
12403 (do_test): Use test_in_one_mode to compute and check results.
12404 Check results for all rounding modes.
12405 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
12406 $(link-libm).
12407
19fcedd5
AM
124082012-12-09 Allan McRae <allan@archlinux.org>
12409
1e9d84cd 12410 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 12411
8bbfd2f1
JM
124122012-09-11 Joseph Myers <joseph@codesourcery.com>
12413
12414 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
12415 (_G_int32_t): Likewise.
12416 (_G_uint16_t): Likewise.
12417 (_G_uint32_t): Likewise.
12418 (_G_HAVE_BOOL): Likewise.
12419 (_G_HAVE_ATEXIT): Likewise.
12420 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12421 (_G_HAVE_IO_FILE_OPEN): Likewise.
12422 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
12423 (_G_int32_t): Likewise.
12424 (_G_uint16_t): Likewise.
12425 (_G_uint32_t): Likewise.
12426 (_G_HAVE_BOOL): Likewise.
12427 (_G_HAVE_ATEXIT): Likewise.
12428 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12429 (_G_HAVE_IO_FILE_OPEN): Likewise.
12430 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
12431 (_G_int32_t): Likewise.
12432 (_G_uint16_t): Likewise.
12433 (_G_uint32_t): Likewise.
12434 (_G_HAVE_BOOL): Likewise.
12435 (_G_HAVE_ATEXIT): Likewise.
12436 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12437 (_G_HAVE_IO_FILE_OPEN): Likewise.
12438
b1dc5912
L
124392012-09-11 H.J. Lu <hongjiu.lu@intel.com>
12440
12441 * csu/libc-tls.c: Update copyright years.
12442
0e886ef9
JM
124432012-09-10 Joseph Myers <joseph@codesourcery.com>
12444
28361c5e
JM
12445 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
12446 [!_G_USING_THUNKS]: Remove conditional code.
12447 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
12448 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
12449
0e886ef9
JM
12450 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
12451 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
12452 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12453 (_G_VTABLE_LABEL_PREFIX): Likewise.
12454 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12455 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12456 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12457 (_G_VTABLE_LABEL_PREFIX): Likewise.
12458 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
12459 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12460 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12461 (_G_VTABLE_LABEL_PREFIX): Likewise.
12462 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
12463
bcba7aa2
L
124642012-09-10 H.J. Lu <hongjiu.lu@intel.com>
12465
12466 * libio/Makefile: Include ../Makeconfig before tests.
12467 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
12468 only if $(build-shared) is yes.
12469
06585ee8
L
12470 * iconv/gconv_db.c: Update copyright years.
12471
80ccd52c
LD
124722012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12473
12474 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
12475 unwind info if defined PIC. Fix special cases description.
12476 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
12477
12478 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
12479 DP_HI_MASK entry.
12480 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
12481
691bc9c1
L
124822012-09-07 H.J. Lu <hongjiu.lu@intel.com>
12483
3d9b46b3
L
12484 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
12485
de2139a9
L
12486 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
12487 is NULL.
12488
5ca78dd0
L
12489 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
12490 (LDLIBS-tst-chk4): This.
12491 (LDFLAGS-tst-chk5): Renamed to ...
12492 (LDLIBS-tst-chk5): This.
12493 (LDFLAGS-tst-chk6): Renamed to ...
12494 (LDLIBS-tst-chk6): This.
12495 (LDFLAGS-tst-lfschk4): Renamed to ...
12496 (LDLIBS-tst-lfschk4): This.
12497 (LDFLAGS-tst-lfschk5): Renamed to ...
12498 (LDLIBS-tst-lfschk5): This.
12499 (LDFLAGS-tst-lfschk6): Renamed to ...
12500 (LDLIBS-tst-lfschk6): This.
12501
691bc9c1
L
12502 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
12503 on $(common-objpfx)soversions.mk.
12504
65cafb1c
JM
125052012-09-07 Joseph Myers <joseph@codesourcery.com>
12506
12507 [BZ #10014]
12508 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
12509 example host name.
12510
c78ab094
SP
125112012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
12512
12513 * malloc/arena.c (arena_get_retry): New function that gets
12514 another arena for the caller to try its request on.
12515 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
12516 current arena cannot fulfill the request.
12517 (__libc_memalign): Likewise.
12518 (__libc_memalign): Likewise.
12519 (__libc_pvalloc): Likewise.
12520 (__libc_calloc): Likewise.
12521
01f49f59
JT
125222012-09-05 John Tobey <john.tobey@gmail.com>
12523
12524 [BZ #13542]
12525 * manual/arith.texi (Operations on Complex): Fix description
12526 of carg branch cut.
12527
4c23fed5
JM
125282012-09-06 Joseph Myers <joseph@codesourcery.com>
12529
1d3c8572
JM
12530 [BZ #10014]
12531 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
12532 host name.
12533
4c23fed5
JM
12534 [BZ #10038]
12535 * manual/memory.texi (Memory): Make order of menu items match
12536 order of sections.
12537
04570aaa
L
125382012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12539
12540 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
12541 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
12542 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
12543
b80af2f4
L
125442012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12545
12546 * csu/libc-tls.c (static_dtv): Renamed to ...
12547 (_dl_static_dtv): This. Make it global.
12548 (_dl_initial_dtv): Removed.
12549 (__libc_setup_tls): Updated.
12550 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
12551 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
12552 DL_INITIAL_DTV.
12553
2abe9f15
PM
125542012-09-06 Petr Machata <pmachata@redhat.com>
12555
12556 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
12557 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
12558 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
12559 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
12560
0948c3af
L
125612012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12562
12563 [BZ #14545]
12564 * csu/libc-tls.c (_dl_initial_dtv): New variable.
12565 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
12566 freeing dtv[-1].
12567
a5055ad1
L
125682012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12569
12570 [BZ #14544]
12571 * Makeconfig (link-static-before-libc): Replace $(+prector)
12572 with $(+prectorT).
12573 (link-static-after-libc): Replace $(+postctor) with
12574 $(+postctorT).
12575 (link-bounded): Replace $(+prector)/$(+postctor) with
12576 $(+prectorT)/$(+postctorT).
12577 (+prectorT): New macro.
12578 (+postctorT): Likewise.
12579
ed8c2ecd
JM
125802012-09-06 Joseph Myers <joseph@codesourcery.com>
12581
12582 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
12583 (round_str): Handle values above the maximum for IBM long double
12584 as inexact.
12585 * stdlib/tst-strtod-round.c (tests): Regenerated.
12586
14c996c8
AK
125872012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12588
12589 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
12590 assembler flag.
12591 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
12592 zarch_nohighgprs around the zarch optimized routines.
12593 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
12594 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
12595 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
12596 for zarch.
12597
430d6ce6
DM
125982012-09-05 David S. Miller <davem@davemloft.net>
12599
12600 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12601
ff04dda4
DM
12602 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
12603 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
12604 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
12605 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
12606 entries.
12607
24d4e01b
AO
126082012-09-05 Alexandre Oliva <aoliva@redhat.com>
12609
12610 * malloc/arena.c: Fold copyright years.
12611 * malloc/mcheck.c, malloc/memusage.c: Likewise.
12612
61d58174
AO
126132012-09-05 Alexandre Oliva <aoliva@redhat.com>
12614
12615 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
12616
20196a5e
AO
126172012-09-05 Alexandre Oliva <aoliva@redhat.com>
12618
12619 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
12620
5c447383
AO
126212012-09-05 Alexandre Oliva <aoliva@redhat.com>
12622
12623 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
12624 change internal state upon failure.
12625
fad64255
AO
126262012-09-05 Alexandre Oliva <aoliva@redhat.com>
12627
12628 * malloc/mcheck.c (mcheck_check_all): Fix typo.
12629 * malloc/memusage.c (mmap): Likewise.
12630 (mmap64, mremap): Likewise. Adjust name in comment.
12631
1ffb8c90
SP
126322012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12633
12634 * libio/fileops.c: Fix typos in comments.
12635 * libio/oldfileops.c: Likewise.
12636 * libio/wfileops.c: Likewise.
12637
6ef9cc37
SP
126382012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12639
12640 [BZ #1349]
12641 * malloc/Makefile (tests): Add tst-malloc-usable test case.
12642 (tst-malloc-usable-ENV): Set environment for test case.
12643 * malloc/hooks.c (malloc_check_get_size): New function to get
12644 requested size.
12645 * malloc/malloc.c (musable): Use malloc_check_get_size.
12646 * malloc/tst-malloc-usable.c: New test case.
12647
4d038ae3
AS
126482012-09-05 Andreas Schwab <schwab@linux-m68k.org>
12649
12650 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
12651
c4e85184
AM
126522012-09-05 Allan McRae <allan@archlinux.org>
12653
b9dafc56 12654 [BZ #13966]
c4e85184
AM
12655 * configure.in (CXX_SYSINCLUDES): Use compiler output to
12656 determine header location.
12657 * configure: Regenerated.
12658
e1343020
AS
126592012-09-05 Andreas Schwab <schwab@linux-m68k.org>
12660
12661 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
12662 float format.
12663 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
12664 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
12665 format.
e1343020
AS
12666 (test): Regenerate.
12667
0a9f1987
DM
126682012-09-04 David S. Miller <davem@davemloft.net>
12669
12670 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
12671 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
12672 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
12673
29237804
FW
126742012-09-04 Florian Weimer <fweimer@redhat.com>
12675
12676 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
12677 failures.
12678
edb3cb88
FW
12679 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
12680
60160d83
JM
126812012-09-04 Joseph Myers <joseph@codesourcery.com>
12682
12683 [BZ #9914]
12684 * libio/iogetdelim.c: Include <limits.h>.
12685 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
12686 + len + 1 would overflow.
12687
bcd6c8dc
AJ
126882012-09-03 Andreas Jaeger <aj@suse.de>
12689
12690 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12691 * sysdeps/i386/fpu/libm-test-ulps: Update.
12692
4ffffbd2
LD
126932012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12694
12695 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
12696 Add s_sinf-sse2, s_conf-sse2.
12697
12698 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
12699 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
12700 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
12701 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
12702
12703 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
12704 for using routine as __sinf_ia32.
12705 Use macro for function declaration and weak_alias.
12706 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
12707 for using routine as __cosf_ia32.
12708 Use macro for function declaration and weak_alias.
12709
12710 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
12711 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
12712
12713 * sysdeps/x86_64/fpu/s_sinf.S: New file.
12714 * sysdeps/x86_64/fpu/s_cosf.S: New file.
12715 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12716
12717 * math/libm-test.inc (cos_test): Add more test cases.
12718 (sin_test): Likewise.
12719 (sincos_test): Likewise.
12720
511fa286
AK
127212012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12722
12723 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
12724 (IFUNC_RESOLVE): Make pointers to the specialized implementations
12725 hidden.
12726 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
12727
5f30cfec
L
127282012-09-02 H.J. Lu <hongjiu.lu@intel.com>
12729
12730 [BZ #14538]
12731 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
12732 first element of the GOT.
12733 (elf_machine_load_address): Return the difference between
12734 the runtime address of _DYNAMIC and elf_machine_dynamic ().
12735
0786794f
AM
127362012-09-01 Allan McRae <allan@archlinux.org>
12737
5f30cfec
L
12738 [BZ #13412]
12739 * configure.in (AWK): Require gawk version 3.0 or later.
12740 * configure: Regenerated.
0786794f 12741
26889eac
JM
127422012-09-01 Joseph Myers <joseph@codesourcery.com>
12743
12744 * sysdeps/unix/sysv/linux/kernel-features.h
12745 (__ASSUME_POSIX_CPU_TIMERS): Remove.
12746 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
12747 [__NR_clock_getres]: Make code unconditional.
12748 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
12749 (clock_getcpuclockid): Remove code left unreachable by removal of
12750 conditionals.
12751 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
12752 code unconditional.
12753 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
12754 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
12755 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
12756 Make code unconditional.
12757 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
12758 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
12759 * sysdeps/unix/sysv/linux/clock_settime.c
12760 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
12761 conditional code.
12762 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
12763 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
12764
d22e28b0
L
127652012-08-29 H.J. Lu <hongjiu.lu@intel.com>
12766
12767 [BZ #14476]
12768 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
12769 scripts/test-installation.pl.
12770
12771 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
12772 and $ld_so_version if it is set.
12773
050af9c4
SP
127742012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12775
12776 [BZ #14516]
12777 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
12778 failure if reading from procfs failed.
12779 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
12780
ad845c0b
JM
127812012-08-27 Joseph Myers <joseph@codesourcery.com>
12782
12783 * sysdeps/unix/sysv/linux/kernel-features.h
12784 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
12785 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
12786 Remove conditional code.
12787 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12788 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
12789 Remove conditional code.
12790 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12791 * sysdeps/unix/sysv/linux/i386/fxstat.c
12792 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
12793 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12794 * sysdeps/unix/sysv/linux/i386/fxstatat.c
12795 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
12796 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12797 * sysdeps/unix/sysv/linux/i386/lxstat.c
12798 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
12799 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12800 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
12801 Remove conditional code.
12802 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12803 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
12804 Remove conditional code.
12805 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12806 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
12807 <kernel-features.h>.
12808 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
12809 Remove.
12810 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
12811 Remove conditional code.
12812 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12813 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
12814 Remove conditional.
12815
5dbf56af
MF
128162012-08-27 Mike Frysinger <vapier@gentoo.org>
12817
12818 [BZ #5400]
12819 * NEWS: Add fixed bug number.
12820
d6e70f43
JM
128212012-08-27 Joseph Myers <joseph@codesourcery.com>
12822
7efb4737
JM
12823 [BZ #14519]
12824 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
12825 underflowing exponent in case of negative sign.
12826 * stdlib/tst-strtod-round-data: Add more tests.
12827 * stdlib/tst-strtod-round.c (tests): Regenerated.
12828
af92131a
JM
12829 [BZ #3479]
12830 * stdlib/strtod_l.c (NDIG): Remove.
12831 (HEXNDIG): Likewise.
12832 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
12833 smallest representable value.
12834 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
12835 lie within an exact representation of 1/2 ulp of the result.
12836 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
12837 unconditionally.
12838 (TENS_P9_IDX): Define unconditionally.
12839 (TENS_P9_SIZE): Likewise.
12840 (TENS_P10_IDX): Likewise.
12841 (TENS_P10_SIZE): Likewise.
12842 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
12843 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
12844 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
12845 entries for 10^2^13 and 10^2^14.
12846 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
12847 (TENS_P13_IDX): Define.
12848 (TENS_P13_SIZE): Likewise.
12849 (TENS_P14_IDX): Likewise.
12850 (TENS_P14_SIZE): Likewise.
12851 (_fpioconst_pow10): Change array size to
12852 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
12853 unconditional.
12854 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
12855 1024]: Add entries for 10^2^13 and 10^2^14.
12856 [LAST_POW10 > _LAST_POW10]: Remove #error.
12857 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
12858 (_fpioconst_pow10): Change array size to
12859 FPIOCONST_POW10_ARRAY_SIZE.
12860 * stdlib/gen-fpioconst.c: New file.
12861 * stdlib/gen-tst-strtod-round.c: Likewise.
12862 * stdlib/tst-strtod-round-data: Likewise.
12863 * stdlib/tst-strtod-round.c: Likewise.
12864 * stdlib/Makefile (tests): Add tst-strtod-round.
12865
d6e70f43
JM
12866 [BZ #14459]
12867 * stdlib/strtod_l.c: Include <stdint.h>.
12868 (NDEBUG): Do not define.
12869 (round_and_return): Change EXPONENT parameter to type intmax_t.
12870 Rearrange calculations to avoid internal overflow possibilities.
12871 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
12872 Rearrange calculations to avoid internal overflow possibilities.
12873 Assert that number fits inside MPNSIZE limbs.
12874 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
12875 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
12876 calculations and add assertions to avoid internal overflow
12877 possibilities. Add casts to avoid signed/unsigned operations.
12878 * stdlib/tst-strtod-overflow.c: New file.
12879 * stdlib/Makefile (tests): Add tst-strtod-overflow.
12880
1f529f7d
MP
128812012-08-25 Marek Polacek <polacek@redhat.com>
12882
12883 * time/time.h: Fix some typos in comments.
12884
59a629f1
RM
128852012-08-23 Roland McGrath <roland@hack.frob.com>
12886
12887 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
12888 * posix/tst-rfc3484-2.c: Likewise.
12889 * posix/tst-rfc3484-3.c: Likewise.
12890
d3bafbc9
SM
128912012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
12892
12893 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
12894 (EF_ARM_ABI_FLOAT_HARD): Likewise.
12895
4efcc022
JM
128962012-08-23 Joseph Myers <joseph@codesourcery.com>
12897
12898 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
12899 #include of fxstatat64.c.
12900
3cc3ef96
RM
129012012-08-22 Roland McGrath <roland@hack.frob.com>
12902
f04e2132
RM
12903 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
12904 * shadow/getspent_r.c: Likewise.
12905 * shadow/getspnam.c: Likewise.
12906 * shadow/getspnam_r.c: Likewise.
12907 * gshadow/getsgent.c: Likewise.
12908 * gshadow/getsgent_r.c: Likewise.
12909 * gshadow/getsgnam.c: Likewise.
12910 * gshadow/getsgnam_r.c: Likewise.
12911 * inet/getnetbyad.c: Likewise.
12912 * inet/getnetbyad_r.c: Likewise.
12913 * inet/getnetbynm.c: Likewise.
12914 * inet/getnetbynm_r.c: Likewise.
12915 * inet/getnetent.c: Likewise.
12916 * inet/getnetent_r.c: Likewise.
12917 * inet/getproto.c: Likewise.
12918 * inet/getproto_r.c: Likewise.
12919 * inet/getprtent.c: Likewise.
12920 * inet/getprtent_r.c: Likewise.
12921 * inet/getprtname.c: Likewise.
12922 * inet/getprtname_r.c: Likewise.
12923 * inet/getrpcbyname.c: Likewise.
12924 * inet/getrpcbyname_r.c: Likewise.
12925 * inet/getrpcbynumber.c: Likewise.
12926 * inet/getrpcbynumber_r.c: Likewise.
12927 * inet/getrpcent.c: Likewise.
12928 * inet/getrpcent_r.c: Likewise.
12929 * inet/getaliasent.c: Likewise.
12930 * inet/getaliasent_r.c: Likewise.
12931 * inet/getaliasname.c: Likewise.
12932 * inet/getaliasname_r.c: Likewise.
12933 * nscd/getgrgid_r.c: Likewise.
12934 * nscd/getgrnam_r.c: Likewise.
12935 * nscd/gethstbyad_r.c: Likewise.
12936 * nscd/gethstbynm3_r.c: Likewise.
12937 * nscd/getpwnam_r.c: Likewise.
12938 * nscd/getpwuid_r.c: Likewise.
12939 * nscd/getsrvbynm_r.c: Likewise.
12940 * nscd/getsrvbypt_r.c: Likewise.
12941 * nscd/gai.c: Likewise.
12942
c53d909c
RM
12943 * configure.in (build_nscd): New substituted variable, set
12944 by --disable-build-nscd and defaults to $use_nscd.
12945 * configure: Regenerated.
12946 * config.make.in (build-nscd): New substituted variable.
12947 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
12948 Change conditional to require [$(build-nscd) = yes] as well.
12949 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
12950
3cc3ef96
RM
12951 [BZ# 13696]
12952 * configure.in (use_nscd): New substituted variable, set by
12953 --disable-nscd. If enabled, define USE_NSCD.
12954 * configure: Regenerated.
12955 * config.h.in: Add USE_NSCD.
12956 * config.make.in (use-nscd): New substituted variable.
12957 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
12958 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
12959 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
12960 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
12961 (CFLAGS-getgrnam_r.c): Likewise.
12962 (CFLAGS-initgroups.c): Likewise.
12963 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
12964 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
12965 Variables removed.
12966 * inet/getnetgrent_r.c
12967 (nscd_setnetgrent): New function, broken out of ...
12968 (setnetgrent): ... here. Call it.
12969 (innetgr): Conditionalize nscd bits on [USE_NSCD].
12970 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
12971 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
12972 * nscd/Makefile (routines, aux): Move definitions after include of
12973 Makeconfig. Conditionalize on [$(use-nscd) != no].
12974 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
12975 Conditionalize on [USE_NSCD].
12976 (is_nscd, nscd_init_cb): Likewise.
12977 (nss_load_library): Conditionalize init callback on [USE_NSCD].
12978 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
12979 * nss/nss_db/db-init.c: Likewise.
12980 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
12981 [USE_NSCD].
12982 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
12983 (make_request): Use it.
12984 (cache_valid_p): New function.
12985 (__check_pf): Use it.
12986 * NEWS: Add item for --disable-nscd.
12987
07e51550
DL
129882012-08-22 Dmitry V. Levin <ldv@altlinux.org>
12989
12990 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
12991 to support sed >= 4.2.1-20-ga9bf076.
12992 * configure: Regenerated.
12993
35a5b08b
RM
129942012-08-22 Roland McGrath <roland@hack.frob.com>
12995
12996 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
12997 Conditionalize whole body on [IREL].
12998
8479f23a
JL
129992012-08-22 Jeff Law <law@redhat.com>
13000
13001 [BZ #14505]
13002 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
13003 if the family is PF_UNSPEC.
13004
48da0b21
MF
130052012-08-22 Mike Frysinger <vapier@gentoo.org>
13006
13007 * Makerules (lib-version): Rename from V.
13008 (install-lib-nosubdir): Change V to lib-version.
13009
15d0da8c
WS
130102012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
13011
13012 [BZ #14252]
13013 * powerpc32/power6/wcschr.c: New file.
13014 * powerpc32/power6/wcscpy.c: New file.
13015 * powerpc32/power6/wcsrchr.c: New file.
13016 * powerpc64/power6/wcschr.c: New file.
13017 * powerpc64/power6/wcscpy.c: New file.
13018 * powerpc64/power6/wcsrchr.c: New file.
13019
bcca0895
MK
130202012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
13021
13022 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
13023 (two_way_short_needle): Use it.
5a4aaa33
RM
13024 * string/strstr.c (AVAILABLE1_USES_J): Define.
13025 * string/strcasestr.c: Likewise.
99677e57
MK
13026
13027 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
13028 array references.
13029 * string/strcasestr.c (TOLOWER): Make side-effect safe.
13030
400726de
MK
13031 [BZ #11607]
13032 * NEWS: Add an entry.
13033 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
13034 define their defaults.
13035 (two_way_short_needle): Detect end-of-string on-the-fly.
13036 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
13037 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
13038 * string/bug-strcasestr1.c: New test.
13039 * string/Makefile: Run it.
13040
20a71f2c
MK
130412012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
13042
13043 [BZ #11607]
13044 * string/str-two-way.h (two_way_short_needle): Optimize matching of
13045 the first character.
13046
21ad0558
RM
130472012-08-21 Roland McGrath <roland@hack.frob.com>
13048
13049 * csu/elf-init.c (__libc_csu_irel): Function removed.
13050 * csu/libc-start.c (apply_irel): New function.
13051 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
13052
0e1d9911
JM
130532012-08-21 Joseph Myers <joseph@codesourcery.com>
13054
13055 * sysdeps/unix/sysv/linux/kernel-features.h
13056 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
13057 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
13058 <kernel-features.h>.
13059 [__NR_fadvise64_64]: Make code unconditional.
13060 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
13061 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
13062 !__NR_fadvise64_64)]: Likewise.
13063 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
13064 !__NR_fadvise64_64))]: Likewise.
13065 [__NR_fadvise64]: Make code unconditional.
13066 [!__NR_fadvise64]: Remove conditional code.
13067 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
13068 <kernel-features.h>.
13069 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13070 unconditional.
13071 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13072 conditional code.
13073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
13074 not include <kernel-features.h>.
13075 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13076 unconditional.
13077 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13078 conditional code.
13079 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
13080 include <kernel-features.h>.
13081 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13082 unconditional.
13083 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13084 conditional code.
13085
14a50c9d
WS
130862012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
13087
13088 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
13089 slight instruction rearrangements per scrollpipe analysis.
13090 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
13091
c0f4faf0
RM
130922012-08-20 Roland McGrath <roland@hack.frob.com>
13093
696da859
RM
13094 * manual/syslog.texi (syslog; vsyslog, closelog):
13095 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
13096 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
13097
c0f4faf0
RM
13098 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
13099 DSOCAPS to match condition on defining it.
13100
348363b2
JM
131012012-08-20 Joseph Myers <joseph@codesourcery.com>
13102
a35cbf28
JM
13103 * sysdeps/unix/sysv/linux/kernel-features.h
13104 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
13105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
13106 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13107 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
13109 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13110 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
13112 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13113 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13114
445f7ecd
JM
13115 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
13116 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
13117
348363b2
JM
13118 * sysdeps/unix/sysv/linux/kernel-features.h
13119 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
13120 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
13121 unconditional.
13122 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13123 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
13124 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
13125 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13126 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
13127 Make code unconditional.
13128 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13129 (__mmap64) [!__NR_mmap2]: Likewise.
13130 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
13131 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
13132 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13133 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
13134 [__NR_mmap2]: Make code unconditional.
13135 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13136 (__mmap64) [!__NR_mmap2]: Likewise.
13137
bc5bc0e5
AK
131382012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13139
13140 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
13141
88d506de
AJ
131422012-08-18 Andreas Jaeger <aj@suse.de>
13143
13144 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
13145
493387d2
MF
131462012-08-18 Mike Frysinger <vapier@gentoo.org>
13147
13148 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
13149 * include/unistd.h (__have_sock_cloexec): Likewise.
13150 (__have_pipe2): Likewise.
13151 (__have_dup3): Likewise.
13152
a277af22
MF
131532012-08-18 Mike Frysinger <vapier@gentoo.org>
13154
13155 [BZ #9685]
13156 * include/unistd.h (__have_pipe2): Change define into an extern int.
13157 (__have_dup3): Likewise.
13158 * socket/have_sock_cloexec.c: Include fcntl.h.
13159 (__have_pipe2): New variable.
13160 (__have_dup3): Likewise.
13161
fdab8fd3
MF
131622012-08-17 Mike Frysinger <vapier@gentoo.org>
13163
13164 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
13165
31035e80
MP
131662012-08-17 Marek Polacek <polacek@redhat.com>
13167
13168 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
13169 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
13170
3bd9e993
RM
131712012-08-17 Roland McGrath <roland@hack.frob.com>
13172
c91c505f
RM
13173 * configure.in: Add AC_SUBST for sysheaders.
13174 * configure: Regenerated.
13175 * config.make.in (sysheaders): New substituted variable.
13176
7c6f9d53
RM
13177 * sysdeps/unix/mkfifo.c: Moved ...
13178 * sysdeps/posix/mkfifo.c: ... here.
13179 * sysdeps/unix/mkfifoat.c: Moved ...
13180 * sysdeps/posix/mkfifoat.c: ... here.
13181
13182 * sysdeps/unix/utime.c: Moved ...
13183 * sysdeps/posix/utime.c: ... here.
13184
13185 * sysdeps/unix/time.c: Moved ...
13186 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
13187 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
13188 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
13189
13190 * sysdeps/unix/nice.c: Moved ...
13191 * sysdeps/posix/nice.c: ... here.
13192
13193 * sysdeps/unix/alarm.c: Moved ...
13194 * sysdeps/posix/alarm.c: ... here.
13195
3bd9e993
RM
13196 * intl/Makefile ($(codeset_mo)): Depend on the input file.
13197
d1f09384
JL
131982012-08-17 Jeff Law <law@redhat.com>
13199
13200 * intl/Makefile (codeset_mo): New variable.
13201 ($(codeset_mo)): New target.
13202 (tst-codeset.out): Depend on that. Remove explicit rule.
13203 (tst-gettext3.out, tst-gettext5.out): Likewise.
13204 (LOCPATH-ENV, tst-codeset-ENV): New variables.
13205 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
13206 * intl/tst-codeset.sh: Remove.
13207 * intl/tst-gettext3.sh: Likewise.
13208 * intl/tst-gettext5.sh: Likewise.
13209
2ae1ae5c
RM
132102012-08-17 Roland McGrath <roland@hack.frob.com>
13211
c31fdb83
RM
13212 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
13213 * sysdeps/unix/syscalls.list: ... here.
13214
a0844057
RM
13215 * sysdeps/posix/getaddrinfo.c
13216 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
13217 (gaiconf_init, gaiconf_reload): Use them.
13218 [!_STATBUF_ST_NSEC]
13219 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
13220 Define using time_t rather than struct timespec.
13221
750c1f2a
RM
13222 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
13223 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
13224 Macros removed.
13225 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
13226 [!NO_THREADS].
13227 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
13228 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
13229 Likewise.
13230
2ae1ae5c
RM
13231 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
13232 __libc_cleanup_push argument.
13233
e66a42f5
RM
13234 * bits/param.h: New file.
13235 * misc/sys/param.h: New file.
13236 * include/sys/param.h: New file.
13237 * misc/Makefile (headers): Add bits/param.h.
13238 * sysdeps/generic/sys/param.h: File removed.
13239 * sysdeps/unix/sysv/linux/bits/param.h: New file.
13240 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
13241 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 13242 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 13243
b7c08a66
RM
13244 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
13245 last change.
13246
b2e1c562
RM
13247 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
13248 [_IO_MTSAFE_IO].
13249 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
13250 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
13251 New macros.
13252
c75ccd4c
RM
13253 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
13254 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
13255 rather than -D_IO_MTSAFE_IO conditionally.
13256 * stdio-common/Makefile (CPPFLAGS): Likewise.
13257 * wcsmbs/Makefile (CPPFLAGS): Likewise.
13258 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
13259 Use $(libio-mtsafe).
13260 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
13261 of -D_IO_MTSAFE_IO.
13262 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
13263 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
13264 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
13265 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
13266 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
13267 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
13268 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
13269 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
13270 (CFLAGS-fread_u_chk.c): Likewise.
13271 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
13272 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
13273 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
13274 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
13275 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
13276 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
13277 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
13278 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
13279 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
13280
13281 * libio/Makefile: Test [$(libc-reentrant) = yes]
13282 instead of [$(filter %REENTRANT, $(defines)) nonempty].
13283
13284 * Makeconfig
13285 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
13286 * sysdeps/pthread/configure: File removed.
13287 * sysdeps/pthread/Makeconfig: New file.
13288 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
13289 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
13290
d9195db8
GB
132912012-08-16 Gary Benson <gbenson@redhat.com>
13292
13293 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
13294 unmapping the first object in a namespace.
13295
86466cd9
RM
132962012-08-16 Roland McGrath <roland@hack.frob.com>
13297
13298 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
13299 (__internal_setnetgrent): ... this. Add internal_function to
13300 definition. Add libc_hidden_def.
13301 (setnetgrent): Update caller.
13302 (internal_endnetgrent): Renamed to ...
13303 (__internal_endnetgrent): ... this. Add internal_function to
13304 definition. Add libc_hidden_def.
13305 (endnetgrent): Update caller.
13306 (internal_getnetgrent_r): Renamed to ...
13307 (__internal_getnetgrent_r): ... this. Add internal_function to
13308 definition. Add libc_hidden_def.
13309 (__getnetgrent_r): Update caller.
13310 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
13311
c3c8283c
JM
133122012-08-16 Joseph Myers <joseph@codesourcery.com>
13313
13314 * stdlib/longlong.h: Update from GCC.
13315
db1ee0a8
RM
133162012-08-16 Roland McGrath <roland@hack.frob.com>
13317
13318 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
13319 on _QL, which is set by umul_ppmm but never used.
13320 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
13321 variables, which are set by GMP macros but never used.
13322 * stdio-common/_itowa.c (_itowa): Likewise.
13323 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
13324 * stdlib/mod_1.c (mpn_mod_1): Likewise.
13325
30f69637
CD
133262012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
13327
13328 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
13329 struct La_sh_regs is not constant.
13330 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
13331 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
13332 and struct La_sparc64_regs are not constant.
13333
93a78ac4
JM
133342012-08-16 Joseph Myers <joseph@codesourcery.com>
13335
13336 * sysdeps/unix/sysv/linux/kernel-features.h
13337 (__ASSUME_POSIX_TIMERS): Remove.
13338 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13339 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13340 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
13341 Make code unconditional.
13342 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13343 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
13344 Make code unconditional.
13345 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13346 * sysdeps/unix/sysv/linux/clock_nanosleep.c
13347 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
13348 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13349 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
13350 Make code unconditional.
13351 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13352 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
13353 (__libc_missing_posix_timers): Remove.
13354
dd924cd7
RM
133552012-08-15 Roland McGrath <roland@hack.frob.com>
13356
4b4f2771
RM
13357 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
13358 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
13359
601c888b
RM
13360 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
13361
176790a7
RM
13362 * elf/dl-sym.c: Include <stdlib.h>.
13363
329bc018
RM
13364 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
13365 constants, which avoids warnings in 32-bit builds.
13366
e04e272d
RM
13367 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
13368 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
13369
952bf94a
RM
13370 * misc/lseek.c: File moved to ...
13371 * io/lseek.c: ... here.
13372
7c99b50a
RM
13373 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
13374
dd924cd7
RM
13375 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
13376 shifting LEN more than 31 bits at once.
13377
b3f479a8
LD
133782012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13379
13380 [BZ #14195]
8c4ae0d4
RM
13381 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
13382 segmentation fault for a case of two empty input strings.
b3f479a8
LD
13383 * string/test-strncasecmp.c (check1): Renamed to...
13384 (bz12205): ...this.
13385 (bz14195): Add new testcase for two empty input strings and N > 0.
13386 (test_main): Call new testcase, adapt for renamed function.
13387
9c55864e
AJ
133882012-08-15 Andreas Jaeger <aj@suse.de>
13389
13390 [BZ #14090]
13391 * crypt/md5test2.c: New test, based on test supplied by Serge
13392 Belyshev <belyshev@depni.sinp.msu.ru>.
13393 * crypt/Makefile (xtests): Add md5test-giant..
13394 * crypt/Makefile ($(objpfx)md5test-giant): Add.
13395
02dcb6c5
PE
133962012-08-15 Paul Eggert <eggert@cs.ucla.edu>
13397
13398 [BZ #14090]
13399 * crypt/md5.c (md5_process_block): Don't assume the buffer
13400 length is less than 2**32.
13401 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
13402 length is less than 2**64.
13403
a3f95dcc
RM
134042012-08-15 Roland McGrath <roland@hack.frob.com>
13405
be75d758
RM
13406 * string/str-two-way.h: Include <sys/param.h>.
13407 (MAX): Macro removed.
13408
7312ca90
RM
13409 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
13410 Move #define and #undef of memmove to just before and after
13411 including <string.h>.
13412
9a0a5486
RM
13413 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
13414 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
13415 and after including <string.h>. Move declarations of
13416 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
13417 to before #include "string/memmove.c".
13418
67cc348d
RM
13419 * include/dirent.h: Declare __getdirentries.
13420
a3f95dcc
RM
13421 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
13422 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
13423
ca98e171
MF
134242012-08-14 Mike Frysinger <vapier@gentoo.org>
13425
13426 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
13427 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
13428 * sysdeps/i386/configure: Regenerated.
13429 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
13430 STABS_CURRENT_FILE, and STABS_FUN.
13431 (END): Remove call to STABS_FUN_END.
13432 (STABS_CURRENT_FILE1): Delete.
13433 (STABS_CURRENT_FILE): Likewise.
13434 (STABS_FUN): Likewise.
13435 (STABS_FUN_END): Likewise.
13436 (STABS_FUN2): Likewise.
13437 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
13438 * sysdeps/x86_64/configure: Regenerated.
13439
5908bf46
RM
134402012-08-14 Roland McGrath <roland@hack.frob.com>
13441
13442 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 13443 * elf/dl-lookup.c: Likewise.
5908bf46 13444
f2c05b9e
JM
134452012-08-14 Joseph Myers <joseph@codesourcery.com>
13446
13447 * sysdeps/unix/sysv/linux/kernel-features.h
13448 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
13449 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
13450 unconditionally.
13451 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
13452 unconditionally.
13453 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
13454 condition on __ASSUME_CLONE_THREAD_FLAGS.
13455
e11f5155
AJ
134562012-08-14 Andreas Jaeger <aj@suse.de>
13457
13458 * sysdeps/i386/fpu/libm-test-ulps: Update.
13459
51a9ba86
MK
134602012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
13461
2fdd4f78
AJ
13462 * include/atomic.h (atomic_exchange_and_add): Split into ...
13463 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
13464 New atomic macros.
51a9ba86 13465
ba6cba9e
MT
134662012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
13467
13468 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13469
42443a47
JL
134702012-08-13 Jeff Law <law@redhat.com>
13471
13472 * manual/stdio.texi (snprintf): Clarify handling of the trailing
13473 null byte in the output string.
13474
121dce05
JM
134752012-08-10 Joseph Myers <joseph@codesourcery.com>
13476
13477 * sysdeps/unix/sysv/linux/kernel-features.h
13478 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
13479 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
13480 (__ASSUME_ARG_MAX_STACK_BASED): Define.
13481 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
13482 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
13483 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
13484 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
13485
bf51f568
JL
134862012-08-09 Jeff Law <law@redhat.com>
13487
13488 [BZ #13939]
13489 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
13490 When avoid_arena is set, don't retry in the that arena. Pick the
13491 next one, whatever it might be.
13492 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
13493 (arena_lock): Pass in new parameter to arena_get2.
13494 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
13495 arena_get2.
13496 (__libc_malloc): Unify retrying after main arena failure with
13497 __libc_memalign version.
13498 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
13499
f85fa270
L
135002012-08-09 H.J. Lu <hongjiu.lu@intel.com>
13501
13502 [BZ #14166]
13503 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
13504 to __redirect_strstr.
13505 (__strstr_sse42): Use typeof __redirect_strstr.
13506 (__strstr_ia32): Likewise.
13507 (__libc_strstr): New prototype.
13508 (strstr): Renamed to ...
13509 (__libc_strstr): This.
13510 (strstr): New strong alias of __libc_strstr.
13511 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
13512 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
13513 __redirect_time.
13514 Include <time.h>.
13515 (__libc_time): New prototype.
13516 (time_ifunc): Replace time with __libc_time.
13517 (time): New strong alias and hidden definition of __libc_time.
13518 (__GI_time): Remove strong alias.
13519 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
13520 Include <stddef.h>.
13521 (memmove): Redefined to __redirect_memmove.
13522 (__memmove_sse2): Use typeof __redirect_memmove.
13523 (__memmove_ssse3): Likewise.
13524 (__memmove_ssse3_back): Likewise.
13525 (__libc_memmove): New prototype.
13526 (memmove): Renamed to ...
13527 (__libc_memmove): This.
13528 (memmove): New strong alias of __libc_memmove.
13529
33b4a91e
MS
135302012-08-08 Mark Salter <msalter@redhat.com>
13531
13532 * elf/elf.h
13533 (R_MN10300_TLS_GD): Define.
13534 (R_MN10300_TLS_LD): Likewise.
13535 (R_MN10300_TLS_LDO): Likewise.
13536 (R_MN10300_TLS_GOTIE): Likewise.
13537 (R_MN10300_TLS_IE): Likewise.
13538 (R_MN10300_TLS_LE): Likewise.
13539 (R_MN10300_TLS_DTPMOD): Likewise.
13540 (R_MN10300_TLS_DTPOFF): Likewise.
13541 (R_MN10300_TLS_TPOFF): Likewise.
13542 (R_MN10300_SYM_DIFF): Likewise.
13543 (R_MN10300_ALIGN): Likewise.
13544 (R_MN10300_NUM): Update.
13545
b36137f1
JM
135462012-08-08 Joseph Myers <joseph@codesourcery.com>
13547
13548 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
13549 Remove.
13550
cdd915fd
RM
135512012-08-08 Roland McGrath <roland@hack.frob.com>
13552
a2433aac
RM
13553 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
13554
cdd915fd
RM
13555 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
13556 sysdeps/unix -> sysdeps/posix move.
13557 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
13558
bf9b740a
AM
135592012-08-07 Allan McRae <allan@archlinux.org>
13560
13561 [BZ #14303]
13562 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
13563 (SUNOS_CPP): Likewise.
13564 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
13565 not found.
13566 (open_input): Call CPP using execvp.
13567
93df14ee
JM
135682012-08-07 Joseph Myers <joseph@codesourcery.com>
13569
13570 * sysdeps/unix/sysv/linux/kernel-features.h
13571 (__ASSUME_PROT_GROWSUPDOWN): Remove.
13572 (__ASSUME_NO_CLONE_DETACHED): Likewise.
13573 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
13574 (__ASSUME_WAITID_SYSCALL): Likewise.
13575 * sysdeps/unix/sysv/linux/dl-execstack.c
13576 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
13577 code unconditional.
13578 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
13579 conditional code.
13580 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
13581 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
13582 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
13583 code.
13584 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
13585 unconditional.
13586 [__ASSUME_WAITID_SYSCALL]: Likewise.
13587 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
13588
d34689de
RM
135892012-08-07 Roland McGrath <roland@hack.frob.com>
13590
a281decc
RM
13591 * sysdeps/unix/closedir.c: Renamed to ...
13592 * sysdeps/posix/closedir.c: ... here.
13593 * sysdeps/unix/dirfd.c: Renamed to ...
13594 * sysdeps/posix/dirfd.c: ... here.
13595 * sysdeps/unix/dirstream.h: Renamed to ...
13596 * sysdeps/posix/dirstream.h: ... here.
13597 * sysdeps/unix/fdopendir.c: Renamed to ...
13598 * sysdeps/posix/fdopendir.c: ... here.
13599 * sysdeps/unix/opendir.c: Renamed to ...
13600 * sysdeps/posix/opendir.c: ... here.
13601 * sysdeps/unix/readdir.c: Renamed to ...
13602 * sysdeps/posix/readdir.c: ... here.
13603 * sysdeps/unix/readdir_r.c: Renamed to ...
13604 * sysdeps/posix/readdir_r.c: ... here.
13605 * sysdeps/unix/rewinddir.c: Renamed to ...
13606 * sysdeps/posix/rewinddir.c: ... here.
13607 * sysdeps/unix/seekdir.c: Renamed to ...
13608 * sysdeps/posix/seekdir.c: ... here.
13609 * sysdeps/unix/telldir.c: Renamed to ...
13610 * sysdeps/posix/telldir.c: ... here.
13611 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
13612 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
13613 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
13614 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
13615
22895b47
RM
13616 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
13617 * bits/fcntl.h: ... here.
13618
707a53b6
RM
13619 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
13620 not 0.
13621 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
13622 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
13623 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
13624 (struct flock): Move l_start, l_len to the beginning.
13625 Use __pid_t for l_pid.
13626 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
13627 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
13628 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
13629 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
13630 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
13631 [__USE_LARGEFILE64] (struct flock64): New type.
13632 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
13633
f0bd3e25
RM
13634 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
13635 * bits/dirent.h: ... here.
13636
d34689de
RM
13637 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
13638 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
13639
6dad2c06
JM
136402012-08-07 Joseph Myers <joseph@codesourcery.com>
13641
13642 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
13643 Change from 2.6.0 to 2.6.16.
13644 * sysdeps/unix/sysv/linux/configure: Regenerated.
13645 * sysdeps/unix/sysv/linux/kernel-features.h
13646 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
13647 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
13648 version.
13649 (__ASSUME_UTIMES): Likewise.
13650 (__ASSUME_CLONE_STOPPED): Remove.
13651 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
13652 architectures, not kernel version.
13653 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
13654 (__ASSUME_NO_CLONE_DETACHED): Likewise.
13655 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
13656 (__ASSUME_WAITID_SYSCALL): Likewise.
13657 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
13658 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
13659 * README: State 2.6.16 as minimum Linux kernel version. Do not
13660 refer to older versions.
13661
03af9520
RM
136622012-08-06 Roland McGrath <roland@hack.frob.com>
13663
8e49df1d
RM
13664 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
13665 Define alphasort64 as an alias.
13666 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
13667 Define versionsort64 as an alias.
13668 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
13669 Define scandir64 as an alias.
13670 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
13671 Define scandirat64 as an alias.
13672 * dirent/alphasort64.c (alphasort64):
13673 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
13674 * dirent/versionsort64.c: Likewise.
13675 * dirent/scandir64.c: Likewise.
13676 * dirent/scandirat64.c: Likewise.
13677 * sysdeps/wordsize-64/alphasort.c: File removed.
13678 * sysdeps/wordsize-64/alphasort64.c: File removed.
13679 * sysdeps/wordsize-64/scandir.c: File removed.
13680 * sysdeps/wordsize-64/scandir64.c: File removed.
13681 * sysdeps/wordsize-64/scandirat.c: File removed.
13682 * sysdeps/wordsize-64/scandirat64.c: File removed.
13683 * sysdeps/wordsize-64/versionsort.c: File removed.
13684 * sysdeps/wordsize-64/versionsort64.c: File removed.
13685 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
13686 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
13687 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
13688 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
13689 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
13690 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
13691 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
13692 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
13693
13694 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
13695 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
13696 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
13697 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13698 [defined __arch64__ || defined __sparcv9]
13699 (__INO_T_MATCHES_INO64_T): New macro.
13700 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
13701 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
13702 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
13703 * sysdeps/unix/sysv/linux/bits/dirent.h
13704 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
13705 (_DIRENT_MATCHES_DIRENT64): New macro.
13706
03af9520
RM
13707 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
13708 Define lockf64 as an alias.
13709 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
13710 Define fseeko64 as an alias.
13711 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
13712 Define ftello64 as an alias.
13713 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
13714 Define _IO_fgetpos64 and fgetpos64 as aliases.
13715 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
13716 Define _IO_fsetpos64 and fsetpos64 as aliases.
13717 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
13718 Conditionalize body on this.
13719 * libio/fseeko64.c: Likewise.
13720 * libio/ftello64.c: Likewise.
13721 * libio/iofgetpos64.c: Likewise.
13722 * libio/iofsetpos64.c: Likewise.
13723 * sysdeps/wordsize-64/lockf.c: File removed.
13724 * sysdeps/wordsize-64/lockf64.c: File removed.
13725 * sysdeps/wordsize-64/fseeko.c: File removed.
13726 * sysdeps/wordsize-64/fseeko64.c: File removed.
13727 * sysdeps/wordsize-64/ftello.c: File removed.
13728 * sysdeps/wordsize-64/ftello64.c: File removed.
13729 * sysdeps/wordsize-64/iofgetpos.c: File removed.
13730 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
13731 * sysdeps/wordsize-64/iofsetpos.c: File removed.
13732 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
13733 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
13734 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
13735 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
13736 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
13737 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
13738 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
13739 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
13740 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
13741 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
13742 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
13743
13744 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
13745 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
13746 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
13747 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13748 [defined __arch64__ || defined __sparcv9]
13749 (__OFF_T_MATCHES_OFF64_T): New macro.
13750 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
13751 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
13752 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13753 (__OFF_T_MATCHES_OFF64_T): New macro.
13754
c5757acd
L
137552012-08-06 H.J. Lu <hongjiu.lu@intel.com>
13756
13757 * stdlib/secure-getenv.c (__secure_getenv): Replace
13758 GLIBC_2_16 with GLIBC_2_17.
13759
3a31811e
L
137602012-08-06 H.J. Lu <hongjiu.lu@intel.com>
13761
13762 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
13763 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
13764
faa2bccb
DM
137652012-08-03 David S. Miller <davem@davemloft.net>
13766
13767 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13768
85fe1997
JM
137692012-08-03 Joseph Myers <joseph@codesourcery.com>
13770
13771 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
13772 Remove.
13773 (__ASSUME_CORRECT_SI_PID): Likewise.
13774 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
13775 (__ASSUME_TMPFS_NAME): Likewise.
13776 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
13777 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
13778 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
13779 (HAVE_AUX_SECURE): Make definition unconditional.
13780 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
13781 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
13782
4f75b7a0
RM
137832012-08-03 Roland McGrath <roland@hack.frob.com>
13784
13785 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
13786 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
13787 * sysdeps/mach/hurd/eloop-threshold.h: New file.
13788 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
13789 __eloop_threshold instead of SYMLOOP_MAX.
13790
13791 * sysdeps/generic/eloop-threshold.h: New file.
13792 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
13793 of MAXSYMLINKS.
13794 * elf/chroot_canon.c (chroot_canon): Likewise.
13795
7aab07e4
JM
137962012-08-03 Joseph Myers <joseph@codesourcery.com>
13797
13798 [BZ #13717]
13799 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
13800 Change to 2.6.0 everywhere.
13801 * sysdeps/unix/sysv/linux/configure: Regenerated.
13802 * sysdeps/unix/sysv/linux/kernel-features.h
13803 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
13804 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
13805 kernel versions.
13806 (__ASSUME_POSIX_TIMERS): Define unconditionally.
13807 (__ASSUME_FUTEX_REQUEUE): Remove.
13808 (__ASSUME_STATFS64): Define unconditionally.
13809 (__ASSUME_AT_SECURE): Likewise.
13810 (__ASSUME_CORRECT_SI_PID): Likewise.
13811 (__ASSUME_TGKILL): Define without depending on kernel version for
13812 i386.
13813 (__ASSUME_UTIMES): Likewise.
13814 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
13815 kernel version.
13816 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
13817 (__ASSUME_TMPFS_NAME): Likewise.
13818 * README: Update reference to Linux kernel versions.
13819
b67e9372
MP
138202012-08-02 Marek Polacek <polacek@redhat.com>
13821
1f529f7d 13822 [BZ# 14150]
b67e9372
MP
13823 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
13824 libc_cv_asm_type_prefix with %.
13825 * configure: Regenerated.
d2441631
RM
13826 * include/libc-symbols.h: Remove comment about
13827 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
13828 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
13829 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
13830 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
13831 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
13832 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
13833 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
13834 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
13835 * elf/tst-unique2mod1.c: Likewise.
13836 * elf/tst-unique1mod2.c: Likewise.
13837 * elf/tst-unique1mod1.c: Likewise.
13838 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
13839 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
13840 Replace ASM_TYPE_DIRECTIVE with .type.
13841 * sysdeps/s390/s390-64/sysdep.h: Likewise.
13842 * sysdeps/i386/sysdep.h: Likewise.
13843 * sysdeps/x86_64/sysdep.h: Likewise.
13844 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
13845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
13846 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 13847 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
13848 * sysdeps/powerpc/powerpc32/sysdep.h:
13849 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
13850 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
13851 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
13852 * sysdeps/i386/fpu/e_powf.S: Likewise.
13853 * sysdeps/i386/fpu/e_expl.S: Likewise.
13854 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
13855 * sysdeps/i386/fpu/e_acosh.S: Likewise.
13856 * sysdeps/i386/fpu/e_pow.S: Likewise.
13857 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
13858 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
13859 * sysdeps/i386/fpu/s_expm1.S: Likewise.
13860 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
13861 * sysdeps/i386/fpu/e_log2.S: Likewise.
13862 * sysdeps/i386/fpu/e_log2l.S: Likewise.
13863 * sysdeps/i386/fpu/e_scalb.S: Likewise.
13864 * sysdeps/i386/fpu/e_powl.S: Likewise.
13865 * sysdeps/i386/fpu/e_log10f.S: Likewise.
13866 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
13867 * sysdeps/i386/fpu/e_logl.S: Likewise.
13868 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
13869 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
13870 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
13871 * sysdeps/i386/fpu/e_log2f.S: Likewise.
13872 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
13873 * sysdeps/i386/fpu/e_log.S: Likewise.
13874 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
13875 * sysdeps/i386/fpu/e_logf.S: Likewise.
13876 * sysdeps/i386/fpu/e_log10l.S: Likewise.
13877 * sysdeps/i386/fpu/e_atanh.S: Likewise.
13878 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
13879 * sysdeps/i386/fpu/e_log10.S: Likewise.
13880 * sysdeps/i386/fpu/s_frexp.S: Likewise.
13881 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
13882 * sysdeps/i386/fpu/s_asinh.S: Likewise.
13883 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
13884 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
13885 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
13886 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
13887 * sysdeps/i386/i686/strtok.S: Likewise.
13888 * sysdeps/i386/i386-mcount.S: Likewise.
13889 * sysdeps/i386/strtok.S: Likewise.
13890 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
13891 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
13892 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13893 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
13894 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
13895 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
13896 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
13897 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
13898 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
13899 * sysdeps/x86_64/_mcount.S: Likewise.
13900 * sysdeps/x86_64/strtok.S: Likewise.
13901 * sysdeps/sh/_mcount.S: Likewise.
13902
2747bf9a
RM
139032012-08-01 Roland McGrath <roland@hack.frob.com>
13904
13905 * libio/iofopen.c: Include <fcntl.h>.
13906 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
13907 (_IO_fopen64, fopen64): Define as aliases.
13908 * libio/iofopen64.c: Include <fcntl.h>.
13909 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
13910 Conditionalize body on this.
13911 * sysdeps/wordsize-64/iofopen.c: File removed.
13912 * sysdeps/wordsize-64/iofopen64.c: File removed.
13913
3fb791b8
MP
139142012-08-01 Marek Polacek <polacek@redhat.com>
13915
13916 * libc/Makeconfig: Use elf in place of binfmt-subdir.
13917 Use dlfcn directly instead of a variable.
13918 (binfmt-subdir): Do not define.
13919 (dlfcn): Likewise.
13920
a9f1039f
JM
139212012-08-01 Joseph Myers <joseph@codesourcery.com>
13922
23bddc06
JM
13923 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
13924 Remove all definitions.
13925 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
13926 <kernel-features.h>.
13927 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
13928 (miss_F_GETOWN_EX): Remove all definitions.
13929 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
13930 macro definition.
13931 [!__ASSUME_FCNTL64]: Remove conditional code.
13932 [__ASSUME_FCNTL64]: Make code unconditional.
13933 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
13934 <kernel-features.h>.
13935 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
13936 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
13937 (lockf64) [__NR_fcntl64]: Make code unconditional.
13938 (lockf64) [__ASSUME_FCNTL64]: Likewise.
13939
a9f1039f
JM
13940 * sysdeps/unix/sysv/linux/kernel-features.h
13941 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
13942 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
13943 Make code unconditional.
13944 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
13945 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
13946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
13947 [__NR_vfork]: Make code unconditional.
13948 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
13949 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
13950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
13951 [__NR_vfork]: Make code unconditional.
13952 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
13953 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
13954
09c0ee5f
RM
139552012-08-01 Roland McGrath <roland@hack.frob.com>
13956
48aec5b9
RM
13957 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
13958 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
13959
cd97c966
RM
13960 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
13961 Define mkstemp64 as an alias.
3f55550c
RM
13962 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
13963 Define mkstemps64 as an alias.
cd97c966
RM
13964 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
13965 Define mkostemp64 as an alias.
b8625cfc
RM
13966 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
13967 Define mkostemps64 as an alias.
cd97c966
RM
13968 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
13969 Conditionalize body on this.
13970 * misc/mkostemp64.c: Likewise.
b8625cfc 13971 * misc/mkostemps64.c: Likewise.
3f55550c 13972 * misc/mkstemps64.c: Likewise.
cd97c966
RM
13973 * sysdeps/wordsize-64/mkstemp64.c: File removed.
13974 * sysdeps/wordsize-64/mkostemp64.c: File removed.
13975 * sysdeps/wordsize-64/mkostemp.c: File removed.
13976 * sysdeps/wordsize-64/mkstemp.c: File removed.
13977 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
13978 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
13979 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
13980 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
13981
09c0ee5f
RM
13982 [BZ #14138]
13983 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
13984 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
13985 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
13986 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
13987
13988 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
13989 compat_symbol macros from <shlib-compat.h> rather than the underlying
13990 default_symbol_version and symbol_version macros, so that DEFAULT
13991 lines in shlib-versions are respected.
13992 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
13993
7e66ee51
FW
139942012-08-01 Florian Weimer <fweimer@redhat.com>
13995
13996 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
13997 Declare with warn_unused_result.
13998 (setgid, setregid, setegid, setresgid): Likewise.
13999 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
14000 Likewise.
14001 * WUR-REPORT: Remove set*id functions.
14002
d2a54255
PT
140032012-07-31 Pino Toscano <toscano.pino@tiscali.it>
14004
14005 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
14006
7ecdb005
RM
140072012-07-31 Roland McGrath <roland@hack.frob.com>
14008
b4180a5e 14009 [BZ #10191]
789bd351
RM
14010 * include/sys/socket.h (__libc_accept, __libc_accept4):
14011 Add attribute_hidden.
14012 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
14013
40ce302d
RM
14014 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
14015 use of PTR_MANGLE.
14016 * inet/getnetgrent_r.c (setup): Likewise.
14017
7ecdb005
RM
14018 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
14019
e2eabb2c
DM
140202012-07-31 David S. Miller <davem@davemloft.net>
14021
14022 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14023
d0419dbf
JM
140242012-07-31 Joseph Myers <joseph@codesourcery.com>
14025
14026 [BZ #13629]
14027 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
14028 value between 1.0 and 2.0 and smaller part has absolute value less
14029 than 1.0.
14030 * math/s_clog10.c (__clog10): Likewise.
14031 * math/s_clog10f.c (__clog10f): Likewise.
14032 * math/s_clog10l.c (__clog10l): Likewise.
14033 * math/s_clogf.c (__clogf): Likewise.
14034 * math/s_clogl.c (__clogl): Likewise.
14035 * math/libm-test.inc (clog_test): Add more tests.
14036 (clog10_test): Likewise.
14037 * sysdeps/i386/fpu/libm-test-ulps: Update.
14038 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14039
2bc13872
FW
140402012-07-31 Florian Weimer <fweimer@redhat.com>
14041
14042 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
14043 Exit with zero in case no suitable GID is found, and write a
14044 message to standard error.
14045
bea9b193
RM
140462012-07-30 Roland McGrath <roland@hack.frob.com>
14047
14048 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
14049 rather than to 1.
14050 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
14051 (MAXPATHLEN): Removed.
14052 (NOGROUP, NODEV): New macros.
14053 (setbit, clrbit, isset, isclr): New macros.
14054 (howmany, roundup, powerof2): New macros.
14055 (DEV_BSIZE): New macro.
14056
14057 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
14058 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
14059
14060 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
14061 definition on [!__NO_LONG_DOUBLE_MATH].
14062
14063 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
14064 PTR_MANGLE and PTR_DEMANGLE.
14065
14066 * socket/accept4.c (accept4): Rename to __libc_accept4.
14067 Define accept4 as a weak alias.
14068
14069 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
14070 on [_DIRENT_HAVE_D_TYPE].
14071 * io/ftw.c (ftw_dir): Likewise.
14072
14073 * io/xmknod.c (__xmknod): Don't check PATH for being null.
14074
14075 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
14076
14077 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
14078 Use the BSD numbers rather than the arbitrary ones we had.
14079 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
14080 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
14081 (SIGXCPU, SIGXFSZ): New macros.
14082 (_NSIG): Now 32.
14083
14084 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
14085 initializer on [_LIBC_REENTRANT].
14086
14087 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
14088 definitions inside [_POSIX_MAPPED_FILES].
14089
14090 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
14091
14092 * dirent/opendir.c: Include <fcntl.h>.
14093
14094 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
14095 (__libc_getspecific): Likewise.
14096 (__libc_key_create): Likewise.
14097
14098 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
14099 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
14100 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
14101 (tmpfile64): Define as alias.
14102 * sysdeps/wordsize-64/tmpfile.c: File removed.
14103 * sysdeps/wordsize-64/tmpfile64.c: File removed.
14104 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
14105 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
14106
14107 * stdio-common/vfscanf.c: Include <stdbool.h>.
14108 * nss/makedb.c: Likewise.
14109 * stdio-common/_i18n_number.h: Likewise.
14110 * argp/argp-help.c: Likewise.
14111 * posix/wordexp.c: Likewise.
14112 * sysdeps/posix/spawni.c: Likewise.
14113 * nss/nss_files/files-initgroups.c: Likewise.
14114 * stdio-common/reg-modifier.c: Include <stdlib.h>.
14115 * nss/nss_files/files-initgroups.c: Likewise.
14116 * nss/nss_db/db-netgrp.c: Likewise.
14117 * nss/nss_db/db-initgroups.c: Likewise.
14118 * io/fchmodat.c: Include <sys/stat.h>.
14119
14120 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
14121 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
14122
14123 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
14124 [HAVE_MMAP].
14125
14126 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
14127 Add multiple inclusion protection.
14128
e5abc686
DM
141292012-07-27 David S. Miller <davem@davemloft.net>
14130
14131 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14132
815e6fa3
GB
141332012-07-27 Gary Benson <gbenson@redhat.com>
14134
14135 [BZ #14298]
14136 * elf/rtld.c: Include <stap-probe.h>.
14137 (dl_main): Added static probes "init_start" and "init_complete".
14138 * elf/dl-load.c: Include <stap-probe.h>.
14139 (lose): Take new parameter "nsid".
14140 Added static probe "map_failed".
14141 (_dl_map_object_from_fd): Pass namespace id to lose.
14142 Added static probe "map_start".
14143 (open_verify): Pass namespace id to lose.
14144 * elf/dl-open.c: Include <stap-probe.h>.
14145 (dl_open_worker) Added static probes "map_complete", "reloc_start"
14146 and "reloc_complete".
14147 * elf/dl-close.c: Include <stap-probe.h>.
14148 (_dl_close_worker): Added static probes "unmap_start" and
14149 "unmap_complete".
14150 * elf/rtld-debugger-interface.txt: New file documenting the above.
14151
9f98c16c
RM
141522012-07-26 Roland McGrath <roland@hack.frob.com>
14153
14154 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
14155 rather than a string variable.
14156 * sunrpc/rpc_main.c (h_output): Likewise.
14157 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
14158
f3c22df3
PT
141592012-07-26 Pino Toscano <toscano.pino@tiscali.it>
14160
14161 * inet/check_native.c: New file.
14162
3129cfc6
JM
141632012-07-26 Joseph Myers <joseph@codesourcery.com>
14164
da865e95
JM
14165 [BZ #13629]
14166 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
14167 if larger part has absolute value 1.0.
14168 * math/s_clog10.c (__clog10): Likewise.
14169 * math/s_clog10f.c (__clog10f): Likewise.
14170 * math/s_clog10l.c (__clog10l): Likewise.
14171 * math/s_clogf.c (__clogf): Likewise.
14172 * math/s_clogl.c (__clogl): Likewise.
14173 * math/libm-test.inc (clog_test): Add more tests.
14174 (clog10_test): Likewise.
14175 * sysdeps/i386/fpu/libm-test-ulps: Update.
14176 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14177
3129cfc6
JM
14178 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
14179 (pltexit): Likewise.
14180 (La_regs): Likewise.
14181 (La_retval): Likewise.
14182 (int_retval): Likewise.
14183 Update #error for removed macros to refer only to definitions in
14184 tst-audit.h.
14185 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
14186 macro.
14187 (pltexit): Likewise.
14188 (La_regs): Likewise.
14189 (La_retval): Likewise.
14190 (int_retval): Likewise.
14191 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
14192 macro.
14193 (pltexit): Likewise.
14194 (La_regs): Likewise.
14195 (La_retval): Likewise.
14196 (int_retval): Likewise.
14197 * elf/tst-auditmod5b.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-auditmod6b.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-auditmod6c.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-auditmod7b.c (pltenter): Remove all definitions of
14216 macro.
14217 (pltexit): Likewise.
14218 (La_regs): Likewise.
14219 (La_retval): Likewise.
14220 (int_retval): Likewise.
14221 * sysdeps/generic/tst-audit.h: Update comment to refer only to
14222 macro definitions in tst-audit.h.
14223 * sysdeps/i386/tst-audit.h: New file.
14224 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
14225 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
14226 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
14227 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
14228 * sysdeps/sh/tst-audit.h: Likewise.
14229 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
14230 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
14231 * sysdeps/x86_64/tst-audit.h: Likewise.
14232
bfc07087
AJ
142332012-07-26 Andreas Jaeger <aj@suse.de>
14234
b1b2aaf8
AJ
14235 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
14236 ptrace.
14237
14238 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
14239 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
14240 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
14241 PTRACE_O_MASK.
14242 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
14243 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
14244 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
14245
bfc07087
AJ
14246 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
14247 value.
14248
14249 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
14250 _sigsys.
14251 (si_call_addr, si_syscall, si_arch): Define new macro.
14252 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
14253 _sigsys.
14254 (si_call_addr, si_syscall, si_arch): Define new marcro.
14255 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
14256 _sigsys.
14257 (si_call_addr, si_syscall, si_arch): Define new macro.
14258 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
14259 _sigsys.
14260 (si_call_addr, si_syscall, si_arch): Define new macro.
14261
89b4b02f
JM
142622012-07-25 Joseph Myers <joseph@codesourcery.com>
14263
14264 [BZ #13717]
14265 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14266 Change to 2.4.21 where previously 2.4.1.
14267 * sysdeps/unix/sysv/linux/configure: Regenerated.
14268 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
14269 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
14270 Linux kernel version.
14271 (__ASSUME_STD_AUXV): Remove.
14272 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
14273 kernel version.
14274 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
14275 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
14276 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
14277 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
14278 (__ASSUME_NETLINK_SUPPORT): Likewise.
14279 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
14280 (__no_netlink_support): Remove conditional definition.
14281 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
14282 Remove.
14283 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
14284 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
14285 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
14286 (if_nameindex_ioctl): Remove.
14287 (if_nameindex_netlink): Do not handle __no_netlink_support.
14288 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
14289 code.
14290 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
14291 Remove conditional code.
14292 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
14293 code.
14294 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
14295 unconditional.
14296 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
14297 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
14298 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
14299 Remove.
14300 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
14301 [!__ASSUME_STD_AUXV]: Remove conditional code.
14302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
14303 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
14304 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
14305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
14306 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
14307 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
14308 code.
14309 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
14310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14311 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
14312 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
14313 conditional code.
14314 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
14315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
14316 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
14317 code.
14318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14319 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
14320 conditional code.
14321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
14322 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14323 code unconditional.
14324 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14325 conditional code.
14326 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14327 unconditional.
14328 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14329 conditional code.
14330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14331 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14332 unconditional.
14333 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14334 conditional code.
14335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
14336 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14337 code unconditional.
14338 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14339 conditional code.
14340 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14341 unconditional.
14342 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14343 conditional code.
14344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
14345 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14346 code unconditional.
14347 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14348 conditional code.
14349 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14350 unconditional.
14351 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14352 conditional code.
14353
842a39cd
AS
143542012-07-25 Andreas Schwab <schwab@linux-m68k.org>
14355
14356 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
14357 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
14358 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
14359 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
14360 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
14361 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
14362 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
14363 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
14364 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
14365 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
14366 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
14367 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
14368 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
14369 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
14370 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
14371 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
14372 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
14373 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
14374 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
14375 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
14376 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
14377 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
14378 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
14379
84b3fd84
FW
143802012-07-25 Florian Weimer <fweimer@redhat.com>
14381
14382 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
14383 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
14384 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
14385 Introduce __libc_secure_getenv.
0c7936d5
FW
14386 * stdlib/Versions (2.17): Add secure_getenv
14387 (GLIBC_PRIVATE): Add __libc_secure_getenv.
14388 * stdlib/secure-getenv.c: Rename __secure_getenv to
14389 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
14390 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
14391 * stdlib/tst-secure-getenv.c: New.
14392 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
14393 * manual/startup.texi (Environment Access): Document
14394 secure_getenv.
84b3fd84
FW
14395 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
14396 __libc_secure_getenv.
14397 * inet/ruserpass.c (ruserpass): Likewise.
14398 * malloc/mtrace.c (mtrace): Likewise.
14399 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 14400 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
14401 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
14402 * sysdeps/posix/tempname.c: Likewise. Evaluate
14403 HAVE_SECURE_GETENV.
14404 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 14405 __secure_getenv to __libc_secure_getenv.
84b3fd84 14406 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
14407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14408 Likewise.
14409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14410 Likewise.
14411 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
14412 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
14413 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
14414 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
14415 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
14416 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
14417 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 14418
56e49b71
JM
144192012-07-25 Joseph Myers <joseph@codesourcery.com>
14420
14421 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
14422 (struct La_i86_retval): Likewise.
14423 (struct La_x86_64_regs): Likewise.
14424 (struct La_x86_64_retval): Likewise.
14425 (struct La_x32_regs): Likewise.
14426 (struct La_x32_retval): Likewise.
14427 (struct La_ppc32_regs): Likewise.
14428 (struct La_ppc32_retval): Likewise.
14429 (struct La_ppc64_regs): Likewise.
14430 (struct La_ppc64_retval): Likewise.
14431 (struct La_sh_regs): Likewise.
14432 (struct La_sh_retval): Likewise.
14433 (struct La_s390_32_regs): Likewise.
14434 (struct La_s390_32_retval): Likewise.
14435 (struct La_s390_64_regs): Likewise.
14436 (struct La_s390_64_retval): Likewise.
14437 (struct La_sparc32_regs): Likewise.
14438 (struct La_sparc32_retval): Likewise.
14439 (struct La_sparc64_regs): Likewise.
14440 (struct La_sparc64_retval): Likewise.
14441 (struct audit_ifaces): Remove architecture-specific pltenter and
14442 pltexit members.
14443 * sysdeps/i386/ldsodefs.h: New file.
14444 * sysdeps/powerpc/ldsodefs.h: Likewise.
14445 * sysdeps/s390/ldsodefs.h: Likewise.
14446 * sysdeps/sh/ldsodefs.h: Likewise.
14447 * sysdeps/sparc/ldsodefs.h: Likewise.
14448 * sysdeps/x86_64/ldsodefs.h: Likewise.
14449
354691b7
MP
144502012-07-25 Marek Polacek <polacek@redhat.com>
14451
14452 [BZ #6808]
14453 * math/libm-test.inc (yn_test): Add another test.
14454 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
14455 to ERANGE when the result is +-Inf.
14456 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
14457 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
14458 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
14459 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
14460
bf9e2071
JM
144612012-07-24 Joseph Myers <joseph@codesourcery.com>
14462
14463 * conform/data/time.h-data (NULL): Use macro-constant. Require
14464 equal to 0.
14465 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
14466 clock_t.
14467 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
14468
57633811
TS
144692012-07-23 Thomas Schwinge <thomas@codesourcery.com>
14470
14471 * configure.in <sysdeps resolving>: Correct printing
14472 Implies_before.
14473 * configure: Regenerate.
14474
c23c33b0
TS
144752012-07-22 Thomas Schwinge <thomas@codesourcery.com>
14476
14477 * math/w_ilogb.c: Include <limits.h>.
14478 * math/w_ilogbl.c: Likewise.
14479
b5982523
JM
144802012-07-20 Joseph Myers <joseph@codesourcery.com>
14481
14482 * manual/lang.texi (__va_copy): Document primarily as ISO C99
14483 va_copy. Document allowing for unavailable va_copy only as
14484 pre-C99 compatibility.
14485 * manual/string.texi (Copying and Concatenation): Use va_copy
14486 instead of __va_copy in concat example.
14487
ac4ea442
PT
144882012-07-20 Pino Toscano <toscano.pino@tiscali.it>
14489
14490 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
14491 (__sendto): Use create_address_port. Initialize APORT and deallocate
14492 it if not null.
14493
f98eafbd
PT
14494 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
14495 with O_NOLINK passed to __file_name_lookup.
14496
898c7aab
PT
14497 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
14498 with O_NOLINK passed to __file_name_lookup.
14499
0ced335a
PT
14500 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
14501 negative N or less than NGIDS.
14502
b3404dbd
PT
14503 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
14504 type to string_t. Set ERANGE as errno and return it if NAME is not big
14505 enough. Use memcpy instead of strncpy.
14506
0f48659e
JM
145072012-07-20 Joseph Myers <joseph@codesourcery.com>
14508
14509 * elf/Makefile (check-data): Remove.
14510 (localplt.data): New vpath directive.
14511 ($(objpfx)check-localplt.out): Use localplt.data from vpath
14512 instead of $(check-data).
14513 * scripts/data/localplt-generic.data: Move to ...
14514 * sysdeps/generic/localplt.data: ... here.
14515 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
14516 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
14517 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
14518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
14519 ... here.
14520 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
14521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
14522 ... here.
14523 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
14524 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
14525 ... here.
14526 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
14527 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
14528 ... here.
14529 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
14530 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
14531 ... here.
14532 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
14533 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
14534 ... here.
14535
d37cbdaa
AZ
145362012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14537
14538 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
14539 PPC32 and PPC64 files.
14540 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
14541 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
14542
46f85fc2
AK
145432012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14544
14545 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
14546 __makecontext_ret to ...
14547 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
14548 ... here and call exit if uc_link is NULL. New file.
14549 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
14550 __makecontext_ret.S.
14551 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
14552 __makecontext_ret to ...
14553 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
14554 ... here and call exit if uc_link is NULL. New file.
14555 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
14556 __makecontext_ret.S.
14557
08f43f9b
AK
145582012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14559
14560 * elf/elf.h (R_390_IRELATIVE): New definition.
14561 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
14562 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
14563 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
14564 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
14565 (elf_machine_lazy_rel): Likewise.
14566 * sysdeps/s390/dl-irel.h: New file.
14567 * sysdeps/s390/s390-64/memcpy.S: New asm code.
14568 * sysdeps/s390/s390-64/memset.S: New asm code.
14569 * sysdeps/s390/s390-64/memcmp.S: New asm code.
14570 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
14571 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
14572 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
14573 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
14574 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
14575 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
14576 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
14577 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
14578 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
14579 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
14580 * sysdeps/s390/s390-32/memcpy.S: New asm code.
14581 * sysdeps/s390/s390-32/memset.S: New asm code.
14582 * sysdeps/s390/s390-32/memcmp.S: New asm code.
14583
3b05db33
MP
145842012-07-17 Marek Polacek <polacek@redhat.com>
14585
14586 [BZ #14349]
14587 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
14588 * sysdeps/s390/s390-64/configure.in: Likewise.
14589 * sysdeps/sparc/configure.in: Likewise.
14590 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
14591 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
14592 * sysdeps/i386/configure.in: Likewise.
14593 * sysdeps/x86_64/configure.in: Likewise.
14594 * sysdeps/sh/configure.in: Likewise.
14595 * sysdeps/s390/s390-32/configure: Regenerated.
14596 * sysdeps/s390/s390-64/configure: Likewise.
14597 * sysdeps/x86_64/configure: Likewise.
14598 * sysdeps/sh/configure: Likewise.
14599 * sysdeps/powerpc/powerpc64/configure: Likewise.
14600 * sysdeps/powerpc/powerpc32/configure: Likewise.
14601 * sysdeps/sparc/configure: Likwise.
14602 * sysdeps/i386/configure: Likewise.
14603
a66877c6
MP
14604 * elf/dl-open.c: Comment fixes.
14605
cfc82fd8
JM
146062012-07-17 Joseph Myers <joseph@codesourcery.com>
14607
bd29910a
JM
14608 * Makefile [CXX] (check-data): Remove.
14609 [CXX] (c++-types.data): New vpath directive.
14610 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
14611 vpath. Do not allow for C++ type data being missing.
14612 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
14613 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
14614 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
14615 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
14616 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
14617 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
14618 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
14619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
14620 ... here.
14621 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
14622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
14623 ... here.
14624 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
14625 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
14626 ... here.
14627 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
14628 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
14629 ... here.
14630 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
14631 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
14632 ... here.
14633 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
14634 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
14635 ... here.
14636 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
14637 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
14638 ... here.
14639 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
14640 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
14641
cfc82fd8
JM
14642 * elf/tls-macros.h (TLS_LE): Move architecture-specific
14643 definitions to architecture-specific files.
14644 (TLS_IE): Likewise.
14645 (TLS_LD): Likewise.
14646 (TLS_GD): Likewise.
14647 * sysdeps/i386/tls-macros.h: New file.
14648 * sysdeps/powerpc/tls-macros.h: Likewise.
14649 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
14650 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
14651 * sysdeps/sh/tls-macros.h: Likewise.
14652 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
14653 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
14654 * sysdeps/x86_64/tls-macros.h: Likewise.
14655
f7db3170
TS
146562012-07-17 Thomas Schwinge <thomas@codesourcery.com>
14657
07cbfc23
TS
14658 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
14659 zero value for regular exit case.
14660
f7db3170
TS
14661 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
14662 (__start_context): Preserve zero value for regular exit case.
14663
dc97c227
TS
146642012-07-17 Thomas Schwinge <thomas@codesourcery.com>
14665 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14666
14667 * manual/setjmp.texi (setcontext): Clarify normal process
14668 termination when uc_link is the null pointer.
14669 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
14670 exit call.
14671
d0cd7d02
AS
146722012-07-16 Andreas Schwab <schwab@linux-m68k.org>
14673
14674 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
14675 preprocessor. Test for each exception mask separately.
14676
dd318934
AJ
146772012-07-16 Andreas Jaeger <aj@suse.de>
14678
14679 * po/ru.po: Update from translation team.
14680
8048311a
JM
146812012-07-15 Joseph Myers <joseph@codesourcery.com>
14682
14683 * conform/data/string.h-data (NULL): Use macro-constant. Require
14684 equal to 0.
14685 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
14686 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
14687 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
14688 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
14689 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14690
b637d46e
AJ
146912012-07-13 Andreas Jaeger <aj@suse.de>
14692
14693 * po/fr.po: Update from translation team.
14694
541428fe
MP
146952012-07-12 Marek Polacek <polacek@redhat.com>
14696
14697 [BZ #14173]
14698 * math/libm-test.inc (yn_test): Add test for BZ #14173.
14699 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
14700 loop condition.
14701
ec332e94
JM
147022012-07-12 Joseph Myers <joseph@codesourcery.com>
14703
14704 [BZ #13717]
14705 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14706 Change to 2.4.1 where previously 2.4.0.
14707 * sysdeps/unix/sysv/linux/configure: Regenerated.
14708 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
14709 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
14710 version.
14711 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
14712 (__ASSUME_AT_CLKTCK): Remove.
14713 (__ASSUME_AT_PAGESIZE): Likewise.
14714 (__ASSUME_AT_XID): Likewise.
14715 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
14716 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
14717 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
14718 unconditionally.
14719 (HAVE_AUX_PAGESIZE): Likewise.
14720 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
14721 [__ASSUME_AT_CLKTCK]: Make code unconditional.
14722 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
14723
7b6e99be
JB
147242012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
14725
14726 [BZ #14307]
14727 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
14728 the temporary buffer used to invoke __gethostbyname2_r,
14729 __gethostbyaddr_r and gethostbyname4_r to make room for struct
14730 host_data / struct gaih_addrtuple.
14731 * resolv/nss_dns/dns-host.c (global scope): Move definition of
14732 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
14733 header file nss/nsswitch.h.
14734 * nss/nsswitch.h (global scope): Add definition of implementation
14735 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
14736 resolv/nss_dns/dns-host.c).
14737
608404eb
AJ
147382012-07-11 Andreas Jaeger <aj@suse.de>
14739
14740 * po/fr.po: Update from translation team.
14741
71220aca
AJ
14742 * po/sv.po: Update from translation team
14743 * po/fr.po: Another update from translation team.
14744
28cfe843
AZ
147452012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14746
14747 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
14748 for subnormals or multiply small sinh result by itself.
14749 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
14750 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14751
6b90f981
DM
147522012-07-11 David S. Miller <davem@davemloft.net>
14753
14754 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14755
c6825772
AS
147562012-07-10 Andreas Schwab <schwab@linux-m68k.org>
14757
14758 [BZ #14347]
14759 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
14760 (INTERNAL_MARK): Shift it here.
14761
7b8e0d49
MP
147622012-07-10 Marek Polacek <polacek@redhat.com>
14763
14764 [BZ #14151]
14765 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
14766 libc_cv_asm_global_directive with .globl.
14767 * configure: Regenerated.
14768 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
14769 with .globl.
14770 * sysdeps/i386/configure: Regenerated.
14771 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
14772 with .globl.
14773 * sysdeps/x86_64/configure: Regenerated.
14774 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
14775 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
14776 * elf/tst-unique2mod2.c: Likewise.
14777 * elf/tst-unique2mod1.c: Likewise.
14778 * elf/tst-unique1mod2.c: Likewise.
14779 * elf/tst-unique1mod1.c: Likewise.
14780 * sysdeps/s390/s390-32/sysdep.h: Likewise.
14781 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
14782 * sysdeps/s390/s390-64/sysdep.h: Likewise.
14783 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
14784 * sysdeps/mach/sysdep.h: Likewise.
14785 * sysdeps/i386/sysdep.h: Likewise.
14786 * sysdeps/i386/i386-mcount.S: Likewise.
14787 * sysdeps/x86_64/_mcount.S: Likewise.
14788 * sysdeps/x86_64/sysdep.h: Likewise.
14789 * sysdeps/sh/_mcount.S: Likewise.
14790 * sysdeps/sh/sysdep.h: Likewise.
14791 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
14792 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
14793 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
14794 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
14795 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
14796 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
14797 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
14798 * locale/localeinfo.h: Likewise.
14799 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
14800 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
14801
6c55cda3
RM
148022012-07-09 Roland McGrath <roland@hack.frob.com>
14803
14804 [BZ #14336]
14805 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
14806 system".
14807 * manual/message.texi (The Uniforum approach): Likewise.
14808 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
14809 (glibc iconv Implementation): Likewise.
14810
638a572e
JM
148112012-07-09 Joseph Myers <joseph@codesourcery.com>
14812
14813 [BZ #14337]
14814 * math/s_clog.c (__clog): Avoid scaling a value down where that
14815 could result in underflow.
14816 * math/s_clog10.c (__clog10): Likewise.
14817 * math/s_clog10f.c (__clog10f): Likewise.
14818 * math/s_clog10l.c (__clog10l): Likewise.
14819 * math/s_clogf.c (__clogf): Likewise.
14820 * math/s_clogl.c (__clogl): Likewise.
14821 * math/libm-test.inc (clog_test): Add more tests.
14822 (clog10_test): Likewise.
14823 * sysdeps/i386/fpu/libm-test-ulps: Update.
14824 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14825
261f4859
AS
148262012-07-06 Andreas Schwab <schwab@linux-m68k.org>
14827
0abaf3e4
AS
14828 [BZ #14283]
14829 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
14830 by 7 not 8 to examine high bit of fractional part.
14831
261f4859
AS
14832 [BZ #14042]
14833 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
14834 for call to __mcount_internal.
14835 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
14836 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
14837 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
14838
f17ac40d
JM
148392012-07-06 Joseph Myers <joseph@codesourcery.com>
14840
9ad63c23
JM
14841 [BZ #14154]
14842 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
14843 approximation for values within 0x1p-13f of an odd multiple of
14844 pi/4.
14845 * math/libm-test.inc (tan_test): Do not allow spurious underflow
14846 exception. Add more tests.
14847 * sysdeps/i386/fpu/libm-test-ulps: Update.
14848
f17ac40d
JM
14849 [BZ #6778]
14850 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
14851 inputs and return -1 for them. Do not check for +Inf in case not
14852 reachable for +Inf.
14853 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
14854 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
14855 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
14856 and return -1 for them. Do not check for +Inf in case not
14857 reachable for +Inf.
14858 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
14859 define.
14860 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
14861 and return -1 for them. Do not check for +Inf in case not
14862 reachable for +Inf.
14863 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
14864 spurious underflow.
14865 * sysdeps/i386/fpu/libm-test-ulps: Update.
14866 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14867
fb21f89b
MF
148682012-07-06 Mike Frysinger <vapier@gentoo.org>
14869
14870 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
14871
cdfe2c5e
JM
148722012-07-05 Joseph Myers <joseph@codesourcery.com>
14873
14874 [BZ #14157]
14875 [BZ #14331]
14876 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
14877 could result in spurious underflow. Scale down values above
14878 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
14879 * math/s_csqrtf.c (__csqrtf): Likewise.
14880 * math/s_csqrtl.c (__csqrtl): Likewise.
14881 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
14882 spurious underflow.
14883 * sysdeps/i386/fpu/libm-test-ulps: Update.
14884 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14885
70d35b67
AS
148862012-07-04 Andreas Schwab <schwab@linux-m68k.org>
14887
704bc459
AS
14888 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
14889 xopen-msg.sed.
14890 * catgets/xopen-msg.awk: New file.
14891 * catgets/xopen-msg.sed: Removed.
14892
70d35b67
AS
14893 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
14894 po2text.sed.
14895 * intl/po2test.awk: New file.
14896 * intl/po2test.sed: Removed.
14897
ca61cf32
JM
148982012-07-04 Joseph Myers <joseph@codesourcery.com>
14899
14900 [BZ #14328]
14901 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
14902 or multiply small sinh result by itself.
14903 * math/s_ctanf.c (__ctanf): Likewise.
14904 * math/s_ctanh.c (__ctanh): Likewise.
14905 * math/s_ctanhf.c (__ctanhf): Likewise.
14906 * math/s_ctanhl.c (__ctanhl): Likewise.
14907 * math/s_ctanl.c (__ctanl): Likewise.
14908 * math/libm-test.inc (ctan_test_tonearest): New function.
14909 (ctan_test_towardzero): Likewise.
14910 (ctan_test_downward): Likewise.
14911 (ctan_test_upward): Likewise.
14912 (ctanh_test_tonearest): Likewise.
14913 (ctanh_test_towardzero): Likewise.
14914 (ctanh_test_downward): Likewise.
14915 (ctanh_test_upward): Likewise.
14916 (main): Call these new functions.
14917 * sysdeps/i386/fpu/libm-test-ulps: Update.
14918 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14919
ca48a46a
MF
149202012-07-03 Mike Frysinger <vapier@gentoo.org>
14921
14922 * .gitignore: Delete /ports entry.
14923
9d63d37d
AJ
149242012-07-03 Andreas Jaeger <aj@suse.de>
14925
14926 * po/bg.po: Update from translation team.
14927 * po/cs.po: Likewise.
14928 * po/de.po: Likewise.
14929 * po/hr.po: Likewise.
14930 * po/nl.pl: Likewise.
14931 * po/pl.po: Likewise.
14932 * po/vi.po: Likewise.
14933
370ca3d2
JM
149342012-07-03 Joseph Myers <joseph@codesourcery.com>
14935
95f5a9a8
JM
14936 * Makeconfig [!+link] (+link-before-libc): New variable.
14937 [!+link] (+link-after-libc): Likewise.
14938 [!+link] (+link-tests): Likewise.
14939 [!+link] (+link): Define in terms of $(+link-before-libc) and
14940 $(+link-after-libc).
14941 [!+link-static] (+link-static-before-libc): New variable.
14942 [!+link-static] (+link-static-after-libc): Likewise.
14943 [!+link-static] (+link-static-tests): Likewise.
14944 [!+link-static] (+link-static): Define in terms of
14945 $(+link-static-before-libc) and $(+link-static-after-libc).
14946 [build-shared] (link-libc-before-gnulib): New variable.
14947 [build-shared] (link-libc-tests): Likewise.
14948 [build-shared] (link-libc): Define in terms of
14949 $(link-libc-before-gnulib).
14950 [!build-shared] (link-libc-tests): New variable.
14951 (link-libc-static-tests): New variable.
14952 [!gnulib] (gnulib-arch): New variable.
14953 [!gnulib] (gnulib-tests): Likewise.
14954 [!gnulib] (static-gnulib-arch): Likewise.
14955 [!gnulib] (static-gnulib-tests): Likewise.
14956 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
14957 Define with "=" instead of ":=".
14958 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
14959 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
14960 * Rules (binaries-all-notests): New variable.
14961 (binaries-all-tests): Likewise.
14962 (binaries-static-notests): Likewise.
14963 (binaries-static-tests): Likewise.
14964 (binaries-all): Define using $(binaries-all-notests) and
14965 $(binaries-all-tests).
14966 (binaries-static): Define using $(binaries-static-notests) and
14967 $(binaries-static-tests).
14968 (binaries-shared-tests): New variable.
14969 (binaries-shared-notests): Likewise.
14970 (binaries-shared): Remove variable.
14971 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
14972 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
14973 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
14974 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
14975 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
14976 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
14977 * elf/Makefile (sln-modules): New variable.
14978 (extra-objs): Add $(sln-modules:=.o).
14979 (ldconfig-modules): Add static-stubs.
14980 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
14981 * elf/static-stubs.c: New file.
14982
7a845b2c
JM
14983 [BZ #14283]
14984 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
14985 by 7 not 8 to examine high bit of fractional part. Use volatile
14986 variables when splitting into final array of floats if
14987 __FLT_EVAL_METHOD__ != 0.
14988 * math/libm-test.inc (cos_test): Add another test.
14989 (sin_test): Likewise.
14990 * sysdeps/i386/fpu/libm-test-ulps: Update.
14991
e2283f38
JM
14992 [BZ #14273]
14993 * math/libm-test.inc (cosh_test): Add more tests.
14994
370ca3d2
JM
14995 * version.h (RELEASE): Set to "development".
14996 (VERSION): Set to "2.16.90".
14997
ee9247c3
CD
149982012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
14999
15000 * NEWS: Update copyright. Remove last-updated date.
15001 Mention math library bug fixes and timezone data changes.
15002 * README: Mention GNU/Hurd, x32, and HPPA support status.
15003
4648c381
TS
150042012-06-28 Thomas Schwinge <thomas@codesourcery.com>
15005
15006 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
15007
aac78a43
AJ
150082012-06-27 Andreas Jaeger <aj@suse.de>
15009
15010 * manual/contrib.texi (Contributors): Add Samuel Thibault.
15011
ed3dbfad
AJ
150122012-06-25 Andreas Jaeger <aj@suse.de>
15013
15014 * sysdeps/s390/fpu/libm-test-ulps: Update.
15015
4d0ee855
AS
150162012-06-23 Andreas Schwab <schwab@linux-m68k.org>
15017 Thomas Schwinge <thomas@codesourcery.com>
15018
15019 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
15020 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
15021 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
15022 fanotify_mark.
15023
af1bce34
TS
150242012-06-23 Thomas Schwinge <thomas@codesourcery.com>
15025
a9fa33ba
TS
15026 * sysdeps/mach/start.c: Remove file.
15027 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
15028 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
15029 * sysdeps/sh/init-first.c: Likewise.
15030
58f902b8
TS
15031 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
15032 registers for frame unwinding purposes, add CFI directives.
15033 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
15034 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
15035 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
15036 Likewise.
15037
1518f58b
TS
15038 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
15039 __fortify_fail returning.
15040 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
15041
db9b5059
TS
15042 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
15043 sysdeps/sh/____longjmp_chk.S.
15044 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
15045 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
15046 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
15047 (gen-as-const-headers): Append sigaltstack-offsets.sym.
15048
967705fe
TS
15049 * sysdeps/sh/abort-instr.h: New file.
15050 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
15051 process in case exit returns.
15052
a9def8c4
TS
15053 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
15054 initialize the GOT register before use.
15055
2a649725
TS
15056 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
15057 calculation of ARGC > 4.
15058
af1bce34
TS
15059 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
15060 meaningful names to some local labels.
15061
d230f50a
KK
150622012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15063 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15064
15065 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
15066 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
15067 (__arch_compare_and_exchange_val_16_acq): Likewise.
15068 (__arch_compare_and_exchange_val_32_acq): Likewise.
15069 (atomic_exchange_and_add): Fix gUSA sequence.
15070 (atomic_add): Likewise.
15071 (atomic_add_negative): Likewise.
15072 (atomic_add_zero): Likewise.
15073 (atomic_bit_test_set): Likewise.
15074
0479b305
AS
150752012-06-22 Andreas Schwab <schwab@redhat.com>
15076
15077 [BZ #13579]
15078 * include/link.h (struct link_map): Add l_free_initfini.
15079 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
15080 l_initfini.
15081 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
15082 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
15083 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
15084 set.
15085
0e3933b9
CD
150862012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
15087
15088 * configure.in: Use AC_LANG_SOURCE.
15089 * configure: Regenerate.
15090
4248b1b1
RM
150912012-06-22 Roland McGrath <roland@hack.frob.com>
15092
15093 * configure.in (libc_cv_localstatedir): New substituted variable.
15094 * configure: Regenerated.
15095 * config.make.in (localstatedir): New variable, substituted from
15096 libc_cv_localstatedir.
15097 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
15098 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
15099 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
15100 * sysdeps/gnu/configure: Regenerated.
15101
006dd861
JL
151022012-06-21 Jeff Law <law@redhat.com>
15103
15104 [BZ #14277]
15105 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
15106 free. Simplify list management for _LIBC case.
15107
79662d42
JM
151082012-06-21 Joseph Myers <joseph@codesourcery.com>
15109
b7abb4bf
JM
15110 [BZ #14273]
15111 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
15112 Clear sign bit of 64-bit integer value before comparing against
15113 overflow value.
15114
79662d42
JM
15115 * sysdeps/mach/configure: Regenerated.
15116
1f150908
L
151172012-06-21 H.J. Lu <hongjiu.lu@intel.com>
15118
15119 [BZ #14278]
15120 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
15121
28363bbf
JL
151222012-06-21 Jeff Law <law@redhat.com>
15123
15124 [BZ #13882]
15125 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
15126 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 15127 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
15128 * elf/dl-open.c (dl_open_worker): Likewise.
15129
09615db4
CD
151302012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
15131
15132 * scripts/list-sources.sh: Scan PORTS for translations.
15133 * po/libc.pot: Regenerated.
15134
2174c6dd
AJ
151352012-06-21 Andreas Jaeger <aj@suse.de>
15136
15137 [BZ #12194]
15138 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
15139 warning.
15140 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
15141 * bits/byteswap-16.h (__bswap_16): Likewise.
15142 * bits/byteswap.h (__bswap_constant_16): Likewise.
15143
3ee947b1
L
151442012-06-18 H.J. Lu <hongjiu.lu@intel.com>
15145
15146 [BZ #14117]
a2f34833
L
15147 * sysdeps/i386/fpu_control.h: Removed.
15148 * sysdeps/x86_64/fpu_control.h: Moved to ...
15149 * sysdeps/x86/fpu_control.h: Here.
15150
3ee947b1
L
15151 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
15152 (_FPU_SETCW): Likewise.
15153
ed1825f8
L
151542012-06-15 H.J. Lu <hongjiu.lu@intel.com>
15155
25f1282a
L
15156 [BZ #14117]
15157 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
15158 * sysdeps/x86/fpu/bits/mathinline.h: This.
15159 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
15160
ed1825f8
L
15161 [BZ #14050]
15162 [BZ #14117]
15163 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
15164 functions if __x86_64__ is defined.
15165
36d54b74
CLT
151662012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
15167
15168 * string/endian.h: Add !__ASSEMBLER__ condition for including
15169 conversion interfaces.
15170
10285c21
JM
151712012-06-15 Joseph Myers <joseph@codesourcery.com>
15172
15173 [BZ #14241]
15174 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
15175 of ABS(x) in calculating zero to negative powers other than odd
15176 integers.
15177 * math/libm-test.inc (pow_test): Add more tests.
15178
06c5abbd
AJ
151792012-06-15 Andreas Jaeger <aj@suse.de>
15180
15181 * manual/contrib.texi (Contributors): Update entry of Liubov
15182 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
15183 Machado Filho.
15184
a3aeac40
CH
151852012-06-15 Cyril Hrubis <metan@ucw.cz>
15186
15187 * string/string.h: Add __wur to GNU version of strerror_r.
15188
49bdf4c1
L
151892012-06-14 H.J. Lu <hongjiu.lu@intel.com>
15190
15191 [BZ #14229]
15192 * string/Makefile (tests): Add tst-strtok_r.
15193 * string/tst-strtok_r.c: New file.
15194 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
15195 RAX_LP/RDX_LP on SAVE_PTR.
15196
834f9b8d
RM
151972012-06-14 Roland McGrath <roland@hack.frob.com>
15198
15199 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
15200
75fa1921
JM
152012012-06-14 Joseph Myers <joseph@codesourcery.com>
15202
15203 * libm_test.inc (csqrt_test): Allow more spurious underflow
15204 exceptions.
15205 (j0_test): Likewise.
15206 (j1_test): Likewise.
15207 (y0_test): Likewise.
15208 (y1_test): Likewise.
15209
771766df
CD
152102012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
15211
15212 * po/Makefile (libc.pot): Use UTF-8 charset.
15213
ceb9e56b
PP
152142012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
15215
15216 [BZ #14210]
15217 Suppress sign-conversion warning from FD_SET.
15218 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
15219 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
15220 not unsigned long int.
15221 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
15222
ddb28975
L
152232012-06-12 H.J. Lu <hongjiu.lu@intel.com>
15224
15225 [BZ #14050]
15226 [BZ #14117]
15227 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
15228 __extern_always_inline instead of __extern_inline.
15229 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
15230 (__signbit): Likewise.
15231 (__signbitl): Support C++ namespace.
15232 (lrintf): New inline function.
15233 (lrint): Likewise.
15234 (llrintf): Likewise.
15235 (llrint): Likewise.
15236 (fmaxf): Likewise.
15237 (fmax): Likewise.
15238 (fminf): Likewise.
15239 (fmin): Likewise.
15240 (rint): Likewise.
15241 (rintf): Likewise.
15242 (ceil): Likewise.
15243 (ceilf): Likewise.
15244 (floor): Likewise.
15245 (floorf): Likewise.
15246 (nearbyint): Likewise.
15247 (nearbyintf): Likewise.
15248
d7b4fb26
TS
152492012-06-12 Thomas Schwinge <thomas@codesourcery.com>
15250
15251 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
15252 non-default versions.
15253
eb55f5c2
RM
152542012-06-11 Roland McGrath <roland@hack.frob.com>
15255
15256 [BZ #14218]
15257 * manual/argp.texi (Argp): Reword argp_parse description slightly.
15258
366af02c
TS
152592012-06-09 Thomas Schwinge <thomas@codesourcery.com>
15260
99ff6e5c
TS
15261 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
15262 (FE_UPWARD, FE_DOWNWARD): Don't define.
15263 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
15264 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
15265
366af02c
TS
15266 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
15267 reading it.
15268 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
15269 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15270
793ea851
KK
152712012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15272
15273 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
15274 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
15275 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
15276 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
15277
a728a38f
L
152782012-06-06 H.J. Lu <hongjiu.lu@intel.com>
15279
15280 [BZ #14117]
c08010c7
L
15281 * sysdeps/i386/fpu/bits/fenv.h: Removed.
15282 * sysdeps/i386/fpu/Implies: New file.
15283 * sysdeps/x86_64/fpu/Implies: Likewise.
15284 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
15285 * sysdeps/x86/fpu/bits/fenv.h: This.
15286
a728a38f
L
15287 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
15288 __SSE_MATH__.
15289
6e230d11
SP
152902012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
15291
15292 [BZ #14134]
15293 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
15294 character 0xffff that matches the last element of the
15295 conversion table.
15296
1b671feb
AZ
152972012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15298
15299 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
15300 fmodl commit.
15301
6043738b
AZ
153022012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15303
15304 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
15305 values higher than 25.6283.
15306
34ae0b32
AZ
153072012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15308
15309 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
15310 subnormal exponent extraction and add some __builtin_expect.
15311 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
15312 Fix for subnormal mantissa calculation.
15313
1214ec8f
MF
153142012-06-04 Mike Frysinger <vapier@gentoo.org>
15315
15316 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
15317 cpu2 is -1 and errno is not ENOSYS.
15318
f3d1f93c
L
153192012-06-04 H.J. Lu <hongjiu.lu@intel.com>
15320
15321 [BZ #14117]
0e4a3cd7
L
15322 * sysdeps/i386/i486/bits/string.h: Renamed to ...
15323 * sysdeps/x86/bits/string.h: This.
15324 * sysdeps/x86_64/bits/string.h: Removed.
15325
6704c645
L
15326 * sysdeps/i386/i486/bits/string.h: Define inline functions only
15327 if not compiling for x86-64, but compiling for >= i486.
15328
48495318
L
15329 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
15330 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
15331
14adcbfc
L
15332 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
15333 New macro from Linux kernel 3.4.0.
15334 (FP_XSTATE_MAGIC2): Likewise.
15335 (FP_XSTATE_MAGIC2_SIZE): Likewise.
15336 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
15337 (struct _fpx_sw_bytes): New struct.
15338 (struct _xsave_hdr): Likewise.
15339 (struct _ymmh_state): Likewise.
15340 (struct _xstate): Likewise.
15341
68e408ab
L
15342 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
15343 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
15344 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
15345 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
15346 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
15347 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
15348
f3d1f93c
L
15349 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
15350 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
15351 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
15352 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
15353 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
15354 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
15355
d9dc34cd
TMQMF
153562012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15357
15358 [BZ #13743]
15359 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
15360 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
15361 (sysdep_headers): Include sys/platform/ppc.h.
15362 * sysdeps/powerpc/test-gettimebase.c: Test for
15363 __ppc_get_timebase() to catch future ISA opcode/insn changes.
15364 * manual/Makefile (appendices): Include platform.texi.
15365 * manual/contrib.texi (Contributors): Update @node pointers.
15366 * manual/maint.texi (Maintenance): Likewise.
15367 (Platform): New node.
15368 * manual/platform.texi: New file. Document the new features.
15369
4af3879c
SP
153702012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15371 Jakub Jelinek <jakub@redhat.com>
15372
15373 [BZ #14188]
15374 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
15375 where __builtin_expect is unavailable.
15376
2fd6ff13
DM
153772012-06-03 David S. Miller <davem@davemloft.net>
15378
15379 * stdlib/longlong.h: Updated from GCC.
15380
173f7220
AS
153812012-06-02 Andreas Schwab <schwab@linux-m68k.org>
15382
15383 [BZ #14042]
15384 * sysdeps/powerpc/powerpc32/mcount.c: New file.
15385 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
15386 __mcount_internal.
15387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
15388 (GLIBC_2.16): Likewise.
15389
f34a1c6f
L
153902012-06-01 H.J. Lu <hongjiu.lu@intel.com>
15391
15392 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
15393
88a4576f
JM
153942012-06-01 Joseph Myers <joseph@codesourcery.com>
15395
ea32bcdd
JM
15396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
15397 (default-abi): New variable.
15398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
15399 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
15400 variable.
15401 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
15402 Likewise.
15403 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
15404 Likewise.
15405 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
15406 Likewise.
15407
88a4576f
JM
15408 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
15409 definition. Document in comment.
15410
402fe938
DM
154112012-06-01 David S. Miller <davem@davemloft.net>
15412
15413 * stdlib/longlong.h: Updated from GCC.
15414
3553723f
L
154152012-06-01 H.J. Lu <hongjiu.lu@intel.com>
15416
15417 [BZ #14117]
3bd872c4
L
15418 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
15419 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
15420 sys/debugreg.h sys/io.h here.
15421 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
15422 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
15423 sys/io.h.
15424 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
15425 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
15426 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
15427 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
15428 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
15429 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
15430
3553723f
L
15431 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
15432 Define only if __x86_64__ is defined.
15433
4842e4fe
JM
154342012-06-01 Joseph Myers <joseph@codesourcery.com>
15435
c5bfe3d5
JM
15436 [BZ #14048]
15437 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
15438 Use int64_t for variable i.
15439 * math/libm-test.inc (fmod_test): Add more tests.
15440
4842e4fe
JM
15441 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
15442 z computation is not scheduled after fetestexcept.
15443 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
15444 Use math_force_eval instead of asm to ensure calculation scheduled
15445 before exception test.
15446 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
15447 Ensure a1 + u.d computation is not scheduled after fetestexcept.
15448
efb73488
AJ
154492012-06-01 Aurelien Jarno <aurelien@aurel32.net>
15450
15451 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
15452 computation is not scheduled after fetestexcept.
15453
29bcce7c
L
154542012-06-01 H.J. Lu <hongjiu.lu@intel.com>
15455
15456 [BZ #14117]
15457 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
15458 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
15459
73a68f94
AZ
154602012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15461
15462 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
15463 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
15464
67b6df78
L
154652012-05-31 H.J. Lu <hongjiu.lu@intel.com>
15466
edf2933a 15467 [BZ #14117]
ebc64a18
L
15468 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
15469 <bits/wordsize.h>.
15470 (__WCHAR_MIN): Support __WORDSIZE == 64.
15471 (__WCHAR_MAX): Likewise.
15472
edf2933a
L
15473 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
15474 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
15475
57c6cf40
L
15476 [BZ #14183]
15477 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
15478 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
15479
67b6df78 15480 [BZ #14117]
8eb6281e
L
15481 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
15482 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
15483
aac639f4
L
15484 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
15485 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
15486
67b6df78
L
15487 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
15488 Defined to 1 if __x86_64__ isn't defined.
15489 (_STAT_VER_LINUX_OLD): New.
15490 (st_atime): Remove duplicate.
15491 (st_mtime): Likewise.
15492 (st_ctime): Likewise.
15493
1c2cfe81
DM
154942012-05-31 David S. Miller <davem@davemloft.net>
15495
15496 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
15497 entries.
15498
5be8418c
AS
154992012-06-01 Andreas Schwab <schwab@linux-m68k.org>
15500
e7725326
AS
15501 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
15502 gen-libm-test.pl.
15503
5be8418c
AS
15504 [BZ #14132]
15505 * elf/dl-reloc.c: Include <_itoa.h>.
15506 (_dl_reloc_bad_type): Remove use of INTUSE.
15507 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
15508 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
15509 * stdio-common/psiginfo.c (psiginfo): Likewise.
15510 * stdio-common/psignal.c (psignal): Likewise.
15511 * string/strsignal.c (strsignal): Likewise.
15512 * include/signal.h (_sys_siglist): Declare hidden proto.
15513 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
15514 INTVARDEF with libc_hidden_data_def.
15515 * stdio-common/itoa-udigits.c: Likewise.
15516 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
15517 (_itoa_lower_digits_internal): Remove declaration.
15518 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
15519 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
15520 (_sys_sigabbrev_internal): Remove aliases.
15521 (_sys_siglist): Define hidden alias.
15522
507352f1
MT
155232012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
15524
15525 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15526 bits/sysctl.h.
15527
42bbb1c3
L
155282012-05-31 H.J. Lu <hongjiu.lu@intel.com>
15529
15530 [BZ #14117]
6bd784b6
L
15531 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
15532 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
15533
8bca20f0
L
15534 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
15535 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
15536 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
15537 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
15538 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
15539 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
15540
f9e890a9
L
15541 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
15542 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
15543 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
15544
471101a1
L
15545 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
15546 with __addr.
15547 (insw): Likewise.
15548 (insl): Likewise.
15549 (outsb): Likewise.
15550 (outsw): Likewise.
15551 (outsl): Likewise.
15552
6451c862
L
15553 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
15554 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
15555 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
15556
a254b8c9
L
15557 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
15558 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
15559 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
15560 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
15561 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
15562 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
15563
b8dfdd92
L
15564 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
15565 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
15566
578cd270
L
15567 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
15568 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
15569
de662f5f
L
15570 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
15571 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
15572 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
15573
25653439
L
15574 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
15575 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
15576 to ...
15577 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
15578
6bad24a0
L
15579 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
15580 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
15581 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
15582
42bbb1c3
L
15583 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
15584 for x86-64.
15585 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
15586
2d10d547
JM
155872012-05-31 Joseph Myers <joseph@codesourcery.com>
15588
15589 * math/math.h (M_El): Use two more decimal places.
15590 (M_LOG2El): Likewise.
15591 (M_LOG10El): Likewise.
15592 (M_LN2l): Likewise.
15593 (M_LN10l): Likewise.
15594 (M_PIl): Likewise.
15595 (M_PI_2l): Likewise.
15596 (M_PI_4l): Likewise.
15597 (M_1_PIl): Likewise.
15598 (M_2_PIl): Likewise.
15599 (M_2_SQRTPIl): Likewise.
15600 (M_SQRT2l): Likewise.
15601 (M_SQRT1_2l): Likewise.
15602
f230c29b
DM
156032012-05-31 David S. Miller <davem@davemloft.net>
15604
15605 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
15606 values between float registers.
15607 * sysdeps/sparc/sparc64/memset.S: Likewise.
15608 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
15609
fed806c3
MF
156102012-05-31 Mike Frysinger <vapier@gentoo.org>
15611
15612 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
15613 -D_FORTIFY_SOURCE=1.
15614 (CPPFLAGS-tst-longjmp_chk.c): Define.
15615 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
15616 (CPPFLAGS-tst-longjmp_chk2.c): Define.
15617 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
15618 CFLAGS-tst-wchar-h.c.
15619
30917259
MP
156202012-05-31 Marek Polacek <polacek@redhat.com>
15621
15622 [BZ #14132]
15623 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
15624 __endmntent_internal): Remove declaration.
15625 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
15626 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
15627 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
15628
1c58d5dc
DM
156292012-05-30 David S. Miller <davem@davemloft.net>
15630
15631 * sysdeps/sparc/sparc32/soft-fp/q_util.c
15632 (___Q_simulate_exceptions): Use real FP ops rather than writing
15633 into the %fsr.
15634 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
15635 Likewise.
15636
7dc00e0d
L
156372012-05-30 H.J. Lu <hongjiu.lu@intel.com>
15638
15639 [BZ #14117]
0bd53985
L
15640 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
15641 * sysdeps/x86/bits/xtitypes.h: This.
15642
3a257e66
L
15643 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
15644 * sysdeps/x86/bits/wordsize.h: This.
15645
62f62904
L
15646 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
15647 * sysdeps/x86/bits/huge_vall.h: This.
15648
404fe9d9
L
15649 * sysdeps/i386/bits/select.h: Removed.
15650 * sysdeps/x86_64/bits/select.h: Renamed to ...
15651 * sysdeps/x86/bits/select.h: This.
15652
d48d0446
L
15653 * sysdeps/i386/bits/setjmp.h: Removed.
15654 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
15655 * sysdeps/x86/bits/setjmp.h: This.
15656
7dc00e0d
L
15657 * sysdeps/i386/bits/mathdef.h: Removed.
15658 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
15659 * sysdeps/x86/bits/mathdef.h: This.
15660
03277f8f
AS
156612012-05-30 Andreas Schwab <schwab@linux-m68k.org>
15662
15663 [BZ #14132]
15664 * include/sys/socket.h (__connect_internal)
15665 (__libc_sa_len_internal): Remove declaration.
15666 (__connect, __libc_sa_len): Declare hidden_proto.
15667 (SA_LEN): Remove use of INTUSE.
15668 * socket/connect.c: Add libc_hidden_def.
15669 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
15670 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
15671 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
15672 alias.
15673 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
15674 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
15675 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
15676 of adding _internal alias.
15677
13764867
L
156782012-05-30 H.J. Lu <hongjiu.lu@intel.com>
15679
15680 [BZ #14117]
6bd97696
L
15681 * sysdeps/i386/bits/link.h: Removed.
15682 * sysdeps/i386/bits/linkmap.h: Likewise.
15683 * sysdeps/x86_64/bits/link.h: Renamed to ...
15684 * sysdeps/x86/bits/link.h: This.
15685 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
15686 * sysdeps/x86/bits/linkmap.h: This.
15687
f726f0bb
L
15688 * sysdeps/i386/bits/endian.h: Removed.
15689 * sysdeps/x86_64/bits/endian.h: Renamed to ...
15690 * sysdeps/x86/bits/endian.h: This.
15691
13764867
L
15692 * sysdeps/i386/bits/byteswap.h: Removed.
15693 * sysdeps/i386/bits/byteswap-16.h: Likewise.
15694 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
15695 * sysdeps/x86/bits/byteswap.h: This.
15696 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
15697 * sysdeps/x86/bits/byteswap-16.h: This.
15698 * sysdeps/i386/Implies: Add x86.
15699 * sysdeps/x86_64/Implies: Likewise.
15700
ae251b0b
DM
157012012-05-30 David S. Miller <davem@davemloft.net>
15702
15703 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
15704 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
15705 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
15706 (FP_TRAPPING_EXCEPTIONS): Define.
15707 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
15708 (FP_TRAPPING_EXCEPTIONS): Define.
15709 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
15710 subnormals only when inexact has been signalled or underflow
15711 exceptions are enabled.
15712 (_FP_PACK_CANONICAL): Likewise.
15713
d5c90867
L
157142012-05-30 H.J. Lu <hongjiu.lu@intel.com>
15715
15716 [BZ #14183]
15717 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
15718 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
15719
63f1549e
RH
157202012-05-30 Richard Henderson <rth@twiddle.net>
15721
8d8f2279
RH
15722 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
15723 with #ifndef NOT_IN_libc.
15724
63f1549e
RH
15725 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
15726 marked to avoid plt entry.
15727
0ab0291b
L
157282012-05-30 H.J. Lu <hongjiu.lu@intel.com>
15729
15730 [BZ #14112]
15731 * Makeconfig (default-abi): New macro.
15732 (abi-includes): Likewise.
15733 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
15734 $(abi-$(default-abi)-lib-soname) for soname if defined.
15735 ($(common-objpfx)gnu/lib-names.stmp): Generate from
15736 abi-variants.
15737 * Makefile (installed-stubs): Likewise.
15738 * include/stubs-biarch.h: Removed.
15739 * scripts/lib-names.awk: Only handle one library at a time.
15740 * scripts/soversions.awk: Remove WORDSIZE support.
15741 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
15742 entries.
15743 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
15744 Removed.
15745 (syscall-list-default-condition): Likewise.
15746 (syscall-list-default-condition): Likewise.
15747 (syscall-list-includes): Likewise.
15748 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
15749 syscall-list-* with abi-*. Handle undefined abi-variants.
15750 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
15751 * sysdeps/unix/sysv/linux/i386/Implies: New file.
15752 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
15753 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
15754 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
15755 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
15756 Removed.
15757 (syscall-list-32-options): Likewise.
15758 (syscall-list-32-condition): Likewise.
15759 (syscall-list-64-options): Likewise.
15760 (syscall-list-64-condition): Likewise.
15761 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
15762 macro.
15763 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
15764 Renamed to ...
15765 (abi-*): This.
15766 (abi-64-ld-soname): New macro.
15767 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
15768 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
15769 Renamed to ...
15770 (abi-*): This.
15771 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
15772 * sysdeps/x86_64/x32/shlib-versions: Likewise.
15773
4da0431d
JM
157742012-05-30 Joseph Myers <joseph@codesourcery.com>
15775
3a85279c
JM
15776 * sysdeps/unix/sysv/linux/kernel-features.h
15777 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
15778 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
15779 include <kernel-features.h>.
15780 [!__NR_ftruncate64]: Remove conditional code.
15781 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15782 [__NR_ftruncate64]: Make code unconditional.
15783 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15784 * sysdeps/unix/sysv/linux/truncate64.c: Do not
15785 include <kernel-features.h>.
15786 [!__NR_ftruncate64]: Remove conditional code.
15787 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15788 [__NR_ftruncate64]: Make code unconditional.
15789 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/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/powerpc/powerpc32/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
4da0431d
JM
15803 * configure.in (libc_cv_fpie): Weaken to a compile test using
15804 LIBC_TRY_CC_OPTION.
15805 * configure: Regenerated.
15806
11ef492c
AK
158072012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15808
15809 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
15810 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
15811 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
15812 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15813 Refreshed.
15814 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
15815 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
15816 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
15817 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
15818 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
15819 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15820 Refreshed.
15821
d66ef399
DM
158222012-05-27 David S. Miller <davem@davemloft.net>
15823
15824 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
15825 (___Q_zero): New.
15826 (__Q_simulate_exceptions): Return void. Change to simulate
15827 exceptions by writing into the %fsr.
15828 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
15829 (__Qp_handle_exceptions): Likewise.
15830 (numbers): Delete.
15831 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
15832 __Qp_handle_exceptions.
15833 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
15834 __Qp_handle_exceptions.
15835 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
15836 as unused and give dummy FP_RND_NEAREST initializer.
15837 (FP_INHIBIT_RESULTS): Define.
15838 (___Q_simulate_exceptions): Update declaration.
15839 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
15840 formatting.
15841 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
15842 as unused and give dummy FP_RND_NEAREST initializer.
15843 (__Qp_handle_exceptions): Update declaration.
15844 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
15845 formatting.
15846
04fb54b5
TS
158472012-05-27 Thomas Schwinge <thomas@codesourcery.com>
15848
15849 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
15850 the temporary FPU control word.
15851 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
15852 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
15853 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
15854 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
15855 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
15856 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
15857 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
15858 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
15859 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
15860 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
15861 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15862
3f99608f
KK
158632012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15864
15865 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
15866 fields.
15867
65a4de4e
CLT
158682012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
15869
15870 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
15871 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
15872 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
15873 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
15874 Likewise.
15875 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
15876 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
15877 Likewise.
15878
15749d40
UD
158792012-05-27 Ulrich Drepper <drepper@gmail.com>
15880
15881 * po/h.po: Update from translation team.
15882
25dbcb27
AS
158832012-05-26 Andreas Schwab <schwab@linux-m68k.org>
15884
3d3f8e55
AS
15885 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
15886
25dbcb27
AS
15887 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
15888 handling of denormals.
15889 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
15890 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
15891 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
15892 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
15893 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15894 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
15895 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
15896 Likewise.
15897
7ad47a80 158982012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
15899
15900 [BZ #14152]
15901 * math/libm-test.inc (fma_test): Don't always expect underflow
15902 exception.
15903
9c6ea9fa
SP
159042012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15905
15906 [BZ #12416]
15907 * elf/tst-execstack.c: Include stackinfo.h.
15908 (do_test): Adjust test case to ensure that pthread_getattr_np
15909 behaviour remains the same after marking stack executable.
15910
a8239222
JM
159112012-05-25 Joseph Myers <joseph@codesourcery.com>
15912
15913 * sysdeps/unix/sysv/linux/kernel-features.h
15914 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
15915 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
15916 kernel-features.h.
15917 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
15918 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
15919 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
15920 kernel-features.h.
15921 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
15922 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
15923
918b5606
L
159242012-05-25 H.J. Lu <hongjiu.lu@intel.com>
15925
15926 * configure.in: Define the default includes to being none.
15927 * configure: Regenerated.
15928
3a097cc7
RM
159292012-05-25 Roland McGrath <roland@hack.frob.com>
15930
8422c9a5
RM
15931 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
15932 * sysdeps/x86_64/setjmp.S: Likewise.
15933 * sysdeps/i386/bsd-setjmp.S: Likewise.
15934 * sysdeps/i386/bsd-_setjmp.S: Likewise.
15935 * sysdeps/i386/setjmp.S: Likewise.
15936 * sysdeps/i386/__longjmp.S: Likewise.
15937 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
15938 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
15939
3a097cc7
RM
15940 * include/stap-probe.h: New file.
15941 * configure.in: Handle --enable-systemtap.
15942 * configure: Regenerated.
15943 * config.h.in (USE_STAP_PROBE): New #undef.
15944 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
15945 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
15946 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
15947
21708942
JM
159482012-05-25 Joseph Myers <joseph@codesourcery.com>
15949
15950 [BZ #13717]
15951 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
15952 to 2.4.0 where earlier.
15953 * sysdeps/unix/sysv/linux/configure: Regenerated.
15954 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
15955 <kernel-features.h>.
15956 [__ASSUME_32BITUIDS]: Make code unconditional.
15957 [!__ASSUME_32BITUIDS]: Remove conditional code.
15958 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
15959 <kernel-features.h>.
15960 [__ASSUME_32BITUIDS]: Make code unconditional.
15961 [!__ASSUME_32BITUIDS]: Remove conditional code.
15962 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
15963 [__ASSUME_32BITUIDS]: Make code unconditional.
15964 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
15965 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
15966 <kernel-features.h>.
15967 [__ASSUME_32BITUIDS]: Make code unconditional.
15968 [!__ASSUME_32BITUIDS]: Remove conditional code.
15969 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
15970 <kernel-features.h>.
15971 [__ASSUME_32BITUIDS]: Make code unconditional.
15972 [!__ASSUME_32BITUIDS]: Remove conditional code.
15973 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
15974 <kernel-features.h>.
15975 [__ASSUME_32BITUIDS]: Make code unconditional.
15976 [!__ASSUME_32BITUIDS]: Remove conditional code.
15977 * sysdeps/unix/sysv/linux/i386/getgroups.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/getresgid.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/getresuid.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/getuid.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/lchown.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/msgctl.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/semctl.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/setegid.c: Do not include
16006 <kernel-features.h>.
16007 [__NR_setresgid] (__setresgid): Do not declare.
16008 [__ASSUME_32BITUIDS]: Make code unconditional.
16009 [!__ASSUME_32BITUIDS]: Remove conditional code.
16010 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
16011 <kernel-features.h>.
16012 [__NR_setresuid] (__setresuid): Do not declare.
16013 [__ASSUME_32BITUIDS]: Make code unconditional.
16014 [!__ASSUME_32BITUIDS]: Remove conditional code.
16015 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
16016 <kernel-features.h>.
16017 [__ASSUME_32BITUIDS]: Make code unconditional.
16018 [!__ASSUME_32BITUIDS]: Remove conditional code.
16019 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
16020 <kernel-features.h>.
16021 [__ASSUME_32BITUIDS]: Make code unconditional.
16022 [!__ASSUME_32BITUIDS]: Remove conditional code.
16023 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
16024 <kernel-features.h>.
16025 [__ASSUME_32BITUIDS]: Make code unconditional.
16026 [!__ASSUME_32BITUIDS]: Remove conditional code.
16027 * sysdeps/unix/sysv/linux/i386/setgroups.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/setregid.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/setresgid.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/setresuid.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/setreuid.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/setuid.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/shmctl.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/kernel-features.h
16056 (__ASSUME_SETRESUID_SYSCALL): Remove.
16057 (__ASSUME_SETRESGID_SYSCALL): Likewise.
16058 (__ASSUME_32BITUIDS): Likewise.
16059 (__ASSUME_LDT_WORKS): Likewise.
16060 (__ASSUME_O_DIRECTORY): Likewise.
16061 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
16062 architecture but not kernel version.
16063 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
16064 (__ASSUME_MMAP2_SYSCALL): Likewise.
16065 (__ASSUME_STAT64_SYSCALL): Likewise.
16066 (__ASSUME_IPC64): Likewise.
16067 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
16068 <kernel-features.h>.
16069 [__ASSUME_32BITUIDS]: Make code unconditional.
16070 [!__ASSUME_32BITUIDS]: Remove conditional code.
16071 * sysdeps/unix/sysv/linux/opendir.c: Do not include
16072 <kernel-features.h>.
16073 [__ASSUME_O_DIRECTORY]: Make code unconditional.
16074 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
16075 132096]: Remove conditional code.
16076 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
16077 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
16078 <kernel-features.h>.
16079 [__ASSUME_32BITUIDS]: Make code unconditional.
16080 [!__ASSUME_32BITUIDS]: Remove conditional code.
16081 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
16082 <kernel-features.h>.
16083 [__ASSUME_32BITUIDS]: Make code unconditional.
16084 [!__ASSUME_32BITUIDS]: Remove conditional code.
16085 * sysdeps/unix/sysv/linux/setegid.c: Do not include
16086 <kernel-features.h>.
16087 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
16088 unconditional.
16089 (__setresgid): Do not declare.
16090 [__ASSUME_32BITUIDS]: Make code unconditional.
16091 [!__ASSUME_32BITUIDS]: Remove conditional code.
16092 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
16093 <kernel-features.h>.
16094 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
16095 unconditional.
16096 (__setresuid): Do not declare.
16097 [__ASSUME_32BITUIDS]: Make code unconditional.
16098 [!__ASSUME_32BITUIDS]: Remove conditional code.
16099 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
16100 <kernel-features.h>.
16101 [__ASSUME_32BITUIDS]: Make code unconditional.
16102 [!__ASSUME_32BITUIDS]: Remove conditional code.
16103 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
16104 <kernel-features.h>.
16105 [__ASSUME_32BITUIDS]: Make code unconditional.
16106 [!__ASSUME_32BITUIDS]: Remove conditional code.
16107
a386f1cc
RH
161082012-05-25 Richard Henderson <rth@twiddle.net>
16109
16110 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
16111 dl_hwcap to ifunc resolver.
16112 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
16113 elf_ifunc_invoke.
16114 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
16115 dl_hwcap to ifunc resolver.
16116 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
16117
b6550497
JM
161182012-05-24 Joseph Myers <joseph@codesourcery.com>
16119
16120 [BZ #14153]
16121 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
16122 for |x| <= 2**-26, not 2**-57.
16123 * math/libm-test.inc (acos_test): Do not allow spurious underflow
16124 exception.
16125
b0bc23a1
JL
161262012-05-24 Jeff Law <law@redhat.com>
16127
16128 * stdio-common/Makefile (tests): Add bug25.
16129 * stdio-common/bug25.c: New test.
16130
347c92e9
L
161312012-05-24 H.J. Lu <hongjiu.lu@intel.com>
16132
16133 [BZ #13576]
16134 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
16135 multiple of MALLOC_ALIGNMENT in size.
16136 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
16137
6bcc8b3f
JM
161382012-05-24 Joseph Myers <joseph@codesourcery.com>
16139
16140 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
16141 Require >= 256.
16142 (FILENAME_MAX): Use macro-int-constant.
16143 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
16144 (_IOFBF): Use macro-int-constant.
16145 (_IOLBF): Likewise.
16146 (_IONBF): Likewise.
16147 (SEEK_CUR): Likewise.
16148 (SEEK_END): Likewise.
16149 (SEEK_SET): Likewise.
16150 (TMP_MAX): Likewise.
16151 (EOF): Use macro-int-constant. Require < 0.
16152 (NULL): Use macro-constant. Require == 0.
16153 (stdin): Require type to be FILE *.
16154 (stdout): Likewise.
16155 (stderr): Likewise.
16156 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
16157 macro-int-constant.
16158 (EXIT_SUCCESS): Likewise.
16159 (NULL): Use macro-constant. Require == 0.
16160 (RAND_MAX): Use macro-int-constant.
16161 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
16162 [C99-based standards] (strtof): Require function.
16163 [C99-based standards] (strtold): Likewise.
16164 [C99-based standards] (strtoll): Likewise.
16165 [C99-based standards] (strtoull): Likewise.
16166 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
16167 [ISO || ISO99 || ISO11] (limits.h): Likewise.
16168 [ISO || ISO99 || ISO11] (math.h): Likewise.
16169 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
16170 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
16171 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16172
d18ea0c5
AS
161732012-05-24 Andreas Schwab <schwab@linux-m68k.org>
16174
16175 [BZ #14132]
56d25bb8
AS
16176 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
16177 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
16178 * intl/dgettext.c (DCGETTEXT): Likewise.
16179 * intl/gettext.c (DCGETTEXT): Likewise.
16180 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
16181 * posix/regex_internal.h (gettext): Likewise.
16182 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
16183 Remove declaration.
16184 * include/argz.h (__argz_count_internal)
16185 (__argz_stringify_internal): Remove declaration.
16186 (__argz_count, __argz_stringify): Declare hidden proto.
16187 * intl/dcgettext.c: Remove use of INTDEF.
16188 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
16189 * string/argz-stringify.c: Likewise.
16190 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
16191 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
16192 Declare hidden proto.
d18ea0c5
AS
16193 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
16194 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
16195 Declare hidden proto.
16196 * include/stdio.h (__asprintf_internal): Don't declare.
16197 (__asprintf): Don't define as macro. Declare hidden proto.
16198 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
16199 (__fsetlocking): Declare hidden proto.
16200 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
16201 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
16202 hidden proto.
16203 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
16204 (_IO_setlinebuf): Remove use of INTUSE.
16205 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
16206 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
16207 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
16208 Remove declaration.
16209 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
16210 (_IO_do_flush): Remove use of INTUSE.
16211 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
16212 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
16213 (_IO_adjust_column, _IO_least_wmarker)
16214 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
16215 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
16216 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
16217 (_IO_default_doallocate, _IO_wdefault_doallocate)
16218 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
16219 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
16220 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
16221 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
16222 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
16223 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
16224 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
16225 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
16226 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
16227 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
16228 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
16229 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
16230 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
16231 proto.
16232 (_IO_flush_all_internal, _IO_adjust_column_internal)
16233 (_IO_default_uflow_internal, _IO_default_finish_internal)
16234 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
16235 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
16236 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
16237 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
16238 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
16239 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
16240 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
16241 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
16242 (_IO_file_close_internal, _IO_file_close_it_internal)
16243 (_IO_file_underflow_internal, _IO_file_overflow_internal)
16244 (_IO_file_init_internal, _IO_file_attach_internal)
16245 (_IO_file_fopen_internal, _IO_file_read_internal)
16246 (_IO_file_sync_internal, _IO_file_seek_internal)
16247 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
16248 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
16249 (_IO_str_underflow_internal, _IO_str_overflow_internal)
16250 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
16251 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
16252 (_IO_list_all_internal, _IO_link_in_internal)
16253 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
16254 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
16255 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
16256 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
16257 (_IO_do_write_internal, _IO_padn_internal)
16258 (_IO_getline_info_internal, _IO_getline_internal)
16259 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
16260 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
16261 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
16262 (_IO_vfscanf_internal, _IO_vfprintf_internal)
16263 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
16264 (_IO_init_internal, _IO_un_link_internal): Don't declare.
16265 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
16266 with libc_hidden_ver, remove use of INTUSE.
16267 * libio/genops.c: Likewise.
16268 * libio/freopen.c: Likewise.
16269 * libio/freopen64.c: Likewise.
16270 * libio/iofclose.c: Likewise.
16271 * libio/iofdopen.c: Likewise.
16272 * libio/iofflush.c: Likewise.
16273 * libio/iofflush_u.c: Likewise.
16274 * libio/iofgets.c: Likewise.
16275 * libio/iofgets_u.c: Likewise.
16276 * libio/iofopen.c: Likewise.
16277 * libio/iofopncook.c: Likewise.
16278 * libio/iofread.c: Likewise.
16279 * libio/iofread_u.c: Likewise.
16280 * libio/ioftell.c: Likewise.
16281 * libio/iofwrite.c: Likewise.
16282 * libio/iogetline.c: Likewise.
16283 * libio/iogets.c: Likewise.
16284 * libio/iogetwline.c: Likewise.
16285 * libio/iopadn.c: Likewise.
16286 * libio/iopopen.c: Likewise.
16287 * libio/ioseekoff.c: Likewise.
16288 * libio/ioseekpos.c: Likewise.
16289 * libio/iosetbuffer.c: Likewise.
16290 * libio/iosetvbuf.c: Likewise.
16291 * libio/ioungetc.c: Likewise.
16292 * libio/ioungetwc.c: Likewise.
16293 * libio/iovdprintf.c: Likewise.
16294 * libio/iovsprintf.c: Likewise.
16295 * libio/iovsscanf.c: Likewise.
16296 * libio/memstream.c: Likewise.
16297 * libio/obprintf.c: Likewise.
16298 * libio/oldfileops.c: Likewise.
16299 * libio/oldiofclose.c: Likewise.
16300 * libio/oldiofdopen.c: Likewise.
16301 * libio/oldiofopen.c: Likewise.
16302 * libio/oldiopopen.c: Likewise.
16303 * libio/oldstdfiles.c: Likewise.
16304 * libio/putc.c: Likewise.
16305 * libio/setbuf.c: Likewise.
16306 * libio/setlinebuf.c: Likewise.
16307 * libio/stdfiles.c: Likewise.
16308 * libio/strops.c: Likewise.
16309 * libio/vasprintf.c: Likewise.
16310 * libio/vscanf.c: Likewise.
16311 * libio/vsnprintf.c: Likewise.
16312 * libio/vswprintf.c: Likewise.
16313 * libio/wfiledoalloc.c: Likewise.
16314 * libio/wfileops.c: Likewise.
16315 * libio/wgenops.c: Likewise.
16316 * libio/wmemstream.c: Likewise.
16317 * libio/wstrops.c: Likewise.
16318 * libio/__fpurge.c: Likewise.
16319 * libio/__fsetlocking.c: Likewise.
16320 * assert/assert.c: Likewise.
16321 * debug/fgets_chk.c: Likewise.
16322 * debug/fgets_u_chk.c: Likewise.
16323 * debug/fread_chk.c: Likewise.
16324 * debug/fread_u_chk.c: Likewise.
16325 * debug/gets_chk.c: Likewise.
16326 * debug/obprintf_chk.c: Likewise.
16327 * debug/vasprintf_chk.c: Likewise.
16328 * debug/vdprintf_chk.c: Likewise.
16329 * debug/vsnprintf_chk.c: Likewise.
16330 * debug/vsprintf_chk.c: Likewise.
16331 * malloc/mtrace.c: Likewise.
16332 * misc/error.c: Likewise.
16333 * misc/syslog.c: Likewise.
16334 * stdio-common/asprintf.c: Likewise.
16335 * stdio-common/fxprintf.c: Likewise.
16336 * stdio-common/getw.c: Likewise.
16337 * stdio-common/isoc99_fscanf.c: Likewise.
16338 * stdio-common/isoc99_scanf.c: Likewise.
16339 * stdio-common/isoc99_vfscanf.c: Likewise.
16340 * stdio-common/isoc99_vscanf.c: Likewise.
16341 * stdio-common/isoc99_vsscanf.c: Likewise.
16342 * stdio-common/printf-prs.c: Likewise.
16343 * stdio-common/printf_fp.c: Likewise.
16344 * stdio-common/printf_fphex.c: Likewise.
16345 * stdio-common/printf_size.c: Likewise.
16346 * stdio-common/putw.c: Likewise.
16347 * stdio-common/scanf.c: Likewise.
16348 * stdio-common/sprintf.c: Likewise.
16349 * stdio-common/tmpfile.c: Likewise.
16350 * stdio-common/vfprintf.c: Likewise.
16351 * stdio-common/vfscanf.c: Likewise.
16352 * stdlib/strfmon_l.c: Likewise.
16353 * sunrpc/openchild.c: Likewise.
16354 * sunrpc/xdr_stdio.c: Likewise.
16355 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
16356 * sysdeps/mach/hurd/tmpfile.c: Likewise.
16357
d6c33fda
RM
163582012-05-24 Roland McGrath <roland@hack.frob.com>
16359
c1487492
RM
16360 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
16361
16362 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
16363 in the third column, to generate for the shared library an IFUNC
16364 that uses _dl_vdso_vsym.
16365 * Makerules (COMPILE.c, compile-stdin.c): New variables.
16366 * Makeconfig (object-suffixes-noshared): New variable.
16367
16368 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
16369 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
16370 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
16371 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
16372
d6c33fda
RM
16373 [BZ #14132]
16374 * include/sys/time.h (__gettimeofday): Remove macro.
16375 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
16376 * time/gettimeofday.c (__gettimeofday): Remove #undef.
16377 Remove INTDEF.
16378 (__gettimeofday): Add libc_hidden_def.
16379 (gettimeofday): Add libc_hidden_weak.
16380 * sysdeps/mach/gettimeofday.c: Likewise.
16381 * sysdeps/posix/gettimeofday.c: Likewise.
16382 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
16383 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
16384 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
16385 (__gettimeofday_internal): Remove strong_alias.
16386 (__gettimeofday): Add libc_hidden_def.
16387 (gettimeofday): Add libc_hidden_weak.
16388 * sysdeps/unix/syscalls.list (gettimeofday):
16389 Remove __gettimeofday_internal alias.
16390
b5a2bbe6
L
163912012-05-24 Daniel Jacobowitz <drow@false.org>
16392 H.J. Lu <hongjiu.lu@intel.com>
16393
16394 [BZ #12495]
16395 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
16396 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
16397 (largebin_index_32_big): New.
16398 (largebin_index): Use it for 16-byte alignment.
16399 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
16400 correction with front_misalign.
16401
cfba4fda
L
164022012-05-24 H.J. Lu <hongjiu.lu@intel.com>
16403
7f907421
L
16404 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
16405 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
16406 Likewise.
16407 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
16408 Likewise.
16409 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
16410 Likewise.
16411 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
16412 Likewise.
16413 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
16414 Likewise.
16415 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
16416 Likewise.
16417 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
16418 Likewise.
16419 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
16420 Likewise.
16421 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
16422 Likewise.
16423 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
16424 Likewise.
16425 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
16426 Likewise.
16427 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
16428 Likewise.
16429
cfba4fda
L
16430 * scripts/data/c++-types-x32-linux-gnu.data: New file.
16431 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
16432
80bad0cc
JM
164332012-05-24 Joseph Myers <joseph@codesourcery.com>
16434
7a25eb06
JM
16435 [BZ #10846]
16436 [BZ #14036]
16437 * math/libm-test.inc (exp_test): Add test from bug 14036.
16438 (pow_test): Add test from bug 10846.
16439
795405f9
JM
16440 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
16441 and other flags.
16442 (special_function): Do not include flags in test name.
16443 (parse_args): Likewise.
16444 * sysdeps/i386/fpu/libm-test-ulps: Update.
16445 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16446 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16447 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16448 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16449
80bad0cc
JM
16450 * math/gen-libm-test.pl (%beautify): Add entries for underflow
16451 exceptions.
16452 * math/libm-test.inc ("Philosophy"): Update comment about
16453 exception testing.
16454 (UNDERFLOW_EXCEPTION): New macro.
16455 (UNDERFLOW_EXCEPTION_OK): Likewise.
16456 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
16457 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
16458 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
16459 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
16460 (INVALID_EXCEPTION_OK): Update value.
16461 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
16462 (OVERFLOW_EXCEPTION_OK): Likewise.
16463 (IGNORE_ZERO_INF_SIGN): Likewise.
16464 (test_exceptions): Handle underflow exceptions.
16465 (acos_test): Update for underflow exception expectations.
16466 (cexp_test): Likewise.
16467 (clog_test): Likewise.
16468 (clog10_test): Likewise.
16469 (csqrt_test): Likewise.
16470 (ctan_test): Likewise.
16471 (ctanh_test): Likewise.
16472 (exp_test): Likewise.
16473 (exp10_test): Likewise.
16474 (exp2_test): Likewise.
16475 (expm1_test): Likewise.
16476 (fma_test): Likewise.
16477 (j0_test): Likewise.
16478 (jn_test): Likewise.
16479 (nexttoward_test): Likewise.
16480 (pow_test): Likewise.
16481 (scalbn_test): Likewise.
16482 (scalbln_test): Likewise.
16483 (tan_test): Likewise.
16484 (y1_test): Likewise.
16485 * sysdeps/i386/fpu/libm-test-ulps: Update.
16486 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16487
9e0e3d0b
DM
164882012-05-23 David S. Miller <davem@davemloft.net>
16489
16490 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
16491 (__libc_sigaction): Remove unused local variables.
16492
ccd0a08f
L
164932012-05-23 H.J. Lu <hongjiu.lu@intel.com>
16494
16495 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
16496
62bdf9a6
PE
164972012-05-23 Paul Eggert <eggert@cs.ucla.edu>
16498
f8591f80
PE
16499 mktime: avoid signed integer overflow
16500 * time/mktime.c (__mktime_internal): Do not mishandle the case
16501 where diff == INT_MIN.
16502
94c7d826
PE
16503 mktime: simplify computation of average
16504 * time/mktime.c (ranged_convert): Use new time_t_avg function
16505 instead of rolling our own (probably-slower) code.
16506
ce73d683
PE
16507 mktime: do not assume signed right shift propagates sign bit
16508 * time/mktime.c (isdst_differ): New static function.
16509 (__mktime_internal): No need to normalize tm_isdst now.
16510 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
16511 tm_isdst values.
16512
72a22e59
PE
16513 mktime: merge another wrapv change from gnulib
16514 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
16515 from some compilers.
16516
68605433
PE
16517 mktime: remove incorrect attempt at unusual arithmetics
16518 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
16519 The code didn't really work on such machines anyway.
16520 (TYPE_MINIMUM): Assume two's complement.
16521 (twos_complement_arithmetic): Verify that long_int and time_t
16522 are two's complement (or unsigned, in the latter case).
16523
03cf7fe3
PE
16524 mktime: check signed shifts on long_int and time_t, too
16525 * time/mktime.c (SHR): Check that shifts work as desired
16526 on the types long_int and time_t too, as SHR is used on
16527 such types.
16528
f04dfbc2
PE
16529 mktime: do not assume 'long' is wide enough
16530 * time/mktime.c (verify): Move decl up.
16531 (long_int): New type.
16532 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
16533 to remove assumption in the code that 'long' is wide enough to
16534 store year values. This assumption is not true on x32 and on
16535 some non-glibc platforms.
16536
62bdf9a6
PE
16537 mktime: merge wrapv change from gnulib
16538 * time/mktime.c (WRAPV): New macro.
16539 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
16540 (guess_time_tm, __mktime_internal): Do not assume that signed
16541 integer overflow wraps around; modern compilers generate code
16542 where this assumption is no longer valid.
16543
5e292e4f
L
165442012-05-23 H.J. Lu <hongjiu.lu@intel.com>
16545
16546 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
16547 Replace "jmp L(pseudo_end)" with "ret".
16548 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
16549 Likewise.
16550
8caf8c87
AJ
165512012-05-23 Andreas Jaeger <aj@suse.de>
16552
16553 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
16554 * sysdeps/unix/sysv/linux/poll.c: Remove file.
16555
1a09dc56
AJ
165562012-05-23 Andreas Jaeger <aj@suse.de>
16557 Maximilian Attems <max@stro.at>
16558
16559 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
16560 New macros.
16561
1c87aba0
L
165622012-05-23 H.J. Lu <hongjiu.lu@intel.com>
16563
16564 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
16565 code so that pseudo_end is just ret and the stack pointer is
16566 correct also for static library in error case.
16567
40e45bd5
JM
165682012-05-23 Joseph Myers <joseph@codesourcery.com>
16569
c2670533
JM
16570 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
16571 move to syscalls.list.
16572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
16573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
16574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
16575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
16576
40e45bd5
JM
16577 * manual/install.texi (Running make install): Do not mention Linux
16578 kernel version for which pt_chown is not needed.
16579 (Linux): Do not mention problems with nscd with 2.0 kernels.
16580 * INSTALL: Regenerated.
16581
be08eda5
AJ
165822012-05-23 Andreas Jaeger <aj@suse.de>
16583
16584 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
16585 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
16586 macro.
16587 * sysdeps/unix/sysv/linux/s390/bits/mman.h
16588 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16589 * sysdeps/unix/sysv/linux/sh/bits/mman.h
16590 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16591 * sysdeps/unix/sysv/linux/i386/bits/mman.h
16592 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16593 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
16594 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16595 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
16596 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16597 * sysdeps/unix/sysv/linux/bits/in.h
16598 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
16599
a6a056bb
RM
166002012-05-22 Roland McGrath <roland@hack.frob.com>
16601
16602 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
16603 (PREPARE_VERSION): Just use assert instead, it will be elided
16604 under [NDEBUG] anyway.
16605
c9009328
L
166062012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16607
16608 * sysdeps/unix/sysv/linux/Makefile: Include
16609 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 16610 (sysdep_routines): Remove sysctl.
c9009328
L
16611 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
16612 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
16613 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
16614 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
16615 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
16616
73338355
AJ
166172012-05-22 Andreas Jaeger <aj@suse.de>
16618
16619 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
16620 that pseudo_end is just ret and the stack pointer is correct also
16621 for static library in error case.
16622
d44638b0
PP
166232012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
16624
16625 [BZ #14122]
16626 * nss/nsswitch.c (defconfig_entries): New variable.
16627 (__nss_database_lookup): Don't leak defconfig entries.
16628 (nss_parse_service_list): Don't leak on error paths.
16629 (free_database_entries): New function.
16630 (free_defconfig): New function.
16631 (free_mem): Move common code to free_database_entries.
16632
31a39bd8
L
166332012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16634
da0331a8
L
16635 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
16636 Add arch_prctl.
16637 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
16638
31a39bd8
L
16639 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
16640 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
16641 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
16642 New macro.
16643 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
16644 (INTERNAL_SYSCALL_TYPES): Likewise.
16645 (LOAD_ARGS_TYPES_[1-6]): Likewise.
16646 (LOAD_REGS_TYPES_[1-6]): Likewise.
16647 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
16648 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
16649
45470df3
AZ
166502012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16651
16652 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
16653 copysignl for GLIBC_2_0.
16654 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
16655 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
16656 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
16657 logbl for GLIBC_2_0.
16658 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
16659 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
16660
98a61bcb
L
166612012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16662
a4f6e481
L
16663 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
16664 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
16665
f63d5db6
L
16666 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
16667 Use "neg %eax".
16668
98a61bcb
L
16669 * time/mktime.c: Update copyright years.
16670
95770f14
PE
166712012-05-22 Paul Eggert <eggert@cs.ucla.edu>
16672
6226efbd
PE
16673 mktime: merge comment-quoting-style change from gnulib
16674 * time/mktime.c: Quote 'like this' in comments.
16675 The GNU coding standards suggest that we no longer quote `like this',
16676 as "`" and "'" are typically rendered asymmetrically nowadays.
16677 The typical gnulib style is to quote 'like this' when quoting
16678 code, and "like this" when quoting English.
16679
b99e4f78
PE
16680 * time/mktime.c (compile-command): Add "-I.".
16681
643e01e6
PE
16682 mktime: merge mktime-internal.h change from gnulib
16683 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
16684
2554247d
PE
16685 mktime: merge time_r change from gnulib
16686 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
16687
826dd0ab
PE
16688 mktime: merge DEBUG change from gnulib
16689 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
16690 case system <time.h> has a #define.
16691
bd83aabe
PE
16692 mktime: merge <sys/types.h> change from gnulib
16693 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
16694 since <time.t> is now guaranteed to define time_t.
16695
95770f14
PE
16696 mktime: merge HAVE_CONFIG_H change from gnulib
16697 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
16698
5e1a27a9
L
166992012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16700
0e44a77e
L
16701 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
16702 Use "neg %eax".
16703
5e1a27a9
L
16704 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
16705 __rlim_t cast.
16706 (struct rusage): Use anonymous union to pad each field to
16707 __syscall_slong_t.
16708
46259bec
DM
167092012-05-21 David S. Miller <davem@davemloft.net>
16710
16711 * Makefules (o-iterator): Remove .s cases.
16712 (compile-command.s): Delete.
16713 (COMPILE.s): Delete.
16714 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
16715
59f0c22e
JM
167162012-05-21 Joseph Myers <joseph@codesourcery.com>
16717
16718 * configure.in (libc_cv_predef_stack_protector): Only consider
16719 "foobar" and "__stack_chk_fail" lines in libc_undefs.
16720 * configure: Regenerated.
16721
20c07380
L
167222012-05-21 H.J. Lu <hongjiu.lu@intel.com>
16723
bbb3154b
L
16724 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
16725 New macro. Use R*LP on int and pointer.
16726 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
16727 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
16728 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
16729 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
16730
20c07380
L
16731 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
16732 [__WORDSIZE_TIME64_COMPAT32] instead of
16733 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
16734 (struct utmp): Likewise.
16735 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
16736 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
16737 Renamed to ...
16738 (__WORDSIZE_TIME64_COMPAT32): This.
16739 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
16740 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
16741 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
16742 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
16743 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
16744 (__WORDSIZE_TIME64_COMPAT32): New macro.
16745
d8d1017e
AJ
167462012-05-21 Andreas Jaeger <aj@suse.de>
16747
16748 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
16749 only if [SHARED]. Add prototype for __wcschr_ia32.
16750
6c7fb145
RM
167512012-05-21 Roland McGrath <roland@hack.frob.com>
16752
16753 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
16754 of %rbp unmolested in the jmp_buf while mangling the low bits.
16755 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
16756 unmolested high bits of %rbp while demangling the low bits.
16757 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
16758
66274218
AJ
167592012-05-21 Andreas Jaeger <aj@suse.de>
16760
07c58f8f
AJ
16761 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
16762 * sunrpc/svc_simple.c: Use it for registerrpc.
16763 * sunrpc/xcrypt.c: Use it for passwd2des.
16764
66274218
AJ
16765 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
16766
61f65140
L
167672012-05-21 H.J. Lu <hongjiu.lu@intel.com>
16768
16769 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
16770 Don't define if [__SYSCALL_WORDSIZE != 32].
16771 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
16772 New macro.
16773
5fefb436
AJ
167742012-05-21 Bruno Haible <bruno@clisp.org>
16775 Andreas Jaeger <aj@suse.de>
16776
16777 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
16778 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
16779 inptr and inend for must_buffer_ch.
16780 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
16781 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
16782 * stdio-common/Makefile (tests): Remove bug15.
16783 (bug15-ENV): Remove macro.
16784 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
16785 anymore.
16786
d8e272ab
AJ
167872012-05-19 Andreas Jaeger <aj@suse.de>
16788 Roland McGrath <roland@hack.frob.com>
16789
16790 * manual/contrib.texi: Completely rewritten. It contains now an
16791 alphabetical list of contributors and their contributions.
16792
4a56a162
RH
167932012-05-21 Richard Henderson <rth@twiddle.net>
16794
16795 * misc/getauxval.c (__getauxval): Use unsigned long int.
16796 * misc/sys/auxv.h: Include <sys/cdefs.h>.
16797 (getauxval): Use unsigned long int.
16798
d024d23c
L
167992012-05-21 H.J. Lu <hongjiu.lu@intel.com>
16800
16801 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
16802
cbc00a03
RM
168032012-05-21 Roland McGrath <roland@hack.frob.com>
16804
16805 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
16806 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
16807 __alignof__ (long double).
16808
478143fa
AZ
168092012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16810
16811 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16812
c7683a6d
RH
168132012-05-20 Richard Henderson <rth@twiddle.net>
16814
16815 * misc/getauxval.c: New file.
16816 * misc/sys/auxv.h: New file.
16817 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
16818 (routines): Add getauxval.
16819 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
16820 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
16821 * elf/dl-sysdep.c (_dl_auxv): Remove.
16822 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
16823 * elf/dl-support.c (_dl_auxv): New variable.
16824 (_dl_aux_init): Initialize it.
16825 * manual/startup.texi (Auxiliary Vector): New node.
16826 * sysdeps/generic/bits/hwcap.h: New file.
16827 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
16828 * sysdeps/powerpc/sysdep.h: ... here. Include it.
16829 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
16830 * sysdeps/sparc/sysdep.h: ... here. Include it.
16831 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
16832 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
16833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16834 Update.
c7683a6d
RH
16835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
16836 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
16837 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
16838 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
16839 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
16840 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
16841 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
16842 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
16843
a6f1845d
AZ
168442012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16845
16846 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16847
cbcbe830
DM
168482012-05-19 David S. Miller <davem@davemloft.net>
16849
16850 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16851
e0b16cc2
JM
168522012-05-19 Joseph Myers <joseph@codesourcery.com>
16853
16854 [BZ #14123]
16855 * math/s_ccosh.c: Include <float.h>
16856 (__ccosh): Avoid internal overflow calculating sinh and cosh
16857 values before multiplying by sin and cos values.
16858 * math/s_ccoshf.c: Likewise.
16859 * math/s_ccoshl.c: Likewise.
16860 * math/s_csin.c: Likewise.
16861 * math/s_csinf.c: Likewise.
16862 * math/s_csinl.c: Likewise.
16863 * math/s_csinh.c: Likewise.
16864 * math/s_csinhf.c: Likewise.
16865 * math/s_csinhl.c: Likewise.
16866 * math/libm-test.inc (ccos_test): Add more tests.
16867 (ccosh_test): Likewise.
16868 (csin_test): Likewise.
16869 (csinh_test): Likewise.
16870 * sysdeps/i386/fpu/libm-test-ulps: Update.
16871 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16872
6ad13e08
L
168732012-05-19 H.J. Lu <hongjiu.lu@intel.com>
16874
f66f0ce8
L
16875 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
16876 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
16877
6ad13e08
L
16878 * sysdeps/x86_64/x32/_itoa.h: Add comment.
16879
b1d072a7
JM
168802012-05-19 Joseph Myers <joseph@codesourcery.com>
16881
16882 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
16883 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
16884 * sysdeps/powerpc/soft-fp/Versions: Likewise.
16885 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
16886 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
16887 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
16888 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
16889 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
16890 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
16891 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
16892 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
16893 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
16894 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
16895 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
16896 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
16897 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
16898 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
16899 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
16900 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
16901 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
16902 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
16903 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
16904 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
16905 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
16906 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
16907 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
16908 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
16909 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
16910 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
16911 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
16912 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
16913
9eae47cb
AJ
169142012-05-18 Andreas Jaeger <aj@suse.de>
16915
16916 * csu/.gitignore: Delete.
16917
bb07f69f
L
169182012-05-18 H.J. Lu <hongjiu.lu@intel.com>
16919
16920 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
16921 (timex): Use __syscall_slong_t.
16922
e6bdb741
AJ
169232012-05-18 Andreas Jaeger <aj@suse.de>
16924 Carlos O'Donell <carlos_odonell@mentor.com>
16925
16926 * manual/install.texi (Configuring and compiling): Update
16927 description about files modified in the source directory.
d6c33fda 16928 * INSTALL: Regenerated.
e6bdb741 16929
1b74487e
L
169302012-05-18 H.J. Lu <hongjiu.lu@intel.com>
16931
16932 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
16933 value. Use "or" to set return value to -1.
16934 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
16935 negate return value.
16936
a88b64b9
TMQMF
169372012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16938
16939 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
16940 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
16941 failure if the compiler has Graphite support disabled.
16942 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
16943 Likewise.
16944 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
16945 CFLAGS-memmove.c): Likewise.
16946 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
16947 Likewise.
16948
3707636e
L
169492012-05-18 H.J. Lu <hongjiu.lu@intel.com>
16950
610b8622
L
16951 * sysdeps/x86_64/x32/_itoa.h: New file.
16952
7cd195df
L
16953 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
16954 getdents system call only if kernel and user dirents have the
16955 same d_ino and d_off.
16956
94b07d20
L
16957 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
16958 LLONG_MAX != LONG_MAX.
16959 (_itoa_word): Use _ITOA_WORD_TYPE on value.
16960 (_fitoa_word): Likewise.
16961
18298070
L
16962 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
16963 years.
16964 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
16965 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
16966 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
16967
553c7ea4
L
16968 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
16969 include <bits/wordsize.h>. Check __x86_64__ instead of
16970 __WORDSIZE.
16971 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
16972 if __x86_64__ is defined. Use anonymous union on fpstate.
16973
3707636e
L
16974 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
16975 anonymous union.
16976
b53ef01a
AS
169772012-05-18 Andreas Schwab <schwab@linux-m68k.org>
16978
37fb1dc0
AS
16979 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
16980 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
16981 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
16982 Refer to _rtld_local_ro instead of _rtld_global_ro.
16983 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
16984 Likewise.
16985 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
16986 Likewise.
16987 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
16988 Likewise.
16989 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
16990 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
16991 of _rtld_global, and rtld_progname instead of _dl_argv[0].
16992
b53ef01a
AS
16993 * sysdeps/powerpc/powerpc32/dl-machine.c
16994 (__elf_machine_runtime_setup) [PROF]: Don't reference
16995 _dl_prof_resolve.
16996
7a185db2
AJ
169972012-05-18 Andreas Jaeger <aj@suse.de>
16998
16999 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
17000 function only available for GCCs before 3.4 since GCC 3.4
17001 introduced a builtin.
17002 (lrint): Likewise.
17003 (llrintf): Likewise.
17004 (llrint): Likewise.
17005 (fmaxf): Likewise.
17006 (fmax): Likewise.
17007 (fminf): Likewise.
17008 (fmin): Likewise.
17009 (rint): Likewise.
17010 (rintf): Likewise.
17011 (nearbyint): Likewise.
17012 (nearbyintf): Likewise.
17013 (ceil): Likewise.
17014 (ceilf): Likewise.
17015 (floor): Likewise.
17016 (floorf): Likewise.
17017
3e5aef87
L
170182012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17019
428bd707
L
17020 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
17021 on both fields and cast pointer to __syscall_ulong_t.
17022
3e5aef87
L
17023 * bits/types.h (__fsword_t): New type.
17024 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
17025 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
17026 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17027 (__FSWORD_T_TYPE): Likewise.
17028 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17029 (__FSWORD_T_TYPE): Likewise.
17030 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17031 (__FSWORD_T_TYPE): Likewise.
17032 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
17033 (__FSWORD_T_TYPE): Likewise.
17034 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
17035 __SWORD_TYPE with __fsword_t.
17036 (statfs64): Likewise.
17037
1ba7c3dc
DM
170382012-05-17 David S. Miller <davem@davemloft.net>
17039
17040 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
17041
59910343
AJ
170422012-05-17 Andreas Jaeger <aj@suse.de>
17043
17044 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
17045 warning.
17046
2e4c1e9e
L
170472012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17048
17049 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
17050
de7f5ce7
AJ
170512012-05-17 Andreas Jaeger <aj@suse.de>
17052
17053 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
17054 when it is used.
17055
286abc3d
CM
170562012-05-17 Chris Metcalf <cmetcalf@tilera.com>
17057
17058 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
17059
477cc68e
L
170602012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17061
17062 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
17063 * sysdeps/x86_64/tst-mallocalign1.c: New file.
17064
1a0994f5
CD
170652012-05-17 Andreas Jaeger <aj@suse.de>
17066 Carlos O'Donell <carlos_odonell@mentor.com>
17067
17068 [BZ #14059]
17069 * sysdeps/x86_64/multiarch/init-arch.h
17070 (bit_YMM_Usable): Rename to...
17071 (bit_AVX_Usable): ... this.
17072 (bit_FMA4_Usable): New macro.
17073 (bit_XMM_state): New macro.
17074 (bit_YMM_state): New macro.
17075 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
17076 [__ASSEMBLER__] (index_AVX_Usable): ... this.
17077 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
17078 (CPUID_OSXSAVE): New macro.
17079 (CPUID_AVX): New macro.
17080 (CPUID_FMA4): New macro.
17081 (index_YMM_Usable): Rename to...
17082 (index_AVX_Usable): ... this.
17083 (HAS_AVX): Use HAS_ARCH_FEATURE.
17084 (HAS_FMA4): Likewise.
17085 (HAS_YMM_USABLE): Remove.
17086 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17087 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
17088 are present.
17089 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
17090 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
17091 * sysdeps/x86_64/multiarch/Makefile: Likewise.
17092 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
17093 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
17094
0af797de
CM
170952012-05-17 Chris Metcalf <cmetcalf@tilera.com>
17096
17097 * math/libm-test.c: Support platforms without multiple rounding modes.
17098 * math/bug-nextafter.c: Support platforms without FP exceptions.
17099 * math/bug-nexttoward.c: Likewise.
17100 * math/test-fenv.c: Likewise.
17101 * math/test-misc.c: Likewise.
17102 * stdlib/bug-getcontext.c: Likewise.
17103
e39745ff
AJ
171042012-05-17 Andreas Jaeger <aj@suse.de>
17105
17106 * manual/examples/search.c (critter_cmp): Change signature to
17107 avoid warnings.
17108 * manual/string.texi (Collation Functions): Likewise.
17109
48970aba
L
171102012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17111
17112 * bits/types.h: Fold copyright years.
17113 * bits/typesizes.h: Likewise.
17114 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
17115 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
17116 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
17117 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
17118 * time/time.h: Likewise.
17119
bedee953
PP
171202012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
17121
17122 [BZ #208]
17123 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
17124 in instead of returning them. Return void.
17125 (__libc_mallinfo): Accumulate over all arenas.
17126 (__malloc_stats): Adjust for change in int_mallinfo interface.
17127
61653dfb
RM
171282012-05-16 Roland McGrath <roland@hack.frob.com>
17129
30b99d79
RM
17130 [BZ #10375]
17131 * configure.in (NM): Add AC_CHECK_TOOL for it.
17132 (libc_extra_cflags): New substituted variable.
17133 Check for -fstack-protector being used implicitly.
17134 * configure: Regenerated.
17135 * config.make.in (config-extra-cflags): New variable,
17136 gets @libc_extra_cflags@.
17137 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
17138
61653dfb
RM
17139 [BZ #10375]
17140 * configure.in: Check for _FORTIFY_SOURCE being predefined.
17141 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
17142 * configure: Regenerated.
17143 * config.make.in (CPPUNDEFS): New substituted variable.
17144 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
17145 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
17146 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
17147
661768bb
L
171482012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17149
17150 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
17151 (mq_attr): Use __syscall_slong_t.
17152
d4261567
L
171532012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17154
17155 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
17156 Check __x86_64__ instead of __WORDSIZE.
17157 (_STAT_VER_LINUX): Likewise.
17158 (stat): Check __x86_64__ instead of __WORDSIZE. Use
17159 __syscall_ulong_t and __syscall_slong_t.
17160 (stat64): Likewise.
17161
cf3ff365
L
171622012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17163
17164 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
17165
76cf3e4d
L
171662012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17167
17168 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
17169
a637753a
L
171702012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17171
17172 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
17173 __syscall_ulong_t.
17174
d5e05119
L
17175 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
17176 include <bits/wordsize.h>. Check __x86_64__ instead of
17177 __WORDSIZE.
17178 (greg_t): Use "__extension__ long long int" if __x86_64__ is
17179 defined.
17180 (mcontext_t): Replace "unsigned long" with "unsigned long long".
17181
f62ee380
L
17182 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
17183 include <bits/wordsize.h>. Check __x86_64__ instead of
17184 __WORDSIZE.
17185 (user_regs_struct): Use "__extension__ unsigned long long"
17186 instead of "unsigned long" if __x86_64__ is defined.
17187 (user): Likewise. Pad after pointer field if __ILP32__ is
17188 defined.
17189
4e124ced
JM
171902012-05-16 Joseph Myers <joseph@codesourcery.com>
17191
6a3951a0
JM
17192 * configure.in (makeinfo): Require version 4.5 or later. Allow
17193 versions 5 to 9.
17194 * configure: Regenerated.
17195 * manual/install.texi (texinfo): Increase version requirement to
17196 4.5 or later.
17197 * INSTALL: Regenerated.
17198
4e124ced
JM
17199 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
17200
953ca31a
L
172012012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17202
17203 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
17204
617aca05
L
17205 * sysdeps/x86_64/x32/ffs.c: New file.
17206
5762f7ae
L
17207 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
17208 __syscall_ulong_t.
17209 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
17210 defined. Use __syscall_ulong_t.
17211 (shminfo): Use __syscall_ulong_t.
17212 (shm_info): Likewise.
17213
a26b6856
L
17214 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
17215 __syscall_ulong_t.
17216
cb2b9ef7
L
17217 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
17218 <bits/wordsize.h>.
17219 (msgqnum_t): Use __syscall_ulong_t.
17220 (msglen_t): Likewise.
17221 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
17222 __syscall_ulong_t.
17223
34683bb0
L
17224 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
17225 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17226
84a68786
L
17227 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
17228
48baa5f1
L
17229 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
17230 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
17231
180be88b
L
17232 * sysvipc/sys/msg.h (msgbuf): Replace long int with
17233 __syscall_slong_t.
17234
5e90c8ad
L
17235 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
17236 include <bits/wordsize.h>. Check __x86_64__ instead of
17237 __WORDSIZE.
17238
23dfb58b
L
17239 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
17240 "unsigned long long int" if __x86_64__ is defined.
17241 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
17242
ce5d54b0
L
17243 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
17244 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17245 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
17246
13dc9eac
L
17247 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
17248 <stdint.h>.
17249 (GET_PC): Cast to uintptr_t first.
17250 (GET_FRAME): Likewise.
17251 (GET_STACK): Likewise.
17252
a7895d15
L
17253 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
17254 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
17255 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
17256 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
17257 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
17258 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
17259 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
17260 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
17261 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
17262 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
17263 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
17264 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
17265 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
17266 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
17267 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
17268 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
17269 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
17270 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
17271 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
17272 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
17273 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
17274 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
17275 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
17276 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
17277 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
17278 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
17279 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
17280 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
17281 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
17282
656416c9
AS
172832012-05-16 Andreas Schwab <schwab@linux-m68k.org>
17284
5bd66283
AS
17285 * Makerules (+depfiles): Also collect depfiles from .oS in
17286 $(extra-objs).
17287 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
17288 .oS, $(libnldbl-routines)).
17289
656416c9
AS
17290 * Makerules (native-compile-mkdep-flags): Define.
17291 * sunrpc/Makefile (extra-objs): Add $(addprefix
17292 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
17293 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
17294 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
17295 calling $(make-target-directory).
17296
a46f2169
L
172972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17298
17299 * bits/types.h (__snseconds_t): Removed.
17300 * time/time.h (struct timespec): Replace __snseconds_t with
17301 __syscall_slong_t.
17302 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
17303 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
17304 Likewise.
17305 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17306 (__SNSECONDS_T_TYPE): Likewise.
17307 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17308 (__SNSECONDS_T_TYPE): Likewise.
17309 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17310 (__SNSECONDS_T_TYPE): Likewise.
17311
6af6528b
L
173122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17313
17314 * sysdeps/mach/hurd/bits/typesizes.h
17315 (__SYSCALL_SLONG_TYPE): New macro.
17316 (__SYSCALL_ULONG_TYPE): Likewise.
17317
de986b56
L
173182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17319
17320 * bits/types.h (__syscall_slong_t): New type.
17321 (__syscall_ulong_t): Likewise.
17322
17323 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
17324 (__SYSCALL_ULONG_TYPE): Likewise.
17325 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17326 (__SYSCALL_SLONG_TYPE): Likewise.
17327 (__SYSCALL_ULONG_TYPE): Likewise.
17328 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17329 (__SYSCALL_SLONG_TYPE): Likewise.
17330 (__SYSCALL_ULONG_TYPE): Likewise.
17331 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17332 (__SYSCALL_SLONG_TYPE): Likewise.
17333 (__SYSCALL_ULONG_TYPE): Likewise.
17334
85736dc7
L
173352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17336
17337 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
17338 Add sigaltstack-offsets.sym.
17339 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
17340 <sigaltstack-offsets.h>.
17341 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
17342 longjmp_msg pointer.
17343 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
17344 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
17345 signal stack.
17346 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
17347
cc03b296
JM
173482012-05-15 Joseph Myers <joseph@codesourcery.com>
17349
a9538892
JM
17350 * elf/stackguard-macros.h: Remove file.
17351 * sysdeps/generic/stackguard-macros.h: New file.
17352 * sysdeps/i386/stackguard-macros.h: Likewise.
17353 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
17354 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
17355 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
17356 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
17357 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
17358 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
17359 * sysdeps/x86_64/stackguard-macros.h: Likewise.
17360 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
17361 <elf/stackguard-macros.h>.
17362
cc03b296
JM
17363 [BZ #14109]
17364 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
17365 __aligned__ in attribute.
17366 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
17367 (gregset_t): Likewise.
17368
93171016
L
173692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17370
17371 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
17372 * sysdeps/x86_64/64/Implies-after: Here. New file.
17373 * sysdeps/x86_64/x32/Implies-after: New file.
17374
d86813a0
L
173752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17376
17377 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
17378 and access return value for _dl_profile_fixup. Use R10_LP to
17379 load frame size.
17380
2953ec75
L
173812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17382
17383 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
17384
3b550e9e
L
173852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17386
17387 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
17388 * sysdeps/x86_64/x32/sysdep.h: New file.
17389
eda41706
L
173902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17391
17392 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
17393 * sysdeps/x86_64/setjmp.S: Likewise.
17394
9ea01d93
AZ
173952012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17396
17397 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
17398 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
17399 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
17400 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
17401 remove unused global constant.
17402
02a91938
CM
174032012-05-15 Chris Metcalf <cmetcalf@tilera.com>
17404
17405 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
17406 include of <not-cancel.h>.
17407
6540185f
RM
174082012-05-15 Roland McGrath <roland@hack.frob.com>
17409
17410 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
17411
509072a0
AJ
174122012-05-15 Jeff Law <law@redhat.com>
17413 Andreas Jaeger <aj@suse.de>
17414
17415 [BZ #13594]
17416 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
17417 out from...
17418 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
17419 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
17420 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
17421 code changing __hst_map_handle.map.
17422
ba75122d
RM
174232012-05-15 Roland McGrath <roland@hack.frob.com>
17424
17425 * configure.in (sysnames): Look for Implies-before and Implies-after
17426 files.
17427 * configure: Regenerated.
17428
890d8bd8
L
174292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17430
17431 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
17432 8-byte data alignment with LP_SIZE alignment.
17433
f6ee6623
L
174342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17435
17436 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
17437 into R10_LP.
17438
ea2626f6
L
174392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17440
17441 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
17442
085f715e
L
174432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17444
17445 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
17446 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
17447 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
17448 Likewise.
17449 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
17450
be8498fc
L
174512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17452
17453 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
17454 (stackinfo_sub_sp): Likewise.
17455
70bc83b9
L
174562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17457
17458 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
17459 RAX_LP.
17460
9bc0b730
L
174612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17462
17463 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
17464 into R*_LP.
17465
6d2850e7
L
174662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17467
17468 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
17469 sizes into R*_LP.
17470
3cb84561
L
174712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17472
17473 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
17474
54e2ed81
L
174752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17476
17477 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
17478 into R11_LP and load __x86_64_shared_cache_size_half into
17479 R8_LP.
17480
8a17f349
L
174812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17482
17483 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
17484 R8_LP.
17485
777b1eea
AZ
174862012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17487
17488 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
17489 logb for POWER7.
17490 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
17491 logbf for POWER7.
17492 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
17493 logbl for POWER7.
17494 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
17495 powerpc32/power7/fpu/s_logb.c via #include.
17496 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
17497 powerpc32/power7/fpu/s_logbf.c via #include.
17498 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
17499 powerpc32/power7/fpu/s_logbl.c via #include.
17500
d20d4ac2
JM
175012012-05-15 Joseph Myers <joseph@codesourcery.com>
17502
17503 * README.libm: Remove file.
17504
6cdef1ab
L
175052012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17506
17507 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
17508 count for x32. Use R*_LP and omit operand-size suffix.
17509
0b254d8f
L
175102012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17511
17512 * shlib-versions: Move x86_64-.*-linux.* entries to ...
17513 * sysdeps/x86_64/64/shlib-versions: Here. New file.
17514 * sysdeps/x86_64/x32/shlib-versions: New file.
17515
ceb809dc
RM
175162012-05-14 Roland McGrath <roland@hack.frob.com>
17517
17518 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
17519 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
17520 Use _dl_fatal_printf instead.
17521
37f1abd4
JM
175222012-05-14 Joseph Myers <joseph@codesourcery.com>
17523
17524 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
17525 set if not set by the user. Do not allow for being unset.
17526 * sysdeps/unix/sysv/linux/configure: Regenerated.
17527
11de3a33
L
175282012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17529
17530 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
17531 the `q' suffix from lea and replace .quad with ASM_ADDR.
17532
e02f153a
L
175332012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17534
17535 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
17536 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
17537 instead of $17.
17538 (PTR_DEMANGLE): Likewise.
17539
520ae0fd
L
175402012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17541
17542 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
17543 (LP_OP): Likewise.
17544 (ASM_ADDR): Likewise.
17545 (RAX_LP): Likewise.
17546 (RBP_LP): Likewise.
17547 (RBX_LP): Likewise.
17548 (RCX_LP): Likewise.
17549 (RDI_LP): Likewise.
17550 (RSI_LP): Likewise.
17551 (RSP_LP): Likewise.
17552 (R8_LP): Likewise.
17553 (R9_LP): Likewise.
17554 (R10_LP): Likewise.
17555 (R10_LP): Likewise.
17556 (R11_LP): Likewise.
17557 (R12_LP): Likewise.
17558 (R13_LP): Likewise.
17559 (R14_LP): Likewise.
17560 (R15_LP): Likewise.
17561
b985be81
L
175622012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17563
17564 * sysdeps/x86_64/x32/dl-machine.h: New file.
17565
6a4888ff
AJ
175662012-05-14 Andreas Jaeger <aj@suse.de>
17567
17568 * manual/Makefile (subdir): Remove export of subdir.
17569 (all): Remove target.
17570 (.PHONY): Remove all from list.
17571 (mkinstalldirs): Remove.
17572 (.PHONY): Remove installdirs from list.
17573 ($(inst_infodir)/libc.info): Use make-target-directory.
17574 (installdirs): Remove.
17575 (subdir_%): Remove.
17576 (glibc-targets): Remove.
17577 (lib): Remove.
17578 (stubs): Remove.
17579 ($(objpfx)stubs ../po/manual.pot): Remove.
17580 ($(objpfx)stamp%): Remove.
17581 (make-target-directory): Remove.
17582 (subdir_install): Remove.
17583 (routines): Remove.
17584 (aux): Remove.
17585 (sources): Remove.
17586 (objects): Remove.
17587 (headers): Remove.
17588
17589 [BZ #13750]
17590 * manual/.gitignore: Remove, it's not needed anymore.
17591 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
17592 all files in it.
17593 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
17594 directory.
17595 (texis): Renamed to $(objpfx)texis.
17596 (texis-path): New, contains path to generated files.
17597 (chapters.%): Use texis-path for complete path, add extra argument
17598 libc-texinfo.sh.
17599 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
17600 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
17601 (summary,texi, stamp-summary): Use complete path of
17602 files. Generate files in build dir.
17603 (dir-add.texi): Build in build dir.
17604 (libm-err.texi,stamp-libm-err): Likewise.
17605 (version.texi, stamp-version): Likewise.
17606 (.%c.texi): Likewise.
17607 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
17608 (mostlyclean): Remove target.
17609 (realclean): Remove target.
17610 (generated): Add new variable with contents from mostlyclean and
17611 realclean, remove entries duplicated in common-mostlyclean, add
17612 stamp-libm-err and stamp-version.
17613 (generated-dirs): Add libc directory.
17614 ($(inst_infodir)/libc.info): Install files from build dir.
17615
17616 * manual/install.texi (Configuring and compiling): Adjust since
17617 the info files are not part of the tar ball anymore.
17618
7ac77294
AJ
176192012-05-14 Andreas Jaeger <aj@suse.de>
17620
17621 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
17622 variable.
17623
ffb7875d
JM
176242012-05-14 Joseph Myers <joseph@codesourcery.com>
17625
17626 [BZ #13717]
17627 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
17628 to 2.2.0 where earlier.
17629 * sysdeps/unix/sysv/linux/configure: Regenerated.
17630 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
17631 Remove conditional code.
17632 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
17633 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
17634 Remove conditional code.
17635 [!__NR_lchown]: Likewise.
17636 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
17637 [__NR_lchown]: Likewise.
17638 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
17639 comment referencing __ASSUME_LCHOWN_SYSCALL.
17640 * sysdeps/unix/sysv/linux/i386/sigaction.c
17641 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17642 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17643 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
17644 Remove conditional code.
17645 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
17646 (__protocol_available): Remove #if 0 code.
17647 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
17648 conditional code.
17649 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
17650 * sysdeps/unix/sysv/linux/kernel-features.h
17651 (__ASSUME_GETCWD_SYSCALL): Don't define.
17652 (__ASSUME_REALTIME_SIGNALS): Likewise.
17653 (__ASSUME_PREAD_SYSCALL): Likewise.
17654 (__ASSUME_PWRITE_SYSCALL): Likewise.
17655 (__ASSUME_POLL_SYSCALL): Likewise.
17656 (__ASSUME_LCHOWN_SYSCALL): Likewise.
17657 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
17658 non-SPARC.
17659 (__ASSUME_SIOCGIFNAME): Don't define.
17660 (__ASSUME_MSG_NOSIGNAL): Likewise.
17661 (__ASSUME_SENDFILE): Define unconditionally.
17662 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
17663 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
17664 conditional code.
17665 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
17666 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
17667 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
17668 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
17669 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
17670 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
17671 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
17672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
17673 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17674 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
17676 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17677 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
17679 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17680 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
17682 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17683 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
17685 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17686 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
17688 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17689 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
17691 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17692 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
17694 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17695 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17696 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
17697 Remove conditional code.
17698 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17699 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
17700 Remove conditional code.
17701 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17702 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
17703 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
17704 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
17705 Remove conditional code.
17706 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17707 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
17708 Remove conditional code.
17709 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17710 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
17711 Remove conditional code.
17712 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17713 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
17714 Remove conditional code.
17715 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17716 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
17717 Remove conditional code.
17718 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17719 * sysdeps/unix/sysv/linux/sh/pwrite64.c
17720 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17721 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17722 * sysdeps/unix/sysv/linux/sigaction.c
17723 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17724 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17725 * sysdeps/unix/sysv/linux/sigpending.c
17726 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17727 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17728 * sysdeps/unix/sysv/linux/sigprocmask.c
17729 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17730 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17731 * sysdeps/unix/sysv/linux/sigsuspend.c
17732 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17733 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17734 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
17735 (__libc_missing_rt_sigs): Remove.
17736 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
17737 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
17738 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
17739 Remove conditional code.
17740 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
17741 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
17742 return 1.
17743 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
17744 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
17745 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
17746 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
17747
1bfb7291
AJ
177482012-05-14 Andreas Jaeger <aj@suse.de>
17749
caae5a81
AJ
17750 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
17751 it's not used in glibc.
17752 (__coshm1): Likewise.
17753 (__acosh1p): Likewise.
17754 (__sgn): Likewise.
17755
1bfb7291
AJ
17756 * manual/string.texi (Copying and Concatenation): Add missing
17757 variable in concat example.
17758 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
17759
c044d724
L
177602012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17761
144c5467 17762 [BZ #14103]
c044d724
L
17763 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
17764 __builtin_clzl with __builtin_clzll.
17765
2523c62b
L
177662012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17767
17768 [BZ #14104]
17769 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
17770 libc_freeres_ptr.
17771
d7bb4c42
LD
177722012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17773
17774 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
17775 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
17776 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
17777 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
17778
9dc4e1fb
MF
177792012-05-14 Mike Frysinger <vapier@gentoo.org>
17780
17781 * NEWS: Update ia64 info.
17782
c7df0112
AS
177832012-05-12 Andreas Schwab <schwab@linux-m68k.org>
17784
17785 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
17786 used as bcopy.
17787
dc70356c
TS
177882012-05-12 Thomas Schwinge <thomas@codesourcery.com>
17789
17790 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
17791 * sysdeps/unix/syscalls.list (dup3): Likewise.
17792 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
17793 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
17794
9fb1a21f
L
177952012-05-11 H.J. Lu <hongjiu.lu@intel.com>
17796
17797 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
17798 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
17799
4822a2a5
L
178002012-05-11 H.J. Lu <hongjiu.lu@intel.com>
17801
17802 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
17803 thread pointer.
17804 (TLS_IE): Use mov/add instead of movq/addq to load thread
17805 pointer.
17806 (TLS_GD_PREFIX): New.
17807 (TLS_GD): Use it.
17808
842b81d6
DM
178092012-05-11 David S. Miller <davem@davemloft.net>
17810
17811 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
17812 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
17813 (_FPU_SETCW): Likewise.
17814
1cf463cd
L
178152012-05-10 H.J. Lu <hongjiu.lu@intel.com>
17816
17817 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
17818 is 32-byte aligned.
17819
60cc4a18
AS
178202012-05-11 Andreas Schwab <schwab@linux-m68k.org>
17821
17822 [BZ #11837]
17823 * iconvdata/gb18030.c: Update tables.
17824 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
17825 characters specially.
17826 (BODY for TO_LOOP): Add encoding of missing ranges.
17827
febb44a4
TS
178282012-05-11 Thomas Schwinge <thomas@codesourcery.com>
17829
17830 [BZ #13673]
17831 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
17832 * sysdeps/mach/hurd/dup3.c: Likewise.
17833 * sysdeps/mach/hurd/readlinkat.c: Likewise.
17834 * sysdeps/powerpc/memmove.c:: Likewise.
17835
0a10fb9e
L
178362012-05-10 H.J. Lu <hongjiu.lu@intel.com>
17837
17838 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
17839 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
17840
df8a552f
L
178412012-05-10 H.J. Lu <hongjiu.lu@intel.com>
17842
17843 * elf/elf.h (R_X86_64_RELATIVE64): New.
17844 (R_X86_64_NUM): Updated.
17845 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
17846 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
17847 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
17848 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
17849 tst-quad1pie tst-quad2pie
17850 (modules-names): Add tst-quadmod1 tst-quadmod2.
17851 ($(objpfx)tst-quad1): New dependency.
17852 ($(objpfx)tst-quad2): Likewise.
17853 ($(objpfx)tst-quad1pie): Likewise.
17854 ($(objpfx)tst-quad2pie): Likewise.
17855 * sysdeps/x86_64/tst-quad1.c: New file.
17856 * sysdeps/x86_64/tst-quad1pie.c: New file.
17857 * sysdeps/x86_64/tst-quad2.c: Likewise.
17858 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
17859 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
17860 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
17861 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
17862 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
17863
f34d6f84
ST
178642012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17865
f42d41d1
ST
17866 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
17867 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
17868 * streams/stropts.h (t_scalar_t): Define type.
17869
3c3571fc
ST
17870 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
17871 (_PATH_PRESERVE): Set to "/var/lib".
17872 (_PATH_RWHODIR): Set to "/var/spool/rwho".
17873
61f06bd3
ST
17874 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
17875 instead of int.
17876
918d4d71
ST
17877 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
17878 if __dir_mkfile succeeded.
17879
f34d6f84
ST
17880 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
17881 checking for _hurd_dtablesize. Unlock it right after having
17882 finished _hurd_dtable allocation.
17883
10589b4a
TS
178842012-05-10 Thomas Schwinge <thomas@schwinge.name>
17885
674cdbc7
TS
17886 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
17887 * sysdeps/mach/hurd/configure: Regenerated.
17888 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
17889 special-casing to...
17890 * sysdeps/gnu/configure.in: ... this new file.
17891 * sysdeps/unix/sysv/linux/configure: Regenerated.
17892 * sysdeps/gnu/configure: New generated file.
17893
8e41b99f
TS
17894 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
17895 for Linux: use nsec instead of usec, as well as:
17896 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
17897 members of type struct timespec.
17898 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
17899 New macros.
17900 (struct stat64): Likewise.
17901 (_STATBUF_ST_NSEC): New macro.
17902 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
17903
10589b4a
TS
17904 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
17905 __strtoul_internal rather than strtoul.
17906
63643c85
PT
179072012-05-10 Pino Toscano <toscano.pino@tiscali.it>
17908
17909 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
17910 and reject them.
17911
3faebe6a
ST
179122012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17913
17914 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
17915 which preserves existing values.
17916 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
17917
c6474b07
PT
179182012-05-10 Pino Toscano <toscano.pino@tiscali.it>
17919
17920 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
17921 TIMEOUT values. Return EINVAL for NFDS values either negative or
17922 greater than FD_SETSIZE.
17923
1043890b
ST
179242012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17925
17926 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
17927 allocated, call __vm_protect to finish enabling the existing space, and
17928 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
17929 allocate the remainder.
17930
37ed8b9b
PT
179312012-05-10 Pino Toscano <toscano.pino@tiscali.it>
17932
17933 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
17934 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
17935
db653660
ST
179362012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17937
37ed8b9b
PT
17938 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
17939 sysdeps/mach/hurd/readlink.c.
b29d4053 17940
db653660
ST
17941 * posix/tst-sysconf.c (posix_options): Only use
17942 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
17943 _POSIX_SYNCHRONIZED_IO when they are defined
17944 * sysdeps/mach/hurd/bits/posix_opt.h:
17945 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
17946 (_XOPEN_REALTIME): Undefine macro.
17947 (_XOPEN_REALTIME_THREADS): Undefine macro.
17948 (_XOPEN_SHM): Undefine macro.
17949 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
17950 macro to -1.
17951 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
17952 macro to -1.
17953 (_POSIX_ASYNC_IO): Undefine macro.
17954 (_POSIX_PRIORITIZED_IO): Undefine macro.
17955 (_POSIX_SPIN_LOCKS): Define macro to -1.
17956
ee16e894
ST
17957 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
17958 SA_NODEFER, SA_RESETHAND.
17959 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
17960 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
17961 F_DUPFD_CLOEXEC.
17962
6103ae3b
TS
179632012-05-10 Thomas Schwinge <thomas@schwinge.name>
17964
17965 * elf/Makefile (pldd-modules): Define unconditionally.
17966
80b4e5f3
TS
179672012-05-10 Thomas Schwinge <thomas@schwinge.name>
17968
17969 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
17970
edadcbd6
ST
179712012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17972
17973 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
17974 Return ENOENT when name is empty.
17975 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
17976
80694780
TS
179772012-05-10 Thomas Schwinge <thomas@schwinge.name>
17978
1792c087
TS
17979 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
17980
80694780
TS
17981 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
17982
6b645f0d
ST
179832012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17984
80694780
TS
17985 Fix mlock in all cases except non-readable pages.
17986 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
17987 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 17988
6b645f0d
ST
17989 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
17990 (__mkdir): When path is `/', just fail with EEXIST.
17991 * sysdeps/mach/hurd/mkdirat.c: Likewise.
17992
e468f8a3
TS
179932012-05-10 Thomas Schwinge <thomas@schwinge.name>
17994
17995 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
17996 <sys/uio.h> (for writev).
17997 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
17998 and <sys/param.h> (for MIN).
17999
a4186cff
PT
180002012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18001
18002 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
18003 REQUESTED_TIME. Properly set the remaining time and return EINTR
18004 if interrupted.
18005
510bbf14
TS
180062012-05-10 Thomas Schwinge <thomas@schwinge.name>
18007
18008 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
18009 Depend on against $(link-rpcuserlibs).
18010
5d5722e8
ST
180112012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18012
a4186cff
PT
18013 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
18014 (__libc_stack_end): Do not use attribute_relro.
18015 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
18016 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 18017 to libthread-provided value.
a4186cff
PT
18018 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
18019 attribute_relro.
5d5722e8 18020
37233df9
TS
180212012-05-10 Thomas Schwinge <thomas@schwinge.name>
18022
be971a2b
TS
18023 [BZ #3748]
18024 * bits/libc-lock.h (__libc_once_get): New macro.
18025 * sysdeps/mach/bits/libc-lock.h: Likewise.
18026 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
18027 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
18028 instead of using implementation details.
18029
37233df9
TS
18030 * libio/fileops.c: Unconditionally include <kernel-features.h>.
18031 * libio/freopen.c: Likewise.
18032 * libio/freopen64.c: Likewise.
18033 * misc/syslog.c: Likewise.
18034 * nscd/connections.c: Likewise.
18035 * nscd/netgroupcache.c: Likewise.
18036 * sysdeps/posix/getcwd.c: Likewise.
18037
38de94a5
RM
180382012-05-10 Roland McGrath <roland@hack.frob.com>
18039
18040 * math/w_ilogbf.c: Add #include <limits.h>.
18041
67530489
ST
180422012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18043
a4186cff 18044 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
18045 path instead of returning without unlocking.
18046
67530489
ST
18047 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
18048 immediate-write ioctls.
18049 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
18050
5aa3a74a
TS
180512012-05-10 Thomas Schwinge <thomas@schwinge.name>
18052
18bad2ae
TS
18053 * sysdeps/mach/hurd/i386/init-first.c (init): Use
18054 __builtin_frame_address instead of making assumptions about the
18055 location of the return address relative to DATA. Force early load of
18056 the return address.
18057 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
18058 __builtin_frame_address.
18059
5aa3a74a
TS
18060 dup3 for GNU Hurd.
18061 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
18062 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
18063 implement dup3 and do some further code clean-ups.
18064 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
18065 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
18066
ecd0de9a
ST
180672012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18068
cd9fa985
ST
18069 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
18070
a4186cff
PT
18071 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
18072 HURD_CRITICAL_END around holding _hurd_dtable_lock.
18073 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
18074 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
18075 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
18076 d->port.lock.
802ca5a5 18077
a4186cff
PT
18078 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
18079 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
18080 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 18081
bcf55240
TS
180822012-05-10 Thomas Schwinge <thomas@schwinge.name>
18083
6960eb42
TS
18084 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
18085 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
18086 definitions.
18087
eb43375f
TS
18088 accept4 for GNU Hurd.
18089 * include/sys/socket.h (__libc_accept4): New prototype.
18090 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
18091 to implement __libc_accept4.
18092 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
18093 __libc_accept4.
18094 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
18095
bcf55240
TS
18096 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
18097 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
18098 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
18099 signal-defines.sym.
18100
6178c55b
ST
181012012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18102
a4186cff 18103 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 18104
6f080c2f
TS
181052012-05-10 Thomas Schwinge <thomas@schwinge.name>
18106
18107 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
18108 assertion on O_CLOEXEC flag.
18109 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
18110 * hurd/intern-fd.c: Likewise.
18111 * hurd/port2fd.c: Likewise.
18112
bcfe3a54
ST
181132012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18114
18115 [BZ #3906]
18116 * bits/in.h (IPV6_PKTINFO): Define new macro.
18117 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
18118
89c9aa49
AZ
181192012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18120
18121 [BZ #13954]
18122 [BZ #13955]
18123 [BZ #13956]
18124 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
18125 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
18126 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
18127 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
18128 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18129 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
18130 * math/libm-test.inc (logb_test) : Additional logb tests.
18131
021db4be
AJ
181322012-05-09 Andreas Schwab <schwab@linux-m68k.org>
18133 Andreas Jaeger <aj@suse.de>
18134
18135 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
18136 * configure: Regenerated.
18137 * config.h.in (LINK_OBSOLETE_RPC): New macro.
18138 * config.make.in (link-obsolete-rpc): New substituted variable.
18139 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
18140 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
18141 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
18142 (shared-only-routines): Don't set it under [link-obsolete-rpc],
18143 so that libc.a contains the symbols.
18144 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
18145 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
18146 * sunrpc/auth_none.c: Likewise.
18147 * sunrpc/auth_unix.c: Likewise.
18148 * sunrpc/authdes_prot.c: Likewise.
18149 * sunrpc/authuxprot.c: Likewise.
18150 * sunrpc/clnt_gen.c: Likewise.
18151 * sunrpc/clnt_perr.c: Likewise.
18152 * sunrpc/clnt_raw.c: Likewise.
18153 * sunrpc/clnt_simp.c: Likewise.
18154 * sunrpc/clnt_tcp.c: Likewise.
18155 * sunrpc/clnt_udp.c: Likewise.
18156 * sunrpc/clnt_unix.c: Likewise.
18157 * sunrpc/des_crypt.c: Likewise.
18158 * sunrpc/des_soft.c: Likewise.
18159 * sunrpc/get_myaddr.c: Likewise.
18160 * sunrpc/key_call.c: Likewise.
18161 * sunrpc/key_prot.c: Likewise.
18162 * sunrpc/netname.c: Likewise.
18163 * sunrpc/pm_getmaps.c: Likewise.
18164 * sunrpc/pm_getport.c: Likewise.
18165 * sunrpc/pmap_clnt.c: Likewise.
18166 * sunrpc/pmap_prot.c: Likewise.
18167 * sunrpc/pmap_prot2.c: Likewise.
18168 * sunrpc/pmap_rmt.c: Likewise.
18169 * sunrpc/publickey.c: Likewise.
18170 * sunrpc/rpc_cmsg.c: Likewise.
18171 * sunrpc/rpc_common.c: Likewise.
18172 * sunrpc/rpc_dtable.c: Likewise.
18173 * sunrpc/rpc_prot.c: Likewise.
18174 * sunrpc/rpc_thread.c: Likewise.
18175 * sunrpc/rtime.c: Likewise.
18176 * sunrpc/svc.c: Likewise.
18177 * sunrpc/svc_auth.c: Likewise.
18178 * sunrpc/svc_raw.c: Likewise.
18179 * sunrpc/svc_run.c: Likewise.
18180 * sunrpc/svc_tcp.c: Likewise.
18181 * sunrpc/svc_udp.c: Likewise.
18182 * sunrpc/svc_unix.c: Likewise.
18183 * sunrpc/svcauth_des.c: Likewise.
18184 * sunrpc/xcrypt.c: Likewise.
18185 * sunrpc/xdr.c: Likewise.
18186 * sunrpc/xdr_array.c: Likewise.
18187 * sunrpc/xdr_float.c: Likewise.
18188 * sunrpc/xdr_intXX_t.c: Likewise.
18189 * sunrpc/xdr_mem.c: Likewise.
18190 * sunrpc/xdr_rec.c: Likewise.
18191 * sunrpc/xdr_ref.c: Likewise.
18192 * sunrpc/xdr_sizeof.c: Likewise.
18193 * sunrpc/xdr_stdio.c: Likewise.
18194
b5c086a2
RM
181952012-05-10 Roland McGrath <roland@hack.frob.com>
18196
18197 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
18198 change. Update copyright years.
18199
6d74dd09
JM
182002012-05-10 Joseph Myers <joseph@codesourcery.com>
18201
18202 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
18203
28e72501
MK
182042012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
18205 Joseph Myers <joseph@codesourcery.com>
18206 Paul Pluzhnikov <ppluzhnikov@google.com>
18207
18208 [BZ #14012]
18209 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
18210 requiring rpcgen.
18211 [cross-compiling] (extra-libs): Likewise.
18212 [cross-compiling] (extra-libs-others): Likewise.
18213 [cross-compiling] (librpcsvc-routines): Likewise.
18214 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
18215 [cross-compiling] (omit-deps): Likewise.
18216 (sunrpc-CPPFLAGS): New variable.
18217 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
18218 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
18219 (cross-rpcgen-objs): New variable.
18220 (extra-objs): Append $(cross-rpcgen-objs).
18221 ($(cross-rpcgen-objs)): New rule.
18222 ($(objpfx)cross-rpcgen): Likewise.
18223 (rpcgen-cmd): Define to use $(built-program-file). Expand
18224 comment.
18225 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
18226 ($(objpfx)x%.stmp): Likewise.
18227 * sunrpc/proto.h [IS_IN_build] (_): Define.
18228 [IS_IN_build] (_libc_intl_domainname): Likewise.
18229
c8c59454
L
182302012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18231
18232 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
18233 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
18234 and R_X86_64_TPOFF64.
18235
6f27cd16
JM
182362012-05-10 Joseph Myers <joseph@codesourcery.com>
18237
18238 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
18239 sysdeps/unix/sysv/syscalls.list.
18240 (stime): Likewise.
18241 (utime): Likewise.
18242 * sysdeps/unix/sysv/syscalls.list: Remove file.
18243
02467e1c
PE
182442012-05-10 Paul Eggert <eggert@cs.ucla.edu>
18245
18246 [BZ #3440]
18247 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
18248 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
18249 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
18250 (__LC_IDENTIFICATION): Make these macros useful in #if
18251 expressions, as required by C99.
18252
da392631
AS
182532012-05-10 Andreas Schwab <schwab@linux-m68k.org>
18254
18255 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
18256 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
18257 after this.
18258
8115f29b
L
182592012-05-09 H.J. Lu <hongjiu.lu@intel.com>
18260
18261 * stdlib/longlong.h: Updated from GCC.
18262
bdd74070
AJ
182632012-05-09 Andreas Jaeger <aj@suse.de>
18264
edfe0dbe
AJ
18265 * nscd/nscd.c (run_modes): Make named enum, reorder so that
18266 default is first entry.
18267 (run_mode): Set type.
18268 (main): Remove informal message about syslog.
18269 (options): Fix typo.
18270
bcfe3a54
ST
18271 [BZ #14053]
18272 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 18273 to asm.
bcfe3a54
ST
18274 (lrint): Likewise.
18275 (llrintf): Likewise.
18276 (llrint): Likewise.
18277 (rint): Likewise.
18278 (rintf): Likewise.
18279 (nearbyint): Likewise.
18280 (nearbyintf): Likewise.
bdd74070 18281
91d8d69e
AJ
182822012-05-09 Andreas Jaeger <aj@suse.de>
18283 Pedro Alves <palves@redhat.com>
18284
18285 * nscd/nscd.c (run_mode): Use enum.
18286 (main): Cleanup coding style issue.
18287
bb90b80b
AJ
182882012-05-09 Alexandre Oliva <aoliva@redhat.com>
18289 Andreas Jaeger <aj@suse.de>
18290
bcfe3a54
ST
18291 * nscd/nscd.c (go_background): Replaced with...
18292 (run_mode): ... this.
bb90b80b 18293 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
18294 (options): Add -F --foreground.
18295 (main): Implement it.
18296 (parse_opt): Parse it.
bb90b80b 18297
1a4b75a1
AJ
182982012-05-09 Andreas Jaeger <aj@suse.de>
18299
18300 [BZ #14083]
18301 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
18302 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
18303 -Wconversion warning.
18304 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
18305 Likewise.
18306
b1cc2472
JM
183072012-05-09 Joseph Myers <joseph@codesourcery.com>
18308
18309 * conform/data/locale.h-data (NULL): Use macro-constant. Require
18310 == 0.
18311 (LC_ALL): Use macro-int-constant.
18312 (LC_COLLATE): Likewise.
18313 (LC_CTYPE): Likewise.
18314 (LC_MESSAGES): Likewise.
18315 (LC_MONETARY): Likewise.
18316 (LC_NUMERIC): Likewise.
18317 (LC_TIME): Likewise.
18318 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
18319 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
18320 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18321 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
18322 Specify type.
18323 [C99-based standards] (float_t): Expect type.
18324 [C99-based standards] (double_t): Expect type.
18325 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
18326 type.
18327 [C99-based standards] (HUGE_VALL): Likewise.
18328 [C99-based standards] (INFINITY): Likewise.
18329 [C99-based standards] (NAN): Likewise.
18330 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
18331 [C99-based standards] (FP_NAN): Likewise.
18332 [C99-based standards] (FP_NORMAL): Likewise.
18333 [C99-based standards] (FP_SUBNORMAL): Likewise.
18334 [C99-based standards] (FP_ZERO): Likewise.
18335 [C99-based standards] (FP_FAST_FMA): Use
18336 optional-macro-int-constant. Specify type. Require == 1.
18337 [C99-based standards] (FP_FAST_FMAF): Likewise.
18338 [C99-based standards] (FP_FAST_FMAL): Likewise.
18339 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
18340 [C99-based standards] (FP_ILOGBNAN): Likewise.
18341 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
18342 Specify type.
18343 [C99-based standards] (MATH_ERREXCEPT): Likewise.
18344 [C99-based standards] (math_errhandling): Specify type.
18345 [ISO99 || ISO11] (signgam): Do not allow.
18346 [non-C99-based standards] (copysignf): Do not allow.
18347 [non-C99-based standards] (exp2f): Likewise.
18348 [non-C99-based standards] (log2f): Likewise.
18349 [non-C99-based standards] (modff): Allow.
18350 [non-C99-based standards] (erff): Do not allow.
18351 [non-C99-based standards] (erfcf): Likewise.
18352 [non-C99-based standards] (gammaf): Likewise.
18353 [non-C99-based standards] (hypotf): Likewise.
18354 [non-C99-based standards] (j0f): Likewise.
18355 [non-C99-based standards] (j1f): Likewise.
18356 [non-C99-based standards] (jnf): Likewise.
18357 [non-C99-based standards] (lgammaf): Likewise.
18358 [non-C99-based standards] (tgammaf): Likewise.
18359 [non-C99-based standards] (y0f): Likewise.
18360 [non-C99-based standards] (y1f): Likewise.
18361 [non-C99-based standards] (ynf): Likewise.
18362 [non-C99-based standards] (isnanf): Likewise.
18363 [non-C99-based standards] (acoshf): Likewise.
18364 [non-C99-based standards] (asinhf): Likewise.
18365 [non-C99-based standards] (atanhf): Likewise.
18366 [non-C99-based standards] (cbrtf): Likewise.
18367 [non-C99-based standards] (expm1f): Likewise.
18368 [non-C99-based standards] (ilogbf): Likewise.
18369 [non-C99-based standards] (log1pf): Likewise.
18370 [non-C99-based standards] (logbf): Likewise.
18371 [non-C99-based standards] (nextafterf): Likewise.
18372 [non-C99-based standards] (remainderf): Likewise.
18373 [non-C99-based standards] (rintf): Likewise.
18374 [non-C99-based standards] (scalbf): Likewise.
18375 [non-C99-based standards] (copysignl): Likewise.
18376 [non-C99-based standards] (exp2l): Likewise.
18377 [non-C99-based standards] (log2l): Likewise.
18378 [non-C99-based standards] (modfl): Allow.
18379 [non-C99-based standards] (erfl): Do not allow.
18380 [non-C99-based standards] (erfcl): Likewise.
18381 [non-C99-based standards] (gammal): Likewise.
18382 [non-C99-based standards] (hypotl): Likewise.
18383 [non-C99-based standards] (j0l): Likewise.
18384 [non-C99-based standards] (j1l): Likewise.
18385 [non-C99-based standards] (jnl): Likewise.
18386 [non-C99-based standards] (lgammal): Likewise.
18387 [non-C99-based standards] (tgammal): Likewise.
18388 [non-C99-based standards] (y0l): Likewise.
18389 [non-C99-based standards] (y1l): Likewise.
18390 [non-C99-based standards] (ynl): Likewise.
18391 [non-C99-based standards] (isnanl): Likewise.
18392 [non-C99-based standards] (acoshl): Likewise.
18393 [non-C99-based standards] (asinhl): Likewise.
18394 [non-C99-based standards] (atanhl): Likewise.
18395 [non-C99-based standards] (cbrtl): Likewise.
18396 [non-C99-based standards] (expm1l): Likewise.
18397 [non-C99-based standards] (ilogbl): Likewise.
18398 [non-C99-based standards] (log1pl): Likewise.
18399 [non-C99-based standards] (logbl): Likewise.
18400 [non-C99-based standards] (nextafterl): Likewise.
18401 [non-C99-based standards] (remainderl): Likewise.
18402 [non-C99-based standards] (rintl): Likewise.
18403 [non-C99-based standards] (scalbl): Likewise.
18404 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18405 [non-C99-based standards] (FP_*): Do not allow.
18406 [C99-based standards] (FP_*): Change to
18407 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
18408 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18409 allow.
18410 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
18411 (SIG_ERR): Likewise.
18412 [X/Open-based standards] (SIG_HOLD): Likewise.
18413 (SIG_IGN): Likewise.
18414 (SIGABRT): Use macro-int-constant. Specify type. Require
18415 positive value.
18416 (SIGFPE): Likewise.
18417 (SIGILL): Likewise.
18418 (SIGINT): Likewise.
18419 (SIGSEGV): Likewise.
18420 (SIGTER): Likewise.
18421 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
18422 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
18423 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
18424 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
18425 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
18426 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
18427 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
18428 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
18429 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
18430 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
18431 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
18432 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
18433 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
18434 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
18435 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
18436 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
18437 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
18438 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
18439 [X/Open-based standards] (SIGTRAP): Likewise.
18440 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
18441 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
18442 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
18443 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
18444 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18445 allow.
18446
b9f1922d
IW
184472012-05-08 Ian Wienand <ianw@vmware.com>
18448
18449 [BZ #14080]
18450 * time/tzset.c (__tzset_parse_tz): Update default rules for
18451 daylight time changes in the Energy Policy Act of 2005.
18452
1db86e88
AJ
184532012-05-09 Andreas Jaeger <aj@suse.de>
18454
18455 [BZ #13983]
18456 * elf/ldconfig.c (parse_conf): Change string to make clear that
18457 ldconfig only issued a warning if ld.so.conf does not exist.
18458
dee4a4e3
DM
184592012-05-08 David S. Miller <davem@davemloft.net>
18460
ee0db190
DM
18461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
18462 movxtod instead of popping the value on the stack.
18463
dee4a4e3
DM
18464 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18465
6a43ec98
CD
184662012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
18467
18468 * config.h.in: Add HAVE_ARM_PCS_VFP.
18469
05c2c961
RMG
184702012-05-08 Roland Mc Grath <roland@hack.frob.com>
18471
bcfe3a54
ST
18472 [BZ #13979]
18473 * include/features.h: Warn if user requests __FORTIFY_SOURCE
18474 checking but the checks are disabled for any reason.
05c2c961 18475
4b30f61a
L
184762012-05-08 H.J. Lu <hongjiu.lu@intel.com>
18477
18478 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
18479 and ELF64_R_TYPE with ELFW(R_TYPE).
18480
eee2bc67
JM
184812012-05-08 Joseph Myers <joseph@codesourcery.com>
18482
7ea5391a
JM
18483 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
18484 (ulimit): Likewise.
18485
eee2bc67
JM
18486 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
18487 (settimeofday): Likewise.
18488
abb66a67
MF
184892012-05-08 Mike Frysinger <vapier@gentoo.org>
18490
18491 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
18492 a struct th_u2 inside the union, and move tu_block/tu_code into
18493 a new th_u3 union of tu_block/tu_code inside of that. Move
18494 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
18495 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
18496 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
18497 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
18498 (th_stuff): Change to th_u1.tu_stuff.
18499 (th_data): Define.
18500 (th_msg): Change to th_u1.th_u2.tu_data.
18501
7f18b530
DM
185022012-05-07 David S. Miller <davem@davemloft.net>
18503
05760585
DM
18504 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18505
7f18b530
DM
18506 [BZ #14074]
18507 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
18508 (SETUP_PIC_REG): Use it.
18509 (SETUP_PIC_REG_LEAF): Use it.
18510
495fd99f
JM
185112012-05-07 Joseph Myers <joseph@codesourcery.com>
18512
18513 [BZ #13885]
18514 [BZ #13923]
18515 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18516 USE_AS_EXPM1L.
18517 (EXPL_FINITE): Likewise.
18518 (FLDLOG): Likewise.
18519 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
18520 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
18521 e_expl.S.
18522 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18523 USE_AS_EXPM1L.
18524 (EXPL_FINITE): Likewise.
18525 (FLDLOG): Likewise.
18526 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
18527 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
18528 e_expl.S.
18529 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
18530 test of -max_value argument for long double.
18531 * sysdeps/i386/fpu/libm-test-ulps: Update.
18532 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18533
6693d694
DM
185342012-05-06 David S. Miller <davem@davemloft.net>
18535
18536 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
18537 quad soft-float symbols whose references which are compiler
18538 generated.
18539 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
18540
6c23e11c
JM
185412012-05-06 Joseph Myers <joseph@codesourcery.com>
18542
d8b82cad
JM
18543 [BZ #13884]
18544 [BZ #13914]
18545 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18546 USE_AS_EXP10L.
18547 (EXPL_FINITE): Likewise.
18548 (FLDLOG): Likewise.
18549 (c0): Likewise.
18550 (c1): Likewise.
18551 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
18552 Adjust comments for base varying.
18553 (__expl_finite): Change alias to EXPL_FINITE.
18554 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
18555 e_expl.S.
18556 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
18557 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
18558 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
18559 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
18560 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18561 USE_AS_EXP10L.
18562 (EXPL_FINITE): Likewise.
18563 (FLDLOG): Likewise.
18564 (c0): Likewise.
18565 (c1): Likewise.
18566 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
18567 Adjust comments for base varying.
18568 (__expl_finite): Change alias to EXPL_FINITE.
18569 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
18570 tests for bugs.
18571 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18572
6c23e11c
JM
18573 [BZ #14064]
18574 * math/libm-test.inc (check_float_internal): Correct ulp
18575 calculation for subnormal expected results.
18576
29ba805c
AJ
185772012-05-06 Andreas Jaeger <aj@suse.de>
18578
18579 * Makeconfig (+math-flags): New, set to -frounding-math.
18580 (+cflags): Add +math-flags so that all of glibc gets compiled with
18581 it.
18582
18583 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
18584
7b17aeda
JM
185852012-05-05 Joseph Myers <joseph@codesourcery.com>
18586
5779f134
JM
18587 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
18588 Disable one test.
18589
41498f4d
JM
18590 [BZ #13787]
18591 [BZ #13922]
18592 [BZ #14036]
18593 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
18594 (__ieee754_expl): Allow for and saturate large arguments.
18595 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
18596 (u_threshold): Likewise.
18597 (__exp): Call __ieee754_exp before checking for overflow and
18598 underflow.
18599 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
18600 (u_threshold): Likewise.
18601 (__expf): Call __ieee754_expf before checking for overflow and
18602 underflow.
18603 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
18604 (u_threshold): Likewise.
18605 (__expl): Call __ieee754_expl before checking for overflow and
18606 underflow.
18607 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
18608 (__ieee754_expl): Allow for and saturate large arguments.
18609 * math/libm-test.inc (exp_test): Add another test. Do not allow
18610 missing overflow exception on overflow.
18611 (expm1_test): Do not allow missing overflow exception on overflow.
18612
6698b8bf
JM
18613 * sysdeps/i386/fpu/e_expl.c: Move to ...
18614 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
18615 rather than using inline asm.
18616 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
18617 * sysdeps/x86_64/fpu/e_expl.S: Copy from
18618 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
18619
7b17aeda
JM
18620 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
18621 (nice): Likewise.
18622 (poll): Likewise.
18623 (signal): Likewise.
18624 (time): Likewise.
18625 (times): Likewise.
18626
f7c85819
JM
186272012-05-04 Joseph Myers <joseph@codesourcery.com>
18628
18629 * sysdeps/unix/syscalls.list (adjtime): Add entry from
18630 sysdeps/unix/common/syscalls.list.
18631 (fchmod): Likewise.
18632 (fchown): Likewise.
18633 (ftruncate): Likewise.
18634 (getrusage): Likewise.
18635 (gettimeofday): Likewise.
18636 (setpgid): Likewise.
18637 (setregid): Likewise.
18638 (setreuid): Likewise.
18639 (sigaction): Likewise.
18640 (truncate): Likewise.
18641 (vhangup): Likewise.
18642 * sysdeps/unix/common/syscalls.list: Remove file.
18643 * sysdeps/unix/bsd/Implies: Don't include unix/common.
18644 * sysdeps/unix/sysv/linux/Implies: Likewise.
18645
336270d0
L
186462012-05-04 H.J. Lu <hongjiu.lu@intel.com>
18647
18648 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
18649 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
18650 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
18651 Moved to ...
18652 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
18653 Here.
18654 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
18655 to ...
18656 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
18657 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
18658 to ...
18659 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
18660 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
18661 to ...
18662 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
18663 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
18664 to ...
18665 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
18666 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
18667 to ...
18668 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
18669 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
18670 to ...
18671 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
18672 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
18673 to ...
18674 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
18675 Here.
18676 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
18677 to ...
18678 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
18679 Here.
18680 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
18681 to ...
18682 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
18683 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
18684 Moved to ...
18685 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
18686 Here.
18687 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
18688 to ...
18689 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
18690
d128e450
JM
186912012-05-04 Joseph Myers <joseph@codesourcery.com>
18692
fa8ee516
JM
18693 * sysdeps/unix/common/bits/dirent.h: Remove file.
18694 * sysdeps/unix/common/bits/fcntl.h: Likewise.
18695
d128e450
JM
18696 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
18697 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
18698 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
18699 * sysdeps/unix/bsd/isatty.c: Likewise.
18700 * sysdeps/unix/bsd/tcdrain.c: Likewise.
18701 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
18702 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
18703
ff8faaf0 187042012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 18705
62881be4 18706 [BZ #13563]
31dc8730
AZ
18707 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
18708 long double comparison inaccuracies.
18709 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
18710 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18711
6fef930c
AS
187122012-05-04 Andreas Schwab <schwab@linux-m68k.org>
18713
18714 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
18715 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
18716
8f203e6c
JM
187172012-05-04 Joseph Myers <joseph@codesourcery.com>
18718
18719 [BZ #14049]
18720 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
18721 nonzero digits before rounding a hex value.
18722 * stdlib/tst-strtod.c (tests): Add another test.
18723
5197d9c2
AK
187242012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18725
18726 * sysdeps/s390/fpu/libm-test-ulps: Update.
18727
f0c1dedf
AJ
187282012-05-03 Andreas Jaeger <aj@suse.de>
18729
18730 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
18731 does not get optimized out.
18732 (malloc_opt_barrier): New.
18733
a65ef2ae 187342012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 18735 Roland McGrath <roland@hack.frob.com>
a65ef2ae 18736
2b942cb7 18737 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 18738 intermediate file deletion.
2b942cb7 18739 (generated): Add .symlist files.
a65ef2ae 18740
54b71e02
JM
187412012-05-03 Joseph Myers <joseph@codesourcery.com>
18742
18743 [BZ #13775]
18744 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
18745 Redirect under this condition.
18746 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
18747 [__USE_GNU] (__dprintf_chk): Not under this condition.
18748 [__USE_GNU] (__vdprintf_chk): Likewise.
18749 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
18750 under this condition.
18751 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
18752 [__USE_XOPEN2K8] (dprintf): Define under this condition.
18753 [__USE_XOPEN2K8] (vdprintf): Likewise.
18754 [__USE_GNU] (__dprintf_chk): Not under this condition.
18755 [__USE_GNU] (__vdprintf_chk): Likewise.
18756 [__USE_GNU] (dprintf): Likewise.
18757 [__USE_GNU] (vdprintf): Likewise.
18758
d3dfcc41
RM
187592012-05-03 Roland McGrath <roland@hack.frob.com>
18760
18761 * elf/Makefile (common-generated): Set this instead of generated for
18762 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
18763 $(all-built-dso)-derived lists.
18764
7ac30cc5
AJ
187652012-05-03 Andreas Jaeger <aj@suse.de>
18766
0c51e550
AJ
18767 * sysdeps/i386/fpu/libm-test-ulps: Update.
18768
7ac30cc5
AJ
18769 * FAQ: Removed.
18770 * FAQ.in: Likewise.
18771 * scripts/gen-FAQ.pl: Likewise.
18772 * manual/install.texi (Installation): Point to online location of
18773 FAQ.
18774 * Makefile (files-for-dist): Remove FAQ.
18775 (FAQ): Remove.
18776
d4c2917f
AM
187772012-05-02 Allan McRae <allan@archlinux.org>
18778
18779 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
18780 (LDFLAGS-reldepmod5.so): Likewise.
18781 (LDFLAGS-reldep6mod1.so): Likewise.
18782 (LDFLAGS-reldep6mod4.so): Likewise.
18783 (LDFLAGS-reldep8mod3.so): Likewise.
18784 (LDFLAGS-unload4mod1.so): Likewise.
18785 (LDFLAGS-unload4mod2.so): Likewise.
18786 (LDFLAGS-tst-initorder): Likewise.
18787 (LDFLAGS-tst-initordera2.so): Likewise.
18788 (LDFLAGS-tst-initordera3.so): Likewise.
18789 (LDFLAGS-tst-initordera4.so): Likewise.
18790 (LDFLAGS-tst-initorderb2.so): Likewise.
18791 (LDFLAGS-noload): Likewise.
18792 (LDFLAGS-next): Likewise.
18793 (LDFLAGS-order2mod1.so): Likewise.
18794 (LDFLAGS-order2mod2.so): Likewise.
18795 (LDFLAGS-tst-initorder2): Likewise.
18796 (LDFLAGS-tst-initorder2a.so): Likewise.
18797 (LDFLAGS-tst-initorder2b.so): Likewise.
18798 (LDFLAGS-tst-initorder2c.so): Likewise.
18799 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
18800
d77f993f
DM
188012012-05-02 David S. Miller <davem@davemloft.net>
18802
18803 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18804
171a70b4
PP
188052012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
18806
18807 [BZ #14055]
18808 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
18809
0be196ad
AJ
188102012-05-02 Andreas Jaeger <aj@suse.de>
18811
18812 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
18813 since we manipulate rounding mode.
18814 (CPPFLAGS-test-idouble.c): Likewise.
18815 (CPPFLAGS-test-ifloat.c): Likewise.
18816 (CFLAGS-test-ldouble.c): Likewise.
18817 (CFLAGS-test-double.c): Likewise.
18818 (CFLAGS-test-float.c): Likewise.
18819 (CFLAGS-test-misc.c): Likewise.
18820 (CFLAGS-test-test-fenv.c): Likewise.
18821
4f9d04aa
AZ
188222012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18823
2b942cb7
RM
18824 [BZ #2550]
18825 [BZ #2570]
18826 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
18827 comparisons to determine direction to adjust input.
4f9d04aa 18828
82a79e7d
RM
188292012-05-01 Roland McGrath <roland@hack.frob.com>
18830
f5a01ca9
RM
18831 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
18832 output to the target.
18833
90fe4186
RM
18834 * scripts/localplt.awk: New file.
18835 * elf/Makefile ($(objpfx)check-localplt): Target removed.
18836 (check-localplt-CFLAGS): Variable removed.
18837 ($(all-built-dso:=.jmprel)): New static pattern rule.
18838 (generated): Add those targets.
18839 (localplt-built-dso): New variable.
18840 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
18841
18842 * elf/check-localplt.c: File removed.
18843
82397ed6
RM
18844 * scripts/check-execstack.awk: New file.
18845 * elf/Makefile ($(objpfx)check-execstack): Target removed.
18846 (check-execstack-CFLAGS): Variable removed.
18847 ($(objpfx)check-execstack.h): Target removed.
18848 ($(objpfx)execstack-default): New target.
18849 (generated): Add that instead of check-execstack.h.
18850 ($(all-built-dso:=.phdr)): New static pattern rule.
18851 (generated): Add those targets.
18852 * elf/check-execstack.c: File removed.
18853
82a79e7d
RM
18854 * scripts/check-textrel.awk: New file.
18855 * elf/Makefile ($(objpfx)check-textrel): Target removed.
18856 (check-textrel-CFLAGS): Variable removed.
18857 (all-built-dso): Use := to define.o
18858 ($(all-built-dso:=.dyn)): New static pattern rule.
18859 (generated): Add those targets.
18860 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
18861 * config.make.in (READELF): New substituted variable.
18862 * elf/check-textrel.c: File removed.
18863
62fde54f 188642012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 18865
615605c9
JM
18866 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18867 allow.
18868 * conform/data/ctype.h-data [C99-based standards] (isblank):
18869 Expect function.
18870 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
18871 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
18872 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18873 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
18874 Specify type. Require positive value.
18875 (EILSEQ): Likewise.
18876 (ERANGE): Likewise.
18877 [ISO || POSIX] (EILSEQ): Do not expect.
18878 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
18879 Specify type. Require positive value.
18880 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
18881 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
18882 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
18883 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
18884 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
18885 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
18886 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
18887 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
18888 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
18889 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
18890 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
18891 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
18892 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
18893 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
18894 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
18895 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
18896 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
18897 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
18898 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
18899 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
18900 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
18901 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
18902 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
18903 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
18904 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
18905 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
18906 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
18907 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
18908 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
18909 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
18910 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
18911 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
18912 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
18913 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
18914 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
18915 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
18916 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
18917 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
18918 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
18919 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
18920 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
18921 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
18922 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
18923 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
18924 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
18925 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
18926 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
18927 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
18928 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
18929 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
18930 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
18931 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
18932 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
18933 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
18934 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
18935 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
18936 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
18937 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
18938 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
18939 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
18940 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
18941 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
18942 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
18943 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
18944 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
18945 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
18946 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
18947 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
18948 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
18949 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
18950 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
18951 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
18952 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
18953 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
18954 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
18955 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
18956 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
18957 Require >= 2.
18958 (FLT_ROUNDS): Expect as macro, not constant.
18959 (FLT_MANT_DIG): Use macro-int-constant.
18960 (DBL_MANT_DIG): Likewise.
18961 (LDBL_MANT_DIG): Likewise.
18962 (FLT_DIG): Likewise.
18963 (DBL_DIG): Likewise.
18964 (LDBL_DIG): Likewise.
18965 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
18966 (DBL_MIN_EXP): Likewise.
18967 (LDBL_MIN_EXP): Likewise.
18968 (FLT_MAX_EXP): Use macro-int-constant.
18969 (DBL_MAX_EXP): Likewise.
18970 (LDBL_MAX_EXP): Likewise.
18971 (FLT_MAX_10_EXP): Likewise.
18972 (DBL_MAX_10_EXP): Likewise.
18973 (LDBL_MAX_10_EXP): Likewise.
18974 (FLT_MAX): Use macro-constant.
18975 (DBL_MAX): Likewise.
18976 (LDBL_MAX): Likewise.
18977 (FLT_EPSILON): Use macro-constant. Give upper bound.
18978 (DBL_EPSILON): Likewise.
18979 (LDBL_EPSILON): Likewise.
18980 (FLT_MIN): Likewise.
18981 (DBL_MIN): Likewise.
18982 (LDBL_MIN): Likewise.
18983 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
18984 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
18985 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
18986 [ISO11] (FLT_HAS_SUBNORM): Likewise.
18987 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
18988 [ISO11] (DBL_DECIMAL_DIG): Likewise.
18989 [ISO11] (FLT_DECIMAL_DIG): Likewise.
18990 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
18991 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
18992 [ISO11] (FLT_TRUE_MIN): Likewise.
18993 [ISO11] (LDBL_TRUE_MIN): Likewise.
18994 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18995 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
18996 (SCHAR_MIN): Use macro-int-constant. Specify type.
18997 (SCHAR_MAX): Likewise.
18998 (UCHAR_MAX): Likewise.
18999 (CHAR_MIN): Likewise.
19000 (CHAR_MAX): Likewise.
19001 (MB_LEN_MAX): Use macro-int-constant.
19002 (SHRT_MIN): Use macro-int-constant. Specify type.
19003 (SHRT_MAX): Likewise.
19004 (USHRT_MAX): Likewise.
19005 (INT_MAX): Likewise.
19006 (INT_MIN): Use macro-int-constant. Specify type. Make upper
19007 bound negative.
19008 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
19009 bound with "U".
19010 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
19011 bound with "L".
19012 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
19013 bound negative. Suffix upper bound with "L".
19014 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
19015 bound with "UL".
19016 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
19017 Specify type.
19018 [C99-based standards] (LLONG_MAX): Likewise.
19019 [C99-based standards] (ULLONG_MAX): Likewise.
19020 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
19021 == 0.
19022 [ISO11] (max_align_t): Require type.
19023 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19024
c9140a62
JM
19025 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
19026 from $CFLAGS, without defining away __attribute__ calls.
19027 (checknamespace): Use $CFLAGS_namespace.
19028
9af0bf29
JM
19029 * conform/conformtest.pl (@keywords): Only include C99 keywords
19030 for standards based on C99 or C11.
19031
343222a2
JM
19032 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
19033 Disable tests.
19034 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
19035 UNIX98]: Likewise.
19036
661f8cf0
JM
19037 * conform/conformtest.pl: Handle "macro-int-constant" and test for
19038 usability of symbols in #if.
19039
ee74b9cb
JM
19040 * conform/conformtest.pl: If macro or constant types start
19041 "promoted:", expect the symbol to be of the following type
19042 promoted by the integer promotions.
62fde54f 19043
aafc49b3
JM
19044 * conform/conformtest.pl: Parse all "constant" and "macro" lines
19045 in one place. Also handle "macro-constant".
19046
fefdf574
JM
19047 * conform/conformtest.pl: Only accept expected macro values with
19048 "==". Parse all "macro" lines in one place.
19049 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
19050
f2d922fe
JM
19051 * conform/conformtest.pl: Handle braced types on "constant" lines
19052 instead of handling "typed-constant".
19053 * conform/data/signal.h-data: Use "constant" instead of
19054 "typed-constant".
19055
d22956c9
JM
19056 * conform/conformtest.pl: Handle "optional-" at start of lines in
19057 one place rather than duplicating several cases. Handle each
19058 format of "macro" line with initial "optional-".
19059
028e2e38
JM
19060 * conform/conformtest.pl: Only accept expected constant or
19061 optional-constant values with "==". Parse all "constant" lines in
19062 one place. Parse all "optional-constant" lines in one place.
19063 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
19064 * conform/data/fmtmsg.h-data: Likewise.
19065 * conform/data/netinet/in.h-data: Likewise.
19066 * conform/data/tar.h-data: Likewise.
19067 * conform/data/limits.h-data: Use "==" form on "constant" and
19068 "optional-constant" lines.
19069
1b8f2850
JM
19070 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
19071 Use -std=c99 for XOPEN2K.
19072 (@knownproblems): Remove.
19073 (newtoken): Don't check %isknown.
19074
a05a144b
JM
19075 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
19076 Do not expect macro.
19077 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
19078 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
19079 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
19080 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
19081 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
19082 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
19083 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
19084 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
19085 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
19086 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
19087 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
19088 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
19089 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
19090 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
19091 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
19092 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
19093 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
19094 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
19095 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
19096 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
19097 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
19098 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
19099 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
19100 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
19101 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
19102 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
19103 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
19104 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
19105 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
19106 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
19107 [XPG3] (acosh): Likewise.
19108 [XPG3] (asinh): Likewise.
19109 [XPG3] (atanh): Likewise.
19110 [XPG3] (cbrt): Likewise.
19111 [XPG3] (expm1): Likewise.
19112 [XPG3] (ilogb): Likewise.
19113 [XPG3] (log1p): Likewise.
19114 [XPG3] (logb): Likewise.
19115 [XPG3] (nextafter): Likewise.
19116 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
19117 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
19118 [XPG3] (remainder): Likewise.
19119 [XPG3] (rint): Likewise.
19120 [XPG3 || XPG4 || UNIX98] (round): Likewise.
19121 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
19122 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
19123 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
19124 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
19125 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
19126 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
19127 [UNIX98 || XOPEN2K] (scalb): Expect.
19128 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
19129 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
19130 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
19131 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
19132 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
19133 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
19134 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
19135 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
19136 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
19137 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
19138 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
19139 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
19140 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
19141 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
19142 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
19143 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
19144 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
19145 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
19146 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
19147 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
19148 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
19149 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
19150 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
19151 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
19152 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
19153 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
19154 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
19155 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
19156 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
19157 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
19158 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
19159 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
19160 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
19161 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
19162 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
19163 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
19164 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
19165 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
19166 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
19167 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
19168 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
19169 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
19170 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
19171 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
19172 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
19173 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
19174 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
19175 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
19176 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
19177 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
19178 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
19179 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
19180 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
19181 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
19182 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
19183 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
19184 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
19185 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
19186 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
19187 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
19188 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
19189 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
19190 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
19191 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
19192 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
19193 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
19194 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
19195 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
19196 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
19197 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
19198 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
19199 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
19200 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
19201 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
19202 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
19203 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
19204 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
19205 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
19206 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
19207 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
19208 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
19209 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
19210 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
19211 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
19212 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
19213 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
19214 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
19215 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
19216 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
19217 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
19218 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
19219 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
19220 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
19221 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
19222 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
19223 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
19224 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
19225 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
19226 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
19227 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
19228 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
19229 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
19230 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
19231 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
19232 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
19233 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
19234 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
19235 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
19236 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
19237 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
19238 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
19239 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
19240 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
19241 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
19242 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
19243 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
19244 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
19245 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
19246 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
19247 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
19248 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
19249 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
19250 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
19251 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
19252 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
19253 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
19254 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
19255 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
19256 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
19257 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
19258 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
19259 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
19260 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
19261 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
19262 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
19263 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
19264 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
19265
73c5ebe3
JM
19266 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
19267 _XOPEN_SOURCE_EXTENDED for XPG4.
19268
39c33b6c
JM
19269 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
19270
62fde54f
JM
19271 * Makeconfig (localtime): Remove variable.
19272 (inst_localtime-file): Likewise.
19273
0741d64c
AS
192742012-05-01 Andreas Schwab <schwab@linux-m68k.org>
19275
19276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
19277 Update.
19278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19279 Update.
19280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
19281 Update.
19282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
19283 Update.
19284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
19285 Update.
19286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
19287 Update.
19288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19289 Update.
19290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
19291 Update.
19292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19293 Update.
19294
7cb029ee
JM
192952012-05-01 Joseph Myers <joseph@codesourcery.com>
19296
19297 [BZ #2550]
19298 [BZ #2570]
19299 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
19300 comparisons to determine direction to adjust input.
19301 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
19302 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
19303 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
19304 Likewise.
19305 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
19306 Likewise.
19307 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
19308 Likewise.
19309 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
19310 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
19311 Likewise.
19312 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
19313 Likewise.
19314 * math/libm-test.inc (nexttoward_test): Add more tests.
19315
412bd966
AS
193162012-05-01 Andreas Schwab <schwab@linux-m68k.org>
19317
19318 [BZ #14040]
19319 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
19320 in version GLIBC_2.1, not GLIBC_2.0.
19321 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
19322 Likewise.
19323
9568c0c2
JM
193242012-04-30 Joseph Myers <joseph@codesourcery.com>
19325
adfbc8ac
JM
19326 [BZ #13942]
19327 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
19328 (1 - x) * (1 + x).
19329 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
19330 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
19331 * math/libm-test.inc (acos_test): Add more tests.
19332 (asin_test): Likewise.
19333 * sysdeps/i386/fpu/libm-test-ulps: Update.
19334 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19335
5ba3cc69
JM
19336 [BZ #14034]
19337 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
19338 of square root.
19339 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
19340 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
19341 * math/libm-test.inc (acos_test_tonearest): New function.
19342 (acos_test_towardzero): Likewise.
19343 (acos_test_downward): Likewise.
19344 (acos_test_upward): Likewise.
19345 (asin_test_tonearest): Likewise.
19346 (asin_test_towardzero): Likewise.
19347 (asin_test_downward): Likewise.
19348 (asin_test_upward): Likewise.
19349 (main): Call the new functions.
19350 * sysdeps/i386/fpu/libm-test-ulps: Update.
19351 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19352
9568c0c2
JM
19353 [BZ #13884]
19354 [BZ #13924]
19355 * math/e_exp10.c: Include <float.h>.
19356 (__ieee754_exp10): Handle underflow here rather than multiplying
19357 large negative argument by M_LN10.
19358 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
19359 of __ieee754_expf.
19360 * math/e_exp10l.c: Include <float.h>.
19361 (__ieee754_exp10l): Handle underflow here rather than multiplying
19362 large negative argument by M_LN10l.
19363 * math/libm-test.inc (exp10_test): Add another test. Do not allow
19364 spurious overflow exception on underflow.
19365
5ac3ea17
MP
193662012-04-29 Marek Polacek <polacek@redhat.com>
19367
19368 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
19369 (__fortify_function): New macro.
19370 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
19371 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
19372 __extern_always_inline.
19373 * libio/bits/stdio2.h: Likewise.
19374 * libio/bits/stdio.h: Likewise.
19375 * string/string.h: Likewise.
19376 * string/bits/string3.h: Likewise.
19377 * include/stdio.h: Likewise.
19378 * stdlib/bits/stdlib.h: Likewise.
19379 * stdlib/stdlib.h: Likewise.
19380 * rt/bits/mqueue2.h: Likewise.
19381 * rt/mqueue.h: Likewise.
19382 * posix/bits/unistd.h: Likewise.
19383 * posix/unistd.h: Likewise.
19384 * io/bits/poll2.h: Likewise.
19385 * io/bits/fcntl2.h: Likewise.
19386 * io/fcntl.h: Likewise.
19387 * io/sys/poll.h: Likewise.
19388 * misc/bits/syslog.h: Likewise.
19389 * misc/bits/syslog-ldbl.h: Likewise.
19390 * misc/sys/syslog.h: Likewise.
19391 * socket/bits/socket2.h: Likewise.
19392 * socket/sys/socket.h: Likewise.
19393 * debug/tst-chk1.c: Likewise.
19394 * wcsmbs/bits/wchar2.h: Likewise.
19395 * wcsmbs/bits/wchar-ldbl.h: Likewise.
19396 * wcsmbs/wchar.h: Likewise.
19397
ecf0ebfb
AJ
193982012-04-29 Andreas Jaeger <aj@suse.de>
19399
19400 * Makerules (tests): Remove enable-check-abi protection.
19401 (check-abi-warn): Remove.
19402 (check-abi-%): Remove check-abi-warn usage.
19403
19404 * configure.in: Remove check-abi configure option.
19405 * configure: Regenerated.
19406 * config.make.in (enable-check-abi): Remove.
19407
6d5c57fa
AS
194082012-04-28 Andreas Schwab <schwab@linux-m68k.org>
19409
24c5d07e 19410 [BZ #14033]
ded5180a
AS
19411 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
19412 double functions to double *_finite functions.
19413
7e0d315d
AS
19414 [BZ #13941]
19415 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
19416 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
19417 LDBL_MIN_EXP.
19418 * stdio-common/Makefile (tests): Add tst-sprintf3.
19419 * stdio-common/tst-sprintf3.c: New file.
19420
6d5c57fa
AS
19421 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
19422 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
19423
0749ff8b
JM
194242012-04-28 Joseph Myers <joseph@codesourcery.com>
19425
19426 * conform/conformtest.pl: Remove duplicate typed-constant
19427 handling.
19428
8dbd5d7b
DM
194292012-04-28 David S. Miller <davem@davemloft.net>
19430
19431 * Makerules (%.abilist): Add vpath on sysdep_dirs.
19432 (check-abi-%): Remove AWK script prerequisite and explicit
19433 abilist directory.
19434 (check-abi): Rewrite to just diff the symlist with the abilist.
19435 (config-tls, config-abi-config): Delete, no longer used.
19436 (update-abi-%): Remove AWK script and explicit abilist directory.
19437 (update-abi): Rewrite to simply compare and conditionally copy the
19438 symlist and the sysdep abilist file. Remove update-abi-config
19439 checks.
19440 * abilist/ld.abilist: Remove.
19441 * abilist/libBrokenLocale.abilist: Remove.
19442 * abilist/libanl.abilist: Remove.
19443 * abilist/libcrypt.abilist: Remove.
19444 * abilist/libdl.abilist: Remove.
19445 * abilist/librt.abilist: Remove.
19446 * abilist/libthread_db.abilist: Remove.
19447 * abilist/libutil.abilist: Remove.
19448 * scripts/extract-abilist.awk: Remove.
19449 * scripts/merge-abilist.awk: Remove.
19450 * sysdeps/generic/libcidn.abilist: New file.
19451 * sysdeps/generic/libnss_compat.abilist: New file.
19452 * sysdeps/generic/libnss_db.abilist: New file.
19453 * sysdeps/generic/libnss_dns.abilist: New file.
19454 * sysdeps/generic/libnss_files.abilist: New file.
19455 * sysdeps/generic/libnss_hesiod.abilist: New file.
19456 * sysdeps/generic/libnss_nis.abilist: New file.
19457 * sysdeps/generic/libnss_nisplus.abilist: New file.
19458 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
19459 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
19460 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
19461 file.
19462 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
19463 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
19464 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
19465 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
19466 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
19467 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
19468 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
19469 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
19470 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
19471 file.
19472 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
19473 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
19474 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
19475 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
19476 file.
19477 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
19478 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
19479 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
19480 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
19481 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
19482 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
19483 file.
19484 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
19485 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
19486 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
19487 file.
19488 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
19489 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
19490 New file.
19491 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
19492 New file.
19493 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
19494 New file.
19495 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
19496 New file.
19497 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
19498 New file.
19499 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
19500 New file.
19501 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
19502 New file.
19503 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
19504 New file.
19505 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
19506 New file.
19507 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
19508 New file.
19509 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
19510 New file.
19511 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
19512 New file.
19513 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
19514 New file.
19515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
19516 file.
19517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
19518 New file.
19519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
19520 New file.
19521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
19522 file.
19523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
19524 New file.
19525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
19526 New file.
19527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
19528 file.
19529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
19530 New file.
19531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19532 New file.
19533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
19534 New file.
19535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
19536 New file.
19537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
19538 New file.
19539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
19540 New file.
19541 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
19542 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
19543 file.
19544 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
19545 New file.
19546 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
19547 file.
19548 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
19549 file.
19550 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
19551 file.
19552 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
19553 file.
19554 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
19555 file.
19556 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19557 New file.
19558 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
19559 file.
19560 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
19561 file.
19562 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
19563 New file.
19564 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
19565 file.
19566 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
19567 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
19568 file.
19569 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
19570 New file.
19571 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
19572 file.
19573 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
19574 file.
19575 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
19576 file.
19577 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
19578 file.
19579 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
19580 file.
19581 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19582 New file.
19583 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
19584 file.
19585 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
19586 file.
19587 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
19588 New file.
19589 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
19590 file.
19591 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
19592 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
19593 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
19594 file.
19595 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
19596 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
19597 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
19598 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
19599 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
19600 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
19601 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
19602 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
19603 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
19604 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
19605 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
19606 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
19607 file.
19608 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
19609 New file.
19610 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
19611 file.
19612 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
19613 file.
19614 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
19615 file.
19616 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
19617 file.
19618 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
19619 file.
19620 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
19621 New file.
19622 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
19623 New file.
19624 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
19625 file.
19626 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
19627 New file.
19628 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
19629 file.
19630 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
19631 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
19632 file.
19633 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
19634 New file.
19635 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
19636 file.
19637 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
19638 file.
19639 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
19640 file.
19641 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
19642 file.
19643 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
19644 file.
19645 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
19646 New file.
19647 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
19648 New file.
19649 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
19650 file.
19651 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
19652 New file.
19653 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
19654 file.
19655
41d73a1b
JM
196562012-04-28 Joseph Myers <joseph@codesourcery.com>
19657
19658 * conform/conformtest.pl: Fix typo in handling typed-constant from
19659 allow-header.
19660
28aeeda4
JM
196612012-04-27 Joseph Myers <joseph@codesourcery.com>
19662
adae8f5e
JM
19663 * README: Cut down references to pre-2.6 Linux kernels and
19664 Linuxthreads. Update lists of configurations in libc and ports
19665 and sort alphabetically. Say "or newer" with Linux kernel version
19666 requirements.
19667
28aeeda4
JM
19668 * config.h.in [IS_IN_build]: Allow compiling without optimization.
19669
a462cb63
RA
196702012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19671
19672 [BZ #887]
19673 * math/libm-test.inc (logb_test_downward): New test to expose
19674 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
19675 rounding mode.
19676
6ad3493e
JM
196772012-04-27 Joseph Myers <joseph@codesourcery.com>
19678
19679 [BZ #14027]
19680 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
19681 to be done.
19682 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
19683 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
19684
2ce4f015
JM
196852012-04-26 Joseph Myers <joseph@codesourcery.com>
19686
5aeb141a
JM
19687 * sysdeps/unix/i386/brk.S: Remove file.
19688 * sysdeps/unix/i386/dl-brk.S: Likewise.
19689 * sysdeps/unix/i386/pipe.S: Likewise.
19690 * sysdeps/unix/i386/sigreturn.S: Likewise.
19691 * sysdeps/unix/i386/syscall.S: Likewise.
19692 * sysdeps/unix/i386/vfork.S: Likewise.
19693 * sysdeps/unix/i386/wait.S: Likewise.
19694
7143acae
JM
19695 * sysdeps/unix/common/tcsendbrk.c: Move to ...
19696 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
19697
2ce4f015
JM
19698 * configure.in (arm*-none*): Do not allow without
19699 --enable-hacker-mode.
19700 (netbsd*): Remove case setting base_os.
19701 (386bsd*): Likewise.
19702 (freebsd*): Likewise.
19703 (bsdi*): Likewise.
19704 (osf*): Likewise.
19705 (sunos*): Likewise.
19706 (ultrix*): Likewise.
19707 (newsos*): Likewise.
19708 (dynix*): Likewise.
19709 (*bsd*): Likewise.
19710 (sysv*): Likewise.
19711 (isc*): Likewise.
19712 (esix*): Likewise.
19713 (sco*): Likewise.
19714 (minix*): Likewise.
19715 (irix4*): Likewise.
19716 (irix6*): Likewise.
19717 (solaris[2-9]*): Likewise.
19718 (none): Likewise.
19719 * configure: Regenerated.
19720
0ac229c8
AZ
197212012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19722
19723 [BZ #11521]
19724 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
19725 overflow or cancellation in calculating denominator.
19726 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
19727 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
19728 down expression to avoid unexpected rounding in newer GCCs.
19729 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
19730
33f244f4
DM
197312012-04-26 David S. Miller <davem@davemloft.net>
19732
19733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
19734 long-double compat symbols.
19735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
19736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
19737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
19738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
19739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
19740 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
19741 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
19742 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
19743 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
19744 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
19745 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
19746 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
19747 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
19748
cfa1f3e8
DM
197492012-04-25 David S. Miller <davem@davemloft.net>
19750
19751 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
19752 HWCAP_* values only after the memory barriers have been defined.
19753 (atomic_full_barrier): Define.
19754 (atomic_read_barrier): Define.
19755 (atomic_write_barrier): Define.
19756
6e236b92
SP
197572012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19758
19759 * shlib-versions: Add libgcc_s version information.
19760 * sysdeps/generic/libgcc_s.h: Remove.
19761 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
19762 libgcc_s.h.
19763 * sysdeps/gnu/unwind-resume.c: Likewise.
19764 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
19765
aab39a09
DM
197662012-04-25 David S. Miller <davem@davemloft.net>
19767
19768 * sysdeps/unix/sparc/brk.S: Delete.
19769 * sysdeps/unix/sparc/dl-brk.S: Delete.
19770 * sysdeps/unix/sparc/pipe.S: Delete.
19771 * sysdeps/unix/sparc/sysdep.S: Delete.
19772 * sysdeps/unix/sparc/sysdep.h: Delete.
19773 * sysdeps/unix/sparc/vfork.S: Delete.
19774 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
19775 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
19776 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
19777 ret_ERRVAL, r0, r1, MOVE): Define.
19778 (JUMPTARGET): Remove.
19779 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
19780 sysdeps/unix/sparc/sysdep.h
19781 (ENTRY, END): Remove.
19782 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19783
a3cc4f48
JM
197842012-04-25 Joseph Myers <joseph@codesourcery.com>
19785
2ed8cda2
JM
19786 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
19787 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
19788 -DIS_IN_build.
19789
35d76d59
JM
19790 * timezone/README: Update upstream location and email address for
19791 tzcode and tzdata.
19792 * timezone/zdump.c: Update from tzcode 2012b.
19793 * timezone/zic.c: Likewise.
19794
a3cc4f48
JM
19795 * configure.in (libc_cv_as_needed): Remove test.
19796 * configure: Regenerated.
19797 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
19798 conditional definition.
19799 [$(have-as-needed) != yes] (no-as-needed): Likewise.
19800 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
19801 * config.make.in (have-as-needed): Remove variable.
19802
ceab42c3
SP
198032012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19804 Paul Pluzhnikov <ppluzhnikov@google.com>
19805
19806 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
19807 strings correctly.
19808
3ce2865f
CLT
198092012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
19810
19811 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
19812 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
19813 * sysdeps/sh/strlen.S: Likewise.
19814
f37e0d68
JM
198152012-04-24 Joseph Myers <joseph@codesourcery.com>
19816
ae186e9a
JM
19817 * sysdeps/unix/fork.S: Remove file.
19818 * sysdeps/unix/i386/fork.S: Likewise.
19819 * sysdeps/unix/sparc/fork.S: Likewise.
19820
b96914af
JM
19821 * sysdeps/unix/system.c: Remove file.
19822 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
19823
f37e0d68
JM
19824 * sysdeps/unix/getegid.S: Remove file.
19825 * sysdeps/unix/geteuid.S: Likewise.
19826
87ef29ca
RM
198272012-04-24 Roland McGrath <roland@hack.frob.com>
19828
83bcd236
RM
19829 * scripts/check-localplt.awk: New file.
19830 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
19831 of diff.
19832 * scripts/data/localplt-generic.data: Add a comment.
19833
87ef29ca
RM
19834 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
19835 NODE when __dir_mkfile failed.
19836 * sysdeps/mach/hurd/symlinkat.c: Likewise.
19837 Reported by Ludovic Courtès <ludo@gnu.org>.
19838
e5a6e567
AJ
198392012-04-24 Andreas Jaeger <aj@suse.de>
19840
19841 * Makerules (common-clean): Also remove gen-as-const-headers
19842 files.
19843
c1820385
JM
198442012-04-24 Joseph Myers <joseph@codesourcery.com>
19845
19846 * Makerules (native-compile): Do not change working directory for
19847 build. Use $(OUTPUT_OPTION) in command.
19848 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
19849
94e02fc4
AZ
198502012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19851
19852 [BZ #13886]
19853 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
19854 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
19855 * math/libm-test.inc (floor_test): Add more tests.
19856 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
19857
3a533ca3
JM
198582012-04-24 Joseph Myers <joseph@codesourcery.com>
19859
940ab4b3
JM
19860 * sysdeps/unix/getdents.c: Remove file.
19861 * sysdeps/unix/sysv/getdents.c: Likewise.
19862 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
19863
90e037bd
JM
19864 * sysdeps/unix/syscalls.list (madvise): Add syscall from
19865 sysdeps/unix/mman/syscalls.list.
19866 (mmap): Likewise.
19867 (mprotect): Likewise.
19868 (msync): Likewise.
19869 (munmap): Likewise.
19870 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
19871 * sysdeps/unix/mman/syscalls.list: Remove.
19872 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
19873
3a533ca3
JM
19874 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
19875 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
19876 * configure: Regenerated.
19877 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
19878 $(libgcc_s_suffix).
19879 * config.make.in (libgcc_s_suffix): Remove variable.
19880
1ad743de
JM
198812012-04-23 Joseph Myers <joseph@codesourcery.com>
19882
4ad451e2
JM
19883 * sysdeps/unix/sysv/gethostname.c: Move to ...
19884 * sysdeps/posix/gethostname.c: ... here.
19885
5e37ce39
JM
19886 * sysdeps/unix/execve.S: Remove file.
19887
1ad743de
JM
19888 * sysdeps/unix/_exit.S: Remove file.
19889
4e681b5b
AJ
198902012-04-23 Andreas Jaeger <aj@suse.de>
19891
19892 [BZ #13739]
19893 * manual/Makefile: Remove make dist support, there's no
19894 need for a stand-alone documentation tar ball.
19895 (TEXI2DVI): Define always, it's not in Makeconfig.
19896 (dist): Removed.
19897 (tar-it): Removed.
19898 (edition): Removed.
19899 (glibc-doc-$(edition).tar): Removed
19900 (%.Z): Removed.
19901 (%.gz): Removed.
19902 (%.uu): Removed.
19903 (ETAGS): Remove, it's in Makeconfig.
19904 (move-if-change): Remove, it's in Makeconfig.
19905
38686a03 199062012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
19907
19908 [BZ #13970]
19909 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
19910 (strtod, strtof, strtold, strtol, strtoul, strtoq)
19911 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
19912 (strtod_l, strtof_l, strtold_l): Remove __wur.
19913 It is not necessarily an error to ignore strtol's return value.
19914 One can reliably look at the stored endptr to decide whether
19915 the number had valid syntax.
19916
7c0616fa
AJ
199172012-04-21 Andreas Jaeger <aj@suse.de>
19918
803cb6b7 19919 [BZ #13739]
7c0616fa
AJ
19920 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
19921
b0fe253f
JM
199222012-04-21 Joseph Myers <joseph@codesourcery.com>
19923
19924 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
19925 * sysdeps/unix/sysv/Versions: Remove file.
19926
8280f22d
MT
199272012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
19928
19929 [BZ #13927]
19930 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19931
75ce411f 199322012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
19933
19934 [BZ #7064]
19935 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
19936 version from __vm86.
19937
097d59fa
JM
199382012-04-20 Joseph Myers <joseph@codesourcery.com>
19939
a90f3bcb
JM
19940 * sysdeps/unix/common/lxstat.c: Remove file.
19941 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
19942
edc7ea78
JM
19943 * sysdeps/unix/sysv/Makefile: Remove file.
19944
cb78c221
JM
19945 * sysdeps/unix/sysv/direct.h: Remove file.
19946
efa6a45f
JM
19947 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
19948 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
19949 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
19950 * sysdeps/unix/sysv/bits/signum.h: Likewise.
19951 * sysdeps/unix/sysv/bits/stat.h: Likewise.
19952 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
19953 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
19954
9c9f2d0c
JM
19955 * sysdeps/unix/sysv/setrlimit.c: Remove file.
19956
4541c83b
JM
19957 * sysdeps/unix/xmknod.c: Remove file.
19958 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
19959
f5d153a0
JM
19960 * sysdeps/unix/sysv/settimeofday.c: Remove file.
19961
aa746595
JM
19962 * sysdeps/unix/sysv/i386/time.S: Remove file.
19963
cce5905e
JM
19964 * sysdeps/unix/fxstat.c: Remove file.
19965 * sysdeps/unix/xstat.c: Likewise.
19966 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
19967
37fa3841
JM
19968 * sysdeps/unix/sysv/sigaction.c: Remove file.
19969
ff1962a3
JM
19970 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
19971 (sysdep_headers): Remove variable.
19972 [termio.h not in sysdep_headers] (generated): Likewise.
19973 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
19974 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
19975 * sysdeps/unix/sysv/tcdrain.c: Likewise.
19976 * sysdeps/unix/sysv/tcflow.c: Likewise.
19977 * sysdeps/unix/sysv/tcflush.c: Likewise.
19978 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
19979 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
19980 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
19981 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
19982 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
19983
e7740d31
JM
19984 * sysdeps/unix/siglist.c: Remove file.
19985
ee06f18b
JM
19986 * sysdeps/unix/getppid.S: Remove file.
19987
097d59fa
JM
19988 * sysdeps/unix/mkdir.c: Remove file.
19989 * sysdeps/unix/rmdir.c: Likewise.
19990
ff3d51ec
AS
199912012-04-19 Andreas Schwab <schwab@linux-m68k.org>
19992
19993 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
19994 ERR_MAX value.
19995 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
19996 errlist-compat value.
19997
50f81fd7
DM
199982012-04-18 David S. Miller <davem@davemloft.net>
19999
20000 * sysdeps/generic/memcopy.h (reg_char): Delete.
20001 * debug/strcat_chk.c: Use char, not reg_char.
20002 * debug/strcpy_chk.c: Likewise.
20003 * debug/strncat_chk.c: Likewise.
20004 * debug/strncpy_chk.c: Likewise.
20005 * string/memchr.c: Likewise.
20006 * string/memrchr.c: Likewise.
20007 * string/rawmemchr.c: Likewise.
20008 * string/strcat.c: Likewise.
20009 * string/strchr.c: Likewise.
20010 * string/strchrnul.c: Likewise.
20011 * string/strcmp.c: Likewise.
20012 * string/strcpy.c: Likewise.
20013 * string/strncat.c: Likewise.
20014 * string/strncmp.c: Likewise.
20015 * string/strncpy.c: Likewise.
20016
8ff41c46
WS
200172012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20018
20019 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
20020 __builtin_memcopy is called when src and dest ranges are known to not
20021 overlap.
20022
6b652f46
WS
200232012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20024
20025 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
20026 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
20027 fwd_align_merge macro call.
20028 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
20029 bwd_align_merge macro call.
20030 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20031
b282631e
WS
200322012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20033
20034 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
20035 bwd_align_merge macros.
20036 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
20037 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
20038 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20039
95aa737c
DM
200402012-04-18 David S. Miller <davem@davemloft.net>
20041
20042 * sysdeps/sparc/sparc64/memcopy.h: Delete.
20043
7a99a614
AJ
200442012-04-18 Andreas Jaeger <aj@suse.de>
20045
20046 [BZ# 6794]
20047 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
20048 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
20049 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20050
20051 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
20052 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
20053 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20054
20055 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
20056 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
20057 Adjust for changed ldbl-128 files.
20058
20059 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
20060 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
20061 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20062
e5270c23
DM
200632012-04-17 David S. Miller <davem@davemloft.net>
20064
20065 * sysdeps/sparc/sparc32/memcopy.h: Delete.
20066
fb5e92c9
AS
200672012-04-17 Andreas Schwab <schwab@linux-m68k.org>
20068
20069 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
20070 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
20071 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
20072 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
20073 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
20074 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
20075
76da7265
AZ
200762012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20077
20078 [BZ #6794]
20079 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
20080 * math/libm-test.inc: Add ilogb errno and exception tests.
20081 * math/w_ilogb.c: New file: ilogb wrapper.
20082 * math/w_ilogbf.c: New file: ilogbf wrapper.
20083 * math/w_ilogbl.c: New file: ilogbl wrapper.
20084 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
20085 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
20086 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
20087 exception being thrown with 0.0 as argument.
20088 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
20089 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
20090 exception being thrown with 0.0 as argument.
20091 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
20092 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
20093 exception being thrown with 0.0 as argument.
20094 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
20095 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
20096 exception being thrown with 0.0 as argument.
20097 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
20098 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 20099 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
20100 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
20101 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
20102 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
20103 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
20104 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
20105 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
20106
0396e69d
PB
201072012-04-17 Petr Baudis <pasky@ucw.cz>
20108
20109 * include/sys/uio.h: Change __vector to __iovec to avoid clash
20110 with altivec.
20111
750b5926
MP
201122012-04-16 Marek Polacek <polacek@redhat.com>
20113
20114 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
20115
751728a1
MP
201162012-04-16 Marek Polacek <polacek@redhat.com>
20117
20118 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
20119 operands of fdivp instruction.
20120
34a27407
L
201212012-04-13 H.J. Lu <hongjiu.lu@intel.com>
20122
20123 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
20124 * elf/tst-auditmod3b.c: Likewise.
20125 * elf/tst-auditmod4b.c: Likewise.
20126 * elf/tst-auditmod5b.c: Likewise.
20127 * elf/tst-auditmod6b.c: Likewise.
20128 * elf/tst-auditmod6c.c: Likewise.
20129 * elf/tst-auditmod7b.c: Likewise.
20130 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
20131 * sysdeps/x86_64/preconfigure.in: Likewise.
20132 * sysdeps/x86_64/preconfigure: Regenerated.
20133
7e73e17d
L
201342012-04-13 H.J. Lu <hongjiu.lu@intel.com>
20135
20136 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
20137 __ILP32__.
20138
c7a6ab72
AB
201392012-04-13 Antoine Balestrat <merkil33@gmail.com>
20140
20141 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
20142 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
20143
a9e8e0e0
CL
201442012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
20145
20146 [BZ #13973]
20147 * locale/iso-639.def: Fix gl language name. Spotted by
20148 Yaron Shahrabani.
20149
ec98af7d
RM
201502012-04-12 Roland McGrath <roland@hack.frob.com>
20151
20152 [BZ #2074]
20153 * libio/libio.h (__io_write_fn): Update comment.
20154
247c3ede
PB
201552012-04-12 Petr Baudis <pasky@ucw.cz>
20156
20157 [BZ #2074]
20158 * stdio.texi (Hook Functions): The user provided writer function
20159 is not allowed to return -1.
20160
55939d6d
DM
201612012-04-11 David S. Miller <davem@davemloft.net>
20162
20163 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20164
90020f5a
MF
201652012-04-11 Mike Frysinger <vapier@gentoo.org>
20166
20167 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
20168 Add a leading slash to rtkaio.
20169
288f9098
JM
201702012-04-11 Jim Meyering <meyering@redhat.com>
20171
90020f5a
MF
20172 [BZ #11959]
20173 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
20174 It is not necessarily an error to ignore fwrite's return
20175 value. One can reliably use ferror to test for errors after
20176 the fact.
288f9098 20177
4be2b570
L
201782012-04-10 H.J. Lu <hongjiu.lu@intel.com>
20179
20180 * bits/types.h (__snseconds_t): New type.
20181 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
20182
20183 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
20184 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20185 (__SNSECONDS_T_TYPE): Likewise.
20186 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20187 (__SNSECONDS_T_TYPE): Likewise.
20188 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20189 (__SNSECONDS_T_TYPE): Likewise.
20190
288f9098 201912012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
20192
20193 [BZ #2636]
20194 * manual/time.texi (Processor Time): Return type of times is
20195 elapsed real time since an arbitrary point in the past.
20196 (CPU Time): Move CLK_TCK from here...
20197 (Processor Time): ...to here. Correct description.
20198 * manual/conf.texi (Constants for Sysconf): Correct description of
20199 _SC_CLK_TCK.
20200
d7dd4413
DM
202012012-04-10 David S. Miller <davem@davemloft.net>
20202
20203 [BZ #13967]
20204 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
20205 where the is a gap between DT_REL(A) and DT_JMPREL.
20206
b46068fc
L
202072012-04-10 H.J. Lu <hongjiu.lu@intel.com>
20208
20209 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
20210 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
20211 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
20212
73d65cc3
SP
202132012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20214
20215 * elf/dl-support.c (_dl_inhibit_cache): New variable.
20216 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
20217 (dl_main): Handle --inhibit-cache.
20218 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
20219 _dl_inhibit_cache.
20220 * elf/dl-load.c (_dl_map_object): Use it.
20221 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
20222
bcc8d661
JM
202232012-04-09 Joseph Myers <joseph@codesourcery.com>
20224
8f9a2fae
JM
20225 [BZ #13872]
20226 * sysdeps/i386/fpu/e_powl.S (p78): New object.
20227 (__ieee754_powl): Saturate large exponents rather than testing for
20228 overflow of y*log2(x).
20229 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20230 * math/libm-test.inc (pow_test): Do not permit spurious overflow
20231 exceptions.
20232
bcc8d661
JM
20233 [BZ #11521]
20234 * math/s_ctan.c: Include <float.h>.
20235 (__ctan): Avoid internal overflow or cancellation in calculating
20236 denominator.
20237 * math/s_ctanf.c: Likewise.
20238 * math/s_ctanl.c: Likewise.
20239 * math/s_ctanh.c: Likewise.
20240 * math/s_ctanhf.c: Likewise.
20241 * math/s_ctanhl.c: Likewise.
20242 * math/libm-test.inc (ctan_test): Add more tests.
20243 (ctanh_test): Likewise.
20244 * sysdeps/i386/fpu/libm-test-ulps: Update.
20245 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20246
823fbbb4
AJ
202472012-04-09 Andreas Jaeger <aj@suse.de>
20248
03879793
AJ
20249 [BZ #6894]
20250 * manual/filesys.texi (Directory Entries): Mention that d_namlen
20251 is an optional BSD extension.
20252
823fbbb4
AJ
20253 [BZ #10254]
20254 * manual/stdio.texi (Opening Streams): Document additional fopen
20255 parameters.
20256
8de131cb
RM
202572012-04-09 Roland McGrath <roland@hack.frob.com>
20258
20259 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
20260 %eax without telling the compiler.
20261
c0ed9d7d
CD
202622012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
20263
20264 [BZ # 13963]
20265 * manual/install.texi: Use sourceware.org.
20266
c483f6b4
JM
202672012-04-09 Joseph Myers <joseph@codesourcery.com>
20268
d7dd9453
JM
20269 [BZ #13873]
20270 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
20271 (__ieee754_pow): Generate overflow and underflow using huge*huge
20272 and tiny*tiny rather than just returning constant infinity or zero
20273 for large exponents.
20274 * math/libm-test.inc (pow_test): Require overflow exceptions for
20275 applicable cases of large exponents.
20276
c483f6b4
JM
20277 [BZ #706]
20278 * sysdeps/i386/fpu/e_pow.S (p10): New object.
20279 (__ieee754_pow): Use iterative multiplication algorithm only for
20280 integer exponents with absolute value below 1024. Check for odd
20281 integer exponents when using algorithm for real exponents.
20282 * math/libm-test.inc (pow_test): Add more tests.
20283 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20284
d2de7579
JM
202852012-04-08 Joseph Myers <joseph@codesourcery.com>
20286
20287 [BZ #13705]
20288 * math/libm-test.inc (exp_test): Do not allow overflow exception
20289 on underflow test.
20290
f77f1232
AJ
202912012-04-08 Aurelien Jarno <aurelien@aurel32.net>
20292
20293 [BZ #13705]
20294 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
20295 instead of __kernel_standard_f.
20296
3884932b
MF
202972012-04-08 Mike Frysinger <vapier@gentoo.org>
20298
20299 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
20300 * sysdeps/x86_64/memset_chk.S: Likewise.
20301
54472e9c
AJ
203022012-04-08 Andreas Jaeger <aj@suse.de>
20303
6ab0fbfc
AJ
20304 [BZ #10153]
20305 * manual/startup.texi (Environment Access): Describe return value
20306 for putenv and setenv.
20307
61efba8c
AJ
20308 [BZ #6895]
20309 * manual/filesys.texi (Directory Entries): Add description for
20310 DT_LNK.
20311
95c3f29a
AJ
20312 [BZ #6890]
20313 * manual/filesys.texi (Directory Entries): Clarify that it's file
20314 system not operating system in the description of DT_UNKNOWN.
20315
54472e9c
AJ
20316 [BZ #6578]
20317 * manual/syslog.texi (closelog): Fix reference, it's openlog.
20318
624254b1
SC
203192012-04-08 Stephen Compall <s11@member.fsf.org>
20320
20321 [BZ #6649]
20322 * manual/llio.texi (Opening and Closing Files): Add cross
20323 reference to explain mode argument.
20324
1e4920e0
MF
203252012-04-07 Mike Frysinger <vapier@gentoo.org>
20326
20327 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
20328 * sysdeps/x86_64/memset_chk.S: Likewise.
20329
5ed848f3
DM
203302012-04-07 David S. Miller <davem@davemloft.net>
20331
20332 * elf/elf.h (R_SPARC_WDISP10): Define.
20333 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
20334 R_SPARC_SIZE32.
20335 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
20336 R_SPARC_SIZE64 and R_SPARC_H34.
20337
96154cd8
CD
203382012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
20339
20340 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
20341 conditions and remove no longer applicable assertion.
20342
9904dc47
L
203432012-04-06 H.J. Lu <hongjiu.lu@intel.com>
20344
20345 * bits/byteswap.h: Include <features.h>.
20346 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
20347 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
20348
f8887d0a
L
203492012-04-06 H.J. Lu <hongjiu.lu@intel.com>
20350
20351 * bits/byteswap.h (__bswap_16): Removed.
20352 Include <bits/byteswap-16.h> to get __bswap_16.
20353 * sysdeps/i386/bits/byteswap.h: Likewise.
20354 * sysdeps/s390/bits/byteswap.h: Likewise.
20355 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20356 * bits/byteswap-16.h: New file.
20357 * sysdeps/i386/bits/byteswap-16.h: Likewise.
20358 * sysdeps/s390/bits/byteswap-16.h: Likewise.
20359 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
20360 * string/Makefile (headers): Add bits/byteswap-16.h.
20361
62470f60
PP
203622012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
20363
20364 [BZ #13895]
20365 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
20366 extra indirection.
20367 * nss/Makefile (tests-static, tests): Add tst-nss-static.
20368 * nss/tst-nss-static.c: New.
20369
4dad7bab
RM
203702012-04-06 Robert Millan <rmh@gnu.org>
20371
20372 [BZ #6486]
20373 * manual/llio.texi (File Position Primitive): lseek
20374 refers to WHENCE when it really means OFFSET.
20375
e9142a17
AJ
203762012-04-06 Andreas Jaeger <aj@suse.de>
20377
2c040eff
AJ
20378 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
20379 strncmp declarations.
20380
e9142a17
AJ
20381 * abilist/libc.abilist: Add __poll and __ppoll.
20382
ff9f1c5f
DM
203832012-04-05 David S. Miller <davem@davemloft.net>
20384
dcd2ae90
DM
20385 * scripts/check-local-headers.sh: Accept a host triplet in the
20386 path matched by the exclude regexp.
20387
993eb054
DM
20388 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
20389 definition.
20390 * sysdeps/powerpc/powerpc32/dl-machine.h
20391 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
20392 * sysdeps/s390/s390-32/dl-machine.h
20393 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20394 * sysdeps/sparc/sparc32/dl-machine.h
20395 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20396 * sysdeps/sparc/sparc64/dl-machine.h
20397 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20398
ff9f1c5f
DM
20399 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
20400 lazy binding.
48e2e132 20401 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
20402 undefined symbol errors.
20403
48e2e132 20404 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
20405 DT_NEEDED entries.
20406
e80d6f94
MM
204072012-04-05 Michael Matz <matz@suse.de>
20408
20409 [BZ #13592]
20410 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
20411
349fa79f
AJ
204122012-04-05 Andreas Jaeger <aj@suse.de>
20413
20414 [BZ #13908]
20415 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
20416 comment.
20417
f402708f
KK
204182012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20419
20420 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
20421 which ROUND is no valid rounding mode.
20422
2ecccfc9
KK
204232012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20424
20425 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
20426 read again.
20427 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
20428
8a53f50f
KK
204292012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20430
20431 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
20432 an exception using FPU order intentionally.
20433
204342012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20435
20436 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
20437 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
20438 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
20439 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
20440
d653abb7
SJ
204412012-04-05 Simon Josefsson <simon@josefsson.org>
20442
20443 [BZ #12340]
20444 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
20445 EINVAL when BUFLEN is too smal.
20446
c3b1bf7d
TS
204472012-04-05 Thomas Schwinge <thomas@codesourcery.com>
20448
20449 [BZ #13553]
20450 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
20451 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
20452
b1aa60f3
AJ
204532012-04-03 Andreas Jaeger <aj@suse.de>
20454
c3b1bf7d 20455 [BZ #13938]
67f60a26
AJ
20456 * manual/setjmp.texi (System V contexts): Fix sentence.
20457
b1aa60f3
AJ
20458 [BZ #13926]
20459 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
20460 New macro for this case.
20461 [!__GNUC__] (__bswap_64): New inline function for this case.
20462 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20463 * bits/byteswap.h: Likewise.
20464 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
20465 ull, guard with __GLIBC_HAVE_LONG_LONG.
20466
20467 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
20468 __GLIBC_HAVE_LONG_LONG.
20469
20470 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
20471 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
20472
39c59c35
TMQMF
204732012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20474
20475 [BZ #13691]
20476 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
20477 inptr and inend, rather than using last_ch.
20478
135ffda8
DM
204792012-04-02 David S. Miller <davem@davemloft.net>
20480
20481 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
20482 * stdio-common/printf-parse.h (read_int): Change return type to
20483 'int', return -1 on INT_MAX overflow.
20484 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
20485 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
20486 overflows INT_MAX. Check for overflow of in-format-string precision
20487 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
20488 SIZE_MAX not INT_MAX for integer overflow test.
20489 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
20490 skip the construct in the format string but do not record anything.
20491 * stdio-common/bug22.c: Adjust to test both width/prevision
20492 INT_MAX overflow as well as total length INT_MAX overflow. Check
20493 explicitly for proper errno values.
20494
228c019e
TS
204952012-04-02 Thomas Schwinge <thomas@codesourcery.com>
20496
302cadd3
TS
20497 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
20498 CHAR_MAX.
20499 * string/test-strcmp.c [! WIDE]: Likewise.
20500 * time/tst-mktime2.c: Likewise for INT_MAX.
20501 * string/test-string.h: #include <sys/param.h> for MIN.
20502
228c019e
TS
20503 * csu/init-first.c (__libc_init_first): Call __ctype_init.
20504 * sysdeps/i386/init-first.c (init): Likewise.
20505 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
20506 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
20507 * sysdeps/sh/init-first.c (init): Likewise.
20508
cfa633f5
UD
205092012-04-01 Ulrich Drepper <drepper@gmail.com>
20510
20511 * po/ru.po: Update from translation team.
d1635ef8 20512 * po/vi.po: Likewise.
cfa633f5 20513
6cd0a5ea
SP
205142012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
20515
20516 * resolv/nss_dns/dns-host.c: Merge copyright years.
20517
4b43400f
LD
205182012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20519
20520 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
20521 Optimize memcpy with prefetch if
20522 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
20523 src, dst pointers have unequal 16 byte alignments.
20524
48c41d04
SP
205252012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20526
20527 [BZ #13928]
20528 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
20529 from a CNAME entry and return the minimum ttl for the query.
20530 (gaih_getanswer_slice): Likewise.
20531
b8dc394d
JL
205322012-03-30 Jeff Law <law@redhat.com>
20533
20534 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
20535 due to long keys.
20536 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
20537 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
20538
2f5a5ed0
JL
20539 * resolv/nss_dns/dns-host.c: Update copyright year.
20540
1d39e359
UD
205412012-03-30 Ulrich Drepper <drepper@gmail.com>
20542
c030f70c 20543 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 20544 requests to save a system call. Fix check that all bytes are sent.
c030f70c 20545
1d39e359
UD
20546 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
20547 comments for sendmmsg.
20548
205492012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
20550
20551 [BZ #13691]
20552 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
20553 with only 1 character between 0x0041 and 0x01b0.
20554 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
20555 * wcsmbs/tst-mbsnrtowcs.c: New file.
20556
20fde227
DM
205572012-03-29 David S. Miller <davem@davemloft.net>
20558
20559 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
20560 small copies by hand.
20561
984a4237
JL
205622012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20563
20564 [BZ #13761]
20565 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
20566 _nss_compat_initgroups_dyn): Fall back to malloc/free
20567 for large group memberships.
20568
18c9d62b
DM
205692012-03-28 David S. Miller <davem@davemloft.net>
20570
88d85d4f
DM
20571 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
20572 that branches into memcpy.
20573 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
20574 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
20575 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
20576 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
20577 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
20578 bits.
20579 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
20580 implementation too.
20581 * sysdeps/sparc/mempcpy.S: New file.
20582
e5aa83e1
DM
20583 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
20584 the IFUNC routine in the libc case.
20585 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
20586
88570753
DM
20587 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
20588 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
20589 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
20590 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
20591 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
20592 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
20593 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
20594 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
20595
249d7567
DM
20596 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
20597 loop to 256 bytes instead of 64 bytes and fix test signedness.
20598
18c9d62b
DM
20599 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
20600 * sysdeps/sparc/sparc32/Makefile: rather than here...
20601 * sysdeps/sparc/sparc64/Makefile: and here.
20602
05f3d1f6
UD
206032012-03-28 Ulrich Drepper <drepper@gmail.com>
20604
20605 * malloc/mallocbug.c: Avoid warnings about unused variables.
20606
86ae07a8
JL
206072012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
20608
20609 [BZ #13760]
20610 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
20611 in the right place. Discard and retry query if response is
20612 larger than input buffer size.
20613
41bf21a1
JM
206142012-03-28 Joseph Myers <joseph@codesourcery.com>
20615
d6270972
JM
20616 [BZ #369]
20617 [BZ #2678]
20618 [BZ #3866]
20619 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
20620 x for large integer exponent.
20621 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
20622 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
20623 sign of result as needed afterwards.
20624 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
20625 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
20626 result for underflowing pow the same as for overflow.
20627 (__kernel_standard_l): Handle powl overflow and underflow here
20628 rather than calling __kernel_standard.
20629 * math/libm-test.inc (pow_test): Add more tests.
20630
414fca03 20631 [BZ #3868]
41bf21a1
JM
20632 [BZ #13879]
20633 [BZ #13910]
20634 [BZ #13911]
20635 [BZ #13912]
20636 [BZ #13913]
20637 [BZ #13915]
20638 [BZ #13916]
20639 [BZ #13917]
20640 [BZ #13918]
20641 [BZ #13919]
20642 [BZ #13920]
20643 [BZ #13921]
20644 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
20645 * sysdeps/ieee754/k_standard.c: Include <float.h>.
20646 (__kernel_standard_l): New function.
20647 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
20648 __kernel_standard.
20649 * math/w_acosl.c (__acosl): Likewise.
20650 * math/w_asinl.c (__asinl): Likewise.
20651 * math/w_atan2l.c (__atan2l): Likewise.
20652 * math/w_atanhl.c (__atanhl): Likewise.
20653 * math/w_coshl.c (__coshl): Likewise.
20654 * math/w_exp10l.c (__exp10l): Likewise.
20655 * math/w_exp2l.c (__exp2l): Likewise.
20656 * math/w_fmodl.c (__fmodl): Likewise.
20657 * math/w_hypotl.c (__hypotl): Likewise.
20658 * math/w_j0l.c (__j0l, __y0l): Likewise.
20659 * math/w_j1l.c (__j1l, __y1l): Likewise.
20660 * math/w_jnl.c (__jnl, __ynl): Likewise.
20661 * math/w_lgammal.c (__lgammal): Likewise.
20662 * math/w_log10l.c (__log10l): Likewise.
20663 * math/w_log2l.c (__log2l): Likewise.
20664 * math/w_logl.c (__logl): Likewise.
20665 * math/w_powl.c (__powl): Likewise.
20666 * math/w_remainderl.c (__remainderl): Likewise.
20667 * math/w_scalbl.c (sysv_scalbl): Likewise.
20668 * math/w_sinhl.c (__sinhl): Likewise.
20669 * math/w_sqrtl.c (__sqrtl): Likewise.
20670 * math/w_tgammal.c (__tgammal): Likewise.
20671 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
20672 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
20673 * math/libm-test.inc (acos_test): Add more tests.
20674 (acosh_test): Likewise.
20675 (asin_test): Likewise.
20676 (atanh_test): Likewise.
20677 (exp_test): Likewise.
20678 (exp10_test): Likewise.
20679 (exp2_test): Likewise.
20680 (expm1_test): Likewise.
20681 (lgamma_test): Likewise.
20682 (log_test): Likewise.
20683 (log10_test): Likewise.
20684 (log1p_test): Likewise.
20685 (log2_test): Likewise.
20686 (pow_test): Do not allow some spurious overflow exceptions.
20687 (sqrt_test): Add more tests.
20688 (tgamma_test): Likewise.
20689 (y0_test): Likewise.
20690 (y1_test): Likewise.
20691 (yn_test): Likewise.
20692
dd62fda6
AB
206932012-03-27 Anton Blanchard <anton@samba.org>
20694
20695 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
20696 MAP_HUGETLB.
20697 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
20698 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
20699 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
20700
1e3cdfda
AJ
207012012-03-27 David S. Miller <davem@davemloft.net>
20702
b855ab85
DM
20703 * conform/Makefile: Run run-conformtest.sh using $(BASH).
20704
1e3cdfda
AJ
20705 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
20706 have-as-vis3 check.
20707
207082012-03-27 Andreas Jaeger <aj@suse.de>
20709
20710 * sysdeps/x86_64/elf/configure.in: Moved to ...
20711 * sysdeps/x86_64/configure.in: ... here.
20712 * sysdeps/x86_64/elf/start.S: Moved to ...
20713 * sysdeps/x86_64/start.S: ... here.
20714 * sysdeps/x86_64/elf/configure: Delete.
20715
20716 * sysdeps/x86_64/configure.in: Merge contents from
20717 sysdeps/i386/configure.in (without i686 check).
20718
20719 * sysdeps/i386/elf/Versions: Merge into ...
20720 * sysdeps/i386/Versions: ... this.
20721 * sysdeps/i386/elf/Versions: Delete file.
20722 * sysdeps/i386/elf/start.S: Moved to ...
20723 * sysdeps/i386/start.S: ...here.
20724 * sysdeps/i386/elf/configure.in: Merge into...
20725 * sysdeps/i386/configure.in: ...here.
20726 * sysdeps/i386/elf/configure.in: Delete file.
20727 * sysdeps/i386/elf/configure: Delete file.
20728
20729 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
20730 * debug/backtracesyms.c: ... here.
20731 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
20732 * debug/backtracesymsfd.c: ... here.
20733 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
20734 * sysdeps/generic/ifunc-sel.h: ... here.
20735
20736 * sysdeps/unix/i386/start.c: Delete file.
20737 * sysdeps/unix/sparc/start.c: Delete file.
20738 * sysdeps/unix/start.c: Delete file.
20739
20740 * sysdeps/sh/elf/configure.in: Moved to ...
20741 * sysdeps/sh/configure.in: ... here.
20742 * sysdeps/sh/elf/start.S: Moved to ...
20743 * sysdeps/sh/start.S: ... here.
20744 * sysdeps/sh/elf/configure: Delete file.
20745
20746 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
20747 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
20748 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
20749 * sysdeps/powerpc/powerpc64/entry.h: ... here.
20750 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
20751 * sysdeps/powerpc/powerpc64/start.S: here.
20752 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
20753 * sysdeps/powerpc/powerpc64/Makefile: ... this.
20754 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
20755 * sysdeps/powerpc/powerpc64/configure.in: ... this.
20756 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
20757
20758 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
20759 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
20760 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
20761 * sysdeps/powerpc/powerpc32/start.S: ... here.
20762 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
20763 * sysdeps/powerpc/powerpc32/configure.in: ... this.
20764 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
20765
20766 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
20767 * sysdeps/powerpc/ifunc-sel.h: ... here.
20768 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
20769 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
20770
20771 * sysdeps/sparc/elf/configure.in: Moved to ...
20772 * sysdeps/sparc/configure.in: ... here.
20773 * sysdeps/sparc/elf/configure: Delete file.
20774 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
20775 * sysdeps/sparc/sparc32/start.S: ... here.
20776 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
20777 * sysdeps/sparc/sparc64/start.S: ... here.
20778 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
20779 * sysdeps/sparc/sparc32/Makefile: ... this.
20780 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
20781 * sysdeps/sparc/sparc64/Makefile: ... this.
20782
20783 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
20784 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
20785 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
20786 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
20787 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
20788 * sysdeps/s390/s390-32/setjmp.S: ... here.
20789 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
20790 * sysdeps/s390/s390-32/configure.in: ... here.
20791 * sysdeps/s390/s390-32/elf/configure: Delete file.
20792 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
20793 * sysdeps/s390/s390-32/start.S: ... here.
20794
20795 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
20796 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
20797 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
20798 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
20799 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
20800 * sysdeps/s390/s390-64/setjmp.S: ... here.
20801 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
20802 * sysdeps/s390/s390-64/configure.in: ... here
20803 * sysdeps/s390/s390-64/elf/configure: Delete file.
20804 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
20805 * sysdeps/s390/s390-64/start.S: ... here.
20806 * sysdeps/s390/s390-64/elf/configure: Delete.
20807
20808 * configure.in: Remove support for elf directories in sysdeps.
20809
20810 * configure: Regenerated.
20811 * sysdeps/i386/configure: Regenerated.
20812 * sysdeps/powerpc/powerpc32/configure: Regenerated.
20813 * sysdeps/powerpc/powerpc64/configure: Regenerated.
20814 * sysdeps/s390/s390-32/configure: Regenerated.
20815 * sysdeps/s390/s390-64/configure: Regenerated.
20816 * sysdeps/sh/configure: Regenerated.
20817 * sysdeps/sparc/configure: Regenerated.
20818 * sysdeps/x86_64/configure: Regenerated.
20819
a3f61311
AS
208202012-03-26 Andreas Schwab <schwab@linux-m68k.org>
20821
c876e002
AS
20822 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20823
a3f61311
AS
20824 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
20825 denormal result into account.
20826
ac4c54f0
RM
208272012-03-25 Roland McGrath <roland@hack.frob.com>
20828
20829 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
20830 Reported by Allan McRae <allan@archlinux.org>.
20831
6a9b9c02
JL
208322012-03-23 Jeff Law <law@redhat.com>
20833
20834 * nss/getnssent.c (__nss_getent): Fix typo.
20835
4c42a0c1
DM
208362012-03-23 David S. Miller <davem@davemloft.net>
20837
20838 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20839
1532c7ac
L
208402012-03-23 H.J. Lu <hongjiu.lu@intel.com>
20841
20842 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
20843 to pad to uint64_t for each field.
20844 (dl_tls_index): Replace unsigned long with uint64_t.
20845
3ff42526
PP
208462012-03-23 Daniel Jacobowitz <dmj@google.com>
20847 Paul Pluzhnikov <ppluzhnikov@google.com>
20848
20849 [BZ #6528]
20850 * grp/Makefile (otherlibs): Don't set it.
20851 * inet/Makefile (otherlibs): Likewise.
20852 * login/Makefile (otherlibs): Likewise.
20853 * nscd/Makefile (otherlibs): Likewise.
20854 * posix/Makefile (otherlibs): Likewise.
20855 * pwd/Makefile (otherlibs): Likewise.
20856 * rt/Makefile (otherlibs): Likewise.
20857 * sunrpc/Makefile (otherlibs): Likewise.
20858 * nss/Makefile (otherlibs): Likewise.
20859 Add libnss_files to routines and static-only-routines.
20860 ($(objpfx)getent): Remove rule.
20861 * resolv/Makefile: Add libnss_dns and libresolv to routines and
20862 static-only-routines.
20863
7c69cd14
JM
208642012-03-22 Joseph Myers <joseph@codesourcery.com>
20865
20866 [BZ #13892]
20867 * math/s_cexp.c: Include <float.h>.
20868 (__cexp): Handle exp result overflowing not necessarily
20869 overflowing both real and imaginary parts of result.
20870 * math/s_cexpf.c: Likewise.
20871 * math/s_cexpl.c: Likewise.
20872 * math/libm-test.inc (cexp_test): Add more tests.
20873 * sysdeps/i386/fpu/libm-test-ulps: Update.
20874 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20875
81b035fe
L
208762012-03-22 H.J. Lu <hongjiu.lu@intel.com>
20877
20878 * include/link.h (ELFW): New macro.
20879 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
20880 Replace ELF64_R_TYPE with ELFW(R_TYPE).
20881
1da7940c
L
208822012-03-22 H.J. Lu <hongjiu.lu@intel.com>
20883
20884 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
20885 with uint64_t.
20886
b749dbb9
L
208872012-03-22 H.J. Lu <hongjiu.lu@intel.com>
20888
20889 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
20890 declaration.
20891 (struct La_x32_retval): Likewise.
20892
2ff87f3f
L
208932012-03-22 H.J. Lu <hongjiu.lu@intel.com>
20894
20895 * sysdeps/x86_64/preconfigure.in: New file.
20896 * sysdeps/x86_64/preconfigure: New generated file.
20897
c0df8e69
JM
208982012-03-22 Joseph Myers <joseph@codesourcery.com>
20899
48e44791
JM
20900 [BZ #13824]
20901 * math/e_exp2l.c: Include <float.h>.
20902 (__ieee754_exp2l): Handle overflow and underflow cases
20903 separately. Only pass fractional part of argument to
20904 __ieee754_expl.
20905 * math/libm-test.inc (exp2_test): Add more tests.
20906
c0df8e69
JM
20907 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
20908 negating x to take absolute value.
20909 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
20910 Likewise.
20911 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
20912 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
20913 Likewise.
20914 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
20915 computing low part if x was negated.
20916 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
20917
c8e43ba7
L
209182012-03-21 H.J. Lu <hongjiu.lu@intel.com>
20919
20920 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
20921 la_x32_gnu_pltexit.
20922 (pltexit): Cast int_retval to ptrdiff_t.
20923 * elf/tst-auditmod3b.c: Likewise.
20924 * elf/tst-auditmod4b.c: Likewise.
20925 * elf/tst-auditmod5b.c: Likewise.
20926 * elf/tst-auditmod6b.c: Likewise.
20927 * elf/tst-auditmod6c.c: Likewise.
20928 * elf/tst-auditmod7b.c: Likewise.
20929
20930 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
20931 and x32_gnu_pltexit.
20932
20933 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
20934 __ELF_NATIVE_CLASS.
20935 (La_x32_regs): New macro.
20936 (La_x32_retval): Likewise.
20937 (la_x32_gnu_pltenter): New function prototype.
20938 (la_x32_gnu_pltexit): Likewise.
20939
7998fa78
AS
209402012-03-21 Andreas Schwab <schwab@linux-m68k.org>
20941
dcb33988
AS
20942 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
20943 exponent.
20944
233fc563
AS
20945 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20946
7998fa78
AS
20947 * configure.in (libc_cv_cc_nofma): Check for option to disable
20948 generation of FMA instructions.
20949 * configure: Regenerate.
20950 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
20951 * sysdeps/ieee754/dbl-64/Makefile: New file.
20952 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20953 Remove brandred-fma4.
20954 (CFLAGS-brandred-fma4.c): Remove.
20955 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
20956 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
20957 define.
20958 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
20959 define.
20960
8e95c99a
L
209612012-03-21 H.J. Lu <hongjiu.lu@intel.com>
20962
20963 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
20964 LLONG_MAX != LONG_MAX.
20965 (_itoa_word): Use _ITOA_WORD_TYPE on value.
20966 (_fitoa_word): Likewise.
20967 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
20968 LLONG_MAX != LONG_MAX.
20969 * stdio-common/_itowa.h: Include <_itoa.h>.
20970 (_itowa_word): Use _ITOA_WORD_TYPE on value.
20971 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
20972 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
20973 only if not defined.
20974 (_ITOA_WORD_TYPE): Likewise.
20975 (_itoa_word): Use _ITOA_WORD_TYPE on value.
20976 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
20977
6f4db457
DM
209782012-03-21 David S. Miller <davem@davemloft.net>
20979
20980 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20981
7785fe5a
L
209822012-03-21 H.J. Lu <hongjiu.lu@intel.com>
20983
20984 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
20985 of x86_64 when setting libc_cv_slibdir, libdir and
20986 libc_cv_localedir.
20987 * sysdeps/unix/sysv/linux/configure: Regenerated.
20988
4535cd55
JM
209892012-03-21 Joseph Myers <joseph@codesourcery.com>
20990
20991 * manual/lang.texi (Old Varargs): Remove section.
20992 (How Variadic): Update menu.
20993 (va_start): Do not mention varargs.h.
20994
17228132
TS
209952012-03-21 Thomas Schwinge <thomas@codesourcery.com>
20996 Joseph Myers <joseph@codesourcery.com>
20997
20998 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
20999 link test.
21000 * configure: Regenerated.
21001
8149f976
TS
210022012-03-21 Thomas Schwinge <thomas@codesourcery.com>
21003
05f3d1f6
UD
21004 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
21005 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
21006 conformtest.pl
8149f976 21007
1a4ac776
JM
210082012-03-21 Joseph Myers <joseph@codesourcery.com>
21009
be22ce65
JM
21010 * NOTES: Remove.
21011 * Makefile (files-for-dist): Remove NOTES.
21012 (NOTES): Remove rule.
21013 * README: Don't refer to NOTES.
21014 * manual/creature.texi: Don't include macros.texi.
21015 * manual/intro.texi (creature.texi): Remove comment referring to
21016 NOTES.
21017
40b601fb
JM
21018 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
21019 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
21020 * configure: Regenerated.
21021 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
21022 LIBC_TRY_CC_OPTION.
21023 (libc_cv_as_i686): Likewise.
21024 (libc_cv_cc_avx): Likewise.
21025 (libc_cv_cc_sse2avx): Likewise.
21026 (libc_cv_cc_fma4): Likewise.
21027 (libc_cv_cc_novzeroupper): Likewise.
21028 * sysdeps/i386/configure: Regenerated.
21029
1a4ac776
JM
21030 [BZ #13883]
21031 * sysdeps/i386/fpu/s_cexp.S: Remove.
21032 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
21033 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
21034 * math/libm-test.inc (cexp_test): Add more tests.
21035 * sysdeps/i386/fpu/libm-test-ulps: Update.
21036 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21037
a458e7fe
AM
210382012-03-21 Allan McRae <allan@archlinux.org>
21039
21040 * timezone/Makefile: Do not install iso3166.tab and zone.tab
21041
0cb7efc5
JM
210422012-03-21 Joseph Myers <joseph@codesourcery.com>
21043
21044 [BZ #13871]
21045 * math/w_exp2.c: Do not include <float.h>.
21046 (o_threshold, u_threshold): Remove.
21047 (__exp2): Calculate result before checking finiteness and calling
21048 __kernel_standard.
21049 * math/w_exp2f.c: Likewise.
21050 * math/w_exp2l.c: Likewise.
21051 * math/libm-test.inc (exp2_test): Require overflow exception for
21052 1e6 input.
2460d3aa
JM
21053
21054 [BZ #3866]
21055 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
21056 range of signed 64-bit integers before using fistpll. Remove
21057 checks for whether integers fit in mantissa bits.
21058 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
21059 the range of signed 32-bit integers before using fistpl. Remove
21060 checks for whether integers fit in mantissa bits.
21061 * sysdeps/i386/fpu/e_powl.S (p64): New object.
21062 (__ieee754_powl): Test for y outside the range of signed 64-bit
21063 integers before using fistpll. Reduce 64-bit values to 63-bit
21064 ones as needed.
21065 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
21066 divide-by-zero is raised for zero to large negative powers.
21067 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
21068 (__ieee754_powl): Test for y outside the range of signed 64-bit
21069 integers before using fistpll. Reduce 64-bit values to 63-bit
21070 ones as needed.
21071 * math/libm-test.inc (pow_test): Add more tests.
21072
eb96ffb0
L
210732012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21074
21075 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
21076 <stdio-common/_itoa.h>.
21077 * debug/segfault.c: Likewise.
21078 * elf/dl-cache.c: Likewise.
21079 * elf/dl-minimal.c: Likewise.
21080 * elf/dl-misc.c: Likewise.
21081 * elf/dl-sysdep.c: Likewise.
21082 * elf/dl-version.c: Likewise.
21083 * elf/rtld.c: Likewise.
21084 * hurd/hurdsock.c: Likewise.
21085 * hurd/lookup-retry.c: Likewise.
21086 * malloc/malloc.c: Likewise.
21087 * malloc/mtrace.c: Likewise.
21088 * nscd/nscd_getgr_r.c: Likewise.
21089 * nscd/nscd_getpw_r.c: Likewise.
21090 * nscd/nscd_getserv_r.c: Likewise.
21091 * posix/getopt_init.c: Likewise.
21092 * posix/wordexp.c: Likewise.
21093 * stdio-common/_itoa.c: Likewise.
21094 * stdio-common/printf_fphex.c: Likewise.
21095 * stdio-common/vfprintf.c: Likewise.
21096 * string/_strerror.c: Likewise.
21097 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
21098 * sysdeps/i386/i686/hp-timing.h: Likewise.
21099 * sysdeps/mach/_strerror.c: Likewise.
21100 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
21101 * sysdeps/mach/hurd/sethostid.c: Likewise.
21102 * sysdeps/mach/hurd/xmknodat.c: Likewise.
21103 * sysdeps/mach/xpg-strerror.c: Likewise.
21104 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21105 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
21106 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
21107 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
21108 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
21109 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
21110 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
21111 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
21112 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
21113 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
21114 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
21115 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
21116 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
21117 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
21118 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
21119 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
21120 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
21121 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
21122 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
21123 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
21124 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
21125
21126 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
21127
21128 * stdio-common/_itoa.h: Moved to ...
21129 * sysdeps/generic/_itoa.h: Here.
21130
21131 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
21132
21133 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
21134 instead of "_itoa.h" and "_itowa.h".
21135 * stdio-common/vfprintf.: Likewise.
21136
d1af992d
L
211372012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21138
21139 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
21140 <bits/wordsize.h>.
21141 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
21142 (__signbit): Likwise.
21143 (llrintf): Likwise.
21144 (llrint): Likwise.
21145
114883e0
L
211462012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21147
21148 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
21149 __WORDSIZE != 64.
21150
c135cc1b
JM
211512012-03-20 Joseph Myers <joseph@codesourcery.com>
21152
21153 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
21154 OVERFLOW_EXCEPTION_OK.
21155 * math/libm-test.inc ("Philosophy"): Update comment about
21156 exception testing.
21157 (OVERFLOW_EXCEPTION): Define.
21158 (OVERFLOW_EXCEPTION_OK): Likewise.
21159 (INVALID_EXCEPTION_OK): Renumber.
21160 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21161 (IGNORE_ZERO_INF_SIGN): Likewise.
21162 (test_exceptions): Handle FE_OVERFLOW.
21163 (exp10_test): Expect overflow exceptions.
21164 (exp2_test): Likewise.
21165 (expm1_test): Likewise.
21166 (nextafter_test): Likewise.
21167 (pow_test): Likewise.
21168 (scalbn_test): Likewise.
21169 (scalbln_test): Likewise.
21170
95443d88
L
211712012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21172
21173 * sysdeps/x86_64/bits/atomic.h
21174 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
21175 64bit integer.
21176 (atomic_exchange_acq): Likewise.
21177 (__arch_exchange_and_add_body): Likewise.
21178 (__arch_add_body): Likewise.
21179 (atomic_add_negative): Likewise.
21180 (atomic_add_zero): Likewise.
21181
490df6c4
L
211822012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21183
c2722551 21184 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
21185 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
21186
5e52b189
L
211872012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21188
21189 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
21190 Check __x86_64__ instead of __WORDSIZE.
21191
a9879d4c
L
211922012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21193
21194 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
21195
5df98260
DM
211962012-03-19 David S. Miller <davem@davemloft.net>
21197
e1497744
DM
21198 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21199
5df98260
DM
21200 * sysdeps/sparc/fpu/fenv_private.h: New file.
21201 * sysdeps/sparc/fpu/math_private.h: Use it.
21202 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
21203 Remove.
21204 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
21205 (libc_feholdexcept_setroundl): Remove.
21206 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
21207 Remove.
21208 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
21209 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
21210
b4c35121
L
212112012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21212
21213 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
21214 int64_t instead of long int.
21215 (INSERT_WORDS64): Likwise.
21216
56965fd7
L
212172012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21218
21219 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
21220 _Unwind_GetCFA return to _Unwind_Ptr first.
21221
83d1aec8
JM
212222012-03-19 Joseph Myers <joseph@codesourcery.com>
21223
1897ad44
JM
21224 [BZ #13629]
21225 * math/s_clog.c: Include <float.h>.
21226 (__clog): Scale large or subnormal inputs.
21227 * math/s_clogf.c: Likewise.
21228 * math/s_clogl.c: Likewise.
21229 * math/s_clog10.c: Include <float.h>.
21230 (M_LOG10_2): Define.
21231 (__clog10): Scale large or subnormal inputs.
21232 * math/s_clog10f.c: Likewise.
21233 * math/s_clog10l.c: Likewise.
21234 * math/libm-test.inc (clog_test): Add more tests.
21235 (clog10_test): Likewise.
21236 * sysdeps/i386/fpu/libm-test-ulps: Update.
21237 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21238
7726d6a9
JM
21239 [BZ #11451]
21240 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
21241 x and y.
21242 * math/libm-test.inc (atan2_test): Add another test.
21243
83d1aec8
JM
21244 * Makerules (common-objdir-compile): Remove.
21245 * sysdeps/unix/Makefile (config-generated): Do not add
21246 $(unix-generated) to variable.
21247 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
21248 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
21249 Remove rule.
21250 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
21251 Likewise.
21252 [generic bits/local_lim.h] (before-compile): Do not append to
21253 variable.
21254 [generic bits/local_lim.h] (common-generated): Likewise.
21255 [generic sys/param.h] (before-compile): Do not append to variable.
21256 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
21257 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
21258 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
21259 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
21260 include.
21261 [generic sys/param.h] (sys/param.h-includes): Remove variable.
21262 [generic sys/param.h] (sys/param.h-includes): Remove rule.
21263 [generic sys/param.h] ($(addprefix
21264 $(common-objpfx),$(sys/param.h-includes))): Likewise.
21265 [generic sys/param.h] (common-generated): Do not append to
21266 variable.
21267 [generic sys/param.h] (sysdep_headers): Likewise.
21268 [generic bits/errno.h] (before-compile): Do not append to
21269 variable.
21270 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
21271 rule.
21272 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
21273 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
21274 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
21275 [generic bits/errno.h] (common-generated): Do not append to
21276 variable.
21277 [generic bits/ioctls.h] (before-compile): Do not append to
21278 variable.
21279 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
21280 rule.
21281 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
21282 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
21283 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
21284 rule.
21285 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
21286 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
21287 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
21288 [generic bits/ioctls.h] (common-generated): Do not append to
21289 variable.
21290 [generic sys/syscall.h] (syscall.h): Remove variable.
21291 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
21292 rule.
21293 [generic sys/syscall.h] (before-compile): Do not append to
21294 variable.
21295 [generic sys/syscall.h] (common-generated): Likewise.
21296 * sysdeps/unix/errnos-tmpl.c: Remove file.
21297 * sysdeps/unix/errnos.awk: Likewise.
21298 * sysdeps/unix/ioctls-tmpl.c: Likewise.
21299 * sysdeps/unix/ioctls.awk: Likewise.
21300 * sysdeps/unix/mk-local_lim.c: Likewise.
21301 * sysdeps/unix/snarf-ioctls: Likewise.
21302
4851a949
RH
213032012-03-19 Richard Henderson <rth@twiddle.net>
21304
bd37f2ee
RH
21305 * sysdeps/i386/fpu/fenv_private.h: New file.
21306 * sysdeps/i386/fpu/math_private.h: Use it.
21307 (math_opt_barrier, math_force_eval): Remove.
21308 (libc_feholdexcept_setround_53bit): Remove.
21309 (libc_feupdateenv_53bit): Remove.
21310 * sysdeps/x86_64/fpu/math_private.h: Likewise.
21311 (math_opt_barrier, math_force_eval): Remove.
21312 (libc_feholdexcept): Remove.
21313 (libc_feholdexcept_setround): Remove.
21314 (libc_fetestexcept, libc_fesetenv): Remove.
21315 (libc_feupdateenv_test): Remove.
21316 (libc_feupdateenv, libc_feholdsetround): Remove.
21317 (libc_feresetround): Remove.
21318
d0adc922
RH
21319 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
21320 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
21321
0fe0f1f8
RH
21322 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
21323 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
21324 (libc_feupdateenv_testl): New.
21325 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
21326 (libc_feupdateenv_testf): New.
21327 (libc_feupdateenv): Use libc_feupdateenv_test.
21328 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
21329 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
21330
eb92c487
RH
21331 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
21332 (libc_feholdsetroundf, libc_feholdsetroundl): New.
21333 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
21334 (libc_feresetround_noex): New.
21335 (libc_feresetround_noexf): New.
21336 (libc_feresetround_noexl): New.
21337 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
21338 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
21339 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
21340 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
21341 SET_RESTORE_ROUND.
21342 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
21343 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
21344 (__cos): Likewise.
21345 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
21346 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
21347 SET_RESTORE_ROUND_NOEX.
21348 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
21349 SET_RESTORE_ROUND_NOEXF.
21350 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
21351 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
21352 (libc_feholdsetroundf): New.
21353 (libc_feresetround, libc_feresetroundf): New.
21354
7d2e8012
RH
21355 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
21356 (libc_feholdexcept_setround_53bit): Convert from macro to function.
21357 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
21358
b4dabbb4
RH
21359 * sysdeps/generic/math_private.h: Include <fenv.h>.
21360 (default_libc_feholdexcept): New.
21361 (default_libc_feholdexcept_setround): New.
21362 (default_libc_fesetenv, default_libc_feupdateenv): New.
21363 (libc_feholdexcept): Only define if undefined.
21364 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
21365 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
21366 (libc_feholdexcept_setroundl): Likewise.
21367 (libc_feholdexcept_setround_53bit): Likewise.
21368 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
21369 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
21370 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
21371 (libc_feupdateenv_53bit): Likewise.
21372 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
21373 (libc_feholdexcept): Convert from macro to inline function.
21374 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
21375 (libc_fesetenv, libc_feupdateenv): Likewise.
21376
4851a949
RH
21377 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
21378 not previously defined.
21379 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
21380 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
21381 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
21382 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
21383 * sysdeps/ieee754/flt-32/math_private.h: New file.
21384 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
21385 math_private.h below SET_FLOAT_WORD.
21386 (__isnan, __isinf_ns, __finite): Remove.
21387 (__isnanf, __isinf_nsf, __finitef): Remove.
21388
e79d442e
AS
213892012-03-18 Andreas Schwab <schwab@linux-m68k.org>
21390
21391 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21392
90b80344
DM
213932012-03-17 David S. Miller <davem@davemloft.net>
21394
21395 [BZ #6471]
21396 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
21397 for 2.16.
21398
edc21804
DM
213992012-03-16 David S. Miller <davem@davemloft.net>
21400
77e927af
DM
21401 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
21402 warnings.
21403
374976dd
DM
21404 [BZ #6471]
21405 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
21406 properly.
21407 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
21408 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
21409 sysdep_routines when subdir is sysvipc.
21410 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
21411 __getshmlba helper.
21412
edc21804
DM
21413 * sysdeps/sparc/fpu/libm-test/ulps: Update.
21414
473c3ef3
L
214152012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21416
21417 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
21418 [__LP64__].
21419
eb0f39b6
L
214202012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21421
21422 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
21423 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
21424 (__lround): Renamed to ...
21425 (__llround): This. Replace long int with long long int.
21426 Define lround functions as aliases of llround functions.
21427 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
21428
6b6cd74b
L
214292012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21430
21431 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
21432 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
21433 adresses to uintptr_t. Replace "long int" and "unsigned long
21434 int" with "greg_t" on va_arg.
21435
f1a77b01
L
214362012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21437
21438 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
21439 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
21440
21441 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
21442 Move e_machine check before EI_CLASS check. Handle x32
21443 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
21444 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
21445 SKIP_EM_IA_64 and include
21446 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
21447
21448 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
21449 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
21450 (add_system_dir): New macro.
21451
21452 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
21453 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
21454
11b90b9f
JM
214552012-03-16 Joseph Myers <joseph@codesourcery.com>
21456
c36e1d23
JM
21457 [BZ #2551]
21458 [BZ #2552]
21459 [BZ #2553]
21460 [BZ #2554]
21461 [BZ #2562]
21462 [BZ #2563]
21463 [BZ #2565]
21464 [BZ #2566]
21465 [BZ #2576]
21466 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
21467 (y0): Likewise.
21468 * math/w_j0f.c (j0f): Likewise.
21469 (y0f): Likewise.
21470 * math/w_j0l.c (__j0l): Likewise.
21471 (__y0l): Likewise.
21472 * math/w_j1.c (j1): Likewise.
21473 (y1): Likewise.
21474 * math/w_j1f.c (j1f): Likewise.
21475 (y1f): Likewise.
21476 * math/w_j1l.c (__j1l): Likewise.
21477 (__y1l): Likewise.
21478 * math/w_jn.c (jn): Likewise.
21479 (yn): Likewise.
21480 * math/w_jnf.c (jnf): Likewise.
21481 (ynf): Likewise.
21482 * math/w_jnl.c (__jnl): Likewise.
21483 (__ynl): Likewise.
21484 * math/libm-test.inc (j0_test): Add more tests.
21485 (j1_test): Likewise.
21486 (jn_test): Likewise. Add trailing semicolon to existing test.
21487 (y0_test): Likewise.
21488 (y1_test): Likewise.
21489 * sysdeps/i386/fpu/libm-test-ulps: Update.
21490 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21491
11b90b9f
JM
21492 [BZ #13851]
21493 [BZ #13854]
21494 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
21495 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
21496 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
21497 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
21498 (__tanl): Set errno for infinite argument.
21499 * sysdeps/i386/fpu/mptan.c: Remove.
21500 * sysdeps/i386/fpu/s_tan.S: Likewise.
21501 * sysdeps/i386/fpu/s_tanl.S: Likewise.
21502 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
21503 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
21504 * math/libm-test.inc (tan_test): Add more tests and enable more
21505 tests for double and long double.
21506 * sysdeps/i386/fpu/libm-test-ulps: Update.
21507 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21508
6a1bd2a1
JK
215092012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
21510
21511 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
21512 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
21513
10a803e0
RM
215142012-03-16 Roland McGrath <roland@hack.frob.com>
21515
21516 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
21517 * configure.in: Use it for both main tree and add-ons.
21518 * configure: Regenerated.
21519
f196c7f7
L
215202012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21521
21522 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
21523
8848d99d
JM
215242012-03-16 Joseph Myers <joseph@codesourcery.com>
21525
96cbe7f4
JM
21526 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
21527 in comment.
21528
8848d99d
JM
21529 [BZ #13851]
21530 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
21531 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
21532 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
21533 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
21534 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
21535 infinite argument.
21536 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
21537 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
21538 != 0 for prec == 2.
21539 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
21540 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
21541 * sysdeps/i386/fpu/s_cosl.S: Likewise.
21542 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
21543 * sysdeps/i386/fpu/s_sinl.S: Likewise.
21544 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
21545 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
21546 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
21547 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
21548 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
21549 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
21550 * math/libm-test.inc (cos_test): Add more tests and enable more
21551 tests for long double.
21552 (sin_test): Likewise.
21553 (sincos_test): Likewise.
21554 * sysdeps/i386/fpu/libm-test-ulps: Update.
21555 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21556
dd7f4703
DM
215572012-03-16 David S. Miller <davem@davemloft.net>
21558
21559 * sysdeps/sparc/fpu/math_private.h: New file.
21560
006f1daa
DM
215612012-03-15 David S. Miller <davem@davemloft.net>
21562
c0c83bc8
DM
21563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
21564 file.
e6a62e18 21565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
21566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
21567 file.
e6a62e18
DM
21568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
21569 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
21570 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
21571 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
21572 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
21573 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
21574 sysdep routines.
21575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
21576
88cb87d9
DM
21577 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
21578 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
21579
006f1daa 21580 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
21581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
21582 sparc-ifunc.h
006f1daa 21583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
21584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
21585 Likewise.
21586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
21587 Likewise.
006f1daa
DM
21588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
21589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
21590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
21591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
21592 Likewise.
006f1daa
DM
21593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
21594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
21595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
21596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
21597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
21598 Likewise.
21599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
21600 Likewise.
006f1daa
DM
21601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
21602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
21603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
21604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
21605 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
21606 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
21607 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
21608 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
21609 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
21610 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
21611 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
21612 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
21613 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
21614 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
21615 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
21616 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
21617 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
21618 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
21619 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
21620 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
21621 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
21622 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
21623 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
21624 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
21625
11e0098e
AS
216262012-03-15 Andreas Schwab <schwab@linux-m68k.org>
21627
21628 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
21629 scaling.
21630 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21631
e85b09d0
AJ
216322012-03-15 Andreas Jaeger <aj@suse.de>
21633
21634 [BZ #13852]
21635 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
21636 ieee754/flt-32 implementation for sin, cos and sincos.
21637 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
21638 * sysdeps/i386/fpu/s_cosf.S: Likewise.
21639 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
21640 * sysdeps/i386/fpu/s_sinf.S: Likewise.
21641 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
21642 ieee754/flt-32 implementation for tan.
21643
21644 * math/libm-test.inc (cos_test): Enable some large input tests for
21645 float as well
21646 (sin_test): Likewise.
21647 (sincos_test): Likewise.
21648 (tan_test): Add tests for large input.
21649
21650 * sysdeps/i386/fpu/libm-test-ulps: Update.
21651
81c64153
AJ
216522012-03-15 Andreas Jaeger <aj@suse.de>
21653
21654 [BZ #13658]
21655 * math/libm-test.inc (cos_test): Add more test cases.
21656 (sin_test): Likewise.
21657 (sincos_test): Likewise.
21658
7bbfa5c6
AJ
216592012-03-15 Andreas Jaeger <aj@suse.de>
21660
21661 [BZ #13837]
21662 * math/libm-test.inc (cos_test): Add a test case for large input
21663 value.
21664 (sin_test): Likewise.
21665 (sincos_test): Likewise.
21666
216672012-03-15 Andreas Jaeger <aj@suse.de>,
21668 Joseph Myers <joseph@codesourcery.com>
21669
21670 [BZ #13658]
0671f479 21671 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
21672 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
21673 * sysdeps/i386/fpu/branred.c: Likewise.
21674 * sysdeps/i386/fpu/dosincos.c: Likewise.
21675 * sysdeps/i386/fpu/mpa.c: Likewise.
21676 * sysdeps/i386/fpu/s_cos.S: Likewise.
21677 * sysdeps/i386/fpu/s_sin.S: Likewise.
21678 * sysdeps/i386/fpu/s_sincos.S: Likewise.
21679 * sysdeps/i386/fpu/sincos32.c: Likewise.
21680
21681 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
21682 Define.
21683 (libc_feupdateenv_53bit): Define.
21684 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
21685 Define.
21686 (libc_feupdateenv_53bit): Define.
21687
21688 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
21689 53 bit (without extend i386 double precision).
21690
21691 * math/libm-test.inc (sincos_test): Add tests for large input.
21692 (sin): Likewise.
21693 (cos): Likewise.
21694
21695 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
21696
9cad04ea
AS
216972012-03-15 Andreas Schwab <schwab@linux-m68k.org>
21698
21699 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21700
f7062b9a
DM
217012012-03-15 David S. Miller <davem@davemloft.net>
21702
21703 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
21704 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
21705 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
21706 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
21707 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
21708 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
21709 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
21710 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
21711 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
21712 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
21713 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
21714 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
21715 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
21716 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
21717 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
21718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
21719 file.
f7062b9a 21720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
21721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
21722 file.
f7062b9a 21723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
21724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
21725 file.
f7062b9a 21726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
21727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
21728 file.
f7062b9a
DM
21729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
21730 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
21731 fmin/fmax sysdep routines.
21732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
21733
7bd951ff
DM
217342012-03-14 David S. Miller <davem@davemloft.net>
21735
559398ab
DM
21736 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
21737 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
21738 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
21739 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
21740 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
21741 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
21742 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
21743 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
21744 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
21745 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
21746 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
21747 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
21748 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
21749 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
21750 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
21751 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
21752 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
21753 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
21754 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
21755 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
21756 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
21757 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
21758 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
21759 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
21760 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
21761 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
21762 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
21763 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
21764 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
21765 routines.
21766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
21767 file.
559398ab 21768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
21769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
21770 file.
559398ab 21771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
21772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
21773 file.
559398ab 21774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
21775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
21776 file.
559398ab 21777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
21778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
21779 file.
559398ab 21780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
21781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
21782 file.
21783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
21784 file.
21785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
21786 file.
21787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
21788 file.
21789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
21790 New file.
21791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
21792 file.
21793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
21794 file.
559398ab 21795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
21796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
21797 file.
559398ab 21798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
21799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
21800 file.
559398ab 21801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
21802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
21803 file.
559398ab 21804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
21805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
21806 VIS3 routines.
559398ab
DM
21807
21808 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
21809 New file.
21810
5a1c1e32
DM
21811 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21812
eae47a36
DM
21813 * sysdeps/sparc/configure.in: New file.
21814 * sysdeps/sparc/configure: Generate.
21815 * configure.in (libc_cv_sparc_as_vis3): Substitute.
21816 * configure: Regenerate.
21817 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
21818 * config.make.in (have-as-vis3): New.
21819 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
21820 available use -Av9d instead of -Av9a.
21821 * sysdeps/sparc/sparc64/Makefile: Likewise.
21822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
21823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
21824 New file.
21825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
21826 file.
21827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
21828 New file.
21829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
21830 file.
eae47a36
DM
21831 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
21832 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
21833 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
21834 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
21835 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
21836
c0c83bc8
DM
21837 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
21838 fzeros/fnegs to load 0x80000000 into a float register instead of
21839 using the stack.
7bd951ff
DM
21840 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
21841
bd951ccb
JM
218422012-03-14 Joseph Myers <joseph@codesourcery.com>
21843
21844 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21845 bits/syscall.h.
21846 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
21847 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
21848 ($(inst_includedir)/bits/syscall.h): Remove rule.
21849 ($(objpfx)bits/syscall.d): Include instead of
21850 $(objpfx)syscall-list.d.
21851 (generated): Change syscall-list.h and syscall-list.d to
21852 bits/syscall.h and bits/syscall.d.
21853
bb4e6db2
RM
218542012-03-14 Roland McGrath <roland@hack.frob.com>
21855
21856 [BZ #13846]
21857 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
21858
aa4a2ae1
JM
218592012-03-14 Joseph Myers <joseph@codesourcery.com>
21860
e456826d
JM
21861 [BZ #13841]
21862 * math/s_csqrt.c: Include <float.h>.
21863 (__csqrt): Scale large or subnormal inputs.
21864 * math/s_csqrtf.c: Likewise.
21865 * math/s_csqrtl.c: Likewise.
21866 * math/libm-test.inc (csqrt_test): Add more tests.
21867 * sysdeps/i386/fpu/libm-test-ulps: Update.
21868 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21869
aa4a2ae1
JM
21870 [BZ #13840]
21871 * math/libm-test.inc (hypot_test): Add more tests.
21872
7c10fd35
DM
218732012-03-13 David S. Miller <davem@davemloft.net>
21874
21875 [BZ #13840]
21876 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
21877 double-precision for the calculation instead of scaling.
21878
f453b98b
JM
218792012-03-13 Joseph Myers <joseph@codesourcery.com>
21880
21881 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
21882 manipulate bits before adding and subtracting TWO52[sx].
21883 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
21884 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
21885 Likewise.
21886 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
21887
09a3453f
DM
218882012-03-13 David S. Miller <davem@davemloft.net>
21889
8e59da90
DM
21890 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
21891 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
21892 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
21893 rtld-global-offsets.h
21894 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21895
2a8ab7f2
DM
21896 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
21897 large parameters.
21898
10f62770
DM
21899 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
21900
5f0bdb18
DM
21901 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
21902 'err' in the ifdef scope in which it is actually used.
21903
09a3453f
DM
21904 * nss/nss_db/db-init.c: Include string.h
21905
b4b2eb5e
DM
219062012-03-12 David S. Miller <davem@davemloft.net>
21907
98bb2f1c
DM
21908 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
21909 masking out of the most significant byte of random value used.
21910 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21911 Fix coding style in previous change.
21912
b4b2eb5e
DM
21913 * sysdeps/unix/sysv/linux/kernel-features.h
21914 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
21915 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
21916 expression.
21917 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
21918 later.
21919
6e226b09
DM
219202012-03-11 David S. Miller <davem@davemloft.net>
21921
a1bcbd40
DM
21922 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
21923 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
21924 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
21925 for 'resultvar' otherwise things get truncated on 64-bit.
21926
cb9d6174
DM
21927 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21928 Fix masking out of the most significant byte of random value used.
21929
6e226b09
DM
21930 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21931
058c132d
AS
219322012-03-10 Andreas Schwab <schwab@linux-m68k.org>
21933
21934 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21935
2d2cd515
DM
219362012-03-09 David S. Miller <davem@davemloft.net>
21937
21938 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
21939 variables with appropriate CPP guards.
21940 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
21941 frame pointer, not the stack pointer. Correct layout comments. Fix test
21942 on resulting framesize and the management of the outregs buffer for pltexit.
21943 Preserve floating point return values across _dl_call_pltexit call.
21944 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
21945 framesize and the management of the outregs buffer for pltexit.
21946 Preserve floating point return values across _dl_call_pltexit
21947 call.
21948 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
21949 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
21950 (print_exit): Fix format string for return register value.
21951
9a07f9d0
JM
219522012-03-10 Joseph Myers <joseph@codesourcery.com>
21953
21954 * sunrpc/Makefile (others): Add rpcgen.
21955 ($(objpfx)rpcgen): Remove special build rule and dependency on
21956 libc.
21957 * sunrpc/rpcgen.c: New file.
21958
547b5e30
PE
219592012-03-09 Paul Eggert <eggert@cs.ucla.edu>
21960
c524201a
PE
21961 [BZ #13673]
21962 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
21963 * stdio-common/bug-vfprintf-nargs.c: Likewise.
21964 * sysdeps/i386/crti.S: Likewise.
21965 * sysdeps/i386/crtn.S: Likewise.
21966 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
21967 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
21968 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
21969 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
21970 * sysdeps/sh/crti.S: Likewise.
21971 * sysdeps/sh/crtn.S: Likewise.
21972 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
21973
7b6235f2
PE
21974 [BZ #13673]
21975 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
21976 with URL.
21977 * locale/programs/locfile-kw.gperf: Likewise.
21978 * locale/programs/charmap-kw.h: Regenerated.
21979 * locale/programs/locfile-kw.h: Likewise.
21980
547b5e30
PE
21981 [BZ #13673]
21982 * intl/plural.y: Replace FSF snail mail address with URL.
21983 * intl/plural.c: Regenerated.
21984
5f0a5dae
RH
219852012-03-09 Richard Henderson <rth@twiddle.net>
21986
21987 * include/math_private.h: Remove file.
21988 * math/math_private.h: Move file ...
21989 * sysdeps/generic/math_private.h: ... here.
21990
b8c03620
RH
21991 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
21992 * sysdeps/powerpc/fpu/math_private.h: Likewise.
21993 * sysdeps/x86_64/fpu/math_private.h: Likewise.
21994
4e234f5d 21995 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
21996 and <math_private.h>.
21997 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
21998 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
21999 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
22000 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
22001 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
22002 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
22003 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22004 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22005 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22006 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22007 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22008 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
22009 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22010 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22011 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22012 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22013 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22014 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22015 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22016 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
22017 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22018 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22019 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22020 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22021 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
22022 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22023 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22024 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22025 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22026 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22027 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22028 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22029 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
22030 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22031 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
22032 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22033 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22034 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
22035 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
22036 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22037 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
22038 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
22039 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
22040 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
22041 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
22042 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
22043 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
22044 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
22045 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22046 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
22047 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
22048 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
22049 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
22050 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
22051 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
22052 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22053 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22054 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
22055 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
22056 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
22057 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22058 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
22059 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22060 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
22061 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
22062 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22063 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22064 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22065 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
22066 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
22067 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
22068 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22069 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
22070 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22071 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
22072 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
22073 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
22074 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
22075 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
22076 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
22077 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
22078 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
22079 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
22080 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
22081 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22082 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
22083 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
22084 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
22085 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
22086 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
22087 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
22088 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
22089 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22090 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
22091 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
22092 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
22093 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22094 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
22095 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22096 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
22097 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
22098 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
22099 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
22100 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
22101 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
22102 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
22103 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
22104 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
22105 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
22106 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
22107 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
22108 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
22109 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
22110 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
22111 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
22112 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22113 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
22114 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
22115 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
22116 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
22117 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
22118 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
22119 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22120 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
22121 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
22122 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
22123 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
22124 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
22125 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
22126 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
22127 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
22128 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
22129 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
22130 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
22131 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
22132 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
22133 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
22134 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
22135 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
22136 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
22137 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22138 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
22139 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
22140 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
22141 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
22142 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
22143 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
22144 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
22145 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
22146 * sysdeps/ieee754/k_standard.c: Likewise.
22147 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
22148 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
22149 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
22150 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
22151 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
22152 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
22153 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
22154 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
22155 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
22156 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
22157 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22158 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
22159 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
22160 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
22161 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
22162 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
22163 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
22164 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
22165 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
22166 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
22167 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
22168 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
22169 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
22170 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
22171 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
22172 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
22173 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
22174 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
22175 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
22176 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
22177 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
22178 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
22179 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
22180 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
22181 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
22182 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
22183 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
22184 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
22185 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
22186 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
22187 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
22188 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
22189 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
22190 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
22191 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
22192 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
22193 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
22194 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
22195 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
22196 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
22197 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
22198 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
22199 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
22200 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
22201 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
22202 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
22203 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
22204 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
22205 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
22206 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
22207 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
22208 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
22209 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
22210 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
22211 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
22212 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
22213 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
22214 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
22215 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
22216 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
22217 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
22218 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
22219 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
22220 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
22221 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
22222 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
22223 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
22224 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
22225 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22226 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
22227 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
22228 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
22229 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
22230 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
22231 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
22232 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
22233 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
22234 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
22235 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
22236 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
22237 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
22238 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
22239 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
22240 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
22241 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
22242 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
22243 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
22244 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
22245 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
22246 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
22247 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
22248 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
22249 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
22250 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
22251 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
22252 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
22253 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
22254 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
22255 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
22256 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
22257 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
22258 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
22259 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
22260 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
22261 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
22262 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22263 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
22264 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
22265 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22266 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
22267 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22268 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
22269 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22270 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
22271 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
22272 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
22273 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
22274 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
22275 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
22276 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
22277 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
22278 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
22279 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
22280 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
22281 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
22282 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
22283 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
22284 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
22285 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
22286 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
22287 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
22288 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
22289 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
22290 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
22291 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
22292 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
22293 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
22294 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
22295 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
22296 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
22297 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
22298 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
22299 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
22300 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
22301 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
22302 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
22303 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
22304 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
22305 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
22306 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
22307 * sysdeps/ieee754/s_lib_version.c: Likewise.
22308 * sysdeps/ieee754/s_matherr.c: Likewise.
22309 * sysdeps/ieee754/s_signgam.c: Likewise.
22310 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22311 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22312 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
22313 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
22314 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
22315 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
22316 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
22317 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
22318 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
22319 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
22320 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
22321 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
22322 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
22323 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
22324 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
22325 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
22326 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22327 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
22328 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22329 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
22330 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 22331
1991fa03
JM
223322012-03-09 Joseph Myers <joseph@codesourcery.com>
22333
22334 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
22335 * sunrpc/rpc_main.c: Likewise.
22336 * sunrpc/rpc_svcout.c: Likewise.
22337
60d6f5a6
DM
223382012-03-09 David S. Miller <davem@davemloft.net>
22339
22340 * include/math_private.h: New file.
22341
4962050e
JM
223422012-03-09 Joseph Myers <joseph@codesourcery.com>
22343
02a6f887
JM
22344 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
22345 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
22346 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
22347 from <bits/socket_type.h>.
22348 (enum __socket_type): Don't define here.
22349 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
22350 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22351 bits/socket_type.h.
22352
c6e013c1
JM
22353 [BZ #13566]
22354 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
22355 checking __USE_GNU.
22356
4962050e
JM
22357 * Makerules ($(inst_includedir)/%.h): New rule.
22358 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
22359 (install-others): Remove variable setting.
22360 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
22361
38842f45
RH
223622012-03-08 Richard Henderson <rth@twiddle.net>
22363
67bb6da6
RH
22364 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
22365 from macro to inline function; merge with the
22366 !__LIBC_INTERNAL_MATH_INLINES version.
22367 (__ieee754_sqrtf): Likewise.
22368
15194b4b
RH
22369 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
22370 to inline function.
22371 (__rintf, __floor, __floorf): Likewise.
22372
64e21ede
RH
22373 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
22374 macro to inline function.
22375 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
22376
38842f45
RH
22377 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
22378 not <math/math_private.h>.
22379
c64bf5fe
DM
223802012-03-08 David S. Miller <davem@davemloft.net>
22381
22382 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
22383 copyright year.
22384 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
22385
82d86f28
TS
223862012-03-08 Thomas Schwinge <thomas@codesourcery.com>
22387
22388 * resolv/gai_misc.c (handle_requests): Fix struct timespec
22389 normalization.
22390 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
22391 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
22392
aea5d727
UD
223932012-03-08 Ulrich Drepper <drepper@gmail.com>
22394
22395 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
22396 be defined individually, they must be defined as a block. Define
22397 S for printing a string instead of hidint the different by using a
22398 macro for adding the 'l'.
22399 * stdio-common/tst-fphex-wide.c: Adjust.
22400
70bca0a3
MP
224012012-03-07 Marek Polacek <polacek@redhat.com>
22402
22403 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
22404
65b81130
MP
224052012-03-08 Marek Polacek <polacek@redhat.com>
22406
22407 [BZ #13806]
22408 * stdio-common/Makefile (tests): Add tst-fphex-wide.
22409 * stdio-common/tst-fphex.c: Define a few macros to make the
22410 test reusable. Use them.
22411 * stdio-common/tst-fphex-wide.c: New file.
22412
07037eeb
JM
224132012-03-08 Joseph Myers <joseph@codesourcery.com>
22414
a7a93d50
JM
22415 [BZ #6911]
22416 * manual/macros.texi (gnusystems): New macro.
22417 (nongnusystems): Likewise.
22418 (gnulinuxhurdsystems): Likewise.
22419 (gnuhurdsystems): Likewise..
22420 (gnulinuxsystems): Likewise.
22421 * manual/charset.texi: Use new macros or @theglibc{} to refer to
22422 variants of the GNU system, not "GNU system".
22423 * manual/conf.texi: Likewise.
22424 * manual/errno.texi: Likewise. Update example of errno macro
22425 expansion.
22426 * manual/filesys.texi: Likewise.
22427 (getumask): Document as specific to GNU/Hurd.
22428 * manual/install.texi: Likewise. Reword some references to
22429 GNU/Linux.
22430 * manual/intro.texi: Likewise.
22431 * manual/io.texi: Likewise.
22432 (File Name Portability): Detail which constraints are inapplicable
22433 to all GNU systems and which are only inapplicable to GNU/Hurd.
22434 * manual/job.texi: Likewise.
22435 * manual/llio.texi: Likewise.
22436 (O_NOCTTY): Document as present on GNU/Linux.
22437 * manual/maint.texi: Likewise.
22438 * manual/memory.texi: Likewise.
22439 * manual/pattern.texi: Likewise.
22440 * manual/pipe.texi: Likewise.
22441 * manual/process.texi: Likewise.
22442 * manual/resource.texi: Likewise.
22443 (RUSAGE_CHILDREN): Remove statement about specifying a particular
22444 child on GNU/Hurd.
22445 * manual/setjmp.texi: Likewise.
22446 * manual/signal.texi: Likewise.
22447 * manual/startup.texi: Likewise.
22448 * manual/stdio.texi: Likewise.
22449 * manual/terminal.texi: Likewise.
22450 (ONLCR): Document as POSIX.
22451 (OXTABS): Document availability on GNU/Linux as XTABS.
22452 (ONOEOT): Document availability separately from other bits.
22453 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
22454 * manual/time.texi: Likewise.
22455 * manual/users.texi: Likewise.
22456 * INSTALL: Regenerated.
22457 * sysdeps/gnu/errlist.c: Regenerated.
22458
07037eeb
JM
22459 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
22460 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
22461 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
22462 puts.
22463 * configure: Regenerated.
22464
d1d3431a
JM
224652012-03-07 Joseph Myers <joseph@codesourcery.com>
22466
af6a1e37
JM
22467 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
22468 default includes instead of AC_HEADER_CHECK.
22469 * sysdeps/i386/configure: Regenerated.
22470
d1d3431a
JM
22471 [BZ #10716]
22472 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
22473 * math/s_cacoshf.c (__cacoshf): Likewise.
22474 * math/s_cacoshl.c (__cacoshl): Likewise.
22475 * math/s_casinh.c (__casinh): Set signs of result from argument.
22476 * math/s_casinhf.c (__casinhf): Likewise.
22477 * math/s_casinhl.c (__casinhl): Likewise.
22478 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
22479 (casinh_test): Add more tests.
22480 * sysdeps/i386/fpu/libm-test-ulps: Update.
22481 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22482
482ff4da
UD
224832012-03-07 Ulrich Drepper <drepper@gmail.com>
22484
872fda05
UD
22485 * po/zh_TW.po: Update from translation team.
22486
a4300c7a
UD
22487 * login/Makefile (distribute): Remove variable.
22488 * catgets/Makefile: Likewise.
22489 * mach/Makefile: Likewise.
22490 * malloc/Makefile: Likewise.
22491 * misc/Makefile: Likewise.
22492 * iconv/Makefile: Likewise.
22493 * nscd/Makefile: Likewise.
22494 * hurd/Makefile: Likewise.
22495 * manual/Makefile: Likewise.
22496 * locale/Makefile: Likewise.
22497 * intl/Makefile: Likewise.
22498 * conform/Makefile: Likewise.
22499 * nss/Makefile: Likewise.
22500 * time/Makefile: Likewise.
22501 * soft-fp/Makefile: Likewise.
22502 * dirent/Makefile: Likewise.
22503 * gmon/Makefile: Likewise.
22504 * po/Makefile: Likewise.
22505 * rt/Makefile: Likewise.
22506 * socket/Makefile: Likewise.
22507 * math/Makefile: Likewise.
22508 * signal/Makefile: Likewise.
22509 * debug/Makefile: Likewise.
22510 * elf/Makefile: Likewise.
22511 * timezone/Makefile: Likewise.
22512 * stdlib/Makefile: Likewise.
22513 * iconvdata/Makefile: Likewise.
22514 * sunrpc/Makefile: Likewise.
22515 * io/Makefile: Likewise.
22516 * argp/Makefile: Likewise.
22517 * inet/Makefile: Likewise.
22518 * hesiod/Makefile: Likewise.
22519 * grp/Makefile: Likewise.
22520 * csu/Makefile: Likewise.
22521 * wctype/Makefile: Likewise.
22522 * crypt/Makefile: Likewise.
22523 * libio/Makefile: Likewise.
22524 * string/Makefile: Likewise.
22525 * nis/Makefile: Likewise.
22526 * resolv/Makefile: Likewise.
22527 * stdio-common/Makefile: Likewise.
22528 * wcsmbs/Makefile: Likewise.
22529 * dlfcn/Makefile: Likewise.
22530 * posix/Makefile: Likewise.
22531
3b7c4e74 22532 [BZ #6959]
482ff4da
UD
22533 * timezone/Makefile: Don't install timezone files, just the programs
22534 and scripts.
22535
f72ed77d
UD
225362012-03-06 Ulrich Drepper <drepper@gmail.com>
22537
a000466f
UD
22538 * nss/databases.def: Add missing gshadow entry.
22539
f72ed77d
UD
22540 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
22541
a53b7a4e
MP
225422012-03-06 Marek Polacek <polacek@redhat.com>
22543
22544 [BZ #13726]
22545 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
22546 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
22547 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
22548 * stdio-common/tst-long-dbl-fphex.c: New file.
22549
e9258400
DM
225502012-03-06 David S. Miller <davem@davemloft.net>
22551
22552 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22553 (set_obp_int): New function.
22554 (get_obp_int): New function.
22555 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
22556 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
22557 Avoid unused variable warnings on 'val' and use builtin_expect.
22558 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
22559 __builtin_expect.
e9258400
DM
22560 (INLINE_CLONE_SYSCALL): Likewise.
22561
3bd2c723
DM
225622012-03-05 David S. Miller <davem@davemloft.net>
22563
22564 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22565
bbb78d03
AS
225662012-03-05 Andreas Schwab <schwab@linux-m68k.org>
22567
884c5db4
AS
22568 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22569
bbb78d03
AS
22570 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
22571 only for |x| >= 40.
22572 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22573
1c9f702a 225742012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
22575
22576 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
22577 Replace gettimeofday with __vdso_gettimeofday.
22578
7be16f82
RM
22579 * sysdeps/unix/sysv/linux/x86_64/init-first.c
22580 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
22581 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
22582
22583 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
22584 time with __vdso_time.
22585
ed58a00f
JM
225862012-03-05 Joseph Myers <joseph@codesourcery.com>
22587
22588 * manual/lang.texi (size_t): Note types to which size_t may be
22589 equivalent with the GNU C Library, but do not describe when
22590 differences between them are significant.
22591
30ee4ced
AJ
225922012-03-05 Andreas Jaeger <aj@suse.de>
22593
22594 * sysdeps/i386/fpu/libm-test-ulps: Update.
22595
b7cd39e8
JM
225962012-03-05 Joseph Myers <joseph@codesourcery.com>
22597
22598 [BZ #3976]
22599 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
22600 (__ieee754_pow): Save and restore rounding mode and use
22601 round-to-nearest for main computations.
22602 * math/libm-test.inc (pow_test_tonearest): New function.
22603 (pow_test_towardzero): Likewise.
22604 (pow_test_downward): Likewise.
22605 (pow_test_upward): Likewise.
22606 (main): Call the new functions.
22607 * sysdeps/i386/fpu/libm-test-ulps: Update.
22608 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
22609
22610 [BZ #3976]
22611 * math/libm-test.inc (cosh_test_tonearest): New function.
22612 (cosh_test_towardzero): Likewise.
22613 (cosh_test_downward): Likewise.
22614 (cosh_test_upward): Likewise.
22615 (sinh_test_tonearest): Likewise.
22616 (sinh_test_towardzero): Likewise.
22617 (sinh_test_downward): Likewise.
22618 (sinh_test_upward): Likewise.
22619 (main): Call the new functions.
22620 * sysdeps/i386/fpu/libm-test-ulps: Update.
22621 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22622
6c6a98c9
TV
226232012-03-05 Tom de Vries <tom@codesourcery.com>
22624
22625 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
22626 default stack guard is set in last bytes.
22627 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
22628
21bb2d2e 226292012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 22630
21bb2d2e 22631 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 22632
21bb2d2e
AJ
22633 [BZ #13656]
22634 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
22635 possibly allocate from heap instead of stack.
22636 * stdio-common/bug-vfprintf-nargs.c: New file.
22637 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 22638
c6922934
AS
226392012-03-03 Andreas Schwab <schwab@linux-m68k.org>
22640
22641 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22642
bc957d53
MP
226432012-03-03 Marek Polacek <polacek@redhat.com>
22644
22645 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
22646 * math/math_private.h: Likewise.
22647 * stdlib/tst-strtod.c: Likewise.
22648 * sysdeps/i386/i486/bits/atomic.h: Likewise.
22649 * sysdeps/x86_64/bits/atomic.h: Likewise.
22650
6358490d
DM
226512012-03-02 David S. Miller <davem@davemloft.net>
22652
22653 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
22654 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
22655 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
22656 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
22657 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
22658 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
22659 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
22660 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
22661
01ae168d
RM
226622012-03-02 Roland McGrath <roland@hack.frob.com>
22663
d9a17c07
RM
22664 [BZ #13792]
22665 * manual/examples/README: New file, says the example source files
22666 can be used under GPL>=2.
22667 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
22668 line containing just "*/".
22669 * manual/examples/add.c: Add copyright header (GPL>=2).
22670 * manual/examples/argp-ex1.c: Likewise.
22671 * manual/examples/argp-ex2.c: Likewise.
22672 * manual/examples/argp-ex3.c: Likewise.
22673 * manual/examples/argp-ex4.c: Likewise.
22674 * manual/examples/atexit.c: Likewise.
22675 * manual/examples/db.c: Likewise.
22676 * manual/examples/dir.c: Likewise.
22677 * manual/examples/dir2.c: Likewise.
22678 * manual/examples/execinfo.c: Likewise.
22679 * manual/examples/filecli.c: Likewise.
22680 * manual/examples/filesrv.c: Likewise.
22681 * manual/examples/fmtmsgexpl.c: Likewise.
22682 * manual/examples/genpass.c: Likewise.
22683 * manual/examples/inetcli.c: Likewise.
22684 * manual/examples/inetsrv.c: Likewise.
22685 * manual/examples/isockad.c: Likewise.
22686 * manual/examples/longopt.c: Likewise.
22687 * manual/examples/memopen.c: Likewise.
22688 * manual/examples/memstrm.c: Likewise.
22689 * manual/examples/mkfsock.c: Likewise.
22690 * manual/examples/mkisock.c: Likewise.
22691 * manual/examples/mygetpass.c: Likewise.
22692 * manual/examples/pipe.c: Likewise.
22693 * manual/examples/popen.c: Likewise.
22694 * manual/examples/rprintf.c: Likewise.
22695 * manual/examples/search.c: Likewise.
22696 * manual/examples/select.c: Likewise.
22697 * manual/examples/setjmp.c: Likewise.
22698 * manual/examples/sigh1.c: Likewise.
22699 * manual/examples/sigusr.c: Likewise.
22700 * manual/examples/stpcpy.c: Likewise.
22701 * manual/examples/strdupa.c: Likewise.
22702 * manual/examples/strftim.c: Likewise.
22703 * manual/examples/strncat.c: Likewise.
22704 * manual/examples/subopt.c: Likewise.
22705 * manual/examples/swapcontext.c: Likewise.
22706 * manual/examples/termios.c: Likewise.
22707 * manual/examples/testopt.c: Likewise.
22708 * manual/examples/testpass.c: Likewise.
22709 * manual/examples/timeval_subtract.c: Likewise.
22710
01ae168d
RM
22711 [BZ #13792]
22712 * manual/time.texi (Elapsed Time): Move timeval_subtract example
22713 function to ...
22714 * manual/timeval_subtract.c.texi: ... here, new file.
22715
49efa33d
DM
227162012-03-02 David S. Miller <davem@davemloft.net>
22717
22718 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
22719
28afd92d
JM
227202012-03-02 Joseph Myers <joseph@codesourcery.com>
22721
804360ed
JM
22722 [BZ #3976]
22723 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
22724 (__sin): Save and restore rounding mode and use round-to-nearest
22725 for all computations.
22726 (__cos): Save and restore rounding mode and use round-to-nearest
22727 for all computations.
22728 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
22729 <fenv.h>.
22730 (tan): Save and restore rounding mode and use round-to-nearest for
22731 all computations.
22732 * math/libm-test.inc (cos_test_tonearest): New function.
22733 (cos_test_towardzero): Likewise.
22734 (cos_test_downward): Likewise.
22735 (cos_test_upward): Likewise.
22736 (sin_test_tonearest): Likewise.
22737 (sin_test_towardzero): Likewise.
22738 (sin_test_downward): Likewise.
22739 (sin_test_upward): Likewise.
22740 (tan_test_tonearest): Likewise.
22741 (tan_test_towardzero): Likewise.
22742 (tan_test_downward): Likewise.
22743 (tan_test_upward): Likewise.
22744 (main): Call the new functions.
22745 * sysdeps/i386/fpu/libm-test-ulps: Update.
22746 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22747
a6d06d7b
JM
22748 [BZ #10135]
22749 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
22750 small n, then large n, before computing and testing k+n.
22751 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
22752 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
22753 Likewise.
22754 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
22755 Likewise.
22756 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
22757 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
22758 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
22759 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
22760 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
22761 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
22762 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
22763 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
22764 * math/libm-test.inc (scalbn_test): Add more tests.
22765 (scalbln_test): Likewise.
22766
07e12bb3
JM
22767 * manual/filesys.texi (mode_t): Describe constraints on size and
22768 signedness, not exact equivalence to a particular type.
22769 (ino_t): Likewise.
22770 (ino64_t): Likewise.
22771 (dev_t): Likewise.
22772 (nlink_t): Likewise.
22773 (blkcnt_t): Likewise.
22774 (blkcnt64_t): Likewise.
22775 * manual/llio.texi (off_t): Likewise.
22776
28afd92d
JM
22777 [BZ #3976]
22778 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
22779 (__ieee754_exp): Save and restore rounding mode and use
22780 round-to-nearest for all computations.
22781 * math/libm-test.inc (exp_test_tonearest): New function.
22782 (exp_test_towardzero): Likewise.
22783 (exp_test_downward): Likewise.
22784 (exp_test_upward): Likewise.
22785 (main): Call the new functions.
22786 * sysdeps/i386/fpu/libm-test-ulps: Update.
22787 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22788
b1eeb65d
CD
227892012-03-01 Chris Demetriou <cgd@google.com>
22790
22791 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
22792 have predictable order.
22793
53362a4b
DM
227942012-03-01 David S. Miller <davem@davemloft.net>
22795
3c969083
DM
22796 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
22797
759707de
DM
22798 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
22799 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
22800 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
22801 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
22802
dfdb8ff2
DM
22803 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
22804 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
22805 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
22806 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
22807 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
22808 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
22809 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
22810 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
22811 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
22812
ead89f96
DM
22813 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22814
7f66bd07
DM
22815 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
22816 * sysdeps/sparc/fpu/libm-test-ulps: to here.
22817 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
22818
53362a4b
DM
22819 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
22820 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
22821 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
22822 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
22823 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
22824 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
22825 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
22826 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
22827 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
22828 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
22829 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
22830 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
22831 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
22832 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
22833 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
22834 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22835 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
22836 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
22837 * sysdeps/sparc/elf/configure: Regenerated.
22838
7b1902cb
JM
228392012-03-01 Joseph Myers <joseph@codesourcery.com>
22840
bec039bc
JM
22841 * configure.in (AS, LD): Require binutils 2.20 or later.
22842 * configure: Regenerated.
22843 * manual/install.texi (Tools for Compilation): Give binutils 2.20
22844 as required minimum version.
22845 * INSTALL: Regenerated.
22846
7b1902cb
JM
22847 [BZ #2541]
22848 [BZ #4108]
22849 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
22850 before squaring exponent.
22851 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
22852 bottom long double and 27 bits of top long double before squaring
22853 exponent.
22854 * math/libm-test.inc (erfc_test): Add more tests.
22855 * sysdeps/i386/fpu/libm-test-ulps: Update.
22856 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22857 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22858
f775c276
KT
228592012-03-01 Kai Tietz <ktietz@redhat.com>
22860
22861 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
22862 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
22863 containing bit-fields.
22864 * soft-fp/extended.h (_FP_UNION_E): Likewise.
22865 * soft-fp/single.h (_FP_UNION_S): Likewise.
22866 * soft-fp/double.h (_FP_UNION_D): Likewise.
22867
5b8a4d4a
JM
228682012-02-29 Joseph Myers <joseph@codesourcery.com>
22869
0bab47b6
JM
22870 [BZ #13786]
22871 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
22872 not include ../strcmp.S.
22873 [USE_AS_STRNCASECMP_L]: Likewise.
22874 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
22875 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
22876 * sysdeps/i386/i686/multiarch/strncase_l-c.c
22877 (__strncasecmp_l_ia32): Define as alias to
22878 __strncasecmp_l_nonascii.
22879
0fcad3e2
JM
22880 [BZ #5794]
22881 * math/libm-test.inc (expm1_test): Add test for bug 5794.
22882 * sysdeps/i386/fpu/libm-test-ulps: Update.
22883 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22884
5b8a4d4a
JM
22885 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
22886 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22887
8fdceb2e
JL
228882012-02-29 Jeff Law <law@redhat.com>
22889
22890 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
22891 out of bounds read.
22892
1f393a11
MP
228932012-02-29 Marek Polacek <polacek@redhat.com>
22894
22895 [BZ #13706]
22896 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
22897 * elf/Makefile: Add rules to run tst-unused-dep.out.
22898
8847f037
DM
228992012-02-28 David S. Miller <davem@davemloft.net>
22900
22901 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
22902 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
22903 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
22904 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
22905 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
22906 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
22907
169d7f11
JM
229082012-02-29 Joseph Myers <joseph@codesourcery.com>
22909
22910 * math/libm-test.inc (llround_test): Move one test from
22911 lround_test. Use TEST_f_L in moved test.
22912 (lround_test): Move misplaced test to llround_test. Add testcase
22913 from bug 2561.
22914
39adf059
UD
229152012-02-28 Ulrich Drepper <drepper@gmail.com>
22916
22917 * sysdeps/x86_64/fpu/e_expf.S: New file.
22918 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
22919
71b5d1c5
SB
229202012-02-28 Stanislav Brabec <sbrabec@suse.cz>
22921
22922 [BZ #13637]
22923 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
22924 of remain_len that may cause incomplete multi-byte character and
22925 false match.
22926 * posix/bug-regex33.c: New file.
22927 * posix/Makefile (tests): Add bug-regex33.
22928
1f77f049
JM
229292012-02-28 Joseph Myers <joseph@codesourcery.com>
22930
22931 * manual/macros.texi: New file.
22932 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
22933 * manual/libc.texinfo: Include macros.texi.
22934 * manual/creatute.texi: Likewise.
22935 * manual/install.texi: Likewise.
22936 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
22937 @glibcadj{} in references to the GNU C Library.
22938 * manual/charset.texi: Likewise.
22939 * manual/conf.texi: Likewise.
22940 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
22941 when not using those macros.
22942 * manual/creature.texi: Likewise.
22943 * manual/crypt.texi: Likewise.
22944 * manual/errno.texi: Likewise.
22945 * manual/filesys.texi: Likewise.
22946 * manual/header.texi: Likewise.
22947 * manual/install.texi: Likewise.
22948 * manual/intro.texi: Likewise.
22949 * manual/io.texi: Likewise.
22950 * manual/job.texi: Likewise.
22951 * manual/lang.texi: Likewise.
22952 * manual/libc.texiinfo: Likewise.
22953 * manual/llio.texi: Likewise.
22954 * manual/locale.texi: Likewise.
22955 * manual/maint.texi: Likewise.
22956 * manual/math.texi: Likewise.
22957 * manual/memory.texi: Likewise.
22958 * manual/message.texi: Likewise.
22959 * manual/nss.texi: Likewise.
22960 * manual/pattern.texi: Likewise.
22961 * manual/process.texi: Likewise.
22962 * manual/resource.texi: Likewise.
22963 * manual/search.texi: Likewise.
22964 * manual/setjmp.texi: Likewise.
22965 * manual/signal.texi: Likewise.
22966 * manual/socket.texi: Likewise.
22967 * manual/startup.texi: Likewise.
22968 * manual/stdio.texi: Likewise.
22969 * manual/string.texi: Likewise.
22970 * manual/sysinfo.texi: Likewise.
22971 * manual/syslog.texi: Likewise.
22972 * manual/terminal.texi: Likewise.
22973 * manual/time.texi: Likewise.
22974 * manual/users.texi: Likewise.
22975 * INSTALL: Regenerated.
22976 * NOTES: Regenerated.
d40c5d54 22977 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 22978
450bf206
AS
229792012-02-28 Andreas Schwab <schwab@linux-m68k.org>
22980
22981 * include/dirent.h: Include <dirstream.h> before
22982 <dirent/dirent.h>.
22983
741a235b
DM
229842012-02-28 David S. Miller <davem@davemloft.net>
22985
22986 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
22987 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
22988 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
22989 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
22990
d6b5aa58
DM
229912012-02-27 David S. Miller <davem@davemloft.net>
22992
1aff59a3
DM
22993 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
22994 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
22995 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
22996 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
22997
d6b5aa58
DM
22998 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
22999 frame pointer instead of stack pointer relative arg slot.
23000 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
23001 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
23002 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
23003
433f48bf
CD
230042012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
23005
23006 [BZ #3992]
23007 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
23008
d674b76d
DM
230092012-02-27 David S. Miller <davem@davemloft.net>
23010
23011 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
23012 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
23013 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
23014 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
23015 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
23016 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
23017 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
23018 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
23019
0e7727f7
JM
230202012-02-27 Joseph Myers <joseph@codesourcery.com>
23021
23022 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
23023 later. Allow versions 5-9.
43be4ca2 23024 * configure: Regenerated.
0e7727f7
JM
23025 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
23026 required minimum version and 4.6 as recommended version. Do not
23027 mention bugs in GCC 2.7 and 2.8.
43be4ca2 23028 * INSTALL: Regenerated.
0e7727f7 23029
a78bc654
DM
230302012-02-27 David S. Miller <davem@davemloft.net>
23031
428d5830
DM
23032 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
23033 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
23034 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
23035 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
23036 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
23037 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
23038 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
23039 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
23040
a78bc654
DM
23041 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
23042 manipulate bits before adding and subtracting TWO112[sx].
23043 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
23044
4579f81c
RM
230452012-02-27 Roland McGrath <roland@hack.frob.com>
23046
36c8acb4
RM
23047 [BZ #13775]
23048 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
23049 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
23050 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
23051 being in POSIX, because they are in 1003.1-2008.
23052
84ad622b
RM
23053 * rt/tst-aio.c: Include <fcntl.h>.
23054 * rt/tst-aio7.c: Likewise.
23055 * rt/tst-aio64.c: Likewise.
23056
4579f81c
RM
23057 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
23058
abd923db
JM
230592012-02-27 Joseph Myers <joseph@codesourcery.com>
23060
23061 * manual/install.texi (--with-headers): Describe headers as
23062 interface headers, not private headers.
23063 (Specific advice for GNU/Linux systems): Describe use of headers
23064 from "make headers_install", not private headers from older
23065 kernels.
43be4ca2 23066 * INSTALL: Regenerated.
abd923db
JM
23067 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
23068 Change to 2.6.19.
23069 * sysdeps/unix/sysv/linux/configure: Regenerated.
23070
6664049b
JM
23071 * manual/llio.texi (fclean): Remove documentation.
23072
bb8b6697
JM
23073 * manual/Makefile (libc-texi-generated): New variable. Include
23074 version.texi.
23075 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
23076 $(libc-texi-generated), not duplicated list of files.
23077 (version.texi, stamp-version): New rules.
23078 (realclean): Remove $(libc-texi-generated), not individual files
23079 from that list. Do not remove dir-add.texinfo.
23080 * manual/libc.texinfo: Comment out uses of edition numbers and
23081 references to printed manual. Remove last-updated dates.
23082 (EDITION): Comment out.
23083 (ISBN): Likewise.
23084 (VERSION, UPDATED): Remove.
23085 (version.texi): Include.
23086
12e5c3b9
AS
230872012-02-27 Andreas Schwab <schwab@linux-m68k.org>
23088
23089 * sysdeps/posix/spawni.c: Include <signal.h>.
23090 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
23091 * sysdeps/pthread/aio_fsync.c: Likewise.
23092
4efeffc1 230932012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 23094
ba63ba08
UD
23095 * conform/Makefile (tests): Run only when not cross-compiling and
23096 when fast-check is not defined.
23097
d94a4670
UD
23098 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
23099 * conform/data/limits.h-data: Fixes for POSIX2008.
23100 * conform/run-conformtest.sh: Run all tests.
23101 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
23102 headers.
23103 * include/bits/dlfcn.h: Likewise.
23104 * include/langinfo.h: Likewise.
23105 * include/monetary.h: Likewise.
23106 * include/sys/poll.h: Likewise.
23107
23108 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
23109 for __USE_GNU.
23110 * posix/spawn.h: Define __need_sigset_t.
23111 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
23112 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
23113 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
23114 to get sigevent_t only.
23115 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
23116 only for __USE_GNU.
23117 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23118 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
23119 process_vm_writev only for __USE_GNU.
23120 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
23121
23122 * conform/Makefile: For now ignore errors from run-conformtest.
23123 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
23124 POSIX to avoid namespace pollution. Don't prepend headers.
23125 * conform/data/aio.h-data: Fixes for POSIX testing.
23126 * conform/data/fcntl.h-data: Likewise.
23127 * conform/data/glob.h-data: Likewise.
23128 * conform/data/grp.h-data: Likewise.
23129 * conform/data/pthread.h-data: Likewise.
23130 * conform/data/pwd.h-data: Likewise.
23131 * conform/data/signal.h-data: Likewise.
23132 * conform/data/spawn.h-data: Likewise.
23133 * conform/data/stdio.h-data: Likewise.
23134 * conform/data/stdlib.h-data: Likewise.
23135 * conform/data/stropts.h-data: Likewise.
23136 * conform/data/sys/mman.h-data: Likewise.
23137 * conform/data/sys/stat.h-data: Likewise.
23138 * conform/data/sys/types.h-data: Likewise.
23139 * conform/data/sys/wait.h-data: Likewise.
23140 * conform/data/time.h-data: Likewise.
23141 * conform/data/unistd.h-data: Likewise.
23142 * conform/data/utime.h-data: Likewise.
23143
23144 * io/sys/stat.h: fchmod was always in POSIX.
23145 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
23146 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
23147 * rt/aio.h: Define __need_timespec before including <time.h>.
23148 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
23149 struct. Add forward declaration of pthread_attr_t and use it in
23150 sigevent.
23151 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
23152 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
23153 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
23154 always remove CLK_TCK definition.
23155
c20105c3
AS
231562012-02-26 Andreas Schwab <schwab@linux-m68k.org>
23157
23158 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
23159
7a270350
UD
231602012-02-25 Ulrich Drepper <drepper@gmail.com>
23161
31341567
UD
23162 * conform/run-conformtest.sh: New file.
23163 * conform/Makefile: Run run-conformtest for tests.
23164 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
23165 support.
23166
23167 * conform/data/uchar.h-data: New file.
23168 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
23169 * conform/data/arpa/inet.h-data: Likewise.
23170 * conform/data/assert.h-data: Likewise.
23171 * conform/data/complex.h-data: Likewise.
23172 * conform/data/cpio.h-data: Likewise.
23173 * conform/data/ctype.h-data: Likewise.
23174 * conform/data/dirent.h-data: Likewise.
23175 * conform/data/dlfcn.h-data: Likewise.
23176 * conform/data/errno.h-data: Likewise.
23177 * conform/data/fcntl.h-data: Likewise.
23178 * conform/data/float.h-data: Likewise.
23179 * conform/data/fmtmsg.h-data: Likewise.
23180 * conform/data/fnmatch.h-data: Likewise.
23181 * conform/data/ftw.h-data: Likewise.
23182 * conform/data/glob.h-data: Likewise.
23183 * conform/data/grp.h-data: Likewise.
23184 * conform/data/iconv.h-data: Likewise.
23185 * conform/data/inttypes.h-data: Likewise.
23186 * conform/data/langinfo.h-data: Likewise.
23187 * conform/data/libgen.h-data: Likewise.
23188 * conform/data/limits.h-data: Likewise.
23189 * conform/data/locale.h-data: Likewise.
23190 * conform/data/math.h-data: Likewise.
23191 * conform/data/monetary.h-data: Likewise.
23192 * conform/data/mqueue.h-data: Likewise.
23193 * conform/data/ndbm.h-data: Likewise.
23194 * conform/data/net/if.h-data: Likewise.
23195 * conform/data/netdb.h-data: Likewise.
23196 * conform/data/netinet/in.h-data: Likewise.
23197 * conform/data/nl_types.h-data: Likewise.
23198 * conform/data/poll.h-data: Likewise.
23199 * conform/data/pthread.h-data: Likewise.
23200 * conform/data/pwd.h-data: Likewise.
23201 * conform/data/regex.h-data: Likewise.
23202 * conform/data/sched.h-data: Likewise.
23203 * conform/data/search.h-data: Likewise.
23204 * conform/data/semaphore.h-data: Likewise.
23205 * conform/data/setjmp.h-data: Likewise.
23206 * conform/data/signal.h-data: Likewise.
23207 * conform/data/spawn.h-data: Likewise.
23208 * conform/data/stdarg.h-data: Likewise.
23209 * conform/data/stdio.h-data: Likewise.
23210 * conform/data/stdlib.h-data: Likewise.
23211 * conform/data/string.h-data: Likewise.
23212 * conform/data/strings.h-data: Likewise.
23213 * conform/data/stropts.h-data: Likewise.
23214 * conform/data/sys/ipc.h-data: Likewise.
23215 * conform/data/sys/mman.h-data: Likewise.
23216 * conform/data/sys/msg.h-data: Likewise.
23217 * conform/data/sys/resource.h-data: Likewise.
23218 * conform/data/sys/select.h-data: Likewise.
23219 * conform/data/sys/sem.h-data: Likewise.
23220 * conform/data/sys/shm.h-data: Likewise.
23221 * conform/data/sys/socket.h-data: Likewise.
23222 * conform/data/sys/stat.h-data: Likewise.
23223 * conform/data/sys/statvfs.h-data: Likewise.
23224 * conform/data/sys/time.h-data: Likewise.
23225 * conform/data/sys/timeb.h-data: Likewise.
23226 * conform/data/sys/times.h-data: Likewise.
23227 * conform/data/sys/types.h-data: Likewise.
23228 * conform/data/sys/uio.h-data: Likewise.
23229 * conform/data/sys/un.h-data: Likewise.
23230 * conform/data/sys/utsname.h-data: Likewise.
23231 * conform/data/sys/wait.h-data: Likewise.
23232 * conform/data/syslog.h-data: Likewise.
23233 * conform/data/tar.h-data: Likewise.
23234 * conform/data/termios.h-data: Likewise.
23235 * conform/data/utime.h-data: Likewise.
23236 * conform/data/utmpx.h-data: Likewise.
23237 * conform/data/varargs.h-data: Likewise.
23238 * conform/data/wchar.h-data: Likewise.
23239 * conform/data/wctype.h-data: Likewise.
23240 * conform/data/wordexp.h-data: Likewise.
23241
23242 * include/stropts.h: New file.
23243 * include/uchar.h: New file.
23244 * include/aio.h: Changes to allow conformtest.pl to use the headers.
23245 * include/assert.h: Likewise.
23246 * include/ctype.h: Likewise.
23247 * include/dirent.h: Likewise.
23248 * include/dlfcn.h: Likewise.
23249 * include/fcntl.h: Likewise.
23250 * include/fnmatch.h: Likewise.
23251 * include/glob.h: Likewise.
23252 * include/grp.h: Likewise.
23253 * include/libio.h: Likewise.
23254 * include/locale.h: Likewise.
23255 * include/math.h: Likewise.
23256 * include/net/if.h: Likewise.
23257 * include/netdb.h: Likewise.
23258 * include/netinet/in.h: Likewise.
23259 * include/pthread.h: Likewise.
23260 * include/pwd.h: Likewise.
23261 * include/regex.h: Likewise.
23262 * include/sched.h: Likewise.
23263 * include/search.h: Likewise.
23264 * include/setjmp.h: Likewise.
23265 * include/signal.h: Likewise.
23266 * include/stdio.h: Likewise.
23267 * include/stdlib.h: Likewise.
23268 * include/string.h: Likewise.
23269 * include/sys/cdefs.h: Likewise.
23270 * include/sys/mman.h: Likewise.
23271 * include/sys/msg.h: Likewise.
23272 * include/sys/resource.h: Likewise.
23273 * include/sys/select.h: Likewise.
23274 * include/sys/socket.h: Likewise.
23275 * include/sys/stat.h: Likewise.
23276 * include/sys/statvfs.h: Likewise.
23277 * include/sys/time.h: Likewise.
23278 * include/sys/times.h: Likewise.
23279 * include/sys/uio.h: Likewise.
23280 * include/sys/utsname.h: Likewise.
23281 * include/sys/wait.h: Likewise.
23282 * include/termios.h: Likewise.
23283 * include/time.h: Likewise.
23284 * include/ulimit.h: Likewise.
23285 * include/unistd.h: Likewise.
23286 * include/utime.h: Likewise.
23287 * include/wchar.h: Likewise.
23288 * include/wctype.h: Likewise.
23289 * include/wordexp.h: Likewise.
23290
23291 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
23292
7a270350
UD
23293 * time/time.h: TIME_UTC must be a macro.
23294 Make timespec_get available for ISO C11 only as well.
23295
7724defc
UD
232962012-02-24 Ulrich Drepper <drepper@gmail.com>
23297
23298 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
23299 Reported by Peng Haitao <penght@cn.fujitsu.com>.
23300
6b1d1d46
JM
233012012-02-24 Joseph Myers <joseph@codesourcery.com>
23302
23303 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 23304
0f8bbd69
JM
233052012-02-24 Joseph Myers <joseph@codesourcery.com>
23306
23307 * manual/texinfo.tex: Update to version 2012-01-19.16.
23308
66ab80bc
JM
233092012-02-24 Joseph Myers <joseph@codesourcery.com>
23310
23311 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
23312
74981cc5
RM
233132012-02-24 Roland McGrath <roland@hack.frob.com>
23314
ee968201
RM
23315 [BZ #13738]
23316 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
23317 * manual/fdl-1.3.texi: New file.
23318 * manual/fdl-1.1.texi: File removed.
23319
74981cc5
RM
23320 [BZ #13738]
23321 * manual/libc.texinfo (FDL_VERSION): New @set.
23322 Use it for mention of FDL in cover text.
23323 (Documentation License): Use it in @include file name.
23324
7bb764bc
JM
233252012-02-22 Joseph Myers <joseph@codesourcery.com>
23326 Roland McGrath <roland@hack.frob.com>
23327
23328 [BZ #5461]
23329 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
23330 not LONG_LONG_MAX and LONG_LONG_MIN.
23331 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
23332 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
23333 name.
23334 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
23335
6cbeae47
JM
233362012-02-22 Joseph Myers <joseph@codesourcery.com>
23337
23338 [BZ #2547]
23339 [BZ #11365]
23340 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
23341 manipulate bits before adding and subtracting TWO23[sx].
23342 * math/libm-test.inc (nearbyint_test): Add more tests.
23343
fe45ce09
JM
233442012-02-22 Joseph Myers <joseph@codesourcery.com>
23345
23346 [BZ #2548]
23347 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
23348 bits before adding and subtracting TWO23[sx].
23349 * math/libm-test.inc (rint_test): Add more tests.
23350 (rint_test_tonearest): Likewise.
23351 (rint_test_towardzero): Likewise.
23352 (rint_test_downward): Likewise.
23353 (rint_test_upward: Likewise.
23354
ff3b3d82
JM
233552012-02-22 Joseph Myers <joseph@codesourcery.com>
23356
23357 [BZ #10110]
23358 * include/stdc-predef.h: New file. Extracted from features.h.
23359 * include/features.h: Include stdc-predef.h.
23360 * Makefile (headers): Add stdc-predef.h.
23361 * CONFORMANCE (Compiler limitations): Update.
23362
ef0aab35
JM
233632012-02-22 Joseph Myers <joseph@codesourcery.com>
23364
23365 * manual/libc.texinfo (VERSION, UPDATED): Revert.
23366
58639409
DM
233672012-02-21 David S. Miller <davem@davemloft.net>
23368
23369 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
23370 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
23371
c0e70b25
DM
233722012-02-20 David S. Miller <davem@davemloft.net>
23373
23374 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
23375 using a normal save/restore sequence, rather than allocating a
23376 dummy stack frame just to store a frame pointer and restore.
23377 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23378
fb06851d
JM
233792012-02-21 Joseph Myers <joseph@codesourcery.com>
23380
23381 * manual/install.texi: Fix stray word in line-wrapped comment.
23382
7a8b71c3
DM
233832012-02-20 David S. Miller <davem@davemloft.net>
23384
d510c123
DM
23385 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
23386 both binutils and gcc support GOTDATA.
23387
0722d7c2
DM
23388 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
23389 "rd %pc" in the PIC register setup sequences.
23390
3d2b3019
DM
23391 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
23392 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
23393 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
23394 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
23395 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
23396 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
23397 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23398 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23399 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
23400 (SYSCALL_ERROR_HANDLER): Likewise.
23401 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
23402 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23403 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
23404 (SYSCALL_ERROR_HANDLER): Likewise.
23405
c80098a9
DM
23406 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
23407 (HAVE_GCC_GOTDATA): New.
23408 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
23409 relocation support in both binutils and gcc.
23410 * sysdeps/sparc/elf/configure: Regenerate.
23411
3a2545a0
DM
23412 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
23413 * sysdeps/sparc/sparc32/elf/configure: Delete.
23414 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
23415 * sysdeps/sparc/sparc64/elf/configure: Delete.
23416 * sysdeps/sparc/elf/configure.in: New file.
23417 * sysdeps/sparc/elf/configure: Generate.
23418
7a8b71c3
DM
23419 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
23420 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
23421 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
23422 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
23423 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
23424
f1e86fca
JM
234252012-02-21 Joseph Myers <joseph@codesourcery.com>
23426
23427 * manual/install.texi: Do not mention specific glibc version
23428 numbers.
23429 * manual/libc.texinfo (VERSION, UPDATED): Update.
23430 (@copying): Use @copyright{} and range of years.
23431
0e7dfaef
JM
234322012-02-21 Joseph Myers <joseph@codesourcery.com>
23433
23434 [BZ #13695]
23435 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
23436 [crti.S not in sysdirs] (generated): Do not append.
23437 [crti.S not in sysdirs] (omit-deps): Likewise.
23438 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
23439 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
23440 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
23441 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
23442 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
23443 Likewise.
23444 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
23445 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
23446 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
23447 * csu/defs.awk: Remove file.
23448 * sysdeps/generic/initfini.c: Likewise.
23449 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
23450 variable.
23451 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
23452 Likewise.
23453
599af3ca
JM
234542012-02-20 Joseph Myers <joseph@codesourcery.com>
23455
23456 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
23457 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
23458 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
23459 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
23460 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
23461 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
23462 <bits/epoll.h>.
23463 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
23464 (__EPOLL_PACKED): Define to empty if not defined by
23465 <bits/epoll.h>.
23466 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
23467 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23468 bits/epoll.h.
23469
0e499750
JM
234702012-02-20 Joseph Myers <joseph@codesourcery.com>
23471
23472 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
23473 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
23474 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
23475 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
23476 <bits/timerfd.h>.
23477 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
23478 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23479 bits/timerfd.h.
23480
5ad91f6e
JM
234812012-02-20 Joseph Myers <joseph@codesourcery.com>
23482
23483 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
23484 in C locale.
23485 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23486 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
23487 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
23488 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23489
06b99b02
AJ
234902012-02-20 Aurelien Jarno <aurelien@aurel32.net>
23491
23492 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23493 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
23494
7638c0fd
AS
234952012-02-19 Andreas Schwab <schwab@linux-m68k.org>
23496
23497 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
23498 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
23499 defined.
23500 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
23501 Likewise.
23502 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
23503 entry for 2.16.
23504
92221550
AJ
235052012-02-19 Aurelien Jarno <aurelien@aurel32.net>
23506
23507 * math/w_acos.c: Use non-signaling floating-point comparisons.
23508 * math/w_acosf.c: Likewise.
23509 * math/w_acosh.c: Likewise.
23510 * math/w_acoshf.c: Likewise.
23511 * math/w_acoshl.c: Likewise.
23512 * math/w_acosl.c: Likewise.
23513 * math/w_asin.c: Likewise.
23514 * math/w_asinf.c: Likewise.
23515 * math/w_asinl.c: Likewise.
23516 * math/w_atanh.c: Likewise.
23517 * math/w_atanhf.c: Likewise.
23518 * math/w_atanhl.c: Likewise.
23519 * math/w_exp2.c: Likewise.
23520 * math/w_exp2f.c: Likewise.
23521 * math/w_exp2l.c: Likewise.
23522 * math/w_j0.c: Likewise.
23523 * math/w_j0f.c: Likewise.
23524 * math/w_j0l.c: Likewise.
23525 * math/w_j1.c: Likewise.
23526 * math/w_j1f.c: Likewise.
23527 * math/w_j1l.c: Likewise.
23528 * math/w_jn.c: Likewise.
23529 * math/w_jnf.c: Likewise.
23530 * math/w_log.c: Likewise.
23531 * math/w_log10.c: Likewise.
23532 * math/w_log10f.c: Likewise.
23533 * math/w_log10l.c: Likewise.
23534 * math/w_log2.c: Likewise.
23535 * math/w_log2f.c: Likewise.
23536 * math/w_log2l.c: Likewise.
23537 * math/w_logf.c: Likewise.
23538 * math/w_logl.c: Likewise.
23539 * math/w_sqrt.c: Likewise.
23540 * math/w_sqrtf.c: Likewise.
23541 * math/w_sqrtl.c: Likewise.
23542 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23543 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
23544 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23545 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
23546 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
23547
ebaf36eb
JM
235482012-02-19 Joseph Myers <joseph@codesourcery.com>
23549
23550 [BZ #9739]
23551 * manual/string.texi (strnlen): Use correct parameter name in
23552 equivalent expression.
23553
71c254a6
JM
235542012-02-19 Joseph Myers <joseph@codesourcery.com>
23555
23556 [BZ #11174]
23557 * manual/users.texi (seteuid): Consistently use neweuid for
23558 argument name.
23559
16d2c631
JM
235602012-02-19 Joseph Myers <joseph@codesourcery.com>
23561
23562 [BZ #13704]
23563 * manual/nss.texi (Services in the NSS configuration): Correct
23564 list of services in example configuration file.
23565
cd837b09
NB
235662012-02-19 Nick Bowler <nbowler@draconx.ca>
23567
23568 [BZ #11322]
23569 * manual/arith.texi: Remove statements about negative zero
23570 behaving identically to zero.
23571
02c4bbad
JM
235722012-02-18 Joseph Myers <joseph@codesourcery.com>
23573
23574 [BZ #5993]
23575 * manual/install.texi: Do not document upgrading from libc5.
23576
366842e7
JM
235772012-02-18 Joseph Myers <joseph@codesourcery.com>
23578
23579 [BZ #4596]
23580 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
23581
dd54084d
DM
235822012-02-18 David S. Miller <davem@davemloft.net>
23583
23584 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
23585 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
23586 %o7 across the call.
23587 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
23588 instead.
23589 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
23590 SETUP_PIC_REG_LEAF.
23591 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23592 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
23593 * sysdeps/sparc/crtn.S: Likewise.
23594
2bcc53a3
UD
235952012-02-17 Ulrich Drepper <drepper@gmail.com>
23596
23597 * aout/Makefile: Remove.
23598
09c093b5
RK
235992012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
23600
23601 [BZ #13058]
23602 * manual/examples/argp-ex1.c (main): Format definition in GNU
23603 style.
23604 * manual/examples/argp-ex2.c (main): Likewise.
23605 * manual/examples/argp-ex3.c (main): Likewise.
23606 * manual/examples/argp-ex4.c (main): Likewise.
23607 * manual/examples/longopt.c (main): Use new-style prototype
23608 definition.
23609 * manual/examples/strncat.c (main): Specify return type and use
23610 (void) for arguments.
23611 * manual/examples/subopt.c (main): Use char **argv argument.
23612
2ee633a2
JM
236132012-02-17 Joseph Myers <joseph@codesourcery.com>
23614
23615 [BZ #5077]
23616 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
23617 rounding modes.
23618
0520adde
FB
236192012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
23620
23621 [BZ #6907]
23622 * manual/string.texi (strchr): Change when strchrnul is
23623 recommended.
23624
3f4081cd
DGM
236252012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
23626
23627 [BZ #174]
23628 * manual/locale.texi (setlocale): Document LOCPATH.
23629
d1b10e78
JM
236302012-02-17 Joseph Myers <joseph@codesourcery.com>
23631
23632 [BZ #10210]
23633 * manual/process.texi (execle): Move @dots{} before last argument.
23634
79c6869c
PB
236352012-02-17 Paul Bolle <pebolle@tiscali.nl>
23636
23637 [BZ #12047]
23638 * manual/charset.texi (Generic Charset Conversion): Fix typo
23639 (LC_TYPE -> LC_CTYPE).
23640
cc6e48bc
NB
236412012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
23642
23643 [BZ #5805]
23644 * manual/arith.texi (scalbn): Use @var{} on parameter names.
23645 (scalbnf): Likewise.
23646 (scalbnl): Likewise.
23647 (scalbln): Likewise.
23648 (scalblnf): Likewise.
23649 (scalblnl): Likewise.
23650 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
23651 (vwarnx): Likewise.
23652 (verr): Likewise.
23653 (verrx): Likewise.
23654 * manual/filesys.texi (telldir): Use braces around return type.
23655 * manual/llio.texi (mmap): Add space after comma.
23656 (mmap64): Likewise.
23657 * manual/math.texi (jn): Use @var{} on parameter names.
23658 (jnf): Likewise.
23659 (jnl): Likewise.
23660 (yn): Likewise.
23661 (ynf): Likewise.
23662 (ynl): Likewise.
23663 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
23664 line.
23665 * manual/resource.texi (ulimit): Use @dots{} instead of literal
23666 "...".
23667 (sched_get_priority_min): Remove semicolon on @deftypefun line.
23668 (sched_get_priority_max): Likewise.
23669 * manual/signal.texi (sigvec): Add space after comma.
23670 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
23671 names.
23672 (if_indextoname): Likewise.
23673 (if_freenameindex): Likewise.
23674 (sendto): Use ',' instead of '.' in prototype.
23675 * manual/startup.texi (syscall): Use @dots{} instead of literal
23676 "...".
23677 * manual/stdio.texi (__fpending): Separate initial words of
23678 paragraph from @deftypefun line.
23679 * manual/syslog.texi (syslog): Use @dots{} instead of literal
23680 "...".
23681 (vsyslog): Use @var{} on parameter names.
23682 * manual/terminal.texi (stty): Use @var{} on parameter names.
23683 * manual/users.texi (getutmp): Use @var{} on parameter names.
23684 (getutmpx): Likewise.
23685
5b23062f
JM
236862012-02-17 Joseph Myers <joseph@codesourcery.com>
23687
23688 [BZ #6884]
23689 * manual/stdio.texi (fopen): Fix typos in description of
23690 ",ccs=STRING".
23691
8dee4833
AJ
236922012-02-17 Aurelien Jarno <aurelien@aurel32.net>
23693
23694 [BZ #4026]
23695 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
23696 get clock_id definition.
23697
9078ce93
TS
236982012-02-17 Thomas Schwinge <thomas@schwinge.name>
23699
23700 [BZ #4822]
23701 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
23702 (madvise): Cast every argument to void on its own.
23703
3835c55f
JM
237042012-02-17 Joseph Myers <joseph@codesourcery.com>
23705
23706 [BZ #9902]
23707 * manual/startup.texi (Exit Status): Fix typo.
23708
35c47e37
JM
237092012-02-17 Joseph Myers <joseph@codesourcery.com>
23710
23711 [BZ #10140]
23712 * manual/examples/argp-ex1.c: Include <stdlib.h>.
23713 * manual/examples/argp-ex2.c: Likewise.
23714 * manual/examples/argp-ex3.c: Likewise.
23715
e3b69ca7
RH
237162012-02-16 Richard Henderson <rth@redhat.com>
23717
23718 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
23719 * sysdeps/s390/s390-32/initfini.c: Remove.
23720 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
23721 * sysdeps/s390/s390-64/initfini.c: Remove.
23722
df83af67
KK
237232012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23724
23725 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
23726 compiler output for sysdeps/generic/initfini.c.
23727 * sysdeps/sh/elf/initfini.c: Remove file.
23728
f63f3380
DM
237292012-02-16 David S. Miller <davem@davemloft.net>
23730
fb59b3a4
DM
23731 [BZ #11494]
23732 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
23733
f63f3380
DM
23734 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
23735 * sysdeps/sparc/crti.S: New file.
23736 * sysdeps/sparc/crtn.S: New file.
23737 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
23738 * sysdeps/sparc/sparc64/Makefile: Likewise.
23739
df6a4a4a
MF
237402012-02-15 Mike Frysinger <vapier@gentoo.org>
23741
6dd8f3dc 23742 [BZ #3335]
df6a4a4a
MF
23743 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
23744
1cac7236
RM
237452012-02-15 Roland McGrath <roland@hack.frob.com>
23746
d2c736f8
RM
23747 [BZ #4822]
23748 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
23749
1cac7236
RM
23750 * mach/devstream.c (cookie_io_functions_t): Macro removed.
23751 (write, read, close): Likewise.
23752 Patch by Aurelien Jarno <aurelien@aurel32.net>.
23753
8e475601
JM
237542012-02-15 Joseph Myers <joseph@codesourcery.com>
23755
23756 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
23757 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
23758 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
23759 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
23760 <bits/signalfd.h>.
23761 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
23762 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23763 bits/signalfd.h.
23764
ed656b40
MP
237652012-02-14 Marek Polacek <polacek@redhat.com>
23766
23767 * sysdeps/x86_64/crti.S: New file.
23768 * sysdeps/x86_64/crtn.S: New file.
23769 * sysdeps/x86_64/elf/initfini.c: Remove file.
23770
2a979d3a
JM
237712012-02-13 Joseph Myers <joseph@codesourcery.com>
23772
23773 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
23774 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
23775 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
23776 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
23777 <bits/inotify.h>.
23778 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
23779 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23780 bits/inotify.h.
23781
2a418ac3
JM
237822012-02-13 Joseph Myers <joseph@codesourcery.com>
23783
23784 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
23785 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
23786 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
23787 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
23788 <bits/eventfd.h>.
23789 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
23790 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23791 bits/eventfd.h.
23792
fb779be7
TS
237932012-02-10 Thomas Schwinge <thomas@codesourcery.com>
23794
e19e83c5
RM
23795 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
23796 __feraiseexcept instead of feraiseexcept.
7c35ffed 23797
fb779be7
TS
23798 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
23799 nanosleep invocations.
23800 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
23801 strings, and add error checking for a nanosleep invocations.
23802
59ba27a6
PE
238032012-02-09 Paul Eggert <eggert@cs.ucla.edu>
23804
23805 Replace FSF snail mail address with URLs, as per GNU coding standards.
23806 Most of the snail mail addresses were wrong anyway, and omitting
23807 them makes the source code easier to maintain. Almost all of the
23808 changes are to license notices and to locale LC_IDENTIFICATION
23809 addresses, except for this one:
23810 * manual/libc.texinfo: In "Published by", give the FSF's URL,
23811 not its snail mail address.
23812
57b957eb
RH
238132012-02-09 Richard Henderson <rth@twiddle.net>
23814
af850b1c
RH
23815 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
23816 of kernel-features.h.
23817
57b957eb
RH
23818 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
23819
6b73181a
MP
238202012-02-08 Marek Polacek <polacek@redhat.com>
23821
23822 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
23823 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
23824 * sysdeps/gnu/_G_config.h: Likewise.
23825 * sysdeps/generic/_G_config.h: Likewise.
23826
26ecc33a
AS
238272012-02-08 Andreas Schwab <schwab@linux-m68k.org>
23828
6c6dbc63
AS
23829 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
23830 tests.
23831 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23832
e216c012
AS
23833 * sysdeps/powerpc/powerpc32/crti.S: New file.
23834 * sysdeps/powerpc/powerpc32/crtn.S: New file.
23835 * sysdeps/powerpc/powerpc64/crti.S: New file.
23836 * sysdeps/powerpc/powerpc64/crtn.S: New file.
23837
26ecc33a
AS
23838 * Makeconfig (have-initfini): Don't set.
23839 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
23840 * configure.in (nopic_initfini): Don't substitute.
23841 * config.h.in (HAVE_INITFINI): Don't #undef.
23842 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
23843 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
23844
3add8e13
JM
238452012-02-08 Joseph Myers <joseph@codesourcery.com>
23846
23847 Support crti.S and crtn.S provided directly by architectures.
23848 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
23849 [crti.S in sysdirs] (omit-deps): Likewise.
23850 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
23851 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
23852 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
23853 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
23854 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
23855 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
23856 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
23857 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
23858 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
23859 compiler output for sysdeps/generic/initfini.c.
23860 * sysdeps/i386/elf/Makefile: Remove file.
23861 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
23862
a22f12b4
MP
238632012-02-07 Marek Polacek <polacek@redhat.com>
23864
23865 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
23866 * sysdeps/gnu/_G_config.h: Likewise.
23867 * sysdeps/mach/hurd/_G_config.h: Likewise.
23868
148cf100
MP
238692012-02-07 Marek Polacek <polacek@redhat.com>
23870
23871 * math/Makefile (tests): Add tst-CMPLX2.
23872 * math/tst-CMPLX2.c: New file.
23873
cfdc0dd7
AS
238742012-02-07 Andreas Schwab <schwab@linux-m68k.org>
23875
84ba42c4
AS
23876 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23877
cfdc0dd7
AS
23878 * math/libm-test.inc (jn_test): Add missing L suffix.
23879
622c86f4
MP
238802012-02-06 Marek Polacek <polacek@redhat.com>
23881
23882 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
23883 * sysdeps/i386/fpu/e_powf.S: Likewise.
23884 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
23885 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
23886 * sysdeps/i386/fpu/e_acosh.S: Likewise.
23887 * sysdeps/i386/fpu/e_pow.S: Likewise.
23888 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
23889 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
23890 * sysdeps/i386/fpu/s_expm1.S: Likewise.
23891 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
23892 * sysdeps/i386/fpu/e_log2.S: Likewise.
23893 * sysdeps/i386/fpu/e_log2l.S: Likewise.
23894 * sysdeps/i386/fpu/e_scalb.S: Likewise.
23895 * sysdeps/i386/fpu/e_powl.S: Likewise.
23896 * sysdeps/i386/fpu/s_log1p.S: Likewise.
23897 * sysdeps/i386/fpu/e_log10f.S: Likewise.
23898 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
23899 * sysdeps/i386/fpu/e_logl.S: Likewise.
23900 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
23901 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
23902 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
23903 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
23904 * sysdeps/i386/fpu/e_log2f.S: Likewise.
23905 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
23906 * sysdeps/i386/fpu/e_log.S: Likewise.
23907 * sysdeps/i386/fpu/s_cexp.S: Likewise.
23908 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
23909 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
23910 * sysdeps/i386/fpu/e_logf.S: Likewise.
23911 * sysdeps/i386/fpu/e_log10l.S: Likewise.
23912 * sysdeps/i386/fpu/e_atanh.S: Likewise.
23913 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
23914 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
23915 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
23916 * sysdeps/i386/fpu/e_log10.S: Likewise.
23917 * sysdeps/i386/fpu/s_frexp.S: Likewise.
23918 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
23919 * sysdeps/i386/fpu/s_asinh.S: Likewise.
23920 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
23921 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
23922 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
23923 * sysdeps/i386/asm-syntax.h: Likewise.
23924 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
23925 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
23926 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
23927 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
23928 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
23929 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
23930 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
23931 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
23932 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
23933 * sysdeps/powerpc/sysdep.h: Likewise.
23934 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
23935 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
23936
d4a54ac6
JM
239372012-02-06 Joseph Myers <joseph@codesourcery.com>
23938
23939 [BZ #411]
23940 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
23941
314054ea
JM
239422012-02-06 Joseph Myers <joseph@codesourcery.com>
23943
23944 * sysdeps/i386/sysdep.h: Include <features.h>.
23945 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
23946 version.
23947
d8e0ca50
JM
239482012-02-05 Joseph Myers <joseph@codesourcery.com>
23949
23950 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
23951 Define.
23952 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
23953 LOAD_PIC_REG_STR.
23954
b1da7dd9
JM
239552012-02-03 Joseph Myers <joseph@codesourcery.com>
23956
23957 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
23958 (SETUP_PIC_REG): Use GET_PC_THUNK.
23959 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
23960 macro.
23961
9a1d9254
JM
239622012-02-03 Joseph Myers <joseph@codesourcery.com>
23963
23964 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
23965 for non-PIC compilation.
23966 (SETUP_PIC_REG): Add .p2align directive.
23967 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
23968 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
23969 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
23970 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
23971 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
23972 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
23973 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
23974 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
23975 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23976 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23977 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23978 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23979 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23980 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23981 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
23982 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
23983 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
23984 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
23985 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
23986 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
23987 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23988 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
23989 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
23990 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
23991 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
23992 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
23993 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
23994 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
23995 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
23996 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
23997 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
23998 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23999 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
24000 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
24001 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
24002 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
24003 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
24004 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
24005 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
24006 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
24007 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
24008
65dc3b75
JM
240092012-02-03 Joseph Myers <joseph@codesourcery.com>
24010
24011 * math/tst-CMPLX.c: Include <stdio.h>.
24012
d55bf177
JM
240132012-01-31 Joseph Myers <joseph@codesourcery.com>
24014
24015 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
24016 float.
24017 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
24018 * sysdeps/sparc/bits/mathdef.h: Likewise.
24019
69db4f8f
MP
240202012-01-31 Marek Polacek <polacek@redhat.com>
24021
24022 * libio/libio.h: Don't define _PARAMS.
24023 * locale/programs/config.h: Don't define PARAMS.
24024 * stdlib/strtol_l.c: Likewise.
24025 (__strtol_l): Remove PARAMS from the prototype.
24026
41b81892
UD
240272012-01-31 Ulrich Drepper <drepper@gmail.com>
24028
3b49edc0
UD
24029 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
24030 names. Just use the correct names. Remove unnecessary wrapper
24031 functions.
24032 * malloc/arena.c: Likewise.
24033 * malloc/hooks.c: Likewise.
24034
41b81892
UD
24035 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
24036 ARENA_TEST says not to. Simplify test for creation of a new arena.
24037 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
24038
27a25b6e
UD
240392012-01-30 Ulrich Drepper <drepper@gmail.com>
24040
24041 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
24042 into tail calls.
24043 (update_get_addr): New function.
24044 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
24045 GET_ADDR_MODULE parameter.
24046
c8a89e7d
JM
240472012-01-30 Joseph Myers <joseph@codesourcery.com>
24048
24049 * crypt/cert.c: Remove __STDC__ conditionals.
24050 * crypt/crypt-entry.c: Likewise.
24051 * crypt/crypt_util.c: Likewise.
24052 * libio/filedoalloc.c: Likewise.
24053 * libio/fileops.c: Likewise.
24054 * libio/genops.c: Likewise.
24055 * libio/iofclose.c: Likewise.
24056 * libio/iofdopen.c: Likewise.
24057 * libio/iofopen.c: Likewise.
24058 * libio/iofopen64.c: Likewise.
24059 * libio/iogetdelim.c: Likewise.
24060 * libio/iopopen.c: Likewise.
24061 * libio/obprintf.c: Likewise.
24062 * libio/oldfileops.c: Likewise.
24063 * libio/oldiofclose.c: Likewise.
24064 * libio/oldiofdopen.c: Likewise.
24065 * libio/oldiofopen.c: Likewise.
24066 * libio/oldiopopen.c: Likewise.
24067 * libio/wfiledoalloc.c: Likewise.
24068 * libio/wgenops.c: Likewise.
24069 * locale/programs/xmalloc.c: Likewise.
24070 * misc/syslog.c: Likewise.
24071 * stdio-common/xbug.c: Likewise.
24072 * string/memchr.c: Likewise.
24073 * string/memcmp.c: Likewise.
24074 * string/memrchr.c: Likewise.
24075 * string/rawmemchr.c: Likewise.
24076 * sysdeps/posix/getcwd.c: Likewise.
24077 * time/strftime_l.c: Likewise.
24078
3b100462
JM
240792012-01-30 Joseph Myers <joseph@codesourcery.com>
24080
24081 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
24082 * config.make.in (config-cflags-sse2avx): Define.
24083 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
24084 Fix typo.
24085
607998af
CM
240862012-01-29 Chris Metcalf <cmetcalf@tilera.com>
24087
24088 * scripts/config.guess: Update from upstream config git repository.
24089 * scripts/config.sub: Likewise.
24090
3601428f
CM
240912012-01-28 Chris Metcalf <cmetcalf@tilera.com>
24092
3ac8b282
CM
24093 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
24094 (EM_NUM): Update.
24095 (R_TILEPRO_*, R_TILEGX_*): New macros.
24096
e034841e
CM
24097 * scripts/firstversions.awk: Fix bug in version range handling.
24098
540d7568
CM
24099 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
24100
3601428f
CM
24101 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
24102
463de862
CM
24103 * include/sys/epoll.h: New file.
24104 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
24105 libc_hidden_def.
24106
73139a76
UD
241072012-01-28 Ulrich Drepper <drepper@gmail.com>
24108
96bc5b45
UD
24109 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
24110 Avoid unnecessary __WORDSIZE == 64 test.
24111 (fmaxf): Use VEX format if possible.
24112 (fmax): Likewise.
24113 (fminf): Likewise.
24114 (fmin): Likewise.
24115
56f6f6a2
UD
24116 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
24117 * math/math_private.h: Remove libc_fegetround* and
24118 libc_fesetround*.
24119 * sysdeps/i386/configure.in: Check for -msse2avx.
24120 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
24121 also if SSE2AVX is defined.
24122 Remove libc_fegetround* and libc_fesetround*.
24123 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
24124 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
24125 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
24126 of HAS_YMM_USABLE.
24127 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24128 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24129 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24130 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24131 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
24132
73139a76
UD
24133 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
24134
d73f93a4
AZ
241352012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24136
24137 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
24138 size is not set.
24139 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
24140
6ee65ed6
UD
241412012-01-27 Ulrich Drepper <drepper@gmail.com>
24142
24143 [BZ #13618]
24144 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
24145 relocation.
24146 * Makeconfig (libm): Define.
24147 * elf/Makefile: Add rules to build and run tst-relsort1.
24148 * elf/tst-relsort1.c: New file.
24149 * elf/tst-relsort1mod1.c: New file.
24150 * elf/tst-relsort1mod2.c: New file.
24151
8db21882
JM
241522012-01-27 Joseph Myers <joseph@codesourcery.com>
24153
24154 * math/s_ldexp.c: Remove __STDC__ conditionals.
24155 * math/s_ldexpf.c: Likewise.
24156 * math/s_ldexpl.c: Likewise.
24157 * math/s_nextafter.c: Likewise.
24158 * math/s_nexttowardf.c: Likewise.
24159 * math/s_significand.c: Likewise.
24160 * math/s_significandf.c: Likewise.
24161 * math/s_significandl.c: Likewise.
24162 * math/w_jnl.c: Likewise.
24163 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
24164 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
24165 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
24166 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
24167 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
24168 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24169 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
24170 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
24171 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24172 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
24173 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
24174 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24175 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
24176 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
24177 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
24178 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
24179 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
24180 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
24181 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24182 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
24183 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
24184 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24185 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24186 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24187 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24188 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24189 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24190 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24191 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
24192 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24193 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24194 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
24195 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24196 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
24197 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
24198 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24199 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
24200 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
24201 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
24202 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
24203 * sysdeps/ieee754/k_standard.c: Likewise.
24204 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
24205 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24206 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
24207 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
24208 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
24209 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
24210 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24211 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
24212 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
24213 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
24214 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
24215 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
24216 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
24217 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
24218 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
24219 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
24220 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
24221 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24222 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24223 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
24224 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24225 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24226 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
24227 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
24228 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24229 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
24230 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
24231 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
24232 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24233 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
24234 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
24235 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
24236 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
24237 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
24238 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
24239 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
24240 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
24241 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
24242 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
24243 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
24244 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
24245 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
24246 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
24247 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
24248 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
24249 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
24250 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
24251 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24252 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
24253 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
24254 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
24255 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24256 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24257 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
24258 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
24259 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
24260 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
24261 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
24262 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
24263 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
24264 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
24265 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
24266 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
24267 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24268 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
24269 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
24270 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
24271 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
24272 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
24273 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
24274 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
24275 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
24276 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
24277 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
24278 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
24279 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
24280 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
24281 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
24282 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
24283 * sysdeps/ieee754/s_matherr.c: Likewise.
24284 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
24285 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
24286 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24287 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24288
965a54a4
JM
242892012-01-26 Joseph Myers <joseph@codesourcery.com>
24290
24291 * crypt/md5.h: Remove __STDC__ conditionals.
24292 * libio/libioP.h: Likewise.
24293 * locale/programs/config.h: Likewise.
24294 * sysdeps/generic/sysdep.h: Likewise.
24295 * sysdeps/i386/asm-syntax.h: Likewise.
24296 * sysdeps/s390/asm-syntax.h: Likewise.
24297 * sysdeps/unix/sysdep.h: Likewise.
24298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
24299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24300
7071ad79
JM
243012012-01-26 Joseph Myers <joseph@codesourcery.com>
24302
24303 * libio/libio.h: Remove __STDC__ conditionals.
24304 * malloc/obstack.h: Likewise.
24305 * math/complex.h: Likewise.
24306 * math/math.h: Likewise.
24307 * sysdeps/generic/_G_config.h: Likewise.
24308 * sysdeps/gnu/_G_config.h: Likewise.
24309 * sysdeps/mach/hurd/_G_config.h: Likewise.
24310 * sysdeps/powerpc/bits/mathdef.h: Likewise.
24311 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
24312 * sysdeps/sparc/bits/mathdef.h: Likewise.
24313
afc5ed09
UD
243142012-01-26 Ulrich Drepper <drepper@gmail.com>
24315
24316 [BZ #13583]
24317 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 24318 Clean up HAS_* macros.
afc5ed09 24319 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
24320 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
24321 possible.
24322 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
24323 HAS_AVX.
24324 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24325 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24326 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24327 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24328 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 24329
bdb6de1d
JM
243302012-01-25 Joseph Myers <joseph@codesourcery.com>
24331
24332 * elf/tst-unique3.cc (gets): Remove declaration.
24333 * elf/tst-unique3lib.cc (gets): Likewise.
24334 * elf/tst-unique3lib2.cc (gets): Likewise.
24335 * elf/tst-unique4.cc (gets): Likewise.
24336
b15549e6
UD
243372012-01-24 Ulrich Drepper <drepper@gmail.com>
24338
24339 * include/stdio.h: Add C++ protection. Add gets declarations and
24340 definitions.
24341 * debug/tst-chk1.c: Don't declare gets here.
24342 * stdio-common/tst-gets.c: Likewise.
24343
a037381f
JM
243442012-01-24 Joseph Myers <joseph@codesourcery.com>
24345
24346 * posix/glob: Remove directory.
24347
f1d4aa75
JM
243482012-01-24 Joseph Myers <joseph@codesourcery.com>
24349
24350 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
24351
81c0c964
PT
243522012-01-22 Pino Toscano <toscano.pino@tiscali.it>
24353
24354 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
24355 of the non-standard EPFNOSUPPORT.
24356
0ea698ae
ST
243572011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
24358
24359 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
24360 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
24361 ANYWHERE set to 1 only on KERN_NO_SPACE error.
24362
d220b117
UD
243632012-01-21 Ulrich Drepper <drepper@gmail.com>
24364
24365 * wcsmbs/uchar.h: Test __STDC_VERSION__.
24366
3e1aa84e
UD
243672012-01-20 Ulrich Drepper <drepper@gmail.com>
24368
24369 * nscd/aicache.c (addhstaiX): Do not cache negative results of
24370 transient errors.
24371 * nscd/grpcache.c (cache_addgr): Likewise.
24372 * nscd/hstcache.c (cache_addhst): Likewise.
24373 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24374 * nscd/pwdcache.c (cache_addpw): Likewise.
24375 * nscd/servicescache.c (cache_addserv): Likewise.
24376
400aa020
UD
243772012-01-16 Ulrich Drepper <drepper@gmail.com>
24378
d77e7869
UD
24379 * malloc/malloc.c: Various cleanups.
24380 * malloc/hooks.c: Likewise.
24381
400aa020
UD
24382 * stdlib/Makefile (tests): Add bug-fmtmsg1.
24383 * stdlib/bug-fmtmsg1.c: New file.
24384
24385 * stdlib/fmtmsg.c (init): Add missing unlock.
24386 Patch by Peng Haitao <penght@cn.fujitsu.com>.
24387
e0a309cf
MP
243882012-01-12 Marek Polacek <polacek@redhat.com>
24389
24390 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
24391 and _GNU_SOURCE.
24392
929d11c7
WS
243932012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
24394
24395 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
24396 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
24397 macro to ensure uniqueness of label name.
24398 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
24399 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
24400
41d0e869
UD
244012012-01-11 Ulrich Drepper <drepper@gmail.com>
24402
0cc5ed3b
UD
24403 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
24404
41d0e869
UD
24405 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
24406 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
24407 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
24408 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
24409
a47a831a
UD
244102012-01-10 Ulrich Drepper <drepper@gmail.com>
24411
daa891c0
UD
24412 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
24413
24414 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
24415 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
24416 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
24417
e58ef0f2
UD
24418 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
24419
a47a831a 24420 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
24421 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
24422 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 24423 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
24424
24425 * math/bits/math-finite.h: Add ldexp support.
24426
a0bfc9c7
MP
244272012-01-10 Marek Polacek <polacek@redhat.com>
24428
24429 * locale/programs/localedef.h (show_archive_content): Add noreturn
24430 attribute.
24431
d6e97a1d
UD
244322012-01-09 Ulrich Drepper <drepper@gmail.com>
24433
24434 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
24435
d5835c26
UD
244362012-01-08 Ulrich Drepper <drepper@gmail.com>
24437
e5f484c6
UD
24438 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
24439
d5835c26
UD
24440 * io/Makefile (headers): Add bits/poll2.h.
24441
d1f741e9
WS
244422011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
24443
24444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
24445 typo #include statement.
24446
ec09c1c4
UD
244472012-01-08 Ulrich Drepper <drepper@gmail.com>
24448
24449 * include/sys/cdefs.h: Define __attribute_alloc_size.
24450 * catgets/gencat.c: Add alloc_size attribute and apply consistently
24451 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
24452 * elf/pldd.c: Likewise.
24453 * iconv/iconv_charmap.c: Likewise.
24454 * iconv/iconvconfig.c: Likewise.
24455 * iconv/strtab.c: Likewise.
24456 * locale/programs/locale.c: Likewise.
24457 * locale/programs/localedef.h: Likewise.
24458 * locale/programs/simple-hash.c: Likewise.
24459 * nscd/nscd.h: Likewise.
24460 * nss/makedb.c: Likewise.
24461 * sysdeps/generic/ldconfig.h: Likewise.
24462 * locale/programs/localedef.c: Remove xmalloc prototype.
24463 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
24464
20b38e03
PP
244652012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
24466
24467 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
24468 appropriate.
24469
a0da5fe1
UD
244702012-01-08 Ulrich Drepper <drepper@gmail.com>
24471
1d5a644a 24472 * math/Makefile (tests): Add tst-CMPLX.
669704fd 24473 * math/tst-CMPLX.c: New file.
1d5a644a 24474
8784a6db
UD
24475 * math/complex.h (CMPLXL): Fix typo.
24476
d9a216c0
UD
24477 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
24478 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
24479 GLIBC_2.16.
24480 * debug/tst-chk1.c: Add poll and ppoll tests.
24481 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
24482 * include/sys/poll.h: Add hidden proto for ppoll.
24483 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
24484 * sysdeps/mach/hurd/ppoll.c: Likewise.
24485 * io/ppoll.c: Likewise.
24486 * debug/poll_chk.c: New file.
24487 * debug/ppoll_chk.c: New file.
24488 * include/bits/poll2.h: New file.
24489 * io/bits/poll2.h: New file.
24490
ac097f5c
UD
24491 [BZ #1350]
24492 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
24493
2119dcfa
UD
24494 * configure.in: static is always set to yes. Remove.
24495 * config.make.in: Don't set build-static.
24496 * Makeconfig: Remove use of build-static.
24497 * dlfcn/Makefile: Likewise.
24498 * elf/Makefile: Likewise.
24499 * math/Makefile: Likewise.
24500 * misc/Makefile: Likewise.
24501 * nptl/Makefile: Likewise.
24502 * sysdeps/mach/hurd/Makefile: Likewise.
24503
121766a9
UD
24504 * configure.in: PWD_P is not used anymore.
24505 * config.make.in: Remove PWD_P entry.
24506
51a1d39c 24507 * configure.in: Remove last remnants of RANLIB.
8720d066 24508 No need to check for signed size_t anymore.
215f4bdc
UD
24509 Don't set libc_commonpagesize and libc_relro_required here for Alpha
24510 and IA-64.
3857022a 24511 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
24512 * aclocal.m4: Likewise.
24513
d3ed7225
UD
24514 * wcsmbs/mbrtoc16.c: Implement using towc function.
24515 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
24516 * wcsmbs/wcsmbsload.c: Likewise.
24517 * iconv/gconv_simple.c: Likewise.
24518 * iconv/gconv_int.h: Likewise.
24519 * iconv/gconv_builtin.h: Likewise.
24520 * iconv/iconv_prog.c: Remove CHAR16 handling.
24521
24522 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
24523
24524 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
24525
a0da5fe1
UD
24526 * configure.in: Remove --with-elf and --enable-bounded options.
24527 Dont set base_machine for ia64. More non-ELF conditions removed.
24528 Remove testing and setting of leading underscore information.
24529 * config.make.in (build-bounded): Set to no.
24530 * config.h.in: Remove NO_UNDERSCORES entry.
24531 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
24532 them.
24533 * csu/start.c: Remove !NO_UNDERSCORE code.
24534 * locale/localeinfo.h: Likewise.
24535 * sysdeps/generic/machine-gmon.h: Likewise.
24536 * sysdeps/generic/sysdep.h: Likewise.
24537 * sysdeps/i386/sysdep.h: Likewise.
24538 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
24539 * sysdeps/mach/sysdep.h: Likewise.
24540 * sysdeps/s390/s390-32/sysdep.h: Likewise.
24541 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24542 * sysdeps/sh/sysdep.h: Likewise.
24543 * sysdeps/sparc/sparc32/alloca.S: Likewise.
24544 * sysdeps/unix/i386/sysdep.S: Likewise.
24545 * sysdeps/unix/sparc/start.c: Likewise.
24546 * sysdeps/unix/sparc/sysdep.S: Likewise.
24547 * sysdeps/unix/sparc/sysdep.h: Likewise.
24548 * sysdeps/unix/start.c: Likewise.
24549 * sysdeps/unix/x86_64/sysdep.S: Likewise.
24550 * sysdeps/x86_64/sysdep.h: Likewise.
24551
df78418a
UD
245522012-01-07 Ulrich Drepper <drepper@gmail.com>
24553
a784e502
UD
24554 [BZ #13553]
24555 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
24556 for non-gcc.
24557 * argp/argp-fmtstream.h: Use const instead __const.
24558 * argp/argp.h: Likewise.
24559 * assert/assert.h: Likewise.
24560 * bits/fenv.h: Likewise.
24561 * bits/sched.h: Likewise.
24562 * bits/sigset.h: Likewise.
24563 * bits/sigthread.h: Likewise.
24564 * catgets/nl_types.h: Likewise.
24565 * conform/data/pthread.h-data: Likewise.
24566 * crypt/crypt-private.h: Likewise.
24567 * crypt/crypt.h: Likewise.
24568 * crypt/crypt_util.c: Likewise.
24569 * ctype/ctype.h: Likewise.
24570 * debug/execinfo.h: Likewise.
24571 * debug/mbsnrtowcs_chk.c: Likewise.
24572 * debug/mbsrtowcs_chk.c: Likewise.
24573 * debug/wcsnrtombs_chk.c: Likewise.
24574 * debug/wcsrtombs_chk.c: Likewise.
24575 * debug/wcstombs_chk.c: Likewise.
24576 * dirent/dirent.h: Likewise.
24577 * dlfcn/dlfcn.h: Likewise.
24578 * elf/neededtest4.c: Likewise.
24579 * grp/grp.h: Likewise.
24580 * gshadow/gshadow.h: Likewise.
24581 * iconv/gconv.h: Likewise.
24582 * iconv/gconv_int.h: Likewise.
24583 * iconv/gconv_simple.c: Likewise.
24584 * iconv/iconv.h: Likewise.
24585 * iconv/loop.c: Likewise.
24586 * iconv/skeleton.c: Likewise.
24587 * include/aio.h: Likewise.
24588 * include/aliases.h: Likewise.
24589 * include/argz.h: Likewise.
24590 * include/arpa/inet.h: Likewise.
24591 * include/assert.h: Likewise.
24592 * include/dirent.h: Likewise.
24593 * include/dlfcn.h: Likewise.
24594 * include/execinfo.h: Likewise.
24595 * include/fcntl.h: Likewise.
24596 * include/fenv.h: Likewise.
24597 * include/glob.h: Likewise.
24598 * include/grp.h: Likewise.
24599 * include/libintl.h: Likewise.
24600 * include/mntent.h: Likewise.
24601 * include/netdb.h: Likewise.
24602 * include/pwd.h: Likewise.
24603 * include/rpc/netdb.h: Likewise.
24604 * include/sched.h: Likewise.
24605 * include/search.h: Likewise.
24606 * include/shadow.h: Likewise.
24607 * include/signal.h: Likewise.
24608 * include/stdio.h: Likewise.
24609 * include/stdlib.h: Likewise.
24610 * include/string.h: Likewise.
24611 * include/sys/socket.h: Likewise.
24612 * include/sys/stat.h: Likewise.
24613 * include/sys/statfs.h: Likewise.
24614 * include/sys/statvfs.h: Likewise.
24615 * include/sys/syslog.h: Likewise.
24616 * include/sys/time.h: Likewise.
24617 * include/sys/uio.h: Likewise.
24618 * include/time.h: Likewise.
24619 * include/unistd.h: Likewise.
24620 * include/utmp.h: Likewise.
24621 * include/wchar.h: Likewise.
24622 * include/wctype.h: Likewise.
24623 * inet/aliases.h: Likewise.
24624 * inet/arpa/inet.h: Likewise.
24625 * inet/netinet/ether.h: Likewise.
24626 * inet/netinet/in.h: Likewise.
24627 * intl/libintl.h: Likewise.
24628 * io/bits/fcntl2.h: Likewise.
24629 * io/fcntl.h: Likewise.
24630 * io/ftw.h: Likewise.
24631 * io/sys/poll.h: Likewise.
24632 * io/sys/stat.h: Likewise.
24633 * io/sys/statfs.h: Likewise.
24634 * io/sys/statvfs.h: Likewise.
24635 * io/utime.h: Likewise.
24636 * libio/bits/stdio.h: Likewise.
24637 * libio/bits/stdio2.h: Likewise.
24638 * libio/libio.h: Likewise.
24639 * libio/libioP.h: Likewise.
24640 * libio/stdio.h: Likewise.
24641 * locale/lc-ctype.c: Likewise.
24642 * locale/locale.h: Likewise.
24643 * login/utmp.h: Likewise.
24644 * malloc/arena.c: Likewise.
24645 * malloc/malloc.c: Likewise.
24646 * malloc/malloc.h: Likewise.
24647 * malloc/mcheck.c: Likewise.
24648 * malloc/mtrace.c: Likewise.
24649 * math/bits/mathcalls.h: Likewise.
24650 * math/fenv.h: Likewise.
24651 * math/math_private.h: Likewise.
24652 * misc/bits/error.h: Likewise.
24653 * misc/bits/syslog.h: Likewise.
24654 * misc/err.h: Likewise.
24655 * misc/error.h: Likewise.
24656 * misc/fstab.h: Likewise.
24657 * misc/mntent.h: Likewise.
24658 * misc/regexp.h: Likewise.
24659 * misc/search.h: Likewise.
24660 * misc/sgtty.h: Likewise.
24661 * misc/sys/mman.h: Likewise.
24662 * misc/sys/syslog.h: Likewise.
24663 * misc/sys/uio.h: Likewise.
24664 * misc/sys/xattr.h: Likewise.
24665 * misc/ttyent.h: Likewise.
24666 * nis/rpcsvc/ypclnt.h: Likewise.
24667 * nss/nss.h: Likewise.
24668 * posix/bits/unistd.h: Likewise.
24669 * posix/fnmatch.h: Likewise.
24670 * posix/glob.h: Likewise.
24671 * posix/sched.h: Likewise.
24672 * posix/spawn.h: Likewise.
24673 * posix/sys/wait.h: Likewise.
24674 * posix/unistd.h: Likewise.
24675 * posix/wordexp.h: Likewise.
24676 * pwd/pwd.h: Likewise.
24677 * resolv/netdb.h: Likewise.
24678 * resource/sys/resource.h: Likewise.
24679 * rt/aio.h: Likewise.
24680 * rt/bits/mqueue2.h: Likewise.
24681 * rt/mqueue.h: Likewise.
24682 * shadow/shadow.h: Likewise.
24683 * signal/signal.h: Likewise.
24684 * socket/send.c: Likewise.
24685 * socket/sendto.c: Likewise.
24686 * socket/sys/socket.h: Likewise.
24687 * stdio-common/printf.h: Likewise.
24688 * stdlib/bits/stdlib.h: Likewise.
24689 * stdlib/fmtmsg.h: Likewise.
24690 * stdlib/monetary.h: Likewise.
24691 * stdlib/stdlib.h: Likewise.
24692 * stdlib/ucontext.h: Likewise.
24693 * streams/stropts.h: Likewise.
24694 * string/argz.h: Likewise.
24695 * string/bits/string2.h: Likewise.
24696 * string/string.h: Likewise.
24697 * string/strings.h: Likewise.
24698 * sunrpc/rpc/auth.h: Likewise.
24699 * sunrpc/rpc/auth_des.h: Likewise.
24700 * sunrpc/rpc/clnt.h: Likewise.
24701 * sunrpc/rpc/netdb.h: Likewise.
24702 * sunrpc/rpc/pmap_clnt.h: Likewise.
24703 * sunrpc/rpc/xdr.h: Likewise.
24704 * sysdeps/generic/inttypes.h: Likewise.
24705 * sysdeps/generic/net/if.h: Likewise.
24706 * sysdeps/generic/sys/swap.h: Likewise.
24707 * sysdeps/gnu/net/if.h: Likewise.
24708 * sysdeps/gnu/utmpx.h: Likewise.
24709 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
24710 * sysdeps/i386/i486/bits/string.h: Likewise.
24711 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
24712 * sysdeps/s390/bits/string.h: Likewise.
24713 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
24714 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
24715 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
24716 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
24717 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
24718 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
24719 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
24720 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
24721 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
24722 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
24723 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
24724 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
24725 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
24726 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
24727 * sysdeps/unix/sysv/linux/readv.c: Likewise.
24728 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
24729 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
24730 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24731 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
24732 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
24733 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
24734 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
24735 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
24736 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
24737 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
24738 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
24739 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
24740 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
24741 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
24742 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
24743 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
24744 * sysvipc/sys/ipc.h: Likewise.
24745 * sysvipc/sys/msg.h: Likewise.
24746 * sysvipc/sys/sem.h: Likewise.
24747 * sysvipc/sys/shm.h: Likewise.
24748 * termios/termios.h: Likewise.
24749 * time/sys/time.h: Likewise.
24750 * time/time.h: Likewise.
24751 * wcsmbs/bits/wchar2.h: Likewise.
24752 * wcsmbs/uchar.h: Likewise.
24753 * wcsmbs/wchar.h: Likewise.
24754 * wctype/wctype.h: Likewise.
24755
0269750c
UD
24756 [BZ #13551]
24757 * Makeconfig: Remove all but ELF support including AIX support.
24758 * Makerules: Likewise.
24759 * config.h.in: Likewise.
24760 * config.make.in: Likewise.
24761 * configure: Likewise.
24762 * configure.in: Likewise.
24763 * csu/Makefile: Likewise.
24764 * csu/version.c: Likewise.
24765 * debug/Makefile: Likewise.
24766 * dlfcn/Makefile: Likewise.
24767 * elf/Makefile: Likewise.
24768 * extra-lib.mk: Likewise.
24769 * iconv/Makefile: Likewise.
24770 * include/libc-symbols.h: Likewise.
24771 * include/shlib-compat.h: Likewise.
24772 * resolv/Makefile: Likewise.
24773 * resolv/res_libc.c: Likewise.
24774 * rt/Makefile: Likewise.
24775 * sysdeps/i386/asm-syntax.h: Likewise.
24776 * sysdeps/i386/sysdep.h: Likewise.
24777 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
24778 * sysdeps/mach/sysdep.h: Likewise.
24779 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
24780 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
24781 * sysdeps/s390/asm-syntax.h: Likewise.
24782 * sysdeps/s390/s390-32/sysdep.h: Likewise.
24783 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24784 * sysdeps/sh/sysdep.h: Likewise.
24785 * sysdeps/unix/sparc/sysdep.h: Likewise.
24786 * sysdeps/wordsize-32/divdi3.c: Likewise.
24787 * sysdeps/x86_64/sysdep.h: Likewise.
24788
00bbd29b
UD
24789 * argp/Versions: Remove _argp_unlock_xxx.
24790
24791 [BZ #13559]
24792 * abilist/ld.abilist: Update. Adjust for removal of tls option.
24793 * abilist/libBrokenLocale.abilist: Likewise.
24794 * abilist/libanl.abilist: Likewise.
24795 * abilist/libc.abilist: Likewise.
24796 * abilist/libcrypt.abilist: Likewise.
24797 * abilist/libdl.abilist: Likewise.
24798 * abilist/libm.abilist: Likewise.
24799 * abilist/libnsl.abilist: Likewise.
24800 * abilist/libpthread.abilist: Likewise.
24801 * abilist/libresolv.abilist: Likewise.
24802 * abilist/librt.abilist: Likewise.
24803 * abilist/libthread_db.abilist: Likewise.
24804 * abilist/libutil.abilist: Likewise.
24805 * abilist/libnss_db.abilist: New file.
24806
24807 * scripts/abilist.awk: Add support for indirect functions.
24808
a2693a0e
UD
24809 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
24810
3f05895f
UD
24811 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
24812
ecb6fb48
UD
24813 * shlib-versions: Remove entries for ports architectures.
24814
664f8cb9
UD
24815 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
24816 files in ports.
24817 * elf/stackguard-macros.h: Remove support for IA-64.
24818 * elf/tst-auditmod1.c: Likewise.
24819 * sysdeps/generic/ldsodefs.h: Likewise.
24820
7ae81d88
UD
24821 * sysdeps/unix/sysv/linux/configure.in: Ports should define
24822 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
24823 configure files.
24824
bdeba135
UD
24825 [BZ #13552]
24826 * configure.in: Remove --enable-omitfp support.
24827 * FAQ.in: Adjust.
24828 * config.make.in: Likewise.
24829 * Makeconfig: Likewise.
24830 * manual/install.texi: Likewise.
24831
d75a0a62
UD
24832 In case anyone cares, the IA-64 architecture could move to ports.
24833 * sysdeps/ia64/*: Removed.
24834 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 24835 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 24836
dcc9756b
UD
24837 [BZ #13555]
24838 * configure.in: Remove entries for unsupported architectures.
24839
d3761ebc 24840 [BZ #13533]
9954432e
UD
24841 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
24842 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
24843 routines.
24844 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
24845 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
24846 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
24847 fall back to using wcrtomb.
24848 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
24849 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
24850 renaming.
24851 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
24852 * wcsmbs/tst-c16c32-1.c: New file.
24853
24854 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
24855 local variable.
24856
c3a87236
UD
24857 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
24858
28926a1b
UD
24859 * elf/tst-unique3.cc: Add explicit declaration of gets.
24860 * elf/tst-unique3lib.cc: Likewise.
24861 * elf/tst-unique3lib2.cc: Likewise.
24862 * elf/tst-unique4.cc: Likewise.
24863
df78418a
UD
24864 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
24865
8ecd6b2a
JM
248662012-01-06 Joseph Myers <joseph@codesourcery.com>
24867
24868 [BZ #13566]
24869 * assert/assert.h (static_assert): Don't define for C++.
24870 * libio/stdio.h (gets): Do declare for C++ <= C++11.
24871 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
24872
9f115170
UD
248732012-01-03 Ulrich Drepper <drepper@gmail.com>
24874
5e0d0300
UD
24875 * iconv/loop.c (single loop): Fix assertion in storing of
24876 remaining bytes.
24877
9f115170
UD
24878 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
24879
81fb02b0
UD
248802012-01-01 Ulrich Drepper <drepper@gmail.com>
24881
24882 * posix/getconf.c: Update copyright year.
24883 * nss/getent.c: Likewise.
a316c1f6 24884 * nss/makedb.c: Likewise.
81fb02b0
UD
24885 * iconv/iconvconfig.c: Likewise.
24886 * iconv/iconv_prog.c: Likewise.
24887 * elf/ldconfig.c: Likewise.
a316c1f6
UD
24888 * elf/pldd.c: Likewise.
24889 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
24890 * catgets/gencat.c: Likewise.
24891 * csu/version.c: Likewise.
24892 * elf/ldd.bash.in: Likewise.
24893 * elf/sprof.c (print_version): Likewise.
24894 * locale/programs/locale.c: Likewise.
24895 * locale/programs/localedef.c: Likewise.
a316c1f6 24896 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
24897 * nscd/nscd.c (print_version): Likewise.
24898 * debug/xtrace.sh: Likewise.
24899 * malloc/memusage.sh: Likewise.
24900 * malloc/mtrace.pl: Likewise.
24901 * debug/catchsegv.sh: Likewise.
24902
2ba92745
JJ
249032011-12-30 Jakub Jelinek <jakub@redhat.com>
24904
24905 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
24906 pure attribute.
24907
dadebdae
UD
249082011-12-24 Ulrich Drepper <drepper@gmail.com>
24909
d3761ebc 24910 [BZ #13533]
db6af3eb
UD
24911 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
24912 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
24913 transformations.
24914 * iconv/gconv_int.h: Likewise.
24915 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
24916 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
24917 from libc for GLIBC_2.16.
24918 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
24919 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
24920 * wcsmbs/uchar.h: Really define mbstate_t.
24921 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
24922 * wcsmbs/c16rtomb.c: New file.
24923 * wcsmbs/mbrtoc16.c: New file.
24924 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
24925 for C/POSIX locale.
24926 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
24927 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
24928
dadebdae
UD
24929 * wcsmbs/wchar.h: Add missing __restrict.
24930
67371b56
UD
249312011-12-23 Ulrich Drepper <drepper@gmail.com>
24932
74033a25
UD
24933 [BZ #13532]
24934 * time/Makefile (routines): Add timespec_get.
24935 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
24936 * time/time.h: Define TIME_UTC and declare timespec_get. Define
24937 timespec for ISO C11.
24938 * time/timespec_get.c: New file.
24939 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
24940 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
24941
380d7e87
UD
24942 [BZ #13531]
24943 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
24944 * stdlib/stdlib.h: Declare aligned_alloc.
24945 * Versions.def: Add GLIBC_2.16 for libc.
24946 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
24947
4e9e7a35
UD
24948 [BZ 13527]
24949 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
24950 ISO C11.
24951
380d7e87 24952 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
24953 code.
24954
03a71829
UD
24955 [BZ #13528]
24956 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
24957
839e283e
UD
24958 [BZ #13529]
24959 * assert/assert.h (static_assert): Define.
24960
ce5294e2 24961 * version.h: Update for 2.16 development version.
90fa7312 24962
8d44e150 24963 [BZ #13526]
d7809905
UD
24964 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
24965 _ISOC11_SOURCE.
24966
c0da14cd
UD
24967 * version.h (RELEASE): Bump for 2.15 release.
24968 * include/features.h (__GLIBC_MINOR__): Bump to 15.
24969
530a3249
MP
24970 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
24971 Patch by Marek Polacek <mpolacek@redhat.com>.
24972
67371b56
UD
24973 * bits/byteswap.h: Protect long long constants with __extension__.
24974 * sysdeps/i386/bits/byteswap.h: Likewise.
24975 * sysdeps/ia64/bits/byteswap.h: Likewise.
24976 * sysdeps/s390/bits/byteswap.h: Likewise.
24977 * sysdeps/x86_64/bits/byteswap.h: Likewise.
24978
15db4de1
LD
249792011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24980
24981 [BZ #13540]
bbe315ea
LD
24982 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
24983 destination buffer.
15db4de1
LD
24984 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
24985
2b2596b1
MP
249862011-12-23 Marek Polacek <polacek@redhat.com>
24987
24988 * elf/dl-addr.c (determine_info): Add inline keyword.
24989 * elf/tst-auditmod4b.c (check_avx): Likewise.
24990 * elf/tst-auditmod6b.c (check_avx): Likewise.
24991 * elf/tst-auditmod6c.c (check_avx): Likewise.
24992 * elf/tst-auditmod7b.c (check_avx): Likewise.
24993
70c6c246
UD
249942011-12-23 Ulrich Drepper <drepper@gmail.com>
24995
24996 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
24997 !__SSE_MATH__.
24998
c044cf14
LD
249992011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25000
15db4de1 25001 [BZ #13540]
c044cf14
LD
25002 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
25003 processing for last bytes.
25004
6b13d9d9
BH
250052011-08-06 Bruno Haible <bruno@clisp.org>
25006
d455f537
BH
25007 [BZ #13061]
25008 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
25009 U+0385, not to U+1FEE.
25010
6b13d9d9
BH
25011 [BZ #13062]
25012 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
25013 entry for U+00A5 U+0301.
25014
db910efd
UD
250152011-12-22 Ulrich Drepper <drepper@gmail.com>
25016
27deeafc
UD
25017 [BZ #13166]
25018 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
25019 buffer for the output is too small.
25020
aed9d171
UD
25021 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
25022 optimization.
25023
db910efd
UD
25024 [BZ #13185]
25025 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
25026 SSE flags if possible.
25027
2bd779ae
LD
250282011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25029
e7f9dac3 25030 [BZ #13540]
2bd779ae
LD
25031 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
25032 processing for last bytes.
25033
154bfc16
JM
250342011-12-22 Joseph Myers <joseph@codesourcery.com>
25035
25036 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
25037 (syscall-list-default-options, syscall-list-default-condition)
25038 (syscall-list-includes): Define.
25039 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
25040 list of ABIs and options and #if conditions for each ABI. Do not
25041 handle common syscalls between ABIs specially.
25042 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
25043 Remove.
25044 (syscall-list-variants, syscall-list-32bit-options)
25045 (syscall-list-32bit-condition, syscall-list-64bit-options)
25046 (syscall-list-64bit-condition): Define.
25047 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
25048 (syscall-list-variants, syscall-list-32bit-options)
25049 (syscall-list-32bit-condition, syscall-list-64bit-options)
25050 (syscall-list-64bit-condition): Define.
25051 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
25052 Remove.
25053 (syscall-list-variants, syscall-list-32bit-options)
25054 (syscall-list-32bit-condition, syscall-list-64bit-options)
25055 (syscall-list-64bit-condition): Define.
25056 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
25057 Remove.
25058 (syscall-list-variants, syscall-list-32bit-options)
25059 (syscall-list-32bit-condition, syscall-list-64bit-options)
25060 (syscall-list-64bit-condition): Define.
25061
21eaf3a5
UD
250622011-12-22 Ulrich Drepper <drepper@gmail.com>
25063
16c6f992
UD
25064 * locale/iso-639.def: Add brx entry.
25065
41043168
UD
25066 [BZ #13328]
25067 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
25068 Proposed by Mariusz_Cukr <marcukr@op.pl>.
25069
21eaf3a5
UD
25070 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
25071 __feraiseexcept_renamed.
25072
e3a851a2
UD
250732011-12-21 Ulrich Drepper <drepper@gmail.com>
25074
4920765e
UD
25075 [BZ #13538]
25076 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
25077 EPOLLET with unsigned values.
25078 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25079 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
25080
e3a851a2
UD
25081 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
25082 to large cancellation.
25083 * math/s_cacoshf.c: Likewise.
25084 * math/s_cacoshl.c: Likewise.
25085
b27e24b8
RK
250862011-11-18 Richard B. Kreckel <kreckel@ginac.de>
25087
25088 [BZ #13305]
aebefeee 25089 [BZ #12786]
b27e24b8
RK
25090 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
25091 * math/s_cacoshf.c: Likewise.
25092 * math/s_cacoshl.c: Likewise.
25093
ee190f67
UD
250942011-12-21 Ulrich Drepper <drepper@gmail.com>
25095
25096 [BZ #13439]
25097 * iconv/gconv.h: Define __GCONV_SWAP.
25098 * iconvdata/unicode.c: The swap bit must be stored in __flags.
25099 * iconvdata/utf-16.c: Likewise.
25100 * iconvdata/utf-32.c: Likewise.
25101
707f25df
AS
251022011-12-21 Andreas Schwab <schwab@linux-m68k.org>
25103
25104 [BZ #13524]
25105 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
25106 numerator after shifting it by one limb.
25107
d2daaa1e
RÁE
251082011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
25109
25110 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
25111 under [__USE_EXTERN_INLINES].
25112
a4647e72
UD
251132011-12-17 Ulrich Drepper <drepper@gmail.com>
25114
25115 [BZ #13446]
25116 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
25117
f0b264f1
AZ
251182011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25119
25120 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
25121 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
25122 optimized code.
25123 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
25124 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
25125 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
25126 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
25127 for strncasecmp/strncasecmp_l compilation.
25128 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
25129 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
25130
8ef4f244
MP
251312011-12-08 Marek Polacek <mpolacek@redhat.com>
25132
25133 [BZ #13484]
25134 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
25135 of __asm__.
25136
97ac2654
UD
251372011-12-17 Ulrich Drepper <drepper@gmail.com>
25138
25139 [BZ #13506]
25140 * time/tzfile.c (__tzfile_read): Check values from file header.
25141
91d2a845
WS
251422011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
25143
25144 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
25145 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
25146 * powerpc/powerpc32/dl-start.S: Likewise.
25147 * powerpc/powerpc32/elf/start.S: Likewise.
25148 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
25149 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
25150 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
25151 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
25152 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
25153 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
25154 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
25155 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
25156 * powerpc/powerpc32/fpu/s_round.S: Likewise.
25157 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
25158 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
25159 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
25160 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
25161 * powerpc/powerpc32/memset.S: Likewise.
25162 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
25163 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25164 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25165 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25166 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25167 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
25168 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
25169 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
25170 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
25171 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
25172 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
25173 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
25174 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
25175
a1267ba1
AZ
251762011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25177
25178 * math/libm-test.inc: Added more nearbyint tests.
25179 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
25180 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
25181 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
25182 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
25183
ad8ac1bd
RL
251842011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
25185
25186 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
25187 FD_CLOEXEC.
25188
1d3e4b61
UD
251892011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25190
25191 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
25192 Add wcscpy-ssse3 wcscpy-c.
25193 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
25194 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
25195 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
25196 * sysdeps/x86_64/wcschr.S: New file.
25197 * sysdeps/x86_64/wcsrchr.S: New file.
25198 * string/test-strcmp.c: Remove checking of wcscmp function for
25199 wrong alignments.
25200 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
25201 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
25202 wcsrchr-sse2 wcsrchr-c.
25203 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
25204 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
25205 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
25206 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
25207 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
25208 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
25209 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
25210 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
25211 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
25212 * wcsmbc/wcschr.c (WCSCHR): New macro.
25213
5b330a2d
UD
252142011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25215
25216 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
25217 * wcsmbs/test-wcsrchr.c: New file.
25218 * string/test-strrchr.c: Add wcsrchr support.
25219 (WIDE): New macro.
25220 * wcsmbs/test-wcscpy.c: New file.
25221 * string/test-strcpy.c: Add wcscpy support.
25222 (WIDE): New macro.
26428b7c 25223
f039c043
UD
252242011-12-10 Ulrich Drepper <drepper@gmail.com>
25225
25226 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
25227 the inner loop.
25228
850fb039
AS
252292011-12-06 Andreas Schwab <schwab@linux-m68k.org>
25230
25231 [BZ #13472]
25232 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
25233
4efbd5cb
UD
252342011-12-04 Ulrich Drepper <drepper@gmail.com>
25235
52ff5dd0 25236 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 25237 Minor optimizations.
52ff5dd0 25238
4efbd5cb
UD
25239 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
25240 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
25241 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
25242
8a426e12
UD
252432011-12-03 Ulrich Drepper <drepper@gmail.com>
25244
aff2453d
UD
25245 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
25246 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
25247 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
25248 for gcc to avoid warnings.
25249 * inet/Makefile (tests): Add tst-checks.
25250 * inet/tst-checks.c: New file.
25251
25252 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
25253 warning.
25254
25255 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
25256 __wmemcmp_sse2.
25257
25258 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
25259 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
25260
8a426e12
UD
25261 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
25262
9bea3473
UD
252632011-12-02 Ulrich Drepper <drepper@gmail.com>
25264
3a965496
UD
25265 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
25266 problem.
25267
9bea3473
UD
25268 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
25269
f101631b
UD
252702011-11-29 Joseph Myers <joseph@codesourcery.com>
25271
25272 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
25273 conditional on GCC version.
25274 (__arch_compare_and_exchange_val_8_acq)
25275 (__arch_compare_and_exchange_val_16_acq)
25276 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
25277 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
25278 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
25279
a98275aa
UD
252802011-12-02 Joseph Myers <joseph@codesourcery.com>
25281
25282 * sysdeps/sh/backtrace.c: New file.
25283
d4cc29a2
AS
252842011-12-02 Andreas Schwab <schwab@redhat.com>
25285
25286 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
25287 parenthesis.
25288
6257af2d
AS
252892011-12-01 Andreas Schwab <schwab@redhat.com>
25290
25291 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
25292 falling back to utime.
25293
b5f44c1a
AS
252942011-11-30 Andreas Schwab <schwab@redhat.com>
25295
25296 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
25297 expectations for float.
25298
f3a6cc0a
AS
252992011-11-29 Andreas Schwab <schwab@redhat.com>
25300
25301 * locale/weight.h (findidx): Add parameter len.
25302 * locale/weightwc.h (findidx): Likewise.
25303 * posix/fnmatch_loop.c (FCT): Adjust caller.
25304 * posix/regcomp.c (build_equiv_class): Likewise.
25305 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
25306 * posix/regexec.c (check_node_accept_bytes): Likewise.
25307 * string/strcoll_l.c (STRCOLL): Likewise.
25308 * string/strxfrm_l.c (STRXFRM): Likewise.
25309
9d65ea3a
UD
253102011-11-17 Ulrich Drepper <drepper@gmail.com>
25311
25312 * Makefile.in: Remove CVSOPT handling.
25313 * configure.in: Remove use of AC_REVISION.
25314 * iconvdata/Makefile (distribute): No need to filter out CVS.
25315 * scripts/list-sources.sh: Remove CVS, subversion and monotone
25316 handling.
25317
5583a086
AS
253182011-11-16 Andreas Schwab <schwab@redhat.com>
25319
25320 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
25321 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
25322 [USE_AS_STRNCASECMP_L]: Likewise.
25323 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
25324 NO_TLS_DIRECT_SEG_REFS.
25325 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
25326 Fix argument offsets for non-PIC.
25327 [USE_AS_STRNCASECMP_L]: Likewise.
25328 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
25329 NO_TLS_DIRECT_SEG_REFS.
25330
d62a8200
UD
253312011-11-15 Ulrich Drepper <drepper@gmail.com>
25332
9d65ea3a 25333 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
25334 O_CLOEXEC.
25335 * locale/loadlocale.c (_nl_load_locale): Likewise.
25336
09f93bd3
AS
253372011-11-15 Andreas Schwab <schwab@redhat.com>
25338
446514f9
AS
25339 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
25340 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
25341 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
25342 (SYSCALL_GETTIME): Set errno on error.
25343
09f93bd3
AS
25344 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
25345 count references to noai6ai_cached.
25346
312be3f9
UD
253472011-11-15 Ulrich Drepper <drepper@gmail.com>
25348
25349 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
25350
25351 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
25352 FD_CLOEXEC for /proc/self/maps.
25353
25354 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
25355 FD_CLOEXEC for /proc/meminfo.
25356
25357 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
25358 gai.conf.
25359
25360 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
25361 FD_CLOEXEC for given file.
25362
25363 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
25364
25365 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
25366 FD_CLOEXEC for /etc/hosts.
25367 (_gethtent): Likewise.
25368
25369 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
25370
25371 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
25372 cancellation and set FD_CLOEXEC for /etc/netgroup.
25373
25374 * nss/nss_files/files-key.c (search): Don't allow cancellation when
25375 reading /etc/publickey.
25376
25377 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
25378 allow cancellation when reading /etc/group.
25379
25380 * nss/nss_files/files-alias.c (internal_setent): Don't allow
25381 cancellation.
25382 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
25383
25384 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
25385 when using data file.
25386
25387 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
25388
25389 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
25390 (write_nis_obj): Use "c" and "e" in fopen.
25391
25392 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
25393
25394 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
25395
25396 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
25397
25398 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
25399
25400 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
25401 locale.alias.
25402
25403 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
25404
25405 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
25406
25407 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
25408
25409 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
25410 file parsing and set FD_CLOEXEC.
25411
82af0fa8
UD
254122011-11-14 Ulrich Drepper <drepper@gmail.com>
25413
25414 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
25415
a5fb313c
AS
254162011-11-14 Andreas Schwab <schwab@redhat.com>
25417
25418 * malloc/arena.c (arena_get2): Don't call reused_arena when
25419 _int_new_arena failed.
25420
6abf3465
UD
254212011-11-14 Ulrich Drepper <drepper@gmail.com>
25422
25423 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
25424 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
25425 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
25426 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25427 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25428 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
25429 to compile strcasecmp and strncasecmp.
25430 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
25431 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
25432
25433 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
25434
76e3966e
UD
254352011-11-13 Ulrich Drepper <drepper@gmail.com>
25436
25437 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
25438 locale-defines.sym to gen-as-const-headers.
25439 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
25440 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
25441 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
25442 to compile strcasecmp and strncasecmp.
25443 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
25444 strcasecmp_l and strncasecmp_l.
25445 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
25446 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
25447 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
25448 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
25449 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
25450 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
25451 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
25452 * sysdeps/i386/i686/multiarch/strncase.S: New file.
25453 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
25454 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
25455 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
25456
ab26144e
UD
254572011-11-12 Ulrich Drepper <drepper@gmail.com>
25458
7edb22ef
UD
25459 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
25460 result of SYSDEP_GETTIME_CPU to retval.
25461 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
25462 parameter list to macro. Remove trailing semicolon. Adjust users.
25463
9694fc44
UD
25464 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
25465 variable.
25466
8ad89ef8
UD
25467 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
25468 mantissa words.
25469 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
25470
0c822ef9
UD
25471 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
25472 from unused variable.
25473
874e0564
UD
25474 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
25475 DWARF definitions.
25476 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
25477 for assembling.
25478
3a2edc79
UD
25479 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
25480 over namespaces.
25481
f3c2577f
UD
25482 * sunrpc/rpc_prot.c (rejected): Fix case value.
25483
294ce126
UD
25484 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
25485 unsigned long long int to avoid warnings in shift.
25486
5e2b63c6
UD
25487 * posix/regex_internal.c (re_string_reconstruct): Actually use result
25488 of use of trans.
25489 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
25490 variable tmp.
25491
e7f4b08e
UD
25492 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
25493 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
25494 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
25495
ab26144e
UD
25496 * nis/nis_table.c (nis_list): Use variable of correct type for
25497 result of __follow_path call.
25498
8a6d5255
AZ
254992011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25500
25501 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
25502 of math functions ceil, trunc, floor, round, and sqrt, when
25503 avaliable on the platform.
25504 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
25505 name clash.
25506 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
25507 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
25508 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
25509
aaddc98c
MP
255102011-10-30 Marek Polacek <mpolacek@redhat.com>
25511
25512 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
25513 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
25514
95b7042b
RM
255152011-11-11 Roland McGrath <roland@hack.frob.com>
25516
25517 * include/unistd.h: Fix __readlink return type.
25518 Reported by Chris Metcalf <cmetcalf@tilera.com>.
25519
57769839
UD
255202011-11-11 Ulrich Drepper <drepper@gmail.com>
25521
25522 * stdlib/ucontext.h: Undo last change for makecontext.
25523
edc5984d
AS
255242011-11-11 Andreas Schwab <schwab@redhat.com>
25525
98591e58
AS
25526 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
25527
edc5984d
AS
25528 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
25529 * setjmp/setjmp.h: Mark functions as non-leaf.
25530 * setjmp/bits/setjmp2.h: Likewise.
25531 * stdlib/ucontext.h: Likewise.
25532
77cdc054
AS
255332011-11-10 Andreas Schwab <schwab@redhat.com>
25534
25535 * malloc/arena.c (_int_new_arena): Don't increment narenas.
25536 (reused_arena): Don't check arena limit.
25537 (arena_get2): Atomically check arena limit.
25538
fe72eebd
UD
255392011-11-08 Ulrich Drepper <drepper@gmail.com>
25540
5f078c32
UD
25541 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
25542 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
25543
fe72eebd
UD
25544 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
25545 instructions.
25546
ae1bc2fa
AS
255472011-11-07 Andreas Schwab <schwab@redhat.com>
25548
7583a88d
AS
25549 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
25550 handler when locking.
25551
ae1bc2fa
AS
25552 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
25553 Fix size of allocated buffer.
25554
10fb0bfa
AS
255552011-11-04 Andreas Schwab <schwab@redhat.com>
25556
998832a4
AS
25557 [BZ #10103]
25558 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
25559 declarations for long double functions.
25560 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
25561
10fb0bfa
AS
25562 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
25563
3d7ba52b
AS
255642011-11-03 Andreas Schwab <schwab@redhat.com>
25565
a9ae54a1
AS
25566 * nscd/nscd.c (main): Don't start AVC thread until credentials are
25567 installed.
25568
3d7ba52b
AS
25569 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
25570 is disabled.
25571
bc8db248
ST
255722011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
25573
25574 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
25575
45b96dd6
AS
255762011-11-01 Andreas Schwab <schwab@linux-m68k.org>
25577
647776f6
AS
25578 * include/alloca.h (stackinfo_alloca_round): Define.
25579 (extend_alloca): Use it.
25580 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
25581 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
25582 here.
25583
d91a8b93
AS
25584 * scripts/check-local-headers.sh: Ignore libaudit.h.
25585
45b96dd6
AS
25586 * nscd/Makefile (extra-objs): Make recursively expanded.
25587
432d41ce
UD
255882011-11-01 Ulrich Drepper <drepper@gmail.com>
25589
34372fc6
UD
25590 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
25591 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
25592
fadb59f8
UD
25593 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
25594 * posix/tst-rfc3484-2.c: Likewise.
25595 * posix/tst-rfc3484-3.c: Likewise.
25596
78239589
UD
25597 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
25598 process_vm_writev.
25599 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
25600 process_vm_writev.
25601 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
25602 process_vm_writev from libc using GLIBC_2.15 version.
25603
432d41ce
UD
25604 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
25605
02f9c6cf
PP
256062011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
25607
25608 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
25609 stack usage.
25610
3a2c0242
UD
256112011-10-31 Ulrich Drepper <drepper@gmail.com>
25612
f4ec4833
UD
25613 [BZ #13367]
25614 * nss/getent.c (initgroups_keys): Show error message in case no group
25615 names are given.
25616
3a2c0242
UD
25617 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
25618 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
25619 __bump_nl_timestamp.
25620 * nscd/connections (nscd_init): When host database is served open
25621 netlink socket and request notification about configuration changes.
25622 (main_loop_poll): Track netlink file descriptor and bump timestamp
25623 in case data becomes available.
25624 (main_loop_epoll): Likewise.
25625 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
25626 (database_pers_head): Add extra_data fileds.
25627 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
25628 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
25629 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
25630 Adjust caller.
25631 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
25632 in6ai data, call __free_in6ai.
25633 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
25634 Add -DHAVE_NETLINK.
25635 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
25636 interface information. Reuse previous data if netlink timestamp
25637 is not changed.
25638 (__bump_nl_timestamp): New function.
25639 (__free_in6ai): New function.
25640
636064eb
UD
256412011-10-30 Ulrich Drepper <drepper@gmail.com>
25642
25643 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
25644 close_not_cancel_no_status here.
25645 (__check_pf): Reorganize code a bit to not call close twice if OOM.
25646
9beb2334
UD
256472011-10-29 Ulrich Drepper <drepper@gmail.com>
25648
6ef76f3b
UD
25649 [BZ #13276]
25650 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
25651 return value.
25652
0ffc4f3e 25653 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
25654 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
25655 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
25656
cb95113e
UD
256572011-07-03 Andreas Jaeger <aj@suse.de>
25658
25659 [BZ #10709]
25660 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
25661 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
25662 * math/libm-test.inc (sin_test): Add test case.
25663
a1b560ff
UD
256642011-10-29 Ulrich Drepper <drepper@gmail.com>
25665
c9aaface
UD
25666 [BZ #13337]
25667 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
25668 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
25669
d272e7f1
UD
25670 * elf/chroot_canon.c (chroot_canon): Cleanups.
25671
1bc33071
UD
25672 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
25673
1760874d
TJ
25674 [BZ #13335]
25675 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
25676 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
25677
51d91b18
UD
25678 * string/test-strchr.c: Make usable for strchrnul testing.
25679 * string/test-strchrnul.c: New file.
25680 * string/Makefile (strop-tests): Add strchrnul.
25681
a1b560ff 25682 * po/it.po: Update from translation team.
b611fb81 25683 * po/es.po: Likewise.
a1b560ff 25684
a5b81e1f
UD
256852011-10-28 Ulrich Drepper <drepper@gmail.com>
25686
fd52bc6d
UD
25687 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
25688 the three constants needed as parameters. Drop the others.
25689 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
25690 __m128i_strloadu_tolower.
52e4b9eb
UD
25691 Create and initialize variable zero and use it in all the places
25692 where _mm_setzero_si128 was used.
fd52bc6d 25693
a5b81e1f
UD
25694 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
25695 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
25696 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
25697 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
25698 anymore.
25699 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
25700 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
25701 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
25702 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
25703 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
25704 __mpranred, __mptan.
25705 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
25706 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
25707 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
25708 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
25709 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
25710 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
25711 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
25712 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
25713 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
25714
b4343346
AS
257152011-10-28 Andreas Schwab <schwab@redhat.com>
25716
0c92d8a8
AS
25717 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
25718 redefine if SHARED.
25719 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
25720
b4343346
AS
25721 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
25722 wide char related routines to wcsmbs subdir.
25723
3871f58f
AS
257242011-10-27 Andreas Schwab <schwab@redhat.com>
25725
25726 [BZ #13344]
25727 * misc/sys/cdefs.h (__THROWNL): Define.
25728 * posix/unistd.h: Use __THREADNL instead of __THREAD
25729 for memory synchronization functions.
25730
94d44d9f
RM
257312011-10-26 Roland McGrath <roland@hack.frob.com>
25732
21b64b15 25733 [BZ #13349]
94d44d9f
RM
25734 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
25735 doesn't exist.
25736 * manual/stdio.texi (Obstack Streams): Node removed.
25737
f6ce9294
AS
257382011-10-26 Andreas Schwab <schwab@redhat.com>
25739
80479147
AS
25740 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
25741 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
25742 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
25743
f6ce9294
AS
25744 * math/math_private.h (math_force_eval): Allow non-addressable
25745 arguments.
25746 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
25747
618280a1
UD
257482011-10-25 Ulrich Drepper <drepper@gmail.com>
25749
e0016b11
UD
25750 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
25751 file is not needed.
25752
25753 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
25754 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
25755 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25756 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25757 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25758 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25759 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
25760 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
25761 Add AVX variants.
25762 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
25763 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
25764 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
25765 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
25766 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
25767 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
25768 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
25769 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
25770 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
25771 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
25772 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
25773 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
25774 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
25775 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
25776 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
25777 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
25778 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
25779 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
25780 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
25781
25782 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
25783 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
25784
618280a1
UD
25785 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
25786 place. Use VEX encoding when compiling for AVX.
25787
37822576
AS
257882011-10-25 Andreas Schwab <schwab@redhat.com>
25789
1f1e1947
AS
25790 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
25791 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
25792
37822576
AS
25793 * string/test-strchr.c (do_test): Don't generate NUL bytes.
25794
31ea014d
UD
257952011-10-25 Ulrich Drepper <drepper@gmail.com>
25796
d7826aa1 25797 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 25798 useless if() expression.
d7826aa1
UD
25799 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
25800 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
25801 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25802 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25803 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25804 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
25805 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
25806 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25807 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
25808 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25809 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
25810 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
25811 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
25812 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
25813 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
25814 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
25815 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
25816 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
25817 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
25818
31ea014d
UD
25819 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
25820
16437fec
AS
258212011-10-25 Andreas Schwab <schwab@redhat.com>
25822
25823 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
25824 condition.
25825 * elf/dl-fini.c (_dl_sort_fini): Likewise.
25826
31d3cc00
UD
258272011-10-25 Ulrich Drepper <drepper@gmail.com>
25828
25829 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
25830 .text section. Avoid duplicate constants.
25831 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25832 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25833 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25834 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25835 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25836 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25837 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25838 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25839 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
25840 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
25841 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
25842 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25843 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
25844 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
25845 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
25846 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
25847 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
25848 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
25849 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25850 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25851 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25852 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25853 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25854 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
25855 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
25856 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
25857 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
25858 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
25859 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
25860 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
25861 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
25862 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
25863 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25864 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
25865 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
25866 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
25867 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
25868 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
25869 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
25870 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
25871 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
25872 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
25873 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
25874 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
25875 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
25876
58985aa9
UD
258772011-10-24 Ulrich Drepper <drepper@gmail.com>
25878
202c9deb
UD
25879 * sysdeps/x86_64/dla.h: Move to ...
25880 * sysdeps/x86_64/fpu/dla.h: ...here.
25881 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
25882 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 25883
af968f62
UD
25884 * config.make.in: Add have-mfma4 entry.
25885 * configure.in: Substitute libc_cv_cc_fma4.
25886 * math/Makefile (dbl-only-routines): Add sincostab.
25887 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
25888 Use __sincostab not sincos.
25889 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
25890 name is a macro.
25891 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25892 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25893 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25894 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
25895 using __copysign.
25896 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
25897 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
25898 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
25899 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
25900 and __inv.
25901 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
25902 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
25903 __copysign.
25904 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
25905 define aliases when function name is a macro.
25906 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
25907 sysdeps/ieee754/dbl-64/sincos.tbl.
25908 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
25909 fma4-enabled routines.
25910 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
25911 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
25912 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
25913 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
25914 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
25915 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
25916 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
25917 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
25918 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
25919 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
25920 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
25921 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
25922 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
25923 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
25924 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
25925 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
25926 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
25927 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
25928 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
25929 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
25930 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
25931 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
25932 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
25933 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
25934 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
25935 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
25936 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
25937 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
25938 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
25939 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
25940
58985aa9
UD
25941 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
25942 rename.
25943 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25944 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25945 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25946 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25947 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25948 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25949 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25950 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25951
a201fbcf
AS
259522011-10-24 Andreas Schwab <schwab@redhat.com>
25953
25954 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
25955
fc2ee42a
LD
259562011-10-23 Ulrich Drepper <drepper@gmail.com>
25957
bb3129bd
UD
25958 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
25959
0275fff8
UD
25960 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
25961 prediction.
25962 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
25963
2fa2ae85
UD
25964 * string/strnlen.c: Don't define STRNLEN, reverse logic.
25965 Remove unused variable magic_bits.
25966 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
25967
fc2ee42a
LD
25968 * string/strnlen.c: Define and use STRNLEN macro.
25969 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
25970 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
25971 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
25972 * wcsmbs/wcslen.c: Define and use WCSLEN.
25973 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
25974 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
25975 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
25976 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
25977 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
25978 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
25979 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
25980
ce7dd29f
LD
259812011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25982
25983 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25984 strnlen-sse2-no-bsf.
25985 Rename strlen-no-bsf to strlen-sse2-no-bsf.
25986 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
25987 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
25988 Add strnlen support.
25989 (USE_AS_STRNLEN): New macro.
25990 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
25991 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
25992 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
25993 * sysdeps/x86_64/wcslen.S: New file.
25994
979c70a3
MZ
259952011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
25996
25997 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
25998 XMM-moves are used for copying on small sizes.
25999
2d09f82f
LD
260002011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26001
26002 * wcsmbs/Makefile (strop-tests): Add wcschr.
26003 * wcsmbs/test-wcschr.c: New file.
26004 * string/test-strchr.c: Update.
26005 Add wcschr support.
26006 (WIDE): New macro.
26007
619fccca
LD
260082011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26009
2d09f82f 26010 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
26011 * wcsmbs/test-wcslen.c: New file.
26012 * string/test-strlen.c: Update.
26013 Add wcslen support.
26014 (WIDE): New macro.
26015
09f699ea
UD
260162011-10-23 Ulrich Drepper <drepper@gmail.com>
26017
26018 * po/it.po: Update from translation team.
26019
95584d3b
LD
260202011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26021
26022 * sysdeps/x86_64/wcscmp.S: Update.
26023 Fix wrong comparison semantics.
26024 wcscmp shall use signed comparison not unsigned.
26025 Don't use substraction to avoid overflow bug.
26026 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
26027 * wcsmbc/wcscmp.c: Likewise.
26028 * string/test-strcmp.c: Likewise.
26029 Add new tests to check cases with negative values.
26030
c8b3296b
UD
260312011-10-23 Ulrich Drepper <drepper@gmail.com>
26032
26033 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
26034 * sysdeps/x86_64/dla.h: ...here. New file.
26035 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
26036 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26037 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26038 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26039 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26040 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26041 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26042 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26043 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26044
246ad57a
AS
260452011-10-23 Andreas Schwab <schwab@linux-m68k.org>
26046
26047 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
26048 __ynl_finite aliases.
26049
a1a87169
UD
260502011-10-22 Ulrich Drepper <drepper@gmail.com>
26051
0d355eb7
UD
26052 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26053
a1a87169
UD
26054 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
26055 define DLA_FMA.
26056 [DLA_FMA] (EMULV): Use DLA_FMA.
26057 [DLA_FMA] (MUL12): Use EMULV.
26058 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
26059 that are not needed.
26060 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26061 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26062 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26063 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26064 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26065 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26066 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26067
ee2aafe0
AS
260682011-10-22 Andreas Schwab <schwab@linux-m68k.org>
26069
26070 * math/s_nan.c: Undef __nan.
26071 * math/s_nanf.c: Undef __nanf.
26072 * math/s_nanl.c: Undef __nanl.
26073 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
26074 "math_private.h".
26075
bc62c2fb
UD
260762011-10-22 Ulrich Drepper <drepper@gmail.com>
26077
77425c63
UD
26078 * math/s_catan.c: Add branch predictions.
26079 * math/s_catanf.c: Likewise.
26080 * math/s_catanh.c: Likewise.
26081 * math/s_catanhf.c: Likewise.
26082 * math/s_catanhl.c: Likewise.
26083 * math/s_catanl.c: Likewise.
26084 * math/s_cexp.c: Likewise.
26085 * math/s_cexpf.c: Likewise.
26086 * math/s_cexpl.c: Likewise.
26087 * math/s_clog.c: Likewise.
26088 * math/s_clog10.c: Likewise.
26089 * math/s_clog10f.c: Likewise.
26090 * math/s_clog10l.c: Likewise.
26091 * math/s_clogf.c: Likewise.
26092 * math/s_clogl.c: Likewise.
26093 * math/s_csqrt.c: Likewise.
26094 * math/s_csqrtf.c: Likewise.
26095 * math/s_csqrtl.c: Likewise.
26096 * math/s_ctanf.c: Likewise.
26097 * math/s_ctanh.c: Likewise.
26098 * math/s_ctanhf.c: Likewise.
26099 * math/s_ctanhl.c: Likewise.
26100 * math/s_ctanl.c: Likewise.
26101
bc62c2fb
UD
26102 * math/math_private.h: Define __nan, __nanf, __nanl.
26103 * math/s_cacosh.c: Include <math_private.h>.
26104 * math/s_cacoshl.c: Likewise.
26105 * math/s_casinh.c: Likewise.
26106 * math/s_casinhf.c: Likewise.
26107 * math/s_casinhl.c: Likewise.
26108 * math/s_ccos.c: Rely entire on ccosh.
26109 * math/s_ccosf.c: Rely entire on ccoshf.
26110 * math/s_ccosl.c: Rely entirely on ccoshl.
26111 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
26112 Remove tests for FE_INVALID.
26113 * math/s_ccoshf.c: Likewise.
26114 * math/s_ccoshl.c: Likewise.
26115 * math/s_csin.c: Likewise.
26116 * math/s_csinf.c: Likewise.
26117 * math/s_csinh.c Likewise.
26118 * math/s_csinhf.c: Likewise.
26119 * math/s_csinhl.c: Likewise.
26120 * math/s_csinl.c: Likewise.
26121 * math/s_ctan.c: Likewise.
26122 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
26123 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
26124 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
26125
8ec250a4
UD
261262011-10-21 Ulrich Drepper <drepper@gmail.com>
26127
c196fed8
UD
26128 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
26129 compilation problems.
26130
8ec250a4
UD
26131 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
26132 __builtin_expect.
26133
8d4f46c6
UD
261342011-10-20 Ulrich Drepper <drepper@gmail.com>
26135
ed72b654
UD
26136 * sysdeps/i386/configure.in: Test for -mfma4 option.
26137 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
26138 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
26139 COMMON_CPUID_INDEX_80000001.
26140 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
26141 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
26142 use it if FMA3 is not supported.
26143 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
26144
8d4f46c6
UD
26145 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
26146 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
26147
d45c60c2
AS
261482011-10-20 Andreas Schwab <schwab@redhat.com>
26149
26150 [BZ #12892]
26151 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
26152 it would create a cycle with a link time dependency.
26153
d9a4d2ab
UD
261542011-10-19 Ulrich Drepper <drepper@gmail.com>
26155
855d1560
UD
26156 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
26157 instruction.
26158 * string/Makefile (strop-tests): Add rawmemchr.
26159 * string/test-rawmemchr.c: New file.
26160
d9a4d2ab
UD
26161 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
26162 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
26163 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
26164 when compiling str{,n}casecmp and when AVX is available. Hook up
26165 new optimized code in initializers.
26166
8f3b1ffe
AS
261672011-10-19 Andreas Schwab <schwab@redhat.com>
26168
26169 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
26170 __feraiseexcept instead of feraiseexcept.
26171
d38f1dba
UD
261722011-10-18 Ulrich Drepper <drepper@gmail.com>
26173
d9a8d0ab
UD
26174 * math/math_private.h: Define defaults for libc_fetestexcept and
26175 libc_feupdateenv.
26176 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
26177 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
26178 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
26179 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
26180 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
26181 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
26182 libc_fetestexcept and libc_feupdateenv.
26183
4855e3dd
UD
26184 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
26185 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
26186 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
26187 * sysdeps/x86_64/fpu/math_private.h: Define special version of
26188 libc_feholdexcept_setround.
26189
581d30e3
UD
26190 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
26191 Add s_nearbyint-c and s_nearbyintf-c.
26192 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
26193 nearbyintf inlines.
26194 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
26195 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
26196 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
26197 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
26198
d38f1dba
UD
26199 * math/math_private.h: Define defaults for libc_fegetround,
26200 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
26201 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
26202 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
26203 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
26204 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
26205 standard functions.
26206 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26207 Remove comments and hacks for old compiler versions.
26208 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
26209 libc_fegetround, libc_fesetround, libc_feholdexcept, and
26210 libc_feholdexceptl.
26211
caa6c9d8
AS
262122011-10-18 Andreas Schwab <schwab@redhat.com>
26213
26214 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
26215 (__feraiseexcept_renamed): Add __NTH.
26216 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
26217 namespace violations.
26218
97c066e6
UD
262192011-10-17 Ulrich Drepper <drepper@gmail.com>
26220
99ce7b04
UD
26221 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
26222
1004d182
UD
26223 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
26224
228a984d
UD
26225 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
26226 recently added interfaces.
26227 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
26228
c8553a6a
UD
26229 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
26230 about macro parameter expansion.
26231
ed22dcf6
UD
26232 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
26233 __NO_MATH_INLINES is defined. Cleanups.
26234
26235 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
26236 and __floorf is target has SSE4.1.
26237 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
26238 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
26239 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
26240 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
26241
b171c137
UD
26242 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
26243 name.
26244 (floorf): Likewise.
26245
97c066e6
UD
26246 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
26247
629f62ef
AS
262482011-10-17 Andreas Schwab <schwab@redhat.com>
26249
49a43d80
AS
26250 * misc/sys/cdefs.h: Fix last change.
26251
629f62ef
AS
26252 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
26253 database lookup.
26254
e453f6cd
UD
262552011-10-16 Ulrich Drepper <drepper@gmail.com>
26256
aa78043a
UD
26257 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
26258
ad0f5cad
UD
26259 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
26260 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26261 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
26262 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26263 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26264 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
26265 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26266 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26267 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
26268 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
26269 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
26270 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
26271 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
26272 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
26273 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
26274 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
26275 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
26276 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
26277 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
26278 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
26279 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
26280 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
26281
26282 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
26283 ceil, ceilf, floor, floorf.
26284
26285 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
26286 Perform IRELATIVE relocations last.
26287
e453f6cd
UD
26288 * elf/do-rel.h: Add another parameter nrelative, replacing the
26289 local variable with the same name. Change name of the function
26290 to end in Rel or Rela (uppercase).
26291 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
26292 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
26293 elf_dynamic_do_##reloc function.
26294
fd5bdc09
UD
262952011-10-15 Ulrich Drepper <drepper@gmail.com>
26296
79b195b5
UD
26297 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
26298 is sufficient, at least on modern CPUs.
26299
d4a28569
UD
26300 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
26301
b61099b5
UD
26302 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
26303 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
26304
bcf01e6d
UD
26305 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
26306 __expl_finite.
26307 * math/bits/math-finite.h: Add entries for exp.
26308 * math/e_expl.c: Add __*_finite alias.
26309 * sysdeps/i386/fpu/e_exp.S: Likewise.
26310 * sysdeps/i386/fpu/e_expf.S: Likewise.
26311 * sysdeps/i386/fpu/e_expl.c: Likewise.
26312 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26313 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
26314 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
26315 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26316 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
26317 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
26318 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
26319
ba1a0d59
UD
26320 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
26321 is sufficient, at least on modern CPUs.
26322
fd5bdc09
UD
26323 * ctype/ctype-info.c (__ctype_init): Define.
26324 * include/ctype.h (__ctype_init): Declare.
26325 (__ctype_b_loc): The variable is always initialized.
26326 (__ctype_toupper_loc): Likewise.
26327 (__ctype_tolower_loc): Likewise.
26328 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
26329 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
26330
7872cfb0
AS
263312011-10-15 Andreas Schwab <schwab@linux-m68k.org>
26332
b468825a
AS
26333 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
26334
7872cfb0
AS
26335 * configure.in: Also look in $cxxmachine/include for C++ system
26336 headers.
26337
be13f7bf
LD
263382011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26339
26340 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
26341 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
26342 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
26343 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
26344 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
26345 (USE_AS_WMEMCMP): New macro.
26346 Fixing indents.
26347 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
26348 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
26349 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
26350 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
26351 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26352 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
26353 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
26354 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
26355 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
26356 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
26357 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
26358 (USE_AS_WMEMCMP): New macro.
26359 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
26360 * sysdeps/string/test-memcmp.c: Update.
26361 Fix simple_wmemcmp.
26362 Add new tests.
26363 * wcsmbs/wmemcmp.c: Update.
26364 (WMEMCMP): New macro.
26365 Fix overflow bug.
26366
556a2007
AJ
263672011-10-12 Andreas Jaeger <aj@suse.de>
26368
26369 [BZ #13268]
26370 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
26371
538faaa7
UD
263722011-10-15 Ulrich Drepper <drepper@gmail.com>
26373
ab6737ff
UD
26374 * libio/iofwide.c (do_length): Avoid warning.
26375
538faaa7
UD
26376 * ctype/ctype.h (__isctype_f): Add missing __THROW.
26377
396a21b1
UD
263782011-10-14 Ulrich Drepper <drepper@gmail.com>
26379
cdf2901f
UD
26380 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
26381
38ad40ce
UD
26382 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
26383 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
26384 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
26385 * sysdeps/i386/i686/fpu/e_log.S: New file.
26386 * sysdeps/i386/i686/fpu/e_logf.S: New file.
26387 * sysdeps/i386/i686/fpu/e_logl.S: New file.
26388
396a21b1
UD
26389 * ctype/ctype.h: Add support for inlined isXXX functions when
26390 compiling C++ code.
26391
6b1f68c9
AS
263922011-10-14 Andreas Schwab <schwab@redhat.com>
26393
349290c0
AS
26394 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26395
6b1f68c9
AS
26396 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
26397
f2282d42
RM
263982011-10-13 Roland McGrath <roland@hack.frob.com>
26399
26400 [BZ #13291]
26401 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
26402
5298ffa8
AS
264032011-10-13 Andreas Schwab <schwab@redhat.com>
26404
714fad23
AS
26405 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
26406 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
26407 feraiseexcept.
26408
81dcc7fb
AS
26409 * sysdeps/x86_64/memrchr.S: Check for zero size.
26410
5298ffa8
AS
26411 * string/stratcliff.c: Add memrchr tests.
26412
951fbcec
LD
264132011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26414
26415 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26416 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
26417 rawmemchr-sse2 rawmemchr-sse2-bsf.
26418 * sysdeps/i386/i686/multiarch/memchr.S: New file.
26419 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
26420 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
26421 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
26422 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
26423 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
26424 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
26425 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
26426 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
26427 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
26428 * string/memrchr.c (MEMRCHR): New macro.
26429
0ac5ae23
UD
264302011-10-12 Ulrich Drepper <drepper@gmail.com>
26431
26432 Add integration with gcc's -ffinite-math-only and optimize wrapper
26433 functions in libm.
26434 * Versions.def: Define GLIBC_2.15 version for libm.
26435 * math/Makefile (headers): Add bits/math-finite.h.
26436 * math/bits/math-finite.h: New file.
26437 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
26438 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
26439 * math/e_acoshl.c: Add __*_finite alias.
26440 * math/e_acosl.c: Likewise.
26441 * math/e_asinl.c: Likewise.
26442 * math/e_atan2l.c: Likewise.
26443 * math/e_atanhl.c: Likewise.
26444 * math/e_coshl.c: Likewise.
26445 * math/e_exp10.c: Likewise.
26446 * math/e_exp10f.c: Likewise.
26447 * math/e_exp10l.c: Likewise.
26448 * math/e_exp2l.c: Likewise.
26449 * math/e_fmodl.c: Likewise.
26450 * math/e_gammal_r.c: Likewise.
26451 * math/e_hypotl.c: Likewise.
26452 * math/e_j0l.c: Likewise.
26453 * math/e_j1l.c: Likewise.
26454 * math/e_jnl.c: Likewise.
26455 * math/e_lgammal_r.c: Likewise.
26456 * math/e_log10l.c: Likewise.
26457 * math/e_log2l.c: Likewise.
26458 * math/e_logl.c: Likewise.
26459 * math/e_powl.c: Likewise.
26460 * math/e_sinhl.c: Likewise.
26461 * math/e_sqrtl.c: Likewise.
26462 * math/e_scalb.c: Completely rewritten and optimized.
26463 * math/e_scalbf.c: Likewise.
26464 * math/e_scalbl.c: Likewise.
26465 * math/w_acos.c: Likewise.
26466 * math/w_acosf.c: Likewise.
26467 * math/w_acosl.c: Likewise.
26468 * math/w_acosh.c: Likewise.
26469 * math/w_acoshf.c: Likewise.
26470 * math/w_acoshl.c: Likewise.
26471 * math/w_asin.c: Likewise.
26472 * math/w_asinf.c: Likewise.
26473 * math/w_asinl.c: Likewise.
26474 * math/w_atan2.c: Likewise.
26475 * math/w_atan2f.c: Likewise.
26476 * math/w_atan2l.c: Likewise.
26477 * math/w_atanh.c: Likewise.
26478 * math/w_atanhf.c: Likewise.
26479 * math/w_atanhl.c: Likewise.
26480 * math/w_exp10.c: Likewise.
26481 * math/w_exp10f.c: Likewise.
26482 * math/w_exp10l.c: Likewise.
26483 * math/w_fmod.c: Likewise.
26484 * math/w_fmodf.c: Likewise.
26485 * math/w_fmodl.c: Likewise.
26486 * math/w_j0.c: Likewise.
26487 * math/w_j0f.c: Likewise.
26488 * math/w_j0l.c: Likewise.
26489 * math/w_j1.c: Likewise.
26490 * math/w_j1f.c: Likewise.
26491 * math/w_j1l.c: Likewise.
26492 * math/w_jn.c: Likewise.
26493 * math/w_jnf.c: Likewise.
26494 * math/w_log.c: Likewise.
26495 * math/w_logf.c: Likewise.
26496 * math/w_logl.c: Likewise.
26497 * math/w_log10.c: Likewise.
26498 * math/w_log10f.c: Likewise.
26499 * math/w_log10l.c: Likewise.
26500 * math/w_log2.c: Likewise.
26501 * math/w_log2f.c: Likewise.
26502 * math/w_log2l.c: Likewise.
26503 * math/w_pow.c: Likewise.
26504 * math/w_powf.c: Likewise.
26505 * math/w_powl.c: Likewise.
26506 * math/w_remainder.c: Likewise.
26507 * math/w_remainderf.c: Likewise.
26508 * math/w_remainderl.c: Likewise.
26509 * math/w_scalb.c: Likewise.
26510 * math/w_scalbf.c: Likewise.
26511 * math/w_scalbl.c: Likewise.
26512 * math/w_sqrt.c: Likewise.
26513 * math/w_sqrtf.c: Likewise.
26514 * math/w_sqrtl.c: Likewise.
26515 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
26516 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
26517 used.
26518 * math/math_private.h: Declare __kernel_standard_f.
26519 * math/w_cosh.c: Remove cruft and optimize a bit.
26520 * math/w_coshf.c: Likewise.
26521 * math/w_coshl.c: Likewise.
26522 * math/w_exp2.c: Likewise.
26523 * math/w_exp2f.c: Likewise.
26524 * math/w_exp2l.c: Likewise.
26525 * math/w_hypot.c: Likewise.
26526 * math/w_hypotf.c: Likewise.
26527 * math/w_hypotl.c: Likewise.
26528 * math/w_lgamma.c: Likewise.
26529 * math/w_lgamma_r.c: Likewise.
26530 * math/w_lgammaf.c: Likewise.
26531 * math/w_lgammaf_r.c: Likewise.
26532 * math/w_lgammal.c: Likewise.
26533 * math/w_lgammal_r.c: Likewise.
26534 * math/w_sinh.c: Likewise.
26535 * math/w_sinhf.c: Likewise.
26536 * math/w_sinhl.c: Likewise.
26537 * math/w_tgamma.c: Likewise.
26538 * math/w_tgammaf.c: Likewise.
26539 * math/w_tgammal.c: Likewise.
26540 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
26541 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26542 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
26543 Minor optimizations. Pretty printing. Remove cruft.
26544 * sysdeps/i386/fpu/e_acosf.S: Likewise.
26545 * sysdeps/i386/fpu/e_acosh.S: Likewise.
26546 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
26547 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
26548 * sysdeps/i386/fpu/e_acosl.c: Likewise.
26549 * sysdeps/i386/fpu/e_asin.S: Likewise.
26550 * sysdeps/i386/fpu/e_asinf.S: Likewise.
26551 * sysdeps/i386/fpu/e_atan2.S: Likewise.
26552 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
26553 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
26554 * sysdeps/i386/fpu/e_atanh.S: Likewise.
26555 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
26556 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
26557 * sysdeps/i386/fpu/e_exp10.S: Likewise.
26558 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
26559 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
26560 * sysdeps/i386/fpu/e_exp2.S: Likewise.
26561 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
26562 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
26563 * sysdeps/i386/fpu/e_fmod.S: Likewise.
26564 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
26565 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
26566 * sysdeps/i386/fpu/e_hypot.S: Likewise.
26567 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
26568 * sysdeps/i386/fpu/e_log.S: Likewise.
26569 * sysdeps/i386/fpu/e_log10.S: Likewise.
26570 * sysdeps/i386/fpu/e_log10f.S: Likewise.
26571 * sysdeps/i386/fpu/e_log10l.S: Likewise.
26572 * sysdeps/i386/fpu/e_log2.S: Likewise.
26573 * sysdeps/i386/fpu/e_log2f.S: Likewise.
26574 * sysdeps/i386/fpu/e_log2l.S: Likewise.
26575 * sysdeps/i386/fpu/e_logf.S: Likewise.
26576 * sysdeps/i386/fpu/e_logl.S: Likewise.
26577 * sysdeps/i386/fpu/e_pow.S: Likewise.
26578 * sysdeps/i386/fpu/e_powf.S: Likewise.
26579 * sysdeps/i386/fpu/e_powl.S: Likewise.
26580 * sysdeps/i386/fpu/e_remainder.S: Likewise.
26581 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
26582 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
26583 * sysdeps/i386/fpu/e_scalb.S: Likewise.
26584 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
26585 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
26586 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
26587 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
26588 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
26589 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
26590 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26591 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26592 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
26593 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26594 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
26595 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
26596 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
26597 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26598 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
26599 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
26600 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
26601 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26602 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
26603 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
26604 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26605 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26606 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
26607 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26608 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26609 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
26610 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
26611 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
26612 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
26613 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
26614 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
26615 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
26616 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
26617 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
26618 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
26619 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26620 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
26621 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
26622 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
26623 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
26624 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
26625 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
26626 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
26627 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
26628 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
26629 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
26630 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
26631 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
26632 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
26633 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
26634 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
26635 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
26636 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
26637 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
26638 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
26639 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
26640 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
26641 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
26642 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
26643 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
26644 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
26645 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
26646 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
26647 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
26648 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
26649 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
26650 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
26651 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
26652 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
26653 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
26654 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
26655 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
26656 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
26657 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
26658 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
26659 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
26660 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
26661 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
26662 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
26663 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
26664 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
26665 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
26666 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
26667 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
26668 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
26669 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
26670 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
26671 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
26672 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
26673 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
26674 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
26675 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
26676 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
26677 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
26678 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
26679 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
26680 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
26681 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26682 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
26683 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
26684 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
26685 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
26686 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
26687 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
26688 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
26689 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
26690 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
26691 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
26692 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
26693 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
26694 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
26695 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
26696 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26697 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
26698 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
26699 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
26700 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
26701 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
26702 (__isnanf): Likewise.
26703 (__isinf_ns): Likewise.
26704 (__isinf_nsf): Likewise.
26705 (__finite): Likewise.
26706 (__finitef): Likewise.
26707 (__ieee754_sqrt): Define as macro.
26708 (__ieee754_sqrtf): Define as macro.
26709 (__ieee754_sqrtl): Define as macro.
26710 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
26711 inlined copy.
26712 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
26713 __FINITE_MATH_ONLY__ consistent.
26714 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
26715
12cc2fcd
AS
267162011-10-10 Andreas Schwab <schwab@linux-m68k.org>
26717
a843a204
AS
26718 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
26719 of rawmemchr.
26720
12cc2fcd
AS
26721 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
26722
c853acd5
UD
267232011-10-09 Ulrich Drepper <drepper@gmail.com>
26724
26725 * po/ja.po: Update from translation team.
26726
c658d255
RM
267272011-10-08 Roland McGrath <roland@hack.frob.com>
26728
110946e4
RM
26729 * locale/programs/locarchive.c (prepare_address_space): New function.
26730 (create_archive, enlarge_archive, open_archive): Use it.
26731
50604220
RM
26732 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
26733 inside [SHARED], where it is used.
26734
c658d255
RM
26735 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
26736
26737 * nss/getent.c (netgroup_keys): Remove unused variable.
26738 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
26739
6a621eb7
UD
267402011-10-08 Ulrich Drepper <drepper@gmail.com>
26741
7edb55ce
UD
26742 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
26743 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
26744 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
26745 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
26746 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
26747 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
26748 * math/Makefile (libm-calls): Add s_isinf_ns.
26749 * math/divtc3.c: Use __isinf_nsl instead of isinf.
26750 * math/multc3.c: Likewise.
26751 * math/s_casin.c: Likewise.
26752 * math/s_casinf.c: Likewise.
26753 * math/s_casinl.c: Likewise.
26754 * math/s_ccos.c: Likewise.
26755 * math/s_ccosf.c: Likewise.
26756 * math/s_ccosl.c: Likewise.
26757 * math/s_ctan.c: Likewise.
26758 * math/s_ctanf.c: Likewise.
26759 * math/s_ctanh.c: Likewise.
26760 * math/s_ctanhf.c: Likewise.
26761 * math/s_ctanhl.c: Likewise.
26762 * math/s_ctanl.c: Likewise.
26763 * math/w_fmod.c: Likewise.
26764 * math/w_fmodf.c: Likewise.
26765 * math/w_fmodl.c: Likewise.
26766 * math/w_remainder.c: Likewise.
26767 * math/w_remainderf.c: Likewise.
26768 * math/w_remainderl.c: Likewise.
26769 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
26770 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
26771 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
26772 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
26773 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
26774 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
26775 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
26776 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
26777
187da0ae
UD
26778 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
26779 of the number.
26780 * stdio-common/printf_fphex.c: Likewise.
26781 * stdio-common/printf_size.c: Likewise.
26782
9277c064
UD
26783 * math/e_exp10.c: Include math_private.h using <...> not "...".
26784 * math/e_exp10f.c: Likewise.
26785 * math/e_exp10l.c: Likewise.
26786 * math/e_exp2l.c: Likewise.
26787 * math/e_j0l.c: Likewise.
26788 * math/e_j1l.c: Likewise.
26789 * math/e_jnl.c: Likewise.
26790 * math/e_lgammal_r.c: Likewise.
26791 * math/e_rem_pio2l.c: Likewise.
26792 * math/e_scalb.c: Likewise.
26793 * math/e_scalbf.c: Likewise.
26794 * math/e_scalbl.c: Likewise.
26795 * math/k_cosl.c: Likewise.
26796 * math/k_sinl.c: Likewise.
26797 * math/k_tanl.c: Likewise.
26798 * math/s_cacoshf.c: Likewise.
26799 * math/s_catan.c: Likewise.
26800 * math/s_catanf.c: Likewise.
26801 * math/s_catanh.c: Likewise.
26802 * math/s_catanhf.c: Likewise.
26803 * math/s_catanhl.c: Likewise.
26804 * math/s_catanl.c: Likewise.
26805 * math/s_ccosh.c: Likewise.
26806 * math/s_ccoshf.c: Likewise.
26807 * math/s_ccoshl.c: Likewise.
26808 * math/s_cexp.c: Likewise.
26809 * math/s_cexpf.c: Likewise.
26810 * math/s_cexpl.c: Likewise.
26811 * math/s_clog.c: Likewise.
26812 * math/s_clog10.c: Likewise.
26813 * math/s_clog10f.c: Likewise.
26814 * math/s_clog10l.c: Likewise.
26815 * math/s_clogf.c: Likewise.
26816 * math/s_clogl.c: Likewise.
26817 * math/s_csin.c: Likewise.
26818 * math/s_csinf.c: Likewise.
26819 * math/s_csinh.c: Likewise.
26820 * math/s_csinhf.c: Likewise.
26821 * math/s_csinhl.c: Likewise.
26822 * math/s_csinl.c: Likewise.
26823 * math/s_csqrt.c: Likewise.
26824 * math/s_csqrtf.c: Likewise.
26825 * math/s_csqrtl.c: Likewise.
26826 * math/s_ctan.c: Likewise.
26827 * math/s_ctanf.c: Likewise.
26828 * math/s_ctanh.c: Likewise.
26829 * math/s_ctanhf.c: Likewise.
26830 * math/s_ctanhl.c: Likewise.
26831 * math/s_ctanl.c: Likewise.
26832 * math/s_ldexp.c: Likewise.
26833 * math/s_ldexpf.c: Likewise.
26834 * math/s_ldexpl.c: Likewise.
26835 * math/s_significand.c: Likewise.
26836 * math/s_significandf.c: Likewise.
26837 * math/s_significandl.c: Likewise.
26838 * math/w_acos.c: Likewise.
26839 * math/w_acosf.c: Likewise.
26840 * math/w_acosh.c: Likewise.
26841 * math/w_acoshf.c: Likewise.
26842 * math/w_acoshl.c: Likewise.
26843 * math/w_acosl.c: Likewise.
26844 * math/w_asin.c: Likewise.
26845 * math/w_asinf.c: Likewise.
26846 * math/w_asinl.c: Likewise.
26847 * math/w_atan2.c: Likewise.
26848 * math/w_atan2f.c: Likewise.
26849 * math/w_atan2l.c: Likewise.
26850 * math/w_atanh.c: Likewise.
26851 * math/w_atanhf.c: Likewise.
26852 * math/w_atanhl.c: Likewise.
26853 * math/w_cosh.c: Likewise.
26854 * math/w_coshf.c: Likewise.
26855 * math/w_coshl.c: Likewise.
26856 * math/w_dremf.c: Likewise.
26857 * math/w_exp10.c: Likewise.
26858 * math/w_exp10f.c: Likewise.
26859 * math/w_exp10l.c: Likewise.
26860 * math/w_exp2.c: Likewise.
26861 * math/w_exp2f.c: Likewise.
26862 * math/w_fmod.c: Likewise.
26863 * math/w_fmodf.c: Likewise.
26864 * math/w_fmodl.c: Likewise.
26865 * math/w_hypot.c: Likewise.
26866 * math/w_hypotf.c: Likewise.
26867 * math/w_hypotl.c: Likewise.
26868 * math/w_j0.c: Likewise.
26869 * math/w_j0f.c: Likewise.
26870 * math/w_j0l.c: Likewise.
26871 * math/w_j1.c: Likewise.
26872 * math/w_j1f.c: Likewise.
26873 * math/w_j1l.c: Likewise.
26874 * math/w_jn.c: Likewise.
26875 * math/w_jnf.c: Likewise.
26876 * math/w_jnl.c: Likewise.
26877 * math/w_lgamma.c: Likewise.
26878 * math/w_lgamma_r.c: Likewise.
26879 * math/w_lgammaf.c: Likewise.
26880 * math/w_lgammaf_r.c: Likewise.
26881 * math/w_lgammal.c: Likewise.
26882 * math/w_lgammal_r.c: Likewise.
26883 * math/w_log.c: Likewise.
26884 * math/w_log10.c: Likewise.
26885 * math/w_log10f.c: Likewise.
26886 * math/w_log10l.c: Likewise.
26887 * math/w_log2.c: Likewise.
26888 * math/w_log2f.c: Likewise.
26889 * math/w_log2l.c: Likewise.
26890 * math/w_logf.c: Likewise.
26891 * math/w_logl.c: Likewise.
26892 * math/w_pow.c: Likewise.
26893 * math/w_powf.c: Likewise.
26894 * math/w_powl.c: Likewise.
26895 * math/w_remainder.c: Likewise.
26896 * math/w_remainderf.c: Likewise.
26897 * math/w_remainderl.c: Likewise.
26898 * math/w_scalb.c: Likewise.
26899 * math/w_scalbf.c: Likewise.
26900 * math/w_scalbl.c: Likewise.
26901 * math/w_sinh.c: Likewise.
26902 * math/w_sinhf.c: Likewise.
26903 * math/w_sinhl.c: Likewise.
26904 * math/w_sqrt.c: Likewise.
26905 * math/w_sqrtf.c: Likewise.
26906 * math/w_sqrtl.c: Likewise.
26907 * math/w_tgamma.c: Likewise.
26908 * math/w_tgammaf.c: Likewise.
26909 * math/w_tgammal.c: Likewise.
26910
6a621eb7
UD
26911 * po/ja.po: Update from translation team.
26912
bf582445
AJ
269132011-09-29 Andreas Jaeger <aj@suse.de>
26914
f9efbf3a
AJ
26915 [BZ #13179]
26916 * sunrpc/netname.c (netname2host): Fix logic.
26917
bf582445
AJ
26918 [BZ #6779]
26919 [BZ #6783]
26920 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
26921 correctly.
26922 * math/w_remainder.c (__remainder): Likewise.
26923 * math/w_remainderf.c (__remainderf): Likewise.
26924 * math/libm-test.inc (remainder_test): Add test cases.
26925
48693bea
AK
269262011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26927
26928 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
26929 sdiv_qrnnd.
26930
42622229
LD
269312011-10-07 Ulrich Drepper <drepper@gmail.com>
26932
26933 * string/test-memcmp.c: Avoid unncessary #defines.
26934 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
26935
093ecf92
LD
269362011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26937
26938 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
26939 Use new sse2 version for core i3 - i7 as it's faster
26940 than sse42 version.
26941 (bit_Prefer_PMINUB_for_stringop): New.
26942 * sysdeps/x86_64/rawmemchr.S: Update.
26943 Replace with faster SSE2 version.
26944 * sysdeps/x86_64/memrchr.S: New file.
26945 * sysdeps/x86_64/memchr.S: Update.
26946 Replace with faster SSE2 version.
26947
fde56e5c
MP
269482011-09-12 Marek Polacek <mpolacek@redhat.com>
26949
26950 * elf/dl-load.c (lose): Add cast to avoid warning.
26951
21fd49a9
UD
269522011-10-07 Ulrich Drepper <drepper@gmail.com>
26953
5a06e643
UD
26954 * po/ca.po: Update from translation team.
26955
684ae515
UD
26956 * inet/getnetgrent_r.c: Hook up nscd.
26957 * nscd/Makefile (routines): Add nscd_netgroup.
26958 (nscd-modules): Add netgroupcache.
26959 (CFLAGS-netgroupcache.c): Define.
26960 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
26961 (cache_search): Add const to second parameter.
26962 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
26963 INNETGR.
26964 (dbs): Add netgrdb entry.
26965 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
26966 (verify_persistent_db): Handle netgrdb.
26967 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
26968 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
26969 GETFDNETGR.
26970 (netgroup_response_header): Define.
26971 (innetgroup_response_header): Define.
26972 (datahead): Add netgroup_response_header and innetgroup_response_header
26973 elements.
26974 * nscd/nscd.conf: Add entries for netgroup cache.
26975 * nscd/nscd.h (dbtype): Add netgrdb.
26976 (_PATH_NSCD_NETGROUP_DB): Define.
26977 (netgroup_iov_disabled): Declare.
26978 (xmalloc, xcalloc, xrealloc): Move declarations here.
26979 (cache_search): Adjust prototype.
26980 Add netgroup-related prototypes.
26981 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
26982 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
26983 (__nscd_innetgr): Declare.
26984 * nscd/selinux.c (perms): Use access_vector_t as element type and
26985 add netgroup-related initializers.
26986 * nscd/netgroupcache.c: New file.
26987 * nscd/nscd_netgroup.c: New file.
26988 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
26989 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
26990 For four parameters use innetgr.
26991 * nss/nss_files/files-init.c: Add definition and callback for netgr.
26992 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
26993 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
26994 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
26995
21fd49a9
UD
26996 * nscd/connections.c (register_traced_file): Don't register file
26997 for disabled databases.
26998
054c0457
UD
269992011-10-06 Ulrich Drepper <drepper@gmail.com>
27000
32b63198
UD
27001 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
27002
054c0457
UD
27003 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
27004 from tree and freeing node.
27005
64031225
JO
270062011-09-25 Jiri Olsa <jolsa@redhat.com>
27007
27008 * nss/nsswitch.c (__nss_database_lookup): Handle
27009 nss_parse_service_list out of memory case.
27010
0490345c
JO
270112011-09-15 Jiri Olsa <jolsa@redhat.com>
27012
27013 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
27014 out of memory case.
27015
3a62d00d
AS
270162011-10-04 Andreas Schwab <schwab@redhat.com>
27017
27018 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
27019 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
27020 pass it down.
27021 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
27022 elf_machine_rela, elf_machine_lazy_rel.
27023 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
27024 (ELF_DYNAMIC_DO_REL): Likewise.
27025 (ELF_DYNAMIC_DO_RELA): Likewise.
27026 (ELF_DYNAMIC_RELOCATE): Likewise.
27027 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
27028 to ELF_DYNAMIC_DO_REL.
27029 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
27030 (dl_main): In trace mode always set __RTLD_NOIFUNC.
27031 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
27032 elf_machine_rela.
27033 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
27034 skip_ifunc, don't call ifunc function if non-zero.
27035 (elf_machine_rela): Likewise.
27036 (elf_machine_lazy_rel): Likewise.
27037 (elf_machine_lazy_rela): Likewise.
27038 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
27039 (elf_machine_lazy_rel): Likewise.
27040 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
27041 Likewise.
27042 (elf_machine_lazy_rel): Likewise.
27043 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27044 Likewise.
27045 (elf_machine_lazy_rel): Likewise.
27046 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
27047 (elf_machine_lazy_rel): Likewise.
27048 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
27049 (elf_machine_lazy_rel): Likewise.
27050 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
27051 (elf_machine_lazy_rel): Likewise.
27052 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
27053 (elf_machine_lazy_rel): Likewise.
27054 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
27055 (elf_machine_lazy_rel): Likewise.
27056 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
27057 (elf_machine_lazy_rel): Likewise.
27058
68577918
UD
270592011-09-28 Ulrich Drepper <drepper@gmail.com>
27060
27061 * nss/nss_files/files-init.c (_nss_files_init): Use static
27062 initialization for all the *_traced_file variables.
27063
68822d74
AS
270642011-09-28 Andreas Schwab <schwab@redhat.com>
27065
27066 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27067
2056100b
RM
270682011-09-27 Roland McGrath <roland@hack.frob.com>
27069
27070 [BZ #13226]
27071 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
27072
32c76b63
AS
270732011-09-27 Andreas Schwab <schwab@redhat.com>
27074
27075 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
27076 Reread the line before reparsing it.
27077
bf972c9d
AS
270782011-09-26 Andreas Schwab <schwab@redhat.com>
27079
27080 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
27081
e057a1b5
JM
270822011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
27083 Maxim Kuvyrkov <maxim@codesourcery.com>
27084 Joseph Myers <joseph@codesourcery.com>
27085
27086 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
27087 if needed for __stack_chk_guard.
27088
bc7e1c36
RM
270892011-09-19 Roland McGrath <roland@hack.frob.com>
27090
ecb1482f
RM
27091 * sysdeps/posix/spawni.c (script_execute): Always define it.
27092 It will be optimized away if unused.
27093 (maybe_script_execute): New function.
27094 (__spawni): Call it.
27095
bc7e1c36
RM
27096 * Makerules: Don't include tls.make.
27097 (config-tls): Always set to thread.
27098 * tls.make.c: File removed.
27099
1c3b002b
MF
271002011-09-19 Mike Frysinger <vapier@gentoo.org>
27101
27102 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
27103 * config.make.in (CPPFLAGS-config): New substituted variable.
27104
2840865d
UD
271052011-09-15 Ulrich Drepper <drepper@gmail.com>
27106
88738eb6
UD
27107 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
27108
cbf645a6 27109 [BZ #13192]
2840865d
UD
27110 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
27111 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
27112
b402e91a
RM
271132011-09-15 Roland McGrath <roland@hack.frob.com>
27114
27115 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
27116 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
27117 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
27118 (CALL_FAIL): Likewise.
27119 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
27120 (CALL_FAIL): Macro removed.
27121 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
27122
4c1a1f71
UD
271232011-09-15 Ulrich Drepper <drepper@gmail.com>
27124
27125 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
27126 for __FINITE_MATH_ONLY__ == 1.
27127
edc121be
AS
271282011-09-15 Andreas Schwab <schwab@redhat.com>
27129
27130 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
27131 __ieee754_sqrt instead of sqrt.
27132 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
27133 __ieee754_sqrtf instead of sqrtf.
27134 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
27135 __floorf instead of floorf.
27136 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
27137 __floorf, __truncf instead of floorf, truncf.
27138
cd205654
UD
271392011-09-14 Ulrich Drepper <drepper@gmail.com>
27140
ee4d0315
UD
27141 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
27142
cd205654
UD
27143 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
27144 __extern_always_inline.
27145 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
27146 32-bit.
27147
48b67d71
AS
271482011-09-14 Andreas Schwab <schwab@redhat.com>
27149
27150 * elf/rtld.c (dl_main): Also relocate in dependency order when
27151 doing symbol dependency testing.
27152
1ae12c75
AS
271532011-09-13 Andreas Schwab <schwab@linux-m68k.org>
27154
27155 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27156 Always define `refsym'.
27157
995a80df
AS
271582011-09-13 Andreas Schwab <schwab@redhat.com>
27159
e529793b
AS
27160 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
27161 (__FD_ELT): Renamed from __FDELT.
27162 * misc/bits/select2.h (__FD_ELT): Likewise.
27163 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
27164 __FD_MASK instead of __FDELT, __FDMASK.
27165 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
27166 Likewise.
27167 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
27168 Likewise.
27169
52d4fef8
AS
27170 * elf/Makefile (gen-ldd): Fix pattern.
27171
995a80df
AS
27172 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
27173 (init_tls): Likewise.
27174
8682f8b0
UD
271752011-09-12 Ulrich Drepper <drepper@gmail.com>
27176
27177 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
27178
de82006d
AS
271792011-09-12 Andreas Schwab <schwab@redhat.com>
27180
a7c8e6a1
AS
27181 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
27182 `struct cmsghdr *' instead of `void *'.
27183 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
27184 Likewise.
27185
0f31fe77
AS
271862011-09-11 Andreas Schwab <schwab@linux-m68k.org>
27187
27188 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
27189 if non-absolute.
27190 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
27191 ldd_rewrite_script.
0f31fe77 27192
32b4c839
UD
271932011-09-11 Ulrich Drepper <drepper@gmail.com>
27194
83cd1420
UD
27195 * configure.in: Remove --with-tls option.
27196 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
27197 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
27198 out in case it is missing.
27199 * sysdeps/ia64/elf/configure.in: Likewise.
27200 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
27201 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
27202 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
27203 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
27204 * sysdeps/sh/elf/configure.in: Likewise.
27205 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
27206 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
27207 * sysdeps/x86_64/elf/configure.in: Likewise.
27208 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
27209 * sysdeps/mach/hurd/tls.h: Likewise.
27210
633f745d
UD
27211 [BZ #13067]
27212 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
27213
f318beb8
UD
27214 [BZ #13090]
27215 * configure.in: Fix use of AC_INIT.
27216
32b4c839
UD
27217 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
27218
3ce1f295
UD
272192011-09-10 Ulrich Drepper <drepper@gmail.com>
27220
bb016596
UD
27221 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
27222 __set_errno.
8e58439c
UD
27223 * malloc/hooks.c: Likewise.
27224
aebae053 27225 [BZ #11929]
02d46fc4
UD
27226 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
27227 variables statically.
27228 (narenas): Initialize.
27229 (list_lock): Initialize.
bb016596
UD
27230 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
27231 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
27232 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
27233 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
27234 Add initializers to main_arena and mp_.
27235 (malloc_state): Remove pagesize member. Change all users to use
27236 GLRO(dl_pagesize).
27237
27238 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
27239 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
27240 is always initialized.
27241
22a89187
UD
27242 * malloc/malloc.c: Removed unused configurations and dead code.
27243 * malloc/arena.c: Likewise.
27244 * malloc/hooks.c: Likewise.
02d46fc4 27245 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 27246
d063d164
UD
27247 * include/tls.h: Removed. USE___THREAD must always be defined.
27248 * bits/libc-tsd.h: Don't handle !USE___THREAD.
27249 * elf/dl-libc.c: Likewise.
27250 * elf/dl-tsd.c: Likewise.
27251 * include/errno.h: Likewise.
27252 * include/netdb.h: Likewise.
27253 * include/resolv.h: Likewise.
27254 * inet/herrno-loc.c: Likewise.
27255 * inet/herrno.c: Likewise.
27256 * malloc/arena.c: Likewise.
27257 * malloc/hooks.c: Likewise.
27258 * malloc/malloc.c: Likewise.
27259 * resolv/res-state.c: Likewise.
27260 * resolv/res_libc.c: Likewise.
27261 * sysdeps/i386/dl-machine.h: Likewise.
27262 * sysdeps/ia64/dl-machine.h: Likewise.
27263 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
27264 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
27265 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
27266 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
27267 * sysdeps/sh/dl-machine.h: Likewise.
27268 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
27269 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
27270 * sysdeps/unix/i386/sysdep.S: Likewise.
27271 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27272 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
27273 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
27274 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27275 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
27276 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27277 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27278 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27279 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27280 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27281 * sysdeps/unix/x86_64/sysdep.S: Likewise.
27282 * sysdeps/x86_64/dl-machine.h: Likewise.
27283 * tls.make.c: Likewise.
27284
3ce1f295
UD
27285 * configure.in: Remove --with-__thread option. Make tests for
27286 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
27287 tls_model attribute fail if no support is available. Remove
27288 USE_IN_LIBIO.
27289 * Makeconfig: Adjust for dropped configure option. All features are
27290 now mandatory.
27291 * Makerules: Likewise.
27292 * Versions.def: Likewise.
27293 * argp/argp-fmtstream.c: Likewise.
27294 * argp/argp-fmtstream.h: Likewise.
27295 * argp/argp-help.c: Likewise.
27296 * assert/assert.c: Likewise.
27297 * config.h.in: Likewise.
27298 * config.make.in: Likewise.
27299 * configure: Likewise.
27300 * configure.in: Likewise.
27301 * csu/Versions: Likewise.
27302 * csu/init.c: Likewise.
27303 * elf/tst-audit2.c: Likewise.
27304 * elf/tst-tls10.c: Likewise.
27305 * elf/tst-tls10.h: Likewise.
27306 * elf/tst-tls11.c: Likewise.
27307 * elf/tst-tls12.c: Likewise.
27308 * elf/tst-tls14.c: Likewise.
27309 * elf/tst-tlsmod11.c: Likewise.
27310 * elf/tst-tlsmod12.c: Likewise.
27311 * elf/tst-tlsmod13.c: Likewise.
27312 * elf/tst-tlsmod13a.c: Likewise.
27313 * elf/tst-tlsmod14a.c: Likewise.
27314 * elf/tst-tlsmod15b.c: Likewise.
27315 * elf/tst-tlsmod16a.c: Likewise.
27316 * elf/tst-tlsmod16b.c: Likewise.
27317 * elf/tst-tlsmod7.c: Likewise.
27318 * elf/tst-tlsmod8.c: Likewise.
27319 * elf/tst-tlsmod9.c: Likewise.
27320 * gmon/gmon.c: Likewise.
27321 * grp/fgetgrent_r.c: Likewise.
27322 * grp/putgrent.c: Likewise.
27323 * hurd/fopenport.c: Likewise.
27324 * include/libc-symbols.h: Likewise.
27325 * include/tls.h: Likewise.
27326 * intl/gettextP.h: Likewise.
27327 * intl/loadinfo.h: Likewise.
27328 * locale/global-locale.c: Likewise.
27329 * locale/localeinfo.h: Likewise.
27330 * mach/devstream.c: Likewise.
27331 * malloc/arena.c: Likewise.
27332 * malloc/set-freeres.c: Likewise.
27333 * misc/err.c: Likewise.
27334 * misc/getttyent.c: Likewise.
27335 * misc/mntent_r.c: Likewise.
27336 * posix/getopt.c: Likewise.
27337 * posix/wordexp.c: Likewise.
27338 * pwd/fgetpwent_r.c: Likewise.
27339 * resolv/Versions: Likewise.
27340 * resolv/res_hconf.c: Likewise.
27341 * shadow/fgetspent_r.c: Likewise.
27342 * shadow/putspent.c: Likewise.
27343 * stdio-common/printf_fphex.c: Likewise.
27344 * stdio-common/tmpfile.c: Likewise.
27345 * stdlib/abort.c: Likewise.
27346 * stdlib/fmtmsg.c: Likewise.
27347 * sunrpc/auth_unix.c: Likewise.
27348 * sunrpc/clnt_perr.c: Likewise.
27349 * sunrpc/clnt_tcp.c: Likewise.
27350 * sunrpc/clnt_udp.c: Likewise.
27351 * sunrpc/clnt_unix.c: Likewise.
27352 * sunrpc/openchild.c: Likewise.
27353 * sunrpc/svc_simple.c: Likewise.
27354 * sunrpc/svc_tcp.c: Likewise.
27355 * sunrpc/svc_udp.c: Likewise.
27356 * sunrpc/svc_unix.c: Likewise.
27357 * sunrpc/xdr.c: Likewise.
27358 * sunrpc/xdr_array.c: Likewise.
27359 * sunrpc/xdr_rec.c: Likewise.
27360 * sunrpc/xdr_ref.c: Likewise.
27361 * sunrpc/xdr_stdio.c: Likewise.
27362
1248c1c4
PB
273632011-09-09 Ulrich Drepper <drepper@gmail.com>
27364
27365 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27366
273672011-07-03 Andreas Jaeger <aj@suse.de>
27368
27369 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
27370 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
27371 regenerate with gen-libm-tests.pl.
27372
273732010-05-12 Petr Baudis <pasky@suse.cz>
27374
27375 [BZ #11589]
27376 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
27377 around j0() zero points by switching to j1().
27378 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27379 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27380 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27381 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27382
f22e1074
UD
273832011-09-09 Ulrich Drepper <drepper@gmail.com>
27384
f19009c1
UD
27385 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
27386 instead of 0.
27387 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 27388 instead of 0.
f19009c1
UD
27389 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27390 Patch in part by Pavel Roskin <proski@gnu.org>.
27391
3f8cc204
UD
27392 [BZ #13138]
27393 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
27394 realloc.
27395 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
27396 Free memory block if necessary.
27397
f22e1074
UD
27398 [BZ #12847]
27399 * libio/genops.c (INTDEF): For string streams the _lock pointer can
27400 be NULL. Don't lock in this case.
27401
0a2349f9
RM
274022011-09-09 Roland McGrath <roland@hack.frob.com>
27403
27404 * elf/elf.h (ELFOSABI_GNU): New macro.
27405 (ELFOSABI_LINUX): Define to that.
27406
f3cdd467
DZ
274072011-07-29 Denis Zaitceff <zaitceff@gmail.com>
27408
27409 * string/strncat.c (strncat): Undef the symbol in case it has been
27410 defined in bits/string.h.
27411
74718d13
UD
274122011-09-09 Ulrich Drepper <drepper@gmail.com>
27413
633e9e0f
UD
27414 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
27415
0a2349f9 27416 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
27417 link map.
27418
f9924780
AJ
274192011-08-17 Andreas Jaeger <aj@suse.de>
27420
27421 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
27422
7f5517aa
PP
274232011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
27424 Ian Lance Taylor <iant@google.com>
27425
27426 * math/libm-test.inc (lround_test): New testcase.
27427 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
27428
762011fe
UD
274292011-09-08 Ulrich Drepper <drepper@gmail.com>
27430
92963737
UD
27431 * Makefile: Remove support for automatic cvs check-ins.
27432 * Makerules: Likewise.
27433 * config.make.in: Likewise.
27434 * configure.in: Likewise.
27435 * intl/Makefile: Likewise.
27436 * locale/Makefile: Likewise.
27437 * po/Makefile: Likewise.
27438 * posix/Makefile: Likewise.
27439 * sysdeps/gnu/Makefile: Likewise.
27440 * sysdeps/mach/hurd/Makefile: Likewise.
27441 * sysdeps/sparc/sparc32/Makefile: Likewise.
27442
b0727fd8
JS
27443 [BZ #13118]
27444 * posix/Makefile (bug-regex32-ENV): Define.
27445 Patch by John Stanley <jpsinthemix@verizon.net>.
27446
a0f33f99
UD
27447 * misc/Makefile (headers): Add bits/select2.h.
27448 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
27449 * misc/bits/select2.h: New file.
27450 * include/bits/select2.h: New file.
27451 * debug/Makefile (routines): Add fdelt_chk.
27452 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
27453 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
27454 FD_ISSET.
27455 * debug/fdelt_chk.c: New file.
27456
762011fe
UD
27457 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
27458 * wcsmbs/test-wmemcmp.c: Likewise.
27459 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 27460 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
27461
274622011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27463
27464 * string/Makefile (strop-tests): Add memcmp.
27465 * string/test-wmemcmp.c: New file.
27466 * string/test-memcmp.c: Add wmemcmp support.
27467
7f513ec8
RM
274682011-09-08 Roland McGrath <roland@hack.frob.com>
27469
0442afb4
RM
27470 [BZ #13153]
27471 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
27472 2011-07-19 change.
27473
7f513ec8
RM
27474 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
27475 garbage value in a __mach_port_mod_refs call in the cases of the
27476 task-self and thread-self ports.
27477
a12b2239
ST
274782011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
27479
27480 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
27481
610f9ab4
AS
274822011-09-08 Andreas Schwab <schwab@redhat.com>
27483
7f513ec8 27484 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 27485
48882a1a
LD
274862011-09-07 Ulrich Drepper <drepper@gmail.com>
27487
b49865be
UD
27488 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
27489
fdc86bc9
UD
27490 * elf/dl-libc.c (dlerror_run): Pass back error code from
27491 dl_catch_error.
27492
c966526a
UD
27493 [BZ #13123]
27494 * elf/dl-load.c (lose): Free l_origin if it is valid.
27495
48882a1a
LD
27496 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
27497 names.
27498 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
27499 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
27500 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
27501 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
27502 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
27503 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
27504
77a2a8b4
AZ
275052011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27506
27507 * sysdeps/powerpc/fpu/e_hypot.c: New file.
27508 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
27509 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
27510 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
27511 * sysdeps/powerpc/fpu/k_cosf.c: New file.
27512 * sysdeps/powerpc/fpu/k_sinf.c: New file.
27513 * sysdeps/powerpc/fpu/s_cosf.c: New file.
27514 * sysdeps/powerpc/fpu/s_sinf.c: New file.
27515 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
27516 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
27517
24f579d8
AM
275182011-08-15 Alan Modra <amodra@gmail.com>
27519
27520 [BZ #13092]
27521 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
27522 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
27523 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
27524 ppc_mcount to static-only-routines.
27525 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
27526 __mcount_internal.
27527 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
27528 __mcount_internal with usual JUMPTARGET. Remove useless nop.
27529
3d4837df
UD
275302011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
27531
27532 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
27533 for finite and infinity parameters.
27534
22700377
WS
275352011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
27536
27537 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
27538 and add nop instructions for throughput optimization.
27539 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
27540
5025581e
WS
275412011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
27542
27543 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
27544 aligned copy for power7 with vector-scalar instructions.
27545 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
27546
08a300c9
L
275472011-07-24 H.J. Lu <hongjiu.lu@intel.com>
27548
27549 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
27550 AVX check.
27551
59178ef9
AS
275522011-09-07 Andreas Schwab <schwab@redhat.com>
27553
27554 [BZ #13144]
27555 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
27556 last change.
27557
e38ba7ab
UD
275582011-09-07 Ulrich Drepper <drepper@gmail.com>
27559
27560 * sysdeps/unix/sysv/linux/x86_64/init-first.c
27561 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
27562 syscall wrapper around clock_gettime in __vdso_clock_gettime.
27563 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
27564 clock_gettime.
27565
d53a73ac
UD
275662011-09-06 Ulrich Drepper <drepper@gmail.com>
27567
fc8bffcc
UD
27568 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
27569 Forgot to demangle the pointer.
27570
ceaa0c5d
UD
27571 * sysdeps/i386/sysdep.h: Define atom_text_section.
27572 * sysdeps/x86_64/sysdep.h: Likewise.
27573 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
27574 section with atom_text_section.
27575 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
27576 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
27577 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
27578 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
27579 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
27580
a77d3c17
UD
27581 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
27582 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
27583 already be defined. Change to take two parameters and don't assign
27584 result to variable. Adjust all users.
27585 Define INTERNAL_GETTIME if not already defined.
27586 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
27587 call.
27588 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
27589 HAVE_CLOCK_GETTIME_VSYSCALL.
27590 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
27591
d53a73ac
UD
27592 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
27593 gettimeofday vsyscall, just use time.
27594
a8f84144
AS
275952011-09-06 Andreas Schwab <schwab@redhat.com>
27596
27597 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
27598 <errno.h>.
27599
ef606249
UD
276002011-09-06 Ulrich Drepper <drepper@gmail.com>
27601
27602 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
27603 syscall on x86-64.
27604 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
27605 syscall.
27606 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
27607 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
27608 syscall if possible.
27609
6585cb60
UD
276102011-09-05 Ulrich Drepper <drepper@gmail.com>
27611
27612 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
27613 e_ident. Don't pass to find_mapsXX.
27614 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
27615
a5f524e4
LD
276162011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27617
27618 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27619 strchr-sse2-no-bsf strrchr-sse2-no-bsf
27620 * sysdeps/x86_64/multiarch/strchr.S: Update.
27621 Check bit_slow_BSF bit.
27622 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
27623 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
27624 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
27625
554881ef
UD
276262011-09-05 Ulrich Drepper <drepper@gmail.com>
27627
d96de963
UD
27628 [BZ #13134]
27629 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
27630 before glibc 2.15.
27631 (tryshell): Define.
27632 (__spawni): Change last parameter to be flag. Test
27633 SPAWN_XFLAGS_USE_PATH flag to use path or not.
27634 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
27635 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
27636 * posix/spawni.c: Likewise.
27637 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
27638 * posix/spawnp.c: Likewise. Change normal version to use
27639 SPAWN_XFLAGS_USE_PATH.
27640 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
27641 SPAWN_XFLAGS_TRY_SHELL.
27642
d48e5868
UD
27643 [BZ #13150]
27644 * posix/glob.h: Remove gcc 1.x support.
27645
554881ef
UD
27646 [BZ #13068]
27647 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
27648
693fb948
LD
276492011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27650
27651 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27652 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
27653 strrchr-sse2-bsf
27654 * sysdeps/i386/i686/multiarch/strchr.S: New file.
27655 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
27656 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
27657 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
27658 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
27659 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
27660
1b48c537
UD
276612011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27662
49d42c37
UD
27663 * sysdeps/x86_64/wcscmp.S: New file.
27664
1b48c537
UD
27665 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
27666 wcscmp-c wcscmp-sse2
27667 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
27668 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
27669 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
27670 * wcsmbs/wcscmp.c: Allow renaming.
27671
15c95c5d
DM
276722011-09-05 David S. Miller <davem@davemloft.net>
27673
27674 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
27675 stack slot, rather than the struct return pointer slot.
27676 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
27677 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
27678 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
27679 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
27680
2f0ad8f3
UD
276812011-09-05 Ulrich Drepper <drepper@gmail.com>
27682
d88ae418
UD
27683 * po/ja.po: Update from translation team.
27684
2f0ad8f3
UD
27685 [BZ #13144]
27686 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
27687 kernel in 64-bit binaries.
27688
5f4318d1
DM
276892011-09-01 David S. Miller <davem@davemloft.net>
27690
27691 * elf/elf.h (HWCAP_SPARC_*): Move to..
27692 * sysdeps/sparc/sysdep.h: this new file and add new values.
27693 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
27694 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
27695 _DL_HWCAP_COUNT to 24.
27696 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
27697 entries.
27698 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
27699 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
27700 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
27701 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
27702 instead of magic constants.
27703 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27704
3ba57516
DM
277052011-08-31 David S. Miller <davem@davemloft.net>
27706
27707 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
27708 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
27709 Reimplement to do errno handling inline.
27710 (SYSCALL_ERROR_HANDLER): New macro.
27711 (__SYSCALL_STRING): Do not do errno handling in asm.
27712 (__CLONE_SYSCALL_STRING): Delete.
27713 (__INTERNAL_SYSCALL_STRING): Delete.
27714 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
27715 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
27716 (PSEUDO): Reimplement to do errno handling inline.
27717 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
27718 (SYSCALL_ERROR_HANDLER): New macro.
27719 (__SYSCALL_STRING): Do not do errno handling in asm.
27720 (__CLONE_SYSCALL_STRING): Delete.
27721 (__INTERNAL_SYSCALL_STRING): Delete.
27722 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
27723 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
27724 i386.
27725 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
27726 (inline_syscall*): Add 'err' argument.
27727 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
27728 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
27729 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
27730 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
27731
27732 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
27733 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
27734
2bc17433
AS
277352011-08-30 Andreas Schwab <schwab@redhat.com>
27736
27737 * elf/rtld.c (dl_main): Relocate objects in dependency order.
27738
fbeb5f4d
JO
277392011-08-29 Jiri Olsa <jolsa@redhat.com>
27740
27741 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
27742 directive.
27743
ad69cc26
DM
277442011-08-24 David S. Miller <davem@davemloft.net>
27745
27746 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
27747
39dd69df
AS
277482011-08-24 Andreas Schwab <schwab@redhat.com>
27749
27750 * elf/Makefile: Add rules to build and run unload8 test.
27751 * elf/unload8.c: New file.
27752 * elf/unload8mod1.c: New file.
27753 * elf/unload8mod1x.c: New file.
27754 * elf/unload8mod2.c: New file.
27755 * elf/unload8mod3.c: New file.
27756
27757 * elf/dl-close.c (_dl_close_worker): Reset private search list if
27758 it wasn't used.
27759
2c0b250a
DM
277602011-08-23 David S. Miller <davem@davemloft.net>
27761
27762 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
27763 subtract stack bias.
27764 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
27765 %sp not %fp in calculations.
27766 (_JMPBUF_UNWINDS_ADJ): Likewise.
27767
22044b48
DM
27768 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
27769 (aio_suspend): Call it to force an exception region around the
27770 AIO_MISC_WAIT() invocation.
27771
2cae4995
AS
277722011-08-23 Andreas Schwab <schwab@redhat.com>
27773
27774 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
27775 backslash.
27776
873a772e
AJ
277772011-07-04 Aurelien Jarno <aurelien@aurel32.net>
27778
27779 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
27780 protection macro.
27781 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
27782 and <dl-machine.h>.
27783 (Elf64_FuncDesc): Remove.
27784
25ad0df1
DM
277852011-08-22 David S. Miller <davem@davemloft.net>
27786
27787 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
27788 sigaltstack check, add missing cfi directives.
27789 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
27790 missing cfi directives, and sigaltstack handling.
27791
e888bcbe
AS
277922011-08-16 Andreas Schwab <schwab@redhat.com>
27793
27794 [BZ #11724]
27795 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
27796 object is seen twice.
27797 * elf/dl-fini.c (_dl_sort_fini): Likewise.
27798
27799 * elf/Makefile (distribute): Add tst-initorder2.c.
27800 (tests): Add tst-initorder2.
27801 (modules-names): Add tst-initorder2a tst-initorder2b
27802 tst-initorder2c tst-initorder2d. Add rules to build them.
27803 ($(objpfx)tst-initorder2.out): New rule.
27804 * elf/tst-initorder2.c: New file.
27805 * elf/tst-initorder2.exp: New file.
27806
87162f46
AS
278072011-08-22 Andreas Schwab <schwab@redhat.com>
27808
70538b7f
AS
27809 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
27810
f55ffe58
AS
27811 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
27812 dependencies back to end of function.
27813
87162f46
AS
27814 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
27815 $(elfobjdir)/ld.so.
27816
91b392a4
UD
278172011-08-21 Ulrich Drepper <drepper@gmail.com>
27818
27819 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
27820 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
27821 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
27822 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
27823 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
27824 of __vdso_gettimeofday.
27825 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
27826 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
27827 attribute_hidden.
27828 (_libc_vdso_platform_setup): Remove initialization of
27829 __vdso_gettimeofday and __vdso_time.
27830
5c43483f
UD
278312011-08-20 Ulrich Drepper <drepper@gmail.com>
27832
775a77e7
UD
27833 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
27834 and fgetc_unlocked.
27835 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
27836 getc_unlocked.
89f447ed 27837
49c74ba9
UD
27838 * elf/dl-open.c (add_to_global): Report additions to the global scope
27839 for LD_DEBUG=scopes.
27840 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 27841 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 27842
5c43483f
UD
27843 [BZ #13114]
27844 * stdio-common/Makefile (tests): Add bug24.
27845 * stdio-common/bug24.c: New file.
27846
a101b025
AJ
278472011-08-19 Andreas Jaeger <aj@suse.de>
27848
27849 [BZ #13114]
27850 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
27851 non-existant file when using close-on-exec mode.
27852
c88f1766
UD
278532011-08-20 Ulrich Drepper <drepper@gmail.com>
27854
0276a718
UD
27855 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
27856 the very first instruction.
27857
c88f1766
UD
27858 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
27859 the CFI state in the end.
27860 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
27861 inclusion of dl-trampoline.h.
27862 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
27863
51ccffa0
AS
278642011-08-19 Andreas Schwab <schwab@redhat.com>
27865
94d7165f
AS
27866 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
27867 expectations for long double.
27868
51ccffa0
AS
27869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
27870 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
27871
fd708658 278722011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
27873
27874 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
27875 artificual limit depends upon the system page size.
27876
44f0a71e
UD
278772011-08-17 Ulrich Drepper <drepper@gmail.com>
27878
27879 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
27880 * resolv/Makefile: Define CFLAGS-libresolv.
27881
8de79a24
AS
278822011-08-17 Andreas Schwab <schwab@redhat.com>
27883
27884 * nss/makedb.c (compute_tables): Make variables used in nested
27885 function static.
27886
27724598
UD
278872011-08-17 Ulrich Drepper <drepper@gmail.com>
27888
c5305d88
UD
27889 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
27890 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
27891 if buffer was too small.
27892
27724598
UD
27893 * elf/pldd.c (main): Attach to all threads in the process.
27894 Rewrite /proc handling to use *at functions.
27895
076fe015
UD
278962011-08-16 Ulrich Drepper <drepper@gmail.com>
27897
174baab3
UD
27898 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
27899 specifies first scope to show.
27900 (dl_open_worker): Update callers. Move printing scope of new
27901 object to before the relocation.
44f0a71e 27902 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
27903 * sysdeps/generic/ldsodefs.h: Update declaration.
27904
076fe015
UD
27905 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
27906 string for the scope number.
27907
a60df2c3
UD
279082011-08-14 Ulrich Drepper <drepper@gmail.com>
27909
27910 * nscd/servicescache.c (cache_addserv): Make sure written is always
27911 initialized.
27912
5e4287d1
RM
279132011-08-14 Roland McGrath <roland@hack.frob.com>
27914
85ae0589
RM
27915 * sysdeps/i386/i486/bits/atomic.h
27916 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
27917 statement expression, so as to suppress "set but not used" warning.
27918 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
27919
69f63097
RM
27920 * string/strncat.c (STRNCAT): Use prototype definition.
27921
675456ef
RM
27922 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
27923 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
27924 -Iprograms here.
27925 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
27926 (localedef-modules): Add localedef.
27927 (locale-modules): Add locale.
27928
5e4287d1
RM
27929 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
27930 * elf/rtld.c (dl_main): Invert order of assignment in last change,
27931 to avoid a warning.
27932
9c96ff23
DM
279332011-08-14 David S. Miller <davem@davemloft.net>
27934
27935 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
27936 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
27937
f9ddf089
UD
279382011-08-13 Ulrich Drepper <drepper@gmail.com>
27939
44f0a71e 27940 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
27941 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
27942 * elf/rtld.c (dl_main): Set l_name of vDSO.
27943 Call _dl_show_scope when DL_DEBUG_SCOPES.
27944 (process_dl_debug): Recognize scopes flag and also set it for all.
27945 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
27946 Declare _dl_show_scope.
27947
1dc27704
UD
27948 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
27949 (do_dlopen): Pass caller_dlopen to dl_open.
27950 (__libc_dlopen_mode): Initialize caller_dlopen.
27951
f9ddf089
UD
27952 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
27953 of libc. Make tolower call locale-independent. Optimize a bit by
27954 using isdigit instead of isalnum.
27955 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
27956
9ac533d3
UD
279572011-08-12 Ulrich Drepper <drepper@gmail.com>
27958
27959 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
27960 was a dependency or dynamically loaded.
27961
89edf2e9
UD
279622011-08-11 Ulrich Drepper <drepper@gmail.com>
27963
8e999d29
UD
27964 * intl/l10nflist.c: Allow architecture-specific pop function.
27965 * sysdeps/x86_64/l10nflist.c: New file.
27966
89edf2e9
UD
27967 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
27968 classification.
27969
14d96785
AS
279702011-08-10 Andreas Schwab <schwab@redhat.com>
27971
27972 * include/dirent.h: Add libc_hidden_proto for scandirat and
27973 scandirat64. Don't declare __scandirat64.
27974 * dirent/scandirat.c: Add libc_hidden_def.
27975 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
27976 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
27977
6761ac04
DM
279782011-08-10 David S. Miller <davem@davemloft.net>
27979
27980 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
27981 enum.
27982 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
27983 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
27984 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
27985
c55fbd1e
UD
279862011-08-09 Ulrich Drepper <drepper@gmail.com>
27987
27988 * Versions.def [libc]: Add GLIBC_2.15.
27989 * dirent/Makefile (routines): Add scandirat and scandirat64.
27990 * dirent/Versions [libc]: Export scandirat and scandirat64 for
27991 GLIBC_2.15.
27992 * dirent/dirent.h: Declare scandirat and scandirat64.
27993 * dirent/scandirat.c: New file.
27994 * dirent/scandirat64.c: New file.
27995 * sysdeps/wordsize-64/scandirat.c: New file.
27996 * sysdeps/wordsize-64/scandirat64.c: New file.
27997 * dirent/opendir.c: Define opendirat.
27998 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
27999 using scandirat.
28000 * dirent/scandir64.c: Adjust for scandir.c change.
28001 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
28002 __scandirat64, and __scandir_cancel_handler.
28003 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
28004 additional parameter and use openat instead of open (outside of ld.so).
28005 Add new __opendir as wrapper around __opendirat.
28006 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
28007 here without requiring old scandirat implementation.
28008
879165f2
UD
280092011-08-08 Ulrich Drepper <drepper@gmail.com>
28010
28011 * dirent/scandir.c (cancel_handler): Renamed to
28012 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
28013 defined. Adjust users.
28014 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
28015 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
28016
cb7e923b
UD
280172011-08-04 Ulrich Drepper <drepper@gmail.com>
28018
16292edd
UD
28019 * string/test-string.h (IMPL): Use __STRING to expand name and then
28020 stringify it.
28021
cb7e923b
UD
28022 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
28023 of cleanups.
28024
cff82933
LD
280252011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28026
28027 * string/Makefile: Update.
28028 (strop-tests): Append strncat.
28029 * string/test-wcscmp.c: New file.
28030 New comprehensive test for wcscmp.
28031 * string/test-strcmp.c: Update.
28032 (WIDE): New define.
28033
9be9bfcc
AS
280342011-07-22 Andreas Schwab <schwab@redhat.com>
28035
28036 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
28037 line.
28038
2e96f1c7
AS
280392011-07-26 Andreas Schwab <schwab@redhat.com>
28040
28041 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
28042 encoding to ACE if AI_IDN.
28043
85188888
JJ
280442011-08-01 Jakub Jelinek <jakub@redhat.com>
28045
28046 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
28047 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
28048
5fa16e9b
LD
280492011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28050
28051 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
28052 Fix overflow bug in strncat.
28053 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
28054
28055 * string/test-strncat.c: Update.
28056 Add new tests for checking overflow bugs.
28057
280582011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28059
28060 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28061 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
28062 * sysdeps/i386/i686/multiarch/strcat.S: New file.
28063 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
28064 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
28065 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
28066 * sysdeps/i386/i686/multiarch/strncat.S: New file.
28067 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
28068 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
28069
28070 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
28071 (USE_AS_STRCAT): Define.
28072 Add strcat and strncat support.
28073 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
28074
8c1a459f
AS
280752011-07-25 Andreas Schwab <schwab@redhat.com>
28076
28077 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
28078 __n bigger than INT_MAX+1.
28079 (__strncmp_g): Likewise.
28080
bba33c28
UD
280812011-07-23 Ulrich Drepper <drepper@gmail.com>
28082
798be72d
UD
28083 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
28084 * libio/stido.h: Likewise.
28085
8accd4dc
UD
28086 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
28087 (AF_NFC): Define.
28088 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
28089 (AF_NFC): Define.
28090
cbff0d96
UD
28091 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
28092 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28093 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28094 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
28095 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28096
9191c04a
UD
28097 [BZ #13021]
28098 * scripts/test-installation.pl: Don't expect libnss_test1 to be
28099 installed.
28100
bba33c28
UD
28101 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
28102 typo.
28103 (_dl_x86_64_save_sse): Likewise.
28104
90f139dd
UD
281052011-07-22 Ulrich Drepper <drepper@gmail.com>
28106
1aae088a
UD
28107 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
28108 OSXSAVE.
28109 (_dl_x86_64_save_sse): Likewise.
28110
8e2045f5
UD
28111 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
28112
90f139dd
UD
28113 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
28114
1d002f25
AS
281152011-07-21 Andreas Schwab <schwab@redhat.com>
28116
28117 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
28118 change.
28119 (_dl_x86_64_save_sse): Use correct AVX check.
28120
21137f89
UD
281212011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28122
28123 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
28124 bug in strncpy/strncat.
28125 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
28126
a65c0b7a
UD
281272011-07-21 Ulrich Drepper <drepper@gmail.com>
28128
28129 * string/tester.c (test_strcat): Add tests for different alignments
28130 of source and destination.
28131 (test_strncat): Likewise.
28132
6986b98a
UD
281332011-07-20 Ulrich Drepper <drepper@gmail.com>
28134
90bb2039
UD
28135 [BZ #12852]
28136 * posix/glob.c (glob): Check passed in values before using them in
28137 expressions to avoid some overflows.
28138 (glob_in_dir): Likewise.
28139
5644ef54
UD
28140 [BZ #13007]
28141 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
28142 check for AVX enablement so that we don't crash with old kernels and
28143 new hardware.
28144 * elf/tst-audit4.c: Add same checks here.
28145 * elf/tst-audit6.c: Likewise.
28146
28147 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 28148
bfc9dc9b
AS
281492011-07-09 Andreas Schwab <schwab@linux-m68k.org>
28150
28151 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
28152
702e64bb
UD
281532011-07-20 Ulrich Drepper <drepper@gmail.com>
28154
28155 * po/cs.po: Update from translation team.
28156 * po/bg.po: Likewise.
28157
295e904f
MP
281582011-07-12 Marek Polacek <mpolacek@redhat.com>
28159
28160 * misc/sys/cdefs.h: Add support for const attribute.
28161 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
28162 to gnu_dev_{major,minor,makedev} functions.
28163
3ff94596
MP
281642011-07-20 Marek Polacek <mpolacek@redhat.com>
28165
28166 * intl/dcigettext.c (get_output_charset): Add missing bracket.
28167
28b59fca
AS
281682011-07-20 Andreas Schwab <schwab@redhat.com>
28169
28170 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
28171 strlen results.
28172
19df733e
AK
281732011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28174
28175 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
28176 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
28177 register in order to avoid conflicts with the soft frame pointer
28178 being held in r11 when necessary.
28179 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
28180 (INTERNAL_VSYSCALL_NCS): Likewise.
28181
c8835729
MP
281822011-07-14 Marek Polacek <mpolacek@redhat.com>
28183
28184 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
28185 * elf/dl-fini.c (_dl_fini): Adjust caller.
28186 * elf/dl-close.c (_dl_close_worker): Likewise.
28187 * sysdeps/generic/ldsodefs.h: Adjust declaration.
28188
b902330c
MP
281892011-07-15 Marek Polacek <mpolacek@redhat.com>
28190
8991e135
MP
28191 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
28192 "aux_cache->nlibs < 0".
28193
b902330c
MP
28194 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
28195 in the reload-count case.
28196
99710781
LD
281972011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28198
28199 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28200 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
28201 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
28202 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
28203 * sysdeps/x86_64/multiarch/strcat.S: New file.
28204 * sysdeps/x86_64/multiarch/strncat.S: New file.
28205 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
28206 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
28207 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
28208 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
28209 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
28210 (USE_AS_STRCAT): Define.
28211 Add strcat and strncat support.
28212 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
28213 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
28214 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
28215 * string/strncat.c: Update.
28216 (USE_AS_STRNCAT): Define.
28217 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28218 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
28219 and i7.
28220 * sysdeps/x86_64/multiarch/init-arch.h
28221 (bit_Prefer_PMINUB_for_stringop): New.
28222 (index_Prefer_PMINUB_for_stringop): Likewise.
28223 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
28224 bit_Prefer_PMINUB_for_stringop.
28225
7dc6bd90
UD
282262011-07-19 Ulrich Drepper <drepper@gmail.com>
28227
28228 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
28229 buffer64.
28230 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
28231 of casting of buffer.
28232 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
28233 buffer32 and buffer64.
28234 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
28235 writes instead of casting of buffer.
28236 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
28237 buffer32.
28238 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
28239 casting of buffer.
28240
e0e72284
AS
282412011-07-19 Andreas Schwab <schwab@redhat.com>
28242
28243 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
28244
feb1eb0b
UD
282452011-07-19 Ulrich Drepper <drepper@gmail.com>
28246
28247 * nscd/nscd.c (termination_handler): Don't do anything for a database
28248 if it has not yet been initialized.
28249
298711ff
UD
282502011-07-18 Ulrich Drepper <drepper@gmail.com>
28251
28252 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
28253
282542011-07-15 Marek Polacek <mpolacek@redhat.com>
28255
28256 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
28257
f9d68389
UD
282582011-07-18 Ulrich Drepper <drepper@gmail.com>
28259
28260 * po/nl.po: Update from translation team.
28261 * po/sv.po: Likewise.
28262
db290cf5
RM
282632011-07-16 Roland McGrath <roland@hack.frob.com>
28264
28265 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
28266 now disallowed by GCC.
5c550700 28267
fd5e21c7
RM
28268 * configure.in (use-default-link): Default to yes if a test -shared
28269 link meets our qualifications.
28270 * configure: Regenerated.
28271
5c550700
RM
28272 * config.make.in (output-format): New variable.
28273 * configure.in: Check for ld --print-output-format support.
28274 * configure: Regenerated.
28275 * Makerules ($(common-objpfx)format.lds)
28276 [$(output-format) != unknown]: Just use $(output-format),
28277 instead of the linker-script munging.
28278
9fa2c032
RM
282792011-07-14 Roland McGrath <roland@hack.frob.com>
28280
a6928d51
RM
28281 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
28282 of $(common-objpfx)shlib.lds.
28283 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
28284
661607b3
RM
28285 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
28286 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
28287
9fa2c032
RM
28288 * configure.in (-z relro check): Adjust test code to add a large
28289 writable data section after it.
28290 * configure: Regenerated.
28291
defe9061
RM
282922011-07-11 Roland McGrath <roland@hack.frob.com>
28293
28294 * configure.in (-z relro check): Fix test code to make the variable
28295 truly const.
28296 * configure: Regenerated.
28297
319b9ad4
UD
282982011-07-11 Ulrich Drepper <drepper@gmail.com>
28299
28300 * nscd/nscd.h (struct traced_file): Define.
28301 (struct database_dyn): Remove inotify_descr, reset_res, and filename
28302 elements. Add traced_files.
28303 (inotify_fd): Declare.
28304 (register_traced_file): Declare.
28305 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
28306 (inotify_fd): Export.
28307 (resolv_conf_descr): Remove.
28308 (nscd_init): Move inotify descriptor creation to main.
28309 Don't register files for notification here.
28310 (register_traced_file): New function.
28311 (invalidate_cache): Don't use reset_res to determine whether to call
28312 res_init, go through the list of registered files.
28313 (main_loop_poll): The inotify descriptors are now stored in the
28314 structures for the traced files.
28315 (main_loop_epoll): Likewise
28316 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
28317 to __nss_disable_nscd.
28318 * nscd/cache.c (prune_cache): There is no single inotify descriptor
28319 for a database anymore. Check the records for all the registered
28320 files instead.
28321 * nss/Makefile (libnss_files-routines): Add files-init.
28322 (libnss_db-routines): Add db-init.
28323 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
28324 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
28325 * nss/nss_db/db-init.c: New file.
28326 * nss/nss_files/files-init.c: New file.
28327 * nss/nsswitch.c (nss_load_library): New function. Broken out of
28328 __nss_lookup_function.
28329 (__nss_lookup_function): Call nss_load_library.
28330 (nss_load_all_libraries): New function.
28331 (__nss_disable_nscd): Take parameter with callback function for files
28332 to register. Set is_nscd. Load all the DSOs for the NSS modules
28333 used for the cached services.
28334 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
28335 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
28336 options for features to all the files in nscd.
28337
28338 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
28339
23bee3e8
RM
283402011-07-10 Roland McGrath <roland@hack.frob.com>
28341
28342 * csu/elf-init.c (__libc_csu_init): Comment typo.
28343
46a5b7f0
UD
283442011-07-09 Ulrich Drepper <drepper@gmail.com>
28345
28346 * po/pl.po: Update from translation team.
28347 * po/ja.po: Likewise.
28348 * po/ru.po: Likewise.
28349 * po/ko.po: Likewise.
28350 * po/fr.po: Likewise.
28351
d30cf5bb
RM
283522011-07-09 Roland McGrath <roland@hack.frob.com>
28353
113ddea4
RM
28354 * configure.in (.ctors/.dtors header and trailer check):
28355 Use an empirical test on a built program.
28356 * configure: Regenerated.
28357
574920b4
RM
28358 * configure.in (-z relro check): Use an empirical test on a built DSO.
28359 Detect, but do not require, on ia64.
28360 * configure: Regenerated.
28361
d30cf5bb
RM
28362 * configure.in (READELF): Find it with AC_CHECK_TOOL.
28363 Update tests that use readelf to use $READELF instead.
28364 * configure: Regenerated.
28365
8538fdb3
UD
283662011-07-08 Ulrich Drepper <drepper@gmail.com>
28367
28368 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
28369 if the result is not used.
28370
04d08991
AJ
283712011-07-05 Andreas Jaeger <aj@suse.de>
28372
28373 [BZ#9696]
28374 * stdlib/tst-strtod.c: Add testcase.
28375
de283087
AD
283762011-07-07 Ulrich Drepper <drepper@gmail.com>
28377
4e5f31c8 28378 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 28379 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
28380 The latter has a higher limit. Take additional parameter to pass to
28381 the new function.
28382 (__pathconf): Pass file to __statfs_link_max.
28383 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
28384 __statfs_link_max.
28385 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
28386 __statfs_link_max.
28387
de283087
AD
28388 [BZ #12868]
28389 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
28390 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28391 Handle Lustre.
28392 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
28393 (__statfs_filesize_max): Likewise.
28394 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
28395
c75fa153
AJ
283962011-07-05 Andreas Jaeger <aj@suse.de>
28397
28398 * resolv/res_comp.c (dn_skipname): Remove unused variable.
28399
1a544854
UD
284002011-07-06 Marek Polacek <mpolacek@redhat.com>
28401
28402 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
28403 `status' variable.
28404 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
28405 Likewise.
28406
6f0eec67
UD
284072011-07-04 H.J. Lu <hongjiu.lu@intel.com>
28408
28409 * Makefile (strop-tests): Add strncat.
28410 * string/test-strncat.c: New file.
28411
aae30307
UD
284122011-06-30 Marek Polacek <mpolacek@redhat.com>
28413
28414 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
28415
c0cfb5eb
UD
284162011-06-21 Andreas Jaeger <aj@suse.de>
28417
28418 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
28419 Copy rule from iconvdata/Makefile.
28420
01636b21
UD
284212011-07-06 Ulrich Drepper <drepper@gmail.com>
28422
28423 [BZ #12922]
28424 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
28425 but no long options are defined, just return 'W'.
28426
9895c8bc
UD
284272011-06-22 Marek Polacek <mpolacek@redhat.com>
28428
28429 [BZ #9696]
28430 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
28431
5d4cf042
UD
284322011-07-06 Ulrich Drepper <drepper@gmail.com>
28433
28434 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
28435 netgroups to read.
960e5535 28436 (innetgr): Likewise.
5d4cf042 28437
751eb97e
RM
284382011-07-05 Roland McGrath <roland@hack.frob.com>
28439
28440 * config.make.in (install_root): Default to $(DESTDIR).
28441
f15f1e45
UD
284422011-07-05 Ulrich Drepper <drepper@gmail.com>
28443
28444 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
28445
4e34ac6a
RM
284462011-07-02 Roland McGrath <roland@hack.frob.com>
28447
5e9b6af4
RM
28448 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
28449
84f9ea0f
RM
28450 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
28451 containing directory rather than embedding absolute directory names.
28452
ea5ee9f7
RM
28453 * scripts/check-local-headers.sh: Rewritten using awk.
28454 Match by word, not by line. Print error messages for matches.
28455 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
28456
1b74661a
RM
28457 * Makerules [shlib-lds-flags empty]:
28458 ($(common-objpfx)libc_pic.opts): New target.
28459 ($(common-objpfx)libc_pic.os.clean): New target.
28460 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
28461
28462 * config.make.in (OBJCOPY): New variable.
28463 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
28464 * configure: Regenerated.
28465
f781ef40
RM
28466 * config.make.in (use-default-link): New variable.
28467 * configure.in (use_default_link): Grok --with-default-link to set it.
28468 * configure: Regenerated.
28469 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
28470 (shlib-lds, shlib-lds-flags): Define to empty.
28471
2d4fa81e
RM
28472 * Makerules (shlib-lds): New variable.
28473 (shlib-lds-flags): New variable.
28474 (build-shlib, build-moduile, build-module-asneeded): Use it.
28475 ($(common-objpfx)libc.so): Use $(shlib-lds).
28476 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
28477 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
28478
31fffa6b
RM
28479 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
28480 DT_FLAGS/DT_FLAGS_1 with zero flags.
28481
4e34ac6a
RM
28482 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
28483 linker script munging.
28484
fcfc776b
UD
284852011-07-02 Ulrich Drepper <drepper@gmail.com>
28486
28487 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
28488 as 128-bit value.
28489 * crypt/sha512.c (sha512_process_block): Perform total addition using
28490 128-bit if possible.
28491 (__sha512_finish_ctx): Likewise.
28492 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
28493 as 64-bit value.
28494 * crypt/sha256.c (SWAP64): Define.
28495 (sha256_process_block): Perform total addition using 64-bit if
28496 possible.
28497 (__sha256_finish_ctx): Likewise.
28498
99231d9a
UD
284992011-07-01 Ulrich Drepper <drepper@gmail.com>
28500
28501 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
28502 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28503 * nscd/hstcache.c (cache_addhst): Likewise.
28504 * nscd/grpcache.c (cache_addgr): Likewise.
28505 * nscd/aicache.c (addhstaiX): Likewise
28506 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
28507
445b4a53
TK
285082011-07-01 Thorsten Kukuk <kukuk@suse.de>
28509
28510 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
28511 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28512 * nscd/hstcache.c (cache_addhst): Likewise.
28513 * nscd/grpcache.c (cache_addgr): Likewise.
28514 * nscd/aicache.c (addhstaiX): Likewise
28515
6d4d8e8e
AS
285162011-07-01 Andreas Schwab <schwab@redhat.com>
28517
28518 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
28519 domain only when needed.
28520
89f654c5
AS
285212011-06-30 Andreas Schwab <schwab@redhat.com>
28522
28523 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
28524 is always restored.
28525
cf3b23ff
UD
285262011-06-29 Ulrich Drepper <drepper@gmail.com>
28527
28528 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
28529 are re-adding the entry.
28530 * nscd/servicescache.c (cache_addserv): Likewise.
28531
751626f9
AJ
285322011-06-30 Aurelien Jarno <aurelien@aurel32.net>
28533
28534 * sysdeps/generic/dl-irel.h: fix protection against multiple
28535 inclusions.
28536 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
28537
9113ea1f
UD
285382011-06-28 Ulrich Drepper <drepper@gmail.com>
28539
5c0b8d90
UD
28540 [BZ #12935]
28541 * malloc/memusage.sh: Fix quoting in message.
28542 * debug/xtrace.sh: Likewise.
28543
9113ea1f
UD
28544 * configure.in: Remove support for --experimental-malloc option, make
28545 it the default.
28546 * config.make.in: Likewise.
28547 * malloc/Makefile: Likewise.
28548
a4172181
AS
285492011-06-27 Andreas Schwab <schwab@redhat.com>
28550
28551 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
28552 two-byte characters.
28553
78a7eee7
RM
285542011-06-27 Roland McGrath <roland@hack.frob.com>
28555
62bede13
RM
28556 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
28557 AC_CACHE_CHECK invocation.
28558 * configure: Regenerated.
28559
78a7eee7
RM
28560 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
28561
5ce33a62
UD
285622011-06-27 Ulrich Drepper <drepper@gmail.com>
28563
034807a9
UD
28564 [BZ #12350]
28565 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
28566 bit from old_res_options.
28567
4902da17
UD
28568 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
28569
5ce33a62
UD
28570 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
28571 value type for setfct.
28572
c2344f56
L
285732011-06-23 H.J. Lu <hongjiu.lu@intel.com>
28574
28575 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
28576 __gettimeofday instead of gettimeofday.
28577
68468076
UD
285782011-06-26 Ulrich Drepper <drepper@gmail.com>
28579
28580 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
28581
acb0d739
L
285822011-06-24 H.J. Lu <hongjiu.lu@intel.com>
28583
28584 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
28585
28586 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
28587 info.
28588
8912479f
L
285892011-06-22 H.J. Lu <hongjiu.lu@intel.com>
28590
28591 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28592 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
28593 strcpy-sse2-unaligned strncpy-sse2-unaligned
28594 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
28595 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
28596 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
28597 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
28598 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
28599 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
28600 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
28601 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
28602 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
28603 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
28604 (STRCPY): Support SSE2 and SSSE3 versions.
28605
d5495a11
UD
286062011-06-24 Ulrich Drepper <drepper@gmail.com>
28607
28608 [BZ #12874]
28609 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
28610 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
28611 kernels which artificially limit size of requests.
28612
0b1cbaae
L
286132011-06-22 H.J. Lu <hongjiu.lu@intel.com>
28614
28615 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28616 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
28617 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
28618 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
28619 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
28620 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
28621 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
28622 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
28623 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
28624 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
28625 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
28626 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
28627 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
28628 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
28629 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
28630 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28631 Enable unaligned load optimization for Intel Core i3, i5 and i7
28632 processors.
28633 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
28634 Define.
28635 (index_Fast_Unaligned_Load): Define.
28636 (HAS_FAST_UNALIGNED_LOAD): Define.
28637
07f494a0
MP
286382011-06-23 Marek Polacek <mpolacek@redhat.com>
28639
28640 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
28641
fa3fc0fe
UD
286422011-06-22 Ulrich Drepper <drepper@gmail.com>
28643
28644 [BZ #12907]
28645 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
28646 until it is clear that the information is realy needed.
28647 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
28648
e12df166
AS
286492011-06-22 Andreas Schwab <schwab@redhat.com>
28650
28651 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
28652
852eb34d
UD
286532011-06-22 Ulrich Drepper <drepper@gmail.com>
28654
84e2a551
UD
28655 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
28656 /sys/devices/system/cpu/online if it is usable.
28657
852eb34d
UD
28658 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
28659 reading the information from the /proc filesystem to once a second.
28660
6e502e19
UD
286612011-06-21 Andreas Jaeger <aj@suse.de>
28662
28663 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
28664 NULL after inclusion of kernel headers.
28665
75d39ff2
UD
286662011-06-21 Ulrich Drepper <drepper@gmail.com>
28667
51f9aa6a
UD
28668 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
28669 calls to internal_setent.
28670
c0244a9d
UD
28671 [BZ #12885]
28672 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
28673 addresses using gethostbyname4_r ignore IPv4 addresses.
28674
c5e3c2ae
UD
28675 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
28676 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
28677
75d39ff2
UD
28678 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
28679
42675c6f
DM
286802011-06-20 David S. Miller <davem@davemloft.net>
28681
28682 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
28683 inclusions.
28684 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
28685
28686 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
28687 (elf_irel): Use it.
28688 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
28689 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
28690 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
28691 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
28692 * sysdeps/x86_64/dl-irel.h: Likewise.
28693
28694 * elf/dl-runtime.c: Use elf_ifunc_invoke.
28695 * elf/dl-sym.c: Likewise.
28696
57912a71
UD
286972011-06-15 Ulrich Drepper <drepper@gmail.com>
28698
28699 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
28700 need to dereference resplen2.
28701
ee22793d
AS
287022011-06-14 Andreas Schwab <schwab@redhat.com>
28703
28704 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
28705
a9e836b0
UD
287062011-06-15 Ulrich Drepper <drepper@gmail.com>
28707
77fb9117
UD
28708 * Makeconfig: Define vardbdir and inst_vardbdir.
28709 * nss/Makefile: Add rules to install db-Makefile.
28710
40c1b22c
UD
28711 * nss/nss_db/db-XXX.c: Cleanup.
28712
9f2da732
UD
28713 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
28714 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
28715 GLIBC_PRIVATE.
28716 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
28717 * nss/makedb.c: Implement -g option to specify that value strings
28718 are generated and should not be added to table iterated over for
28719 get*ent calls.
28720 * nss/nss_db/db-initgroups.c: New file.
28721
82e9a1f7
UD
28722 * nss/getent.c: Add support for initgroups lookups through getgrouplist
28723 interface.
28724
c41af17e
UD
28725 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
28726 (internal_getgrouplist): Adjust to name change.
28727 Update use_initgroups_entry if this is not the first call.
28728 * nss/databases.def: Add initgroups entry.
28729
a9e836b0
UD
28730 * nss/makedb.c (compute_tables): Check result of multiple hash table
28731 sizes to minimize maximum chain length.
28732
2666d441
UD
287332011-06-14 Ulrich Drepper <drepper@gmail.com>
28734
28735 * Versions.def: Add entry for libnss_db.
28736 * shlib-versions: Likewise.
28737 * nss/Makefile: Add rules to build libnss_db.
28738 * nss/Versions: Add libnss_db information. Organize libnss_files
28739 entries better.
28740 * nss/db-Makefile: Add gshadow support. Change rules for the new
28741 makedb progra. Some minor improvements to generate smaller files.
28742 * nss/nss_db/nss_db.h: Move NSS database header data structures to
28743 here from...
28744 * nss/makedb.c: ...here.
28745 Improve database format to be smaller and require less memory at
28746 runtime.
28747 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
28748 db anymore.
28749 * nss/nss_db/db-netgrp.c: Likewise.
28750 * nss/nss_db/db-open.c: Likewise.
28751 * nss/nss_files/flies-XXX.x: Adjust comments.
28752 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
28753 * nss/nss_files/files-grp.c: Likewise.
28754 * nss/nss_files/files-hosts.c: Likewise.
28755 * nss/nss_files/files-network.c: Likewise.
28756 * nss/nss_files/files-proto.c: Likewise.
28757 * nss/nss_files/files-pwd.c: Likewise.
28758 * nss/nss_files/files-rpc.c: Likewise.
28759 * nss/nss_files/files-service.c: Likewise.
28760 * nss/nss_files/files-sgrp.c: Likewise.
28761 * nss/nss_files/files-spwd.c: Likewise.
28762 * nss/nss_db/db-alias.c: Removed.
28763 * nss/nss_db/dummy-db.h: Removed.
28764
9ee76b5a
UD
287652011-06-02 Ulrich Drepper <drepper@gmail.com>
28766
28767 * nss/makedb.c: Rewritten to not use database library.
28768 * nss/Makefile: Update to build new makedb program.
28769
c71ca1f8
AJ
287702011-06-14 Andreas Jaeger <aj@suse.de>
28771
28772 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
28773 memset declaration.
28774
3154bfb8
UD
287752011-06-10 Andreas Schwab <schwab@redhat.com>
28776
28777 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
28778 tmpbuf.
28779
b350afab
RM
287802011-06-10 Roland McGrath <roland@hack.frob.com>
28781
decd4e50
RM
28782 * Makerules (shlib.lds): Fail if the linker script comes out empty.
28783 * elf/Makefile ($(objpfx)ld.so): Likewise.
28784
5615eaf2
RM
28785 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
28786 Don't list ld.so twice in dependencies.
28787
28788 * posix/bug-regex31.c: Include <stdlib.h>.
28789
28790 * nscd/hstcache.c (cache_addhst): Remove unused variable.
28791
28792 * nis/nss_compat/compat-spwd.c
28793 (getspent_next_nss_netgr): Remove unused variable.
28794 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
28795
28796 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
28797 nonmembers" output to use the right array.
28798
28799 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
28800
28801 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
28802
28803 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
28804 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
28805 * catgets/gencat.c (read_input_file): Likewise.
28806 * locale/programs/locarchive.c (enlarge_archive): Likewise.
28807
28808 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
28809 variable definition inside #if's controlling its use.
28810
28811 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
28812
28813 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
28814
28815 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
28816
28817 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
28818 unreachable code.
28819
28820 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
28821
b68e08db
RM
28822 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
28823 * configure: Regenerated.
28824
b350afab
RM
28825 * Makerules: Revert last change.
28826 * elf/Makefile: Likewise.
28827
28368601
RM
288282011-06-09 Roland McGrath <roland@hack.frob.com>
28829
28830 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
28831 * elf/Makefile ($(objpfx)librtld.os): Likewise.
28832 (reloc-link): Likewise.
28833
11988f8f
UD
288342011-06-09 Ulrich Drepper <drepper@gmail.com>
28835
28836 * elf/Makefile: Add rules to build pldd.
28837 * elf/pldd.c: New file.
28838 * elf/pldd-xx.c: New file.
28839
e80fab37
UD
288402011-06-07 Ulrich Drepper <drepper@gmail.com>
28841
28842 * version.h: Update for 2.15 development version.
28843
9b849836
DM
288442011-06-07 David S. Miller <davem@davemloft.net>
28845
28846 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
28847 ifuncs.
28848 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
28849 elf_machine_lazy_rel): Likewise.
28850 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
28851 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
28852 elf_machine_lazy_rel): Likewise.
28853 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
28854 dl_hwcap via passed in argument.
28855 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
28856 Likewise.
28857
5a31b283
AK
288582011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28859
28860 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
28861
069e52f8
RM
288622011-06-06 Roland McGrath <roland@hack.frob.com>
28863
28864 [BZ #12849]
28865 * manual/fdl-1.1.texi: New file, verbatim from:
28866 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
28867 * manual/lgpl-2.1.texi: New file, verbatim from:
28868 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
28869 * manual/Makefile (licenses): New variable, list those new file names.
28870 (texis): Use it.
28871 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
28872
28873 * manual/fdl.texi: File removed.
28874 * manual/lesser.texi: File removed.
28875 * manual/libc.texinfo (Copying, Documentation License):
28876 Use new @include file names, put @appendix directive before @include.
28877
f16846a5
JJ
288782011-06-04 Jakub Jelinek <jakub@redhat.com>
28879
28880 [BZ #12841]
28881 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
28882 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
28883 (mq_open): Add __NTH.
28884
3d29045b
L
288852011-06-02 H.J. Lu <hongjiu.lu@intel.com>
28886
28887 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28888 Assume Intel Core i3/i5/i7 processor if AVX is available.
28889
8c297311
UD
288902011-05-31 Ulrich Drepper <drepper@gmail.com>
28891
28892 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
28893 typo.
28894
c8fc0c91
UD
288952011-05-31 Andreas Schwab <schwab@redhat.com>
28896
28897 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
28898 memory. Use alloca_account. Fix memory leak when retrying.
28899
5b27a807
UD
289002011-05-31 Ulrich Drepper <drepper@gmail.com>
28901
356f8bc6
UD
28902 * version.h (RELEASE): Bump for 2.14 release.
28903 * include/features.h (__GLIBC_MINOR__): Bump to 14.
28904
5b27a807
UD
28905 * config.make.in (RANLIB): Remove entry.
28906
01f16ab0
UD
289072011-05-30 Ulrich Drepper <drepper@gmail.com>
28908
41fce8bd
UD
28909 * po/Makefile (po-sed-cmd): Add ksh to extensions.
28910 (libc.pot): Work around missing support for .ksh extension in xgettext.
28911
4769ae77
UD
28912 [BZ #12684]
28913 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
28914 if both request failed.
28915 (send_dg): In case of server errors clear resplen or *resplen2.
28916
6b1e7d19
UD
28917 [BZ #12454]
28918 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
28919 when there are multiple maps.
28920 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
28921 (_dl_fini): Remove test here.
28922
01f16ab0
UD
28923 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
28924
b1ebd700
UD
289252011-05-29 Ulrich Drepper <drepper@gmail.com>
28926
7ae22829
UD
28927 [BZ #12350]
28928 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
28929 bit from old_res_options.
28930 (gaih_inet): Likewise.
28931
553149f6 28932 [BZ #11099]
18a84741 28933 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
28934 as signed.
28935
652ffab1
UD
28936 * resolv/res_init.c (res_setoptions): Make the code more compact.
28937
16985fd0
UD
28938 [BZ #11558]
28939 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
28940 set RES_USEVC.
28941
0464f746
UD
28942 [BZ #11634]
28943 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
28944
7d17596c
UD
28945 * malloc/malloc.h: Mark malloc hook variables as deprecated.
28946
cf6bbbd7
UD
28947 [BZ #11781]
28948 * malloc/malloc.h: Declare malloc hook variables as volatile.
28949
13f1ab36
UD
28950 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
28951 in last patch.
28952
b1ebd700
UD
28953 [BZ #11799]
28954 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 28955 raise in the comment.
80e2212d
UD
28956 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
28957 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
28958 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 28959
ce67228d
UD
289602011-05-28 Ulrich Drepper <drepper@gmail.com>
28961
8887a920
UD
28962 [BZ #12811]
28963 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
28964 grow the buffers more if it already has to be sufficient.
28965 (build_wcs_upper_buffer): Likewise.
28966 * posix/regexec.c (check_matching): Likewise.
28967 (clean_state_log_if_needed): Likewise.
28968 (extend_buffers): Don't enlarge buffers beyond size of the input
28969 buffer.
28970 Patches mostly by Emil Wojak <emil@wojak.eu>.
28971 * posix/bug-regex32.c: New file.
28972 * posix/Makefile (tests): Add bug-regex32.
28973
4f031072
UD
28974 * locale/findlocale.c (_nl_find_locale): Return right away if
28975 _nl_explode_name failed.
28976 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
28977
d0478f0c
UD
28978 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
28979
de81b246
UD
28980 * debug/xtrace.sh: Unify messages.
28981 * malloc/memusage.sh: Likewise.
28982
c738465a
UD
28983 [BZ #12813]
28984 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
28985 time symbol from vDSO. Substitute with vsyscall if not available.
28986 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
28987 __vdso_time.
28988
f1f929d7
UD
28989 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
28990 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
28991 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
28992 Add sendmmsg and internal_sendmmsg.
28993 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
28994 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
28995 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
28996
ce67228d
UD
28997 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
28998 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
28999 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
29000
e57420c6
UD
290012011-05-27 Ulrich Drepper <drepper@gmail.com>
29002
a8509ca5
UD
29003 [BZ #12813]
29004 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
29005 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
29006 available.
29007 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
29008 __vdso_getcpu.
29009
e57420c6
UD
29010 [BZ #12814]
29011 * iconvdata/Makefile (tests): Add bug-iconv9.
29012 * iconvdata/bug-iconv9.c: New file.
29013
4d07db15
AS
290142011-05-27 Andreas Schwab <schwab@redhat.com>
29015
29016 [BZ #12814]
29017 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
29018
ea486f69
JJ
290192011-05-25 Jakub Jelinek <jakub@redhat.com>
29020
29021 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
29022 (struct user_regs_struct): Change intcs field back to cs.
29023
6f038433
UD
290242011-05-25 Ulrich Drepper <drepper@gmail.com>
29025
29026 * po/ja.po: Update from translation team.
29027
67f86a25
UD
290282011-05-23 Ulrich Drepper <drepper@gmail.com>
29029
29030 [BZ #12795]
29031 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
29032 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
29033
def7fbd6
AS
290342011-05-20 Andreas Schwab <schwab@redhat.com>
29035
29036 * stdlib/longlong.h: Update from GCC.
29037
f50ef8f1
AS
290382011-05-23 Andreas Schwab <schwab@redhat.com>
29039
29040 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
29041 parameter name.
29042 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
29043 Add parameter name.
29044 (__sysconf): Pass it down.
29045
de7ce8f1
UD
290462011-05-22 Ulrich Drepper <drepper@gmail.com>
29047
f2962a71
UD
29048 [BZ #12671]
29049 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
29050 some situations.
29051 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
29052 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
29053 add in in __libc_use_alloca calls. Adjust callers.
29054 (glob): Use malloc in some situations.
29055
de7ce8f1
UD
29056 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
29057 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
29058 pltexit.
29059
aec84f53
UD
290602011-05-21 Ulrich Drepper <drepper@gmail.com>
29061
05bb4a68
UD
29062 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
29063 and CLOCK_BOOTTIME_ALARM.
29064
7ea72f99
UD
29065 [BZ #12782]
29066 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
29067 is returned.
29068
7e4afad5
UD
29069 * string/_strerror.c (__strerror_r): Print negative errors as signed
29070 numbers.
29071
8e211fec
UD
29072 [BZ #12777]
29073 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
29074 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
29075 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
29076
f7d82dc9
UD
29077 * configure.in: Fix typo in redirection and correct removal of test
29078 files in two cases.
29079
cc9e536d
UD
29080 [BZ #12788]
29081 * locale/setlocale.c (new_composite_name): Fix test to check for
29082 identical name of all categories.
29083
aec84f53
UD
29084 [BZ #12792]
29085 * libio/filedoalloc.c (local_isatty): New function.
29086 (_IO_file_doallocate): Use local_isatty.
29087 * stdio-common/perror.c (perror): In case a new stream is used
29088 forward the stream error.
29089 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
29090 error flag.
29091
78e64fdc
RT
290922011-05-20 Ulrich Drepper <drepper@gmail.com>
29093
34a9094f
UD
29094 [BZ #11869]
29095 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
29096 alloca.
29097 * include/alloca.h (extend_alloca_account): Define.
29098
78e64fdc
RT
29099 [BZ #11857]
29100 * posix/regex.h: Fix comments with documentation of user-accessible
29101 fields after compilation and describe correct free'ing of pattern
29102 after re_compile_pattern.
29103 Patch by Reuben Thomas <rrt@sc3d.org>.
29104
457bddfc
RA
291052011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
29106
29107 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
29108 and -mno-altivec to prevent the compiler from using Altivec and/or
29109 VSX instructions when the corresponding registers are not available.
29110
a4527b51
AS
291112011-05-19 Andreas Schwab <schwab@redhat.com>
29112
29113 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
29114
ed690b2f
UD
291152011-05-19 Ulrich Drepper <drepper@gmail.com>
29116
29117 * libio/freopen.c (freopen): Use __dup2, not dup2.
29118 * libio/freopen64.c (freopen64): Likewise.
29119
8db73634
L
291202011-05-17 H.J. Lu <hongjiu.lu@intel.com>
29121
29122 [BZ #12775]
29123 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
29124 * math/Makefile (tests): Add test-powl.
29125 (CFLAGS-test-powl.c): Define.
29126 * math/test-powl.c: New file.
29127
0a197a9d
L
291282011-05-16 H.J. Lu <hongjiu.lu@intel.com>
29129
29130 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
29131
ee30c380
UD
291322011-05-17 Ulrich Drepper <drepper@gmail.com>
29133
29134 [BZ #11837]
29135 * iconvdata/gb18030.c: Update to GB18020-2005.
29136
6ce75379
UD
291372011-05-16 Ulrich Drepper <drepper@gmail.com>
29138
a4b89fd8
AR
29139 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
29140 RE_SYNTAX_POSIX_AWK): Update to match recent development.
29141 Patch by Aharon Robbins <arnold@skeeve.com>.
29142
ea389b12
UD
29143 [BZ #11892]
29144 * stdlib/putenv.c (putenv): Don't always create copy of the variable
29145 on the stack.
29146
68a3f91f
UD
29147 [BZ #11895]
29148 * misc/pselect.c (__pselect): Handle timeout value errors hidden
29149 through underflows.
29150
15cc7dd1
UD
29151 [BZ #12766]
29152 * misc/error.c (error_at_line): Ensure file_name and old_file_name
29153 point to strings before performing equality test for error_one_per_line
29154 mode.
29155
f3799213
UD
29156 [BZ #11697]
29157 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
29158
d79a9c94
UD
29159 [BZ #11820]
29160 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
29161 (struct user_fpregs_struct): Avoid __uint*_t types.
29162
56e5eb46
UD
29163 [BZ #6420]
29164 * malloc/mtrace.c (tr_where): Add additional parameter to point to
29165 symbol info. Use it instead of calling _dl_addr locally.
29166 (lock_and_info): New function.
29167 (tr_freehook): Call lock_and_info and pass symbol info as additional
29168 parameter to tr_where.
29169 (tr_mallochook): Likewise.
29170 (tr_reallochook): Likewise.
29171 (tr_memalignhook): Likewise.
29172
6ce75379
UD
29173 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
29174 used and couldn't be at all thread-safe.
29175
f8a3b5bf
UD
291762011-05-15 Ulrich Drepper <drepper@gmail.com>
29177
94b7cc37
UD
29178 * libio/freopen.c (freopen): Don't close old file descriptor
29179 before the new one is opened. Instead dup the new file descriptor
29180 to the old one after the new stream is created.
29181 * libio/freopen64.c (freopen64): Likewise.
29182 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
29183 * libio/fileops.c (_IO_new_file_close_it): Handle new
29184 _IO_FLAGS2_NOCLOSE flag.
29185 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
29186 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
29187 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
29188 _IO_FLAGS2_NOCLOSE flag.
29189 * include/unistd.h: Add hidden_proto for dup3.
29190 Define __have_dup3.
29191 * io/dup3.c: Define hidden symbol.
29192 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
29193
bd25564e
UD
29194 [BZ #7101]
29195 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
29196 when an incomplete long option is used.
29197 * posix/tst-getopt_long1.c: New file.
29198 * posix/Makefile (tests): Add tst-getopt_long1.
29199
c84cfef4
UD
29200 [BZ #10138]
29201 * scripts/config.guess: Update from autoconf-2.68.
29202 * scripts/config.sub: Likewise.
29203
3b85df27
UD
29204 [BZ #10157]
29205 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
29206 tests into ...
29207 (has_cpuclock): ...this. New function.
29208 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
29209 macro here based on has_cpuclock code.
29210
15a856b1
UD
29211 [BZ #10149]
29212 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29213 First byte (not low byte) is now always NUL.
29214 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
29215
05f399e6
UD
29216 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29217 Use non-cancelable interfaces.
29218
10a52685 29219 [BZ #9809]
94ecc67d
UD
29220 * locale/iso-639.def: Add entry for Sorani.
29221
f8a3b5bf
UD
29222 [BZ #11901]
29223 * include/stdlib.h: Move include protection to the right place.
29224 Define abort_msg_s. Declare __abort_msg with it.
29225 * stdlib/abort.c (__abort_msg): Adjust type.
29226 * assert/assert.c (__assert_fail_base): New function. Majority
29227 of code from __assert_fail. Allocate memory for __abort_msg with
29228 mmap.
29229 (__assert_fail): Now call __assert_fail_base.
29230 * assert/assert-perr.c: Remove bulk of implementation. Use
29231 __assert_fail_base.
29232 * include/assert.hL Declare __assert_fail_base.
29233 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
29234 mmap.
29235 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
29236
1af4e298
UD
292372011-05-14 Ulrich Drepper <drepper@gmail.com>
29238
f8a3b5bf 29239 [BZ #11952]
d26dfc60
MG
29240 [BZ #12453]
29241 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
29242 until all modules are registered in the DTV.
29243 * elf/Makefile: Add rules to build and run tst-tls19.
29244 * elf/tst-tls19.c: New file.
29245 * elf/tst-tls19mod1.c: New file.
29246 * elf/tst-tls19mod2.c: New file.
29247 * elf/tst-tls19mod3.c: New file.
29248 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
29249
2fc54d6f
UD
29250 [BZ #12083]
29251 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
29252 correctly.
29253
98d76b46
UD
29254 [BZ #12601]
29255 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
29256 two-byte sequence errors.
29257 * iconvdata/Makefile (tests): Add bug-iconv8.
29258 * iconvdata/bug-iconv8.c: New file.
29259
da3c19ef
UD
29260 [BZ #12626]
29261 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
29262 buf2 definition.
29263
ca408c15
UD
29264 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
29265
d6f67f7d
UD
29266 [BZ #12432]
29267 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
29268 (dummy_getcfa): New function.
29269 (init): Get _Unwind_GetCFA address, use dummy if not found.
29270 (backtrace_helper): In recursion check, also check whether CFA changes.
29271 (__backtrace): Completely initialize arg.
29272
1af4e298 29273 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
29274 storing incomplete byte sequence in state object. Avoid testing for
29275 guaranteed too small input if we know there is enough data available.
1af4e298 29276
da62f81b
AS
292772011-05-11 Andreas Schwab <schwab@redhat.com>
29278
29279 * Makeconfig (+link-pie): Indent.
29280 * Rules (binaries-pie): Define if $(have-fpie) and
29281 $(build-shared).
29282 (binaries-shared): Also filter out $(binaries-pie).
29283 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
29284 * nscd/Makefile (others-pie): Add nscd.
29285 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
29286 ($(objpfx)nscd): Remove command override.
29287 * login/Makefile (others-pie): Add pt_chown.
29288 ($(objpfx)pt_chown): Remove command override.
29289 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
29290 remove command overrides.
29291
fcabc0f8
UD
292922011-05-13 Ulrich Drepper <drepper@gmail.com>
29293
20030ae6
UD
29294 * libio/tst_putwc.c: Fix error messages.
29295
fcabc0f8
UD
29296 [BZ #12724]
29297 * libio/fileops.c (_IO_new_file_close_it): Always flush when
29298 currently writing and seek to current position when not.
29299 * libio/Makefile (tests): Add bug-fclose1.
29300 * libio/bug-fclose1.c: New file.
29301
320a5dc0
PB
293022011-05-12 Ulrich Drepper <drepper@gmail.com>
29303
29304 [BZ #12511]
29305 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
29306 don't set DF_1_NODELETE here.
29307 (do_lookup_x): When entering new entry test for copy relocation
29308 and if necessary set DF_1_NODELETE flag.
29309 * elf/tst-unique4.cc: New file.
29310 * elf/tst-unique4.h: New file.
29311 * elf/tst-unique4lib.cc: New file.
29312 * elf/Makefile: Add rules to build and run tst-unique4.
29313 Patch by Piotr Bury <pbury@goahead.com>.
29314
22836f52
UD
293152011-05-11 Ulrich Drepper <drepper@gmail.com>
29316
f574184a
UD
29317 [BZ #12052]
29318 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
29319
e1fb097f
UD
29320 [BZ #12625]
29321 * misc/mntent_r.c (addmntent): Flush the stream after the output
29322
22836f52
UD
29323 [BZ #12393]
29324 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
29325 (is_trusted_path_normalize): Skip initial colon. Append slash
29326 to empty buffer. Duplicate is_trusted_path code but allow
29327 constructed patch to be prefix.
29328 (is_dst): Allow $ORIGIN followed by /.
29329 (_dl_dst_substitute): Correct clearing of check_for_trusted.
29330 Correct testing of result of is_trusted_path_normalize
29331 (decompose_rpath): Fix warning.
29332
7b3b0b2a
UD
293332011-05-10 Ulrich Drepper <drepper@gmail.com>
29334
29335 [BZ #11257]
29336 * grp/initgroups.c (internal_getgrouplist): When we found the service
29337 list through the initgroups entry in nsswitch.conf do not always
29338 continue on a successful lookup. Don't always use the
eac80ce2 29339 __nss_group_database value if it is set.
7b3b0b2a
UD
29340 * nss/nsswitch.conf (initgroups): Change action for successful db
29341 lookup to continue for compatibility.
29342
2a81eaa5
UD
293432011-05-09 Ulrich Drepper <drepper@gmail.com>
29344
be97a69e
UD
29345 [BZ #11532]
29346 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
29347 and CP774 modules.
29348 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
29349 and CP774 modules.
29350 * iconvdata/tst-tables.sh: Likewise.
29351 * iconvdata/cp770.c: New file.
29352 * iconvdata/cp771.c: New file.
29353 * iconvdata/cp772.c: New file.
29354 * iconvdata/cp773.c: New file.
29355 * iconvdata/cp774.c: New file.
29356 * iconvdata/testdata/CP770: New file.
29357 * iconvdata/testdata/CP770..UTF8: New file.
29358 * iconvdata/testdata/CP771: New file.
29359 * iconvdata/testdata/CP771..UTF8: New file.
29360 * iconvdata/testdata/CP772: New file.
29361 * iconvdata/testdata/CP772..UTF8: New file.
29362 * iconvdata/testdata/CP773: New file.
29363 * iconvdata/testdata/CP773..UTF8: New file.
29364 * iconvdata/testdata/CP774: New file.
29365 * iconvdata/testdata/CP774..UTF8: New file.
29366
29367 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
29368 END CHARMAP line.
29369 * iconvdata/gen-8bit-gap.sh: Likewise.
29370 * iconvdata/gen-8bit.sh: Likewise.
29371
c1e9e399
UD
29372 * locale/iso-639.def: Add ary entry.
29373
24c55fb3 29374 [BZ #11258]
96b4b1b0
UD
29375 * locale/C-translit.h.in: Add U20A1 transliteration.
29376
bdc2f971
KB
29377 [BZ #12178]
29378 * locale/iso-639.def: Add wae entry.
29379 Patch by Kevin Bortis <bortis@translate-wae.ch>.
29380
2952b117
UD
29381 [BZ #12545]
29382 * locale/programs/localedef.c (construct_output_path): Use ssize_t
29383 for n.
29384
2a81eaa5
UD
29385 [BZ #12711]
29386 * locale/C-translit.h.in: Add entry for U20B9.
29387 Patch by pravin.d.s@gmail.com.
29388
28377d1b
UD
293892011-05-08 Ulrich Drepper <drepper@gmail.com>
29390
7fb90fb8
UD
29391 [BZ #12713]
29392 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
29393 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
29394 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
29395 in rtld. Use *stat64.
7fb90fb8 29396 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 29397 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 29398 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
29399 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
29400 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
29401 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
29402 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
29403 __fstatat64 macros.
7fb90fb8
UD
29404 * include/dirent.h: Add libc_hidden_proto for rewinddir.
29405 * dirent/rewinddir.c: Add libc_hidden_def.
29406 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 29407 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 29408
28377d1b
UD
29409 * include/dirent.h (__alloc_dir): Add flags parameter.
29410 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
29411 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
29412 __alloc_dir.
29413 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
29414 from fdopendir if O_CLOEXEC is already set.
29415
66bdbaa4
AM
294162011-03-15 Alan Modra <amodra@gmail.com>
29417
29418 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
29419 l_tls_firstbyte_offset non-zero. Save padding offset in
29420 l_tls_firstbyte_offset for later use.
29421 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
29422 freeing static tls block.
29423
95721191
JN
294242011-03-05 Jonathan Nieder <jrnieder@gmail.com>
29425
29426 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
29427 where #ifdef was intended. The intent is to prevent ARG_MAX from
29428 being defined by the kernel headers.
29429
f87dfb1f
UD
294302011-05-07 Ulrich Drepper <drepper@gmail.com>
29431
29432 [BZ #12734]
29433 * resolv/resolv.h: Define RES_NOTLDQUERY.
29434 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
29435 no-tld-query and set RES_NOTLDQUERY.
29436 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
29437 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
29438 modern BIND to search name as TLD unless forbidden.
29439
47c3cd7a
UD
294402011-05-07 Petr Baudis <pasky@suse.cz>
29441 Ulrich Drepper <drepper@gmail.com>
29442
29443 [BZ #12393]
29444 * elf/dl-load.c (fillin_rpath): Move trusted path check...
29445 (is_trusted_path): ...to here.
c1e9ea35 29446 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 29447 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 29448 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 29449
8a35c912
PP
294502011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
29451
29452 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
29453 __BEGIN/__END_DECLS.
29454
acd41f47
UD
294552011-05-06 Ulrich Drepper <drepper@gmail.com>
29456
29457 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
29458 NSS_STATUS_NOTFOUND if no record was found.
29459
597df647
AS
294602011-05-05 Andreas Schwab <schwab@redhat.com>
29461
29462 * sunrpc/Makefile (headers): Add rpc/netdb.h.
29463 (headers-not-in-tirpc): Remove rpc/netdb.h
29464 * resolv/netdb.h: Revert last change.
29465
b9af1301
PP
294662011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
29467
29468 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
29469 circular dependency between libgcc.a and libc.a.
29470
4e34d5f5
AS
294712011-05-05 Andreas Schwab <schwab@redhat.com>
29472
29473 * resolv/netdb.h: Don't include <rpc/netdb.h>.
29474 * nis/Makefile: Don't install rpcsvc/*.
29475 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
29476 instead of <rpc/types.h>.
29477 (MAXHOSTNAMELEN): Define.
29478
00ee369c
AS
294792011-05-03 Andreas Schwab <schwab@redhat.com>
29480
29481 * elf/ldconfig.c (add_dir): Don't crash on empty path.
29482
0b592a30
MB
294832011-04-28 Maciej Babinski <mbabinski@google.com>
29484
29485 [BZ #12714]
29486 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
29487 gethostbyname4_r when IPv6 results are possible.
29488
6e04cbbe
UD
294892011-05-02 Ulrich Drepper <drepper@gmail.com>
29490
29491 [BZ #12723]
29492 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
29493 _PC_PIPE_BUF handling.
29494
e4ecafe0
BH
294952011-04-30 Bruno Haible <bruno@clisp.org>
29496
29497 [BZ #12717]
29498 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
29499 * resolv/netdb.h (getnameinfo): Change type of flags parameter
29500 to 'int'.
29501 * inet/getnameinfo.c (getnameinfo): Likewise.
29502
125ee683
UD
295032011-04-29 Ulrich Drepper <drepper@gmail.com>
29504
29505 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
29506 to groups setting in database lookup.
29507 * nss/nsswitch.conf: Add initgroups entry.
29508
b722481a
EB
295092011-04-22 Ulrich Drepper <drepper@gmail.com>
29510
29511 [BZ #12685]
29512 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
29513 mode string.
29514 Patch by Eric Blake <eblake@redhat.com>.
29515
4df46dbd
L
295162011-04-20 H.J. Lu <hongjiu.lu@intel.com>
29517
29518 * sunrpc/Makefile (need-export-routines): Add svc_run.
29519 (routines): Remove svc_run.
29520 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
29521 * sunrpc/clnt_perr.c (clnt_perrno): Export.
29522 * sunrpc/svc_run.c (svc_run): Likewise.
29523 * sunrpc/svc_udp.c (svcudp_create): Likewise.
29524
e84142d2
UD
295252011-04-21 Ulrich Drepper <drepper@gmail.com>
29526
29527 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
29528 problem in reallocation in last patch.
29529
877175d8
UD
295302011-04-20 Ulrich Drepper <drepper@gmail.com>
29531
29532 * sunrpc/Makefile: Move inclusion of Rules.
29533
ab8eed78
UD
295342011-04-19 Ulrich Drepper <drepper@gmail.com>
29535
29536 * nss/nss_files/files-initgroups.c: New file.
29537 * nss/Makefile (libnss_files-routines): Add files-initgroups.
29538 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
29539 _nss_files_initgroups_dyn.
29540
e3d8f584
RS
295412011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
29542
29543 * elf/elf.h (R_ARM_IRELATIVE): Define.
29544
af190f45
UD
295452011-04-19 Ulrich Drepper <drepper@gmail.com>
29546
29547 * po/ru.po: Update from translation team.
29548
53cf59ef
UD
295492011-04-17 Ulrich Drepper <drepper@gmail.com>
29550
29551 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
29552 dependencies.
29553
4c559bcd
MF
295542011-02-06 Mike Frysinger <vapier@gentoo.org>
29555
29556 [BZ #12653]
29557 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
29558 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
29559 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
29560 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
29561 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
29562
4420675c
AS
295632011-03-28 Andreas Schwab <schwab@linux-m68k.org>
29564
29565 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
29566 differing bytes.
29567 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
29568 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
29569 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29570
75ea32ab
UD
295712011-04-17 Ulrich Drepper <drepper@gmail.com>
29572
29573 [BZ #12420]
29574 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
29575 storing it.
29576 * stdlib/bug-getcontext.c: New file.
29577 * stdlib/Makefile: Add rules to build and run bug-getcontext.
29578
27390476
AK
295792011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29580
29581 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
29582 instructions into .machine "z9-109".
29583 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
29584 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
29585
10442705
AK
295862011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29587
29588 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
29589 between environment variables and auxiliary vector.
29590
7b57bfe5
UD
295912011-04-16 Ulrich Drepper <drepper@gmail.com>
29592
29593 * Makefile: Add rules to build linkobj/libc.so.
29594 * include/libc-symbols.h: Define libc_hidden_nolink.
29595 * include/rpc/auth.h: Mark functions which are to be hidden.
29596 * include/rpc/auth_des.h: Likewise.
29597 * include/rpc/auth_unix.h: Likewise.
29598 * include/rpc/clnt.h: Likewise.
29599 * include/rpc/des_crypt.h: Likewise.
29600 * include/rpc/key_prot.h: Likewise.
29601 * include/rpc/pmap_clnt.h: Likewise.
29602 * include/rpc/pmap_prot.h: Likewise.
29603 * include/rpc/pmap_rmt.h: Likewise.
29604 * include/rpc/rpc_msg.h: Likewise.
29605 * include/rpc/svc.h: Likewise.
29606 * include/rpc/svc_auth.h: Likewise.
29607 * include/rpc/xdr.h: Likewise.
29608 * nis/Makefile: Link all DSOs against linkobj/libc.so.
29609 * nss/Makefile: Likewise.
29610 * sunrpc/Makefile: Don't install headers. Build library with normal
29611 entry points. Don't build rpcinfo. Link RPC tests appropriately.
29612 * sunrpc/auth_des.c: Hide exported symbols by default, export some
29613 for the compat linking library. Remove use of INTDEF/INTUSE.
29614 * sunrpc/auth_none.c: Likewise.
29615 * sunrpc/auth_unix.c: Likewise.
29616 * sunrpc/authdes_prot.c: Likewise.
29617 * sunrpc/authuxprot.c: Likewise.
29618 * sunrpc/clnt_gen.c: Likewise.
29619 * sunrpc/clnt_perr.c: Likewise.
29620 * sunrpc/clnt_raw.c: Likewise.
29621 * sunrpc/clnt_simp.c: Likewise.
29622 * sunrpc/clnt_tcp.c: Likewise.
29623 * sunrpc/clnt_udp.c: Likewise.
29624 * sunrpc/clnt_unix.c: Likewise.
29625 * sunrpc/des_crypt.c: Likewise.
29626 * sunrpc/des_soft.c: Likewise.
29627 * sunrpc/get_myaddr.c: Likewise.
29628 * sunrpc/key_call.c: Likewise.
29629 * sunrpc/key_prot.c: Likewise.
29630 * sunrpc/netname.c: Likewise.
29631 * sunrpc/pm_getmaps.c: Likewise.
29632 * sunrpc/pm_getport.c: Likewise.
29633 * sunrpc/pmap_clnt.c: Likewise.
29634 * sunrpc/pmap_prot.c: Likewise.
29635 * sunrpc/pmap_prot2.c: Likewise.
29636 * sunrpc/pmap_rmt.c: Likewise.
29637 * sunrpc/publickey.c: Likewise.
29638 * sunrpc/rpc_cmsg.c: Likewise.
29639 * sunrpc/rpc_common.c: Likewise.
29640 * sunrpc/rpc_dtable.c: Likewise.
29641 * sunrpc/rpc_prot.c: Likewise.
29642 * sunrpc/rpc_thread.c: Likewise.
29643 * sunrpc/rtime.c: Likewise.
29644 * sunrpc/svc.c: Likewise.
29645 * sunrpc/svc_auth.c: Likewise.
29646 * sunrpc/svc_authux.c: Likewise.
29647 * sunrpc/svc_raw.c: Likewise.
29648 * sunrpc/svc_run.c: Likewise.
29649 * sunrpc/svc_simple.c: Likewise.
29650 * sunrpc/svc_tcp.c: Likewise.
29651 * sunrpc/svc_udp.c: Likewise.
29652 * sunrpc/svc_unix.c: Likewise.
29653 * sunrpc/svcauth_des.c: Likewise.
29654 * sunrpc/xcrypt.c: Likewise.
29655 * sunrpc/xdr.c: Likewise.
29656 * sunrpc/xdr_array.c: Likewise.
29657 * sunrpc/xdr_float.c: Likewise.
29658 * sunrpc/xdr_intXX_t.c: Likewise.
29659 * sunrpc/xdr_mem.c: Likewise.
29660 * sunrpc/xdr_rec.c: Likewise.
29661 * sunrpc/xdr_ref.c: Likewise.
29662 * sunrpc/xdr_sizeof.c: Likewise.
29663 * sunrpc/xdr_stdio.c: Likewise.
29664
e6c61494
UD
296652011-04-10 Ulrich Drepper <drepper@gmail.com>
29666
29667 [BZ #12650]
29668 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
29669 * sysdeps/ia64/dl-tls.h: Likewise.
29670 * sysdeps/powerpc/dl-tls.h: Likewise.
29671 * sysdeps/s390/dl-tls.h: Likewise.
29672 * sysdeps/sh/dl-tls.h: Likewise.
29673 * sysdeps/sparc/dl-tls.h: Likewise.
29674 * sysdeps/x86_64/dl-tls.h: Likewise.
29675 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
29676
34fe483e
AS
296772011-03-14 Andreas Schwab <schwab@redhat.com>
29678
29679 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
29680 rpath element also skip the following colon.
29681 (expand_dynamic_string_token): Add is_path parameter and pass
29682 down to DL_DST_REQUIRED and _dl_dst_substitute.
29683 (decompose_rpath): Call expand_dynamic_string_token with
29684 non-zero is_path. Ignore empty rpaths.
29685 (_dl_map_object_from_fd): Call expand_dynamic_string_token
29686 with zero is_path.
29687
f12a32e6
AS
296882011-04-08 Andreas Schwab <schwab@linux-m68k.org>
29689
29690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
29691 Make cancelable.
29692
38a7d692
UD
296932011-04-09 Ulrich Drepper <drepper@gmail.com>
29694
29695 [BZ #12655]
29696 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
29697 Patch by Filipe David Manana <fdmanana@apache.org>.
29698
e451d22b
AS
296992011-04-07 Andreas Schwab <schwab@redhat.com>
29700
29701 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
29702 Maintain aligned stack.
29703 (CHECK_RSP): Remove unused macro.
29704
dedc7c7b
UD
297052011-04-03 Ulrich Drepper <drepper@gmail.com>
29706
29707 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
29708 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
29709
94521213
UD
297102011-04-02 Ulrich Drepper <drepper@gmail.com>
29711
29712 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
29713
8cb700c0 29714 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 29715
0354e355
L
297162011-03-26 H.J. Lu <hongjiu.lu@intel.com>
29717
29718 [BZ #12518]
29719 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
29720 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
29721 * sysdeps/x86_64/memmove.c: New file.
29722 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
29723 (memcpy): Renamed to ...
29724 (__new_memcpy): This.
29725 (memcpy): Provide GLIBC_2_14 memcpy.
29726 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
29727 (memcpy): Provide GLIBC_2_2_5 memcpy.
29728
8593482f
UD
297292011-04-01 Ulrich Drepper <drepper@gmail.com>
29730
29731 [BZ #12631]
29732 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
29733
81a5726b
AS
297342011-03-30 Andreas Schwab <schwab@redhat.com>
29735
29736 * misc/syncfs.c: New file.
29737 * misc/Makefile (routines): Add syncfs.
29738 * posix/unistd.h: Declare syncfs.
29739 * sysdeps/unix/syscalls.list: Add syncfs.
29740
00e5419f
AS
297412011-04-01 Andreas Schwab <schwab@redhat.com>
29742
29743 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
29744 open_by_handle_at.
29745 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
29746 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
29747 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29748 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
29749 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29750 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
29751 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
29752
748876bf
UD
297532011-04-01 Ulrich Drepper <drepper@gmail.com>
29754
658e451d
UD
29755 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
29756 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
29757 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
29758 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29759 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
29760 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29761 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
29762
748876bf
UD
29763 * io/Makefile: Compile fallocate.c, fallocate64.c, and
29764 sync_file_range.c with -fexceptions.
29765 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
29766 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
29767 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
29768 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
29769 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
29770 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
29771 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
29772 sync_file_range as cancellation point
29773 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
29774 now a wrapper around __call_sync_file_range with cancellation handling.
29775 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
29776 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
29777 function name to __call_sync_file_range.
29778 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
29779 Add call_sync_file_range.
748876bf 29780
6e63d5e1
AS
297812011-04-01 Andreas Schwab <schwab@redhat.com>
29782
29783 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 29784 bits/timex.h.
6e63d5e1 29785
46998f74
UD
297862011-04-01 Ulrich Drepper <drepper@gmail.com>
29787
4c1423ed
UD
29788 * iconv/iconv.h: Fix typo in comment.
29789 * io/fcntl.h: Likewise.
29790 * libio/stdio.h: Likewise.
29791 * posix/spawn.h: Likewise.
29792 * posix/unistd.h: Likewise.
29793 * stdlib/stdlib.h: Likewise.
29794 * time/time.h: Likewise.
29795 * wcsmbs/wchar.h: Likewise.
29796
158648c0
UD
29797 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
29798 open_by_handle): Add.
29799 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
29800 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
29801 Augment a few comments.
29802 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
29803 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29804 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
29805 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29806 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
29807 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
29808 open_by_handle.
29809
46998f74
UD
29810 * io/fcntl.h (AT_EMPTY_PATH): Define.
29811
83fe108b
UD
298122011-03-30 Ulrich Drepper <drepper@gmail.com>
29813
29814 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
29815 * sysdeps/unix/sysv/linux/bits/time.h: New file.
29816 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
29817 to...
29818 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
29819 * Versions.def: Add GLIBC_2.14.
29820 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
29821 Export.
83fe108b 29822
bb242059
UD
298232011-03-22 Ulrich Drepper <drepper@gmail.com>
29824
29825 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
29826 round counter.
29827 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
29828
c97a1282
L
298292011-03-20 H.J. Lu <hongjiu.lu@intel.com>
29830
29831 [BZ #12597]
29832 * string/test-strncmp.c (do_page_test): New function.
29833 (check2): Likewise.
29834 (test_main): Call check2.
29835 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
29836
2a115601
UD
298372011-03-20 Ulrich Drepper <drepper@gmail.com>
29838
29839 [BZ #12587]
29840 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
29841 Handle cache information in CPU leaf 4.
29842 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
29843
8126d904
UD
298442011-03-18 Ulrich Drepper <drepper@gmail.com>
29845
042c49c6 29846 [BZ #12583]
8126d904
UD
29847 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
29848 character representation.
29849 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
29850
ccfe366e
RA
298512011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
29852
29853 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
29854 END(__isnan) to END(__isnanf) to match function entry point/label
29855 EALIGN(__isnanf,...).
29856
c6e13027
JJ
298572011-03-10 Jakub Jelinek <jakub@redhat.com>
29858
29859 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
29860
33f85a3f
UD
298612011-03-10 Ulrich Drepper <drepper@gmail.com>
29862
028478fa
UD
29863 [BZ #12510]
29864 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
29865 copy from the symbol referenced in the relocation to initialize the
29866 used variable.
29867 Patch by Piotr Bury <pbury@goahead.com>.
29868 * elf/Makefile: Add rules to build and tst-unique3.
29869 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
29870 * elf/tst-unique3.cc: New file.
29871 * elf/tst-unique3.h: New file.
29872 * elf/tst-unique3lib.cc: New file.
29873 * elf/tst-unique3lib2.cc: New file.
29874
33f85a3f
UD
29875 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
29876
03592fc7
MF
298772011-03-10 Mike Frysinger <vapier@gentoo.org>
29878
29879 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
29880 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
29881 to _start.
03592fc7 29882
6a5ee102
UD
298832011-03-06 Ulrich Drepper <drepper@gmail.com>
29884
29885 * elf/dl-load.c (_dl_map_object): If we are looking for the first
29886 to-be-loaded object along a path to loader is ld.so.
29887
7e4ba49c
HJ
298882011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
29889 Ulrich Drepper <drepper@gmail.com>
29890
29891 * sysdeps/x86_64/memset.S: After aligning destination, code
29892 branches to different locations depending on the value of
29893 misalignment, when multiarch is enabled. Fix this.
29894
298952011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
29896
29897 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
29898 Set _x86_64_preferred_memory_instruction for AMD processsors.
29899 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29900 Set bit_Prefer_SSE_for_memop for AMD processors.
29901
13a804de
UD
299022011-03-04 Ulrich Drepper <drepper@gmail.com>
29903
29904 * libio/fmemopen.c (fmemopen): Optimize a bit.
29905
9d25c392
AS
299062011-03-03 Andreas Schwab <schwab@redhat.com>
29907
29908 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
29909
a5543c6a
RM
299102011-03-03 Roland McGrath <roland@redhat.com>
29911
29912 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
29913
012d35f7
DM
299142011-02-28 Aurelien Jarno <aurelien@aurel32.net>
29915
7e4ba49c 29916 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
29917 __bzero_ultra1 instead of __memset_ultra1.
29918
4bff6e01
AS
299192011-02-23 Andreas Schwab <schwab@redhat.com>
29920 Ulrich Drepper <drepper@gmail.com>
29921
29922 [BZ #12509]
29923 * include/link.h (struct link_map): Add l_orig_initfini.
29924 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
29925 returning unsuccessfully.
29926 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
29927 close of a file loaded at startup, restore the original l_initfini
29928 list.
29929 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
29930 list, store the pointer.
29931 * elf/Makefile ($(objpfx)noload-mem): New rule.
29932 (noload-ENV): Define.
29933 (tests): Add $(objpfx)noload-mem.
29934 * elf/noload.c: Include <memcheck.h>.
29935 (main): Call mtrace. Close all opened handles.
29936
f2092faf
AS
299372011-02-17 Andreas Schwab <schwab@redhat.com>
29938
29939 [BZ #12454]
29940 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
29941 dependencies are missing.
29942
6c8a2e88
ST
299432011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
29944
f2092faf 29945 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
29946 Hurd needs munmap.
29947 * sysdeps/mach/hurd/ifreq.h: New file.
29948
84a42118
PB
299492011-01-27 Petr Baudis <pasky@suse.cz>
29950 Ulrich Drepper <drepper@gmail.com>
29951
071f805e 29952 [BZ 12445]#
84a42118
PB
29953 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
29954 to extend_alloca().
29955 * stdio-common/bug23.c: New file.
29956 * stdio-common/Makefile (tests): Add bug23.
29957
e23fe25b
AS
299582010-09-28 Andreas Schwab <schwab@redhat.com>
29959 Ulrich Drepper <drepper@gmail.com>
29960
29961 [BZ #12489]
29962 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
29963 before performing relro protection. At old place add assertion
29964 to make sure nothing changed.
29965
d3f02e10
NS
299662011-02-17 Nathan Sidwell <nathan@codesourcery.com>
29967 Glauber de Oliveira Costa <glommer@gmail.com>
29968
29969 * elf/elf.h: Add new ARM TLS relocs.
29970
d55fd7a5
RA
299712011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
29972
29973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
29974 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
29975 cast from r3.
29976 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
29977 'tests' variable.
29978 * sysdeps/wordsize-64/tst-writev.c: New file.
29979
2206397e
RA
299802011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
29981
29982 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
29983 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
29984 insns in _dl_start to prevent a TOC reference before relocs are
29985 resolved.
29986
e9433893
UD
299872011-02-15 Ulrich Drepper <drepper@gmail.com>
29988
29989 [BZ #12469]
29990 * Makeconfig: Remove RANLIB definition.
29991 * Makerules: Don't use RANLIB.
29992 * aclocal.m4: Remove ranlib test.
29993 * configure.in: No need to check for ranlib.
29994 * elf/rtld-Rules: Don't use RANLIB.
29995
f75286c6
ST
299962011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
29997
8e31c82d
ST
29998 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
29999 protection macro.
30000 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
30001 inclusion protection macro.
30002
f75286c6
ST
30003 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
30004 SIGRTMIN and SIGRTMAX and print information in that case only when
30005 SIGRTMIN is defined.
30006
c1d0e639
JJ
300072011-02-11 Jakub Jelinek <jakub@redhat.com>
30008
30009 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
30010 arginfo fn returning -1.
30011
30012 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
30013 and thousands string is zero terminated.
30014
edf9294e
AS
300152011-02-03 Andreas Schwab <schwab@redhat.com>
30016
30017 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
30018 sysdeps/unix/sysv/linux/bits/socket.h.
30019
2b7e92df
ST
300202011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
30021
edf9294e
AS
30022 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
30023 (__CPU_COUNT): Remove old macros.
30024 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
30025 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
30026 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
30027 (__sched_cpualloc, __sched_cpufree): Add declarations.
30028
a4c7ea7b
UD
300292011-02-05 Ulrich Drepper <drepper@gmail.com>
30030
30031 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
30032 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
30033 * nscd/aicache.c (addhstaiX): Return timeout of added value.
30034 (readdhstai): Return value of addhstaiX call.
30035 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
30036 (addgrbyX): Return value returned by cache_addgr.
30037 (readdgrbyname): Return value returned by addgrbyX.
30038 (readdgrbygid): Likewise.
30039 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
30040 (addpwbyX): Return value returned by cache_addpw.
30041 (readdpwbyname): Return value returned by addhstbyX.
30042 (readdpwbyuid): Likewise.
30043 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
30044 (addservbyX): Return value returned by cache_addserv.
30045 (readdservbyname): Return value returned by addservbyX:
30046 (readdservbyport): Likewise.
30047 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
30048 (addhstbyX): Return value returned by cache_addhst.
30049 (readdhstbyname): Return value returned by addhstbyX.
30050 (readdhstbyaddr): Likewise.
30051 (readdhstbynamev6): Likewise.
30052 (readdhstbyaddrv6): Likewise.
30053 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
30054 (readdinitgroups): Return value returned by addinitgroupsX.
30055 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
30056 (prune_cache): Keep track of timeout value of re-added entries.
30057 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
30058 * nscd/nscd.h: Adjust prototypes of readd* functions.
30059
a0bf67cc
RM
300602011-02-04 Roland McGrath <roland@redhat.com>
30061
30062 * nis/nis_server.c (nis_servstate): Use the right name for 0.
30063 (nis_stats): Likewise.
30064 * nis/nis_modify.c (nis_modify): Likewise.
30065 * nis/nis_remove.c (nis_remove): Likewise.
30066 * nis/nis_add.c (nis_add): Likewise.
30067
30068 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
30069
30070 * posix/fnmatch_loop.c: Add some consts.
30071
30072 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
30073
435b95eb
L
300742011-02-02 H.J. Lu <hongjiu.lu@intel.com>
30075
30076 [BZ #12460]
30077 * config.make.in (config-cflags-novzeroupper): Define.
30078 * configure.in: Substitute libc_cv_cc_novzeroupper.
30079 * elf/Makefile (AVX-CFLAGS): Define.
30080 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
30081 (CFLAGS-tst-auditmod4a.c): Likewise.
30082 (CFLAGS-tst-auditmod4b.c): Likewise.
30083 (CFLAGS-tst-auditmod6b.c): Likewise.
30084 (CFLAGS-tst-auditmod6c.c): Likewise.
30085 (CFLAGS-tst-auditmod7b.c): Likewise.
30086 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
30087
8517b15e
UD
300882011-02-02 Ulrich Drepper <drepper@gmail.com>
30089
30090 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
30091 function to the callback.
30092 Patch partly by Jiri Olsa <jolsa@redhat.com>.
30093
10a656fe
AS
300942011-02-02 Andreas Schwab <schwab@redhat.com>
30095
30096 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
30097 of errno.
30098
968dad0a
UD
300992011-01-19 Ulrich Drepper <drepper@gmail.com>
30100
9f94d2ea 30101 [BZ #11724]
968dad0a
UD
30102 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
30103 of constructors.
30104 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
30105 of destructors.
30106 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
30107
30108 [BZ #11724]
30109 * elf/Makefile: Add rules to build and run new test.
30110 * elf/tst-initorder.c: New file.
30111 * elf/tst-initorder.exp: New file.
30112 * elf/tst-initordera1.c: New file.
30113 * elf/tst-initordera2.c: New file.
30114 * elf/tst-initordera3.c: New file.
30115 * elf/tst-initordera4.c: New file.
30116 * elf/tst-initorderb1.c: New file.
30117 * elf/tst-initorderb2.c: New file.
30118 * elf/tst-order-a1.c: New file.
30119 * elf/tst-order-a2.c: New file.
30120 * elf/tst-order-a3.c: New file.
30121 * elf/tst-order-a4.c: New file.
30122 * elf/tst-order-b1.c: New file.
30123 * elf/tst-order-b2.c: New file.
30124 * elf/tst-order-main.c: New file.
30125 New test case by George Gensure <werkt0@gmail.com>.
30126
86e92359
UD
301272010-10-01 Andreas Schwab <schwab@redhat.com>
30128
30129 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
30130 decoding ACE if AI_CANONIDN.
30131
5d5732b0
UD
301322011-01-18 Ulrich Drepper <drepper@gmail.com>
30133
30134 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
30135
a77e8cbc
UD
301362011-01-17 Ulrich Drepper <drepper@gmail.com>
30137
6392473f
UD
30138 * version.h (RELEASE): Bump for 2.13 release.
30139 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
30140
620a0529
UD
30141 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
30142
18ba70a5
UD
30143 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
30144 MADV_NOHUGEPAGE.
32465c3e
UD
30145 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
30146 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
30147 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
30148 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
30149 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
30150 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
30151
c0dafcf1
UD
30152 * posix/getconf.c: Update copyright year.
30153 * catgets/gencat.c: Likewise.
30154 * csu/version.c: Likewise.
30155 * debug/catchsegv.sh: Likewise.
30156 * debug/xtrace.sh: Likewise.
30157 * elf/ldconfig.c: Likewise.
30158 * elf/ldd.bash.in: Likewise.
30159 * elf/sprof.c (print_version): Likewise.
30160 * iconv/iconv_prog.c: Likewise.
30161 * iconv/iconvconfig.c: Likewise.
30162 * locale/programs/locale.c: Likewise.
30163 * locale/programs/localedef.c: Likewise.
30164 * malloc/memusage.sh: Likewise.
30165 * malloc/mtrace.pl: Likewise.
30166 * nscd/nscd.c (print_version): Likewise.
30167 * nss/getent.c: Likewise.
30168
a77e8cbc
UD
30169 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
30170 PF_CAIF, and PF_ALG.
30171 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30172
77e8bddf
AS
301732011-01-16 Andreas Schwab <schwab@linux-m68k.org>
30174
1f20b93a
AS
30175 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
30176 (modules-names): Use them.
30177 (ifunc-test-modules, ifunc-pie-tests): Define.
30178 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
30179 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
30180 (test-extras): Likewise.
30181 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
30182 $(compile-command.c).
30183 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
30184 (all-built-dso): Define.
30185 (check-textrel.out, check-execstack.out): Depend on it.
30186
77e8bddf
AS
30187 * configure.in: Don't override --enable-multi-arch.
30188
bc425b33
UD
301892011-01-15 Ulrich Drepper <drepper@gmail.com>
30190
30191 [BZ #6812]
30192 * nscd/hstcache.c (tryagain): Define.
30193 (cache_addhst): Return tryagain not notfound for temporary errors.
30194 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
30195 failed.
30196
794c3ad3
UD
301972011-01-14 Ulrich Drepper <drepper@gmail.com>
30198
70181fdd
UD
30199 [BZ #10563]
30200 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
30201 to make the syscall.
30202 * sysdeps/unix/sysv/linux/setgroups.c: New file.
30203
794c3ad3
UD
30204 [BZ #12378]
30205 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
30206 and fall back to matching as normal character if the string ends before
30207 the matching ']' is found. This is what POSIX requires.
30208 * posix/testfnm.c: Adjust test result.
30209 * posix/globtest.sh: Adjust test result. Add new test.
30210 * posix/tst-fnmatch.input: Likewise.
30211 * posix/tst-fnmatch2.c: Add new test.
30212
68dc9497
AS
302132010-12-28 Andreas Schwab <schwab@linux-m68k.org>
30214
30215 * elf/Makefile (check-execstack): Revert last change. Depend on
30216 check-execstack.h.
30217 (check-execstack.h): New target.
30218 (generated): Add check-execstack.h.
30219 * elf/check-execstack.c: Include "check-execstack.h".
30220 (main): Revert last change.
30221 (handle_file): Return zero if GNU_STACK is absent and
30222 DEFAULT_STACK_PERMS doesn't include PF_X.
30223
451f001b
UD
302242011-01-13 Ulrich Drepper <drepper@gmail.com>
30225
cfa28e56
UD
30226 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
30227 in child fails because the descriptor is already closed.
8cf8ce17
UD
30228 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
30229 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
30230 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 30231
1086d70d
UD
30232 [BZ #12397]
30233 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
30234 syscall.
30235
451f001b
UD
30236 [BZ #10484]
30237 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
30238 temporary buffer used to handle multi lookups locally.
a85b5cb4 30239 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 30240
08769175
UD
302412011-01-12 Ulrich Drepper <drepper@gmail.com>
30242
30243 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
30244 loader is ld.so.
30245
5e49c52e
UD
302462011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
30247
30248 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
30249 alignment for SSE2.
30250
60522a5f
UD
302512011-01-12 Ulrich Drepper <drepper@gmail.com>
30252
30253 [BZ #12394]
30254 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
30255 characters. When rounding increased number of integer digits recompute
30256 number of groups.
30257 * stdio-common/tst-grouping.c: New file.
30258 * stdio-common/Makefile: Add rules to build and run tst-grouping.
30259
f257bbd7
UD
302602011-01-09 Ulrich Drepper <drepper@gmail.com>
30261
30262 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
30263 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
30264
30265 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
30266 void.
30267 * bits/select.h: Likewise.
30268
fa9c15cb
UD
302692011-01-08 Ulrich Drepper <drepper@gmail.com>
30270
30271 * po/ja.po: Update from translation team.
30272
16c2895f
DM
302732011-01-04 David S. Miller <davem@sunset.davemloft.net>
30274
30275 [BZ #11155]
30276 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
30277 implementation just like for lxstat, fxstatat, et al.
30278
2543fef2
JM
302792010-12-27 Jim Meyering <meyering@redhat.com>
30280
30281 [BZ #12348]
30282 * posix/regexec.c (build_trtable): Return failure indication upon
30283 calloc failure. Otherwise, re_search_internal could infloop on OOM.
30284
98727dbe
UD
302852010-12-25 Ulrich Drepper <drepper@gmail.com>
30286
5bd6dc5c
UD
30287 [BZ #12201]
30288 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
30289 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
30290 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
30291 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
30292
97983464
UD
30293 [BZ #12207]
30294 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
30295
98727dbe
UD
30296 [BZ #12204]
30297 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
30298 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
30299
4a531bb0
L
303002010-12-15 H.J. Lu <hongjiu.lu@intel.com>
30301
30302 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
30303 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
30304 script has SORT_BY_INIT_PRIORITY.
30305 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
30306 NO_CTORS_DTORS_SECTIONS is defined.
30307 * elf/soinit.c: Likewise.
30308 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
30309 NO_CTORS_DTORS_SECTIONS is defined.
30310 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
30311 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
30312 * sysdeps/sh/init-first.c: Likewise.
30313 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
30314
07eb4b71
UD
303152010-12-24 Ulrich Drepper <drepper@gmail.com>
30316
30317 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
30318 always use the slow path.
30319
30950a5f
RA
303202010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
30321
30322 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
30323 similar rule which adds the sysdep directories to the header search in
30324 order to pick up the correct platform stackinfo.h.
30325 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
30326 perform test if it is, otherwise return successfully without testing.
30327 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
30328 DEFAULT_STACK_PERMS define in stackinfo.h.
30329 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
30330 defined in stackinfo.h.
30331 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
30332 DEFAULT_STACK_PERMS defined in stackinfo.h.
30333 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
30334 * sysdeps/ia64/stackinfo.h: Likewise.
30335 * sysdeps/s390/stackinfo.h: Likewise.
30336 * sysdeps/sh/stackinfo.h: Likewise.
30337 * sysdeps/sparc/stackinfo.h: Likewise.
30338 * sysdeps/x86_64/stackinfo.h: Likewise.
30339 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
30340 PF_X for powerpc64. Retain PF_X for powerpc32.
30341
db753e2c
UD
303422010-12-19 Ulrich Drepper <drepper@gmail.com>
30343
14b697f7
UD
30344 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
30345 accurately.
db753e2c
UD
30346 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
30347 GETDENTS_64BIT_ALIGNED.
30348
28300719
UD
303492010-12-14 Ulrich Drepper <dreper@gmail.com>
30350
14b697f7 30351 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 30352
4f197237
AS
303532010-12-10 Andreas Schwab <schwab@redhat.com>
30354
dbb0472f
AS
30355 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
30356 _GNU_SOURCE.
30357
4f197237
AS
30358 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
30359 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
30360 Remove __restrict.
30361 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
30362 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
30363
fb88ac72
UD
303642010-12-09 Ulrich Drepper <drepper@gmail.com>
30365
30366 [BZ #11655]
30367 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
30368 are initialized.
30369
42acbb92
JJ
303702010-12-09 Jakub Jelinek <jakub@redhat.com>
30371
30372 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
30373
c038d98d
UD
303742010-12-03 Ulrich Drepper <drepper@gmail.com>
30375
30376 * po/it.po: Update from translation team.
30377
3a4a2499
L
303782010-12-01 H.J. Lu <hongjiu.lu@intel.com>
30379
30380 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
30381 unused codes.
30382
1e24cf6e
UD
303832010-11-30 Ulrich Drepper <drepper@gmail.com>
30384
30385 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
30386
a7690819
AS
303872010-11-24 Andreas Schwab <schwab@redhat.com>
30388
30389 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
30390 specially.
30391 (gaih_getanswer_slice): Likewise.
30392
3bf8d1b1
JJ
303932010-10-20 Jakub Jelinek <jakub@redhat.com>
30394
30395 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
30396
6db52fbb
PB
303972010-05-31 Petr Baudis <pasky@suse.cz>
30398
30399 [BZ #11149]
30400 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
30401 silently even in the chroot mode.
30402
eaca7569
UD
304032010-11-22 Ulrich Drepper <drepper@gmail.com>
30404
30405 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
30406 last patch a bit. Pretty printing
30407
3056dcdb
UD
304082010-05-31 Petr Baudis <pasky@suse.cz>
30409
30410 [BZ #10085]
30411 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
30412 initialization of skip_initgroups_dyn.
30413
cf7c9078
UD
304142010-11-19 Ulrich Drepper <drepper@gmail.com>
30415
30416 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
30417 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
30418
a1fb5e3e
UD
304192010-11-16 Ulrich Drepper <drepper@gmail.com>
30420
30421 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
30422
3540d66b
AS
304232010-11-11 Andreas Schwab <schwab@redhat.com>
30424
30425 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
30426 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
30427 (tst-fnmatch-ENV): Set MALLOC_TRACE.
30428 ($(objpfx)tst-fnmatch-mem): New rule.
30429 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
30430 * posix/tst-fnmatch.c (main): Call mtrace.
30431
13b69574
L
304322010-11-11 H.J. Lu <hongjiu.lu@intel.com>
30433
30434 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30435 Support Intel processor model 6 and model 0x2c.
30436
da93d214
LM
304372010-11-10 Luis Machado <luisgpm@br.ibm.com>
30438
30439 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
30440 signed comparison.
30441
8ca52c6e
L
304422010-11-09 H.J. Lu <hongjiu.lu@intel.com>
30443
30444 [BZ #12205]
30445 * string/test-strncasecmp.c (check_result): New function.
30446 (do_one_test): Use it.
30447 (check1): New function.
30448 (test_main): Use it.
30449 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
30450 Support strcasecmp and strncasecmp.
30451
69da074d
UD
304522010-11-08 Ulrich Drepper <drepper@gmail.com>
30453
30454 [BZ #12194]
30455 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
30456 * sysdeps/x86_64/bits/byteswap.h: Likewise.
30457
ff02d528
L
304582010-11-07 H.J. Lu <hongjiu.lu@intel.com>
30459
30460 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
30461 IFUNC support.
30462 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30463 memset-x86-64.
30464 * sysdeps/x86_64/multiarch/bzero.S: New file.
30465 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
30466 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
30467 * sysdeps/x86_64/multiarch/memset.S: New file.
30468 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
30469 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30470 Set bit_Prefer_SSE_for_memop for Intel processors.
30471 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
30472 Define.
30473 (index_Prefer_SSE_for_memop): Define.
30474 (HAS_PREFER_SSE_FOR_MEMOP): Define.
30475
344d0b54
LM
304762010-11-04 Luis Machado <luisgpm@br.ibm.com>
30477
30478 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
30479 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
30480
c0dde15b
UD
304812010-11-03 H.J. Lu <hongjiu.lu@intel.com>
30482
30483 [BZ #12191]
30484 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
30485 (__x86_64_raw_data_cache_size_half): Likewise.
30486 (__x86_64_raw_shared_cache_size): Likewise.
30487 (__x86_64_raw_shared_cache_size_half): Likewise.
30488
30489 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
30490 (__x86_64_raw_data_cache_size_half): Likewise.
30491 (__x86_64_raw_shared_cache_size): Likewise.
30492 (__x86_64_raw_shared_cache_size_half): Likewise.
30493 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
30494 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
30495 and __x86_64_raw_shared_cache_size_half. Round
30496 __x86_64_data_cache_size_half, __x86_64_data_cache_size
30497 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
30498 to multiple of 256 bytes.
30499
0e516e0e
MS
305002010-11-03 Ulrich Drepper <drepper@gmail.com>
30501
30502 [BZ #12167]
30503 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
30504 of inacessible symlinks. Verify result of symlink before returning it.
30505 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
30506 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
30507
0e012e87
ER
305082010-10-28 Erich Ritz <erichritz@gmail.com>
30509
30510 * math/math.h (isinf): Fix typo in comment.
30511
de0ff7bc
UD
305122010-11-01 Ulrich Drepper <drepper@gmail.com>
30513
30514 * po/da.po: Update from translation team.
30515
fa41c84d
UD
305162010-10-26 Ulrich Drepper <drepper@gmail.com>
30517
30518 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
30519 is added to the list.
30520
f0967738
AK
305212010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30522 Ulrich Drepper <drepper@gmail.com>
30523
30524 * elf/dl-object.c (_dl_new_object): Don't append the new object to
30525 the global list here. Move code to...
30526 (_dl_add_to_namespace_list): ...here. New function.
30527 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
30528 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
30529 * elf/dl-load.c (lose): Don't remove the element from the list.
30530 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
30531 (_dl_map_object): Likewise.
30532
305332010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
30534
30535 [BZ #12159]
30536 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
30537 into all bytes of SSE register.
30538 Patch by Richard Li <richardpku@gmail.com>.
30539
f0967738 305402010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
30541
30542 [BZ #12140]
30543 * malloc/malloc.c (_int_free): Fill correct number of bytes when
30544 perturbing.
30545
d0b9e94f
MB
305462010-10-20 Michael B. Brutman <brutman@us.ibm.com>
30547
30548 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
30549 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
30550 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
30551 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
30552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
30553 submachine.
30554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
30555
8e9f92e9
AS
305562010-10-22 Andreas Schwab <schwab@redhat.com>
30557
30558 * include/dlfcn.h (__RTLD_SECURE): Define.
30559 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
30560 mode & __RTLD_SECURE instead.
30561 (open_path): Rename preloaded parameter to secure.
30562 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
30563 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
30564 * elf/dl-deps.c (openaux): Likewise.
30565 * elf/rtld.c (struct map_args): Remove is_preloaded.
30566 (map_doit): Don't use it.
30567 (dl_main): Likewise.
30568 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
30569 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
30570
bc96fbda
AS
305712010-09-09 Andreas Schwab <schwab@redhat.com>
30572
30573 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
30574 (sysd-rules-targets): Remove duplicates.
30575 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
30576 rtld-%.$o dependency.
30577
22cd1c9b
AS
305782010-10-18 Andreas Schwab <schwab@redhat.com>
30579
30580 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
30581 _dl_map_object do it.
30582
18edac48
UD
305832010-10-19 Ulrich Drepper <drepper@gmail.com>
30584
30585 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
30586 fast fma builtins, define the macros in the C99 standard.
30587 (FP_FAST_FMAF): Likewise.
30588 (FP_FAST_FMAL): Likewise.
30589 * sysdeps/x86_64/bits/mathdef.h: Likewise.
30590
30591 * bits/mathdef.h: Update copyright year.
30592 * sysdeps/powerpc/bits/mathdef.h: Likewise.
30593
d2050124
MM
305942010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
30595
30596 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
30597 builtins, define the macros in the C99 standard.
30598 (FP_FAST_FMAF): Likewise.
30599 (FP_FAST_FMAL): Likewise.
30600 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
30601 multiply/add.
30602 (FP_FAST_FMAF): Likewise.
30603
475facd1
JJ
306042010-10-15 Jakub Jelinek <jakub@redhat.com>
30605
30606 [BZ #3268]
30607 * math/libm-test.inc (fma_test): Some new testcases.
30608 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
30609 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
30610 y and infinite z. Do multiplication by C already in long double.
30611 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
30612 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
30613 y and infinite z. Do bitwise or of inexact bit into u.d.
30614 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
30615 * sysdeps/i386/fpu/s_fmaf.S: Removed.
30616 * sysdeps/i386/fpu/s_fma.S: Removed.
30617 * sysdeps/i386/fpu/s_fmal.S: Removed.
30618
7c08a05c
JJ
306192010-10-16 Jakub Jelinek <jakub@redhat.com>
30620
30621 [BZ #3268]
30622 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
30623 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
30624 computation is not scheduled after fetestexcept. Fix value
30625 of minimum denormal long double.
30626
f3f7372d
JJ
306272010-10-14 Jakub Jelinek <jakub@redhat.com>
30628
30629 [BZ #3268]
30630 * math/libm-test.inc (fma_test): Add some more tests.
30631 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
30632 correctly.
30633
14d43591
AS
306342010-10-15 Andreas Schwab <schwab@redhat.com>
30635
30636 * scripts/data/localplt-s390-linux-gnu.data: New file.
30637 * scripts/data/localplt-s390x-linux-gnu.data: New file.
30638
5e908464
JJ
306392010-10-13 Jakub Jelinek <jakub@redhat.com>
30640
30641 [BZ #3268]
30642 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
30643 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
30644 instead of dbl-64.
30645 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
30646 inlines.
30647 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
30648 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
30649 if one of x and y is very large and the other is subnormal.
30650 * sysdeps/s390/fpu/s_fmaf.c: New file.
30651 * sysdeps/s390/fpu/s_fma.c: New file.
30652 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
30653 * sysdeps/powerpc/fpu/s_fma.S: New file.
30654 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
30655 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
30656 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
30657
306582010-10-12 Jakub Jelinek <jakub@redhat.com>
30659
30660 [BZ #3268]
30661 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
30662 fma tests.
30663 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
30664 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
30665 * sysdeps/i386/i686/multiarch/s_fma.c: Include
30666 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
30667 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
30668 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
30669 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
30670
b833d51f
UD
306712010-10-12 Ulrich Drepper <drepper@redhat.com>
30672
30673 [BZ #12078]
30674 * posix/regcomp.c (parse_branch): One more memory leak plugged.
30675 * posix/bug-regex31.input: Add test case.
30676
1751705d
UD
306772010-10-11 Ulrich Drepper <drepper@gmail.com>
30678
e9b9cbf5
UD
30679 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
30680 * posix/bug-regex31.input: New file.
30681
30682 [BZ #12078]
30683 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
30684 (parse_sub_exp): Fix last change, use postorder.
30685
ef06edbe
UD
30686 * posix/bug-regex31.c: New file.
30687 * posix/Makefile: Add rules to build and run bug-regex31.
30688
a129c80d
UD
30689 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
30690
30691 [BZ #12078]
30692 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
30693
b76b818e
UD
30694 [BZ #12108]
30695 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
30696 to have entries in sys_siglist.
30697
1751705d
UD
30698 [BZ #12093]
30699 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
30700 be NULL.
30701
9ff8d36f
JJ
307022010-10-07 Jakub Jelinek <jakub@redhat.com>
30703
30704 [BZ #3268]
30705 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
30706 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
30707 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
30708 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
30709 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
30710 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
30711 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
30712 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
30713 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
30714 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
30715 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
30716 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
30717 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
30718 * math/ftestexcept.c (fetestexcept): Likewise.
30719 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
30720 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
30721 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
30722 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
30723 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
30724 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
30725 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30726
af325969
UD
307272010-10-11 Ulrich Drepper <drepper@gmail.com>
30728
c579b202 30729 [BZ #12107]
af325969
UD
30730 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
30731 newline.
30732
67a67b95
UD
307332010-10-06 Ulrich Drepper <drepper@gmail.com>
30734
30735 * string/bug-strstr1.c: New file.
30736 * string/Makefile: Add rules to build and run bug-strstr1.
30737
5fb308bc
EB
307382010-10-05 Eric Blake <eblake@redhat.com>
30739
30740 [BZ #12092]
30741 * string/str-two-way.h (two_way_long_needle): Always clear memory
30742 when skipping input due to the shift table.
30743
45db99c7
UD
307442010-10-03 Ulrich Drepper <drepper@gmail.com>
30745
3b111893
UD
30746 [BZ #12005]
30747 * malloc/mcheck.c: Handle large requests.
30748
45db99c7
UD
30749 [BZ #12077]
30750 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
30751 for strncmp and strncasecmp.
30752 * string/stratcliff.c: Add tests for strcmp and strncmp.
30753 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
30754
cf7a1eb8
NI
307552010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
30756
30757 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
30758 __set_fpscr.
30759
6484ba5e
AJ
307602010-09-30 Andreas Jaeger <aj@suse.de>
30761
30762 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
30763 (CGROUP_SUPER_MAGIC): Define.
30764 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30765 Handle btrfs and cgroup file systems.
30766 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
30767 Likewise.
30768
91c42559
LM
307692010-09-27 Luis Machado <luisgpm@br.ibm.com>
30770
30771 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
30772 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
30773
87a97932
AK
307742010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30775
30776 [BZ #12067]
30777 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
30778 trying to locate the ELF header.
30779
c21cc9bc
AS
307802010-09-27 Andreas Schwab <schwab@redhat.com>
30781
30782 [BZ #11611]
30783 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
30784 Mask out sign-bit copies when constructing f_fsid.
30785
315970f6
PB
307862010-09-24 Petr Baudis <pasky@suse.cz>
30787
30788 * debug/stack_chk_fail_local.c: Add missing licence exception.
30789 * debug/warning-nop.c: Likewise.
30790
1ac7a2c7
JM
307912010-09-15 Joseph Myers <joseph@codesourcery.com>
30792
30793 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
30794 implementing getdents64 using getdents syscall, set d_type if
30795 __ASSUME_GETDENTS32_D_TYPE.
30796
56801c50
AS
307972010-09-16 Andreas Schwab <schwab@redhat.com>
30798
30799 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
30800 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
30801
dda51327
UD
308022010-09-21 Ulrich Drepper <drepper@redhat.com>
30803
30804 [BZ #12037]
30805 * posix/unistd.h: Undo change of feature selection for ftruncate from
30806 2010-01-11.
30807
8ffcee4a
UD
308082010-09-20 Ulrich Drepper <drepper@redhat.com>
30809
a545ecd9 30810 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
30811 detection.
30812
e24f0a8b
AS
308132010-09-20 Andreas Schwab <schwab@redhat.com>
30814
30815 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
30816 fanotify_mark.
30817 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
30818
7291c56f
AS
308192010-09-14 Andreas Schwab <schwab@redhat.com>
30820
30821 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
30822 variables after CHECK_SP call.
30823 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
30824
bc5fb037
AS
308252010-09-13 Andreas Schwab <schwab@redhat.com>
30826 Ulrich Drepper <drepper@redhat.com>
30827
30828 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
30829 re-relocationg ld.so.
30830 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
30831 _dl_init_paths call.
30832 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
30833 here anymore.
30834
e66e7419
UD
308352010-09-14 Ulrich Drepper <drepper@redhat.com>
30836
30837 * resolv/res_init.c (__res_vinit): Count the default server we added.
30838
c044aa75
CLT
308392010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
30840 Ulrich Drepper <drepper@redhat.com>
30841
30842 [BZ #11968]
30843 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
30844 (____longjmp_chk): Use %ebx for saving value across system call.
30845 Add unwind info.
30846
32cf4069
AS
308472010-09-06 Andreas Schwab <schwab@redhat.com>
30848
30849 * manual/Makefile: Don't mix pattern rules with normal rules.
30850
817328ee
AS
308512010-09-05 Andreas Schwab <schwab@linux-m68k.org>
30852
30853 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
30854 operation.
30855 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
30856 * libio/iofopncook.c (_IO_cookie_init): Likewise.
30857 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
30858 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
30859 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30860 Likewise.
30861
29fddf61
UD
308622010-09-04 Ulrich Drepper <drepper@redhat.com>
30863
30864 [BZ #11979]
30865 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
30866 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
30867
0959ffc9
UD
308682010-09-02 Ulrich Drepper <drepper@redhat.com>
30869
30870 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
30871 * sysdeps/x86_64/addmul_1.S: Likewise.
30872 * sysdeps/x86_64/lshift.S: Likewise.
30873 * sysdeps/x86_64/mul_1.S: Likewise.
30874 * sysdeps/x86_64/rshift.S: Likewise.
30875 * sysdeps/x86_64/sub_n.S: Likewise.
30876 * sysdeps/x86_64/submul_1.S: Likewise.
30877
ece29840
ST
308782010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
30879
0959ffc9
UD
30880 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
30881 Define __sched_param instead of SCHED_* and sched_param when
ece29840 30882 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 30883 * bits/sched.h [__need_schedparam]
ece29840 30884 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
30885 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
30886 (__defined_schedparam): Define to 1.
ece29840
ST
30887 (__sched_param): New structure, identical to sched_param.
30888 (__need_schedparam): Undefine.
30889
e53a31fe
MF
308902010-08-31 Mike Frysinger <vapier@gentoo.org>
30891
fdc0c10d
MF
30892 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
30893 (epoll_create1): Declare.
30894
e53a31fe
MF
30895 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
30896
a726d796
AS
308972010-08-31 Andreas Schwab <schwab@redhat.com>
30898
30899 [BZ #7066]
30900 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
30901 shifting retval into place.
30902
2f3e3dc7
UD
309032010-09-01 Ulrich Drepper <drepper@redhat.com>
30904
f2933da9
UD
30905 * nis/rpcsvc/nis.h: Update copyright notice.
30906 * nis/rpcsvc/nis.x: Likewise.
30907 * nis/rpcsvc/nis_callback.h: Likewise.
30908 * nis/rpcsvc/nis_callback.x: Likewise.
30909 * nis/rpcsvc/nis_object.x: Likewise.
30910 * nis/rpcsvc/nis_tags.h: Likewise.
30911 * nis/rpcsvc/yp.h: Likewise.
30912 * nis/rpcsvc/yp.x: Likewise.
30913 * nis/rpcsvc/ypupd.h: Likewise.
30914 * nis/yp_xdr.c: Likewise.
30915 * nis/ypupdate_xdr.c: Likewise.
30916
2f3e3dc7
UD
30917 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
30918 mainly the body of pmap_getport. Add parameters to specify timeouts.
30919 (pmap_getport): Use __libc_rpc_getport.
30920 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
30921 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
30922 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
30923
f3dcc2f9
AS
309242010-08-31 Andreas Schwab <schwab@linux-m68k.org>
30925
30926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
30927 fanotify_mark.
30928
6d34eb5b
RM
309292010-08-27 Roland McGrath <roland@redhat.com>
30930
30931 * sysdeps/i386/i686/multiarch/Makefile
30932 (CFLAGS-varshift.c): New variable.
30933
9ea3de11
UD
309342010-08-27 Ulrich Drepper <drepper@redhat.com>
30935
c96d23fc
UD
30936 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
30937 * sysdeps/i386/i686/multiarch/varshift.c: New file.
30938
9ea3de11
UD
30939 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
30940
30941 * sysdeps/x86_64/strlen.S: Minimal code improvement.
30942
623aac7f
L
309432010-08-26 H.J. Lu <hongjiu.lu@intel.com>
30944
30945 * sysdeps/x86_64/strlen.S: Unroll the loop.
30946 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30947 strlen-sse2 strlen-sse2-bsf.
30948 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
30949 __strlen_no_bsf if bit_Slow_BSF is set.
30950 (__strlen_sse42): Removed.
30951 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
30952 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
30953
8b2b7715
RM
309542010-08-25 Roland McGrath <roland@redhat.com>
30955
30956 * sysdeps/x86_64/multiarch/varshift.S: File removed.
30957 * sysdeps/x86_64/multiarch/varshift.c: New file.
30958 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
30959 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
30960 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
30961 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
30962
e73015f2
L
309632010-08-25 H.J. Lu <hongjiu.lu@intel.com>
30964
30965 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30966 strlen-sse2 strlen-sse2-bsf.
30967 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
30968 __strlen_sse2_bsf if bit_Slow_BSF is unset.
30969 (__strlen_sse2): Removed.
30970 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
30971 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
30972 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
30973 bit_Slow_BSF for Atom.
30974 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
30975 (index_Slow_BSF): Define.
30976 (HAS_SLOW_BSF): Define.
30977
df24a73e
UD
309782010-08-25 Ulrich Drepper <drepper@redhat.com>
30979
30980 [BZ #10851]
30981 * resolv/res_init.c (__res_vinit): When no server address at all
30982 is given default to loopback.
30983
f2ac4868
RM
309842010-08-24 Roland McGrath <roland@redhat.com>
30985
09055553
RM
30986 * configure.in: Remove config-name.h generation.
30987 * configure: Regenerated.
30988 * config-name.in: File removed.
30989 * scripts/config-uname.sh: New file.
30990 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
30991 ($(objdir)config-name.h): New target.
30992
f2ac4868
RM
30993 * sunrpc/rpc_parse.h: Avoid nested comment.
30994
73f27d5e
RH
309952010-08-24 Richard Henderson <rth@redhat.com>
30996 Ulrich Drepper <drepper@redhat.com>
30997 H.J. Lu <hongjiu.lu@intel.com>
30998
30999 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
31000 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
31001 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
31002 Replace _mm_srli_si128 with __m128i_shift_right. Replace
31003 _mm_alignr_epi8 with _mm_loadu_si128.
31004 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
31005 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
31006 (__m128i_shift_right): Removed.
31007 * sysdeps/i386/i686/multiarch/varshift.h: New file.
31008 * sysdeps/i386/i686/multiarch/varshift.S: New file.
31009 * sysdeps/x86_64/multiarch/varshift.h: New file.
31010 * sysdeps/x86_64/multiarch/varshift.S: New file.
31011
84b9230c
MF
310122010-08-21 Mike Frysinger <vapier@gentoo.org>
31013
31014 * configure.in: Move assembler checks to before sysdep dir checking.
31015
9bbd0ddc
PB
310162010-08-20 Petr Baudis <pasky@suse.cz>
31017
31018 * LICENSES: Sync the sunrpc license.
31019
9da4bb31
UD
310202010-08-19 Ulrich Drepper <drepper@redhat.com>
31021
a7ab6ec8
UD
31022 * sunrpc/auth_des.c: Update copyright notice once again.
31023 * sunrpc/auth_none.c: Likewise.
31024 * sunrpc/auth_unix.c: Likewise.
31025 * sunrpc/authdes_prot.c: Likewise.
31026 * sunrpc/authuxprot.c: Likewise.
31027 * sunrpc/bindrsvprt.c: Likewise.
31028 * sunrpc/clnt_gen.c: Likewise.
31029 * sunrpc/clnt_perr.c: Likewise.
31030 * sunrpc/clnt_raw.c: Likewise.
31031 * sunrpc/clnt_simp.c: Likewise.
31032 * sunrpc/clnt_tcp.c: Likewise.
31033 * sunrpc/clnt_udp.c: Likewise.
31034 * sunrpc/clnt_unix.c: Likewise.
31035 * sunrpc/des_crypt.c: Likewise.
31036 * sunrpc/des_soft.c: Likewise.
31037 * sunrpc/get_myaddr.c: Likewise.
31038 * sunrpc/getrpcport.c: Likewise.
31039 * sunrpc/key_call.c: Likewise.
31040 * sunrpc/key_prot.c: Likewise.
31041 * sunrpc/openchild.c: Likewise.
31042 * sunrpc/pm_getmaps.c: Likewise.
31043 * sunrpc/pm_getport.c: Likewise.
31044 * sunrpc/pmap_clnt.c: Likewise.
31045 * sunrpc/pmap_prot.c: Likewise.
31046 * sunrpc/pmap_prot2.c: Likewise.
31047 * sunrpc/pmap_rmt.c: Likewise.
31048 * sunrpc/rpc/auth.h: Likewise.
31049 * sunrpc/rpc/auth_unix.h: Likewise.
31050 * sunrpc/rpc/clnt.h: Likewise.
31051 * sunrpc/rpc/des_crypt.h: Likewise.
31052 * sunrpc/rpc/key_prot.h: Likewise.
31053 * sunrpc/rpc/netdb.h: Likewise.
31054 * sunrpc/rpc/pmap_clnt.h: Likewise.
31055 * sunrpc/rpc/pmap_prot.h: Likewise.
31056 * sunrpc/rpc/pmap_rmt.h: Likewise.
31057 * sunrpc/rpc/rpc.h: Likewise.
31058 * sunrpc/rpc/rpc_des.h: Likewise.
31059 * sunrpc/rpc/rpc_msg.h: Likewise.
31060 * sunrpc/rpc/svc.h: Likewise.
31061 * sunrpc/rpc/svc_auth.h: Likewise.
31062 * sunrpc/rpc/types.h: Likewise.
31063 * sunrpc/rpc/xdr.h: Likewise.
31064 * sunrpc/rpc_clntout.c: Likewise.
31065 * sunrpc/rpc_cmsg.c: Likewise.
31066 * sunrpc/rpc_common.c: Likewise.
31067 * sunrpc/rpc_cout.c: Likewise.
31068 * sunrpc/rpc_dtable.c: Likewise.
31069 * sunrpc/rpc_hout.c: Likewise.
31070 * sunrpc/rpc_main.c: Likewise.
31071 * sunrpc/rpc_parse.c: Likewise.
31072 * sunrpc/rpc_parse.h: Likewise.
31073 * sunrpc/rpc_prot.c: Likewise.
31074 * sunrpc/rpc_sample.c: Likewise.
31075 * sunrpc/rpc_scan.c: Likewise.
31076 * sunrpc/rpc_scan.h: Likewise.
31077 * sunrpc/rpc_svcout.c: Likewise.
31078 * sunrpc/rpc_tblout.c: Likewise.
31079 * sunrpc/rpc_util.c: Likewise.
31080 * sunrpc/rpc_util.h: Likewise.
31081 * sunrpc/rpcinfo.c: Likewise.
31082 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
31083 * sunrpc/rpcsvc/key_prot.x: Likewise.
31084 * sunrpc/rpcsvc/klm_prot.x: Likewise.
31085 * sunrpc/rpcsvc/mount.x: Likewise.
31086 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
31087 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
31088 * sunrpc/rpcsvc/rex.x: Likewise.
31089 * sunrpc/rpcsvc/rstat.x: Likewise.
31090 * sunrpc/rpcsvc/rusers.x: Likewise.
31091 * sunrpc/rpcsvc/sm_inter.x: Likewise.
31092 * sunrpc/rpcsvc/spray.x: Likewise.
31093 * sunrpc/rpcsvc/yppasswd.x: Likewise.
31094 * sunrpc/rtime.c: Likewise.
31095 * sunrpc/svc.c: Likewise.
31096 * sunrpc/svc_auth.c: Likewise.
31097 * sunrpc/svc_authux.c: Likewise.
31098 * sunrpc/svc_raw.c: Likewise.
31099 * sunrpc/svc_run.c: Likewise.
31100 * sunrpc/svc_simple.c: Likewise.
31101 * sunrpc/svc_tcp.c: Likewise.
31102 * sunrpc/svc_udp.c: Likewise.
31103 * sunrpc/svc_unix.c: Likewise.
31104 * sunrpc/svcauth_des.c: Likewise.
31105 * sunrpc/xcrypt.c: Likewise.
31106 * sunrpc/xdr.c: Likewise.
31107 * sunrpc/xdr_array.c: Likewise.
31108 * sunrpc/xdr_float.c: Likewise.
31109 * sunrpc/xdr_mem.c: Likewise.
31110 * sunrpc/xdr_rec.c: Likewise.
31111 * sunrpc/xdr_ref.c: Likewise.
31112 * sunrpc/xdr_sizeof.c: Likewise.
31113 * sunrpc/xdr_stdio.c: Likewise.
31114
9da4bb31
UD
31115 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
31116 handling.
31117
bdaa77bc
AS
311182010-08-19 Andreas Schwab <schwab@redhat.com>
31119
31120 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
31121
fe2f79db
LM
311222010-08-19 Luis Machado <luisgpm@br.ibm.com>
31123
31124 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
31125 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
31126 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
31127 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
31128 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
31129 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
31130 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
31131 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
31132 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
31133 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
31134 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
31135 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
31136 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
31137 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
31138
b9b42ee0
AB
311392010-07-26 Anton Blanchard <anton@samba.org>
31140
31141 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
31142 * malloc/arena.c (heap_trim): Likewise.
31143
1c06ba31
UD
311442010-08-16 Ulrich Drepper <drepper@redhat.com>
31145
31146 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
31147 here. Not...
31148 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
31149 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
31150
f8392f40
L
311512010-08-12 H.J. Lu <hongjiu.lu@intel.com>
31152
31153 * sysdeps/i386/elf/Makefile: New file.
31154
3162f12e
AS
311552010-08-14 Andreas Schwab <schwab@linux-m68k.org>
31156
31157 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
31158 from fanotify_init.
31159 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
31160 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
31161
28c90b2c
UD
311622010-08-15 Ulrich Drepper <drepper@redhat.com>
31163
31164 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
31165 of strncasecmp_l.
1feccb6c 31166 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 31167
ca6bb004
UD
311682010-08-14 Ulrich Drepper <drepper@redhat.com>
31169
e9f82e0d
UD
31170 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
31171 strncase_l-nonascii.
31172 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
31173 Add strncase_l-ssse3.
31174 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
31175 * sysdeps/x86_64/strcmp.S: Likewise.
31176 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
31177 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
31178 * sysdeps/x86_64/strncase.S: New file.
31179 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
31180 * sysdeps/x86_64/strncase_l.S: New file.
31181 * string/Makefile (strop-tests): Add strncasecmp.
31182 * string/test-strncasecmp.c: New file.
31183
31184 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
31185 warning.
31186
ca6bb004
UD
31187 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
31188 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
31189
052fa7b3
AS
311902010-08-14 Andreas Schwab <schwab@linux-m68k.org>
31191
31192 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
31193
962dba78
UD
311942010-08-12 Ulrich Drepper <drepper@redhat.com>
31195
31196 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
31197 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
31198 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
31199
bebff237
AM
312002010-05-01 Alan Modra <amodra@gmail.com>
31201
31202 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
31203 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
31204 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
31205 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
31206 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
31207 tidying. Don't tail-call __sigjmp_save for static lib.
31208 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
31209 save location.
31210 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
31211 (CALL_MCOUNT): Add eh info, and nop after bl.
31212 (TAIL_CALL_SYSCALL_ERROR): New macro.
31213 (PSEUDO_RET): Use it.
31214 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
31215 Correct save location of integer regs and cr.
31216 (_dl_profile_resolve): Correct cr save location. Delete nops
31217 after bl when SHARED. Reduce cfi size a little by better
31218 placement of cfi directives.
31219 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
31220 make a stack frame. Instead use parm save area as a temp.
31221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
31222 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
31223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
31224 Don't make a stack frame for parent, use parm save area.
31225 Increase child stack frame to 112 bytes. Don't save unused reg,
31226 and adjust reg usage. Set up cfi on error recovery and
31227 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
31228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
31229 (__makecontext): Add dummy nop after jump to exit.
31230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
31231 Use correct parm save area and cr save, reduce stack frame.
31232 Correct cfi for possible PSEUDO_RET frame setup.
31233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
31234 Branch to local label emitted by PSEUDO_RET rather than
31235 __syscall_error.
31236
02637374
AS
312372010-08-12 Andreas Schwab <schwab@redhat.com>
31238
31239 [BZ #11904]
31240 * locale/programs/locale.c (print_assignment): New function.
31241 (show_locale_vars): Use it.
31242
c3e2f19b
UD
312432010-08-11 Ulrich Drepper <drepper@redhat.com>
31244
3cdaa6ad
UD
31245 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
31246 field.
31247 (struct statfs64): Likewise.
31248 (_STATFS_F_FLAGS): Define.
31249 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
31250 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31251 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
31252 (ST_VALID): Define locally.
31253 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
31254 __statvfs_getflags, use the provided value.
31255 * sysdeps/unix/sysv/linux/kernel-features.h: Define
31256 __ASSUME_STATFS_F_FLAGS.
31257
754f7da3
UD
31258 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
31259
10b3bedc
UD
31260 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
31261 Add sys/fanotify.h.
31262 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
31263 fanotify_mask for GLIBC_2.13.
31264 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
31265 fanotify_init and fanotify_mark.
31266 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
31267 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
31268
c08fb0d7
UD
31269 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
31270 Add prlimit.
31271 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
31272 prlimit64 for GLIBC_2.13.
31273 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
31274 prlimit64.
31275 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
31276 syscall.
31277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
31278 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
31279 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
31280 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
31281 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
31282 add prlimit alias.
31283 * sysdeps/unix/sysv/linux/prlimit.c: New file.
31284
15bac72b
UD
31285 [BZ #11903]
31286 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
31287 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
31288
c3e2f19b
UD
31289 * nss/Makefile: Add rules to build and run tst-nss-test1.
31290 * shlib-versions: Add entry for libnss_test1.
31291 * nss/nss_test1.c: New file.
31292 * nss/tst-nss-test1.c: New file.
31293
31294 * nss/nsswitch.c (__nss_database_custom): Define new variable.
31295 (__nss_configure_lookup): Set appropriate entry in
31296 __nss_configure_lookup to true.
31297 * nss/nsswitch.h: Define enum with indeces of databases in
31298 databases and __nss_database_custom arrays. Declare
31299 __nss_database_custom.
31300 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
31301 to avoid using nscd when custom rules are installed.
31302 * nss/getXXbyYY_r.c: Likewise.
31303 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
31304
31305 * nss/nss_files/files-parse.c: Whitespace fixes.
31306
f15ce4d8
UD
313072010-08-09 Ulrich Drepper <drepper@redhat.com>
31308
31309 [BZ #11883]
31310 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
31311 * posix/fnmatch_loop.c: Likewise.
31312
d22e4cc9
AK
313132010-07-17 Andi Kleen <ak@linux.intel.com>
31314
31315 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
31316 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
31317 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
31318 * Versions.def [GLIBC_2.13]: Add.
31319
805bc17d
UD
313202010-08-06 Ulrich Drepper <drepper@redhat.com>
31321
31322 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31323 Also fail if tpwd after pwuid call is NULL.
31324
5a42321d
ST
313252010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
31326
31327 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
31328 when converting to ms.
31329
fd3ebeda
ST
313302010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
31331
31332 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
31333 EOPNOTSUPP errors with ENOTTY.
31334 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
31335 EOPNOTSUPP errors with ENOTTY.
31336
73507d3a
UD
313372010-07-31 Ulrich Drepper <drepper@redhat.com>
31338
31339 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
31340 Add strcasecmp_l-ssse3.
31341 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
31342 strcasecmp.
31343 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
31344 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
31345 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
31346
fe36dd02
UD
313472010-07-30 Ulrich Drepper <drepper@redhat.com>
31348
66f6765a
UD
31349 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
31350
42e08a54
UD
31351 * string/Makefile (strop-tests): Add strcasecmp.
31352 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
31353 strcasecmp_l-nonascii.
31354 (gen-as-const-headers): Add locale-defines.sym.
31355 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
31356 * sysdeps/x86_64/strcasecmp.S: New file.
31357 * sysdeps/x86_64/strcasecmp_l.S: New file.
31358 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
31359 * sysdeps/x86_64/locale-defines.sym: New file.
31360 * string/test-strcasecmp.c: New file.
31361
fe36dd02
UD
31362 * string/test-strcasestr.c: Test both ends of the range of characters.
31363 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
31364
48cbc0d6
RM
313652010-07-29 Roland McGrath <roland@redhat.com>
31366
76e6d6bc 31367 [BZ #11856]
48cbc0d6
RM
31368 * manual/locale.texi (Yes-or-No Questions): Fix example code.
31369
880113d9
UD
313702010-07-27 Ulrich Drepper <drepper@redhat.com>
31371
31372 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
31373 for ld.so.
31374
deb9cabb
AS
313752010-07-27 Andreas Schwab <schwab@redhat.com>
31376
31377 * manual/memory.texi (Malloc Tunable Parameters): Document
31378 M_PERTURB.
31379
1c7570ff
RM
313802010-07-26 Roland McGrath <roland@redhat.com>
31381
31382 [BZ #11840]
31383 * configure.in (-fgnu89-inline check): Set and substitute
31384 gnu89_inline, not libc_cv_gnu89_inline.
31385 * configure: Regenerated.
31386 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
31387
24fb0f88
UD
313882010-07-26 Ulrich Drepper <drepper@redhat.com>
31389
31390 * string/test-strnlen.c: New file.
31391 * string/Makefile (strop-tests): Add strnlen.
31392 * string/tester.c (test_strnlen): Add a few more test cases.
31393 * string/tst-strlen.c: Better error reporting.
31394
31395 * sysdeps/x86_64/strnlen.S: New file.
31396
8e96b93a
UD
313972010-07-24 Ulrich Drepper <drepper@redhat.com>
31398
31399 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
31400 lower-latency instructions.
31401
dbc676d4
UD
314022010-07-23 Ulrich Drepper <drepper@redhat.com>
31403
31404 * string/test-strcasestr.c: New file.
31405 * string/test-strstr.c: New file.
31406 * string/Makefile (strop-tests): Add strstr and strcasestr.
31407 * string/str-two-way.h: Don't undefine MAX.
31408 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
31409
f6a31e0e
AS
314102010-07-21 Andreas Schwab <schwab@redhat.com>
31411
31412 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31413 strcasestr-nonascii.
31414 (CFLAGS-strcasestr-nonascii.c): Define.
31415 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
31416 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
31417 Remove unused attribute.
31418
5dbc3b6c
RM
314192010-07-20 Roland McGrath <roland@redhat.com>
31420
31421 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
31422 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
31423 ld.so.cache was broken. With it, there is no way to disable dsocaps
31424 like LD_HWCAP_MASK can disable hwcaps.
31425
23d101d8
EPM
314262010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
31427
31428 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
31429
cc9f2e47
UD
314302010-07-16 Ulrich Drepper <drepper@redhat.com>
31431
31432 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
31433 call in strcasestr.
31434 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
31435 __strcasestr_sse42_nonascii.
31436 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
31437 strcasestr-nonascii.c.
31438 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
31439
77c1b069
LM
314402010-06-15 Luis Machado <luisgpm@br.ibm.com>
31441
31442 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
31443 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
31444 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
31445 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
31446
440566c3
UD
314472010-07-09 Ulrich Drepper <drepper@redhat.com>
31448
31449 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
31450 fcntl.
31451
5be9d05d
AS
314522010-07-06 Andreas Schwab <schwab@redhat.com>
31453
c30b7ee2 31454 [BZ #11577]
5be9d05d
AS
31455 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
31456 dl_signal_cerror.
31457
8a492a67
UD
314582010-07-06 Ulrich Drepper <drepper@redhat.com>
31459
31460 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
31461 _PC_PIPE_BUF using F_GETPIPE_SZ.
31462
713df3d5
RM
314632010-07-05 Roland McGrath <roland@redhat.com>
31464
31465 * manual/arith.texi (Rounding Functions): Fix rint description
31466 implicit in round description.
31467
702e8f14
UD
314682010-07-02 Ulrich Drepper <drepper@redhat.com>
31469
31470 * elf/Makefile: Fix linking for a few tests to make recent linker
31471 happy.
31472
52ed8be9
AS
314732010-06-30 Andreas Schwab <schwab@redhat.com>
31474
31475 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
31476 $(common-objpfx)libc_nonshared.a.
31477
f47c9a11
LM
314782010-06-21 Luis Machado <luisgpm@br.ibm.com>
31479
31480 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
31481 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
31482 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
31483 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
31484 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
31485 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
31486 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
31487 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
31488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
31489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
31490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
31491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
31492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
31493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
31494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
31495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
31496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
31497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
31498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
31499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
31500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
31501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
31502 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
31503 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
31504 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
31505 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
31506 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
31507 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
31508 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
31509 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
31510 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
31511 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
31512 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
31513 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
31514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
31515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
31516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
31517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
31518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
31519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
31520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
31521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
31522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
31523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
31524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
31525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
31526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
31527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
31528
6fb8cbcb
L
315292010-06-25 H.J. Lu <hongjiu.lu@intel.com>
31530
31531 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
31532 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
31533 * string/memmove.c (memmove): Renamed to ...
31534 (MEMMOVE): ...this. Default to memmove.
31535 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
31536 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
31537 (END_CHK): Define.
31538 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31539 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
31540 mempcpy-ssse3-back memmove-ssse3-back.
31541 * sysdeps/x86_64/multiarch/bcopy.S: New file .
31542 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
31543 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
31544 * sysdeps/x86_64/multiarch/memcpy.S: New file.
31545 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
31546 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
31547 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
31548 * sysdeps/x86_64/multiarch/memmove.c: New file.
31549 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
31550 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
31551 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
31552 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
31553 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
31554 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
31555 Define.
31556 (index_Fast_Copy_Backward): Define.
31557 (HAS_ARCH_FEATURE): Define.
31558 (HAS_FAST_REP_STRING): Define.
31559 (HAS_FAST_COPY_BACKWARD): Define.
31560
4e733bac 315612010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
31562
31563 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31564 Restore proper fallback handling.
31565
63c4ed22
UD
315662010-06-19 Ulrich Drepper <drepper@redhat.com>
31567
ac2b484c
UD
31568 [BZ #11701]
31569 * posix/group_member.c (__group_member): Correct checking loop.
31570
63c4ed22
UD
31571 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
31572 OOM in getpwuid_r correctly. Return error number when the caller
31573 should return, otherwise -1.
31574 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
31575 call returning > 0 value.
31576 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
31577
765ade4b
AS
315782010-06-07 Andreas Schwab <schwab@redhat.com>
31579
31580 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
31581 libc_nonshared.a from targets in modules-names.
31582
80da2e09
KS
315832010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
31584
31585 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
31586 requires it.
31587
158db122
LM
315882010-06-10 Luis Machado <luisgpm@br.ibm.com>
31589
31590 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
31591 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
31592 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
31593 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
31594
caa78cf8
AS
315952010-06-02 Andreas Schwab <schwab@redhat.com>
31596
31597 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
31598
b2ef2c01
UD
315992010-06-14 Ulrich Drepper <drepper@redhat.com>
31600
31601 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
31602 and F_GETPIPE_SZ.
31603 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
31604 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31605 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31606 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31607 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31608 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
31609
fbd643b6
RM
316102010-06-14 Roland McGrath <roland@redhat.com>
31611
31612 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
31613
f32f2869
JJ
316142010-06-07 Jakub Jelinek <jakub@redhat.com>
31615
31616 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
31617 __REDIRECT followed by __THROW.
31618 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
31619 * posix/getopt.h (getopt): Likewise.
31620
2a50c078
EPM
316212010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
31622
31623 * hurd/lookup-at.c (__file_name_lookup_at): Accept
31624 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
31625 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
31626 in AT_FLAGS.
31627 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
31628 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
31629
eb5ad2eb
LM
316302010-05-28 Luis Machado <luisgpm@br.ibm.com>
31631
31632 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
31633
3c88fe1e
L
316342010-05-26 H.J. Lu <hongjiu.lu@intel.com>
31635
31636 [BZ #11640]
31637 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31638 Properly check family and model.
31639
d2f73151
TY
316402010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
31641
31642 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
31643
ebd2e13d
LM
316442010-05-24 Luis Machado <luisgpm@br.ibm.com>
31645
31646 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
31647
b32b8b45
UD
316482010-05-21 Ulrich Drepper <drepper@redhat.com>
31649
31650 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
31651 symbol reference.
31652
9acbe24d
AS
316532010-05-19 Andreas Schwab <schwab@redhat.com>
31654
31655 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
31656 symbol reference.
31657
f0ccf6ea
AS
316582010-05-21 Andreas Schwab <schwab@redhat.com>
31659
3d04ff3a
AS
31660 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
31661 and internal_recvmmsg.
31662 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
31663 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
31664 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
31665 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
31666
f0ccf6ea
AS
31667 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
31668 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
31669 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
31670
5b08ac57
AS
316712010-05-20 Andreas Schwab <schwab@redhat.com>
31672
31673 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
31674
4828935d
LM
316752010-05-17 Luis Machado <luisgpm@br.ibm.com>
31676
31677 POWER7 optimizations.
31678 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
31679 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
31680
373d545e
UD
316812010-05-19 Ulrich Drepper <drepper@redhat.com>
31682
31683 * version.h: Update for 2.13 development version.
31684
21a2b1ae
AS
316852010-05-12 Andrew Stubbs <ams@codesourcery.com>
31686
31687 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
31688 exceptions. Return 0.
31689
3f7dcb2b
RM
316902010-05-07 Roland McGrath <roland@redhat.com>
31691
31692 * elf/ldconfig.c (main): Add a const.
31693
5f24d53a 316942010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 31695
a160f8d8
UD
31696 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
31697 (args_options): Add no-idn option.
31698 (ahosts_keys_int): Add idn_flags to ai_flags.
31699 (parse_option): Handle 'i' option to clear idn_flags.
31700
5f24d53a
UD
31701 * malloc/malloc.c (_int_free): Possible race in the most recently
31702 added check. Only act on the data if no current modification
31703 happened.
265bb1ce
UD
31704
31705See ChangeLog.17 for earlier changes.
This page took 4.52417 seconds and 5 git commands to generate.